* [PATCH TEST]Require vect_perm in gcc.dg/vect/pr80815-3.c
@ 2017-07-24 8:44 Bin Cheng
2017-07-25 7:27 ` Richard Biener
0 siblings, 1 reply; 2+ messages in thread
From: Bin Cheng @ 2017-07-24 8:44 UTC (permalink / raw)
To: gcc-patches; +Cc: nd
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
Hi,
The test has negative step in memory access, thus can't be vectorized on
target like sparc-sun-solaris2.12. This patch adds vect_perm requirement
for it. Test result checked. Is it OK?
Thanks,
bin
gcc/testsuite/ChangeLog
2017-07-20 Bin Cheng <bin.cheng@arm.com>
* gcc.dg/vect/pr80815-3.c: Require vect_perm.
[-- Attachment #2: pr80815-vect_perm.txt --]
[-- Type: text/plain, Size: 480 bytes --]
diff --git a/gcc/testsuite/gcc.dg/vect/pr80815-3.c b/gcc/testsuite/gcc.dg/vect/pr80815-3.c
index dae01fa..50392ab 100644
--- a/gcc/testsuite/gcc.dg/vect/pr80815-3.c
+++ b/gcc/testsuite/gcc.dg/vect/pr80815-3.c
@@ -42,4 +42,4 @@ int main (void)
return 0;
}
-/* { dg-final { scan-tree-dump "improved number of alias checks from \[0-9\]* to 1" "vect" } } */
+/* { dg-final { scan-tree-dump "improved number of alias checks from \[0-9\]* to 1" "vect" { target vect_perm } } } */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH TEST]Require vect_perm in gcc.dg/vect/pr80815-3.c
2017-07-24 8:44 [PATCH TEST]Require vect_perm in gcc.dg/vect/pr80815-3.c Bin Cheng
@ 2017-07-25 7:27 ` Richard Biener
0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2017-07-25 7:27 UTC (permalink / raw)
To: Bin Cheng; +Cc: gcc-patches, nd
On Mon, Jul 24, 2017 at 10:44 AM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> The test has negative step in memory access, thus can't be vectorized on
> target like sparc-sun-solaris2.12. This patch adds vect_perm requirement
> for it. Test result checked. Is it OK?
Ok.
> Thanks,
> bin
> gcc/testsuite/ChangeLog
> 2017-07-20 Bin Cheng <bin.cheng@arm.com>
>
> * gcc.dg/vect/pr80815-3.c: Require vect_perm.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-25 7:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-24 8:44 [PATCH TEST]Require vect_perm in gcc.dg/vect/pr80815-3.c Bin Cheng
2017-07-25 7:27 ` Richard Biener
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).