FPU copy should now work.
This commit is contained in:
parent
226b63d682
commit
52a27a9256
7 changed files with 232 additions and 44 deletions
|
|
@ -6,6 +6,7 @@ extern uint16_t npxs, npxc;
|
|||
extern uint8_t tag[8];
|
||||
extern int ismmx;
|
||||
extern double ST[8];
|
||||
extern uint64_t ST_i64[8];
|
||||
|
||||
typedef union MMX_REG
|
||||
{
|
||||
|
|
@ -26,3 +27,6 @@ static inline void x87_emms();
|
|||
|
||||
uint16_t x87_gettag();
|
||||
void x87_settag(uint16_t new_tag);
|
||||
|
||||
/*Hack for FPU copy. If set then ST_i64 contains the 64-bit integer loaded by FILD*/
|
||||
#define TAG_UINT64 (1 << 2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue