summary refs log tree commit diff stats
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2017-07-01 13:20:24 -0700
committerRichard Henderson <rth@twiddle.net>2017-07-17 14:13:17 -0700
commitdbdaaff43adc49f1debd935b1fd58e2b47ba7676 (patch)
tree08f72aac883850d727d4530dfa0a9ee8b3bd91e0 /hw/core/machine.c
parent19d70587b59f7879a0315a6d98c2409957154351 (diff)
downloadfocaccia-qemu-dbdaaff43adc49f1debd935b1fd58e2b47ba7676.tar.gz
focaccia-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 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions