Commit 14f3e03b by Richard Henderson Committed by Richard Henderson

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

From-SVN: r33986
parent 009ac3d3
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.
......
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment