coord;sse: fix type in intrinsic

This commit is contained in:
Danny Robson 2018-09-13 14:52:34 +10:00
parent 627f80ddcd
commit e15f687e20

View File

@ -74,13 +74,12 @@ namespace cruft::coord {
///////////////////////////////////////////////////////////////////////
template <size_t IndexV>
struct accessor {
operator ValueT () const noexcept
{
#ifdef __SSE4_1__
return _mm_extrat_epi32 (data, IndexV);
return _mm_extract_epi32 (data, IndexV);
#else
return _mm_cvtss_f32 (
_mm_shuffle_ps (