Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr106022-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=x86-64" } */
3
4 void
5 foo (int *c)
6 {
7 c = __builtin_assume_aligned (c, 16);
8 c[0] = -1;
9 c[1] = -1;
10 }
11
12 /* { dg-final { scan-assembler-times "movq\[ \\t\]+\[^\n\]*%xmm" 2 { target { ia32 } } } } */
13 /* { dg-final { scan-assembler-times "movq\[ \\t\]+\\\$-1," 1 { target { ! ia32 } } } } */
14 /* { dg-final { scan-assembler-not "xmm" { target { ! ia32 } } } } */