aarch64: Remove testing of saturation cumulative QC bit
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 19 Jan 2021 15:36:55 +0000 (15:36 +0000)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 19 Jan 2021 17:25:42 +0000 (17:25 +0000)
commit763b865a17d32ff1d19720e333999de25132d3d4
treebd87505e1687b9d8bfcf8892f1c65d9bfc33911b
parent8227106f5668c8fb1f0c5d2026e44cc0b84ee991
aarch64: Remove testing of saturation cumulative QC bit

Since we don't guarantee the ordering of the QC flag in FPSR in the
saturation intrinsics, we shouldn't be testing for it.
I want to relax the flags for some of the builtins to enable more
optimisation but that triggers the QC flag tests in
advsimd-intrinsics.exp.
We don't implement the saturation flag access intrinsics in aarch64
anyway and we don't want to.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h
(CHECK_CUMULATIVE_SAT): Delete.
(CHECK_CUMULATIVE_SAT_NAMED): Likewise.  Deleted related
variables.
* gcc.target/aarch64/advsimd-intrinsics/binary_sat_op.inc:
Remove uses of the above.
* gcc.target/aarch64/advsimd-intrinsics/unary_sat_op.inc:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqabs.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqadd.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlXl.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlXl_lane.inc:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlXl_n.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlal.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlal_lane.c:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlal_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlsl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlsl_lane.c:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmlsl_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmulh.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmulh_lane.c:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmulh_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmull.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmull_lane.c:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqdmull_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqmovn.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqmovun.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqneg.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrdmlXh.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrdmlXh_lane.inc:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrdmlah.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrdmlah_lane.c:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrdmlsh.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrdmlsh_lane.c:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrdmulh.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrdmulh_lane.c:
Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrdmulh_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrshl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrshrn_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqrshrun_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqshl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqshl_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqshlu_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqshrn_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqshrun_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqsub.c: Likewise.
41 files changed:
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/binary_sat_op.inc
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/unary_sat_op.inc
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqabs.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqadd.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmlXl.inc
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmlXl_lane.inc
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmlXl_n.inc
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmlal.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmlal_lane.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmlal_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmlsl.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmlsl_lane.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmlsl_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmulh.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmulh_lane.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmulh_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmull.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmull_lane.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqdmull_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqmovn.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqmovun.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqneg.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrdmlXh.inc
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrdmlXh_lane.inc
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrdmlah.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrdmlah_lane.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrdmlsh.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrdmlsh_lane.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrdmulh.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrdmulh_lane.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrdmulh_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshl.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrn_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqrshrun_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshl.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshl_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshlu_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrn_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqshrun_n.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vqsub.c