From patchwork Mon Jul 1 17:59:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 1125532 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-504106-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="VpRp4MBb"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45cwBx1W9Xz9sPQ for ; Tue, 2 Jul 2019 04:00:17 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=hz57s9NZR3El vqjXpSFYeuwzlNxBdGKzmkMX2bDoTPTxv/bojxzcoTa2wKclUjYMEOwsJaxbkJWH jjXCvrDS8FTDQ6VWvpTcTmNeWbcl+EpzqgHKEigS+7TrAXIeLL3UW2r0LtwVNt8C LL75kDGeLZDg2hRbqfQewOV2MunHoJ4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; s=default; bh=S+teuiV7/70UDPxlre xvcIzGpwg=; b=VpRp4MBbcVYZcOcxaugdAZNCyITU8Edwrl5+cFw1nI3mvEFOJ+ z/jo/oytlxQZ/PlChe6tIRt6NIc8LsjbUay9QMnXRbD0KhgjhKiAynPSrXas4pNM pDaZoUpmwzFk1nMIhQKsiyD2jr3gCEbYvDj+CdbBAOg+wkunuPRa/iqz4= Received: (qmail 126052 invoked by alias); 1 Jul 2019 18:00:03 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 126034 invoked by uid 89); 1 Jul 2019 18:00:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2 autolearn=ham version=3.3.1 spammy= X-HELO: gcc1-power7.osuosl.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 01 Jul 2019 18:00:02 +0000 Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id 6EAD11240673; Mon, 1 Jul 2019 18:00:00 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, Segher Boessenkool Subject: [PATCH 00/12] rs6000: Use parameterised names Date: Mon, 1 Jul 2019 17:59:47 +0000 Message-Id: X-IsSubscribed: yes This series makes the rs6000 backend use parameterised names. This means adding an "@" to the start of pattern names, removing the mode from the gen_* names where you call them, and adding an extra mode parameter to those calls (as the first argument). The abs and neg patterns used to call FAIL for some unexpected modes, they no longer do. It should have maybe used gcc_unreachable there instead. These patches also remove such gcc_unreachable. Tested all on powerpc64-linux {-m32,-m64} and on p9 powerpc64le-linux. Committing to trunk. Segher Segher Boessenkool (12): @neg2 @fix_truncsi2_fprs @abs2_internal @indirect_jump_nospec @ctr @eh_set_lr_ @extenddf2_{fprs,vsx} @extenddf2 @neg2_hw @abs2_hw @ieee_128bit_vsx_neg2 @ieee_128bit_vsx_abs2 gcc/config/rs6000/rs6000.md | 130 +++++++++++--------------------------------- 1 file changed, 33 insertions(+), 97 deletions(-)