And more.

This commit is contained in:
OBattler 2022-02-02 02:51:18 +01:00
parent 25e8801ede
commit b3a8d0aaed
4 changed files with 15 additions and 1 deletions

View File

@ -98,6 +98,8 @@ x386_log(const char *fmt, ...)
#define CONCURRENCY_CYCLES(c) fpu_cycles = (c)
#else
#define CLOCK_CYCLES(c) cycles -= (c)
#define CLOCK_CYCLES_FPU(c) cycles -= (c)
#define CONCURRENCY_CYCLES(c)
#endif
#define CLOCK_CYCLES_ALWAYS(c) cycles -= (c)

View File

@ -283,6 +283,8 @@ static void prefetch_flush()
#define CONCURRENCY_CYCLES(c) fpu_cycles = (c)
#else
#define CLOCK_CYCLES(c) cycles -= (c)
#define CLOCK_CYCLES_FPU(c) cycles -= (c)
#define CONCURRENCY_CYCLES(c)
#endif
#define CLOCK_CYCLES_ALWAYS(c) cycles -= (c)

View File

@ -68,6 +68,9 @@ static __inline void fetch_ea_16_long(uint32_t rmdat)
#if 0
#define CLOCK_CYCLES_FPU(c)
#define CONCURRENCY_CYCLES(c) fpu_cycles = (c)
#else
#define CLOCK_CYCLES_FPU(c)
#define CONCURRENCY_CYCLES(c)
#endif
#define CLOCK_CYCLES_ALWAYS(c) cycles -= (c)

View File

@ -89,12 +89,12 @@ static int refresh = 0, cycdiff;
wait(val, 0); \
}
#if 0
#define CLOCK_CYCLES_ALWAYS(val) \
{ \
wait(val, 0); \
}
#if 0
#define CLOCK_CYCLES_FPU(val) \
{ \
wait(val, 0); \
@ -119,6 +119,13 @@ static int refresh = 0, cycdiff;
{ \
wait(val, 0); \
}
#define CLOCK_CYCLES_FPU(val) \
{ \
wait(val, 0); \
}
#define CONCURRENCY_CYCLES(c)
#endif