From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126125 invoked by alias); 16 Nov 2015 10:49:20 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 126109 invoked by uid 89); 16 Nov 2015 10:49:19 -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 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, 16 Nov 2015 10:49:18 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-13-uegzelBDR2aW2Jd-F1O4VA-1; Mon, 16 Nov 2015 10:49:12 +0000 Received: from [10.2.206.221] ([10.1.2.79]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 16 Nov 2015 10:49:11 +0000 To: GCC Patches From: Andre Vieira Subject: [PATCH][GCC][ARM] Disable neon testing for armv7-m Message-ID: <5649B4A7.6000506@arm.com> Date: Mon, 16 Nov 2015 10:49:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 X-MC-Unique: uegzelBDR2aW2Jd-F1O4VA-1 Content-Type: multipart/mixed; boundary="------------020904070808000609090304" X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg01918.txt.bz2 This is a multi-part message in MIME format. --------------020904070808000609090304 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-length: 733 Hi, This patch changes the target support mechanism to make it recognize=20 any ARM 'M' profile as a non-neon supporting target. The current check=20 only tests for armv6 architectures and earlier, and does not account for=20 armv7-m. This is correct because there is no 'M' profile that supports neon=20 and the current test is not sufficient to exclude armv7-m. Tested by running regressions for this testcase for various ARM targets. Is this OK to commit? Thanks, Andre Vieira gcc/testsuite/ChangeLog: 2015-11-06 Andre Vieira * gcc/testsuite/lib/target-supports.exp (check_effective_target_arm_neon_ok_nocache): Added check for M profile. --------------020904070808000609090304 Content-Type: text/x-patch; name=0001-Disable-neon-testing-for-armv7-m.patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-Disable-neon-testing-for-armv7-m.patch" Content-length: 974 =46rom 2c53bb9ba3236919ecf137a4887abf26d4f7fda2 Mon Sep 17 00:00:00 2001 From: Andre Simoes Dias Vieira Date: Fri, 13 Nov 2015 11:16:34 +0000 Subject: [PATCH] Disable neon testing for armv7-m --- gcc/testsuite/lib/target-supports.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/targ= et-supports.exp index 75d506829221e3d02d454631c4bd2acd1a8cedf2..8097a4621b088a93d58d09571cf= 7aa27b8d5fba6 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -2854,7 +2854,7 @@ proc check_effective_target_arm_neon_ok_nocache { } { int dummy; /* Avoid the case where a test adds -mfpu=3Dneon, but the toolchain is configured for -mcpu=3Darm926ej-s, for example. */ - #if __ARM_ARCH < 7 + #if __ARM_ARCH < 7 || __ARM_ARCH_PROFILE =3D=3D 'M' #error Architecture too old for NEON. #endif } "$flags"] } { --=20 1.9.1 --------------020904070808000609090304--