From patchwork Thu Dec 28 20:49:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sandiford X-Patchwork-Id: 122875 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3903653qgn; Thu, 28 Dec 2017 12:49:34 -0800 (PST) X-Google-Smtp-Source: ACJfBovxfiV8AQi86pVx7RiFGlGctNLomxpjAWbnYGIGb7A9OxeVP+GdU+u/USf/tihsr77dZC14 X-Received: by 10.99.131.72 with SMTP id h69mr28941595pge.22.1514494174264; Thu, 28 Dec 2017 12:49:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514494174; cv=none; d=google.com; s=arc-20160816; b=yzX/DmMW+YC0bYRfc8VBz0K0+poqNJ/tThIx0494GZ1GcVC4Aj0voTZRaGv6i6L4ST 4zEHcIV85bdGJtpNsjtWU0zWuUvMg5jDZg/bCLG5fhj30AxPeiRZJRHXXPW4nT2fuZHJ Iclw1CiXoNHc+k9Y8XJkNuuz1q1cohhh7jzoRvQhlUXu1D5gOPmeyKqGXUc6x6DUkhyv R6L6sFjq58wKN+vL2i020qFspbBvMsx3WSaAsr/B0Rpv7mEiVBhLmWXoybPFZiLGc1Fx UMf2NMS37VeDmAAKmdq1IEFPV1s8E6tlDAVhTRcLKqzpxxNQPLD9+Qnv/0C+2htMy7sx fs7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:message-id:date:subject:mail-followup-to:to :from:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=rEAzWzJSENUIJszH9N65hDfRj65r4GvDfy9k9cwYae4=; b=qfTBnlOh5igCjxxUpjO/a3tCM1rkQ0n9XZ0efFk4J6PCy66CRKdyyddpkd1WUkTsm5 /9mx2N7+mrmBHpNJS2bIKx+XSxOHm/83qrG1hn3JCvaLQZvM6LsLgzEOw+9wFP0/ItIw qxoZgWvOHK6tu0MsXhDa8jUOG5pH7IGNru+G/sI6pxJWfPFVNKrjTnEl2f1LKShyAGjO 74UBaR4hvqQ4Xp4N4wQ87OsHoq8zE27TP1Y+E/ijAjmTXJLUpcqI1VquSu6slxqDncY4 00aMc/Dm5dj2ej5kPE0zzhzqdS9jj9B0o//0So7paIbFJ/ae388F+MICAFK2vVbUKKU1 96WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=xQ3ogCR7; spf=pass (google.com: domain of gcc-patches-return-469870-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-469870-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id m11si2129664pgp.368.2017.12.28.12.49.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Dec 2017 12:49:34 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-469870-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=xQ3ogCR7; spf=pass (google.com: domain of gcc-patches-return-469870-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-469870-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=Oovwx3p4nW1R1qrrZI1g9FP33gpiu2djFBGcmntqL4Ks8NOnohJZM G1Xd4PRvTpdUNq4/g1GE9ZRt7L3zEbMn9HwqNlACumk41oD5R21vy5quR4sym9hy fV+B/CrQ80tIfQXR7lJHv0WqDlrY+fcKpEc4wdX+FLbQDTa86zJj3g= 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:subject:date:message-id:mime-version:content-type; s= default; bh=NiyKUSXnzWBC616VChwEer7NVAU=; b=xQ3ogCR7BX/BDWEoM8U6 wIlFqqyWgwNa/1pimx4c9eMqJAWCkPA4utw1VXn1d28aki6DX8jFk17MRT/g0Ykf 1mJDzNvlbDM91ZPOW1cUnAIVbhs0gz+wVelhTY2uIQZ2qMFscKkFPYOK0Dbsj+J1 fZNUruNQk0Pdt2lfcCA6BY8= Received: (qmail 39683 invoked by alias); 28 Dec 2017 20:49:21 -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 39673 invoked by uid 89); 28 Dec 2017 20:49:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=operates X-HELO: mail-wr0-f178.google.com Received: from mail-wr0-f178.google.com (HELO mail-wr0-f178.google.com) (209.85.128.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Dec 2017 20:49:19 +0000 Received: by mail-wr0-f178.google.com with SMTP id f8so29387384wre.4 for ; Thu, 28 Dec 2017 12:49:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:mail-followup-to:subject:date:message-id :user-agent:mime-version; bh=rEAzWzJSENUIJszH9N65hDfRj65r4GvDfy9k9cwYae4=; b=ZjCNmaOPw7suX0uTTosaF0ZGL80famfhjM0CZvOCzZUyS10EdIlXfpa5P9uUad1ZO9 bR4Y2Pss4vey1UNgA4n5P19apJ3NV4430o+yl+nIwUwy0YmP4zJ3R5aWKM4QsLFUCA01 JPJmenfbLtEJ95R0Z8mC++qXy+rLNx0TzGTBC1rJZhXVXz8oLEDNZUdvGrciu0jp29MP uz5WLakdSowrcwpM4OqIeFk9GjPJgXGvYrfR4xeZkoPaPsLZ6cbdLrEuzG7ROgCna9i8 Iss7tzIQt/X2Hu74OlPgzjY4huY6b5ZzXIjX/Dudz4f6Ea9HBvRiiJCmwDBnv707UgM0 J96w== X-Gm-Message-State: AKGB3mJCQKMYvzum7D5b+8ezbKinzPUtfbfwnkAyFtacrW7krlynFSLe /klqh/nbIgIZ7PPHU2h/cZJGotT5LUg= X-Received: by 10.223.161.81 with SMTP id r17mr32010723wrr.230.1514494157482; Thu, 28 Dec 2017 12:49:17 -0800 (PST) Received: from localhost ([95.145.138.186]) by smtp.gmail.com with ESMTPSA id m133sm26828528wmd.40.2017.12.28.12.49.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Dec 2017 12:49:16 -0800 (PST) From: Richard Sandiford To: gcc-patches@gcc.gnu.org Mail-Followup-To: gcc-patches@gcc.gnu.org, richard.sandiford@linaro.org Subject: [0/4] Use new vector constant encoding for CONST_VECTOR Date: Thu, 28 Dec 2017 20:49:16 +0000 Message-ID: <874loainn7.fsf@linaro.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 This series of patches converts CONST_VECTOR to use the same encoding scheme as VECTOR_CST. I'd originally being holding it back until the vec_perm series had been processed, but that was probably a mistake. The main difference from VECTOR_CST is that we still include all the elements for fixed-length vectors, to help with code that operates directly on XVEC and XVECEXP. See the covering note of patch 2 for more details. Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64el-linux-gnu. Also tested by comparing the before-and-after assembly output for at least one target per CPU directory. OK to install? Thanks, Richard [FWIW, the vec_perm patches are the only ones holding up the rest of the poly_int ones.]