From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id D36833858C5E for ; Thu, 9 Mar 2023 23:23:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D36833858C5E 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 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 329Mjoum012244; Thu, 9 Mar 2023 23:23:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=KdjQ62L6RChj00EWKlnwaXpfoz1dJR58fCtLzr9sOL4=; b=powUdkyEVI5ftSHfO1aAKsULkp0t2kUQfagGoTE1nmMftlf6J6vU5XuHM1I7xPa+baVS EciXSXpPapRswkNQsFwITPbbozQWDj+sqwHcf/DkjNsrRA3AxFkN8htpAIJUNoNWdicG An0KL1t5Om1Fr9Lq5Q0h2UWGJwDRFU5e3oBph3IVPVZ4m+eRpE82lObiKcIlyDHvtHr0 CWY7VPGbsohgzPxVjtTBKKcWsmweA4m3ewLD926Et0F+IBc7y4hFpnnb6SolC2UFVojP FRiXE32+0abvbsPtxXai332DKn3O1DWv0bDMJEq5VTi1Ojc9GmQfgrPYfl0nMYqHWQ+8 LA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3p6t3c9btn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Mar 2023 23:23:37 +0000 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 329NKaGO017199; Thu, 9 Mar 2023 23:23:36 GMT Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3p6t3c9btd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Mar 2023 23:23:36 +0000 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 329LPEVk011844; Thu, 9 Mar 2023 23:23:36 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([9.208.129.119]) by ppma04dal.us.ibm.com (PPS) with ESMTPS id 3p6gbvehkf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Mar 2023 23:23:35 +0000 Received: from smtpav02.wdc07v.mail.ibm.com (smtpav02.wdc07v.mail.ibm.com [10.39.53.229]) by smtprelay01.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 329NNY9m39584464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Mar 2023 23:23:34 GMT Received: from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EC38E58058; Thu, 9 Mar 2023 23:23:33 +0000 (GMT) Received: from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 335F45805C; Thu, 9 Mar 2023 23:23:33 +0000 (GMT) Received: from toto.the-meissners.org (unknown [9.65.233.34]) by smtpav02.wdc07v.mail.ibm.com (Postfix) with ESMTPS; Thu, 9 Mar 2023 23:23:33 +0000 (GMT) Date: Thu, 9 Mar 2023 18:23:31 -0500 From: Michael Meissner To: Segher Boessenkool Cc: Michael Meissner , gcc-patches@gcc.gnu.org, "Kewen.Lin" , David Edelsohn , Peter Bergner , Will Schmidt Subject: Re: [PATCH 2/2] Rework 128-bit complex multiply and divide. Message-ID: Mail-Followup-To: Michael Meissner , Segher Boessenkool , gcc-patches@gcc.gnu.org, "Kewen.Lin" , David Edelsohn , Peter Bergner , Will Schmidt References: <20230303213544.GJ25951@gate.crashing.org> <20230309221621.GV25951@gate.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230309221621.GV25951@gate.crashing.org> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: As2wXKL4jMe326nYH0G8StnPa84G3ysy X-Proofpoint-ORIG-GUID: x-Gh_xMuEHOKyiYfeIrXn0p-fi4SDR7e X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-09_12,2023-03-09_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 malwarescore=0 bulkscore=0 mlxlogscore=577 spamscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 impostorscore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303090185 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,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 List-Id: On Thu, Mar 09, 2023 at 04:16:21PM -0600, Segher Boessenkool wrote: > On Thu, Mar 09, 2023 at 11:11:34AM -0500, Michael Meissner wrote: > > On Fri, Mar 03, 2023 at 03:35:44PM -0600, Segher Boessenkool wrote: > > > > +/* { dg-final { scan-assembler "bl __divtc3" } } */ > > > > > > This name depends on what object format and ABI is in use (some have an > > > extra leading underscore, or a dot, or whatever). > > > > Yes it is needed if GCC is configured against an older GLIBC before the full > > IEEE 128-bit support was added. For example, on my big endian test system, you > > get warnings if you switch the floating point format. I would imagine it would > > also fail on little endian system with older libraries. > > The regexp is not good enough, that is all. Maybe > {bl .?__divtc3} > or similar? We have many examples in the tests already. I forgot the mention the regexp. I think just doing: /* { dg-final { scan-assembler "__multc3" } } */ is sufficient. -- Michael Meissner, IBM PO Box 98, Ayer, Massachusetts, USA, 01432 email: meissner@linux.ibm.com