1 /* { dg-do compile } */ 2 /* { dg-options "-std=c11 -O" } */ 3 /* { dg-require-effective-target arm_arch_v7a_ok } */ 4 /* { dg-add-options arm_arch_v7a } */ 5 6 #include "atomic_loaddi_seq_cst.x" 7 8 /* { dg-final { scan-assembler-times "ldrexd\tr\[0-9\]+, r\[0-9\]+, \\\[r\[0-9\]+\\\]" 1 } } */ 9 /* { dg-final { scan-assembler-times "dmb\tish" 1 } } */ 10