From patchwork Wed Dec 14 09:15:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Andre Vieira (lists)" X-Patchwork-Id: 705625 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tdrXz4z7tz9sQw for ; Wed, 14 Dec 2016 20:16:18 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="y33Pojdr"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=W0YUOuuYePNYtSQHyRJ7F+Ynqi04WYJs9Zm5D8PkJYietSIhpu UoiX85fI95uY42TlkdDrMfTA+XqiWhnoVwBj+JbcvnszTZYYmp9U4+Dy3W7HY9JC ITrceqSq+vEmk6XjWM8G1exVIM7hFP814HSWYpSk4rxagBWv48/gwFy48= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=mzctyqkYOqVKMyUcTsfzjd8wK5w=; b=y33Pojdr4Jo+iwK+WHZe Ajhhg+Dno8wkaT6yBcxs4dF326IGP4sHzpyGuOr1h0Uh9IscH11hq/+P1T7rD0pK U9gAwc7ZBoKCe1ClhfAQPhWYgTOb+E92KxdEwQrCIOn8DMAbsOT20xpLmZvioyKT 7+KBoolKm1kTsKmOp1v/MIY= Received: (qmail 66232 invoked by alias); 14 Dec 2016 09:16:09 -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 53595 invoked by uid 89); 14 Dec 2016 09:16:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00, KAM_LOTSOFHASH, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:38.2.0, H*u:38.2.0, ts2, tr3 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; Wed, 14 Dec 2016 09:15:56 +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 ACD21AD7; Wed, 14 Dec 2016 01:15:54 -0800 (PST) Received: from [10.2.206.251] (e107157-lin.cambridge.arm.com [10.2.206.251]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5EB253F3D6 for ; Wed, 14 Dec 2016 01:15:54 -0800 (PST) To: GCC Patches From: "Andre Vieira (lists)" Subject: [arm-embedded][committed] Testcase fixes for wrong backport Message-ID: <58510DC9.4030507@arm.com> Date: Wed, 14 Dec 2016 09:15:53 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 X-IsSubscribed: yes Hi, It seems I backported the wrong versions of the testcases to embedded-6-branch. Fixed them with this patch. Cheers, Andre gcc/testsuite/ChangeLog.arm: 2016-12-14 Andre Vieira * gcc.target/arm/cmse/mainline/hard/cmse-13.c: Fix testsuite. * gcc.target/arm/cmse/mainline/hard/cmse-7.c: Likewise. * gcc.target/arm/cmse/mainline/hard/cmse-8.c: Likewise. * gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c: Likewise. * gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c: Likewise. * gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c: Likewise. diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c index 285fa854b3d61c4d856e9be863ee73a87f1b11a9..d90ad811fc13c9b5cde1c9bf394e490255429ff2 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c @@ -21,22 +21,22 @@ foo (int a) /* { dg-final { scan-assembler "mov\tr1, r4" } } */ /* { dg-final { scan-assembler "mov\tr2, r4" } } */ /* { dg-final { scan-assembler "mov\tr3, r4" } } */ -/* { dg-final { scan-assembler-not "vmov\.f32\ts0, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts1, #1\.0" } } */ -/* { dg-final { scan-assembler-not "vmov\.f32\ts2, #1\.0" } } */ -/* { dg-final { scan-assembler-not "vmov\.f32\ts3, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts4, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts5, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts6, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts7, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts8, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts9, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts10, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts11, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts12, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts13, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts14, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts15, #1\.0" } } */ +/* { dg-final { scan-assembler-not "vldr\.32\ts0, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts1, .L" } } */ +/* { dg-final { scan-assembler-not "vldr\.32\ts2, .L" } } */ +/* { dg-final { scan-assembler-not "vldr\.32\ts3, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts4, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts5, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts6, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts7, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts8, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts9, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts10, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts11, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts12, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts13, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts14, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts15, .L" } } */ /* Now we check that we use the correct intrinsic to call. */ /* { dg-final { scan-assembler "bl\t__gnu_cmse_nonsecure_call" } } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c index 8f56aaf2a97e740a77473cab245614b6fa696c04..c047cd51c9480fc30e411bf7814769d32ccfe79e 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c @@ -20,22 +20,22 @@ foo (int a) /* { dg-final { scan-assembler "mov\tr1, r4" } } */ /* { dg-final { scan-assembler "mov\tr2, r4" } } */ /* { dg-final { scan-assembler "mov\tr3, r4" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts0, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts1, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts2, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts3, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts4, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts5, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts6, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts7, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts8, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts9, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts10, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts11, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts12, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts13, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts14, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts15, #1\.0" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts0, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts1, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts2, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts3, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts4, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts5, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts6, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts7, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts8, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts9, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts10, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts11, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts12, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts13, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts14, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts15, .L" } } */ /* Now we check that we use the correct intrinsic to call. */ /* { dg-final { scan-assembler "bl\t__gnu_cmse_nonsecure_call" } } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c index 749f8a7278cb4ea9fd4462887ce7f37b57f83248..20d2d4a8fb13f89103a5d97b9b533caa37520b76 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c @@ -20,22 +20,22 @@ foo (int a) /* { dg-final { scan-assembler "mov\tr1, r4" } } */ /* { dg-final { scan-assembler "mov\tr2, r4" } } */ /* { dg-final { scan-assembler "mov\tr3, r4" } } */ -/* { dg-final { scan-assembler-not "vmov\.f32\ts0, #1\.0" } } */ -/* { dg-final { scan-assembler-not "vmov\.f32\ts1, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts2, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts3, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts4, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts5, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts6, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts7, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts8, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts9, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts10, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts11, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts12, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts13, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts14, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts15, #1\.0" } } */ +/* { dg-final { scan-assembler-not "vldr\.32\ts0, .L" } } */ +/* { dg-final { scan-assembler-not "vldr\.32\ts1, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts2, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts3, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts4, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts5, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts6, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts7, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts8, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts9, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts10, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts11, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts12, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts13, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts14, .L" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts15, .L" } } */ /* Now we check that we use the correct intrinsic to call. */ /* { dg-final { scan-assembler "bl\t__gnu_cmse_nonsecure_call" } } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-13.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-13.c index 4ad5068aac263f1c2edb17b8707fc9d1c0af6959..0af586a7fd18de879301c5bba9eccbe1ab0c4e33 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-13.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-13.c @@ -21,15 +21,18 @@ foo (int a) /* { dg-final { scan-assembler "mov\tr1, r4" } } */ /* { dg-final { scan-assembler "mov\tr2, r4" } } */ /* { dg-final { scan-assembler "mov\tr3, r4" } } */ -/* { dg-final { scan-assembler-not "vmov\.f32\ts0, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f32\ts1, #1\.0" } } */ -/* { dg-final { scan-assembler-not "vmov\.f64\td1, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td2, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td3, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td4, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td5, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td6, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td7, #1\.0" } } */ +/* { dg-final { scan-assembler "vldr\.32\ts1, .L" } } */ +/* { dg-final { scan-assembler-not "vldr\.64\td0, .L" } } */ +/* { dg-final { scan-assembler-not "vldr\.32\ts0, .L" } } */ +/* { dg-final { scan-assembler-not "vldr\.64\td1, .L" } } */ +/* { dg-final { scan-assembler-not "vldr\.32\ts2, .L" } } */ +/* { dg-final { scan-assembler-not "vldr\.32\ts3, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td2, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td3, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td4, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td5, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td6, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td7, .L" } } */ /* Now we check that we use the correct intrinsic to call. */ /* { dg-final { scan-assembler "bl\t__gnu_cmse_nonsecure_call" } } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-7.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-7.c index b18259eaef6da1933ef2d58d63b97d4bb4e450f4..a5c64fb06edd6927e0eb3b1f4e6d314274668a7a 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-7.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-7.c @@ -20,14 +20,14 @@ foo (int a) /* { dg-final { scan-assembler "mov\tr1, r4" } } */ /* { dg-final { scan-assembler "mov\tr2, r4" } } */ /* { dg-final { scan-assembler "mov\tr3, r4" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td0, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td1, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td2, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td3, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td4, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td5, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td6, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td7, #1\.0" } } */ +/* { dg-final { scan-assembler "vldr\.64\td0, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td1, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td2, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td3, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td4, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td5, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td6, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td7, .L" } } */ /* Now we check that we use the correct intrinsic to call. */ /* { dg-final { scan-assembler "bl\t__gnu_cmse_nonsecure_call" } } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-8.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-8.c index 182ddf9540374f30ae3694259f1edb62161455e1..5e041b17b0e4bad779b147c204cf8178c8798b80 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-8.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-8.c @@ -20,14 +20,14 @@ foo (int a) /* { dg-final { scan-assembler "mov\tr1, r4" } } */ /* { dg-final { scan-assembler "mov\tr2, r4" } } */ /* { dg-final { scan-assembler "mov\tr3, r4" } } */ -/* { dg-final { scan-assembler-not "vmov\.f64\td0, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td1, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td2, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td3, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td4, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td5, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td6, #1\.0" } } */ -/* { dg-final { scan-assembler "vmov\.f64\td7, #1\.0" } } */ +/* { dg-final { scan-assembler-not "vldr\.64\td0, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td1, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td2, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td3, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td4, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td5, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td6, .L" } } */ +/* { dg-final { scan-assembler "vldr\.64\td7, .L" } } */ /* Now we check that we use the correct intrinsic to call. */ /* { dg-final { scan-assembler "bl\t__gnu_cmse_nonsecure_call" } } */