diff options
Diffstat (limited to 'src/emu/x87emu_private.h')
| -rwxr-xr-x | src/emu/x87emu_private.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/emu/x87emu_private.h b/src/emu/x87emu_private.h index fc71b6d1..333d74c1 100755 --- a/src/emu/x87emu_private.h +++ b/src/emu/x87emu_private.h @@ -50,15 +50,7 @@ static inline void fpu_do_pop(x64emu_t* emu) emu->top = (emu->top+1)&7; } -static inline void fpu_do_free(x64emu_t* emu, int i) -{ - emu->p_regs[(emu->top+i)&7].tag = 0b11; // empty - // check if all empty - for(int j=0; j<8; ++j) - if(emu->p_regs[j].tag != 0b11) - return; - emu->fpu_stack = 0; -} +void fpu_do_free(x64emu_t* emu, int i); void reset_fpu(x64emu_t* emu); |