From patchwork Thu Aug 4 16:50:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 73289 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1493571qga; Thu, 4 Aug 2016 09:51:34 -0700 (PDT) X-Received: by 10.98.70.8 with SMTP id t8mr127849253pfa.36.1470329494892; Thu, 04 Aug 2016 09:51:34 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id j65si15425393pfj.96.2016.08.04.09.51.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 09:51:34 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-433233-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; spf=pass (google.com: domain of gcc-patches-return-433233-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-433233-patch=linaro.org@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:date :from:to:cc:subject:message-id:references:mime-version :in-reply-to:content-type:content-transfer-encoding; q=dns; s= default; b=T9NEiPVU9LHuWkG8Xm9VPkORGpctl6PCMlLoQIX8shR9IxgWx53yH tFwkq1BVb4ANXzzO2DiUGLV8uvEp3MMxPDecXo3YF/tC2NSycd3Ryy5VETKHr/zt PxCjE7QKkZlExlcx9xvLdh/YOmPZH872X1D0wdU0rkmLxndnWC3yNc= 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:references:mime-version :in-reply-to:content-type:content-transfer-encoding; s=default; bh=EmyXiRd+ZZXp7UC1j3R5+zVqm10=; b=RnF6kXstSMBybN4MqhIYE/6oSep1 bd0ag2JNE2O/fE7MWCpPGkSCdGrRBpZp8hPTKp1bIkwqiZZOVp19YtGfRBf2jSI8 nro1uzlUhL/dCCBuEUwVhO+bJCcz/M2xLLOkzzZhfSsAfQ8YdX4dkvif1aSZkRqw BvV/0i5IwKeTRuc= Received: (qmail 34519 invoked by alias); 4 Aug 2016 16:51:20 -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 34493 invoked by uid 89); 4 Aug 2016 16:51:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 spammy=v64, V32, V64, v32 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; Thu, 04 Aug 2016 16:51:08 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp0079.outbound.protection.outlook.com [94.245.120.79]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-7-7yO5BtOWOMq3hX_Bo1nWrw-1; Thu, 04 Aug 2016 17:51:02 +0100 Received: from DB6PR0801CA0010.eurprd08.prod.outlook.com (10.165.173.148) by AM5PR0801MB1635.eurprd08.prod.outlook.com (10.169.246.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Thu, 4 Aug 2016 16:50:59 +0000 Received: from AM1FFO11FD045.protection.gbl (2a01:111:f400:7e00::171) by DB6PR0801CA0010.outlook.office365.com (2603:10a6:4:2::20) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.15 via Frontend Transport; Thu, 4 Aug 2016 16:50:59 +0000 Received: from nebula.arm.com (217.140.96.140) by AM1FFO11FD045.mail.protection.outlook.com (10.174.65.208) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.8 via Frontend Transport; Thu, 4 Aug 2016 16:50:59 +0000 Received: from arm.com (10.1.2.79) by mail.arm.com (10.1.105.66) with Microsoft SMTP Server id 14.3.294.0; Thu, 4 Aug 2016 17:50:22 +0100 Date: Thu, 4 Aug 2016 17:50:23 +0100 From: James Greenhalgh To: Jeff Law CC: Bernd Edlinger , Segher Boessenkool , GCC Patches , "Eric Botcazou" , Bernd Schmidt , Andreas Schwab , Tamar Christina , Subject: Re: [PATCH] Fix wrong code on aarch64 due to paradoxical subreg Message-ID: <20160804165022.GA33234@arm.com> References: <20160729070216.GC28169@gate.crashing.org> <20160730113914.GB32017@gate.crashing.org> <6fe91f4c-0641-e14c-b115-c0feea698e95@redhat.com> MIME-Version: 1.0 In-Reply-To: <6fe91f4c-0641-e14c-b115-c0feea698e95@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:CAL; SCL:-1; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(377424004)(377454003)(199003)(20264003)(76104003)(24454002)(36756003)(87936001)(2950100001)(1076002)(23726003)(8676002)(86362001)(586003)(26826002)(50986999)(4001350100001)(189998001)(54356999)(106466001)(97756001)(77096005)(93886004)(110136002)(33656002)(46406003)(11100500001)(8936002)(76176999)(47776003)(104016004)(83506001)(19580395003)(246002)(7696003)(4326007)(50466002)(305945005)(2906002)(575784001)(7846002)(92566002)(356003)(19580405001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0801MB1635; H:nebula.arm.com; FPR:; SPF:Pass; PTR:fw-tnat.cambridge.arm.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD045; 1:lNYqrIZJzi+VkrdF4Jvtj0V8UNv+XJ57oqTh1Qq1yOvelxPQv7laJrYQlo51G5r8TjFchvUlz6J6VUm147Tndn8fXsGejyoEE085rA/8MZQeREKeGNgXaj/8ahrYbmjqLc8V85dPzomlHXZgiUYRO1yvwbucDqQC/jVnrDk3CaDaEiDqfShXGY1tusxQyeUD5Xmmwf03Sl7fq+JiyOnZEKoJ0zWBD6huVgkt8FlXFngwttbsmCb6uQkB4oBVwF1YyG05S8KsmgRb8ZezC0IQdkZQm1gp7VUe7PL+VmgmuvKIxMM2UWI1camldtgRe/d3Uu1qNKyu7lmR2wBYFkBTkeAsh1/CLFOZvbDeEknGG0VNfyGQnV4225vVVdZ4XcRe5xaidwbInTnI6NCA6tnoshKRpjkFmw3J7JegbIvmlgEwGi4Y52WtGdm+qfYQuRRYumYbOy8XQDNrUItQ/n5L6/HR3Sb2ianTcIqXnn127vZtlVatjU3stXymRXJRfVcDdLOeVB8h3qtzGh2Bzvfy57bbfJHXqkedEg3VM68Fy706vUfJsjP/6Az8yYOozXFlcdp7R5xf7zzyMV8l4+vqXQ== X-MS-Office365-Filtering-Correlation-Id: 3a2a3c51-6d1f-4be4-5837-08d3bc878377 X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1635; 2:vv8L4w+I4SD8Fxyw6S/C5y+LkgmnIBipfDcsxw9lH1Gk4vzHHtd97T7Ie6s7aqA/IZV8D55ovKpYrOBFcxd1imov6IdR2N3Oo3QDTZxe5mmx3VnyM+gxmrsZDoKTvQvg8tPdWrRktL7sN3hKW2+/bPSPzhE0On/2UpjvBA1derRRfaZv4yab5JZERacB0Yoz; 3:GT39vehSODy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hiT3fM0o55dOZg1IQcVj/EWqzqwg39ZR3zHvYFjnnjJ8FOXn9f6mWyA0SNHL2FdCzpYQKpCd2CYFc+0z/sLRVn3EIn3n/J6uOqrzVIAA+3g= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1635; 31:RIMkMlZYW5ixhjuIdWDw6ctgItNrgkGkDwUZAiayqF7EvDtbbPeVCNDhZ+KJ3hRx3E7UvrFiG/ZSMEZ9uu6KMCT2Jh1CyqYOv/M1whb1VX4d7bslNtXK38+iKXUpMNZ0OjAuEgmVagiHKglOkeCpF6wJB+ZkUoXgHJadmC3be8n7w2FmfodFdXfvHshF6//r/uhdQycewmooSD/bH+FGfeJEBZk7SQO0rCQ45y+jA50=; 20:bFCRuIG7DHhh6jC8yyi12n9Lo0P7B4NEzm4QviQz60FAUd9VErhgQUcGGhB1RgNAmTc2/wHx0oecOqddi6sB7f+SrPs8r5jRHlGDBM2mCC/1vjn89PPW4ziZEWjj64QwrlNLWT+J24pgRhu/RvqExO6Xli0iAIk3bqx6Wdrq7n16L21gtbVJMhmddn0gtK+wdYrX385uLn7tSCPp8YLQUrZvvFiTnCKdWCZX7OuLnHj/7ud6GqSw9wimyRqpuOiw NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(158256107679635); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13020025)(5005006)(13024025)(8121501046)(13023025)(13013025)(3002001)(10201501046)(6055026); SRVR:AM5PR0801MB1635; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0801MB1635; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1635; 4:+3JVIW9heXZs71mo9w5J+XZQy9b0yjrPG0h+SJmoBxBmqtBqjw7i+dFYG04l5Vew0c3yx9h4WBShg5Mb4Ac34541AUXf6vUcyVr0p+U0TRtp5qWMWu0miBPXlD2BmPny6tTkZxhRZwM8RwMne58j0FLAcmq86ZQ9xyc0Fs4TwfAmeL7xC66tojF80DLj+3q8CNvTMz6uemTJDJua6cseKKT7ilRuLUQmP7C5rHWl/r25toWnq/AU+XlTECszgppDpP1pF/RFcCFo7TcG8eu7HoOlHDO+a4rcZkNo8uJ/r66EcgnArJhzNx0Y2TDLnZaELPS6MbKuPXzleOIF4lv+hL/MchEKJmtQBgTNN/drM1tip9hjM9KPphpPvToxTd4kSFtDQUM3k6l5p6lmLfWFa3gjA6i5o55n4tLMm7HoU+r7+zWqynPzt34gTQofaWtzJvMDCJnJVFUTE4fvITTLesLRup+LL7XJ8A2aH3mYlxVjjMtSbT4cEHTu0vOzt/R83XnEGTrHGTrhrlBULmZsTsERap1zJ7DiGGWAx4t0G2I= X-Forefront-PRVS: 00246AB517 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0801MB1635; 23:qoArL33eQASSJdkP4YTZMuyYHITViFihAXMFE20?= =?us-ascii?Q?h/esjFDrSQLyfApTIHcSM5op53xGgBJFpUCStN0ldBXmdch79DJ9wTOTYql7?= =?us-ascii?Q?G/6CyrziRkhMjPdh8bRmEW8Aeybr9obJeZKIw8DcoVi6I/GDSQ37zlxDUfQI?= =?us-ascii?Q?kiGVe+bi1aIZcKDk9NjeumgmyQPYGaq0xN0Q/mMuEg9S49k4z0fx7mscUzAu?= =?us-ascii?Q?xmEzVW1JWwepTwAOecWq93ZhYDVjAZ19fiAnJCPapTtBs7WTZSmF01KuS5Zu?= =?us-ascii?Q?8u2W67DxlqsQxcrzL5d3zQzI+ZcSr3i8/XGhJyHDOlh3xxSPU61uOGT+IEzC?= =?us-ascii?Q?xLbTcIN7HaHp6/6i0sBPxmWOYgsD/9xCi5MSsQW71YADzpfX60UwYcJuOhu2?= =?us-ascii?Q?1DxV6H6JU80y6LWYcWysVEWIVkTLPAul18zCa9SVBHBElsx5+1YSLCsI1lKm?= =?us-ascii?Q?+tGX74eVVCuSDC3Ba8hOM1rFqL+tqB4DfiB43zk8VTUKeEbUOmhHHVfOHC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RKRCKfdMUPEhaTAmGeIqmHbKY2gE95LgEYHP4CgJ3zeQ6tgw2KKQfO8LfVYsqhh3Z3MI6GV1NIocr4EahdJ3+dYyu92FM/U+D2agRCKwPeN38dDTSWPEO2NofD8+npf0vlNbWpbsPBB5XoQRA83i2dHWU28UhV2mDZEQvcpV6cGJNY9VuuIXHlUTvOlm3bBsDhcffLb/u58NFo658rTwJX15K0uCXjsTAvWQS4hZSngElv29w==; 5:4A1pHBOtEd93kR29BX0nxgGHs1ufG3+4NPtzwiLrxi2Jk9/nFREFeoFi8plcQ0Irj4qf5ocl8PjVb5o5xsXiqlBikJNP+Wsl7F1IAVYxnNU6E0mtHfH3yCa9DpYAI7UhbMZVAmm+woitS+Xaug7HIw==; 24:KtAIX5q2OgUdMkwx0gkYyQPXbYWN14ZIX2VcXAWobN+/1eb6EErZw7i/HdTrGYNczmze3KOnp8Os9Z6yI4wi+TbvKxpEz5Lnds5bfqp4DYU=; 7:1w7x3ruUtybsAGcfV3vEDxJGMeCrXGHi2wecU8xEPFwsV5ZaY8KxzMKmYGDvmgyLwvOpIOMB8qImidRkL30KJeld96qcnAbPUGTRhEdzBD1Mc4lA1jKx5HnsegES5Tcu+XVAQ7LqtQcLBHwCt7Jz9Tmoq3Zs77Uy0abXpSyIs0VBT1/5MlXEy4KOrNiY6uKCsjlnqTdXXyExsP8nJjt6QQm20zo6hh7meczg4AaHwm0ZGEDqOliTM0izGcRG2n+B SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1635; 20:UXbg6TgHSHu4dLK+ORnKulwYmm1XButDgnMywy4t6e9/jG76SmRZH9JT793X5CBoGx9OBjJ9UaE9o99KvYX/f96fY/Q9IcJuKWJAJNWoiveVHs/jgvTqhqziC+u8yGsblxYbMwKtSMm7dYfe1DkSGBmtx99Wi52KqllqqYjh/9Q= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2016 16:50:59.9119 (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: AM5PR0801MB1635 X-MC-Unique: 7yO5BtOWOMq3hX_Bo1nWrw-1 Content-Disposition: inline X-IsSubscribed: yes On Wed, Aug 03, 2016 at 04:08:30PM -0600, Jeff Law wrote: > On 08/03/2016 11:41 AM, Bernd Edlinger wrote: > >On 08/03/16 17:38, Jeff Law wrote: > >>cse.c changes look good, but I'd really like to see a testcase for each > >>issue in the dejagnu framework. Extra points if you tried to build a > >>unit test using David M's framework, but that isn't required. > >> > >>The testcase from 70903 ought to be trivial to add to the dejagnu suite. > >> 71779 might be more difficult, but if you could take a stab, it'd be > >>appreciated. > >> > > > > > >Yes, sure. I had assumed that the pr70903 test case is using some > >target-specific vector types, but now I see that it even works as-is in > >the gcc.c-torture/execute directory. > > > >So I've added the test case to the cse patch. And quickly verified that > >it works on x86_64-linux-gnu. > > > > > >The pr71779 test case will be pretty difficult to reduce, because it > >depends on combine to do the incorrect transformation and lra to spill > >the subreg, and on the stack content at runtime to be non-zero. > > > >But technically it *is* already in the isl-test suite, so if isl is > >in-tree, it is always executed by make check or make check-isl. > > > >It is just that gmp/mpfr/mpc and isl test results are not included by > >contrib/test_summary, but that should be fixable. What do you think? > > > >Actually that should not be too difficult, as there are test-suite.log > >files that we could just added to the test_summary output as-is, for > >instance: > > > >cat isl/test-suite.log > > > >================================== > > isl 0.16.1: ./test-suite.log > >================================== > > > ># TOTAL: 5 > ># PASS: 5 > ># SKIP: 0 > ># XFAIL: 0 > ># FAIL: 0 > ># XPASS: 0 > ># ERROR: 0 > > > >.. contents:: :depth: 2 > > > > > >Are the patches OK now? > Yes. Thanks for taking care of this... > Hi Bernd, Thanks for fixing this, but it looks like you accidentally double-added the pr70903.c testcase. Failures: gcc.c-torture/execute/pr70903.c Bisected to: Author: edlinger Date: Thu Aug 4 13:20:57 2016 +0000 2016-08-04 Bernd Edlinger PR rtl-optimization/70903 * cse.c (cse_insn): If DEST is a paradoxical SUBREG, don't record DEST. testsuite: 2016-08-04 Bernd Edlinger PR rtl-optimization/70903 * gcc.c-torture/execute/pr70903.c: New test. .../gcc/testsuite/gcc.c-torture/execute/pr70903.c:25:1: error: redefinition of 'foo' .../gcc/testsuite/gcc.c-torture/execute/pr70903.c:6:1: note: previous definition of 'foo' was here .../gcc/testsuite/gcc.c-torture/execute/pr70903.c:31:5: error: redefinition of 'main' .../gcc/testsuite/gcc.c-torture/execute/pr70903.c:12:5: note: previous definition of 'main' was here I've fixed that up as so in revision 239142, I hope you agree the change is obvious. Thanks, James --- 2016-08-04 James Greenhalgh * gcc.c-torture/execute/pr70903.c: Fix duplicate body. diff --git a/gcc/testsuite/gcc.c-torture/execute/pr70903.c b/gcc/testsuite/gcc.c-torture/execute/pr70903.c index 6ffd0aa..175ad1a 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr70903.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr70903.c @@ -17,22 +17,4 @@ int main () __builtin_abort(); return 0; } -typedef unsigned char V8 __attribute__ ((vector_size (32))); -typedef unsigned int V32 __attribute__ ((vector_size (32))); -typedef unsigned long long V64 __attribute__ ((vector_size (32))); - -static V32 __attribute__ ((noinline, noclone)) -foo (V64 x) -{ - V64 y = (V64)(V8){((V8)(V64){65535, x[0]})[1]}; - return (V32){y[0], 255}; -} -int main () -{ - V32 x = foo ((V64){}); -// __builtin_printf ("%08x %08x %08x %08x %08x %08x %08x %08x\n", x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7]); - if (x[1] != 255) - __builtin_abort(); - return 0; -}