[AArch64, 4/6] Reimplement frsqrts intrinsics

Jiong Wang jiong.wang@foss.arm.com
Tue May 24 08:24:00 GMT 2016


Similar as [3/6], these intrinsics were implemented before the instruction
pattern "aarch64_rsqrts<mode>" added, that these intrinsics were implemented
through inline assembly.

This mirgrate the implementation to builtin.

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

         * config/aarch64/aarch64-builtins.def (rsqrts): New builtins 
for modes
         VALLF.
         * config/aarch64/aarch64-simd.md (aarch64_rsqrts_<mode>3): 
Rename to
"aarch64_rsqrts<mode>".
         * config/aarch64/aarch64.c (get_rsqrts_type): Update gen* name.
         * config/aarch64/arm_neon.h (vrsqrtss_f32): Remove inline 
assembly.  Use
builtin.
         (vrsqrtsd_f64): Likewise.
         (vrsqrts_f32): Likewise.
         (vrsqrtsq_f32): Likewise.
         (vrsqrtsq_f64): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-4.patch
Type: text/x-patch
Size: 5315 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160524/558cb43c/attachment.bin>


More information about the Gcc-patches mailing list