File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ read_chars_to_unsigned(UC const *chars) noexcept {
6969
7070#ifdef FASTFLOAT_SSE2
7171
72- fastfloat_really_inline uint64_t simd_read8_to_u64 (__m128i const & data) {
72+ fastfloat_really_inline uint64_t simd_read8_to_u64 (__m128i const data) {
7373 // _mm_packus_epi16 is SSE2+, converts 8×u16 → 8×u8
7474 __m128i const packed = _mm_packus_epi16 (data, data);
7575#ifdef FASTFLOAT_64BIT
@@ -86,7 +86,7 @@ fastfloat_really_inline uint64_t simd_read8_to_u64(char16_t const *chars) {
8686 FASTFLOAT_SIMD_DISABLE_WARNINGS
8787 // unaligned SIMD instruction -> all fine.
8888 return simd_read8_to_u64 (
89- _mm_loadu_si128 (reinterpret_cast <__m128i const *>(chars)));
89+ _mm_loadu_si128 (reinterpret_cast <__m128i const *>(chars))); // -V1032
9090 FASTFLOAT_SIMD_RESTORE_WARNINGS
9191}
9292
@@ -175,7 +175,7 @@ simd_parse_if_eight_digits_unrolled(char16_t const *chars,
175175 // Load 8 UTF-16 characters (16 bytes)
176176 // unaligned SIMD instruction -> all fine.
177177 __m128i const data =
178- _mm_loadu_si128 (reinterpret_cast <__m128i const *>(chars));
178+ _mm_loadu_si128 (reinterpret_cast <__m128i const *>(chars)); // -V1032
179179 FASTFLOAT_SIMD_RESTORE_WARNINGS
180180
181181 // Branchless "are all digits?" trick from Lemire:
You can’t perform that action at this time.
0 commit comments