/* { dg-do compile } */ | |
/* { dg-require-effective-target arm_arch_v8m_base_ok } */ | |
/* { dg-options "-O2 -fno-ipa-icf" } */ | |
/* { dg-add-options arm_arch_v8m_base } */ | |
#include "../aarch64/atomic-comp-swap-release-acquire.x" | |
/* { dg-final { scan-assembler-times "ldaex" 4 } } */ | |
/* { dg-final { scan-assembler-times "stlex" 4 } } */ | |
/* { dg-final { scan-assembler-not "dmb" } } */ |