aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-11-04 22:29:53 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-11-04 22:29:53 +0000
commit87b22603e82b055bb63fd9c759c3f896634fb437 (patch)
tree5b478be0fd3cfcec8935ea5639250931d400b955
parent6097888451ded5cb5d6e33ad54f718f0d9d5e1e0 (diff)
parent75e9f62078373146534fb7c692fbb554e398a311 (diff)
downloadfdk-aac-87b22603e82b055bb63fd9c759c3f896634fb437.tar.gz
fdk-aac-87b22603e82b055bb63fd9c759c3f896634fb437.tar.bz2
fdk-aac-87b22603e82b055bb63fd9c759c3f896634fb437.zip
Merge "Add riscv64 support" am: 75e9f62078
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2171525 Change-Id: I4d5851ffc1e5e1892ec83209045ccf3bf4b188cb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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)! <<<<