blob: 9785bca4f5154da9895edbd09ffaec0b4b10f725 (
plain)
1
2
3
4
5
6
7
|
/* { dg-do compile } */
/* { dg-options "-O2" } */
#include "atomic-comp-swap-release-acquire.x"
/* { dg-final { scan-assembler-times "ldaxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 4 } } */
/* { dg-final { scan-assembler-times "stlxr\tw\[0-9\]+, w\[0-9\]+, \\\[x\[0-9\]+\\\]" 4 } } */
|