arm: [MVE] Remove illegal intrinsics (PR target/96914)
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 6 Oct 2020 07:36:31 +0000 (07:36 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Thu, 8 Oct 2020 11:13:00 +0000 (11:13 +0000)
commit237f12da4124b91503646b099a8282aa6b251ef9
tree18ffcef078a56594b0a7cf94c828cddd1d783c8a
parentafb198ee3729c29c8e681aedc656f55f4afe4053
arm: [MVE] Remove illegal intrinsics (PR target/96914)

A few MVE intrinsics had an unsigned variant implement while they are
supported by the hardware.  This patch removes them:
__arm_vqrdmlashq_n_u8
__arm_vqrdmlahq_n_u8
__arm_vqdmlahq_n_u8
__arm_vqrdmlashq_n_u16
__arm_vqrdmlahq_n_u16
__arm_vqdmlahq_n_u16
__arm_vqrdmlashq_n_u32
__arm_vqrdmlahq_n_u32
__arm_vqdmlahq_n_u32
__arm_vmlaldavaxq_p_u32
__arm_vmlaldavaxq_p_u16

2020-10-08  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/
PR target/96914
* config/arm/arm_mve.h (vqrdmlashq_n_u8, vqrdmlashq_n_u16)
(vqrdmlashq_n_u32, vqrdmlahq_n_u8, vqrdmlahq_n_u16)
(vqrdmlahq_n_u32, vqdmlahq_n_u8, vqdmlahq_n_u16, vqdmlahq_n_u32)
(vmlaldavaxq_p_u16, vmlaldavaxq_p_u32): Remove.
* config/arm/arm_mve_builtins.def (vqrdmlashq_n_u, vqrdmlahq_n_u)
(vqdmlahq_n_u, vmlaldavaxq_p_u): Remove.
* config/arm/unspecs.md (VQDMLAHQ_N_U, VQRDMLAHQ_N_U)
(VQRDMLASHQ_N_U)
(VMLALDAVAXQ_P_U): Remove unspecs.
* config/arm/iterators.md (VQDMLAHQ_N_U, VQRDMLAHQ_N_U)
(VQRDMLASHQ_N_U, VMLALDAVAXQ_P_U): Remove attributes.
(VQDMLAHQ_N, VQRDMLAHQ_N, VQRDMLASHQ_N, VMLALDAVAXQ_P): Remove
unsigned variants from iterators.
* config/arm/mve.md (mve_vqdmlahq_n_<supf><mode>)
(mve_vqrdmlahq_n_<supf><mode>)
(mve_vqrdmlashq_n_<supf><mode>, mve_vmlaldavaxq_p_<supf><mode>):
Update comment.

gcc/testsuite/
PR target/96914
* gcc.target/arm/mve/intrinsics/vmlaldavaxq_p_u16.c: Remove.
* gcc.target/arm/mve/intrinsics/vmlaldavaxq_p_u32.c: Remove.
* gcc.target/arm/mve/intrinsics/vqdmlahq_n_u16.c: Remove.
* gcc.target/arm/mve/intrinsics/vqdmlahq_n_u32.c: Remove.
* gcc.target/arm/mve/intrinsics/vqdmlahq_n_u8.c: Remove.
* gcc.target/arm/mve/intrinsics/vqrdmlahq_n_u16.c: Remove.
* gcc.target/arm/mve/intrinsics/vqrdmlahq_n_u32.c: Remove.
* gcc.target/arm/mve/intrinsics/vqrdmlahq_n_u8.c: Remove.
* gcc.target/arm/mve/intrinsics/vqrdmlashq_n_u16.c: Remove.
* gcc.target/arm/mve/intrinsics/vqrdmlashq_n_u32.c: Remove.
* gcc.target/arm/mve/intrinsics/vqrdmlashq_n_u8.c: Remove.
16 files changed:
gcc/config/arm/arm_mve.h
gcc/config/arm/arm_mve_builtins.def
gcc/config/arm/iterators.md
gcc/config/arm/mve.md
gcc/config/arm/unspecs.md
gcc/testsuite/gcc.target/arm/mve/intrinsics/vmlaldavaxq_p_u16.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vmlaldavaxq_p_u32.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vqdmlahq_n_u16.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vqdmlahq_n_u32.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vqdmlahq_n_u8.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vqrdmlahq_n_u16.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vqrdmlahq_n_u32.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vqrdmlahq_n_u8.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vqrdmlashq_n_u16.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vqrdmlashq_n_u32.c [deleted file]
gcc/testsuite/gcc.target/arm/mve/intrinsics/vqrdmlashq_n_u8.c [deleted file]