aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-01-09 14:59:01 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-01-09 14:59:01 +0000
commitfc182093e69eba1fcbd9212f070e66a4fce2ddd0 (patch)
tree883f25ee0bf005a2448c2353537999ccd302fcc7 /gcc
parent0f399e5f9b8b238932eeaba618f6baefd7bdd36c (diff)
downloadgcc-fc182093e69eba1fcbd9212f070e66a4fce2ddd0.zip
gcc-fc182093e69eba1fcbd9212f070e66a4fce2ddd0.tar.gz
gcc-fc182093e69eba1fcbd9212f070e66a4fce2ddd0.tar.bz2
h8300.md (*extzv_1_r_h8300): Correct the insn length.
* config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn length. (*extzv_1_r_h8300hs): Likewise. (*extzv_1_r_inv_h8300): Likewise. (*extzv_1_r_inv_h8300hs): Likewise. From-SVN: r61115
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/h8300/h8300.md16
2 files changed, 16 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d0c1d65..f25bab9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,13 @@
2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
+ * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
+ length.
+ (*extzv_1_r_h8300hs): Likewise.
+ (*extzv_1_r_inv_h8300): Likewise.
+ (*extzv_1_r_inv_h8300hs): Likewise.
+
+2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
+
* config/h8300/h8300.h (PREDICATE_CODES): New.
2003-01-09 Kazu Hirata <kazu@cs.umass.edu>
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 65ff988..1d1fdac 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -2403,7 +2403,7 @@
;; Normal loads with a 32bit destination.
;;
-(define_insn ""
+(define_insn "*extzv_1_r_h8300"
[(set (match_operand:SI 0 "register_operand" "=&r")
(zero_extract:SI (match_operand:HI 1 "register_operand" "r")
(const_int 1)
@@ -2412,9 +2412,9 @@
&& INTVAL (operands[2]) < 16"
"* return output_simode_bld (0, operands);"
[(set_attr "cc" "clobber")
- (set_attr "length" "6")])
+ (set_attr "length" "8")])
-(define_insn ""
+(define_insn "*extzv_1_r_h8300hs"
[(set (match_operand:SI 0 "register_operand" "=r")
(zero_extract:SI (match_operand:SI 1 "register_operand" "r")
(const_int 1)
@@ -2423,13 +2423,13 @@
&& INTVAL (operands[2]) < 16"
"* return output_simode_bld (0, operands);"
[(set_attr "cc" "clobber")
- (set_attr "length" "6")])
+ (set_attr "length" "8")])
;;
;; Inverted loads with a 32bit destination.
;;
-(define_insn ""
+(define_insn "*extzv_1_r_inv_h8300"
[(set (match_operand:SI 0 "register_operand" "=&r")
(zero_extract:SI (xor:HI (match_operand:HI 1 "register_operand" "r")
(match_operand:HI 3 "const_int_operand" "n"))
@@ -2440,9 +2440,9 @@
&& (1 << INTVAL (operands[2])) == INTVAL (operands[3])"
"* return output_simode_bld (1, operands);"
[(set_attr "cc" "clobber")
- (set_attr "length" "6")])
+ (set_attr "length" "8")])
-(define_insn ""
+(define_insn "*extzv_1_r_inv_h8300hs"
[(set (match_operand:SI 0 "register_operand" "=r")
(zero_extract:SI (xor:SI (match_operand:SI 1 "register_operand" "r")
(match_operand 3 "const_int_operand" "n"))
@@ -2453,7 +2453,7 @@
&& (1 << INTVAL (operands[2])) == INTVAL (operands[3])"
"* return output_simode_bld (1, operands);"
[(set_attr "cc" "clobber")
- (set_attr "length" "6")])
+ (set_attr "length" "8")])
(define_expand "insv"
[(set (zero_extract:HI (match_operand:HI 0 "general_operand" "")