Commit 6b00cbc7 by Kazu Hirata Committed by Kazu Hirata

h8300.md (*zero_extendhisi2_h8300): Fix the insn length.

	* config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
	insn length.
	(extendqisi2): Likewise.
	(*extendhisi2_h8300): Likewise.

From-SVN: r63056
parent 6b99d1c0
2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
insn length.
(extendqisi2): Likewise.
(*extendhisi2_h8300): Likewise.
2003-02-18 Matt Austern <austern@apple.com> 2003-02-18 Matt Austern <austern@apple.com>
* langhooks.h, langhooks-def.h: introduce new langhook, * langhooks.h, langhooks-def.h: introduce new langhook,
......
...@@ -2058,7 +2058,7 @@ ...@@ -2058,7 +2058,7 @@
"") "")
;; %e prints the high part of a CONST_INT, not the low part. Arggh. ;; %e prints the high part of a CONST_INT, not the low part. Arggh.
(define_insn "" (define_insn "*zero_extendhisi2_h8300"
[(set (match_operand:SI 0 "register_operand" "=r,r,r") [(set (match_operand:SI 0 "register_operand" "=r,r,r")
(zero_extend:SI (match_operand:HI 1 "general_operand_src" "0,i,g>")))] (zero_extend:SI (match_operand:HI 1 "general_operand_src" "0,i,g>")))]
"TARGET_H8300" "TARGET_H8300"
...@@ -2066,7 +2066,7 @@ ...@@ -2066,7 +2066,7 @@
sub.w %e0,%e0 sub.w %e0,%e0
mov.w %f1,%f0\;sub.w %e0,%e0 mov.w %f1,%f0\;sub.w %e0,%e0
mov.w %e1,%f0\;sub.w %e0,%e0" mov.w %e1,%f0\;sub.w %e0,%e0"
[(set_attr "length" "2,4,4") [(set_attr "length" "2,4,6")
(set_attr "cc" "clobber,clobber,clobber")]) (set_attr "cc" "clobber,clobber,clobber")])
(define_insn "" (define_insn ""
...@@ -2110,7 +2110,7 @@ ...@@ -2110,7 +2110,7 @@
"@ "@
bld #7,%w0\;subx %x0,%x0\;subx %y0,%y0\;subx %z0,%z0 bld #7,%w0\;subx %x0,%x0\;subx %y0,%y0\;subx %z0,%z0
mov.b %R1,%w0\;bld #7,%w0\;subx %x0,%x0\;subx %y0,%y0\;subx %z0,%z0" mov.b %R1,%w0\;bld #7,%w0\;subx %x0,%x0\;subx %y0,%y0\;subx %z0,%z0"
[(set_attr "length" "8,10") [(set_attr "length" "8,12")
(set_attr "cc" "clobber,clobber")]) (set_attr "cc" "clobber,clobber")])
(define_expand "extendhisi2" (define_expand "extendhisi2"
...@@ -2119,14 +2119,14 @@ ...@@ -2119,14 +2119,14 @@
"" ""
"") "")
(define_insn "" (define_insn "*extendhisi2_h8300"
[(set (match_operand:SI 0 "register_operand" "=r,r") [(set (match_operand:SI 0 "register_operand" "=r,r")
(sign_extend:SI (match_operand:HI 1 "general_operand_src" "0,g>")))] (sign_extend:SI (match_operand:HI 1 "general_operand_src" "0,g>")))]
"TARGET_H8300" "TARGET_H8300"
"@ "@
bld #7,%x0\;subx %y0,%y0\;subx %z0,%z0 bld #7,%x0\;subx %y0,%y0\;subx %z0,%z0
mov.w %T1,%f0\;bld #7,%x0\;subx %y0,%y0\;subx %z0,%z0" mov.w %T1,%f0\;bld #7,%x0\;subx %y0,%y0\;subx %z0,%z0"
[(set_attr "length" "6,8") [(set_attr "length" "6,10")
(set_attr "cc" "clobber,clobber")]) (set_attr "cc" "clobber,clobber")])
(define_insn "" (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