diff options
author | Ali Saidi <alisaidi@amazon.com> | 2020-08-19 00:13:28 -0500 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-10-27 17:54:21 -0700 |
commit | 9bb323ca3447421ee30ef26d1e48896d2d80b742 (patch) | |
tree | 85e42574ea1e877881d25ae35cdc1d4f6c754275 /crc32c.h | |
parent | eb1bc72b9497e2c0e77d66740dc3053b6855a89a (diff) | |
download | memcached-9bb323ca3447421ee30ef26d1e48896d2d80b742.tar.gz |
arm64: Re-add arm crc32c hw acceleration
Use the .arch_extension directive so that a config options and
special cflags aren't required. Add a few tests for both the
software and hardware implementations
Diffstat (limited to 'crc32c.h')
-rw-r--r-- | crc32c.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,4 +17,7 @@ extern crc_func crc32c; void crc32c_init(void); +// Expose a prototype for the crc32c software variant simply for testing purposes +uint32_t crc32c_sw(uint32_t crc, void const *buf, size_t len); + #endif /* CRC32C_H */ |