diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-06-02 13:45:35 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-06-02 13:45:35 +0300 |
commit | 7e74cbd28778b9f786ede607741a421595f94f4d (patch) | |
tree | d760340fdbe2b259f0bff5ead2b49d23265587d5 /build_ffmpeg.sh | |
parent | b2952a2207c715ad947e36cf403f738e3fbeda44 (diff) |
Build with SSE2 by default
SSE2 has been available in CPUs for almost 15 years.
Boosts performance by 1-10% depending on decoders/filters used.
Diffstat (limited to 'build_ffmpeg.sh')
-rw-r--r-- | build_ffmpeg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_ffmpeg.sh b/build_ffmpeg.sh index 0809d374..bd275e75 100644 --- a/build_ffmpeg.sh +++ b/build_ffmpeg.sh @@ -92,7 +92,7 @@ configure() ( EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -L../thirdparty/lib64" else OPTIONS="${OPTIONS} --cpu=i686" - EXTRA_CFLAGS="${EXTRA_CFLAGS} -mmmx -msse -mfpmath=sse" + EXTRA_CFLAGS="${EXTRA_CFLAGS} -mmmx -msse -msse2 -mfpmath=sse -mstackrealign" EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -L../thirdparty/lib32" fi |