1  /* { dg-do compile } */
       2  /* { dg-require-effective-target arm_arch_v8m_base_ok } */
       3  /* { dg-options "-O2 -fno-ipa-icf" } */
       4  /* { dg-add-options arm_arch_v8m_base } */
       5  
       6  #include "../aarch64/atomic-comp-swap-release-acquire.x"
       7  
       8  /* { dg-final { scan-assembler-times "ldaex" 4 } } */
       9  /* { dg-final { scan-assembler-times "stlex" 4 } } */
      10  /* { dg-final { scan-assembler-not "dmb" } } */