From b150c838d9dcf2aa9a50bffdc1eb3012200a4d21 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 21 Feb 2020 16:12:57 +0100 Subject: [PATCH] testsuite: Require vect_mutiple_sizes for scan-tree-dump in vect-epilogues.c Default testsuite flags do not enable V8QI (MMX) vector mode for 32bit x86 targets. Require vect_multiple_sizes effective target in scan-tree-dump to avoid "LOOP EPILOGUE VECTORIZED" failure. * gcc.dg/vect/vect-epilogues.c (scan-tree-dump): Require vect_mutiple_sizes effective target. --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/vect/vect-epilogues.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 606d00920d1..5f3d619c0b2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-02-21 Uroš Bizjak + + * gcc.dg/vect/vect-epilogues.c (scan-tree-dump): Require + vect_mutiple_sizes effective target. + 2020-02-21 Jan Hubicka Richard Biener diff --git a/gcc/testsuite/gcc.dg/vect/vect-epilogues.c b/gcc/testsuite/gcc.dg/vect/vect-epilogues.c index 3d813d56dd3..a146bb6518a 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-epilogues.c +++ b/gcc/testsuite/gcc.dg/vect/vect-epilogues.c @@ -16,4 +16,4 @@ void pixel_avg( unsigned char *dst, int i_dst_stride, } } -/* { dg-final { scan-tree-dump "LOOP EPILOGUE VECTORIZED" "vect" { xfail { arm32 && be } } } } */ +/* { dg-final { scan-tree-dump "LOOP EPILOGUE VECTORIZED" "vect" { target vect_multiple_sizes xfail { arm32 && be } } } } */ -- 2.30.2