public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Testsuite, committed] Fix vector peeling test failures
@ 2017-05-08 12:51 Wilco Dijkstra
  2017-05-08 14:31 ` Richard Biener via gcc-patches
  0 siblings, 1 reply; 4+ messages in thread
From: Wilco Dijkstra @ 2017-05-08 12:51 UTC (permalink / raw)
  To: GCC Patches; +Cc: nd, Christophe Lyon, Richard Biener

This fixes a few failures on ARM and AArch64 due to a recent change in
alignment peeling by switching the vector cost model off
(https://gcc.gnu.org/ml/gcc-patches/2017-05/msg00407.html).

Tested on AArch64, ARM and x64 - committed as obvious.

ChangeLog: 
2017-05-08  Wilco Dijkstra  <wdijkstr@arm.com>

	* testsuite/gcc.dg/vect/vect-44.c: Add -fno-vect-cost-model.
	* gcc/testsuite/gcc.dg/vect/vect-50.c: Likewise.
--

diff --git a/gcc/testsuite/gcc.dg/vect/vect-44.c b/gcc/testsuite/gcc.dg/vect/vect-44.c
index 186f9cfc9e26d6eb53514dec0fac176d696ec578..fbc593572429422c8e527c5e5559c515efd38aa6 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-44.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-44.c
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_float } */
+/* { dg-options "-fno-vect-cost-model" } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
diff --git a/gcc/testsuite/gcc.dg/vect/vect-50.c b/gcc/testsuite/gcc.dg/vect/vect-50.c
index 78bfd8d3920445fe51c7393a82870ea85f62bb55..0d5febc165ee3bf3b7b595237168d9d4b9604d4b 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-50.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-50.c
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_float } */
+/* { dg-options "-fno-vect-cost-model" } */
 
 #include <stdarg.h>
 #include "tree-vect.h"

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

end of thread, other threads:[~2017-05-09  8:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-08 12:51 [Testsuite, committed] Fix vector peeling test failures Wilco Dijkstra
2017-05-08 14:31 ` Richard Biener via gcc-patches
2017-05-09  8:07   ` Richard Biener
2017-05-09  8:13     ` 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).