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] |
Other format: | [Raw text] |
Yes, -march=pentium4 is OK, the problem is HImode 'push ax' in PPro case.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);
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |