diff options
author | Kazu Hirata <kazu@hxi.com> | 2002-01-25 06:12:28 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-01-25 06:12:28 +0000 |
commit | c4df4ceb847290d6155d6315b6de1f0206cba488 (patch) | |
tree | 75a8a1de6cdd6bda7137d056115cb8e6b33b7f8f | |
parent | 8c77cda54f01baedca2962a4e5d4e1824e4d4618 (diff) | |
download | gcc-c4df4ceb847290d6155d6315b6de1f0206cba488.zip gcc-c4df4ceb847290d6155d6315b6de1f0206cba488.tar.gz gcc-c4df4ceb847290d6155d6315b6de1f0206cba488.tar.bz2 |
h8300.md (negation patterns): Tighten predicates to register_operand.
* config/h8300/h8300.md (negation patterns): Tighten
predicates to register_operand.
From-SVN: r49204
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5b81e0..444f381 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-01-25 Kazu Hirata <kazu@hxi.com> + + * config/h8300/h8300.md (negation patterns): Tighten + predicates to register_operand. + 2002-01-24 Aldy Hernandez <aldyh@redhat.com> * loop.c (emit_prefetch_instructions): Use the prefetch insn's diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index e310ef7..d7a47c6 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -1286,7 +1286,7 @@ (define_insn "negqi2" [(set (match_operand:QI 0 "register_operand" "=r") - (neg:QI (match_operand:QI 1 "general_operand" "0")))] + (neg:QI (match_operand:QI 1 "register_operand" "0")))] "" "neg %X0" [(set_attr "length" "2") @@ -1294,7 +1294,7 @@ (define_expand "neghi2" [(set (match_operand:HI 0 "register_operand" "") - (neg:HI (match_operand:HI 1 "general_operand" "")))] + (neg:HI (match_operand:HI 1 "register_operand" "")))] "" " { @@ -1316,7 +1316,7 @@ (define_insn "neghi2_h8300h" [(set (match_operand:HI 0 "register_operand" "=r") - (neg:HI (match_operand:HI 1 "general_operand" "0")))] + (neg:HI (match_operand:HI 1 "register_operand" "0")))] "TARGET_H8300H || TARGET_H8300S" "neg %T0" [(set_attr "length" "2") @@ -1324,7 +1324,7 @@ (define_expand "negsi2" [(set (match_operand:SI 0 "register_operand" "") - (neg:SI (match_operand:SI 1 "general_operand" "")))] + (neg:SI (match_operand:SI 1 "register_operand" "")))] "" " { @@ -1346,7 +1346,7 @@ (define_insn "negsi2_h8300h" [(set (match_operand:SI 0 "register_operand" "=r") - (neg:SI (match_operand:SI 1 "general_operand" "0")))] + (neg:SI (match_operand:SI 1 "register_operand" "0")))] "TARGET_H8300H || TARGET_H8300S" "neg %S0" [(set_attr "length" "2") |