|
|
@ -396,7 +396,7 @@ namespace bitfieldInterleave |
|
|
|
|
|
|
|
|
|
|
|
__m128i Result; |
|
|
|
__m128i Result; |
|
|
|
_mm_store_si128(&Result, Reg1); |
|
|
|
_mm_store_si128(&Result, Reg1); |
|
|
|
return Result.m128i_u64[0]; |
|
|
|
return *reinterpret_cast<glm::uint64*>(&Result); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
inline glm::uint64 sseUnalignedBitfieldInterleave(glm::uint32 x, glm::uint32 y) |
|
|
|
inline glm::uint64 sseUnalignedBitfieldInterleave(glm::uint32 x, glm::uint32 y) |
|
|
@ -453,7 +453,7 @@ namespace bitfieldInterleave |
|
|
|
|
|
|
|
|
|
|
|
__m128i Result; |
|
|
|
__m128i Result; |
|
|
|
_mm_store_si128(&Result, Reg1); |
|
|
|
_mm_store_si128(&Result, Reg1); |
|
|
|
return Result.m128i_u64[0]; |
|
|
|
return *reinterpret_cast<glm::uint64*>(&Result); |
|
|
|
} |
|
|
|
} |
|
|
|
#endif//GLM_ARCH & GLM_ARCH_SSE2_BIT
|
|
|
|
#endif//GLM_ARCH & GLM_ARCH_SSE2_BIT
|
|
|
|
|
|
|
|
|
|
|
|