From 2efce5af7c40e627e105cce67e930ee4a6f4623b Mon Sep 17 00:00:00 2001 From: Alex Velenko Date: Wed, 11 Feb 2015 19:01:08 +0000 Subject: [PATCH] atomic-op-consume.c (scan-assember-times): Directive adjusted to XFAIL. gcc/testsuite/ * gcc.target/aarch64/atomic-op-consume.c (scan-assember-times): Directive adjusted to XFAIL. * gcc.target/arm/atomic-op-consume.c (scan-assember-times): Directive adjusted to XFAIL. From-SVN: r220628 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.target/aarch64/atomic-op-consume.c | 3 ++- gcc/testsuite/gcc.target/arm/atomic-op-consume.c | 6 ++---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0cdaf456c1e..17dc81f0639 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2015-02-11 Alex Velenko + + * gcc.target/aarch64/atomic-op-consume.c (scan-assember-times): + Directive adjusted to XFAIL. + * gcc.target/arm/atomic-op-consume.c (scan-assember-times): Directive + adjusted to XFAIL. + 2015-02-11 Jakub Jelinek PR middle-end/65003 diff --git a/gcc/testsuite/gcc.target/aarch64/atomic-op-consume.c b/gcc/testsuite/gcc.target/aarch64/atomic-op-consume.c index 38d6c2cfb2c..0e6dbbed572 100644 --- a/gcc/testsuite/gcc.target/aarch64/atomic-op-consume.c +++ b/gcc/testsuite/gcc.target/aarch64/atomic-op-consume.c @@ -3,5 +3,6 @@ #include "atomic-op-consume.x" -/* { dg-final { scan-assembler-times "ldxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */ +/* PR59448 consume not implemented yet. */ +/* { dg-final { scan-assembler-times "ldxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 { xfail *-*-* } } } */ /* { dg-final { scan-assembler-times "stxr\tw\[0-9\]+, w\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */ diff --git a/gcc/testsuite/gcc.target/arm/atomic-op-consume.c b/gcc/testsuite/gcc.target/arm/atomic-op-consume.c index cc6c0283504..fafe4d6f1be 100644 --- a/gcc/testsuite/gcc.target/arm/atomic-op-consume.c +++ b/gcc/testsuite/gcc.target/arm/atomic-op-consume.c @@ -5,9 +5,7 @@ #include "../aarch64/atomic-op-consume.x" -/* To workaround Bugzilla 59448 issue, a request for __ATOMIC_CONSUME is always - promoted to __ATOMIC_ACQUIRE, implemented as MEMMODEL_ACQUIRE. This causes - "LDAEX" to be generated instead of "LDREX". */ -/* { dg-final { scan-assembler-times "ldaex\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */ +/* PR59448 consume not implemented yet. */ +/* { dg-final { scan-assembler-times "ldrex\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 { xfail *-*-* } } } */ /* { dg-final { scan-assembler-times "strex\t...?, r\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */ /* { dg-final { scan-assembler-not "dmb" } } */ -- 2.30.2