From patchwork Sun Nov 25 12:17:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 1002790 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-490831-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="DKCbiB66"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="HZaIK6CT"; 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 432pwc3dJTz9s1c for ; Sun, 25 Nov 2018 23:18:08 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=rEDpXDuPzxxdJRKdumzNZTL7d0JlEcB0shu2QKjnlGoaWapqxL X/ewR1B9eRTjHZFnZwdT47Q+HxpQzAht2IdQaG6B6IL2SEAHMV9D/99zS4TxTwGJ BQ3fW1uSWnpNw+gXUjZPD2z13a4Zm7Tcpa0TLH5UFrYoC7QtUzrDkXRss= 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:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=TbNGPWubomUNnba9kDEvDYjWRTw=; b=DKCbiB66+9Mgyd90lBfe XipIA6UnamD/JZIz/gaO6rHpz/pc3mzhl88qPxKRXvbZcuKiBskZfDlo5LpvsgGe AsbgHrf0dfM8+6wVx6XjwPA3RmVQj+K0lc6YKpAEHqwSERQOZ7uPhBrI7rv7fadl cJ55M5P8bdoWiZj223rLYNU= Received: (qmail 66731 invoked by alias); 25 Nov 2018 12:18:01 -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 66661 invoked by uid 89); 25 Nov 2018 12:18:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.7 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:sk:mail-pf, H*RU:sk:mail-pf, HX-HELO:sk:mail-pf, HX-Received:a62 X-HELO: mail-pf1-f176.google.com Received: from mail-pf1-f176.google.com (HELO mail-pf1-f176.google.com) (209.85.210.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 25 Nov 2018 12:17:59 +0000 Received: by mail-pf1-f176.google.com with SMTP id b7so5226968pfi.8 for ; Sun, 25 Nov 2018 04:17:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=whv5gxbW5yrRRo1luoPRHm/Suw6sGp9YeucUH5BJ2gU=; b=HZaIK6CTTjiid1H1kILD79WtHHNMf5Tv3nTcwSumm/2V3O66OVlwVDKz+5WtAyrq3J Xcz8Kf+dOVORMJ2r1b5lAmlgmzfseFjyjDxR84dsbC9Pr7Jh0Dmx8nf4B6EBHVbDMSHy oNqkd+sNI1EZN6mylz6L4iw/3IrYbulOfdcQfJn7tr0Laq3+o2l0Folfb2hJDKBDR3KW acWNXpgDh/aBn5EBcfifC08EY5wVSfD/NbwqmB2nHv+1jdp3I9lrFuf1oPAFG/gVxMVf JfrVTtPUWbNEG+OWgNqTxEXcBkrvsQN1q0EBsThYDbuC3aAMwKITY+aUjpxAKmeTa7X7 pfRw== Received: from bubble.grove.modra.org ([58.175.241.133]) by smtp.gmail.com with ESMTPSA id n9-v6sm1556053pfk.19.2018.11.25.04.17.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 04:17:56 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 442578077C; Sun, 25 Nov 2018 22:47:53 +1030 (ACDT) Date: Sun, 25 Nov 2018 22:47:53 +1030 From: Alan Modra To: gcc-patches@gcc.gnu.org Cc: Segher Boessenkool Subject: [RS6000] movdi_internal64 insn lengths Message-ID: <20181125121753.GN21617@bubble.grove.modra.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-IsSubscribed: yes Fixes alternatives wi<-Oj (xxlxor), wi<-wM (xxlorc) and wv<-wS. Bootstrapped etc. powerpc64le-linux. * config/rs6000/rs6000.md (movdi_internal64): Correct lengths. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index c4d697f856b..11097717268 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -8811,8 +8811,8 @@ (define_insn "*movdi_internal64" (set_attr "length" "4, 4, 4, 4, 4, 20, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 8, - 8, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, + 4, 8, 4, 4, 4, 4, 4, 4, 4, 4")]) ; Some DImode loads are best done as a load of -1 followed by a mask