PR target/14343
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Mar 2004 10:13:19 +0000 (10:13 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Mar 2004 10:13:19 +0000 (10:13 +0000)
* config/i386/i386.md (movv2di_internal): Conditionalize on
TARGET_SSE, not TARGET_SSE2.

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

gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/i386-sse-8.c [new file with mode: 0644]

index 5176ee1..423ff63 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/14343
+       * config/i386/i386.md (movv2di_internal): Conditionalize on
+       TARGET_SSE, not TARGET_SSE2.
+
 2004-03-05  Chris Demetriou  <cgd@broadcom.com>
 
        * config.gcc (mips64orion-*-elf*, mips64orionel-*-elf*): Delete
index e957552..2bee357 100644 (file)
 (define_insn "movv2di_internal"
   [(set (match_operand:V2DI 0 "nonimmediate_operand" "=x,x,m")
        (match_operand:V2DI 1 "vector_move_operand" "C,xm,x"))]
-  "TARGET_SSE2"
+  "TARGET_SSE"
 {
   switch (which_alternative)
     {
index ee99b80..5d8136f 100644 (file)
@@ -1,5 +1,9 @@
 2004-03-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
+       * gcc.dg/i386-sse-8.c: New test.
+
+2004-03-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
        PR c/14114
        * gcc.dg/decl-5.c: New test.
 
diff --git a/gcc/testsuite/gcc.dg/i386-sse-8.c b/gcc/testsuite/gcc.dg/i386-sse-8.c
new file mode 100644 (file)
index 0000000..d6e1056
--- /dev/null
@@ -0,0 +1,13 @@
+/* PR target/14313 */
+/* Origin: <Pawe Sikora <pluto@ds14.agh.edu.pl> */
+
+/* { dg-do compile } */
+/* { dg-options "-march=pentium3" { target i?86-*-* x86_64-*-* } } */
+
+int main() 
+{ 
+  typedef int v __attribute__ ((mode(V2DI))); 
+  v a, b; 
+  a = b; 
+  return 0; 
+}