This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ix86 qi/hi to si mode promoting patch.


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]