]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Use more portable _mm_loadu_si128
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 27 Jan 2020 18:40:32 +0000 (18:40 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 27 Jan 2020 18:40:32 +0000 (18:40 +0000)
src/libutil/str_util.c

index 5cee63bafc78b8a59f2914fac5c3b066f554c30e..cb69a8b338c2e2d10dec1a2d11dd4a6bffb98f39 100644 (file)
@@ -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);