Temporarily reverted that FPU clock cycles change.
This commit is contained in:
@@ -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)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user