public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ARM/heads/morello)] morello testsuite: Fix up const-null.c test
@ 2022-11-14 13:24 Alex Coplan
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Coplan @ 2022-11-14 13:24 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d11f8e14fe75fd148e42464cc0b489e2de8b7574

commit d11f8e14fe75fd148e42464cc0b489e2de8b7574
Author: Alex Coplan <alex.coplan@arm.com>
Date:   Tue Nov 8 13:42:03 2022 +0000

    morello testsuite: Fix up const-null.c test
    
    For this test, when compiling for base AArch64 we generate mov x0, 0,
    but on purecap we generate mov x0, xzr. Either is fine, so accept both
    in the check-function-bodies pattern.

Diff:
---
 gcc/testsuite/gcc.target/aarch64/morello/const-null.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/morello/const-null.c b/gcc/testsuite/gcc.target/aarch64/morello/const-null.c
index dc7d186e2e8..815987254d3 100644
--- a/gcc/testsuite/gcc.target/aarch64/morello/const-null.c
+++ b/gcc/testsuite/gcc.target/aarch64/morello/const-null.c
@@ -7,7 +7,7 @@
 
 /*
 ** test_ret:
-**	mov	x0, xzr
+**	mov	x0, (0|xzr)
 **	ret
 */
 void*

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

* [gcc(refs/vendors/ARM/heads/morello)] morello testsuite: Fix up const-null.c test
@ 2022-11-22 12:43 Stam Markianos-Wright
  0 siblings, 0 replies; 2+ messages in thread
From: Stam Markianos-Wright @ 2022-11-22 12:43 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d11f8e14fe75fd148e42464cc0b489e2de8b7574

commit d11f8e14fe75fd148e42464cc0b489e2de8b7574
Author: Alex Coplan <alex.coplan@arm.com>
Date:   Tue Nov 8 13:42:03 2022 +0000

    morello testsuite: Fix up const-null.c test
    
    For this test, when compiling for base AArch64 we generate mov x0, 0,
    but on purecap we generate mov x0, xzr. Either is fine, so accept both
    in the check-function-bodies pattern.

Diff:
---
 gcc/testsuite/gcc.target/aarch64/morello/const-null.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/morello/const-null.c b/gcc/testsuite/gcc.target/aarch64/morello/const-null.c
index dc7d186e2e8..815987254d3 100644
--- a/gcc/testsuite/gcc.target/aarch64/morello/const-null.c
+++ b/gcc/testsuite/gcc.target/aarch64/morello/const-null.c
@@ -7,7 +7,7 @@
 
 /*
 ** test_ret:
-**	mov	x0, xzr
+**	mov	x0, (0|xzr)
 **	ret
 */
 void*

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

end of thread, other threads:[~2022-11-22 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 13:24 [gcc(refs/vendors/ARM/heads/morello)] morello testsuite: Fix up const-null.c test Alex Coplan
2022-11-22 12:43 Stam Markianos-Wright

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