coord;sse: fix type in intrinsic
This commit is contained in:
parent
627f80ddcd
commit
e15f687e20
@ -74,13 +74,12 @@ namespace cruft::coord {
|
|||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
template <size_t IndexV>
|
template <size_t IndexV>
|
||||||
struct accessor {
|
struct accessor {
|
||||||
operator ValueT () const noexcept
|
operator ValueT () const noexcept
|
||||||
{
|
{
|
||||||
#ifdef __SSE4_1__
|
#ifdef __SSE4_1__
|
||||||
return _mm_extrat_epi32 (data, IndexV);
|
return _mm_extract_epi32 (data, IndexV);
|
||||||
#else
|
#else
|
||||||
return _mm_cvtss_f32 (
|
return _mm_cvtss_f32 (
|
||||||
_mm_shuffle_ps (
|
_mm_shuffle_ps (
|
||||||
|
Loading…
Reference in New Issue
Block a user