From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 86FD23858405 for ; Fri, 22 Jul 2022 18:53:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 86FD23858405 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26MIE3r5001528; Fri, 22 Jul 2022 18:53:55 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3hg10a0xg3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Jul 2022 18:53:55 +0000 Received: from m0098409.ppops.net (m0098409.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 26MIX0NR016704; Fri, 22 Jul 2022 18:53:55 GMT Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3hg10a0xfh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Jul 2022 18:53:54 +0000 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 26MIoEsK013480; Fri, 22 Jul 2022 18:53:53 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma04wdc.us.ibm.com with ESMTP id 3hbmy9yqjc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Jul 2022 18:53:53 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 26MIrqYg45285742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 22 Jul 2022 18:53:52 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A195AC6055; Fri, 22 Jul 2022 18:53:52 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0BFEAC6057; Fri, 22 Jul 2022 18:53:51 +0000 (GMT) Received: from [9.160.68.13] (unknown [9.160.68.13]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 22 Jul 2022 18:53:51 +0000 (GMT) Message-ID: <7b179407-cb97-f86d-0948-00d5a67f2cb4@linux.ibm.com> Date: Fri, 22 Jul 2022 13:53:50 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] rs6000/test: Update some cases with -mdejagnu-tune Content-Language: en-US To: Segher Boessenkool , "Kewen.Lin" Cc: GCC Patches , David Edelsohn References: <4847b51d-dde2-916b-27aa-8e63518d66d2@linux.ibm.com> <20220721184806.GK25951@gate.crashing.org> <11061a26-e6db-2f61-065e-b1c9a32d3181@linux.ibm.com> <20220722181712.GO25951@gate.crashing.org> From: Peter Bergner In-Reply-To: <20220722181712.GO25951@gate.crashing.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: g5wuiaRY_0Tn8aon4h4tP-uovp64OgxL X-Proofpoint-ORIG-GUID: RR-wH6HNJtdfqk4exYLLd6XSiPGgtBlk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-22_06,2022-07-21_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 mlxscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=999 bulkscore=0 impostorscore=0 adultscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2207220076 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, NICE_REPLY_A, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2022 18:53:57 -0000 On 7/22/22 1:17 PM, Segher Boessenkool wrote: > On Fri, Jul 22, 2022 at 10:22:51AM +0800, Kewen.Lin wrote: >> on 2022/7/22 02:48, Segher Boessenkool wrote: >> As PR106345 shows, GCC can use an explicit tune setting when it's >> configured, even if there is one "-mdejagnu-cpu=", it doesn't >> override the explicit given one, so we need one explicit >> "-mdejagnu-tune=". > > And that is the problem. GCC's automatic setting is *not* an explicit > option, not given by the user. --with-tune= should not result in adding > an -mtune= option in the resulting compiler, it should not set command- > line options. > [snip] > And it should not do that. Currently, our rs6000.h has this: /* Only for use in the testsuite: -mdejagnu-cpu= simply overrides -mcpu=. With older versions of Dejagnu the command line arguments you set in RUNTESTFLAGS override those set in the testcases; with this option, the testcase will always win. Ditto for -mdejagnu-tune=. */ #define DRIVER_SELF_SPECS \ "%{mdejagnu-cpu=*: %