All modern assemblers have this capability. Older ones that do not produce code that crashes at runtime, so it's better to error out during the build process instead. --- configure | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/configure b/configure index 5080dcf..97bedc0 100755 --- a/configure +++ b/configure @@ -3108,9 +3108,8 @@ EOF elf*) enabled debug && append YASMFLAGS $yasm_debug ;; esac - check_yasm "pextrd [eax], xmm0, 1" && enable yasm || + check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm || die "yasm not found, use --disable-yasm for a crippled build" - check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx_external check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external check_yasm "CPU amdnop" && enable cpunop fi -- 1.7.1 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel