From f2f3dbc67b85af0f1b6c6feb529a67baf011939c Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 22 Nov 2019 12:03:08 +0000 Subject: [PATCH] Disable epilogue loop vectorisation for vect-widen-mult-u8-*.c 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. 2019-11-22 Richard Sandiford gcc/testsuite/ * gcc.dg/vect/vect-widen-mult-u8.c: Disable epilogue loop vectorization. * gcc.dg/vect/vect-widen-mult-u8-u32.c: Likewise. From-SVN: r278613 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c | 1 + gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c | 1 + 3 files changed, 8 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9275c70d8e3..ac0b1ad22ad 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-11-22 Richard Sandiford + + * gcc.dg/vect/vect-widen-mult-u8.c: Disable epilogue loop + vectorization. + * gcc.dg/vect/vect-widen-mult-u8-u32.c: Likewise. + 2019-11-22 Richard Sandiford * gcc.dg/vect/vect-cond-reduc-3.c: Require vect_cond_mixed diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c index f38859aa7b5..f5035880258 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8-u32.c @@ -1,3 +1,4 @@ +/* { dg-additional-options "--param vect-epilogues-nomask=0" } */ /* { dg-require-effective-target vect_int } */ #include diff --git a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c index 620e115e639..03d1379410e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c +++ b/gcc/testsuite/gcc.dg/vect/vect-widen-mult-u8.c @@ -1,3 +1,4 @@ +/* { dg-additional-options "--param vect-epilogues-nomask=0" } */ /* { dg-require-effective-target vect_int } */ #include