[ARM NEON] PR66791: Replace builtins in vceq_* (a, b) with a == b.

Prathamesh Kulkarni prathamesh.kulkarni@linaro.org
Mon Jun 14 07:59:11 GMT 2021


On Wed, 9 Jun 2021 at 14:49, Prathamesh Kulkarni
<prathamesh.kulkarni@linaro.org> wrote:
>
> Hi,
> The attached patch replaces calls to _builtin_neon_vceq<type> (a, b) with a == b
> for integral variants, and for fp variants it gates the equality
> comparison on __FAST_MATH__ because for fp variants a == b results in
> much longer
> code than __builtin_neon_vceqv2sf. which simply emits vceq.f32.
> However both produce vceq.f32 with -ffast-math.
ping https://gcc.gnu.org/pipermail/gcc-patches/2021-June/572338.html

Thanks,
Prathamesh
>
> Thanks,
> Prathamesh


More information about the Gcc-patches mailing list