Re: [PATCH][AArch64] Implement vsqrt_f64 intrinsic

2015-01-09 Thread Kyrill Tkachov
On 17/12/14 00:04, Joseph Myers wrote: On Mon, 15 Dec 2014, James Greenhalgh wrote: @@ -22792,6 +22792,12 @@ vsqrtq_f32 (float32x4_t a) return __builtin_aarch64_sqrtv4sf (a); } +__extension__ static __inline float64x1_t __attribute__ ((__always_inline__)) +vsqrt_f64 (float64x1_t a) +

Re: [PATCH][AArch64] Implement vsqrt_f64 intrinsic

2014-12-18 Thread Joseph Myers
On Thu, 18 Dec 2014, Kyrill Tkachov wrote: > I see that there are some intrinsics implemented in terms of __builtin_fabsf, > presumable they can be at 'risk' too of having a library call emitted? The semantics of fabsf/fabs/fabsl are to clear the sign bit, never raise any exceptions (even for si

Re: [PATCH][AArch64] Implement vsqrt_f64 intrinsic

2014-12-18 Thread Kyrill Tkachov
On 17/12/14 00:04, Joseph Myers wrote: On Mon, 15 Dec 2014, James Greenhalgh wrote: @@ -22792,6 +22792,12 @@ vsqrtq_f32 (float32x4_t a) return __builtin_aarch64_sqrtv4sf (a); } +__extension__ static __inline float64x1_t __attribute__ ((__always_inline__)) +vsqrt_f64 (float64x1_t a) +

Re: [PATCH][AArch64] Implement vsqrt_f64 intrinsic

2014-12-16 Thread Joseph Myers
On Mon, 15 Dec 2014, James Greenhalgh wrote: > > @@ -22792,6 +22792,12 @@ vsqrtq_f32 (float32x4_t a) > >return __builtin_aarch64_sqrtv4sf (a); > > } > > > > +__extension__ static __inline float64x1_t __attribute__ > > ((__always_inline__)) > > +vsqrt_f64 (float64x1_t a) > > +{ > > + retur

Re: [PATCH][AArch64] Implement vsqrt_f64 intrinsic

2014-12-15 Thread James Greenhalgh
On Mon, Nov 17, 2014 at 05:35:23PM +, Kyrill Tkachov wrote: > Hi all, > > This patch implements the vsqrt_f64 intrinsic in arm_neon.h. > There's not much to it, we can reuse __builtin_sqrt. > It's a fairly straightforward and self-contained patch, > do we still want it at this stage? > > A ne

Re: [PATCH][AArch64] Implement vsqrt_f64 intrinsic

2014-11-27 Thread Kyrill Tkachov
On 27/11/14 10:03, Kyrill Tkachov wrote: On 26/11/14 10:14, Christophe Lyon wrote: Hi Kyrill, Hi Christophe, On 21 November 2014 at 16:52, Marcus Shawcroft wrote: On 17 November 2014 17:35, Kyrill Tkachov wrote: 2014-11-17 Kyrylo Tkachov * config/aarch64/arm_neon.h (vsqrt_f64

Re: [PATCH][AArch64] Implement vsqrt_f64 intrinsic

2014-11-27 Thread Kyrill Tkachov
On 26/11/14 10:14, Christophe Lyon wrote: Hi Kyrill, Hi Christophe, On 21 November 2014 at 16:52, Marcus Shawcroft wrote: On 17 November 2014 17:35, Kyrill Tkachov wrote: 2014-11-17 Kyrylo Tkachov * config/aarch64/arm_neon.h (vsqrt_f64): New intrinsic. 2014-11-17 Kyrylo Tkac

Re: [PATCH][AArch64] Implement vsqrt_f64 intrinsic

2014-11-26 Thread Christophe Lyon
Hi Kyrill, On 21 November 2014 at 16:52, Marcus Shawcroft wrote: > On 17 November 2014 17:35, Kyrill Tkachov wrote: > >> 2014-11-17 Kyrylo Tkachov >> >> * config/aarch64/arm_neon.h (vsqrt_f64): New intrinsic. >> >> 2014-11-17 Kyrylo Tkachov >> >> * gcc.target/aarch64/simd/vsqrt_f6

Re: [PATCH][AArch64] Implement vsqrt_f64 intrinsic

2014-11-21 Thread Marcus Shawcroft
On 17 November 2014 17:35, Kyrill Tkachov wrote: > 2014-11-17 Kyrylo Tkachov > > * config/aarch64/arm_neon.h (vsqrt_f64): New intrinsic. > > 2014-11-17 Kyrylo Tkachov > > * gcc.target/aarch64/simd/vsqrt_f64_1.c OK /Marcus