[PATCH] Enable USE_FAST_LOG on powerpc64
Anton Blanchard <[email protected]> Fri, 20 Jul 2018 07:49:18 +1000
| Newsgroups | gmane.comp.audio.mp3.lame |
|---|---|
| Message-ID | <20180720074918.0df944f7@kryten> |
Similar to x86_64, enable USE_FAST_LOG on powerpc64. Testing on POWER9 shows an 8% speed up. Signed-off-by: Anton Blanchard <[email protected]> --- diff -ru lame-3.100~/configure.in lame-3.100/configure.in --- lame-3.100~/configure.in 2017-08-16 01:16:31.000000000 +1000 +++ lame-3.100/configure.in 2018-07-12 08:53:07.411502208 +1000 @@ -710,6 +710,11 @@ # The following should not get enabled on a G5. HOWTO check for a G5? AC_DEFINE(USE_FAST_LOG, 1, faster log implementation with less but enough precission) ;; +powerpc64*) + CPUTYPE="no" + + AC_DEFINE(USE_FAST_LOG, 1, faster log implementation with less but enough precission) + ;; *) CPUTYPE="no" ;; ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot