Commit 5c1c25f0 by Kazu Hirata Committed by Kazu Hirata

* config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.

From-SVN: r64677
parent 6b13641d
2003-03-21 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.
2003-03-21 Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.h (REG_ALLOC_ORDER): Increase
......
......@@ -2669,6 +2669,18 @@
[(set_attr "cc" "clobber")
(set_attr "length" "4")])
(define_insn "*insv_si_1_n_lshiftrt_16"
[(set (zero_extract:SI (match_operand:SI 0 "register_operand" "+r")
(const_int 1)
(match_operand:SI 1 "const_int_operand" "n"))
(lshiftrt:SI (match_operand:SI 2 "register_operand" "r")
(const_int 16)))]
"(TARGET_H8300H || TARGET_H8300S)
&& INTVAL (operands[1]) < 16"
"rotr.w\\t%e2\;rotl.w\\t%e2\;bst\\t%Z1,%Y0"
[(set_attr "cc" "clobber")
(set_attr "length" "6")])
;; extzv:SI
(define_insn "*extzv_8_8"
......
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