* [testsuite] ARM: adjust skips for Xscale test
@ 2011-06-21 21:03 Janis Johnson
2011-06-22 8:33 ` Richard Earnshaw
0 siblings, 1 reply; 2+ messages in thread
From: Janis Johnson @ 2011-06-21 21:03 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
This patch allows an Xscale-specific test to run if multilib flags
include -march=xscale and to be skipped if -mcpu= is used with
anything besides xscale.
OK for trunk, and later for 4.6?
[-- Attachment #2: gcc-20110621-2 --]
[-- Type: text/plain, Size: 815 bytes --]
2011-06-21 Janis Johnson <janisjo@codesourcery.com>
* gcc.target/arm/scd42-3.c: Allow -march-xscale; skip if -mcpu
is not xscale.
Index: gcc.target/arm/scd42-3.c
===================================================================
--- gcc.target/arm/scd42-3.c (revision 175269)
+++ gcc.target/arm/scd42-3.c (working copy)
@@ -1,6 +1,7 @@
/* Verify that ldr is preferred on XScale for loading a 3 or 4 byte constant. */
/* { dg-do compile } */
-/* { dg-skip-if "incompatible options" { arm*-*-* } { "-march=*" } { "" } } */
+/* { dg-skip-if "Test is specific to Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */
+/* { dg-skip-if "Test is specific to Xscale" { arm*-*-* } { "-mcpu=*" } { "-mcpu=xscale" } } */
/* { dg-options "-mcpu=xscale -O" } */
unsigned load4(void) __attribute__ ((naked));
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [testsuite] ARM: adjust skips for Xscale test
2011-06-21 21:03 [testsuite] ARM: adjust skips for Xscale test Janis Johnson
@ 2011-06-22 8:33 ` Richard Earnshaw
0 siblings, 0 replies; 2+ messages in thread
From: Richard Earnshaw @ 2011-06-22 8:33 UTC (permalink / raw)
To: Janis Johnson; +Cc: gcc-patches
On 21/06/11 22:03, Janis Johnson wrote:
> This patch allows an Xscale-specific test to run if multilib flags
> include -march=xscale and to be skipped if -mcpu= is used with
> anything besides xscale.
>
> OK for trunk, and later for 4.6?
>
>
> gcc-20110621-2
>
>
> 2011-06-21 Janis Johnson <janisjo@codesourcery.com>
>
> * gcc.target/arm/scd42-3.c: Allow -march-xscale; skip if -mcpu
> is not xscale.
>
OK.
R.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-22 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 21:03 [testsuite] ARM: adjust skips for Xscale test Janis Johnson
2011-06-22 8:33 ` Richard Earnshaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).