From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99884 invoked by alias); 17 Jul 2015 16:03:16 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 99828 invoked by uid 89); 17 Jul 2015 16:03:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp14.uk.ibm.com Received: from e06smtp14.uk.ibm.com (HELO e06smtp14.uk.ibm.com) (195.75.94.110) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 17 Jul 2015 16:03:15 +0000 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 17 Jul 2015 17:03:11 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 17 Jul 2015 17:03:09 +0100 X-MailFrom: vogt@linux.vnet.ibm.com X-RcptTo: gcc-patches@gcc.gnu.org Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 5D34517D8042 for ; Fri, 17 Jul 2015 17:04:29 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t6HG38Br17629430 for ; Fri, 17 Jul 2015 16:03:09 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t6HG38Ar020632 for ; Fri, 17 Jul 2015 10:03:08 -0600 Received: from bl3ahm9f.de.ibm.com (sig-9-79-69-251.de.ibm.com [9.79.69.251]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t6HG38lW020618 for ; Fri, 17 Jul 2015 10:03:08 -0600 Received: from dvogt by bl3ahm9f.de.ibm.com with local (Exim 4.76) (envelope-from ) id 1ZG86M-0005vS-DK; Fri, 17 Jul 2015 18:03:06 +0200 Date: Fri, 17 Jul 2015 16:04:00 -0000 From: Dominik Vogt To: gcc-patches@gcc.gnu.org Subject: [PATCH 1/4] S390 -march=native related fixes Message-ID: <20150717160306.GA22696@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: gcc-patches@gcc.gnu.org References: <20150717160050.GA17946@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20150717160050.GA17946@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15071716-0017-0000-0000-000004C35FBA X-SW-Source: 2015-07/txt/msg01548.txt.bz2 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 294 > The following series of patches contains fixes, and cleanup work > related to -march=native (and -mtune=native) for S390. > > * 0001 Fix cross compilation for S390 targets that was broken with > the original -march=native aptch. Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=0001-ChangeLog Content-length: 103 gcc/ChangeLog: * config/s390/s390.h: S390: Do not define EXTRA_SPEC_FUNCTIONS when cross compiling. --azLHFNyN32YCQGCU Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-S390-Do-not-define-EXTRA_SPEC_FUNCTIONS-when-cross-c.patch" Content-length: 1165 >From 7ce17cd9b53959a70a9d30cb33acf62ef43ea418 Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Thu, 9 Jul 2015 07:31:42 +0100 Subject: [PATCH 1/4] S390: Do not define EXTRA_SPEC_FUNCTIONS when cross compiling. --- gcc/config/s390/s390.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h index 85a0d1a..f18b973 100644 --- a/gcc/config/s390/s390.h +++ b/gcc/config/s390/s390.h @@ -126,6 +126,7 @@ enum processor_flags { "arch", "%{!march=*:-march=%(VALUE)}" }, \ { "tune", "%{!mtune=*:-mtune=%(VALUE)}" } +#ifdef __s390__ extern const char *s390_host_detect_local_cpu (int argc, const char **argv); # define EXTRA_SPEC_FUNCTIONS \ { "local_cpu_detect", s390_host_detect_local_cpu }, @@ -133,6 +134,9 @@ extern const char *s390_host_detect_local_cpu (int argc, const char **argv); # define MARCH_MTUNE_NATIVE_SPECS \ " %{march=native:%