Added code generation for first batch of FPU instructions; instructions added are most common instructions used in Quake.

This commit is contained in:
TomW 2015-04-19 08:42:04 +01:00
commit 15bca849c8
11 changed files with 1179 additions and 48 deletions

View file

@ -2,7 +2,8 @@ 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 uint16_t npxs, npxc;
extern uint8_t tag[8];
extern int ismmx;
extern double ST[8];
@ -22,3 +23,6 @@ extern MMX_REG MM[8];
static inline void x87_set_mmx();
static inline void x87_emms();
uint16_t x87_gettag();
void x87_settag(uint16_t new_tag);