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