OSDN Git Service

* config/h8300/h8300.md (subs patterns): Use %G to negate.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 May 2000 16:58:03 +0000 (16:58 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 May 2000 16:58:03 +0000 (16:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33986 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 0788cdf..7899410 100644 (file)
@@ -1,5 +1,7 @@
 2000-05-18  Richard Henderson  <rth@cygnus.com>
 
+       * config/h8300/h8300.md (subs patterns): Use %G to negate.
+
        * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
        (small_power_of_two): Likewise; use exact_log2.
        (adds_subs_operand, one_insn_adds_subs_operand): Remove.
index eeabdee..c198fab 100644 (file)
   "TARGET_H8300"
   "@
    adds        %2,%A0
-   subs        %2,%A0
+   subs        %G2,%A0
    add.b       %s2,%s0\;addx   %t2,%t0 
    add.w       %T2,%T0
    mov.w        %T1,%T0\;add.w  %T2,%T0"
   "TARGET_H8300H || TARGET_H8300S"
   "@
    adds        %2,%A0
-   subs        %2,%A0
+   subs        %G2,%A0
    add.w       %T2,%T0
    add.w       %T2,%T0"
   [(set_attr "length" "2,2,4,2")
   "TARGET_H8300H || TARGET_H8300S"
   "@
    adds        %2,%A0
-   subs        %2,%A0
+   subs        %G2,%A0
    add.l       %S2,%S0
    add.l       %S2,%S0"
   [(set_attr "length" "2,2,6,2")