[Issue 6660] Problem with core.cpuid on Windows7
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 27 01:42:52 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6660
--- Comment #4 from Don <clugdbug at yahoo.com.au> 2011-09-27 01:42:17 PDT ---
Reduced test case is very, very strange:
void main()
{
__gshared uint a;
asm {
mov EAX, 2;
cpuid;
mov a, EAX;
}
uint numinfos = a& 0xFF;
do {
} while (--numinfos);
}
It only happens with cpuid = 2.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list