Reorganised FPU emulation.

This commit is contained in:
TomW 2014-11-09 14:07:03 +00:00
commit 087f412d3f
12 changed files with 2670 additions and 1436 deletions

View file

@ -1,6 +1,10 @@
uint32_t x87_pc_off,x87_op_off;
uint16_t x87_pc_seg,x87_op_seg;
extern uint32_t op32;
extern int TOP;
extern uint16_t npxs, npxc, tag;
extern int ismmx;
extern double ST[8];
typedef union MMX_REG
{
@ -16,5 +20,5 @@ typedef union MMX_REG
extern MMX_REG MM[8];
void x87_set_mmx();
void x87_emms();
static inline void x87_set_mmx();
static inline void x87_emms();