Skip to content

Commit afbe6c1

Browse files
WIP
1 parent f3bde5c commit afbe6c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/xsimd/arch/xsimd_altivec.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,12 @@ namespace xsimd
757757
return vec_sqrt(val.data);
758758
}
759759

760+
template <class A>
761+
XSIMD_INLINE batch<double, A> sqrt(batch<double, A> const& val, requires_arch<altivec>) noexcept
762+
{
763+
return vec_sqrt(val.data);
764+
}
765+
760766
// slide_left
761767
template <size_t N, class A, class T>
762768
XSIMD_INLINE batch<T, A> slide_left(batch<T, A> const& x, requires_arch<altivec>) noexcept

0 commit comments

Comments
 (0)