From 3ca1ae2bb761d7738bcdad885639f422a6b7c914 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 4 Feb 2016 13:49:06 -0800 Subject: Commented out the version of pexp since it fails to compile with gcc 5.3 --- Eigen/src/Core/arch/AVX512/MathFunctions.h | 4 ++-- Eigen/src/Core/arch/AVX512/PacketMath.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Eigen/src/Core/arch/AVX512/MathFunctions.h b/Eigen/src/Core/arch/AVX512/MathFunctions.h index 16bf613c5..0e57d7c33 100644 --- a/Eigen/src/Core/arch/AVX512/MathFunctions.h +++ b/Eigen/src/Core/arch/AVX512/MathFunctions.h @@ -173,7 +173,7 @@ pexp(const Packet16f& _x) { return pmax(pmul(y, _mm512_castsi512_ps(emm0)), _x); } -template <> +/*template <> EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet8d pexp(const Packet8d& _x) { Packet8d x = _x; @@ -240,7 +240,7 @@ pexp(const Packet8d& _x) { // Construct the result 2^n * exp(g) = e * x. The max is used to catch // non-finite values in the input. return pmax(pmul(x, e), _x); -} + }*/ // Functions for sqrt. // The EIGEN_FAST_MATH version uses the _mm_rsqrt_ps approximation and one step diff --git a/Eigen/src/Core/arch/AVX512/PacketMath.h b/Eigen/src/Core/arch/AVX512/PacketMath.h index 302f46736..1cc8a7653 100644 --- a/Eigen/src/Core/arch/AVX512/PacketMath.h +++ b/Eigen/src/Core/arch/AVX512/PacketMath.h @@ -1,7 +1,7 @@ // This file is part of Eigen, a lightweight C++ template library // 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 // Public License v. 2.0. If a copy of the MPL was not distributed @@ -73,7 +73,7 @@ template<> struct packet_traits : default_packet_traits AlignedOnScalar = 1, size = 8, HasHalfPacket = 1, - HasExp = 1, + HasExp = 0, HasDiv = 1, HasBlend = 1, HasSqrt = 1, -- cgit v1.2.3