aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaocheng.zy <haocheng.zy@alibaba-inc.com>2022-05-13 23:26:42 +0800
committerMao Han <han_mao@linux.alibaba.com>2022-08-01 16:27:30 +0800
commit3aabcb6abd1b32344370758aaae424735ca061a6 (patch)
tree472e3ed65294f045282da0e800953dd1645fc61d
parent2231acfd626a87afd0f8b065599cc4219fda2258 (diff)
downloadfdk-aac-3aabcb6abd1b32344370758aaae424735ca061a6.tar.gz
fdk-aac-3aabcb6abd1b32344370758aaae424735ca061a6.tar.bz2
fdk-aac-3aabcb6abd1b32344370758aaae424735ca061a6.zip
Add riscv64 support
Signed-off-by: Zhang Ye <haocheng.zy@linux.alibaba.com> Signed-off-by: Mao Han <han_mao@linux.alibaba.com> Change-Id: Ifc1c8801d885b0b4ac1bf91842830ab650780328
-rw-r--r--libFDK/include/FDK_archdef.h7
1 files changed, 7 insertions, 0 deletions
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)! <<<<