aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-01-02 18:53:35 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-01-02 18:53:35 +0000
commitbf16e745821d984a2708894cee19f74d3eaf3f8e (patch)
tree8c8d884ece2e2eb2755997e40588ddeef4e90a36
parent3beb3abf1dff9ba8728d532c53374e6446fef230 (diff)
downloadgcc-bf16e745821d984a2708894cee19f74d3eaf3f8e.zip
gcc-bf16e745821d984a2708894cee19f74d3eaf3f8e.tar.gz
gcc-bf16e745821d984a2708894cee19f74d3eaf3f8e.tar.bz2
h8300.md (*iorhi3_zext): Relax the condition.
* config/h8300/h8300.md (*iorhi3_zext): Relax the condition. (*iorhi3_two_qi): Likewise. (*iorsi3_zexthi): Likewise. (*xorhi3_zextqi): Likewise. (*xorsi3_zexthi): Likewise. (*xorsi3_zextqi): Likewise. From-SVN: r60793
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config/h8300/h8300.md26
2 files changed, 15 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 99cb082..50d9be5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,14 @@
2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
+ * config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
+ (*iorhi3_two_qi): Likewise.
+ (*iorsi3_zexthi): Likewise.
+ (*xorhi3_zextqi): Likewise.
+ (*xorsi3_zexthi): Likewise.
+ (*xorsi3_zextqi): Likewise.
+
+2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
+
* config/h8300/h8300.c (stack_pointer_operand): New.
(const_int_gt_2_operand): Likewise.
(const_int_ge_8_operand): Likewise.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 70b9858..6d0be34 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -2376,9 +2376,7 @@
[(set (match_operand:HI 0 "register_operand" "=r")
(ior:HI (zero_extend:HI (match_operand:QI 1 "register_operand" "r"))
(match_operand:HI 2 "register_operand" "0")))]
- "REG_P (operands[0])
- && REG_P (operands[1])
- && REGNO (operands[0]) != REGNO (operands[1])"
+ ""
"or\\t%X1,%s0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
@@ -2408,9 +2406,7 @@
(ior:HI (zero_extend:HI (match_operand:QI 1 "register_operand" "0"))
(ashift:HI (match_operand:HI 2 "register_operand" "r")
(const_int 8))))]
- "REG_P (operands[0])
- && REG_P (operands[2])
- && REGNO (operands[0]) != REGNO (operands[2])"
+ ""
"mov.b\\t%s2,%t0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
@@ -2421,10 +2417,7 @@
[(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (zero_extend:SI (match_operand:HI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
- "(TARGET_H8300H || TARGET_H8300S)
- && REG_P (operands[0])
- && REG_P (operands[1])
- && (REGNO (operands[0]) != REGNO (operands[1]))"
+ "TARGET_H8300H || TARGET_H8300S"
"or.w\\t%T1,%f0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
@@ -2464,9 +2457,7 @@
[(set (match_operand:HI 0 "register_operand" "=r")
(xor:HI (zero_extend:HI (match_operand:QI 1 "register_operand" "r"))
(match_operand:HI 2 "register_operand" "0")))]
- "REG_P (operands[0])
- && REG_P (operands[1])
- && REGNO (operands[0]) != REGNO (operands[1])"
+ ""
"xor\\t%X1,%s0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
@@ -2477,10 +2468,7 @@
[(set (match_operand:SI 0 "register_operand" "=r")
(xor:SI (zero_extend:SI (match_operand:HI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
- "(TARGET_H8300H || TARGET_H8300S)
- && REG_P (operands[0])
- && REG_P (operands[1])
- && (REGNO (operands[0]) != REGNO (operands[1]))"
+ "TARGET_H8300H || TARGET_H8300S"
"xor.w\\t%T1,%f0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
@@ -2489,9 +2477,7 @@
[(set (match_operand:SI 0 "register_operand" "=r")
(xor:SI (zero_extend:SI (match_operand:QI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
- "REG_P (operands[0])
- && REG_P (operands[1])
- && REGNO (operands[0]) != REGNO (operands[1])"
+ ""
"xor\\t%X1,%w0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])