Added MMX emulation (probably some bugs). Implemented RDMSR/WRMSR for Winchip.

This commit is contained in:
TomW 2013-08-03 15:05:50 +01:00
commit 119fe36820
17 changed files with 2362 additions and 65 deletions

View file

@ -675,4 +675,29 @@ static int opCPUID(uint32_t fetchdat)
return 0;
}
static int opRDMSR(uint32_t fetchdat)
{
if (cpu_hasMSR)
{
cpu_RDMSR();
cycles -= 9;
return 0;
}
pc = oldpc;
x86illegal();
return 0;
}
static int opWRMSR(uint32_t fetchdat)
{
if (cpu_hasMSR)
{
cpu_WRMSR();
cycles -= 9;
return 0;
}
pc = oldpc;
x86illegal();
return 0;
}