diff options
author | Jakub Stachowski <qbast@go2.pl> | 2012-08-11 16:31:02 +0200 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2012-08-14 23:48:55 +0300 |
commit | e036dbc8eb7d5fdd02dc70faff20e9ac3e2989ca (patch) | |
tree | d6d9f180841062d409dcf8bb3fe8b0e3027730c0 /libAACdec/src/aacdec_drc.cpp | |
parent | 6999980d671f70fdae19c8b4663efa5189f9ca6c (diff) | |
download | ODR-AudioEnc-e036dbc8eb7d5fdd02dc70faff20e9ac3e2989ca.tar.gz ODR-AudioEnc-e036dbc8eb7d5fdd02dc70faff20e9ac3e2989ca.tar.bz2 ODR-AudioEnc-e036dbc8eb7d5fdd02dc70faff20e9ac3e2989ca.zip |
Use __builtin_clz instead of default implementation of fixnormz on GCC
The library contains architecture specific versions of the clz functions
for arm and mips, but the fallback C version for other architectures is
pretty slow.
By using __builtin_clz on GCC (available since GCC 3.4), we get a
significant (20-40 %) speedup of the total running time on x86.
Speed difference: 5.1 s instead of 8.6 s for AAC-LC 128 kbit/s and
3.8 s instead of 4.9 s for HE-AACv2 32 kbit/s, on an i7.
Diffstat (limited to 'libAACdec/src/aacdec_drc.cpp')
0 files changed, 0 insertions, 0 deletions