summaryrefslogtreecommitdiffstats
path: root/libFDK/include/clz.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/clz.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/clz.h')
-rw-r--r--libFDK/include/clz.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libFDK/include/clz.h b/libFDK/include/clz.h
index fc612e1..1e79ec8 100644
--- a/libFDK/include/clz.h
+++ b/libFDK/include/clz.h
@@ -103,6 +103,9 @@ amm-info@iis.fraunhofer.de
#elif defined(__x86__) /* cppp replaced: elif */
#include "x86/clz_x86.h"
+#elif defined(__powerpc__)
+#include "ppc/clz_ppc.h"
+
#endif /* all cores */