I've noticed that _mm_div_epi64/_mm_div_epu64
isn't defined in the headers for simd
intrinsics and I don't get why it wouldn't. If it was multiplication it would make sense since 64bit * 64bit = 128bit, which would overflow but 64bit / 64bit = 64bit.
Unless there's some unforeseen issue with 64bit division for xmm registers.
Note: I am using Visual Studio 2017