diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2008-09-15 23:07:28 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2008-09-15 23:07:28 +0000 |
commit | 9705d817a085c6cedb254186349806d71295dfb8 (patch) | |
tree | a77c4be9f36d99278dfe6cdb141a56bf01c0591e | |
parent | f369bbb185bcebe0986efcdde852d126a3e6f9bc (diff) | |
download | gcc-9705d817a085c6cedb254186349806d71295dfb8.zip gcc-9705d817a085c6cedb254186349806d71295dfb8.tar.gz gcc-9705d817a085c6cedb254186349806d71295dfb8.tar.bz2 |
sh.md (movsf_ie): Fix length for TARGET_SH2A.
* config/sh/sh.md (movsf_ie): Fix length for TARGET_SH2A.
From-SVN: r140382
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4deb997..e46d362 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index b6e56aa..53242aa 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -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) |