File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments