diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-02-25 06:52:06 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-02-25 06:52:06 -0500 |
commit | 7a96832ab0f1a65a968c8dd8766eb359f5a4c80e (patch) | |
tree | 1f3ed81a0c1900973bc3584258967f4139f374e9 | |
parent | 1c71b69da60e8416fb9ea7f6ac08d316090e681d (diff) | |
download | gcc-7a96832ab0f1a65a968c8dd8766eb359f5a4c80e.zip gcc-7a96832ab0f1a65a968c8dd8766eb359f5a4c80e.tar.gz gcc-7a96832ab0f1a65a968c8dd8766eb359f5a4c80e.tar.bz2 |
Remove unneeded tests on HOST_BITS_PER_INT from some extra conditions.
Use low_32_bit_operand for (plus:DI (zero_extend:DI ..) ..) cases.
From-SVN: r9080
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 13de97b..0c0b223 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -3135,7 +3135,7 @@ (set (match_operand:DF 0 "gpc_reg_operand" "") (minus:DF (subreg:DF (match_dup 2) 0) (match_dup 5)))] - "! TARGET_POWERPC64 && (HOST_BITS_PER_INT == BITS_PER_WORD) && TARGET_HARD_FLOAT" + "! TARGET_POWERPC64" " { operands[2] = gen_reg_rtx (DImode); @@ -3152,7 +3152,7 @@ (set (match_operand:DF 0 "gpc_reg_operand" "") (minus:DF (subreg:DF (match_dup 2) 0) (match_dup 4)))] - "! TARGET_POWERPC64 && (HOST_BITS_PER_INT == BITS_PER_WORD) && TARGET_HARD_FLOAT" + "! TARGET_POWERPC64" " { operands[2] = gen_reg_rtx (DImode); @@ -3166,10 +3166,8 @@ (plus:DI (zero_extend:DI (xor:SI (match_operand:SI 1 "gpc_reg_operand" "") (match_operand:SI 2 "logical_operand" ""))) - (match_operand:DI 3 "immediate_operand" "")))] - "reload_completed && HOST_BITS_PER_INT == BITS_PER_WORD - && GET_CODE (operands[3]) == CONST_DOUBLE - && CONST_DOUBLE_LOW (operands[3]) == 0" + (match_operand:DI 3 "low_32_bit_operand" "")))] + "reload_completed" [(set (match_dup 6) (xor:SI (match_dup 1) (match_dup 2))) (set (match_dup 4) (match_dup 5))] " @@ -3183,20 +3181,16 @@ (plus:DI (zero_extend:DI (xor:SI (match_operand:SI 1 "gpc_reg_operand" "%r") (match_operand:SI 2 "logical_operand" "rKJ"))) - (match_operand:DI 3 "immediate_operand" "n")))] - "HOST_BITS_PER_INT == BITS_PER_WORD - && GET_CODE (operands[3]) == CONST_DOUBLE - && CONST_DOUBLE_LOW (operands[3]) == 0" + (match_operand:DI 3 "low_32_bit_operand" "n")))] + "" "#" [(set_attr "length" "8")]) (define_split [(set (match_operand:DI 0 "gpc_reg_operand" "=") (plus:DI (zero_extend:DI (match_operand:SI 1 "gpc_reg_operand" "")) - (match_operand:DI 2 "immediate_operand" "")))] - "reload_completed && HOST_BITS_PER_INT == BITS_PER_WORD - && GET_CODE (operands[2]) == CONST_DOUBLE - && CONST_DOUBLE_LOW (operands[2]) == 0" + (match_operand:DI 2 "low_32_bit_operand" "")))] + "reload_completed" [(set (match_dup 3) (match_dup 4)) (set (match_dup 5) (match_dup 1))] " @@ -3222,10 +3216,8 @@ (define_insn "" [(set (match_operand:DI 0 "gpc_reg_operand" "=r") (plus:DI (zero_extend:DI (match_operand:SI 1 "gpc_reg_operand" "r")) - (match_operand:DI 2 "immediate_operand" "n")))] - "HOST_BITS_PER_INT == BITS_PER_WORD - && GET_CODE (operands[2]) == CONST_DOUBLE - && CONST_DOUBLE_LOW (operands[2]) == 0" + (match_operand:DI 2 "low_32_bit_operand" "n")))] + "" "#" [(set_attr "length" "8")]) |