From patchwork Thu Jul 11 11:26:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jeevitha X-Patchwork-Id: 1959251 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=nCBBmvbj; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WKXVq1Kmlz1xqr for ; Thu, 11 Jul 2024 21:26:42 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A853F3846080 for ; Thu, 11 Jul 2024 11:26:40 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 75984384A4AD for ; Thu, 11 Jul 2024 11:26:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 75984384A4AD Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 75984384A4AD Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720697179; cv=none; b=Cj/WsB+ICeX2/yna3Bu8+K3ZMOzsWHYR8YB4px1s3++QV1ZMDN02F4eH6uN7mL9GZ93ktKD/AJ3PxpgKgKmWyRl5RXKecYj743KzoY93aPBOJyOThXEtMTRJfN8HA3S1JFwQRbBE7PLPD9UIYrx/xi3RhlGZ20VwJPvMBd3G7X0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720697179; c=relaxed/simple; bh=wUOW4XesPbdzQigdthBlJfEb3tJdmcRbCZ6xOke+Eyc=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=pjSnXi8Z1JOsgXPrDF36oUdtKrrbVfShtjOFMNyqiEPKMx/0Wx2c+m4JkXL9L66Q6kv+Sy803x48YUEgs39RhLPHsz3M6YGE3Mf50tSJjQ4zTQ9QClefzZDwlUQ185pNB/eO5Q64Z02vWNOUmiDYIycOjN74nYwpFIs8P3TUNtg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46BBPtxR030944; Thu, 11 Jul 2024 11:26:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h= message-id:date:mime-version:to:from:subject:content-type :content-transfer-encoding; s=pp1; bh=dNf+VAw6B93xE9fLGKd/qX3nVr KsCX5xH52xOiNINC4=; b=nCBBmvbjVuNGKikyU2rrBMzCx7PQHZ22/JyLHr9vBs ZPxyJjK4xPouS7UVN9i0yPujMrgbwkn763rIXSaViU19wK+t2AU4f//Uwk8Qbc+j MzAuMcmJDn0Q8eEPB/QV+3G2udtd7b5GSQIF1hPjpAcVmZiNxhrP28ldvFBmMdLg +KzcxS7aufpVFtxtluy+p79waQeMQgUb+sAuRTt9oMMT040OrMce/YCP9i0/sK1N O1sVGz6auvUT9IpCNw7elGI/dMS4y3E/cr/1ekIKTnSGrbl83CB0ApdhRYAhxvv4 TI0KmPASeSHgXIg2hoKRFQXrwB3cIkiaxADlzi1howGQ== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 40abwm0bg7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jul 2024 11:26:15 +0000 (GMT) Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 46B8k8Dg024583; Thu, 11 Jul 2024 11:26:14 GMT Received: from smtprelay07.dal12v.mail.ibm.com ([172.16.1.9]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 407hrn0dk9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jul 2024 11:26:13 +0000 Received: from smtpav05.dal12v.mail.ibm.com (smtpav05.dal12v.mail.ibm.com [10.241.53.104]) by smtprelay07.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 46BBQALi41222770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Jul 2024 11:26:12 GMT Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C0D0C58052; Thu, 11 Jul 2024 11:26:10 +0000 (GMT) Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6C73E58056; Thu, 11 Jul 2024 11:26:09 +0000 (GMT) Received: from [9.109.208.217] (unknown [9.109.208.217]) by smtpav05.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 11 Jul 2024 11:26:09 +0000 (GMT) Message-ID: <31e4c659-27f6-4db2-8678-9e7891f55685@linux.ibm.com> Date: Thu, 11 Jul 2024 16:56:07 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Segher Boessenkool , "Kewen.Lin" , GCC Patches , Peter Bergner From: jeevitha Subject: [PATCH V2] rs6000: Don't pass -many to the assembler [PR112868] X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 6IU0qtjAspHnrdHkzuls3DFHAFen4wv1 X-Proofpoint-ORIG-GUID: 6IU0qtjAspHnrdHkzuls3DFHAFen4wv1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-11_06,2024-07-11_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 bulkscore=0 adultscore=0 suspectscore=0 impostorscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 mlxlogscore=999 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407110081 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org Hi All, The following patch has been bootstrapped and regtested with default configuration [--enable-checking=yes] and with --enable-checking=release on powerpc64le-linux. This patch removes passing the -many assembler option for release builds. Now, GCC no longer passes -many under any conditions to the assembler. This patch exposes the issue with target_powerpc_ppu_ok, which makes a few test cases unsupported. Those changes will be in another patch. 2024-07-11 Jeevitha Palanisamy gcc/ PR target/112868 * config/rs6000/rs6000.h (ASM_OPT_ANY): Removed Define. (ASM_CPU_SPEC): Remove ASM_OPT_ANY usage. diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 9211f91740a..a5bd8e461a0 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -94,12 +94,6 @@ "%{mdejagnu-*: %