]> git.ipfire.org Git - thirdparty/gcc.git/commit
middle-end: Add target independent tests for Arm complex numbers vectorization.
authorTamar Christina <tamar.christina@arm.com>
Fri, 29 Oct 2021 11:47:39 +0000 (12:47 +0100)
committerTamar Christina <tamar.christina@arm.com>
Fri, 29 Oct 2021 11:47:39 +0000 (12:47 +0100)
commit4045d5fa42f2ee7b284977c8f2f0edc300a63e43
tree27da5ea2ebdbce4cc3ff959cb3af5ae1d392cda6
parented3de62ac949c92ad41ef6de7cc926fbb2a510ce
middle-end: Add target independent tests for Arm complex numbers vectorization.

This beefs up the complex numbers vectorization testsuite
and adds target independent checks next to the target
dependent ones.

This allows regressions to the detection code to be found
when running on any target, not just aarch64.

gcc/testsuite/ChangeLog:

PR tree-optimization/102977
* gcc.dg/vect/complex/bb-slp-complex-add-pattern-int.c: Updated.
* gcc.dg/vect/complex/bb-slp-complex-add-pattern-long.c: Updated.
* gcc.dg/vect/complex/bb-slp-complex-add-pattern-short.c: Updated.
* gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-int.c:
Updated.
* gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-long.c:
Updated.
* gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-short.c:
Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-double.c:
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-float.c: Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-half-float.c:
Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-double.c:
Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-float.c:
Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-half-float.c:
Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-mla-double.c:
Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-mla-float.c: Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-mla-half-float.c:
Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-mls-double.c:
Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-mls-float.c: Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-mls-half-float.c:
Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-mul-double.c: Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-mul-float.c: Updated.
* gcc.dg/vect/complex/fast-math-bb-slp-complex-mul-half-float.c:
Updated.
* gcc.dg/vect/complex/fast-math-complex-add-double.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-add-float.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-add-half-float.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-add-pattern-double.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-add-pattern-float.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-add-pattern-half-float.c:
Updated.
* gcc.dg/vect/complex/fast-math-complex-mla-double.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-mla-float.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-mla-half-float.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-mls-double.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-mls-float.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-mls-half-float.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-mul-double.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-mul-float.c: Updated.
* gcc.dg/vect/complex/fast-math-complex-mul-half-float.c: Updated.
* gcc.dg/vect/complex/vect-complex-add-pattern-byte.c: Updated.
* gcc.dg/vect/complex/vect-complex-add-pattern-int.c: Updated.
* gcc.dg/vect/complex/vect-complex-add-pattern-long.c: Updated.
* gcc.dg/vect/complex/vect-complex-add-pattern-short.c: Updated.
* gcc.dg/vect/complex/vect-complex-add-pattern-unsigned-byte.c:
Updated.
* gcc.dg/vect/complex/vect-complex-add-pattern-unsigned-int.c:
Updated.
* gcc.dg/vect/complex/vect-complex-add-pattern-unsigned-long.c:
Updated.
* gcc.dg/vect/complex/vect-complex-add-pattern-unsigned-short.c:
Updated.
* gcc.dg/vect/complex/bb-slp-complex-add-pattern-byte.c: Removed.
* gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-byte.c:
Removed.
46 files changed:
gcc/testsuite/gcc.dg/vect/complex/bb-slp-complex-add-pattern-byte.c [deleted file]
gcc/testsuite/gcc.dg/vect/complex/bb-slp-complex-add-pattern-int.c
gcc/testsuite/gcc.dg/vect/complex/bb-slp-complex-add-pattern-long.c
gcc/testsuite/gcc.dg/vect/complex/bb-slp-complex-add-pattern-short.c
gcc/testsuite/gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-byte.c [deleted file]
gcc/testsuite/gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-int.c
gcc/testsuite/gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-long.c
gcc/testsuite/gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-short.c
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-half-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-double.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
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-mla-double.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-mla-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-mla-half-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-mls-double.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-mls-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-mls-half-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-mul-double.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-mul-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-mul-half-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-double.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-half-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-pattern-double.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-pattern-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-pattern-half-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-mla-double.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-mla-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-mla-half-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-mls-double.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-mls-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-mls-half-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-mul-double.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-mul-float.c
gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-mul-half-float.c
gcc/testsuite/gcc.dg/vect/complex/vect-complex-add-pattern-byte.c
gcc/testsuite/gcc.dg/vect/complex/vect-complex-add-pattern-int.c
gcc/testsuite/gcc.dg/vect/complex/vect-complex-add-pattern-long.c
gcc/testsuite/gcc.dg/vect/complex/vect-complex-add-pattern-short.c
gcc/testsuite/gcc.dg/vect/complex/vect-complex-add-pattern-unsigned-byte.c
gcc/testsuite/gcc.dg/vect/complex/vect-complex-add-pattern-unsigned-int.c
gcc/testsuite/gcc.dg/vect/complex/vect-complex-add-pattern-unsigned-long.c
gcc/testsuite/gcc.dg/vect/complex/vect-complex-add-pattern-unsigned-short.c