Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/const_1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3
4 #include <stdint.h>
5
6 void
7 set (uint64_t *dst, int count)
8 {
9 for (int i = 0; i < count; ++i)
10 dst[i] = 0xffff00ff00ffff00ULL;
11 }
12
13 /* { dg-final { scan-assembler {\tmovi\tv([0-9]+)\.2d, 0xffff00ff00ffff00\n.*\tdup\tz[0-9]+\.q, z\1\.q\[0\]\n} } } */