public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] fix testcase gcc.target/aarch64/insv_1.c
@ 2020-08-17  2:57 Qian Jianhua
  2020-08-26 10:08 ` Richard Sandiford
  0 siblings, 1 reply; 6+ messages in thread
From: Qian Jianhua @ 2020-08-17  2:57 UTC (permalink / raw)
  To: gcc-patches

There are three failures in gcc.target/aarch64/insv_1.c.
 FAIL: gcc.target/aarch64/insv_1.c scan-assembler bfi\tx[0-9]+, x[0-9]+, 0, 8
 FAIL: gcc.target/aarch64/insv_1.c scan-assembler bfi\tx[0-9]+, x[0-9]+, 16, 5
 FAIL: gcc.target/aarch64/insv_1.c scan-assembler movk\tx[0-9]+, 0x1d6b, lsl 32

This patch fix the third failure which was missed "#" before immediate value
in scan-assembler.


gcc/testsuite/ChangeLog:

	* gcc.target/aarch64/insv_1.c: Add '#' in scan-assembler

---
 gcc/testsuite/gcc.target/aarch64/insv_1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/insv_1.c b/gcc/testsuite/gcc.target/aarch64/insv_1.c
index 360a9892ad9..9efa22e649d 100644
--- a/gcc/testsuite/gcc.target/aarch64/insv_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/insv_1.c
@@ -32,7 +32,7 @@ bfi2 (bitfield a)
 bitfield
 movk (bitfield a)
 {
-  /* { dg-final { scan-assembler "movk\tx\[0-9\]+, 0x1d6b, lsl 32" } } */
+  /* { dg-final { scan-assembler "movk\tx\[0-9\]+, #0x1d6b, lsl 32" } } */
   a.sixteen = 7531;
   return a;
 }
-- 
2.18.1




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-28  2:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-17  2:57 [PATCH] fix testcase gcc.target/aarch64/insv_1.c Qian Jianhua
2020-08-26 10:08 ` Richard Sandiford
2020-08-27  3:25   ` Qian, Jianhua
2020-08-27  8:01     ` Richard Sandiford
2020-08-27  8:39       ` Iain Sandoe
2020-08-28  2:53         ` Qian, Jianhua

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).