diff options
author | lurid <lurid@yandex-team.com> | 2023-04-28 19:32:49 +0300 |
---|---|---|
committer | lurid <lurid@yandex-team.com> | 2023-04-28 19:32:49 +0300 |
commit | ccfeba846eb9466d029983b4b6eb3c731c99e08c (patch) | |
tree | bd992f05d61888546590b8fe0ec9032cf692bd24 /library/cpp/sse | |
parent | 264bb74bee42b95fdefe44c69e0d78520da6580e (diff) | |
download | ydb-ccfeba846eb9466d029983b4b6eb3c731c99e08c.tar.gz |
Fix powerpc.h
Diffstat (limited to 'library/cpp/sse')
-rw-r--r-- | library/cpp/sse/powerpc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/sse/powerpc.h b/library/cpp/sse/powerpc.h index 10c5f6a0da..ef0c98f6a5 100644 --- a/library/cpp/sse/powerpc.h +++ b/library/cpp/sse/powerpc.h @@ -621,7 +621,7 @@ Y_FORCE_INLINE __m128i _mm_sll_epi64(__m128i a, __m128i count) { lshift = (__v2du)vec_splat((__v2du)count, 0); shmask = vec_cmplt(lshift, shmax); result = vec_sl((__v2du)a, lshift); - result = (__v2du)(((vector long long)shmask & ~(vector long long)shmask) | ((vector long long)result & (vector long long)shmask)); + result = result & shmask; return (__m128i)result; } |