blob: e82c8118ece6dc17f01ee66675c3f5f34f025795 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-march=armv8-a+nolse -O2" } */
#include "atomic-op-short.x"
/* { dg-final { scan-assembler-times "ldxrh\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */
/* { dg-final { scan-assembler-times "stxrh\tw\[0-9\]+, w\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */