summaryrefslogtreecommitdiff
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-07 11:18:54 (GMT)
committer Derek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-09 11:44:19 (GMT)
commit9e3946aadaef6f7d7ef15c31b5ff1e73d0ba79a1 (patch)
treeda18c8ca2879c4c3fdd894b70326624db8af0ee2
parentb2148faca9e9e553c14b27844b56e367c85a777e (diff)
downloadffmpeg-9e3946aadaef6f7d7ef15c31b5ff1e73d0ba79a1.zip
ffmpeg-9e3946aadaef6f7d7ef15c31b5ff1e73d0ba79a1.tar.gz
ffmpeg-9e3946aadaef6f7d7ef15c31b5ff1e73d0ba79a1.tar.bz2
build: Require yasm 0.8.0 or higher
This is in preparation for removing a .rodata kludge which was only required for older YASM versions. The movbe instruction was introduced in 0.8.0, which already had AVX, which was introduced in 0.7.0, and NASM introduced movbe in 2.0.3, which is the same version which introduced AVX support. Also, make the failure message more accurate. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 167f4ee..7e52abf 100755
--- a/configure
+++ b/configure
@@ -3591,8 +3591,8 @@ EOF
elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
esac
- check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm ||
- die "yasm not found, use --disable-yasm for a crippled build"
+ check_yasm "movbe ecx, [5]" && enable yasm ||
+ die "yasm/nasm not found or too old. Use --disable-yasm for a crippled build."
check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external
check_yasm "CPU amdnop" && enable cpunop
fi