public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] S/390: Disable 3 global-array-* tests for 31-bit mode
@ 2018-11-14 12:51 Ilya Leoshkevich
  2018-11-14 13:05 ` Andreas Krebbel
  0 siblings, 1 reply; 2+ messages in thread
From: Ilya Leoshkevich @ 2018-11-14 12:51 UTC (permalink / raw)
  To: gcc-patches; +Cc: krebbel, rdapp, Ilya Leoshkevich

These tests rely on larl->movdi merge, which is not implemented for
31-bit mode.

gcc/testsuite/ChangeLog:

2018-11-14  Ilya Leoshkevich  <iii@linux.ibm.com>

	* gcc.target/s390/global-array-almost-huge-element.c: Run only
	in 64-bit mode.
	* gcc.target/s390/global-array-almost-negative-huge-element.c:
	Likewise.
	* gcc.target/s390/global-array-even-element.c: Likewise.
---
 .../gcc.target/s390/global-array-almost-huge-element.c          | 2 +-
 .../gcc.target/s390/global-array-almost-negative-huge-element.c | 2 +-
 gcc/testsuite/gcc.target/s390/global-array-even-element.c       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.target/s390/global-array-almost-huge-element.c b/gcc/testsuite/gcc.target/s390/global-array-almost-huge-element.c
index 28e4ccd9bdd..afbe1646802 100644
--- a/gcc/testsuite/gcc.target/s390/global-array-almost-huge-element.c
+++ b/gcc/testsuite/gcc.target/s390/global-array-almost-huge-element.c
@@ -1,5 +1,5 @@
 /* Test the maximum possible LARL offset.  */
-/* { dg-do compile } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-options "-O1" } */
 
 extern char a[] __attribute__ ((aligned (2)));
diff --git a/gcc/testsuite/gcc.target/s390/global-array-almost-negative-huge-element.c b/gcc/testsuite/gcc.target/s390/global-array-almost-negative-huge-element.c
index 0012ceb8d49..a171f14db87 100644
--- a/gcc/testsuite/gcc.target/s390/global-array-almost-negative-huge-element.c
+++ b/gcc/testsuite/gcc.target/s390/global-array-almost-negative-huge-element.c
@@ -1,5 +1,5 @@
 /* Test the minimum LARL offset.  */
-/* { dg-do compile } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-options "-O1" } */
 
 extern char a[] __attribute__ ((aligned (2)));
diff --git a/gcc/testsuite/gcc.target/s390/global-array-even-element.c b/gcc/testsuite/gcc.target/s390/global-array-even-element.c
index 5737f7e3496..a17b0c28112 100644
--- a/gcc/testsuite/gcc.target/s390/global-array-even-element.c
+++ b/gcc/testsuite/gcc.target/s390/global-array-even-element.c
@@ -1,5 +1,5 @@
 /* Test accesses to even global array elements.  */
-/* { dg-do compile } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-options "-O1" } */
 
 extern char a[] __attribute__ ((aligned (2)));
-- 
2.19.1

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

* Re: [PATCH] S/390: Disable 3 global-array-* tests for 31-bit mode
  2018-11-14 12:51 [PATCH] S/390: Disable 3 global-array-* tests for 31-bit mode Ilya Leoshkevich
@ 2018-11-14 13:05 ` Andreas Krebbel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2018-11-14 13:05 UTC (permalink / raw)
  To: Ilya Leoshkevich, gcc-patches; +Cc: rdapp

On 14.11.18 13:50, Ilya Leoshkevich wrote:
> These tests rely on larl->movdi merge, which is not implemented for
> 31-bit mode.
> 
> gcc/testsuite/ChangeLog:
> 
> 2018-11-14  Ilya Leoshkevich  <iii@linux.ibm.com>
> 
> 	* gcc.target/s390/global-array-almost-huge-element.c: Run only
> 	in 64-bit mode.
> 	* gcc.target/s390/global-array-almost-negative-huge-element.c:
> 	Likewise.
> 	* gcc.target/s390/global-array-even-element.c: Likewise.

Ok. Thanks!

Andreas

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

end of thread, other threads:[~2018-11-14 13:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 12:51 [PATCH] S/390: Disable 3 global-array-* tests for 31-bit mode Ilya Leoshkevich
2018-11-14 13:05 ` Andreas Krebbel

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