gcc/testsuite/gcc.target/aarch64/ldp_stp_23.c
raw| 1 | /* { dg-options "-O2" } */ |
| 2 | |
| 3 | #pragma GCC target "+nosimd+fp" |
| 4 | |
| 5 | void |
| 6 | foo (char *char_ptr) |
| 7 | { |
| 8 | __Float64x2_t *ptr = (__Float64x2_t *)(char_ptr + 1); |
| 9 | asm volatile ("" :: |
| 10 | "w" (ptr[1]), |
| 11 | "w" (ptr[2]), |
| 12 | "w" (ptr[3]), |
| 13 | "w" (ptr[4])); |
| 14 | } |
| 15 | |
| 16 | /* { dg-final { scan-assembler-times {\tldp\tq[0-9]+, q[0-9]+} 2 } } */ |