summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr39315-1.c
blob: 16ba5d59fe43c73d734aaa7ac9f86432e4472be4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR middle-end/39315  */
/* { dg-do compile } */
/* { dg-options "-O -msse2 -mtune=generic" } */
/* { dg-final { scan-assembler-not "movups" } } */
/* { dg-final { scan-assembler-not "movlps" } } */
/* { dg-final { scan-assembler-not "movhps" } } */
/* { dg-final { scan-assembler "movaps" } } */

typedef float __m128 __attribute__ ((__vector_size__ (16)));

extern void bar (__m128 *);

void
foo (__m128 *x)
{
  __m128 b = *x;
  bar (&b);
}