View Single Post
Old 02 March 2018, 14:40   #8
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
I just had a look into your softfloat source code at github and now I understand how you are handling the 80-bit floating point numbers. As you said, by using int32 for the exponent and uint64 for the mantissa. And it seems that you're using completely new softfloat subroutines like softfloat.cpp and softfloat_fpsp.cpp as an alternative to fpp.cpp. That was my question: how can fpp.cpp handle 80-bit floating point numbers? Answer: it's replaced.

My 80-bit array constants (xhex) are used in jit/compemu_fpp.cpp (line 1011 ...) for assigning the 80-bit numbers directly to the floating point registers. For example:
Quote:
fmov_ext_rm (dreg, uae_p32(&xhex_l10_2));
Similar to your softfloat method (using int32 and uint64) it should also be possible to support the 80-bit with the Intel FPU, at least for the Jit, but who wants to write that code?
PeterK is offline  
 
Page generated in 0.04207 seconds with 11 queries