Initial commit of dynamic recompiler.

Various CPU changes to support dynamic recompiler.
This commit is contained in:
TomW 2014-11-05 21:24:16 +00:00
commit 4676daade4
52 changed files with 3740 additions and 1139 deletions

View file

@ -4,12 +4,12 @@ static int opRDTSC(uint32_t fetchdat)
{
pc = oldpc;
x86illegal();
return 0;
return 1;
}
if ((cr4 & CR4_TSD) && CPL)
{
x86gpf("RDTSC when TSD set and CPL != 0", 0);
return 0;
return 1;
}
EAX = tsc & 0xffffffff;
EDX = tsc >> 32;