aboutsummaryrefslogtreecommitdiff
path: root/authz
diff options
context:
space:
mode:
authorAndreas Konopik <andreas.konopik@efs-auto.de>2021-02-11 12:53:29 +0100
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>2021-03-14 14:41:56 +0100
commit9b620609d79ca0e101af024435c5b38b80478969 (patch)
tree320d7d0f2514f91cc5f4e3a987cd1a12ec4d0a0a /authz
parent4f293079402ad9cd1eae73c256d7adedc0b897b5 (diff)
downloadqemu-9b620609d79ca0e101af024435c5b38b80478969.zip
qemu-9b620609d79ca0e101af024435c5b38b80478969.tar.gz
qemu-9b620609d79ca0e101af024435c5b38b80478969.tar.bz2
tricore: fixed faulty conditions for extr and imask
According to the TC 1.3.1. Architecture Manual [1; page 174], results are undefined, if pos + width > 32 and not 31 or if width = 0. We found this error because of a different behavior between qemu-tricore and the real tricore processor. For pos + width = 32, qemu-tricore did not generate any intermediate code and ran into a different state compared to the real hardware. [1] https://www.infineon.com/dgdl/tc_v131_instructionset_v138.pdf?fileId=db3a304412b407950112b409b6dd0352 [BK: Add the why to the commit message] Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: Andreas Konopik <andreas.konopik@efs-auto.de> Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de> Signed-off-by: David Brenken <david.brenken@efs-auto.de> Message-Id: <20210211115329.8984-2-david.brenken@efs-auto.org> Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'authz')
0 files changed, 0 insertions, 0 deletions