testsuite: Require vect_mutiple_sizes for scan-tree-dump in vect-epilogues.c

Message ID CAFULd4YDH4i-L0JPsyfnwHucLmfVttEaeySnx9b+nZAdg_HETA@mail.gmail.com
State New
Headers show
Series
  • testsuite: Require vect_mutiple_sizes for scan-tree-dump in vect-epilogues.c
Related show

Commit Message

Uros Bizjak Feb. 19, 2020, 10:02 a.m.
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.

Tested on x86_64-linux-gnu {,-m32}.

2020-02-19  UroŇ° Bizjak  <ubizjak@gmail.com>

* gcc.dg/vect/vect-epilogues.c (scan-tree-dump): Require
vect_mutiple_sizes effective target.

OK for mainline?

Uros.

Comments

Jeff Law Feb. 21, 2020, 8:40 p.m. | #1
On Wed, 2020-02-19 at 11:02 +0100, Uros Bizjak wrote:
> 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.

> 

> Tested on x86_64-linux-gnu {,-m32}.

> 

> 2020-02-19  UroŇ° Bizjak  <ubizjak@gmail.com>

> 

> * gcc.dg/vect/vect-epilogues.c (scan-tree-dump): Require

> vect_mutiple_sizes effective target.

> 

> OK for mainline?

OK
jeff

Patch

diff --git a/gcc/testsuite/gcc.dg/vect/vect-epilogues.c b/gcc/testsuite/gcc.dg/vect/vect-epilogues.c
index 3d813d56dd36..a146bb6518a0 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 } } } }  */