blob: 2fc04b210deb57a584fb04d0b832b6a9ed2f2795 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
#include "atomic-op-release.x"
/* { dg-final { scan-assembler-times "ldxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */
/* { dg-final { scan-assembler-times "stlxr\tw\[0-9\]+, w\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */