diff options
author | Alex Velenko <Alex.Velenko@arm.com> | 2015-01-28 15:11:58 +0000 |
---|---|---|
committer | Alex Velenko <avelenko@gcc.gnu.org> | 2015-01-28 15:11:58 +0000 |
commit | 26586d771d2e0c7329c656c8f9a39c8151b53d44 (patch) | |
tree | 8a76c6f4a82d6cc25b78135fde3bbed63accb500 /gcc | |
parent | 739cdc9041fbf867b8228ac9ff890045f366caf1 (diff) | |
download | gcc-26586d771d2e0c7329c656c8f9a39c8151b53d44.zip gcc-26586d771d2e0c7329c656c8f9a39c8151b53d44.tar.gz gcc-26586d771d2e0c7329c656c8f9a39c8151b53d44.tar.bz2 |
atomic-op-consume.c (scan-assember-times): Adjust scan-assembler-times pattern.
2015-01-28 Alex Velenko <Alex.Velenko@arm.com>
gcc/testsuite/
* gcc.target/arm/atomic-op-consume.c (scan-assember-times): Adjust
scan-assembler-times pattern.
From-SVN: r220208
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arm/atomic-op-consume.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3013403..fb86e8c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-01-28 Alex Velenko <Alex.Velenko@arm.com> + + * gcc.target/arm/atomic-op-consume.c (scan-assember-times): Adjust + scan-assembler-times pattern. + 2015-01-28 Yuri Rumyantsev <ysrumyan@gmail.com> PR middle-end/64809 diff --git a/gcc/testsuite/gcc.target/arm/atomic-op-consume.c b/gcc/testsuite/gcc.target/arm/atomic-op-consume.c index 0354717..cc6c028 100644 --- a/gcc/testsuite/gcc.target/arm/atomic-op-consume.c +++ b/gcc/testsuite/gcc.target/arm/atomic-op-consume.c @@ -5,6 +5,9 @@ #include "../aarch64/atomic-op-consume.x" -/* { dg-final { scan-assembler-times "ldrex\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */ +/* 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 } } */ /* { dg-final { scan-assembler-times "strex\t...?, r\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */ /* { dg-final { scan-assembler-not "dmb" } } */ |