This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fixup the recently added arm/pr91603.c test case
- From: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Richard Earnshaw <richard dot earnshaw at arm dot com>, Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- Date: Fri, 6 Sep 2019 10:28:34 +0000
- Subject: [PATCH] Fixup the recently added arm/pr91603.c test case
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kQJMqyAiyvbhz0+JFUflM/27arbc/EXFFLDlVYecN4M=; b=d6960sSXI6+hBSSjlmUHERri0OmdygQJ7j6wHRsy6i7tm0mo7x2VwRKvOKv40r0NcksNNMVluDB8sKfmctW1K6TZ2KvE3ueeKmXbp5wi+ljymsKYjqsMpWx0kkTQQgi1rESuR4hdIvCrRc4RDlCyXwkRCIa2n5QmAXU8xieNMhF6RUw2BdTmFgh6TBSAASSIE57CHf3EH+Sbazk+S1tkQvsbtT/d68NvJKLwq2OnGeZf0lGK3EJGVs4p09tBFdDqWEHGhRRluwMewWDGI0c+bCMsfnGaUzevvuSAVgLrc1id6IdToGCA6Ejnk54R7uk7Ktlb/niZpIX9t+QWhomaMA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tqsr15BrXkR6vi+hj3Au836NS0ptFJMaCoN8vvIZwOTkRwjwO8ck8lUN+v1+UmyX8FjWo9Yg8t2I/vwL1by23DfepIOkCL2qIZ9ScQnLkQbh3EOmsvvxeMsyT+oU2nrd29gkOlT/SAHOpLifPWixbWqbolVJBb+Y8o8yVleHA9vBBCRkyDY1xrl9vBkXCrO7k/4WuS5ZrPuJ7CTKmJl9LzdDKen1tJq+XlYlmsoKRXY/1KnCu2wS5Mp+AbKPDreXdRpLAGVEFjd5yXkculbZuTo7hsNv+nGNaxF6np87qOA3gZUsTYPQH7jY1TcYJy0uEsf5vw5kW2EGf1xLAPhFBA==
Hi!
It was pointed out in the PR that the test case fails on big endian
targets.
This is probably obvious, since the test case scans the assembler
output for vld1.32, vst1.32, vldr and vstr, but these are never
generated for -mbig-endian.
So added dg-require-effective-target arm_little_endian.
Is it OK for trunk?
Thanks
Bernd.
2019-09-06 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gcc.target/arm/pr91603.c: Add dg-require-effective-target
arm_little_endian.
Index: gcc/testsuite/gcc.target/arm/pr91603.c
===================================================================
--- gcc/testsuite/gcc.target/arm/pr91603.c (revision 275409)
+++ gcc/testsuite/gcc.target/arm/pr91603.c (working copy)
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target arm_neon_ok } */
+/* { dg-require-effective-target arm_little_endian } */
/* { dg-options "-O3" } */
/* { dg-add-options arm_neon } */