Added code generation for first batch of FPU instructions; instructions added are most common instructions used in Quake.
This commit is contained in:
parent
f1551a8f76
commit
15bca849c8
11 changed files with 1179 additions and 48 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue