OSDN Git Service

2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Sep 2007 00:49:11 +0000 (00:49 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Sep 2007 00:49:11 +0000 (00:49 +0000)
* i386.md (*floatsisf2_mixed_vector): Use cvtdq2ps instead
of cvtpq2ps.
(*floatsisf2_sse_vector): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128320 138bc75d-0d04-0410-961f-82ee72b054a4

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

index f9f0023..8962b81 100644 (file)
@@ -1,3 +1,9 @@
+2007-09-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386.md (*floatsisf2_mixed_vector): Use cvtdq2ps instead
+       of cvtpq2ps.
+       (*floatsisf2_sse_vector): Likewise.
+
 2007-09-09  Krister Walfridsson  <cato@df.lth.se>
 
        * config/netbsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.
index 352f67d..3ddf7dc 100644 (file)
   "TARGET_MIX_SSE_I387 && !flag_trapping_math 
    && TARGET_USE_VECTOR_CONVERTS && !optimize_size"
   "@
-   cvtpq2ps\t{%1, %0|%0, %1}
+   cvtdq2ps\t{%1, %0|%0, %1}
    fild%z1\t%1
    #"
   [(set_attr "type" "sseicvt,fmov,multi")
        (float:SF (match_operand:SI 1 "register_operand" "x")))]
   "!flag_trapping_math && TARGET_USE_VECTOR_CONVERTS && !optimize_size
    && !TARGET_INTER_UNIT_MOVES"
-  "cvtpq2ps\t{%1, %0|%0, %1}"
+  "cvtdq2ps\t{%1, %0|%0, %1}"
   [(set_attr "type" "sseicvt")
    (set_attr "mode" "SF")
    (set_attr "athlon_decode" "double")