This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ix86 qi/hi to si mode promoting patch.
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re: ix86 qi/hi to si mode promoting patch.
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 8 Mar 2000 14:25:38 -0800
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <20000228153943.D18800@atrey.karlin.mff.cuni.cz>
On Mon, Feb 28, 2000 at 03:39:43PM +0100, Jan Hubicka wrote:
> I believe that most speedups are now due to avoided prefixes in spilling
> himodes to stack. It would be nice to reach this w/o extra movzx overhead.
> (IE teach reload and stuff to use SImode stack slots).
Yes, this would be very useful elsewhere too. Especially Alphas
without byte load/store instructions.
> * i386.md (all HI and QI mode non-move patterns): Conditionize
> by TARGET_[HQ]IMODE_MATH.
> * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
> x86_promote_qi_regs): Declare.
> (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
> TARGET_PROMOTE_QI_REGS): New macros.
> (PROMOTE_MODE): New macro.
> * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
> x86_promote_qi_regs): New global variables.
Ok.
r~