diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2023-08-28 13:26:43 +0200 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2023-09-28 10:45:22 +0200 |
commit | ce64babdf60fb9a7de8bcac637243a10db1a3b26 (patch) | |
tree | c675a484b5d7947e3e7cc6ffb7d7cea3aa7753a3 /io/channel-buffer.c | |
parent | 3e2a5107c52f5bf7ed68f4b468cff5be456f1097 (diff) | |
download | qemu-ce64babdf60fb9a7de8bcac637243a10db1a3b26.zip qemu-ce64babdf60fb9a7de8bcac637243a10db1a3b26.tar.gz qemu-ce64babdf60fb9a7de8bcac637243a10db1a3b26.tar.bz2 |
target/tricore: Correctly handle FPU RM from PSW
when we reconstructed PSW using psw_read(), we were trying to clear the
cached USB bits out of env->PSW. The mask was wrong and we would clear
PSW.RM as well.
when we write the PSW using psw_write() we update the rounding modes in
env->fp_status for softfloat. The order of bits used by TriCore is not
the one used by softfloat.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-ID: <20230828112651.522058-4-kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'io/channel-buffer.c')
0 files changed, 0 insertions, 0 deletions