testsuite/arm: Factorize and increase coverage in mve-sub_1.c
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 17 May 2021 11:59:01 +0000 (11:59 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 17 May 2021 11:59:01 +0000 (11:59 +0000)
commitafa4401edd8a6a882848a6613d5441b0d0a10587
tree24d28ccd78d75121e5f135377959034c841c2d8b
parente87d568e9e3e331e22850127308abedd0642e5e8
testsuite/arm: Factorize and increase coverage in mve-sub_1.c

Use a template macro to factorize the existing test functions.

This patch also adds a version to check subtraction with __fp16 type.

2021-05-17  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* gcc.target/arm/simd/mve-vsub_1.c: Factorize and add __fp16 test.
gcc/testsuite/gcc.target/arm/simd/mve-vsub_1.c