Temporarily reverted that FPU clock cycles change.

This commit is contained in:
OBattler
2022-02-01 19:07:22 +01:00
parent 9afd11ddc9
commit b92d45125e
2 changed files with 8 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ x386_log(const char *fmt, ...)
#define OP_TABLE(name) ops_ ## name
#if 0
#define CLOCK_CYCLES(c) \
{\
if (fpu_cycles > 0) {\
@@ -92,6 +93,9 @@ x386_log(const char *fmt, ...)
cycles -= (c);\
}\
}
#else
#define CLOCK_CYCLES(c) cycles -= (c)
#endif
#define CLOCK_CYCLES_FPU(c) cycles -= (c)
#define CONCURRENCY_CYCLES(c) fpu_cycles = (c)

View File

@@ -267,6 +267,7 @@ static void prefetch_flush()
#define OP_TABLE(name) ops_ ## name
#if 0
#define CLOCK_CYCLES(c) \
{\
if (fpu_cycles > 0) {\
@@ -278,6 +279,9 @@ static void prefetch_flush()
cycles -= (c);\
}\
}
#else
#define CLOCK_CYCLES(c) cycles -= (c)
#endif
#define CLOCK_CYCLES_FPU(c) cycles -= (c)
#define CONCURRENCY_CYCLES(c) fpu_cycles = (c)
#define CLOCK_CYCLES_ALWAYS(c) cycles -= (c)