summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 12:31:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 12:31:19 (GMT)
commitb9ecc426358d3737357f0460caee4eae5be61a3a (patch)
tree1af98744597d706e888e17d56f9a96c61450f14d /unix/configure.in
parent0d066cf5f9286f6ecb836a4c131cdd3d70b76734 (diff)
parentf2d051b8afa1a1d9acf943607988e4c911ed2d3c (diff)
downloadtcl-b9ecc426358d3737357f0460caee4eae5be61a3a.zip
tcl-b9ecc426358d3737357f0460caee4eae5be61a3a.tar.gz
tcl-b9ecc426358d3737357f0460caee4eae5be61a3a.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 aea5ee5..441c98f 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -737,7 +737,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?])