aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/arch/SSE
diff options
context:
space:
mode:
authorGravatar Joel Holdsworth <joel@airwebreathe.org.uk>2020-03-26 20:18:19 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-03-26 20:18:19 +0000
commit52d54278beefee8b2f19dcca4fd900916154e174 (patch)
tree8a584a2bb27450b0e2af2ed102473ba265b7aa00 /Eigen/src/Core/arch/SSE
parentdeb93ed1bf359ac99923e3a2b90a2920b1101290 (diff)
Additional NEON packet-math operations
Diffstat (limited to 'Eigen/src/Core/arch/SSE')
-rw-r--r--Eigen/src/Core/arch/SSE/Complex.h3
-rwxr-xr-xEigen/src/Core/arch/SSE/PacketMath.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/Eigen/src/Core/arch/SSE/Complex.h b/Eigen/src/Core/arch/SSE/Complex.h
index b3b1b4854..a80395b68 100644
--- a/Eigen/src/Core/arch/SSE/Complex.h
+++ b/Eigen/src/Core/arch/SSE/Complex.h
@@ -45,7 +45,8 @@ template<> struct packet_traits<std::complex<float> > : default_packet_traits
HasMin = 0,
HasMax = 0,
HasSetLinear = 0,
- HasBlend = 1
+ HasBlend = 1,
+ HasInsert = 1
};
};
#endif
diff --git a/Eigen/src/Core/arch/SSE/PacketMath.h b/Eigen/src/Core/arch/SSE/PacketMath.h
index f624f2c9f..d04013e7e 100755
--- a/Eigen/src/Core/arch/SSE/PacketMath.h
+++ b/Eigen/src/Core/arch/SSE/PacketMath.h
@@ -120,6 +120,7 @@ struct packet_traits<float> : default_packet_traits {
HasTanh = EIGEN_FAST_MATH,
HasErf = EIGEN_FAST_MATH,
HasBlend = 1,
+ HasInsert = 1,
HasFloor = 1
#ifdef EIGEN_VECTORIZE_SSE4_1
@@ -144,7 +145,8 @@ struct packet_traits<double> : default_packet_traits {
HasExp = 1,
HasSqrt = 1,
HasRsqrt = 1,
- HasBlend = 1
+ HasBlend = 1,
+ HasInsert = 1
#ifdef EIGEN_VECTORIZE_SSE4_1
,