From dc93691a28b5cb165f69f488f9ca8b2847def901 Mon Sep 17 00:00:00 2001 From: wschmidt Date: Sat, 30 Jan 2016 01:18:43 +0000 Subject: [PATCH] 2016-01-29 Bill Schmidt PR target/65546 * gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Correct condition being checked, and disable it when the target supports misaligned loads and stores. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233006 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 7 +++++++ .../gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aa3855f41773..8b92463c9966 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2016-01-29 Bill Schmidt + + PR target/65546 + * gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Correct + condition being checked, and disable it when the target supports + misaligned loads and stores. + 2016-01-29 Jakub Jelinek PR debug/69518 diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c index ff67ff281304..72b4930d9bbb 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c @@ -46,5 +46,5 @@ int main (void) return main1 (); } -/* { dg-final { scan-tree-dump-times "vectorization not profitable" 1 "vect" } } */ +/* { dg-final { scan-tree-dump-times "not vectorized: unsupported unaligned store" 1 "vect" { target { ! vect_hw_misalign } } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" { target { ! vect_hw_misalign } } } } */ -- 2.47.3