mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
Fix for clang (missing _mm_cvtsi128_si64x)
This commit is contained in:
parent
1c9a3088bf
commit
cb397ef446
@ -71,7 +71,7 @@ uint64_t simd_read8_to_u64(const __m128i data) {
|
|||||||
FASTFLOAT_SIMD_DISABLE_WARNINGS
|
FASTFLOAT_SIMD_DISABLE_WARNINGS
|
||||||
const __m128i packed = _mm_packus_epi16(data, data);
|
const __m128i packed = _mm_packus_epi16(data, data);
|
||||||
#ifdef FASTFLOAT_64BIT
|
#ifdef FASTFLOAT_64BIT
|
||||||
return uint64_t(_mm_cvtsi128_si64x(packed));
|
return uint64_t(_mm_cvtsi128_si64(packed));
|
||||||
#else
|
#else
|
||||||
uint64_t value;
|
uint64_t value;
|
||||||
// Visual Studio + older versions of GCC don't support _mm_storeu_si64
|
// Visual Studio + older versions of GCC don't support _mm_storeu_si64
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user