aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-02-01 12:18:05 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-02-01 12:18:05 -0800
commitbc8a6d63e68700570c5616cb654f993e7ca0ca26 (patch)
treedd5f73c0eef527a6a8dbfacd3774c56f29a5ed78 /gcc
parent2928cd7aace2187ca6d892872490e01f2a2bb17a (diff)
downloadgcc-bc8a6d63e68700570c5616cb654f993e7ca0ca26.zip
gcc-bc8a6d63e68700570c5616cb654f993e7ca0ca26.tar.gz
gcc-bc8a6d63e68700570c5616cb654f993e7ca0ca26.tar.bz2
i386.md (addsi_1_zext splitter): Add TARGET_64BIT to the conditional.
* config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT to the conditional. (ashlsi3_1_zext splitter): Likewise. From-SVN: r62254
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.md8
2 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a368069..796ddb0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2003-02-01 Richard Henderson <rth@redhat.com>
+ * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
+ to the conditional.
+ (ashlsi3_1_zext splitter): Likewise.
+
+2003-02-01 Richard Henderson <rth@redhat.com>
+
* optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
__popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index a888bc2..4c82113 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -5677,7 +5677,7 @@
(plus:SI (match_operand:SI 1 "register_operand" "")
(match_operand:SI 2 "nonmemory_operand" ""))))
(clobber (reg:CC 17))]
- "reload_completed
+ "TARGET_64BIT && reload_completed
&& true_regnum (operands[0]) != true_regnum (operands[1])"
[(set (match_dup 0)
(zero_extend:DI (subreg:SI (plus:DI (match_dup 1) (match_dup 2)) 0)))]
@@ -11104,9 +11104,11 @@
(zero_extend:DI (ashift (match_operand 1 "register_operand" "")
(match_operand:QI 2 "const_int_operand" ""))))
(clobber (reg:CC 17))]
- "reload_completed
+ "TARGET_64BIT && reload_completed
&& true_regnum (operands[0]) != true_regnum (operands[1])"
- [(set (match_dup 0) (zero_extend:DI (subreg:SI (mult:SI (match_dup 1) (match_dup 2)) 0)))]
+ [(set (match_dup 0) (zero_extend:DI
+ (subreg:SI (mult:SI (match_dup 1)
+ (match_dup 2)) 0)))]
{
operands[1] = gen_lowpart (Pmode, operands[1]);
operands[2] = gen_int_mode (1 << INTVAL (operands[2]), Pmode);