sh.md (movsf_ie): Fix length for TARGET_SH2A.
authorKaz Kojima <kkojima@gcc.gnu.org>
Mon, 15 Sep 2008 23:07:28 +0000 (23:07 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Mon, 15 Sep 2008 23:07:28 +0000 (23:07 +0000)
* config/sh/sh.md (movsf_ie): Fix length for TARGET_SH2A.

From-SVN: r140382

gcc/ChangeLog
gcc/config/sh/sh.md

index 4deb997..e46d362 100644 (file)
@@ -1,3 +1,7 @@
+2008-09-15  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.md (movsf_ie): Fix length for TARGET_SH2A.
+
 2008-09-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
 
        * config/rs6000/rs6000.md (floatsidf2): Rewrite PowerPC64 case to
index b6e56aa..53242aa 100644 (file)
@@ -6655,7 +6655,6 @@ label:
        ! move optimized away"
   [(set_attr "type" "fmove,move,fmove,fmove,pcfload,fload,fstore,pcload,load,store,fmove,fmove,load,*,fpul_gp,gp_fpul,fstore,load,nil")
    (set_attr "late_fp_use" "*,*,*,*,*,*,yes,*,*,*,*,*,*,*,yes,*,yes,*,*")
-   (set_attr "length" "*,*,*,*,4,2,2,*,*,*,2,2,2,4,2,2,2,2,0")
    (set_attr_alternative "length"
      [(const_int 2)
       (const_int 2)
@@ -6669,8 +6668,12 @@ label:
        (ne (symbol_ref "TARGET_SH2A") (const_int 0))
        (const_int 4) (const_int 2))
       (const_int 2)
-      (const_int 2)
-      (const_int 2)
+      (if_then_else
+       (ne (symbol_ref "TARGET_SH2A") (const_int 0))
+       (const_int 4) (const_int 2))
+      (if_then_else
+       (ne (symbol_ref "TARGET_SH2A") (const_int 0))
+       (const_int 4) (const_int 2))
       (const_int 2)
       (const_int 2)
       (const_int 2)