Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / sse-20.c
blob5aa8f7a28129eb2f2530077305927d1a2c166746
1 /* PR target/13685 */
2 /* { dg-options "-Os -msse" } */
4 typedef float __m128 __attribute__ ((vector_size (16)));
5 typedef int __m64 __attribute__ ((vector_size (8)));
7 int puts (const char *s);
8 void foo (__m128 *, __m64 *, int);
10 int main (void)
12 foo (0, 0, 0);
13 return 0;
16 void foo (__m128 *dst, __m64 *src, int n)
18 __m128 xmm0 = { 0 };
19 while (n > 64)
21 puts ("");
22 xmm0 = __builtin_ia32_cvtpi2ps (xmm0, *src);
23 *dst = xmm0;
24 n --;