h8300.md (*zero_extendhisi2_h8300): Fix the insn length.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 18 Feb 2003 19:17:36 +0000 (19:17 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 18 Feb 2003 19:17:36 +0000 (19:17 +0000)
* config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
insn length.
(extendqisi2): Likewise.
(*extendhisi2_h8300): Likewise.

From-SVN: r63056

gcc/ChangeLog
gcc/config/h8300/h8300.md

index 051a5d0b62cee6d8758e787e262c2fec8a66b714..ce6291318cdf65d98719dcd972239f1d915de3af 100644 (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,
index 8bcba0ee0bcbd848501904fd508c56c6e95946f0..011a949dc813115b564ded4aa92be45df0b75668 100644 (file)
   "")
 
 ;; %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"
   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 ""
   "@
   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"
   ""
   "")
 
-(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 ""