From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by sourceware.org (Postfix) with ESMTP id F10BF385DC22 for ; Mon, 7 Jun 2021 18:51:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F10BF385DC22 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=kernel.crashing.org Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 157InxMG018837; Mon, 7 Jun 2021 13:50:00 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 157InwI2018836; Mon, 7 Jun 2021 13:49:58 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Mon, 7 Jun 2021 13:49:58 -0500 From: Segher Boessenkool To: Carl Love Cc: will schmidt , dje.gcc@gmail.com, gcc-patches@gcc.gnu.org, Bill Schmidt , Peter Bergner Subject: Re: [PATCH 5/5 ver4] RS6000: Conversions between 128-bit integer and floating point values. Message-ID: <20210607184958.GJ18427@gate.crashing.org> References: <3f87135c8d31ed5430c8d8aa25e36290002a6142.camel@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f87135c8d31ed5430c8d8aa25e36290002a6142.camel@us.ibm.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, TXREP, T_SPF_HELO_PERMERROR, T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Mon, 07 Jun 2021 18:51:02 -0000 On Mon, Apr 26, 2021 at 09:36:33AM -0700, Carl Love wrote: > This patch adds support for converting to/from 128-bit integers and > 128-bit decimal floating point formats using the new P10 instructions > dcffixqq and dctfixqq. The new instructions are only used on P10 HW, > otherwise the conversions continue to use the existing SW routines. > > The files fixkfti-sw.c and fixunskfti-sw.c are renamed versions of > fixkfti.c and fixunskfti.c respectively. The function names in the > files were updated with the rename as well as some white spaces fixes. > --- a/gcc/config/rs6000/rs6000.md > +++ b/gcc/config/rs6000/rs6000.md > @@ -6421,6 +6421,42 @@ > xscvsxddp %x0,%x1" > [(set_attr "type" "fp")]) > > +(define_insn "floatti2" > + [(set (match_operand:IEEE128 0 "vsx_register_operand" "=v") > + (float:IEEE128 (match_operand:TI 1 "vsx_register_operand" "v")))] Broken indent? It should be indented by 8 spaces, thus, a tab. (More of this further on, please fix all). It isn't clear to me why you need the separate *_sw and *_hw names, or if it is just to make it clearer, or maybe something else? Some words here would have helped :-) Okay for trunk. Thanks! Segher