From patchwork Mon Sep 3 15:46:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 965501 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-485035-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="rbSWnowH"; 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 423vTg00Yzz9s3C for ; Tue, 4 Sep 2018 01:46:44 +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=ryoYrHn9eUnB dRmuYNanMvgdqF1Qy+XDAVSWI+lkkOK+zF3bgcU0jetwhD6cTwjKmUu9FLtFuZ78 Kcvz2d8LqOBmqzU7dSHd3vLmUQacRpAGVcP0VQ4aFtHnI/B+x12e/krBiFEbypQf 71ZGuNwgye9GW/1CTIu3J6/0HA+79cQ= 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=6SXlPqVYFRi/6kByQN wv0450bUs=; b=rbSWnowHYnww361pMJDcmY/oJJU9KSwY68C5E5bVwtwX1kLmfK mLg5CHeQ+Bq9CP4NkCQAyXUK3v64ep3mNwJeOdqCJlQG7aIQb6divNJ8QNG9F0gK MpeXtX6Ryh7BqXGrp64wei/++Dql4pv3kjaYCn8hTXAxqIFB9CTbdBXR4= Received: (qmail 83814 invoked by alias); 3 Sep 2018 15:46:36 -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 83802 invoked by uid 89); 3 Sep 2018 15:46:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=lst, rs6000md, UD:rs6000.md, rs6000.md 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, 03 Sep 2018 15:46:35 +0000 Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id 3C1E312407CF; Mon, 3 Sep 2018 15:46:33 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, Segher Boessenkool Subject: [PATCH] rs6000: lxsdux / stxsdux do not exist Date: Mon, 3 Sep 2018 15:46:31 +0000 Message-Id: X-IsSubscribed: yes Our md files refer to {l,st}xsd%Ux, but no {l,st}xsdux insns exist. This patch removes the update forms. All these use constraint "Z" which does not allow update form, so there is no practical difference. Tested on powerpc64{,le}-linux; committing. Segher 2018-09-03 Segher Boessenkool * config/rs6000/rs6000.md (*mov_hardfloat32): Remove %U from the lxsdx and stxsdx alternatives. (*mov_hardfloat64): Ditto. * config/rs6000/vsx.md (*vsx_extract__store): Ditto. --- gcc/config/rs6000/rs6000.md | 8 ++++---- gcc/config/rs6000/vsx.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index c4ef878..e40dc42 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -7405,8 +7405,8 @@ (define_insn "*mov_hardfloat32" fmr %0,%1 lxsd %0,%1 stxsd %1,%0 - lxsd%U1x %x0,%y1 - stxsd%U0x %x1,%y0 + lxsdx %x0,%y1 + stxsdx %x1,%y0 xxlor %x0,%x1,%x1 xxlxor %x0,%x0,%x0 # @@ -7473,8 +7473,8 @@ (define_insn "*mov_hardfloat64" fmr %0,%1 lxsd %0,%1 stxsd %1,%0 - lxsd%U1x %x0,%y1 - stxsd%U0x %x1,%y0 + lxsdx %x0,%y1 + stxsdx %x1,%y0 xxlor %x0,%x1,%x1 xxlxor %x0,%x0,%x0 li %0,0 diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md index 89e193a..e296be9 100644 --- a/gcc/config/rs6000/vsx.md +++ b/gcc/config/rs6000/vsx.md @@ -3265,7 +3265,7 @@ (define_insn "*vsx_extract__store" "VECTOR_MEM_VSX_P (mode)" "@ stfd%U0%X0 %1,%0 - stxsd%U0x %x1,%y0 + stxsdx %x1,%y0 stxsd %1,%0" [(set_attr "type" "fpstore")])