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
This commit is contained in:
Kazu Hirata 2003-02-18 19:17:36 +00:00 committed by Kazu Hirata
parent 6b99d1c036
commit 6b00cbc7f4
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,10 @@
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>
* langhooks.h, langhooks-def.h: introduce new langhook,

View File

@ -2058,7 +2058,7 @@
"")
;; %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")
(zero_extend:SI (match_operand:HI 1 "general_operand_src" "0,i,g>")))]
"TARGET_H8300"
@ -2066,7 +2066,7 @@
sub.w %e0,%e0
mov.w %f1,%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")])
(define_insn ""
@ -2110,7 +2110,7 @@
"@
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")])
(define_expand "extendhisi2"
@ -2119,14 +2119,14 @@
""
"")
(define_insn ""
(define_insn "*extendhisi2_h8300"
[(set (match_operand:SI 0 "register_operand" "=r,r")
(sign_extend:SI (match_operand:HI 1 "general_operand_src" "0,g>")))]
"TARGET_H8300"
"@
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")])
(define_insn ""