comparison configure @ 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 b10aaa4bbff7
children 42aae1adb3a4
comparison
equal deleted inserted replaced
21735:532cfefcf3e0 21736:e0b3b53c6457
1460 die "unsupported architecture $host_arch" 1460 die "unsupported architecture $host_arch"
1461 ;; 1461 ;;
1462 esac # case "$host_arch" in 1462 esac # case "$host_arch" in
1463 1463
1464 if test "$_runtime_cpudetection" = yes ; then 1464 if test "$_runtime_cpudetection" = yes ; then
1465 if x86; then 1465 if x86 || x86_64 ; then
1466 _cmov=no 1466 _cmov=yes
1467 x86 && _cmov=no
1467 _mmx=yes 1468 _mmx=yes
1468 _3dnow=yes 1469 _3dnow=yes
1469 _3dnowext=yes 1470 _3dnowext=yes
1470 _mmxext=yes 1471 _mmxext=yes
1471 _sse=yes 1472 _sse=yes