Skip to content

Commit

Permalink
align load
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGuteniev committed Mar 10, 2024
1 parent 2b28a09 commit 9a3cc9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stl/src/vector_algorithms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,7 @@ namespace {

alignas(16) uint8_t _Tmp2[16];
memcpy(_Tmp2, _First1, _Last_part_size);
const __m128i _Haystack_last_part = _mm_loadu_si128(reinterpret_cast<const __m128i*>(_Tmp2));
const __m128i _Haystack_last_part = _mm_load_si128(reinterpret_cast<const __m128i*>(_Tmp2));

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

0 comments on commit 9a3cc9f

Please sign in to comment.