Le 01/01/2023 à 15:43, Mark Cave-Ayland a écrit :
The FPSR quotient byte should be set to the value of the quotient and not the result. Switch from using floatx80_mod() to floatx80_modrem() which returns the quotient as a uint64_t which can be used for the quotient byte.Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> --- target/m68k/fpu_helper.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
Reviewed-by: Laurent Vivier <laur...@vivier.eu>