testsuite: fix failing complex add testcases PR103000
authorTamar Christina <tamar.christina@arm.com>
Mon, 1 Nov 2021 13:42:51 +0000 (13:42 +0000)
committerTamar Christina <tamar.christina@arm.com>
Mon, 1 Nov 2021 13:42:51 +0000 (13:42 +0000)
commit8a260d652c421e212818efc3c0f487cf9cdbcc2c
treee74cee5e54713b1abe4eda78815ae162d95c49f5
parentbd5e882cf6e0def3dd1bc106075d59a303fe0d1e
testsuite: fix failing complex add testcases PR103000

Some targets have overriden the default unroll factor and so do not have enough
data to succeed for SLP vectorization if loop vect is turned off.

To fix this just always unroll in these testcases.

gcc/testsuite/ChangeLog:

PR testsuite/103000
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-double.c:
Force unroll.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-float.c: likewise
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-float.c:
Likewise
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-half-float.c:
Likewise.
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-double.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-half-float.c