[x264-devel] x86: Enable SSE2 by default on x86-32

Henrik Gramner git at videolan.org
Wed Aug 19 21:16:15 CEST 2015


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Tue Aug 11 17:19:35 2015 +0200| [3dff8af3033a9e81d7966c5749fd361ce421467a] | committer: Anton Mitrofanov

x86: Enable SSE2 by default on x86-32

It makes more sense to tune the defaults to benefit the vast majority of users.

Anyone still using a Pentium III for video encoding is of course free to
explicitly set different flags when compiling.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=3dff8af3033a9e81d7966c5749fd361ce421467a
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 26f6c39..57a47ac 100755
--- a/configure
+++ b/configure
@@ -670,7 +670,7 @@ case $host_cpu in
                 CFLAGS="$CFLAGS -march=i686"
             fi
             if [[ "$asm" == auto && "$CFLAGS" != *-mfpmath* ]]; then
-                CFLAGS="$CFLAGS -mfpmath=sse -msse"
+                CFLAGS="$CFLAGS -mfpmath=sse -msse -msse2"
             fi
             CFLAGS="-m32 $CFLAGS"
             LDFLAGS="-m32 $LDFLAGS"



More information about the x264-devel mailing list