Skip to content

Commit 9a3cc9f

Browse files
committed
align load
1 parent 2b28a09 commit 9a3cc9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stl/src/vector_algorithms.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@ namespace {
21152115

21162116
alignas(16) uint8_t _Tmp2[16];
21172117
memcpy(_Tmp2, _First1, _Last_part_size);
2118-
const __m128i _Haystack_last_part = _mm_loadu_si128(reinterpret_cast<const __m128i*>(_Tmp2));
2118+
const __m128i _Haystack_last_part = _mm_load_si128(reinterpret_cast<const __m128i*>(_Tmp2));
21192119

21202120
if (_mm_cmpestrc(_Needle, _Needle_length_el, _Haystack_last_part, _Last_part_size_el, _Op)) {
21212121
const int _Pos = _mm_cmpestri(_Needle, _Needle_length_el, _Haystack_last_part, _Last_part_size_el, _Op);

0 commit comments

Comments
 (0)