From patchwork Mon Feb 8 13:07:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 61410 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1426299lbl; Mon, 8 Feb 2016 05:08:11 -0800 (PST) X-Received: by 10.66.227.73 with SMTP id ry9mr42155439pac.120.1454936891513; Mon, 08 Feb 2016 05:08:11 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id uv2si46595480pac.41.2016.02.08.05.08.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2016 05:08:11 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-420997-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; spf=pass (google.com: domain of gcc-patches-return-420997-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-420997-patch=linaro.org@gcc.gnu.org; dkim=pass header.i=@gcc.gnu.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:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=QHcVpQnSrG1kO0mD sz/SjXmD5v2NuWtmtLuKJKcPfODZObKH+4aQagXKVRUUJXFT3mN2TF9LKm1ToIlt QqeUL0+Y1L6b2tHjVB2/ZX46FGtBeZvIjhAmQoh2PcaESirguvxEjAeXxMZJfXan +By6qFHmc5pwGsFFTIw6zV5Tntw= 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:in-reply-to:references :mime-version:content-type; s=default; bh=jLUjqZ3t9qLgPiBxgYquN1 2V+wc=; b=UIg1L92at14XrKAIxVmRCYE2Lt7Bv1fS5HyaIcW+ctFltSB+kbjn5J IvyUKoT7Gxmtl/SfysOmqy8xYQjsvNMgg1syxPwKtURfrUm0e7ansQjW5EywDS8g EUZzFDb3ikuAD8JX4eCt7L01ZsH3CqJKRe59yLK+ctqeZY+H+cjrc= Received: (qmail 59106 invoked by alias); 8 Feb 2016 13:07:54 -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 59092 invoked by uid 89); 8 Feb 2016 13:07:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1281, H*r:10.1.2, HX-Exchange-Antispam-Report-Test:180628864354917, HX-Microsoft-Antispam-PRVS:sk:VI1PR08 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Feb 2016 13:07:52 +0000 Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1lrp0020.outbound.protection.outlook.com [213.199.154.20]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-15-OUE5PdjeSm-ieCgGjN3cLA-1; Mon, 08 Feb 2016 13:07:46 +0000 Received: from DB4PR08CA0030.eurprd08.prod.outlook.com (10.161.12.40) by VI1PR08MB0349.eurprd08.prod.outlook.com (10.162.12.144) with Microsoft SMTP Server (TLS) id 15.1.396.15; Mon, 8 Feb 2016 13:07:44 +0000 Received: from AM1FFO11FD024.protection.gbl (2a01:111:f400:7e00::175) by DB4PR08CA0030.outlook.office365.com (2a01:111:e400:9853::40) with Microsoft SMTP Server (TLS) id 15.1.403.16 via Frontend Transport; Mon, 8 Feb 2016 13:07:44 +0000 Received: from nebula.arm.com (217.140.96.140) by AM1FFO11FD024.mail.protection.outlook.com (10.174.64.213) with Microsoft SMTP Server (TLS) id 15.1.409.7 via Frontend Transport; Mon, 8 Feb 2016 13:07:43 +0000 Received: from e107456-lin.cambridge.arm.com (10.1.2.79) by mail.arm.com (10.1.105.66) with Microsoft SMTP Server id 14.3.266.1; Mon, 8 Feb 2016 13:07:28 +0000 From: James Greenhalgh To: CC: , , , , , Subject: [Patch] Gate vect-mask-store-move-1.c correctly, and actually output the dump Date: Mon, 8 Feb 2016 13:07:25 +0000 Message-ID: <1454936845-18517-1-git-send-email-james.greenhalgh@arm.com> In-Reply-To: References: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD024; 1:bnwNgac7jfuRZEi9+IkIsK1XAjv1g8JM7b1CmVSz4Al4JluQ42QJD+94i7NzqyiDw2aQBv5WYSyjGatK2TWUAQ2f5fEZ2GkZ9SSl0cpnv4ySFOr9d/VlgVeGYIqdMSN7RTW99EYLQcN/QdXpvC/KlEL+tMl10ChHgF4mXssaOitS6YjfZ7rFFT/5FoEHDB8o4SHc0O84f4F4Cti3yTxcrQpD9qDVn+nfjYtGJXZ0wv6a2a0dBtabNSHkO9/Glb61IcVSW8O3MyXeBqld0l+bOQvgUXXT3/RRe0sbIbuPvm7VMz9sBEh5e+zxqb12oXpysKNondG+EFYTeYI1obbEGK4zW1IbD4BFmTaBUPAN8DP+5f6OJHyfVsLPf/bebiauTT+RjbwVtrwEWXKljUiU46s4vqhvAMIaWFS8UEt2ePPM2WzUX+5tnyOWgCKUX/USWrr8cAhaCrVjKvwivlaNyg== X-Forefront-Antispam-Report: CIP:217.140.96.140; CTRY:GB; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(377424004)(164054003)(199003)(189002)(189998001)(104016004)(19580405001)(512874002)(84326002)(5003600100002)(2476003)(86362001)(2351001)(33646002)(87936001)(2906002)(11100500001)(5008740100001)(36756003)(6806005)(92566002)(568964002)(77096005)(2950100001)(50986999)(4326007)(19580395003)(76176999)(229853001)(5000100001)(1220700001)(230783001)(106466001)(110136002)(1096002)(50226001)(5890100001)(586003)(4610100001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB0349; H:nebula.arm.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB0349; 2:TGg52HzXyUXXf5aHj5BM+OsizWTSpPfm7F+HVe9mtwcpLFUa9aBtBa9Zlxte08HOqNkyuLk7HKoLtamQa5+pSt2f8Vra3D5zTnlYDu9busudL+pjp5hpJ9yXPiEhm0oD9c1sSrecN4xI3PWXGXIXag==; 3:IT+rn4cGVkJP3IUIC0yU+Yp+0KM3KoCHN0ijKqdWRPB3qf8k6WjuDNs5CfUaCaWOOjB4K0jkXVk5lSDHeX3/xVERhF2TbqeoXJpQ4Bs37gnbcpde59RjAubbgqvRTgb1N4W9IozhCfJgcD94MZ5/SjBd/z1fPeY1GGXr7x7ppkcwH97b3+sw1Schuo1KM9HVZPNXBEFoLIQRMpQBenMQ15tMi08BeQHQrA2EVKuZ+uvwTB7XvTlUdEE/yC8qc6Fs0+ZVHdyBkRvK0kyFX4EKgQ==; 25:a/KGorEFBWjRX7gG2iym/j5H6gd7R3sGc8dN38uxCJfQnW+MU8x2CWbVVTasHUoB6LAKzI/83SAnuUpBL4HF5gfnaHO3wdrTJLXxxVhcN6ga7haZ10MN4qGUZSl0x5MzmIwquUuTOPoeOgobXG5NGVQkFv5CgOeBZj/NGe6VkObTFaSlSMrF/H0tBp92q0CQueGz6JXCEcPGQREV9HOyKOwK08UnM/6aFWtV7rXT8ADh1JJyv8c17cloOSm9FsHCbBdCMrD1yXBAtPHnZNRW7Z7f7CHyFrHwqJG57tgvOai7pjTzBchPlb1MRhscRe3P; 20:muSykH0xL3ShXzZB0oPNX+Rmr8o8VSlz9DYJrySziTqBUJ+EvY73+M+YgE8mA9CAowaUvTy9j3tffPkXLKtfK7b62PwVNKOlPQi3r0o15GEMc2+ifcE7Ek7bC+EYzkCmEuL97QVtGpw4A9+M29HYbDE9NMFCaFf1IdyxCuyzr40= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501001); SRVR:VI1PR08MB0349; X-MS-Office365-Filtering-Correlation-Id: bd9db92a-3df8-405d-33c4-08d33088d54a NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415267)(102615245)(601004)(2401047)(5005006)(13018025)(8121501046)(13023025)(13024025)(13020025)(13016025)(13013025)(3002001)(10201501046); SRVR:VI1PR08MB0349; BCL:0; PCL:0; RULEID:; SRVR:VI1PR08MB0349; X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB0349; 4:IcR4QlMjyeMWJu8aQcWBYykeAJD/QsHHrr6ErUBXDabFrtOmxs47w8kLLRtbb2E1JSihX+9h9ZAgfUMRuaoJ4w990r5U9PLsQtBPoj8MZYdH6HFldpWUR3H6ii+Oihf+FgPs45vyUqvpHHVlBcS/S8c3YFP0TIuTIisxyy7GPdIGr//HgSTeX0W9Ibxvq2MgEAneXaKaNBZL6SOAX6tIODlHda8JshSProAHnEsRG6Hry167hmj+NqgiWADH/DmExW9QCONuHe+6w9eH2hmkrt3+Z55M3qBNZZaWEyyS83FCs/BPTIAPRUIs/Pe87Wyp5VsiNFHbtKkAcYqzQtzVlOLpLNOpE2b/JAdgZNDhSaRLMo3FCjFIVokGfYAbY0MKxIX9FkZgIWQki5MjEwZGg7P1bSxwDrmVasLnLdV2RgthlouUl7DeORaozVlrGP/R8RUUdeASMh1wKnQ2RjuJg19k9GbZuzBfxT0xg05vlkMcXgm9hAdGiG16R/P5X2fRsJj2uAkOudRc7MnF8HjAKvjBviGQkHIj6fsGg1xK73vnGwsJ3sIWFqQE6sQ67cM+ X-Forefront-PRVS: 084674B2CF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR08MB0349; 23:4DStqr4Bv6zXoxTp8S1MnM2brgEXtNn2zLA2PygfO?= =?us-ascii?Q?1wSuusJYk6Zj7l5wcmXki3QZSwCvK5Bn7TGOV2GO+lZNW0cNLizKwzikdgBN?= =?us-ascii?Q?EH9bCt3z4YIM+5iL/pihjXYilZ3drDFX7jOd4zBAkymyFVpYuF3HnB3LlXwf?= =?us-ascii?Q?dCneKBLovhQkBYdU/fzb2tCb4g+YyFOgS4a4gDKd8JIG+vBMxh+KmEbcPVNf?= =?us-ascii?Q?Hz19AG41CSdVfngCNTu4brlpJLWU4N/02IOdnuzHIsaix2hAey51H+Hh2tT4?= =?us-ascii?Q?raQyls1e/93Y+CesCSY+lMECbYP6mKcO2QwEVauRsLc4EGFLogozFOxT8y2q?= =?us-ascii?Q?6/Xy53npMRYh4DBZ1h6+uM6e0qAFwtgFfGEQRAeqGyGYHB1qEb3X9v/WaFug?= =?us-ascii?Q?EUf3ToATEn5zC3sG/0Y8NbP9qvujDXrU5rX8ZxKw0UTJFQvw1/NKFcYNMr62?= =?us-ascii?Q?8szkHtYKqetEOGQRbJpW1VLqs8+nOe0Qjc11lvvigAEwWVsOKPI8lZJPpoPs?= =?us-ascii?Q?1hXDlJ9qPrxMvqNyQ4pP0mt2gdrwXhtpXIQoSprzhKEbkLaH+S32Hwlsk3Vq?= =?us-ascii?Q?mBimfprcWSxPg/LptEaxHgE0HOsmzwibqfuHyeZbDr4LdMe+/qHk2l9KDUbo?= =?us-ascii?Q?SG+YXcFfYnfQEc+W8NGIb8akaBX9qJGSgq2IYNA985GRsWxZSHI2xV4qWb/P?= =?us-ascii?Q?Matz3DZ4AjPRCXtlYuadm1KI2Pdi5CENHiGvloTxfqz3GOJayBo0m4+7WWgW?= =?us-ascii?Q?DSXVrY6qjaIOfjEzN1Y5aA2Lff9JQcwQ/WMAf1tQTsyHwj9tRF0vo+lCwwWo?= =?us-ascii?Q?l4cMCf3EryJr6m4k7uDo0CssD1LZlotAaXYqozs6mIzqNnLURVwyVm+nEJL1?= =?us-ascii?Q?wIXyGovtX8MswQrJrPFNrOebBfc9+Qszv/42pAeVrduvc4JaO01/YKvtxEzw?= =?us-ascii?Q?T60r9H1wJgzT4fwBLPUyThR/4lHHLMAntdiiVYcHdax8U28q/2Cqt2wPNLz6?= =?us-ascii?Q?CP6jQ98k9XKf51I6DTrqCJ2f325BQ2/BgSVZu2J49HWLpdXDrSOI2QYssPCP?= =?us-ascii?Q?4s1+Be8Qx2bij/WURU+hzIaBoFKZEYbxJr6Nc3I/R9KTmMb1A=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB0349; 5:6UHHiRQWGhkRDLu9ni/94byiwMr08L+8VQ6iRtKGqxyHtVr30oOQH2C2zg754KidLsYB5HT2XPQb1XnyMVPAvJ5KtCWkscstzpCqIfOG6OcftRJncpaSTq/auEWBPceqZSqR1fMXZR/2lpmDLCGPOw==; 24:hnCJdOsf7ESX1N2mYRK8JYNGl252KilD1TzgEHe6I+0D3SOlhR66Lf9m0TXw8dpgr52XLvylZw6BAkCc+bPfX/4nDJNTIhfAukYnpJrUW2Y=; 20:7MxHDHYggIEANm0ZsNTYGapM5BV1eDlkaan310+QAVplsHGphW4z64reG5cQHHD3f4sa5cpS2RZFkgemfx4fBSQ6Kbmd36gsjP+uZcu0BCdJY4O1Qhg3dsGxJpjj4K/kWaIBjORzyhaz4HLkaNJt4LvzyINTcHEhxCEhn9CZw74= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2016 13:07:43.9127 (UTC) X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB0349 X-MC-Unique: OUE5PdjeSm-ieCgGjN3cLA-1 X-IsSubscribed: yes Hi, As far as I can tell, this testcase will only vectorize for x86_64/i?86 targets, so it should be gated to only check for vectorization on those. Additionally, this test wants to scan the vectorizer dumps, so we ought to add -fdump-tree-vect-all to the options. Checked on aarch64 (cross/native) and x86 with no issues. OK? Thanks, James --- 2016-02-08 James Greenhalgh * gcc.dg/vect/vect-mask-store-move-1.c: Add dump option, and gate check on x86_64/i?86. diff --git a/gcc/testsuite/gcc.dg/vect/vect-mask-store-move-1.c b/gcc/testsuite/gcc.dg/vect/vect-mask-store-move-1.c index e575f6d..3ef613d 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-mask-store-move-1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-mask-store-move-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3" } */ +/* { dg-options "-O3 -fdump-tree-vect-all" } */ /* { dg-additional-options "-mavx2" { target { i?86-*-* x86_64-*-* } } } */ #define N 256 @@ -16,4 +16,4 @@ void foo (int n) } } -/* { dg-final { scan-tree-dump-times "Move stmt to created bb" 6 "vect" } } */ +/* { dg-final { scan-tree-dump-times "Move stmt to created bb" 6 "vect" { target { i?86-*-* x86_64-*-* } } } } */