From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 789 invoked by alias); 27 Jul 2015 10:32:46 -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 776 invoked by uid 89); 27 Jul 2015 10:32:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 Jul 2015 10:32:44 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E297447D for ; Mon, 27 Jul 2015 03:32:53 -0700 (PDT) Received: from e106327-lin.cambridge.arm.com (e106327-lin.cambridge.arm.com [10.2.206.124]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 52BE03F483 for ; Mon, 27 Jul 2015 03:32:43 -0700 (PDT) Message-ID: <55B608CA.3060702@foss.arm.com> Date: Mon, 27 Jul 2015 10:43:00 -0000 From: Matthew Wahab User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org Subject: Re: [PATCH 4/4][ARM][PR target/65697][5.1] Fix tests for __sync_builtins. References: <559538D3.8010302@foss.arm.com> <55953A36.3050807@foss.arm.com> In-Reply-To: <55953A36.3050807@foss.arm.com> Content-Type: multipart/mixed; boundary="------------020608080703030402070202" X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg02236.txt.bz2 This is a multi-part message in MIME format. --------------020608080703030402070202 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1067 Ping. Updated patch attached. Also, retested for arm-none-linux-gnueabihf with native bootstrap and make check and for arm-none-eabi with cross compiled make check. On 02/07/15 14:18, Matthew Wahab wrote: > This patch backports fixes for the __sync builtin tests. > > The trunk patch submission is at > https://gcc.gnu.org/ml/gcc-patches/2015-07/msg00031.html > The commit is at https://gcc.gnu.org/ml/gcc-cvs/2015-07/msg00025.html > > Tested the series for arm-none-linux-gnueabihf with check-gcc > > Ok for the branch? > Matthew > > gcc/testsuite > 2015-07-02 Matthew Wahab > > Backport from trunk: > 2015-07-01 Matthew Wahab > > * gcc.target/arm/armv8-sync-comp-swap.c: Replace > 'do-require-effective-target' with 'dg-require-effective-target'. > * gcc.target/arm/armv8-sync-op-full.c: Likewise. > * gcc.target/arm/armv8-sync-op-release.c: Likewise. > * gcc.target/arm/armv8-sync-op-acquire.c: Likewise. Also, replace > 'stlex' with 'strex' as the expected output. > --------------020608080703030402070202 Content-Type: text/x-patch; name="0004-2015-07-01-Matthew-Wahab-matthew.wahab-arm.com.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0004-2015-07-01-Matthew-Wahab-matthew.wahab-arm.com.patch" Content-length: 3291 >From d058686fe1027927a5fdfbb81a83526e3f9b9d6d Mon Sep 17 00:00:00 2001 From: mwahab Date: Wed, 1 Jul 2015 12:16:01 +0000 Subject: [PATCH 4/4] 2015-07-01 Matthew Wahab Backport * gcc.target/arm/armv8-sync-comp-swap.c: Replace 'do-require-effective-target' with 'dg-require-effective-target'. * gcc.target/arm/armv8-sync-op-full.c: Likewise. * gcc.target/arm/armv8-sync-op-release.c: Likewise. * gcc.target/arm/armv8-sync-op-acquire.c: Likewise. Also, replace 'stlex' with 'strex' as the expected output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225241 138bc75d-0d04-0410-961f-82ee72b054a4 Conflicts: gcc/testsuite/ChangeLog Change-Id: I19f2013f7bdd2dd035f36f0f7c9829cf6a86fb8e --- gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c | 2 +- gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c | 4 ++-- gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c | 2 +- gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c b/gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c index f96c81a..0e95986 100644 --- a/gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c +++ b/gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { do-require-effective-target arm_arch_v8a_ok } */ +/* { dg-require-effective-target arm_arch_v8a_ok } */ /* { dg-options "-O2" } */ /* { dg-add-options arm_arch_v8a } */ diff --git a/gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c b/gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c index 8d6659b..c448599 100644 --- a/gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c +++ b/gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c @@ -1,10 +1,10 @@ /* { dg-do compile } */ -/* { do-require-effective-target arm_arch_v8a_ok } */ +/* { dg-require-effective-target arm_arch_v8a_ok } */ /* { dg-options "-O2" } */ /* { dg-add-options arm_arch_v8a } */ #include "../aarch64/sync-op-acquire.x" /* { dg-final { scan-assembler-times "ldrex" 1 } } */ -/* { dg-final { scan-assembler-times "stlex" 1 } } */ +/* { dg-final { scan-assembler-times "strex" 1 } } */ /* { dg-final { scan-assembler-times "dmb" 1 } } */ diff --git a/gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c b/gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c index a5ad3bd..cce9e00 100644 --- a/gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c +++ b/gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { do-require-effective-target arm_arch_v8a_ok } */ +/* { dg-require-effective-target arm_arch_v8a_ok } */ /* { dg-options "-O2" } */ /* { dg-add-options arm_arch_v8a } */ diff --git a/gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c b/gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c index 0d3be7b..502a266 100644 --- a/gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c +++ b/gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { do-require-effective-target arm_arch_v8a_ok } */ +/* { dg-require-effective-target arm_arch_v8a_ok } */ /* { dg-options "-O2" } */ /* { dg-add-options arm_arch_v8a } */ -- 1.9.1 --------------020608080703030402070202--