2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr48037-1.c
blob1b64a7d19b4cc8a9fe7d54a101fee70f456dfe09
1 /* { dg-do compile { target { ! { ia32 } } } } */
2 /* { dg-options "-O -fno-math-errno" } */
4 typedef double __m128d __attribute__((vector_size(16)));
5 __m128d vsqrt1 (__m128d const x)
7 double const* __restrict__ const y = (double const*)&x;
8 double const a = __builtin_sqrt(y[0]);
9 double const b = __builtin_sqrt(y[1]);
10 return (__m128d) { a, b };
13 /* Verify we do not spill x to the stack. */
14 /* { dg-final { scan-assembler-not "%rsp" } } */