7 lines
303 B
C
7 lines
303 B
C
/* { dg-do compile } */
|
|
/* { dg-options "-march=armv8-a+nolse -O2 -mno-outline-atomics" } */
|
|
|
|
#include "atomic-op-relaxed.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 } } */
|