Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr64731.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mno-avx" } */
3
4 typedef double double4 __attribute__((vector_size(32)));
5
6 void fun(double * a, double * b)
7 {
8 for (int i = 0; i < 1024; i+=4)
9 *(double4*)&a[i] += *(double4 *)&b[i];
10 }
11
12 /* We don't want to spill but have both loads and stores lowered
13 to supported SSE operations. */
14 /* { dg-final { scan-assembler-not "movap\[sd\].*\[er\]sp" } } */