Skip to content

Commit a488629

Browse files
committed
fix warning
1 parent cf42e26 commit a488629

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

extras/rapidfuzz_amalgamated.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
22
// SPDX-License-Identifier: MIT
33
// RapidFuzz v1.0.2
4-
// Generated: 2025-02-11 13:40:17.377263
4+
// Generated: 2025-02-11 13:43:07.694110
55
// ----------------------------------------------------------
66
// This file is an amalgamation of multiple different files.
77
// You probably shouldn't edit it directly.
@@ -2508,8 +2508,8 @@ static inline native_simd<uint8_t> sllv(const native_simd<uint8_t>& a,
25082508
const native_simd<uint8_t>& count_) noexcept
25092509
{
25102510
__m256i mask_hi = _mm256_set1_epi32(static_cast<int32_t>(0xFF00FF00));
2511-
__m256i multiplier_lut = _mm256_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, char(128), 64, 32, 16, 8, 4, 2, 1, 0, 0,
2512-
0, 0, 0, 0, 0, 0, char(128), 64, 32, 16, 8, 4, 2, 1);
2511+
__m256i multiplier_lut = _mm256_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, char(-128), 64, 32, 16, 8, 4, 2, 1, 0, 0,
2512+
0, 0, 0, 0, 0, 0, char(-128), 64, 32, 16, 8, 4, 2, 1);
25132513

25142514
__m256i count_sat =
25152515
_mm256_min_epu8(count_, _mm256_set1_epi8(8)); /* AVX shift counts are not masked. So a_i << n_i = 0

rapidfuzz/details/simd_avx2.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,8 @@ static inline native_simd<uint8_t> sllv(const native_simd<uint8_t>& a,
602602
const native_simd<uint8_t>& count_) noexcept
603603
{
604604
__m256i mask_hi = _mm256_set1_epi32(static_cast<int32_t>(0xFF00FF00));
605-
__m256i multiplier_lut = _mm256_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, char(128), 64, 32, 16, 8, 4, 2, 1, 0, 0,
606-
0, 0, 0, 0, 0, 0, char(128), 64, 32, 16, 8, 4, 2, 1);
605+
__m256i multiplier_lut = _mm256_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, char(-128), 64, 32, 16, 8, 4, 2, 1, 0, 0,
606+
0, 0, 0, 0, 0, 0, char(-128), 64, 32, 16, 8, 4, 2, 1);
607607

608608
__m256i count_sat =
609609
_mm256_min_epu8(count_, _mm256_set1_epi8(8)); /* AVX shift counts are not masked. So a_i << n_i = 0

0 commit comments

Comments
 (0)