aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2023-10-06 15:19:55 +0300
committerMartin Storsjo <martin@martin.st>2023-10-06 15:19:55 +0300
commit0f91e9ba6061a1ff927be6c5cc9b24587eb8c181 (patch)
treef41005e322ecc4c6538f2a0223ffdac107b7e0b3 /libFDK
parent0bfca3e06a098811a4cb71f285aa4e14e8f81372 (diff)
parent5543791bdc52c6de2f7274b8d5def73996e6d097 (diff)
downloadfdk-aac-0f91e9ba6061a1ff927be6c5cc9b24587eb8c181.tar.gz
fdk-aac-0f91e9ba6061a1ff927be6c5cc9b24587eb8c181.tar.bz2
fdk-aac-0f91e9ba6061a1ff927be6c5cc9b24587eb8c181.zip
Merge remote-tracking branch 'aosp/main'
Diffstat (limited to 'libFDK')
-rw-r--r--libFDK/include/FDK_archdef.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libFDK/include/FDK_archdef.h b/libFDK/include/FDK_archdef.h
index b4fef8a..2ece9a4 100644
--- a/libFDK/include/FDK_archdef.h
+++ b/libFDK/include/FDK_archdef.h
@@ -222,14 +222,16 @@ amm-info@iis.fraunhofer.de
#define POW2COEFF_16BIT
#define LDCOEFF_16BIT
-#elif defined(__powerpc__)
-#define ARCH_PREFER_MULT_32x32
+#elif defined(__riscv)
#define ARCH_PREFER_MULT_32x16
#define SINETABLE_16BIT
#define POW2COEFF_16BIT
#define LDCOEFF_16BIT
#define WINDOWTABLE_16BIT
+#elif defined(__powerpc__)
+#define ARCH_PREFER_MULT_32x32
+
#else
#warning >>>> Please set architecture characterization defines for your platform (FDK_HIGH_PERFORMANCE)! <<<<