-mcpu=pentium + -Os crash fix
Jan Hubicka
hubicka@atrey.karlin.mff.cuni.cz
Fri Nov 19 06:41:00 GMT 1999
Hi
This patch fixes the -mpentium -Os crash I've introduced by my divmod
patterns tweaks.
OK to install?
Honza
Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (ashrsi3_31): Allow cltd when optimizing for size even
on !TARGET_USE_CLTD CPUs.
*** or/i386.md Fri Nov 19 06:17:19 1999
--- i386.md Fri Nov 19 06:23:48 1999
***************
*** 5451,5457 ****
(ashiftrt:SI (match_operand:SI 1 "nonimmediate_operand" "*a,0")
(match_operand:SI 2 "const_int_operand" "i,i")))
(clobber (reg:CC 17))]
! "INTVAL (operands[2]) == 31 && TARGET_USE_CLTD"
"@
{cltd|cdq}
sar{l}\\t{%2, %0|%0, %2}"
--- 5440,5446 ----
(ashiftrt:SI (match_operand:SI 1 "nonimmediate_operand" "*a,0")
(match_operand:SI 2 "const_int_operand" "i,i")))
(clobber (reg:CC 17))]
! "INTVAL (operands[2]) == 31 && (TARGET_USE_CLTD || optimize_size)"
"@
{cltd|cdq}
sar{l}\\t{%2, %0|%0, %2}"
More information about the Gcc-patches
mailing list