Commit 60f469fa by Kazu Hirata Committed by Kazu Hirata

* config/h8300/h8300.md (a peephole2): New.

From-SVN: r62900
parent b9799152
2003-02-14 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New.
2003-02-13 Adam Nemet <anemet@lnxw.com>
PR opt/2391
* combine.c: Fix spelling in comment.
(cached_nonzero_bits): New function.
......
......@@ -2878,6 +2878,17 @@
(match_dup 0)))]
"operands[3] = gen_rtx_REG (HImode, REGNO (operands[2]));")
(define_insn "*iorsi2_and_1_lshiftrt_1"
[(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (and:SI (match_operand:SI 1 "register_operand" "0")
(const_int 1))
(lshiftrt:SI (match_dup 1)
(const_int 1))))]
"TARGET_H8300H || TARGET_H8300S"
"shlr.l\\t%S0\;bor\\t#0,%w0\;bst\\t#0,%w0"
[(set_attr "length" "6")
(set_attr "cc" "clobber")])
;; Used to add the exponent of a float.
(define_insn "*addsi3_shift"
......
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