aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-11-04 21:52:02 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-11-04 21:52:02 +0000
commit75e9f62078373146534fb7c692fbb554e398a311 (patch)
tree5b478be0fd3cfcec8935ea5639250931d400b955
parentf9820781d992f073535652321b373d3674e70114 (diff)
parent3aabcb6abd1b32344370758aaae424735ca061a6 (diff)
downloadfdk-aac-75e9f62078373146534fb7c692fbb554e398a311.tar.gz
fdk-aac-75e9f62078373146534fb7c692fbb554e398a311.tar.bz2
fdk-aac-75e9f62078373146534fb7c692fbb554e398a311.zip
Merge "Add riscv64 support"
-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)! <<<<