Update x87_ops_misc.h

Fix PR commit.
This commit is contained in:
TC1995
2023-04-30 18:43:26 +02:00
committed by GitHub
parent 43245c69b4
commit 07a7af84a5

View File

@@ -33,6 +33,7 @@ opFNOP(uint32_t fetchdat)
return 0;
}
static int
opFXTRACT(uint32_t fetchdat)
{
x87_conv_t test;
@@ -516,20 +517,6 @@ opFCHS(uint32_t fetchdat)
return 0;
}
static int
opFXTRACT(uint32_t fetchdat)
{
double_decompose_t temp = (double_decompose_t) ST(0);
FP_ENTER();
cpu_state.pc++;
ST(0) = (double) temp.exponent;
x87_push((double) temp.mantissa);
CLOCK_CYCLES_FPU((fpu_type >= FPU_487SX) ? (x87_timings.fxtract) : (x87_timings.fxtract * cpu_multi));
CONCURRENCY_CYCLES((fpu_type >= FPU_487SX) ? (x87_concurrency.fxtract) : (x87_concurrency.fxtract * cpu_multi));
return 0;
}
static int
opFABS(uint32_t fetchdat)
{