CPU with softfloat: Added softfloat versions of the i686 FX opcodes while preserving the existing non-softfloat ones.

This commit is contained in:
TC1995
2023-07-14 21:46:15 +02:00
parent ef05d6a65d
commit f9d5ab39b3
3 changed files with 207 additions and 0 deletions

View File

@@ -141,6 +141,8 @@ void FPU_stack_underflow(uint32_t fetchdat, int stnr, int pop_stack);
int FPU_handle_NaN32(floatx80 a, float32 b, floatx80 *r, struct float_status_t *status);
int FPU_handle_NaN64(floatx80 a, float64 b, floatx80 *r, struct float_status_t *status);
int FPU_tagof(const floatx80 reg);
uint8_t pack_FPU_TW(uint16_t twd);
uint16_t unpack_FPU_TW(uint16_t tag_byte);
static __inline uint16_t
i387_get_control_word(void)