target-s390x: fix MOVE LONG instruction
commitb5edcddda31b464e73cc0a79e88457e603c3b247
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 16 Jun 2015 20:57:47 +0000 (16 22:57 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 7 Jul 2015 15:51:47 +0000 (7 17:51 +0200)
tree95f873d36d2c3c1f3a8c461e26290db518a70348
parentaeb72188e073d515e1f5a80f6b603692a396477b
target-s390x: fix MOVE LONG instruction

The MOVE LONG instruction should pad the destination operand with the
byte from bit positions 32-39 of the source length (r2 + 1), not with
the same byte in the source address.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/mem_helper.c