[committed] Disable epilogue loop vectorisation for vect-widen-mult-u8-*.c
diff mbox series

Message ID mpttv6wazi4.fsf@arm.com
State New
Headers show
Series
  • [committed] Disable epilogue loop vectorisation for vect-widen-mult-u8-*.c
Related show

Commit Message

Richard Sandiford Nov. 22, 2019, 12:04 p.m. UTC
vect-widen-mult-u8.c and vect-widen-mult-u8-u32.c were failing
on arm-linux-gnueabihf with epilogue vectorisation because we
print the expected messages twice rather than once.  We could
fix that either by removing the counts or by disabling epilogue
loop vectorisation.  The other vect-widen-mult-* tests do the
latter, so I did the same here.

Tested on arm-linux-gnueabihf, aarch64-linux-gnu and x86_64-linux-gnu.
Applied as obvious.

Richard


2019-11-22  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
	* gcc.dg/vect/vect-widen-mult-u8.c: Disable epilogue loop
	vectorization.
	* gcc.dg/vect/vect-widen-mult-u8-u32.c: Likewise.

Patch
diff mbox series

Index: gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c	2019-03-08 18:15:02.272871214 +0000
+++ gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c	2019-11-22 12:02:53.750626899 +0000
@@ -1,3 +1,4 @@ 
+/* { dg-additional-options "--param vect-epilogues-nomask=0" } */
 /* { dg-require-effective-target vect_int } */
 
 #include <stdarg.h>
Index: gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c	2019-03-08 18:15:02.300871108 +0000
+++ gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c	2019-11-22 12:02:53.750626899 +0000
@@ -1,3 +1,4 @@ 
+/* { dg-additional-options "--param vect-epilogues-nomask=0" } */
 /* { dg-require-effective-target vect_int } */
 
 #include <stdarg.h>