mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-11 21:03:45 +08:00
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
From-SVN: r60633
This commit is contained in:
parent
a6e8d1139d
commit
3cc3e1cd36
@ -1,3 +1,7 @@
|
||||
2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
|
||||
|
||||
2002-12-30 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/h8300/h8300.c (output_logical_op): Use extu.w if we
|
||||
|
@ -2329,6 +2329,18 @@
|
||||
[(set_attr "cc" "set_znv")
|
||||
(set_attr "length" "6")])
|
||||
|
||||
;; plus:SI
|
||||
|
||||
(define_insn "*addsi3_lshiftrt_16_zexthi"
|
||||
[(set (match_operand:SI 0 "register_operand" "=r")
|
||||
(plus:SI (lshiftrt:SI (match_operand:SI 1 "register_operand" "r")
|
||||
(const_int 16))
|
||||
(zero_extend:SI (match_operand:HI 2 "register_operand" "0"))))]
|
||||
"TARGET_H8300H || TARGET_H8300S"
|
||||
"add.w\t%e1,%f0\;xor.w\t%e0,%e0\;rotxl.w\t%e0,%e0"
|
||||
[(set_attr "cc" "clobber")
|
||||
(set_attr "length" "6")])
|
||||
|
||||
;; ior:HI
|
||||
|
||||
(define_insn "*iorhi3_zext"
|
||||
|
Loading…
Reference in New Issue
Block a user