OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / pr39315-1.c
1 /* PR middle-end/39315  */
2 /* { dg-do compile } */
3 /* { dg-options "-O -msse2 -mtune=generic" } */
4 /* { dg-final { scan-assembler-not "movups" } } */
5 /* { dg-final { scan-assembler-not "movlps" } } */
6 /* { dg-final { scan-assembler-not "movhps" } } */
7 /* { dg-final { scan-assembler "movaps" } } */
8
9 typedef float __m128 __attribute__ ((__vector_size__ (16)));
10
11 extern void bar (__m128 *);
12
13 void
14 foo (__m128 *x)
15 {
16   __m128 b = *x;
17   bar (&b);
18 }