aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/trace.h
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-01-14 23:29:58 +0000
committerLaurent Vivier <laurent@vivier.eu>2023-01-16 09:47:31 +0100
commitad6dae3b3369433ab43a1b190bb3a8aacabb1bbf (patch)
treec8d1c2c400ba7d5d429109832519bc38a831acee /hw/timer/trace.h
parent60b598df6e3e3d76dae6967e03d4418f6aac6064 (diff)
downloadqemu-ad6dae3b3369433ab43a1b190bb3a8aacabb1bbf.zip
qemu-ad6dae3b3369433ab43a1b190bb3a8aacabb1bbf.tar.gz
qemu-ad6dae3b3369433ab43a1b190bb3a8aacabb1bbf.tar.bz2
target/m68k: fix FPSR quotient byte for fmod instruction
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-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230114232959.118224-4-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/timer/trace.h')
0 files changed, 0 insertions, 0 deletions