Skip to content

Commit 80902aa

Browse files
committed
* try to fix error on x86 platform step1.
1 parent 9e1d063 commit 80902aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/fast_float/ascii_number.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ read8_to_u64(UC const *chars) {
7070

7171
#ifdef FASTFLOAT_SSE2
7272

73-
fastfloat_really_inline uint64_t simd_read8_to_u64(__m128i const &data) {
73+
fastfloat_really_inline uint64_t simd_read8_to_u64(__m128i const data) {
7474
FASTFLOAT_SIMD_DISABLE_WARNINGS
7575
// _mm_packus_epi16 is SSE2+, converts 8×u16 → 8×u8
7676
__m128i const packed = _mm_packus_epi16(data, data);
@@ -94,7 +94,7 @@ fastfloat_really_inline uint64_t simd_read8_to_u64(char16_t const *chars) {
9494

9595
#elif defined(FASTFLOAT_NEON)
9696

97-
fastfloat_really_inline uint64_t simd_read8_to_u64(uint16x8_t const &data) {
97+
fastfloat_really_inline uint64_t simd_read8_to_u64(uint16x8_t const data) {
9898
FASTFLOAT_SIMD_DISABLE_WARNINGS
9999
uint8x8_t utf8_packed = vmovn_u16(data);
100100
return vget_lane_u64(vreinterpret_u64_u8(utf8_packed), 0);

0 commit comments

Comments
 (0)