gcc/testsuite/gcc.target/aarch64/atomic-op-seq_cst.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-march=armv8-a+nolse -O2 -mno-outline-atomics" } */ |
| 3 | |
| 4 | #include "atomic-op-seq_cst.x" |
| 5 | |
| 6 | /* { dg-final { scan-assembler-times "ldaxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */ |
| 7 | /* { dg-final { scan-assembler-times "stlxr\tw\[0-9\]+, w\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */ |