aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/crcutil
diff options
context:
space:
mode:
authorspreis <spreis@yandex-team.ru>2022-02-10 16:47:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:13 +0300
commitbcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch)
treed41d29a041d5733ef148335290dbb817b197d4cd /contrib/libs/crcutil
parent986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff)
downloadydb-bcd1126cbd5d445cd0665d295198aa39c6ab8cbe.tar.gz
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/crcutil')
-rw-r--r--contrib/libs/crcutil/multiword_64_64_gcc_i386_mmx.cc6
-rw-r--r--contrib/libs/crcutil/ya.make14
2 files changed, 10 insertions, 10 deletions
diff --git a/contrib/libs/crcutil/multiword_64_64_gcc_i386_mmx.cc b/contrib/libs/crcutil/multiword_64_64_gcc_i386_mmx.cc
index 6bd4ead5bdc..ee3804ad42b 100644
--- a/contrib/libs/crcutil/multiword_64_64_gcc_i386_mmx.cc
+++ b/contrib/libs/crcutil/multiword_64_64_gcc_i386_mmx.cc
@@ -95,7 +95,7 @@ template<> uint64 GenericCrc<uint64, uint64, uint64, 4>::CrcMultiwordI386Mmx(
const uint64 *table_word = &this->crc_word_[0][0];
asm(
- "subl $2*4*8 - 1, %[end]\n"
+ "subl $2*4*8 - 1, %[end]\n"
"cmpl %[src], %[end]\n"
"jbe 2f\n"
@@ -201,7 +201,7 @@ template<> uint64 GenericCrc<uint64, uint64, uint64, 4>::CrcMultiwordI386Mmx(
"2:\n"
"movl %[table_word], %[table]\n"
- "addl $2*4*8 - 8, %[end]\n"
+ "addl $2*4*8 - 8, %[end]\n"
"cmpl %[src], %[end]\n"
"jbe 4f\n"
"3:\n"
@@ -211,7 +211,7 @@ template<> uint64 GenericCrc<uint64, uint64, uint64, 4>::CrcMultiwordI386Mmx(
"cmpl %[src], %[end]\n"
"ja 3b\n"
"4:\n"
- "addl $7, %[end]\n"
+ "addl $7, %[end]\n"
"cmpl %[src], %[end]\n"
"jbe 6f\n"
diff --git a/contrib/libs/crcutil/ya.make b/contrib/libs/crcutil/ya.make
index 2da8ef940f7..3f46fa001c7 100644
--- a/contrib/libs/crcutil/ya.make
+++ b/contrib/libs/crcutil/ya.make
@@ -23,25 +23,25 @@ ENDIF()
IF (ARCH_I386 OR ARCH_X86_64)
IF (OS_WINDOWS)
- SRCS(
- multiword_64_64_cl_i386_mmx.cc
- )
+ SRCS(
+ multiword_64_64_cl_i386_mmx.cc
+ )
ELSEIF (OS_ANDROID AND ARCH_I386)
# 32-bit Android has some problems with register allocation, so we fall back to default implementation
ELSE()
IF (CLANG)
CFLAGS(-DCRCUTIL_USE_MM_CRC32=1)
- IF (ARCH_I386)
- # clang doesn't support this as optimization attribute and has problems with register allocation
+ IF (ARCH_I386)
+ # clang doesn't support this as optimization attribute and has problems with register allocation
SRC(
multiword_64_64_gcc_i386_mmx.cc
-fomit-frame-pointer
)
- ELSE()
+ ELSE()
SRCS(
multiword_64_64_gcc_i386_mmx.cc
)
- ENDIF()
+ ENDIF()
ELSE()
CFLAGS(
-mcrc32