diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2016-09-08 02:46:05 -0400 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2016-09-08 16:46:05 +1000 |
commit | 881a37eea1668d47c5d5fb38001a2850ca117495 (patch) | |
tree | 898db838171a0920fc0b29ac900ecdcf7ec6ee6a /build_win | |
parent | 5f07ab685f2b1e978cfda354dd52a5fc52f8f8ab (diff) | |
download | mongo-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 'build_win')
-rw-r--r-- | build_win/wiredtiger_config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_win/wiredtiger_config.h b/build_win/wiredtiger_config.h index ad82b13f8a8..83ddc6eb194 100644 --- a/build_win/wiredtiger_config.h +++ b/build_win/wiredtiger_config.h @@ -22,6 +22,9 @@ /* Define to 1 if you have the `clock_gettime' function. */ /* #undef HAVE_CLOCK_GETTIME */ +/* Define to 1 to enable CRC32 hardware support. */ +/* #undef HAVE_CRC32_HARDWARE */ + /* Define to 1 for diagnostic tests. */ /* #undef HAVE_DIAGNOSTIC */ |