summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2016-09-08 02:46:05 -0400
committerMichael Cahill <michael.cahill@mongodb.com>2016-09-08 16:46:05 +1000
commit881a37eea1668d47c5d5fb38001a2850ca117495 (patch)
tree898db838171a0920fc0b29ac900ecdcf7ec6ee6a /dist
parent5f07ab685f2b1e978cfda354dd52a5fc52f8f8ab (diff)
downloadmongo-881a37eea1668d47c5d5fb38001a2850ca117495.tar.gz
WT-2873 Refactor CRC32 code (#3000)
* Add --enable-crc32-hardware configuration option (configured on by default), which allows CRC32 hardware support to be turned off. * Move the CRC32 implementation in software from the x86-specific code to software/checksum.c, leave the x86-specific code in x86/crc32-x86.c. * Move the pointer to the checksum function from a file static to the WT_PROCESS.cksum field, change the __wt_cksum_init() function to set that field. * WT-2882 Create CRC32 Hardware implementation for ARM8 * Change "cksum" to "checksum" everywhere (hopefully) no semantic changes.
Diffstat (limited to 'dist')
-rw-r--r--dist/filelist4
-rwxr-xr-xdist/s_prototypes1
-rw-r--r--dist/s_string.ok2
3 files changed, 6 insertions, 1 deletions
diff --git a/dist/filelist b/dist/filelist
index e16ae879a33..19fa1122a27 100644
--- a/dist/filelist
+++ b/dist/filelist
@@ -47,9 +47,11 @@ src/btree/row_key.c
src/btree/row_modify.c
src/btree/row_srch.c
src/cache/cache_las.c
+src/checksum/arm64/crc32-arm64.c ARM64_HOST
src/checksum/power8/crc32.S POWERPC_HOST
src/checksum/power8/crc32_wrapper.c POWERPC_HOST
-src/checksum/x86/checksum.c X86_HOST
+src/checksum/software/checksum.c
+src/checksum/x86/crc32-x86.c X86_HOST
src/checksum/zseries/crc32-s390x.c ZSERIES_HOST
src/checksum/zseries/crc32le-vx.S ZSERIES_HOST
src/config/config.c
diff --git a/dist/s_prototypes b/dist/s_prototypes
index a2fe76ffa9b..5633c3b5140 100755
--- a/dist/s_prototypes
+++ b/dist/s_prototypes
@@ -76,6 +76,7 @@ externs
f=../src/include/extern.h
l=`sed \
-e '/^[a-z]/!d' \
+ -e '/\/checksum\/arm64/d' \
-e '/\/checksum\/power8/d' \
-e '/\/checksum\/zseries/d' \
-e '/os_posix/d' \
diff --git a/dist/s_string.ok b/dist/s_string.ok
index 71dd10bd100..1887cbd936f 100644
--- a/dist/s_string.ok
+++ b/dist/s_string.ok
@@ -473,6 +473,7 @@ call's
calloc
cas
catfmt
+cb
ccr
cd
centric
@@ -551,6 +552,7 @@ curtable
cust
customp
cv
+cx
cxa
dT
data's