Message ID | 48c22834-67a6-8dae-6f57-7a5882a69c65@linux.ibm.com |
---|---|
State | Repeat Merge |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp219wrd; Thu, 2 Mar 2023 10:17:59 -0800 (PST) X-Google-Smtp-Source: AK7set+sTD9djpMamCb40WxEqYP/6DJ5qmIWlbqbXOR+Ig3wfq5LWOhoRZYCA3N3PkUfH5b9wN3n X-Received: by 2002:a05:6402:416:b0:4ad:7c30:2599 with SMTP id q22-20020a056402041600b004ad7c302599mr12846659edv.13.1677781079250; Thu, 02 Mar 2023 10:17:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677781079; cv=none; d=google.com; s=arc-20160816; b=zUfbbHeMbmIq1jfU1HLJqTMH0MRCssBU/af96tF53nhCqIkVE9QfJavEt542yQe+k1 SpLJi16vv0HO+w0DTBN3+7fYdExGv+Uqo1ZZzaf9ciTZ2WXvSnnbxnod58xx3JECKx8+ mlIY6AlGXQl5oFCUofxaRcMbrm9sQhsElJrmu00mRZfHENB9QvTRW9d+t3gYe+N7blpA zU46WEeVHbaqmQS7wKttR/Axa9bs1HgqGbMs7UGR//hWhwdmUHM6OrUjJH27mRbJESpS D5lc4SN8DXzv+Xn3NMXqcfnUJKUcC37qW1ubJqjw4hTQuTRKVOQFPMSHh5+rJrlnlt/9 ELLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=bS4++lmWijlTmDc5PlLns+3DGS1kFY5szN4VFdnFgXE=; b=MiQ8cDufAM6QRDoW9viFE3KRsG27XS+ljIYpyOrFhlqyrDw9N99HG8uJFWci5lHUps VxeK0BcVzgU2qXePVIkp5EJ7wcGzYmXW4JgXThTJAyeU1UuUeZm+x0O1CKvcWWtnzUYz o+jTnbPEchNIQlMIFUDmT4IIdjLq807nE+GlGb5v5uqkAhnmMVmq24KWg3JL1B34OHkd GQJY313GR2HF2ktGJac4tjOTgtDEefVQshIOc6Uafu0gU274i0uPBHs8Uww2PzgoerC0 2qkgvIMwvEl5rVzGSLRj+48hwaO9rRS5gJw5ZBGfcm8UHCFDEkDnMVsJGaikIPubi1xe nRmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=fV2sElnX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org ([2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id w8-20020a17090633c800b008eb27de1fa6si5542433eja.8.2023.03.02.10.17.59 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 10:17:59 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=fV2sElnX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0A141385841A for <ouuuleilei@gmail.com>; Thu, 2 Mar 2023 18:17:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A141385841A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677781078; bh=bS4++lmWijlTmDc5PlLns+3DGS1kFY5szN4VFdnFgXE=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=fV2sElnXagdkUbWAN7T4mh28ABcGKWxQ+3b7Ddyls92LO/f5KyTUcbhNepLk5zm1w p3oMs3GpQdH29p1g9+vYcv4z3d5aY82PUdfWsDFQNOR3ulOD9ZL7M5xl4U++0hPAYr V7Yvvs2No1VE21ffXmXxVq08tZILC/lUwRBm1st4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 332FE385841E for <gcc-patches@gcc.gnu.org>; Thu, 2 Mar 2023 18:17:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 332FE385841E Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 322I1EbU029779 for <gcc-patches@gcc.gnu.org>; Thu, 2 Mar 2023 18:17:13 GMT Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3p30qa8cy7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <gcc-patches@gcc.gnu.org>; Thu, 02 Mar 2023 18:17:13 +0000 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3223SgkO029627 for <gcc-patches@gcc.gnu.org>; Thu, 2 Mar 2023 18:17:11 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma02fra.de.ibm.com (PPS) with ESMTPS id 3nybe2mhp0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <gcc-patches@gcc.gnu.org>; Thu, 02 Mar 2023 18:17:11 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 322IH8Ta63635714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 2 Mar 2023 18:17:08 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 34E0220040; Thu, 2 Mar 2023 18:17:08 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0474C2004B; Thu, 2 Mar 2023 18:17:08 +0000 (GMT) Received: from [9.179.14.44] (unknown [9.179.14.44]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTPS; Thu, 2 Mar 2023 18:17:07 +0000 (GMT) Message-ID: <48c22834-67a6-8dae-6f57-7a5882a69c65@linux.ibm.com> Date: Thu, 2 Mar 2023 19:17:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-US To: GCC Patches <gcc-patches@gcc.gnu.org>, Andreas Krebbel <krebbel@linux.ibm.com> Subject: [PATCH] s390: Use arch14 instead of z16 for -march=native. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 2IbGlZXH4Q78hQwayZSZdjP38ttqJSZL X-Proofpoint-ORIG-GUID: 2IbGlZXH4Q78hQwayZSZdjP38ttqJSZL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-02_10,2023-03-02_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 bulkscore=0 impostorscore=0 phishscore=0 adultscore=0 mlxlogscore=999 priorityscore=1501 clxscore=1015 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303020152 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Robin Dapp via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Robin Dapp <rdapp@linux.ibm.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759280973171833043?= X-GMAIL-MSGID: =?utf-8?q?1759280973171833043?= |
Series |
s390: Use arch14 instead of z16 for -march=native.
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Robin Dapp
March 2, 2023, 6:17 p.m. UTC
Hi, When compiling on a system where binutils do not yet support the 'z16' name assembling fails with -march=native which we currently interpret as -march=z16 (on a z16 machine). This patch uses -march=arch14 instead. Is it OK? Regards Robin -- gcc/ChangeLog: * config/s390/driver-native.cc (s390_host_detect_local_cpu): Use arch14 instead of z16. --- gcc/config/s390/driver-native.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On 3/2/23 19:17, Robin Dapp wrote: > Hi, > > When compiling on a system where binutils do not yet support the 'z16' > name assembling fails with -march=native which we currently interpret > as -march=z16 (on a z16 machine). This patch uses -march=arch14 > instead. > > Is it OK? Ok. Thanks! Andreas > > Regards > Robin > > -- > > gcc/ChangeLog: > > * config/s390/driver-native.cc (s390_host_detect_local_cpu): Use > arch14 instead of z16. > --- > gcc/config/s390/driver-native.cc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gcc/config/s390/driver-native.cc b/gcc/config/s390/driver-native.cc > index 563da45c7f6e..3b9c1e1ca5df 100644 > --- a/gcc/config/s390/driver-native.cc > +++ b/gcc/config/s390/driver-native.cc > @@ -125,10 +125,10 @@ s390_host_detect_local_cpu (int argc, const char **argv) > break; > case 0x3931: > case 0x3932: > - cpu = "z16"; > + cpu = "arch14"; > break; > default: > - cpu = "z16"; > + cpu = "arch14"; > break; > } > }
diff --git a/gcc/config/s390/driver-native.cc b/gcc/config/s390/driver-native.cc index 563da45c7f6e..3b9c1e1ca5df 100644 --- a/gcc/config/s390/driver-native.cc +++ b/gcc/config/s390/driver-native.cc @@ -125,10 +125,10 @@ s390_host_detect_local_cpu (int argc, const char **argv) break; case 0x3931: case 0x3932: - cpu = "z16"; + cpu = "arch14"; break; default: - cpu = "z16"; + cpu = "arch14"; break; } }