mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-13 05:47:01 +08:00
gcc/testsuite/ * gcc.target/aarch64/atomic-op-consume.c (scan-assember-times): Directive adjusted to scan for ldaxr. * gcc.target/arm/atomic-op-consume.c (scan-assember-times): Directive adjusted to scan for ldaex. From-SVN: r220740
9 lines
317 B
C
9 lines
317 B
C
/* { dg-do compile } */
|
|
/* { dg-options "-O2" } */
|
|
|
|
#include "atomic-op-consume.x"
|
|
|
|
/* Scan for ldaxr is a PR59448 consume workaround. */
|
|
/* { dg-final { scan-assembler-times "ldaxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */
|
|
/* { dg-final { scan-assembler-times "stxr\tw\[0-9\]+, w\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */
|