* Fix x86-64 sixtrack ICE
@ 2002-10-31 7:16 Jan Hubicka
0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2002-10-31 7:16 UTC (permalink / raw)
To: gcc-patches, aj
Hi,
on x86-64 we can't do negdf in GPR easilly as we can't encode negative zero as
an immediate. I am commiting the attached patch as obvious to mainline and BIB
branch to fix sixtrack compilation error.
Honza
Thu Oct 31 16:09:44 CET 2002 Jan Hubicka <jh@suse.cz>
* i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
Index: i386.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.md,v
retrieving revision 1.400
diff -c -3 -p -r1.400 i386.md
*** i386.md 29 Oct 2002 19:41:34 -0000 1.400
--- i386.md 31 Oct 2002 15:15:31 -0000
***************
*** 9438,9446 ****
"#")
(define_insn "*negdf2_ifs_rex64"
! [(set (match_operand:DF 0 "nonimmediate_operand" "=Y#fr,Y#fr,fm#Yr,r#Yf")
! (neg:DF (match_operand:DF 1 "nonimmediate_operand" "0,Y#fr,0,0")))
! (use (match_operand:DF 2 "general_operand" "Y,0,*g#Yr,*rm"))
(clobber (reg:CC 17))]
"TARGET_64BIT && TARGET_SSE2
&& (reload_in_progress || reload_completed
--- 9438,9446 ----
"#")
(define_insn "*negdf2_ifs_rex64"
! [(set (match_operand:DF 0 "nonimmediate_operand" "=Y#f,Y#f,fm#Y")
! (neg:DF (match_operand:DF 1 "nonimmediate_operand" "0,Y#f,0")))
! (use (match_operand:DF 2 "general_operand" "Y,0,*g#Y*r"))
(clobber (reg:CC 17))]
"TARGET_64BIT && TARGET_SSE2
&& (reload_in_progress || reload_completed
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-31 15:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-31 7:16 Fix x86-64 sixtrack ICE Jan Hubicka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).