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

From-SVN: r64677
This commit is contained in:
Kazu Hirata 2003-03-21 20:01:34 +00:00 committed by Kazu Hirata
parent 6b13641dc3
commit 5c1c25f0db
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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

View File

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