From: Henrik Gramner Date: Tue, 11 Aug 2015 15:19:35 +0000 (+0200) Subject: x86: Enable SSE2 by default on x86-32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3dff8af3033a9e81d7966c5749fd361ce421467a;p=libx264 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. --- diff --git a/configure b/configure index 26f6c390..57a47acc 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"