Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/store_repeating_constant_2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-Os" } */
3
4 /* Check that for -Os we synthesize only the bottom half and then
5 store it twice with an STP rather than synthesizing it twice in each
6 half of an X-reg. */
7
8 void
9 foo (unsigned long long *a)
10 {
11 a[0] = 0xc0da0000c0daULL;
12 }
13
14 /* { dg-final { scan-assembler-times "mov\\tw.*" 1 } } */
15 /* { dg-final { scan-assembler-times "stp\tw\[0-9\]+, w\[0-9\]+.*" 1 } } */