Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr108724.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -mno-sse" } */
3
4 int a[16], b[16], c[16];
5 void foo()
6 {
7 for (int i = 0; i < 16; i++) {
8 a[i] = b[i] + c[i];
9 }
10 }
11
12 /* When this is vectorized this shouldn't be expanded piecewise again
13 which will result in spilling for the upper half access. */
14
15 /* { dg-final { scan-assembler-not "\\\[er\\\]sp" } } */