From 3aabcb6abd1b32344370758aaae424735ca061a6 Mon Sep 17 00:00:00 2001 From: "haocheng.zy" Date: Fri, 13 May 2022 23:26:42 +0800 Subject: Add riscv64 support Signed-off-by: Zhang Ye Signed-off-by: Mao Han Change-Id: Ifc1c8801d885b0b4ac1bf91842830ab650780328 --- libFDK/include/FDK_archdef.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libFDK/include/FDK_archdef.h b/libFDK/include/FDK_archdef.h index 95601bb..3d0cddf 100644 --- a/libFDK/include/FDK_archdef.h +++ b/libFDK/include/FDK_archdef.h @@ -219,6 +219,13 @@ amm-info@iis.fraunhofer.de #define POW2COEFF_16BIT #define LDCOEFF_16BIT +#elif defined(__riscv) +#define ARCH_PREFER_MULT_32x16 +#define SINETABLE_16BIT +#define POW2COEFF_16BIT +#define LDCOEFF_16BIT +#define WINDOWTABLE_16BIT + #else #warning >>>> Please set architecture characterization defines for your platform (FDK_HIGH_PERFORMANCE)! <<<< -- cgit v1.2.3