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

From-SVN: r62900
This commit is contained in:
Kazu Hirata 2003-02-14 16:22:03 +00:00 committed by Kazu Hirata
parent b97991522d
commit 60f469fa1e
2 changed files with 16 additions and 0 deletions

View File

@ -1,4 +1,9 @@
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.

View File

@ -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"