summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixCompat.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 11:42:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-03 11:42:31 (GMT)
commitf2d051b8afa1a1d9acf943607988e4c911ed2d3c (patch)
tree0fe7c3557422b4961634ae6cb04385ba56531d6e /unix/tclUnixCompat.c
parent712d308e92f67f88efc00a5e35e270f8821490a4 (diff)
downloadtcl-f2d051b8afa1a1d9acf943607988e4c911ed2d3c.zip
tcl-f2d051b8afa1a1d9acf943607988e4c911ed2d3c.tar.gz
tcl-f2d051b8afa1a1d9acf943607988e4c911ed2d3c.tar.bz2
Move cpuid testcase from win-specific to generic tests
Simplify stub tables for functions which work on both UNIX and windows
Diffstat (limited to 'unix/tclUnixCompat.c')
-rw-r--r--unix/tclUnixCompat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixCompat.c b/unix/tclUnixCompat.c
index 6e2666b..71bd846 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -698,7 +698,7 @@ TclWinCPUID(
"mov %%ebx, %%esi \n\t" /* save what cpuid just put in %ebx */
"mov %%edi, %%ebx \n\t" /* restore the old %ebx */
: "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
- : "a"(index));
+ : "a"(index) : "edi");
status = TCL_OK;
#endif
return status;