atomic-op-consume.c (scan-assember-times): Directive adjusted to scan for ldaxr.

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
This commit is contained in:
Alex Velenko 2015-02-16 18:12:10 +00:00 committed by Alex Velenko
parent 205c0affca
commit 3f880d38dc
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2015-02-16 Alex Velenko <Alex.Velenko@arm.com>
* 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.
2015-02-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/65080

View File

@ -3,6 +3,6 @@
#include "atomic-op-consume.x"
/* PR59448 consume not implemented yet. */
/* { dg-final { scan-assembler-times "ldxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 { xfail *-*-* } } } */
/* 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 } } */

View File

@ -5,7 +5,7 @@
#include "../aarch64/atomic-op-consume.x"
/* PR59448 consume not implemented yet. */
/* { dg-final { scan-assembler-times "ldrex\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 { xfail *-*-* } } } */
/* Scan for ldaex is a PR59448 consume workaround. */
/* { dg-final { scan-assembler-times "ldaex\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */
/* { dg-final { scan-assembler-times "strex\t...?, r\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */
/* { dg-final { scan-assembler-not "dmb" } } */