aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK/include/fixmul.h
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2014-05-26 12:23:56 -0700
committerMark Harris <mark.hsj@gmail.com>2014-05-26 12:23:56 -0700
commitc15b653b99fbf573ff0aaa2b8c579b0cae693f9c (patch)
treef9b2bb5090d9c97fdf1b761d8d00fa7590611d5f /libFDK/include/fixmul.h
parent5e154c7ed1c801ca8804ce4715345aee9c2c141c (diff)
downloadfdk-aac-c15b653b99fbf573ff0aaa2b8c579b0cae693f9c.tar.gz
fdk-aac-c15b653b99fbf573ff0aaa2b8c579b0cae693f9c.tar.bz2
fdk-aac-c15b653b99fbf573ff0aaa2b8c579b0cae693f9c.zip
Add ppc optimization for clz and fixmul
Optimize ppc/ppc64 similar to i386/x86_64, approximately doubling encoding speed on a Power Mac G5 running OS X 10.5.8.
Diffstat (limited to 'libFDK/include/fixmul.h')
-rw-r--r--libFDK/include/fixmul.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libFDK/include/fixmul.h b/libFDK/include/fixmul.h
index ea4bc6c..39b8d6c 100644
--- a/libFDK/include/fixmul.h
+++ b/libFDK/include/fixmul.h
@@ -104,6 +104,9 @@ amm-info@iis.fraunhofer.de
#elif defined(__x86__) /* cppp replaced: elif */
#include "x86/fixmul_x86.h"
+#elif defined(__powerpc__)
+#include "ppc/fixmul_ppc.h"
+
#endif /* all cores */
/*************************************************************************