Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/store_repeating_constant_1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mtune=generic" } */
3
4 void
5 foo (unsigned long long *a)
6 {
7 a[0] = 0x0140c0da0140c0daULL;
8 }
9
10 /* { dg-final { scan-assembler-times "movk\\tw.*" 1 } } */
11 /* { dg-final { scan-assembler-times "stp\tw\[0-9\]+, w\[0-9\]+.*" 1 } } */