diff options
| author | Vladislav Shchapov <vladislav@shchapov.ru> | 2024-01-20 23:59:54 +0500 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2024-01-25 10:21:49 +0100 |
| commit | 1aa53f40fc84cd3e9264ef9b5878d641b5ee500a (patch) | |
| tree | caebfc5ed791b8c2b6d050246930e4f7e2615fe6 /cpu_features.h | |
| parent | 44e6bfcc5bc29c63d0b676adb29bdd32993bd89d (diff) | |
| download | Project-Tick-1aa53f40fc84cd3e9264ef9b5878d641b5ee500a.tar.gz Project-Tick-1aa53f40fc84cd3e9264ef9b5878d641b5ee500a.zip | |
Improve x86 intrinsics dependencies.
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
Diffstat (limited to 'cpu_features.h')
| -rw-r--r-- | cpu_features.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu_features.h b/cpu_features.h index 05ee407bf5..b095d79a8a 100644 --- a/cpu_features.h +++ b/cpu_features.h @@ -93,7 +93,7 @@ extern void crc32_fold_pclmulqdq(crc32_fold *crc, const uint8_t *src, size_t extern uint32_t crc32_fold_pclmulqdq_final(crc32_fold *crc); extern uint32_t crc32_pclmulqdq(uint32_t crc32, const uint8_t *buf, size_t len); #endif -#if defined(X86_PCLMULQDQ_CRC) && defined(X86_VPCLMULQDQ_CRC) +#ifdef X86_VPCLMULQDQ_CRC extern uint32_t crc32_fold_vpclmulqdq_reset(crc32_fold *crc); extern void crc32_fold_vpclmulqdq_copy(crc32_fold *crc, uint8_t *dst, const uint8_t *src, size_t len); extern void crc32_fold_vpclmulqdq(crc32_fold *crc, const uint8_t *src, size_t len, uint32_t init_crc); |
