diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-01-22 16:04:07 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-01-22 16:04:07 -0500 |
commit | c90ea2bd6dc76d4b14f747f818ca18b788aa035e (patch) | |
tree | 1b338ec33f3846b97fd703e9e0f096432dc25f93 | |
parent | fdec7fe2035f118237d30c314a27dae0624822b6 (diff) |
cpuid instruction clobbers eax/ebx/ecx/edx
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3127,7 +3127,7 @@ void CallCPUID(int in, int& aret, int& cret) "mov %%ecx, %1;" // ecx into c :"=r"(a),"=r"(c) /* output */ :"r"(in) /* input */ - :"%eax","%ecx" /* clobbered register */ + :"%eax","%ebx","%ecx","%edx" /* clobbered register */ ); aret = a; cret = c; |