public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, ARM] Fix testcases that require Thumb2 effective target.
@ 2015-05-04  9:14 Yvan Roux
  2015-05-05  8:16 ` Kyrill Tkachov
  0 siblings, 1 reply; 2+ messages in thread
From: Yvan Roux @ 2015-05-04  9:14 UTC (permalink / raw)
  To: gcc-patches, Richard Earnshaw, Ramana Radhakrishnan, Kyrylo Tkachov

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

Hi,

This patch fixes two ARM testcases that require target to be Thumb2
effective.  One is built for Cortex-m3, the purpose of the second one
is to generate thumb2_addsi3_compare0_scratch insn and both are
failing when compiled for armv5t for instance.

Built and regtested, is it OK for trunk ?

Thanks,
Yvan

2015-05-04  Yvan Roux  <yvan.roux@linaro.org>

    * gcc.target/arm/pr65067.c: Require Thumb2 effective target.
    * gcc.target/arm/pr65924.c: Likewise.

[-- Attachment #2: testsuite.diff --]
[-- Type: text/plain, Size: 734 bytes --]

diff --git a/gcc/testsuite/gcc.target/arm/pr65067.c b/gcc/testsuite/gcc.target/arm/pr65067.c
index 9ddd7bb..05da294 100644
--- a/gcc/testsuite/gcc.target/arm/pr65067.c
+++ b/gcc/testsuite/gcc.target/arm/pr65067.c
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-options "-mthumb -mcpu=cortex-m3 -O2" } */
 
 struct tmp {
diff --git a/gcc/testsuite/gcc.target/arm/pr65924.c b/gcc/testsuite/gcc.target/arm/pr65924.c
index 746749f..e1ad394 100644
--- a/gcc/testsuite/gcc.target/arm/pr65924.c
+++ b/gcc/testsuite/gcc.target/arm/pr65924.c
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target arm_thumb2_ok } */
 /* { dg-options "-O2 -mthumb" } */
 
 int a, b, c;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, ARM] Fix testcases that require Thumb2 effective target.
  2015-05-04  9:14 [PATCH, ARM] Fix testcases that require Thumb2 effective target Yvan Roux
@ 2015-05-05  8:16 ` Kyrill Tkachov
  0 siblings, 0 replies; 2+ messages in thread
From: Kyrill Tkachov @ 2015-05-05  8:16 UTC (permalink / raw)
  To: Yvan Roux, gcc-patches, Richard Earnshaw, Ramana Radhakrishnan


On 04/05/15 10:14, Yvan Roux wrote:
> Hi,
>
> This patch fixes two ARM testcases that require target to be Thumb2
> effective.  One is built for Cortex-m3, the purpose of the second one
> is to generate thumb2_addsi3_compare0_scratch insn and both are
> failing when compiled for armv5t for instance.
>
> Built and regtested, is it OK for trunk ?

Ok.
Thanks,
Kyrill

>
> Thanks,
> Yvan
>
> 2015-05-04  Yvan Roux  <yvan.roux@linaro.org>
>
>      * gcc.target/arm/pr65067.c: Require Thumb2 effective target.
>      * gcc.target/arm/pr65924.c: Likewise.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-05  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-04  9:14 [PATCH, ARM] Fix testcases that require Thumb2 effective target Yvan Roux
2015-05-05  8:16 ` Kyrill Tkachov

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).