gcc/testsuite/gcc.target/sh/pr64661-4.c
raw| 1 | /* Check that addressing modes for atomics are generated as expected. |
| 2 | The LLCS patterns are limited to simple register addresses, so there's not |
| 3 | much to check here. */ |
| 4 | /* { dg-do compile { target { atomic_model_hard_llcs_available } } } */ |
| 5 | /* { dg-options "-dp -O2 -matomic-model=hard-llcs,strict" } */ |
| 6 | /* { dg-final { scan-assembler-times "hard_1" 112 } } */ |
| 7 | |
| 8 | #include "pr64661-0.h" |