mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 16:24:28 +08:00
Commented out the version of pexp<Packet8d> since it fails to compile with gcc 5.3
This commit is contained in:
parent
23f69ab936
commit
3ca1ae2bb7
@ -173,7 +173,7 @@ pexp<Packet16f>(const Packet16f& _x) {
|
|||||||
return pmax(pmul(y, _mm512_castsi512_ps(emm0)), _x);
|
return pmax(pmul(y, _mm512_castsi512_ps(emm0)), _x);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
/*template <>
|
||||||
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet8d
|
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet8d
|
||||||
pexp<Packet8d>(const Packet8d& _x) {
|
pexp<Packet8d>(const Packet8d& _x) {
|
||||||
Packet8d x = _x;
|
Packet8d x = _x;
|
||||||
@ -240,7 +240,7 @@ pexp<Packet8d>(const Packet8d& _x) {
|
|||||||
// Construct the result 2^n * exp(g) = e * x. The max is used to catch
|
// Construct the result 2^n * exp(g) = e * x. The max is used to catch
|
||||||
// non-finite values in the input.
|
// non-finite values in the input.
|
||||||
return pmax(pmul(x, e), _x);
|
return pmax(pmul(x, e), _x);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// Functions for sqrt.
|
// Functions for sqrt.
|
||||||
// The EIGEN_FAST_MATH version uses the _mm_rsqrt_ps approximation and one step
|
// The EIGEN_FAST_MATH version uses the _mm_rsqrt_ps approximation and one step
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// This file is part of Eigen, a lightweight C++ template library
|
// This file is part of Eigen, a lightweight C++ template library
|
||||||
// for linear algebra.
|
// for linear algebra.
|
||||||
//
|
//
|
||||||
// Copyright (C) 2014 Benoit Steiner (benoit.steiner.goog@gmail.com)
|
// Copyright (C) 2016 Benoit Steiner (benoit.steiner.goog@gmail.com)
|
||||||
//
|
//
|
||||||
// This Source Code Form is subject to the terms of the Mozilla
|
// This Source Code Form is subject to the terms of the Mozilla
|
||||||
// Public License v. 2.0. If a copy of the MPL was not distributed
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
||||||
@ -73,7 +73,7 @@ template<> struct packet_traits<double> : default_packet_traits
|
|||||||
AlignedOnScalar = 1,
|
AlignedOnScalar = 1,
|
||||||
size = 8,
|
size = 8,
|
||||||
HasHalfPacket = 1,
|
HasHalfPacket = 1,
|
||||||
HasExp = 1,
|
HasExp = 0,
|
||||||
HasDiv = 1,
|
HasDiv = 1,
|
||||||
HasBlend = 1,
|
HasBlend = 1,
|
||||||
HasSqrt = 1,
|
HasSqrt = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user