Commit cdb3eee7 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Michael Niedermayer

configure: Fix miscompilation for i586

If the CPU is 386, 486 or pentium, we must not use cmov in inline
assembler.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b3fd2b17
...@@ -3842,6 +3842,7 @@ elif enabled x86; then ...@@ -3842,6 +3842,7 @@ elif enabled x86; then
case $cpu in case $cpu in
i[345]86|pentium) i[345]86|pentium)
cpuflags="-march=$cpu" cpuflags="-march=$cpu"
disable i686
disable mmx disable mmx
;; ;;
# targets that do NOT support nopl and conditional mov (cmov) # targets that do NOT support nopl and conditional mov (cmov)
......
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