From 2bac97f7e74adbe7a5a0a966a716f3facd65fb07 Mon Sep 17 00:00:00 2001 From: Jeff Law <law@redhat.com> Date: Mon, 24 Feb 2003 13:18:44 -0700 Subject: [PATCH] i386.md (testdi_1_rex64): Discourage reload from using the %eax alternative. * i386.md (testdi_1_rex64): Discourage reload from using the %eax alternative. (testsi_1, testhi_1, testqi_1): Likewise. From-SVN: r63376 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.md | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0869b47c6daa..99d62afed7fd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-02-24 Jeff Law <law@redhat.com> + + * i386.md (testdi_1_rex64): Discourage reload from using the %eax + alternative. + (testsi_1, testhi_1, testqi_1): Likewise. + 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 9c1d270fc347..bb2eb74e551c 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -8043,7 +8043,7 @@ (define_insn "*testdi_1_rex64" [(set (reg 17) (compare - (and:DI (match_operand:DI 0 "nonimmediate_operand" "%*a,r,*a,r,rm") + (and:DI (match_operand:DI 0 "nonimmediate_operand" "%!*a,r,!*a,r,rm") (match_operand:DI 1 "x86_64_szext_nonmemory_operand" "Z,Z,e,e,re")) (const_int 0)))] "TARGET_64BIT && ix86_match_ccmode (insn, CCNOmode)" @@ -8061,7 +8061,7 @@ (define_insn "testsi_1" [(set (reg 17) (compare - (and:SI (match_operand:SI 0 "nonimmediate_operand" "%*a,r,rm") + (and:SI (match_operand:SI 0 "nonimmediate_operand" "%!*a,r,rm") (match_operand:SI 1 "nonmemory_operand" "in,in,rin")) (const_int 0)))] "ix86_match_ccmode (insn, CCNOmode)" @@ -8082,7 +8082,7 @@ (define_insn "*testhi_1" [(set (reg 17) - (compare (and:HI (match_operand:HI 0 "nonimmediate_operand" "%*a,r,rm") + (compare (and:HI (match_operand:HI 0 "nonimmediate_operand" "%!*a,r,rm") (match_operand:HI 1 "nonmemory_operand" "n,n,rn")) (const_int 0)))] "ix86_match_ccmode (insn, CCNOmode)" @@ -8102,7 +8102,7 @@ (define_insn "*testqi_1" [(set (reg 17) - (compare (and:QI (match_operand:QI 0 "nonimmediate_operand" "%*a,q,qm,r") + (compare (and:QI (match_operand:QI 0 "nonimmediate_operand" "%!*a,q,qm,r") (match_operand:QI 1 "nonmemory_operand" "n,n,qn,n")) (const_int 0)))] "ix86_match_ccmode (insn, CCNOmode)" -- GitLab