]> git.proxmox.com Git - mirror_qemu.git/commit
target/tricore: Fix RR_JLI clobbering reg A[11]
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 21 Jun 2023 14:22:55 +0000 (16:22 +0200)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 21 Jun 2023 16:09:54 +0000 (18:09 +0200)
commit8da70480f59b4fd423918ac756747c1e35f6f53a
tree0f03d6b9b6b9bf82d378ad5e927b519dc97cbade
parent82736612e75b84f51d8f3529cb35fa3835de5741
target/tricore: Fix RR_JLI clobbering reg A[11]

if A[r1] == A[11], then we would overwrite the destination address of
the jump with the return address.

Reported-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20230621142302.1648383-2-kbastian@mail.uni-paderborn.de>
target/tricore/translate.c