summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 13:10:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 13:10:09 (GMT)
commitf693213b4dade6f73baf86ae13b2129be2ed0ad1 (patch)
tree8a428c23c89df13b9d208f9c8b7194e6a8a331de /unix/configure.in
parent73dd8c4da919ada224a43fccf582ae5eb5d05d86 (diff)
parentb9ecc426358d3737357f0460caee4eae5be61a3a (diff)
downloadtcl-f693213b4dade6f73baf86ae13b2129be2ed0ad1.zip
tcl-f693213b4dade6f73baf86ae13b2129be2ed0ad1.tar.gz
tcl-f693213b4dade6f73baf86ae13b2129be2ed0ad1.tar.bz2
Move cpuid testcase from win-specific to generic tests
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in
index ad82ee0..066a84f 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -761,7 +761,7 @@ AC_CACHE_CHECK([whether the cpuid instruction is usable], tcl_cv_cpuid, [
"mov %%ebx, %%esi \n\t"
"mov %%edi, %%ebx \n\t"
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
- : "a"(index));
+ : "a"(index) : "edi");
], tcl_cv_cpuid=yes, tcl_cv_cpuid=no)])
if test $tcl_cv_cpuid = yes; then
AC_DEFINE(HAVE_CPUID, 1, [Is the cpuid instruction usable?])