From: Richard Henderson Date: Sat, 1 Feb 2003 20:18:05 +0000 (-0800) Subject: i386.md (addsi_1_zext splitter): Add TARGET_64BIT to the conditional. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc8a6d63e68700570c5616cb654f993e7ca0ca26;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a368069fd31..796ddb06f1b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-02-01 Richard Henderson + + * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT + to the conditional. + (ashlsi3_1_zext splitter): Likewise. + 2003-02-01 Richard Henderson * optabs.c (expand_unop): Use word_mode for outmode of bit scaners. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index a888bc2e168..4c8211356ee 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);