summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-23 23:55:58 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-23 23:55:58 +0000
commit0ff3dfbf90df45f2e70885a9d0b0319a6938011a (patch)
tree71d1542f09bb0de6c20128e5131139d79c92e3f9 /configure
parent86f13c8a80386366b244b36554ca30a1cb315872 (diff)
downloadmpv-0ff3dfbf90df45f2e70885a9d0b0319a6938011a.tar.bz2
mpv-0ff3dfbf90df45f2e70885a9d0b0319a6938011a.tar.xz
Extend runtime CPU detection to x86-64.
inspired by a patch from Zuxy Meng, zuxy.meng gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21752 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 5be0b98b86..95fc0d5e3f 100755
--- a/configure
+++ b/configure
@@ -1462,8 +1462,9 @@ EOF
esac # case "$host_arch" in
if test "$_runtime_cpudetection" = yes ; then
- if x86; then
- _cmov=no
+ if x86 || x86_64 ; then
+ _cmov=yes
+ x86 && _cmov=no
_mmx=yes
_3dnow=yes
_3dnowext=yes