arm/66791: Replace builtins for unsigned and fp vmul_n intrinsics.
commit6785eb595981abd93ad85edcfdf1d2e43c0841f5
authorprathamesh.kulkarni <prathamesh.kulkarni@linaro.org>
Mon, 12 Jul 2021 09:48:21 +0000 (12 15:18 +0530)
committerprathamesh.kulkarni <prathamesh.kulkarni@linaro.org>
Mon, 12 Jul 2021 09:48:21 +0000 (12 15:18 +0530)
tree15a94f749bdb369cd9dad95212224f110333c9c6
parent9b8b37d1b6301855213b8d4860feaeb74d464c6b
arm/66791: Replace builtins for unsigned and fp vmul_n intrinsics.

gcc/ChangeLog:
PR target/66791
* config/arm/arm_neon.h (vmul_n_u32): Replace call to builtin with
__a * __b.
(vmulq_n_u32): Likewise.
(vmul_n_f32): Gate __a * __b on __FAST_MATH__.
(vmulq_n_f32): Likewise.
(vmul_n_f16): Likewise.
(vmulq_n_f16): Likewise.

gcc/testsuite/ChangeLog:
PR target/66791
* gcc.target/arm/armv8_2-fp16-neon-2.c: Adjust.
gcc/config/arm/arm_neon.h
gcc/testsuite/gcc.target/arm/armv8_2-fp16-neon-2.c