OSDN Git Service

9cb6f3e07cd45fe6fa8c9cd68af71e3e605f11e7
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / sse-vect-types.c
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -msse2" } */
3
4 #include <xmmintrin.h>
5
6 __m128d foo1(__m128d z, __m128d  a, int N) { 
7   int i;
8   for (i=0; i<N; i++) {
9     a = _mm_add_ps(z, a); /* { dg-error "incompatible type" } */
10   }
11   return a;
12 }
13 /* { dg-message "note: expected '\[^'\n\]*' but argument is of type '\[^'\n\]*'" "note: expected" { target *-*-* } 0 } */