mirror of
https://github.com/intel/isa-l.git
synced 2025-10-29 12:18:00 +01:00
erasure_code: optimize RVV implementation
The ISA-L EC code has been written using RVV vector instructions and the minimum multiplication table, resulting in a performance improvement of over 10 times compared to the existing implementation. Signed-off-by: Shuo Lv <lv.shuo@sanechips.com.cn>
This commit is contained in:
@@ -35,8 +35,13 @@
|
||||
#include "test.h"
|
||||
|
||||
#ifndef ALIGN_SIZE
|
||||
#if HAVE_RVV
|
||||
#define EC_ALIGNED_ADDR
|
||||
#define ALIGN_SIZE 32
|
||||
#else
|
||||
#define ALIGN_SIZE 16
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// By default, test multibinary version
|
||||
#ifndef FUNCTION_UNDER_TEST
|
||||
|
||||
Reference in New Issue
Block a user