diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-27 18:40:32 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-27 18:40:32 +0000 |
commit | f36e220f91335ccdfbff489f5531c4325236a8e9 (patch) | |
tree | c1a8ee9ba6bd9fc7698ad678330e5b85f5ae1a54 /src/libutil/str_util.c | |
parent | 562f948beb034c4c490576e2ad86778d44f9bd44 (diff) | |
download | rspamd-f36e220f91335ccdfbff489f5531c4325236a8e9.tar.gz rspamd-f36e220f91335ccdfbff489f5531c4325236a8e9.zip |
[Minor] Use more portable _mm_loadu_si128
Diffstat (limited to 'src/libutil/str_util.c')
-rw-r--r-- | src/libutil/str_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c index 5cee63baf..cb69a8b33 100644 --- a/src/libutil/str_util.c +++ b/src/libutil/str_util.c @@ -3374,8 +3374,8 @@ rspamd_str_has_8bit (const guchar *beg, gsize len) n2 = n1; while (len >= 32) { - __m128i xmm1 = _mm_lddqu_si128 ((const __m128i *)beg); - __m128i xmm2 = _mm_lddqu_si128 ((const __m128i *)nextd); + __m128i xmm1 = _mm_loadu_si128 ((const __m128i *)beg); + __m128i xmm2 = _mm_loadu_si128 ((const __m128i *)nextd); n1 = _mm_or_si128 (n1, xmm1); n2 = _mm_or_si128 (n2, xmm2); |