diff options
author | Mans Rullgard <mans@mansr.com> | 2012-08-06 00:34:51 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-08-07 15:22:20 +0100 |
commit | 180d43bc67cec071c5a0f4807aa66f7b6242edc1 (patch) | |
tree | cf8ac631f85d3fdc6940d0bd85b5a6821894f4e8 /configure | |
parent | 7238265052d3b7ec1aa61d6ddc72aa1910c22725 (diff) | |
download | ffmpeg-streaming-180d43bc67cec071c5a0f4807aa66f7b6242edc1.zip ffmpeg-streaming-180d43bc67cec071c5a0f4807aa66f7b6242edc1.tar.gz |
x86: use nop cpu directives only if supported
nasm does not support 'CPU foonop' directives. This adds a configure
test for the directive and uses it only if supported.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1084,6 +1084,7 @@ HAVE_LIST=" closesocket cmov cpuid + cpunop dcbzl dev_bktr_ioctl_bt848_h dev_bktr_ioctl_meteor_h @@ -2889,6 +2890,7 @@ EOF die "yasm not found, use --disable-yasm for a crippled build" check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4 + check_yasm "CPU amdnop" && enable cpunop fi case "$cpu" in |