aboutsummaryrefslogtreecommitdiff
path: root/authz
diff options
context:
space:
mode:
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>2023-02-02 13:04:29 +0100
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>2023-02-08 09:59:15 +0100
commita4d5d153c4c53076cea70c1609f3d7427322586b (patch)
tree03e81b708881b7da2ffc46d24f3e358532dc59c2 /authz
parent70447df9365c9401643e4260436c64b35aab003e (diff)
downloadqemu-a4d5d153c4c53076cea70c1609f3d7427322586b.zip
qemu-a4d5d153c4c53076cea70c1609f3d7427322586b.tar.gz
qemu-a4d5d153c4c53076cea70c1609f3d7427322586b.tar.bz2
target/tricore: Fix OPC2_32_RRRR_DEXTR
if cpu_gpr_d[r3] == 0 then we were shifting the lower register to the right by 32 which is undefined behaviour. In this case the TriCore would do nothing an just return the higher register cpu_reg_d[r1]. We fixed that by detecting whether cpu_gpr_d[r3] was zero and cleared the lower register. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-Id: <20230202120432.1268-8-kbastian@mail.uni-paderborn.de> Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'authz')
0 files changed, 0 insertions, 0 deletions