diff options
author | Robin KAY <komadori@users.sourceforge.net> | 2004-05-22 23:38:13 +0000 |
---|---|---|
committer | Robin KAY <komadori@users.sourceforge.net> | 2004-05-22 23:38:13 +0000 |
commit | bfec753d0da378271e029b783624b81845745285 (patch) | |
tree | 0679ec955c5225c13bb4ccc0ce0214942d059981 | |
parent | 8b475790cbeeb1cea631c9fac276be8b32370f1a (diff) | |
download | xine-lib-bfec753d0da378271e029b783624b81845745285.tar.gz xine-lib-bfec753d0da378271e029b783624b81845745285.tar.bz2 |
Removed -funroll-all-loops from SPARC and PPC targets as it negatively affected performance.
CVS patchset: 6577
CVS date: 2004/05/22 23:38:13
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | configure.ac | 18 |
2 files changed, 11 insertions, 9 deletions
@@ -7,6 +7,8 @@ * fixed compilation of libmad on AMD64 * fixed double-free in the yuv decoder (fixes crashes when switching away from v4l:/ MRLs) + * removed -funroll-all-loops from SPARC and PPC targets as it negatively + affected performance xine-lib (1-rc4a) * audio out now uses a more user friendly "Speaker arrangement" config item; diff --git a/configure.ac b/configure.ac index fc3c6e1db..315b2677c 100644 --- a/configure.ac +++ b/configure.ac @@ -1622,7 +1622,7 @@ case "$host_or_hostalias" in ;; ppc-*-linux* | powerpc-*) - CFLAGS="-O3 -pipe -fomit-frame-pointer $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions $CFLAGS" + CFLAGS="-O3 -pipe -fomit-frame-pointer $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -finline-functions $CFLAGS" DEBUG_CFLAGS="-O3 $DEBUG_CFLAGS" dnl avoid ppc compilation crash AS="$CC" @@ -1647,8 +1647,8 @@ case "$host_or_hostalias" in ;; esac - CFLAGS="-O3 $cpu_cflags -funroll-loops -funroll-all-loops -finline-functions $CFLAGS" - DEBUG_CFLAGS="-O $cpu_cflags -funroll-loops -funroll-all-loops -finline-functions $DEBUG_CFLAGS" + CFLAGS="-O3 $cpu_cflags -funroll-loops -finline-functions $CFLAGS" + DEBUG_CFLAGS="-O $cpu_cflags -funroll-loops -finline-functions $DEBUG_CFLAGS" AC_DEFINE_UNQUOTED(FPM_SPARC,,[Define to select libmad fixed point arithmetic implementation]) AC_DEFINE_UNQUOTED(ARCH_SPARC,,[Define this if you're running SPARC architecture]) @@ -1680,19 +1680,19 @@ case "$host_or_hostalias" in *) cpu_cflags= ;; esac - cc_optimize_cflags="-O3 $cpu_cflags -funroll-loops -funroll-all-loops -finline-functions" - cc_debug_cflags="-O $cpu_cflags -funroll-loops -funroll-all-loops -finline-functions" + cc_optimize_cflags="-O3 $cpu_cflags -funroll-loops -finline-functions" + cc_debug_cflags="-O $cpu_cflags -funroll-loops -finline-functions" AC_DEFINE_UNQUOTED(FPM_SPARC,,[Define to select libmad fixed point arithmetic implementation]) dnl uses gnu c asm extensions AC_DEFINE_UNQUOTED(ARCH_SPARC,,[Define this if you're running SPARC architecture]) else case `uname -m` in - sun4c) cpu_cflags="-xarch=v7 -xchip=ultra2" ;; - sun4m) cpu_cflags="-xarch=v8 -xchip=ultra2" ;; - sun4u) cpu_cflags="-xarch=v8plusa -xchip=ultra2" ;; + sun4c) cpu_cflags="-xarch=v7" ;; + sun4m) cpu_cflags="-xarch=v8" ;; + sun4u) cpu_cflags="-xarch=v8plusa" ;; esac - cc_optimize_cflags="-xO5 $cpu_cflags -xCC" + cc_optimize_cflags="-fast $cpu_cflags -xCC" cc_debug_cflags="-O" AC_DEFINE_UNQUOTED(FPM_64BIT,,[Define to select libmad fixed point arithmetic implementation]) dnl use portable version with non-gcc fi |