* [PATCH, ARM, testsuite] Improve scd42-1.c for UAL
@ 2015-01-15 12:37 Tony Liu
2015-01-23 11:50 ` Ramana Radhakrishnan
0 siblings, 1 reply; 3+ messages in thread
From: Tony Liu @ 2015-01-15 12:37 UTC (permalink / raw)
To: gcc-patches; +Cc: Ramana Radhakrishnan, Richard Earnshaw
[-- Attachment #1: Type: text/plain, Size: 414 bytes --]
Hi,
This is the patch to improve the test case gcc.target/arm/scd42-1.c for both
UAL and non-UAL. It now checks UAL format assembly code for Thumb1 and
Thumb2 while non-UAL format assembly code for ARM mode.
With this patch, the test passes for both cases.
Thanks,
Tony
2015-01-15 Tony Liu <tony.liu@arm.com>
* gcc.target/arm/scd42-1.c: Improve the check for UAL and non-UAL
cases.
[-- Attachment #2: fix-scd42-1.txt --]
[-- Type: text/plain, Size: 504 bytes --]
diff --git a/gcc/testsuite/gcc.target/arm/scd42-1.c b/gcc/testsuite/gcc.target/arm/scd42-1.c
index f2bd629..420f7c4 100644
--- a/gcc/testsuite/gcc.target/arm/scd42-1.c
+++ b/gcc/testsuite/gcc.target/arm/scd42-1.c
@@ -13,4 +13,5 @@ unsigned load1(void)
return 17;
}
-/* { dg-final { scan-assembler "movs\[ ].*17" } } */
+/* { dg-final { scan-assembler "mov\[ ].*17" { target { arm_nothumb } } } } */
+/* { dg-final { scan-assembler "movs\[ ].*17" { target { ! arm_nothumb } } } } */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH, ARM, testsuite] Improve scd42-1.c for UAL
2015-01-15 12:37 [PATCH, ARM, testsuite] Improve scd42-1.c for UAL Tony Liu
@ 2015-01-23 11:50 ` Ramana Radhakrishnan
2015-01-26 8:03 ` Terry Guo
0 siblings, 1 reply; 3+ messages in thread
From: Ramana Radhakrishnan @ 2015-01-23 11:50 UTC (permalink / raw)
To: Tony Liu; +Cc: gcc-patches, Ramana Radhakrishnan, Richard Earnshaw
On Thu, Jan 15, 2015 at 12:10 PM, Tony Liu <tony.liu@arm.com> wrote:
> Hi,
>
> This is the patch to improve the test case gcc.target/arm/scd42-1.c for both
> UAL and non-UAL. It now checks UAL format assembly code for Thumb1 and
> Thumb2 while non-UAL format assembly code for ARM mode.
OK.
Ramana
>
> With this patch, the test passes for both cases.
>
> Thanks,
> Tony
>
> 2015-01-15 Tony Liu <tony.liu@arm.com>
>
> * gcc.target/arm/scd42-1.c: Improve the check for UAL and non-UAL
> cases.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH, ARM, testsuite] Improve scd42-1.c for UAL
2015-01-23 11:50 ` Ramana Radhakrishnan
@ 2015-01-26 8:03 ` Terry Guo
0 siblings, 0 replies; 3+ messages in thread
From: Terry Guo @ 2015-01-26 8:03 UTC (permalink / raw)
To: Tony Liu; +Cc: gcc-patches
> -----Original Message-----
> From: gcc-patches-owner@gcc.gnu.org [mailto:gcc-patches-
> owner@gcc.gnu.org] On Behalf Of Ramana Radhakrishnan
> Sent: Friday, January 23, 2015 6:35 PM
> To: Tony Liu
> Cc: gcc-patches; Ramana Radhakrishnan; Richard Earnshaw
> Subject: Re: [PATCH, ARM, testsuite] Improve scd42-1.c for UAL
>
> On Thu, Jan 15, 2015 at 12:10 PM, Tony Liu <tony.liu@arm.com> wrote:
> > Hi,
> >
> > This is the patch to improve the test case gcc.target/arm/scd42-1.c
> > for both UAL and non-UAL. It now checks UAL format assembly code for
> > Thumb1 and
> > Thumb2 while non-UAL format assembly code for ARM mode.
>
>
> OK.
>
> Ramana
> >
> > With this patch, the test passes for both cases.
> >
> > Thanks,
> > Tony
> >
> > 2015-01-15 Tony Liu <tony.liu@arm.com>
> >
> > * gcc.target/arm/scd42-1.c: Improve the check for UAL and
> > non-UAL cases.
Committed this patch on behalf of Tony:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=220102
BR,
Terry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-26 3:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-15 12:37 [PATCH, ARM, testsuite] Improve scd42-1.c for UAL Tony Liu
2015-01-23 11:50 ` Ramana Radhakrishnan
2015-01-26 8:03 ` Terry Guo
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).