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)
commite2532e668c6fa0acfe8a26c27b75d1d068e862a5 (patch)
tree1af98744597d706e888e17d56f9a96c61450f14d /unix/configure.in
parentbfa5a8cd1f13c5913dcfa5264db672616101228a (diff)
parentfd30b7a12eaad501b7b4ffa107c93f58283008b9 (diff)
downloadtcl-e2532e668c6fa0acfe8a26c27b75d1d068e862a5.zip
tcl-e2532e668c6fa0acfe8a26c27b75d1d068e862a5.tar.gz
tcl-e2532e668c6fa0acfe8a26c27b75d1d068e862a5.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?])