aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr14981-1.c
blob: 7d5bde9e56657505423e0470ff20a074fc500e51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR target/14981  */
/* PR target/20051  */
/* Test case reduced by Ferdinand <commie1@gmx.net> */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -msse" } */
typedef float v4sf __attribute__ ((vector_size (16)));

void foo(float* y)
{
  v4sf x = __builtin_ia32_xorps (x,x);
  __builtin_ia32_storeaps (y, x);
}