OSDN Git Service

2006-04-27 Dirk Mueller <dmueller@suse.de>
authormueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Apr 2006 11:13:45 +0000 (11:13 +0000)
committermueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Apr 2006 11:13:45 +0000 (11:13 +0000)
        * config/i386/xmmintrin.h (_mm_shuffle_pi16): make available
        for SSE.

        * testsuite/gcc.target/i386/sse-7.c: build with -msse.

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

gcc/ChangeLog
gcc/config/i386/xmmintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/sse-7.c

index d1db0a0..a769890 100644 (file)
@@ -1,3 +1,8 @@
+2006-04-27  Dirk Mueller  <dmueller@suse.de>
+
+       * config/i386/xmmintrin.h (_mm_shuffle_pi16): Declare
+       prototype for SSE.
+
 2006-04-26  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        * basic-block.h (safe_insert_insn_on_edge): Removed.
index 73645ca..582f7e3 100644 (file)
@@ -1109,7 +1109,6 @@ _m_pmulhuw (__m64 __A, __m64 __B)
 
 /* Return a combination of the four 16-bit values in A.  The selector
    must be an immediate.  */
-#ifdef __SSE2__
 #if 0
 static __inline __m64 __attribute__((__always_inline__))
 _mm_shuffle_pi16 (__m64 __A, int __N)
@@ -1127,7 +1126,6 @@ _m_pshufw (__m64 __A, int __N)
   ((__m64) __builtin_ia32_pshufw ((__v4hi)(A), (N)))
 #define _m_pshufw(A, N)                _mm_shuffle_pi16 ((A), (N))
 #endif
-#endif
 
 /* Conditionally store byte elements of A into P.  The high bit of each
    byte in the selector N determines whether the corresponding byte from
index 760438b..8e9b6a9 100644 (file)
@@ -1,3 +1,7 @@
+2006-04-27  Dirk Mueller  <dmueller@suse.de>
+
+       * gcc.target/i386/sse-7.c: build with -msse.
+
 2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR testsuite/27274:
index 41e771e..3d4d1ec 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run { target i?86-*-* x86_64-*-* } } */
-/* { dg-options "-O2 -msse2" } */
+/* { dg-options "-O2 -msse" } */
 #include <xmmintrin.h>
 #include <stdio.h>
 #include <stdlib.h>