Skip to content
Snippets Groups Projects
Commit dbdaaff4 authored by Richard Henderson's avatar Richard Henderson
Browse files

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: default avatarAurelien Jarno <aurelien@aurel32.net>
Reported-by: default avatarDavid Hildenbrand <david@redhat.com>
Suggested-by: default avatarAurelien Jarno <aurelien@aurel32.net>
Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
parent 19d70587
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment