public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [COMMITTED][AArch64] Fix ccmp_1.c test
@ 2016-02-03 12:25 Wilco Dijkstra
  0 siblings, 0 replies; only message in thread
From: Wilco Dijkstra @ 2016-02-03 12:25 UTC (permalink / raw)
  To: gcc-patches; +Cc: nd

Fix the ccmp_1.c test back to use '0' as regular expressions don't work correctly. '0' is right due to compare with zero now printing as 'CMP w0, 0' rather than 'CMP w0, wzr' (since r232921).

Committed as trivial patch in r233102.

ChangeLog:
2016-02-03  Wilco Dijkstra  <wdijkstr@arm.com>

gcc/testsuite/
	* gcc.target/aarch64/ccmp_1.c: Fix test issue.

diff --git a/gcc/testsuite/gcc.target/aarch64/ccmp_1.c b/gcc/testsuite/gcc.target/aarch64/ccmp_1.c
index 7c962cbb396f5ef9634cf3091dd12327ad2a7b03..fd38b2cfdb834c6395ddb939b54d23345c51b8d9 100644
--- a/gcc/testsuite/gcc.target/aarch64/ccmp_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/ccmp_1.c
@@ -85,7 +85,7 @@ f13 (int a, int b)
 /* { dg-final { scan-assembler "cmp\t(.)+34" } } */
 /* { dg-final { scan-assembler "cmp\t(.)+35" } } */
 
-/* { dg-final { scan-assembler-times "\tcmp\tw\[0-9\]+, (0|wzr)" 4 } } */
+/* { dg-final { scan-assembler-times "\tcmp\tw\[0-9\]+, 0" 4 } } */
 /* { dg-final { scan-assembler-times "fcmpe\t(.)+0\\.0" 2 } } */
 /* { dg-final { scan-assembler-times "fcmp\t(.)+0\\.0" 2 } } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-03 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-03 12:25 [COMMITTED][AArch64] Fix ccmp_1.c test Wilco Dijkstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).