gcc/testsuite/gcc.target/cris/sync-2i.c
raw| 1 | /* Check that we get the expected alignment-checking code, op variant, int. */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O2 -Dop -Dtype=int" } */ |
| 4 | /* { dg-additional-options "-mtrap-using-break8 -mtrap-unaligned-atomic" { target cris-*-elf } } */ |
| 5 | /* { dg-final { scan-assembler "\tbreak 8" } } */ |
| 6 | /* { dg-final { scan-assembler "\tbtstq \\(2-1\\)," } } */ |
| 7 | /* { dg-final { scan-assembler-not "\tand" } } */ |
| 8 | /* { dg-final { scan-assembler-not "\t\[jb\]sr" } } */ |
| 9 | #include "sync-1.c" |