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 8EC023858C54 for ; Wed, 13 Jul 2022 21:27:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8EC023858C54 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: sourceware.org; spf=pass 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 26DLQWKl030859; Wed, 13 Jul 2022 16:26:32 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 26DLQV14030858; Wed, 13 Jul 2022 16:26:31 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Wed, 13 Jul 2022 16:26:30 -0500 From: Segher Boessenkool To: will schmidt Cc: GCC Patches , "Kewen.Lin" , David Edelsohn Subject: Re: [PATCH, rs6000] Cleanup some vstrir define_expand naming inconsistencies Message-ID: <20220713212630.GV25951@gate.crashing.org> References: <6da1e35def9d282bcf87483e78cf578fff604723.camel@vnet.ibm.com> <20220713193907.GU25951@gate.crashing.org> <683bc5104bb58cf5e28e3ae8b3560a1ba9bf6cd1.camel@vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <683bc5104bb58cf5e28e3ae8b3560a1ba9bf6cd1.camel@vnet.ibm.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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: Wed, 13 Jul 2022 21:27:34 -0000 On Wed, Jul 13, 2022 at 04:14:11PM -0500, will schmidt wrote: > On Wed, 2022-07-13 at 14:39 -0500, Segher Boessenkool wrote: > > I'm not a fan of "internal" either, it doesn't say anything. At > > least > > put it at the very end of the names please? > I'm easily convinced. ;-) I wonder if I should just drop "_internal" > entirely and go with "vstrir_". Otherwise I'll rework to be > "vstrir__internal". The define_expand already uses that name. Some other patterns in altivec.md use *_direct, maybe that is nicer? > At a glance I see we do have some other existing define_insn entries > with _internal at the tail and a few others embedded in the middle. > I'll leave a note and perhaps review those after. :-) Thanks :-) Segher