]> git.proxmox.com Git - qemu.git/commit - target-arm/translate.c
target-arm: fix bug in translation of REVSH
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 27 Dec 2010 18:54:49 +0000 (19:54 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 27 Dec 2010 18:56:43 +0000 (19:56 +0100)
commit1a855029af40df40144a322bba0e1e61c68eed2a
treee90493fd1888484cdf7f1e6f91d8acf4a5d00673
parent5697f6ae4183f3b3320a1fe677e3404a05e75783
target-arm: fix bug in translation of REVSH

The translation of REVSH shifted the low byte 8 steps left before performing
an 8-bit sign extend, causing this part of the expression to alwas be 0.

Reported-by: Johan Bengtsson <teofrastius@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/translate.c