* config/h8300/h8300.md (subs patterns): Use %G to negate.

From-SVN: r33986
This commit is contained in:
Richard Henderson 2000-05-18 09:58:03 -07:00 committed by Richard Henderson
parent 009ac3d324
commit 14f3e03b14
2 changed files with 5 additions and 3 deletions

View 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.

View File

@ -621,7 +621,7 @@
"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"
@ -635,7 +635,7 @@
"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")
@ -675,7 +675,7 @@
"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")