This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix -mcpu=K6 ICE
- From: Jan Hubicka <jh at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org, aj at suse dot de
- Date: Fri, 20 Feb 2004 18:29:47 +0100
- Subject: Fix -mcpu=K6 ICE
Hi,
hammer branch ICE while copmiling kernel for K6. It seems to be
dificult to distile testcase (as one needs to manage something very
wrong to be in operands[0] that is not really easy), but the fix is
pretty obvious. I am going to install it to mainline once testing pass.
OK for 3.3/3.4?
Bootstrapped/regtested i686-pc-gnu-linux on hammer branch, I am going to
test the other branches soon.
Honza
2004-02-20 Jan Hubicka <jh@suse.cz>
* k6.md (k6_alux): Use mode attribute.
Index: config/i386/k6.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/k6.md,v
retrieving revision 1.1.26.1
diff -c -3 -p -r1.1.26.1 k6.md
*** config/i386/k6.md 18 Nov 2002 23:01:24 -0000 1.1.26.1
--- config/i386/k6.md 20 Feb 2004 17:26:02 -0000
***************
*** 49,55 ****
(define_function_unit "k6_alux" 1 0
(and (eq_attr "cpu" "k6")
(and (eq_attr "type" "alu,alu1,negnot,icmp,test,imovx,incdec")
! (match_operand:QI 0 "general_operand" "")))
1 1)
(define_function_unit "k6_alu" 2 0
--- 49,55 ----
(define_function_unit "k6_alux" 1 0
(and (eq_attr "cpu" "k6")
(and (eq_attr "type" "alu,alu1,negnot,icmp,test,imovx,incdec")
! (eq_attr "mode" "QI")))
1 1)
(define_function_unit "k6_alu" 2 0