aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/arch/SSE/MathFunctions.h
diff options
context:
space:
mode:
authorGravatar Guoqiang QI <425418567@qq.com>2020-09-15 17:10:35 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-09-15 17:10:35 +0000
commit3012e755e92d3b3f01f8e7753b5e71cbeaaa40df (patch)
treed643ea9b9a1a388ee60b7082906f24e7506f92b6 /Eigen/src/Core/arch/SSE/MathFunctions.h
parente4fb0ddf78b06bb34c2a33d2e0507ecb0420a2c9 (diff)
Add plog ops support packet2d for NEON
Diffstat (limited to 'Eigen/src/Core/arch/SSE/MathFunctions.h')
-rw-r--r--Eigen/src/Core/arch/SSE/MathFunctions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/src/Core/arch/SSE/MathFunctions.h b/Eigen/src/Core/arch/SSE/MathFunctions.h
index 92c1eecc7..71ec6f858 100644
--- a/Eigen/src/Core/arch/SSE/MathFunctions.h
+++ b/Eigen/src/Core/arch/SSE/MathFunctions.h
@@ -25,6 +25,11 @@ Packet4f plog<Packet4f>(const Packet4f& _x) {
}
template<> EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED
+Packet2d plog<Packet2d>(const Packet2d& _x) {
+ return plog_double(_x);
+}
+
+template<> EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED
Packet4f plog1p<Packet4f>(const Packet4f& _x) {
return generic_plog1p(_x);
}