diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-09-30 13:33:44 -0700 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-09-30 13:33:44 -0700 |
commit | 44b9d4e412b1afe110998aab3dff64d1c0ff0710 (patch) | |
tree | eddcb1f849512fc611a55fdf8d4283b690f87244 /test/packetmath.cpp | |
parent | d5a0d894915c19199590b32149834351b60e2fd1 (diff) |
Specialize pldexp_double and pfdexp_double and get rid of Packet2l definition for SSE. SSE does not support conversion between 64 bit integers and double and the existing implementation of casting between Packet2d and Packer2l results in undefined behavior when casting NaN to int. Since pldexp and pfdexp only manipulate exponent fields that fit in 32 bit, this change provides specializations that use existing instructions _mm_cvtpd_pi32 and _mm_cvtsi32_pd instead.
Diffstat (limited to 'test/packetmath.cpp')
0 files changed, 0 insertions, 0 deletions