Commit 2c2c48a9 authored by Diego Biurrun's avatar Diego Biurrun

configure: x86: Only enable cpunop on i686

The assembler may insert nopl instructions for cpunop, which are not
(universally) supported on i586 CPUs.
parent f54b5505
......@@ -3431,7 +3431,7 @@ EOF
check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm ||
die "yasm not found, use --disable-yasm for a crippled build"
check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external
check_yasm "CPU amdnop" && enable cpunop
check_yasm "CPU amdnop" && enabled i686 && enable cpunop
fi
case "$cpu" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment