https://issues.dlang.org/show_bug.cgi?id=6660
Andrei Alexandrescu changed:
What|Removed |Added
Version|D1 & D2 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=6660
Don changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=6660
--- Comment #8 from Don 2011-12-22 02:41:41 PST ---
This is interesting.
http://msdn.microsoft.com/en-us/library/windows/hardware/ff538528%28v=vs.85%29.aspx
"A CPUID intercept message is delivered by the hypervisor when a virtual
processor ex
http://d.puremagic.com/issues/show_bug.cgi?id=6660
--- Comment #7 from Don 2011-09-27 18:12:05 PDT ---
The reduced test case from test15.d looks _completely_ different:
void main()
{
char[] a = new char[0];
uint c = 2;
while (c--)
a ~= 'x';
}
This looks as though the gc is
http://d.puremagic.com/issues/show_bug.cgi?id=6660
--- Comment #6 from Don 2011-09-27 12:20:31 PDT ---
My theory is not correct. I figured that I could check if the number of
iterations was wrong by using rdtsc to see how many instructions are executed.
But it shows nothing unusual.
I'm no long
http://d.puremagic.com/issues/show_bug.cgi?id=6660
--- Comment #5 from Don 2011-09-27 03:57:59 PDT ---
This is really incredible. I've removed all of the D code, and I can still
reproduce the behaviour. If you uncomment out the jz line, it won't happen.
The 'int 3' line is just a breakpoint, to
http://d.puremagic.com/issues/show_bug.cgi?id=6660
--- Comment #4 from Don 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 {
http://d.puremagic.com/issues/show_bug.cgi?id=6660
Don changed:
What|Removed |Added
Summary|Problem with SSE registers |Problem with core.cpuid on
|in