aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/base64/avx2/dec_avx2.c
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:29 +0300
commitf773626848a7c7456803654292e716b83d69cc12 (patch)
treedb052dfcf9134f492bdbb962cb6c16cea58e1ed3 /contrib/libs/base64/avx2/dec_avx2.c
parentf43ab775d197d300eb67bd4497632b909cd7c2a5 (diff)
downloadydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/base64/avx2/dec_avx2.c')
-rw-r--r--contrib/libs/base64/avx2/dec_avx2.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/libs/base64/avx2/dec_avx2.c b/contrib/libs/base64/avx2/dec_avx2.c
index cd3cafd30a..27d6e1ccb8 100644
--- a/contrib/libs/base64/avx2/dec_avx2.c
+++ b/contrib/libs/base64/avx2/dec_avx2.c
@@ -38,13 +38,13 @@ while (srclen >= 45)
// Check for invalid input: if any of the delta values are zero,
// fall back on bytewise code to do error checking and reporting:
-#ifdef _MSC_VER
- // Hack for MSVC miscompilation - it inserts vzeroupper for the break
- // (we need to clear YMM registers before exiting the function)
- // while delta and str are still in the registers.
- // Save delta/str in memory manually.
- _mm256_zeroupper();
-#endif
+#ifdef _MSC_VER
+ // Hack for MSVC miscompilation - it inserts vzeroupper for the break
+ // (we need to clear YMM registers before exiting the function)
+ // while delta and str are still in the registers.
+ // Save delta/str in memory manually.
+ _mm256_zeroupper();
+#endif
if (_mm256_movemask_epi8(CMPEQ(delta, 0))) {
break;
}