xmmintrin.h (_mm_shuffle_pi16): make available for SSE.

2006-04-27  Dirk Mueller  <dmueller@suse.de>

        * config/i386/xmmintrin.h (_mm_shuffle_pi16): make available
        for SSE.

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

From-SVN: r113297
This commit is contained in:
Dirk Mueller 2006-04-27 11:13:45 +00:00 committed by Dirk Mueller
parent ded5b063bb
commit 869170df10
4 changed files with 10 additions and 3 deletions

View 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.

View 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

View 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:

View 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>