diff options
author | 2017-07-01 13:20:24 -0700 | |
---|---|---|
committer | 2017-07-17 14:13:17 -0700 | |
commit | dbdaaff43adc49f1debd935b1fd58e2b47ba7676 (patch) | |
tree | 08f72aac883850d727d4530dfa0a9ee8b3bd91e0 /bsd-user/bsdload.c | |
parent | target/s390x: Allow to enable "idtes" feature for TCG (diff) | |
download | qemu-dbdaaff43adc49f1debd935b1fd58e2b47ba7676.tar.xz qemu-dbdaaff43adc49f1debd935b1fd58e2b47ba7676.zip |
target/s390x: Fix risbg handling
The rotation is to the left, but extract shifts to the right.
The computation of the extract parameters needs adjusting.
For the entry condition, simplify
64 - rot + len <= 64
-rot + len <= 0
len <= rot
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reported-by: David Hildenbrand <david@redhat.com>
Suggested-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'bsd-user/bsdload.c')
0 files changed, 0 insertions, 0 deletions