Commit 1b9f0361 by Kazu Hirata Committed by Kazu Hirata

* config/h8300/h8300.md: Reorder some patterns.

From-SVN: r60770
parent dc5f17ec
2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md: Reorder some patterns.
2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (output_logical_op): Fix a warning.
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
......
......@@ -2409,6 +2409,26 @@
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
(define_insn "*iorsi3_ashift_16"
[(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (ashift:SI (match_operand:SI 1 "register_operand" "r")
(const_int 16))
(match_operand:SI 2 "register_operand" "0")))]
"TARGET_H8300H || TARGET_H8300S"
"or.w\\t%f1,%e0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
(define_insn "*iorsi3_two_hi"
[(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (zero_extend:SI (match_operand:HI 1 "register_operand" "0"))
(ashift:SI (match_operand:SI 2 "register_operand" "r")
(const_int 16))))]
"TARGET_H8300H || TARGET_H8300S"
"mov.w\\t%f2,%e0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
;; xor:HI
(define_insn "*xorhi3_zextqi"
......@@ -2447,26 +2467,6 @@
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
(define_insn "*iorsi3_two_hi"
[(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (zero_extend:SI (match_operand:HI 1 "register_operand" "0"))
(ashift:SI (match_operand:SI 2 "register_operand" "r")
(const_int 16))))]
"TARGET_H8300H || TARGET_H8300S"
"mov.w\\t%f2,%e0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
(define_insn "*iorsi3_ashift_16"
[(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (ashift:SI (match_operand:SI 1 "register_operand" "r")
(const_int 16))
(match_operand:SI 2 "register_operand" "0")))]
"TARGET_H8300H || TARGET_H8300S"
"or.w\\t%f1,%e0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
;; Storing a part of HImode to QImode.
(define_insn ""
......
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