aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Beauxis <toots@rastageeks.org>2014-08-17 09:38:29 -0500
committerMartin Storsjö <martin@martin.st>2023-12-05 23:01:29 +0200
commitc16d5d72c99a77c8bcb788a922323b0b59035803 (patch)
treec5ff6187d4d1a1b44a649cb914d2eb333bbe6d1a
parent8264e376ea6f2fdaa3813ff1a8463e368d95083c (diff)
downloadfdk-aac-c16d5d72c99a77c8bcb788a922323b0b59035803.tar.gz
fdk-aac-c16d5d72c99a77c8bcb788a922323b0b59035803.tar.bz2
fdk-aac-c16d5d72c99a77c8bcb788a922323b0b59035803.zip
Add build support for s390x
-rw-r--r--libFDK/include/FDK_archdef.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libFDK/include/FDK_archdef.h b/libFDK/include/FDK_archdef.h
index 2ece9a4..f3254f2 100644
--- a/libFDK/include/FDK_archdef.h
+++ b/libFDK/include/FDK_archdef.h
@@ -232,6 +232,14 @@ amm-info@iis.fraunhofer.de
#elif defined(__powerpc__)
#define ARCH_PREFER_MULT_32x32
+#elif defined(__s390x__)
+#define ARCH_PREFER_MULT_32x32
+#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)! <<<<