gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [PATCH, i386] Disable HImode fild insn for TARGET_PARTIAL_REG_STALL

Subject: Re: [PATCH, i386] Disable HImode fild insn for TARGET_PARTIAL_REG_STALL
From: Uros Bizjak
Date: Fri, 07 Jan 2005 08:55:31 +0100
Eric Botcazou wrote:

For -march=i686, we are expanding function prologue (.c.00.expand) to:

...
(insn 7 8 9 0 (set (reg/v:SI 59 [ x ])
       (sign_extend:SI (subreg:HI (reg:SI 60) 0))) -1 (nil)
   (nil))

(note 9 7 10 0 NOTE_INSN_FUNCTION_BEG)
...

Note the sign_extend, that is not present for -march=pentium4, where reg
59 is in HImode.

config/i386/i386.c:549
const int x86_himode_math = ~(m_PPRO);
Yes, -march=pentium4 is OK, the problem is HImode 'push ax' in PPro case.

Uros.

<Prev in Thread] Current Thread [Next in Thread>