re PR rtl-optimization/48143 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched...
authorAndrey Belevantsev <abel@ispras.ru>
Tue, 22 Mar 2011 12:33:53 +0000 (15:33 +0300)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Tue, 22 Mar 2011 12:33:53 +0000 (15:33 +0300)
        PR rtl-optimization/48143
        * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute.
        (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps,
        sse2_cvtps2pd): Likewise.

From-SVN: r171286

gcc/ChangeLog
gcc/config/i386/sse.md

index 7aac8837ea0428cff38d0d24df8a802a320a81e1..6d318e05952ba43c397eed0dcc3bdcaaec680f4f 100644 (file)
@@ -1,3 +1,10 @@
+2011-03-22  Andrey Belevantsev  <abel@ispras.ru>
+
+       PR rtl-optimization/48143
+       * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute.
+       (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps,
+       sse2_cvtps2pd): Likewise.
+
 2011-03-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * recog.c (canonicalize_change_group): Use validate_unshare_change.
index 6200419854860fa866548707c40258c0f3d1cd7f..70a0b344bdfee8357ecaf4972a05bff3a1edc67d 100644 (file)
    (set_attr "prefix" "maybe_vex")
    (set_attr "mode" "TI")
    (set_attr "amdfam10_decode" "double")
+   (set_attr "athlon_decode" "vector")
    (set_attr "bdver1_decode" "double")])
 
 (define_insn "avx_cvttpd2dq256"
    (set_attr "prefix" "maybe_vex")
    (set_attr "mode" "TI")
    (set_attr "amdfam10_decode" "double")
+   (set_attr "athlon_decode" "vector")
    (set_attr "bdver1_decode" "double")])
 
 (define_insn "*avx_cvtsd2ss"
   "cvtss2sd\t{%2, %0|%0, %2}"
   [(set_attr "type" "ssecvt")
    (set_attr "amdfam10_decode" "vector,double")
+   (set_attr "athlon_decode" "direct,direct")
    (set_attr "bdver1_decode" "direct,direct")
    (set_attr "mode" "DF")])
 
    (set_attr "prefix" "maybe_vex")
    (set_attr "mode" "V4SF")
    (set_attr "amdfam10_decode" "double")
+   (set_attr "athlon_decode" "vector")
    (set_attr "bdver1_decode" "double")])
 
 (define_insn "avx_cvtps2pd256"
    (set_attr "mode" "V2DF")
    (set_attr "prefix_data16" "0")
    (set_attr "amdfam10_decode" "direct")
+   (set_attr "athlon_decode" "double")
    (set_attr "bdver1_decode" "double")])
 
 (define_expand "vec_unpacks_hi_v4sf"