public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] S/390: Do not require -march=z13 on s390 but only on s390x.
@ 2016-02-04 12:29 Dominik Vogt
  2016-02-05 10:33 ` Andreas Krebbel
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Vogt @ 2016-02-04 12:29 UTC (permalink / raw)
  To: gcc-patches; +Cc: Andreas Krebbel

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

A previous patch required -march=z13 in ssa-dom-cse-2.c for s390
and s390x, but actually only s390x really needs it.  The attached
patch removes the extra option on s390 (and fixes comment
formatting).

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany

[-- Attachment #2: 0001-ChangeLog --]
[-- Type: text/plain, Size: 116 bytes --]

gcc/testsuite/ChangeLog

	* gcc.dg/tree-ssa/ssa-dom-cse-2.c: Remove -march=z13 for s390 (only
	necessary on s390x).

[-- Attachment #3: 0001-S-390-Do-not-require-march-z13-on-s390-but-only-on-s.patch --]
[-- Type: text/x-diff, Size: 1165 bytes --]

From 19411d569d8087a677a2e17e0f3512d776436333 Mon Sep 17 00:00:00 2001
From: Dominik Vogt <vogt@linux.vnet.ibm.com>
Date: Thu, 4 Feb 2016 10:57:50 +0100
Subject: [PATCH] S/390: Do not require -march=z13 on s390 but only on
 s390x.

Also fix formatting of the comment.
---
 gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c
index f68b53b..827cc7a 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c
@@ -1,8 +1,8 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fno-tree-fre -fno-tree-pre -fdump-tree-optimized --param sra-max-scalarization-size-Ospeed=32" } */
-/* S390 needs hardware vector support for this to work (the optimization gets
- * too complex without it.
- * { dg-additional-options "-march=z13" { target { s390*-*-* } } } */
+/* System Z needs hardware vector support for this to work (the optimization
+   gets too complex without it.
+   { dg-additional-options "-march=z13" { target { s390x-*-* } } } */
 
 
 int
-- 
2.3.0


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

* Re: [PATCH] S/390: Do not require -march=z13 on s390 but only on s390x.
  2016-02-04 12:29 [PATCH] S/390: Do not require -march=z13 on s390 but only on s390x Dominik Vogt
@ 2016-02-05 10:33 ` Andreas Krebbel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2016-02-05 10:33 UTC (permalink / raw)
  To: vogt, gcc-patches

On 02/04/2016 01:28 PM, Dominik Vogt wrote:
> gcc/testsuite/ChangeLog
> 
> 	* gcc.dg/tree-ssa/ssa-dom-cse-2.c: Remove -march=z13 for s390 (only
> 	necessary on s390x).

Applied. Thanks!

-Andreas-

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

end of thread, other threads:[~2016-02-05 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-04 12:29 [PATCH] S/390: Do not require -march=z13 on s390 but only on s390x Dominik Vogt
2016-02-05 10:33 ` 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).