[vlc-devel] [PATCH 15/16] Change compiler options
glenvt18
glenvt18 at gmail.com
Fri Jun 26 13:20:09 CEST 2015
-funroll-loops adds 2-3% on x86 and 5% on arm with gcc-4.9.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index f978a02..c3c9c7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING(--enable-debug, [Enable debug]), enable_debu
if test "$enable_debug" = "yes" ; then
GCC_CFLAGS="$CFLAGS -g -DDVBCSA_DEBUG -D_XOPEN_SOURCE=600"
else
- GCC_CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -D_XOPEN_SOURCE=600"
+ GCC_CFLAGS="$CFLAGS -O3 -funroll-loops -fomit-frame-pointer -D_XOPEN_SOURCE=600"
fi
AC_ARG_ENABLE(uint32, AC_HELP_STRING(--enable-uint32, [Use native 32 bits integers for bitslice]), enable_uint32=$enableval, enable_uint32=no)
--
1.9.1
More information about the vlc-devel
mailing list