* config/i386/i386.md (paritydi2, paritysi2): New expanders.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / sse-vect-types.c
blob10a544d627b4c0c02acace7033d9929a37bf6e98
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O0 -msse2" } */
4 /* Test the intrinsics without optimization. All of them are
5 defined as inline functions in mmintrin.h that reference the proper
6 builtin functions. Defining away "static" and "__inline" results in
7 all of them being compiled as proper functions. */
9 #define static
10 #define __inline
12 #include <xmmintrin.h>
14 __m128d foo1(__m128d z, __m128d a, int N) {
15 int i;
16 for (i=0; i<N; i++) {
17 a = _mm_add_ps(z, a); /* { dg-error "incompatible type" } */
19 return a;