From 5ebb77720082a954ed001ead996ae16725818241 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 10 Dec 2014 13:58:43 +1100 Subject: [PATCH] build: tune code generation options --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2e77a76d..1d89c88e 100644 --- a/configure.ac +++ b/configure.ac @@ -235,18 +235,22 @@ AC_SUBST(ZLIB_LIBS) AS_CASE([$host_cpu], [x86_64], [ AX_APPEND_COMPILE_FLAGS([-mtune=generic], [], [-Werror]) + AX_APPEND_COMPILE_FLAGS([-msse], [], [-Werror]) + AX_APPEND_COMPILE_FLAGS([-msse2], [], [-Werror]) ], [i686], [ AX_APPEND_COMPILE_FLAGS([-march=prescott], [], [-Werror]) AX_APPEND_COMPILE_FLAGS([-mtune=generic], [], [-Werror]) - AX_APPEND_COMPILE_FLAGS([-mfpmath=sse], [], [-Werror]) + AX_APPEND_COMPILE_FLAGS([-mcmov], [], [-Werror]) ], [AC_MSG_WARN([unknown host_cpu])] ) AX_APPEND_COMPILE_FLAGS([-pipe], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-mfpmath=sse], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-msahf], [], [-Werror]) ############################################################################### ## Output