[PATCH][GCC] arm: Fix the MVE ACLE vbicq intrinsics.
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Thu, 4 Jun 2020 14:29:18 +0000 (15:29 +0100)
committerSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Thu, 4 Jun 2020 14:40:19 +0000 (15:40 +0100)
commitd34f510e2bf976cff3b9fbf7a8c5a41c233db2e4
tree8f891df386611d801e80225d6e3a04985fa1976f
parentb15369e2538086c95250ac57c56a4c2590f922f4
[PATCH][GCC] arm: Fix the MVE ACLE vbicq intrinsics.

Following MVE intrinsic testcases are failing in GCC testsuite.

Directory: gcc.target/arm/mve/intrinsics/
Testcases: vbicq_f16.c, vbicq_f32.c, vbicq_s16.c, vbicq_s32.c, vbicq_s8.c
,vbicq_u16.c, vbicq_u32.c and vbicq_u8.c.

This patch fixes the vbicq intrinsics by modifying the intrinsic parameters
and polymorphic variants in "arm_mve.h" header file.

Thanks,
Srinath.

gcc/ChangeLog:

2020-05-20  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

* config/arm/arm_mve.h (__arm_vbicq_n_u16): Correct the intrinsic
arguments.
(__arm_vbicq_n_s16): Likewise.
(__arm_vbicq_n_u32): Likewise.
(__arm_vbicq_n_s32): Likewise.
(__arm_vbicq): Modify polymorphic variant.

gcc/testsuite/ChangeLog:

2020-05-20  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

* gcc.target/arm/mve/intrinsics/vbicq_f16.c: Modify.
* gcc.target/arm/mve/intrinsics/vbicq_f32.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_n_s16.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_n_s32.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_n_u16.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_n_u32.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_s16.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_s32.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_s8.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_u16.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_u32.c: Likewise.
* gcc.target/arm/mve/intrinsics/vbicq_u8.c: Likewise.
13 files changed:
gcc/config/arm/arm_mve.h
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_f16.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_f32.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_n_s16.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_n_s32.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_n_u16.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_n_u32.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_s16.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_s32.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_s8.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_u16.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_u32.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/vbicq_u8.c