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.
"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")