* [PATCH/RFA] Fix up gcc.dg/vect/pr30858.c expected output
@ 2011-10-14 15:12 Matthew Gretton-Dann
2011-10-16 10:05 ` Ira Rosen
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Gretton-Dann @ 2011-10-14 15:12 UTC (permalink / raw)
To: gcc-patches; +Cc: ro, mikestump
[-- Attachment #1: Type: text/plain, Size: 873 bytes --]
All,
The attached patch corrects the expected output of the
gcc.dg/vect/pr30858.c testcase.
Historically it has expected the output "Unknown def-use cycle pattern."
just once.
However, recent changes to GCC for ARM targets means that vectorization
is attempted twice once with a vector size of 128-bits and once with a
vector size of 64-bits. This means that the output appears more than once.
The patch works around this by making the testcase expect one or more
instances of "Unknown def-use cycle pattern"
Can someone review please?
Thanks,
Matt
gcc/testsuite/ChangeLog:
2011-10-13 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gcc.dg/vect/pr30858.c: Update expected output for
architectures with multiple vector sizes.
--
Matthew Gretton-Dann
Principal Engineer, PD Software - Tools, ARM Ltd
[-- Attachment #2: 1110-fix-pr30858.txt --]
[-- Type: text/plain, Size: 538 bytes --]
diff --git a/gcc/testsuite/gcc.dg/vect/pr30858.c b/gcc/testsuite/gcc.dg/vect/pr30858.c
index 0af2f8e..0e7f7e1 100644
--- a/gcc/testsuite/gcc.dg/vect/pr30858.c
+++ b/gcc/testsuite/gcc.dg/vect/pr30858.c
@@ -11,5 +11,5 @@ foo (int ko)
}
/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */
-/* { dg-final { scan-tree-dump-times "Unknown def-use cycle pattern." 1 "vect" } } */
+/* { dg-final { scan-tree-dump "Unknown def-use cycle pattern." "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH/RFA] Fix up gcc.dg/vect/pr30858.c expected output
2011-10-14 15:12 [PATCH/RFA] Fix up gcc.dg/vect/pr30858.c expected output Matthew Gretton-Dann
@ 2011-10-16 10:05 ` Ira Rosen
0 siblings, 0 replies; 2+ messages in thread
From: Ira Rosen @ 2011-10-16 10:05 UTC (permalink / raw)
To: Matthew Gretton-Dann; +Cc: gcc-patches, mikestump, ro
gcc-patches-owner@gcc.gnu.org wrote on 14/10/2011 04:43:48 PM:
> All,
>
> The attached patch corrects the expected output of the
> gcc.dg/vect/pr30858.c testcase.
>
> Historically it has expected the output "Unknown def-use cycle pattern."
> just once.
>
> However, recent changes to GCC for ARM targets means that vectorization
> is attempted twice once with a vector size of 128-bits and once with a
> vector size of 64-bits. This means that the output appears more than
once.
>
> The patch works around this by making the testcase expect one or more
> instances of "Unknown def-use cycle pattern"
>
> Can someone review please?
This is OK with me.
Thanks,
Ira
>
> Thanks,
>
> Matt
>
> gcc/testsuite/ChangeLog:
>
> 2011-10-13 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
>
> * gcc.dg/vect/pr30858.c: Update expected output for
> architectures with multiple vector sizes.
>
> --
> Matthew Gretton-Dann
> Principal Engineer, PD Software - Tools, ARM Ltd[attachment "1110-
> fix-pr30858.txt" deleted by Ira Rosen/Haifa/IBM]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-16 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-14 15:12 [PATCH/RFA] Fix up gcc.dg/vect/pr30858.c expected output Matthew Gretton-Dann
2011-10-16 10:05 ` Ira Rosen
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).