AVX512 (r)sqrt(double) was mistakenly disabled with clang and others

This commit is contained in:
Gael Guennebaud
2019-01-14 17:28:47 +01:00
parent ccddeaad90
commit 61b6eb05fe
2 changed files with 3 additions and 2 deletions

View File

@@ -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);