aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2003-02-24 13:18:44 -0700
committerJeff Law <law@gcc.gnu.org>2003-02-24 13:18:44 -0700
commit2bac97f7e74adbe7a5a0a966a716f3facd65fb07 (patch)
treeda5151776761e3279efed58c8157e8c5310ec64d /gcc
parent7f9fc00642291da4a647220498d8bd85e6dbadc8 (diff)
downloadgcc-2bac97f7e74adbe7a5a0a966a716f3facd65fb07.zip
gcc-2bac97f7e74adbe7a5a0a966a716f3facd65fb07.tar.gz
gcc-2bac97f7e74adbe7a5a0a966a716f3facd65fb07.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.md8
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0869b47..99d62af 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 9c1d270..bb2eb74 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)"