diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2008-11-02 11:19:43 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2008-11-02 11:19:43 +0200 |
commit | e51225dc3135e69d3f0fe6a5502c0c0e77952056 (patch) | |
tree | 4613483bac4110ab3b3b15c427316133784fbad8 /configure | |
parent | 2ad77c5b00ce5d03c5db7633ef12dbe71a297e05 (diff) | |
download | mpv-e51225dc3135e69d3f0fe6a5502c0c0e77952056.tar.bz2 mpv-e51225dc3135e69d3f0fe6a5502c0c0e77952056.tar.xz |
configure: Fix FAST_CMOV detection on AMD64
The code that enabled FAST_CMOV by default was only executed in the
32-bit case. As a result FAST_CMOV was never automatically enabled on
AMD64. Fix this by moving the code out of the arch-specific section so
it's executed on both x86 and AMD64; it's harmless on architectures
that do not support CMOV.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1870,12 +1870,6 @@ EOF esac fi - if test $_cmov = "yes" && test $_fast_cmov = "auto" ; then - _fast_cmov="yes" - else - _fast_cmov="no" - fi - echores "$proc" ;; @@ -2223,6 +2217,12 @@ EOF ;; esac # case "$host_arch" in +if test $_cmov = "yes" && test $_fast_cmov = "auto" ; then + _fast_cmov="yes" +else + _fast_cmov="no" +fi + if test "$_runtime_cpudetection" = yes ; then if x86 ; then test "$_cmov" != no && _cmov=yes |