summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-26 16:49:03 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-12 21:23:38 +0200
commit2c2c48a9bdbef51177204dfc2f151f3be257f9b8 (patch)
tree7607e6bc47503d62fd2bd639bd8d20e996d31edb /configure
parentf54b55058a429c4eea5bae7e5bcb49bd29b34199 (diff)
configure: x86: Only enable cpunop on i686
The assembler may insert nopl instructions for cpunop, which are not (universally) supported on i586 CPUs.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5e8e70e962..b67a8bf10c 100755
--- a/configure
+++ b/configure
@@ -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