removed a few leftover DPRINT..s
This commit is contained in:
@@ -149,12 +149,9 @@ extern "C" { /* Use "C" linkage when in C++ mode */
|
|||||||
void X86EMU_exec(void);
|
void X86EMU_exec(void);
|
||||||
void X86EMU_halt_sys(void);
|
void X86EMU_halt_sys(void);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DBG_X86EMU
|
||||||
#define HALT_SYS() \
|
#define HALT_SYS() \
|
||||||
DPRINT("halt_sys: file "); \
|
dbg("%s: halt_sys: file %s line %d\r\n", __FUNCTION__, __FILE__, __LINE__);\
|
||||||
DPRINT(__FILE__); \
|
|
||||||
DPRINTVAL(", line ", __LINE__); \
|
|
||||||
DPRINT("\r\n"); \
|
|
||||||
X86EMU_halt_sys();
|
X86EMU_halt_sys();
|
||||||
#else
|
#else
|
||||||
#define HALT_SYS() X86EMU_halt_sys()
|
#define HALT_SYS() X86EMU_halt_sys()
|
||||||
|
|||||||
@@ -65,12 +65,6 @@
|
|||||||
|
|
||||||
#include "radeonfb.h"
|
#include "radeonfb.h"
|
||||||
|
|
||||||
#ifdef DEBUG_X86EMU
|
|
||||||
#define DEBUG /* => see also sys.c */
|
|
||||||
#else
|
|
||||||
#undef DEBUG
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "x86emu.h"
|
#include "x86emu.h"
|
||||||
#include "x86regs.h"
|
#include "x86regs.h"
|
||||||
#include "x86decode.h"
|
#include "x86decode.h"
|
||||||
|
|||||||
@@ -80,12 +80,13 @@ struct x86_fpu_reg {
|
|||||||
|
|
||||||
#define X86_FPU_STKTOP 0
|
#define X86_FPU_STKTOP 0
|
||||||
|
|
||||||
struct x86_fpu_registers {
|
struct x86_fpu_registers
|
||||||
|
{
|
||||||
struct x86_fpu_reg x86_fpu_stack[8];
|
struct x86_fpu_reg x86_fpu_stack[8];
|
||||||
int x86_fpu_flags;
|
int x86_fpu_flags;
|
||||||
int x86_fpu_config; /* rounding modes, etc. */
|
int x86_fpu_config; /* rounding modes, etc. */
|
||||||
short x86_fpu_tos, x86_fpu_bos;
|
short x86_fpu_tos, x86_fpu_bos;
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma pack()
|
#pragma pack()
|
||||||
|
|
||||||
@@ -102,14 +103,14 @@ struct x86_fpu_registers {
|
|||||||
|
|
||||||
#endif /* X86_FPU_SUPPORT */
|
#endif /* X86_FPU_SUPPORT */
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DBG_X86EMU
|
||||||
# define DECODE_PRINTINSTR32(t,mod,rh,rl) \
|
#define DECODE_PRINTINSTR32(t, mod, rh, rl) \
|
||||||
DECODE_PRINTF(t[(mod<<3)+(rh)]);
|
DECODE_PRINTF(t[(mod << 3) + (rh)]);
|
||||||
# define DECODE_PRINTINSTR256(t,mod,rh,rl) \
|
#define DECODE_PRINTINSTR256(t, mod, rh, rl) \
|
||||||
DECODE_PRINTF(t[(mod<<6)+(rh<<3)+(rl)]);
|
DECODE_PRINTF(t[(mod << 6) + (rh << 3) + (rl)]);
|
||||||
#else
|
#else
|
||||||
# define DECODE_PRINTINSTR32(t,mod,rh,rl)
|
#define DECODE_PRINTINSTR32(t,mod,rh,rl)
|
||||||
# define DECODE_PRINTINSTR256(t,mod,rh,rl)
|
#define DECODE_PRINTINSTR256(t,mod,rh,rl)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __X86EMU_FPU_REGS_H */
|
#endif /* __X86EMU_FPU_REGS_H */
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ extern "C" { /* Use "C" linkage when in C++ mode */
|
|||||||
|
|
||||||
extern X86EMU_sysEnv _X86EMU_env;
|
extern X86EMU_sysEnv _X86EMU_env;
|
||||||
|
|
||||||
#define M _X86EMU_env
|
#define M _X86EMU_env
|
||||||
|
|
||||||
#define X86_EAX M.x86.R_EAX
|
#define X86_EAX M.x86.R_EAX
|
||||||
#define X86_EBX M.x86.R_EBX
|
#define X86_EBX M.x86.R_EBX
|
||||||
|
|||||||
1655
x86emu/x86fpu.c
1655
x86emu/x86fpu.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user