aarch64: Reimplement vrsqrte* intrinsics with builtins
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 2 Feb 2021 14:27:34 +0000 (14:27 +0000)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 2 Feb 2021 15:53:19 +0000 (15:53 +0000)
commitd14cf89b94299d6d66c150fbbb9899a5dd91e7d4
treec7a96b3464ed8fd7c0910c86e63a5207d0ce2e47
parent8fdfd0cfdb7ca6b083a2a6205c40f512ea4631a9
aarch64: Reimplement vrsqrte* intrinsics with builtins

Another very simple move from inline asm to builtins.
Only two intrinsics this time.

gcc/ChangeLog:

* config/aarch64/aarch64-simd-builtins.def (ursqrte): Define builtin.
* config/aarch64/aarch64-simd.md (aarch64_ursqrte<mode>): New pattern.
* config/aarch64/arm_neon.h (vrsqrte_u32): Reimplement using builtin.
(vrsqrteq_u32): Likewise.
gcc/config/aarch64/aarch64-simd-builtins.def
gcc/config/aarch64/aarch64-simd.md
gcc/config/aarch64/arm_neon.h