[x264-devel] commit: compile x86 with fpmath=sse by default (Loren Merritt )
git version control
git at videolan.org
Thu Aug 27 08:14:54 CEST 2009
x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Thu Aug 27 06:05:57 2009 +0000| [ec87bbe09dabaf9e6467bf2e27c36d7fb284518b] | committer: Loren Merritt
compile x86 with fpmath=sse by default
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=ec87bbe09dabaf9e6467bf2e27c36d7fb284518b
---
configure | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index ac07a01..767570a 100755
--- a/configure
+++ b/configure
@@ -239,6 +239,9 @@ case $host_cpu in
if [[ "$asm" == yes && "$CFLAGS" != *-march* ]]; then
CFLAGS="$CFLAGS -march=i686"
fi
+ if [[ "$asm" == yes && "$CFLAGS" != *-mfpmath* ]]; then
+ CFLAGS="$CFLAGS -mfpmath=sse -msse"
+ fi
if [ "$SYS" = MACOSX ]; then
ASFLAGS="$ASFLAGS -f macho -DPREFIX"
elif [ "$SYS" = MINGW ]; then
More information about the x264-devel
mailing list