From patchwork Mon Jan 25 19:06:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 60426 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1539482lbb; Mon, 25 Jan 2016 11:06:24 -0800 (PST) X-Received: by 10.98.93.136 with SMTP id n8mr27823838pfj.88.1453748784025; Mon, 25 Jan 2016 11:06:24 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id e29si35426530pfj.102.2016.01.25.11.06.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jan 2016 11:06:24 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-419983-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-419983-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-419983-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 :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; q=dns; s=default; b=UGSgjSvFSaLduIhUW8 5dlGC9TMOxXgPbuKIV0WDR/eBcA2SdjDu2mJ9dOcZxkUMSx9SYucRobzKnjtw3Tp mkAc2HCDKGVuDGjV6oprlgeFrq5wZThZh2jl/7YTWAj1PmYUUBD9WLNmZBM2tekN 7CRI33hN8kpsAlGjAty4AD1Lo= 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 :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; s=default; bh=KIbkfoXPzWfuKwROKKDG5XBf yDY=; b=O9b2vLLpVFRs0jQqHmO2EuN+Bs7U14nXOpBFvWoNI0JA/24N2aupT3g4 n9JW9tWASPORU7xlnUwxKYj26jJ4FWoC7Mc3ytiYXUst8LDKDx9pTen3QJ2WU/UJ PVKEpS/7keJjGkJU8eFMkAN0f+QaQgAERG5itthT8OHrC9SgUSg= Received: (qmail 17820 invoked by alias); 25 Jan 2016 19:06:08 -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 16639 invoked by uid 89); 25 Jan 2016 19:06:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL, BAYES_05, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=DATE, mfloatabi, arm_fp, bruel X-HELO: mail-qk0-f170.google.com Received: from mail-qk0-f170.google.com (HELO mail-qk0-f170.google.com) (209.85.220.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 25 Jan 2016 19:06:02 +0000 Received: by mail-qk0-f170.google.com with SMTP id s5so58289215qkd.0 for ; Mon, 25 Jan 2016 11:06:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=oog1bMROZhy6KhbiF/JpSTUpIQcuH8AFcu99gphuSXI=; b=C8x5CxfKcq/Y/S/2vvsKW0+xTDicZGwUu1K4mnbseaGJST9Q8BgOJq2otZZPWhWUdM yF4z85p5/AG5f/UFeeQY6eQo2MJSYF+hnzaUO3Tqq3K7I+/v0kTNCMMAEKoPiu9z/GRH N/bkaylu4rYlBE4s6v6XggfiGZe2C/Lpm1iQb4budn9DBD1/Pa6T9RPSXMxtx4qtfdPR WKSGMw+DqNKYhe9buhnTSqBAWVUMBtZohTDLccrI9LANjaXnsTsUd/wS3VAKIc2SaeK1 rj3rdHwJmkyFDY4nKdAx4US7Beh9KbiW1M4d7mTBXhBBMspk9rGcT3K/NRfUIuWS+U7Z 37xg== X-Gm-Message-State: AG10YOSqryDhRjm/6/nq+0W31gYJt3VardnxRETtDAsNq+zlvBKdrsK5CN9Xd429ktIajn+gqGMJJZca9PhKuRGu MIME-Version: 1.0 X-Received: by 10.55.77.216 with SMTP id a207mr23160037qkb.80.1453748760498; Mon, 25 Jan 2016 11:06:00 -0800 (PST) Received: by 10.140.90.84 with HTTP; Mon, 25 Jan 2016 11:06:00 -0800 (PST) In-Reply-To: References: <568FB9AA.5020706@st.com> <569E4FCA.3070704@st.com> <569E5281.2050009@st.com> <56A2154F.1050201@st.com> Date: Mon, 25 Jan 2016 20:06:00 +0100 Message-ID: Subject: Re: [PATCH][ARM, AARCH64] target/PR68674: relayout vector_types in expand_expr From: Christophe Lyon To: Richard Biener Cc: Christian Bruel , "kyrylo.tkachov@foss.arm.com" , Richard Earnshaw , "ramana.radhakrishnan@foss.arm.com" , "bschmidt@redhat.com" , GCC Patches X-IsSubscribed: yes On 22 January 2016 at 12:56, Richard Biener wrote: > On Fri, Jan 22, 2016 at 12:41 PM, Christian Bruel > wrote: >> >> >> On 01/19/2016 04:18 PM, Richard Biener wrote: >>> >>> maybe just if (currently_expanding_to_rtl)? >>> >>> But yes, this looks like a safe variant of the fix. >>> >>> Richard. >>> >> thanks, currently_expanding_to_rtl works perfectly. So the final version. >> I added a test for each target. > > Ok. > Hi, This small patch is needed to make the new test pass on arm hard-float targets (eg. arm-none-linux-gnueabihf). I'm not sure it counts as obvious, so here it is. OK? Christophe. DATE Christophe Lyon * gcc.target/arm/pr68674.c: Check and use arm_fp effective target. > Thanks, > Richard. > >> bootstrapped / tested for : >> unix/-m32/-march=i586 >> unix >> >> arm-qemu/ >> arm-qemu//-mfpu=neon >> arm-qemu//-mfpu=neon-fp-armv8 >> >> aarch64-qemu >> >> >> >> >> >> >> diff --git a/gcc/testsuite/gcc.target/arm/pr68674.c b/gcc/testsuite/gcc.target/arm/pr68674.c index a31a88a..0b32374 100644 --- a/gcc/testsuite/gcc.target/arm/pr68674.c +++ b/gcc/testsuite/gcc.target/arm/pr68674.c @@ -1,7 +1,9 @@ /* PR target/68674 */ /* { dg-do compile } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-O2 -mfloat-abi=softfp" } */ +/* { dg-require-effective-target arm_fp_ok } */ +/* { dg-options "-O2" } */ +/* { dg-add-options arm_fp } */ #pragma GCC target ("fpu=vfp")