[v2][AArch64, 3/6] Reimplement frsqrte intrinsics

Jiong Wang jiong.wang@foss.arm.com
Mon Jun 6 13:40:00 GMT 2016


These intrinsics were implemented before the instruction pattern
"aarch64_rsqrte<mode>" added, that these intrinsics were implemented through
inline assembly.

This mirgrate the implementation to builtin.

gcc/
2016-06-06  Jiong Wang<jiong.wang@arm.com>

         * config/aarch64/aarch64-builtins.def (rsqrte): New builtins for modes
         VALLF.
         * config/aarch64/aarch64-simd.md (aarch64_rsqrte_<mode>2): Rename to
         "aarch64_rsqrte<mode>".
         * config/aarch64/aarch64.c (get_rsqrte_type): Update gen* name.
         * config/aarch64/arm_neon.h (vrsqrts_f32): Remove inline assembly.  Use
         builtin.
         (vrsqrted_f64): Likewise.
         (vrsqrte_f32): Likewise.
         (vrsqrte_f64): Likewise.
         (vrsqrteq_f32): Likewise.
         (vrsqrteq_f64): Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.patch
Type: text/x-patch
Size: 5704 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160606/ad12b076/attachment.bin>


More information about the Gcc-patches mailing list