mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-14 00:51:52 +08:00
Turn off vectorize version of rsqrt - doesn't match generic version
This commit is contained in:
parent
6d9f662a70
commit
ab8725d947
@ -175,11 +175,6 @@ struct packet_traits<float> : default_packet_traits {
|
|||||||
HasExp = 1,
|
HasExp = 1,
|
||||||
#ifdef EIGEN_VECTORIZE_VSX
|
#ifdef EIGEN_VECTORIZE_VSX
|
||||||
HasSqrt = 1,
|
HasSqrt = 1,
|
||||||
#if !EIGEN_COMP_CLANG
|
|
||||||
HasRsqrt = 1,
|
|
||||||
#else
|
|
||||||
HasRsqrt = 0,
|
|
||||||
#endif
|
|
||||||
HasTanh = EIGEN_FAST_MATH,
|
HasTanh = EIGEN_FAST_MATH,
|
||||||
HasErf = EIGEN_FAST_MATH,
|
HasErf = EIGEN_FAST_MATH,
|
||||||
HasRint = 1,
|
HasRint = 1,
|
||||||
@ -220,11 +215,6 @@ struct packet_traits<bfloat16> : default_packet_traits {
|
|||||||
HasExp = 1,
|
HasExp = 1,
|
||||||
#ifdef EIGEN_VECTORIZE_VSX
|
#ifdef EIGEN_VECTORIZE_VSX
|
||||||
HasSqrt = 1,
|
HasSqrt = 1,
|
||||||
#if !EIGEN_COMP_CLANG
|
|
||||||
HasRsqrt = 1,
|
|
||||||
#else
|
|
||||||
HasRsqrt = 0,
|
|
||||||
#endif
|
|
||||||
HasRint = 1,
|
HasRint = 1,
|
||||||
#else
|
#else
|
||||||
HasSqrt = 0,
|
HasSqrt = 0,
|
||||||
@ -2710,7 +2700,7 @@ template<> struct packet_traits<double> : default_packet_traits
|
|||||||
HasLog = 0,
|
HasLog = 0,
|
||||||
HasExp = 1,
|
HasExp = 1,
|
||||||
HasSqrt = 1,
|
HasSqrt = 1,
|
||||||
HasRsqrt = 1,
|
HasRsqrt = 0,
|
||||||
HasRound = 1,
|
HasRound = 1,
|
||||||
HasFloor = 1,
|
HasFloor = 1,
|
||||||
HasCeil = 1,
|
HasCeil = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user