]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/tricore: Fix wrong PSW for call insns
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Fri, 26 May 2023 06:19:45 +0000 (08:19 +0200)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 7 Jun 2023 16:20:48 +0000 (18:20 +0200)
commit12b95dc432eb9a50569258ffa094a029f3cc13dc
treed96f249507a1455ddbd94f475488a33504946989
parent343cdf2c9ad6aef2fbf66cf9c888d20c1de5e784
target/tricore: Fix wrong PSW for call insns

we were copying PSW into a local variable, updated PSW.CDE in the local
and never wrote it back. So when we called save_context_upper() we were
using the non-local version of PSW which did not contain the updated
PSW.CDE.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20230526061946.54514-6-kbastian@mail.uni-paderborn.de>
target/tricore/op_helper.c