Added missing FYL2XP1 instruction.

This commit is contained in:
TomW 2015-05-03 20:53:18 +01:00
commit 1802996443
2 changed files with 13 additions and 2 deletions

View file

@ -465,6 +465,17 @@ static int opFYL2X(uint32_t fetchdat)
return 0;
}
static int opFYL2XP1(uint32_t fetchdat)
{
FP_ENTER();
pc++;
if (fplog) pclog("FYL2XP1\n");
ST(1) = ST(1) * (log(ST(0)+1.0) / log(2.0));
x87_pop();
CLOCK_CYCLES(250);
return 0;
}
static int opFPTAN(uint32_t fetchdat)
{
FP_ENTER();