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>
Loading
Please register or sign in to comment