diff options
author | Richard Henderson | 2016-06-20 03:03:37 +0200 |
---|---|---|
committer | David Gibson | 2016-06-22 03:12:17 +0200 |
commit | 820724d170dd97bd216810c6965ee1ebd0ba01e8 (patch) | |
tree | 2ecdbd9fa21570b5a23415462df71a02b53fadf4 /target-ppc/translate_init.c | |
parent | ppc64: disable gen_pause() for linux-user mode (diff) | |
download | qemu-820724d170dd97bd216810c6965ee1ebd0ba01e8.tar.gz qemu-820724d170dd97bd216810c6965ee1ebd0ba01e8.tar.xz qemu-820724d170dd97bd216810c6965ee1ebd0ba01e8.zip |
target-ppc: Fix rlwimi, rlwinm, rlwnm again
In 63ae0915f8ec, I arranged to use a 32-bit rotate, without
considering the effect of a mask value that wraps around to
the high bits of the word.
[dwg: In 2e11b15 this was partially fixed, but an edge case was still
incorrect, which this fixes]
Signed-off-by: Richard Henderson <rth@twiddle.net>
[dwg: Folded with a revert of 2e11b15, an earlier buggy version of
this patch which already went upstream]
Tested-by: Anton Blanchard <anton@samba.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc/translate_init.c')
0 files changed, 0 insertions, 0 deletions