Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/pr121253.c

raw
1 /* { dg-options "-O" } */
2
3 struct s128 {
4 long a, b;
5 };
6
7 struct s128 foo(void) {
8 struct s128 ret;
9 asm("mov %0, #0 \n\t"
10 "mov %R0, #0 \n\t"
11 "mov x0, #12345"
12 : "=r" (ret) : : "x0");
13 return ret;
14 }
15
16 /* { dg-final { scan-assembler-not {mov x0, #0} } } */