diff options
| author | Simon Hosie <shosie@rivosinc.com> | 2023-11-06 15:39:34 -0800 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2023-11-28 10:25:35 +0100 |
| commit | f3211aba349a1d4781d0d41cb00d29fb8325af06 (patch) | |
| tree | b1589d4603d71ec75f9dfef62aeb07299e7b3847 /cpu_features.h | |
| parent | 1003ae6b6ae7dd6b1e2511d12c5d99754a7bb8bd (diff) | |
| download | Project-Tick-f3211aba349a1d4781d0d41cb00d29fb8325af06.tar.gz Project-Tick-f3211aba349a1d4781d0d41cb00d29fb8325af06.zip | |
Add adler32_fold_copy_rvv implementation.
Diffstat (limited to 'cpu_features.h')
| -rw-r--r-- | cpu_features.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu_features.h b/cpu_features.h index aed1eaf90f..00fa6c747c 100644 --- a/cpu_features.h +++ b/cpu_features.h @@ -70,6 +70,9 @@ extern uint32_t adler32_power8(uint32_t adler, const uint8_t *buf, size_t len); #endif /* adler32 folding */ +#ifdef RISCV_RVV +extern uint32_t adler32_fold_copy_rvv(uint32_t adler, uint8_t *dst, const uint8_t *src, size_t len); +#endif #ifdef X86_SSE42 extern uint32_t adler32_fold_copy_sse42(uint32_t adler, uint8_t *dst, const uint8_t *src, size_t len); #endif |
