aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2019-01-14 17:28:47 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2019-01-14 17:28:47 +0100
commit61b6eb05fe150909a88273d205f392e1ec3307ff (patch)
tree927e0daff56f0ea30da7741de30aaa9cd94923c6 /test
parentccddeaad904e0a4a344912deedddc7d5c2dfb623 (diff)
AVX512 (r)sqrt(double) was mistakenly disabled with clang and others
Diffstat (limited to 'test')
-rw-r--r--test/packetmath.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/packetmath.cpp b/test/packetmath.cpp
index 04f93108f..4906f6eb0 100644
--- a/test/packetmath.cpp
+++ b/test/packetmath.cpp
@@ -568,6 +568,7 @@ template<typename Scalar,typename Packet> void packetmath_real()
h.store(data2, internal::plog(h.load(data1)));
VERIFY((numext::isinf)(data2[0]));
}
+ if(PacketTraits::HasSqrt)
{
packet_helper<PacketTraits::HasSqrt,Packet> h;
data1[0] = Scalar(-1.0f);