]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
h8300.md (negation patterns): Tighten predicates to register_operand.
authorKazu Hirata <kazu@hxi.com>
Fri, 25 Jan 2002 06:12:28 +0000 (06:12 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 25 Jan 2002 06:12:28 +0000 (06:12 +0000)
* config/h8300/h8300.md (negation patterns): Tighten
predicates to register_operand.

From-SVN: r49204

gcc/ChangeLog
gcc/config/h8300/h8300.md

index f5b81e05512ad86a9401c7d662c6c1761a19765e..444f38112a5d2b60a83a7dc3b4e04e377891cbab 100644 (file)
@@ -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
index e310ef7de314ef3e8313c0f466dc2d50ba069c34..d7a47c6c882c058b7ccd8b08f85a6cc70b1e1ae8 100644 (file)
 
 (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")
 
 (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" "")))]
   ""
   "
 {
 
 (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")
 
 (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" "")))]
   ""
   "
 {
 
 (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")