changeset 21736:e0b3b53c6457

Extend runtime CPU detection to x86-64. inspired by a patch from Zuxy Meng, zuxy.meng gmail com
author diego
date Sat, 23 Dec 2006 23:55:58 +0000
parents 532cfefcf3e0
children 42aae1adb3a4
files configure
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Dec 23 23:28:04 2006 +0000
+++ b/configure	Sat Dec 23 23:55:58 2006 +0000
@@ -1462,8 +1462,9 @@
 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