s390x/tcg: MVCS/MVCP: Properly wrap the length
commit373290d8a8bd9457c40cb2ddcc8a87dd7f03bfe6
authorDavid Hildenbrand <david@redhat.com>
Tue, 3 Sep 2019 11:46:24 +0000 (3 13:46 +0200)
committerDavid Hildenbrand <david@redhat.com>
Mon, 23 Sep 2019 07:28:29 +0000 (23 09:28 +0200)
tree908b7b52005f1ff8f0cf26453bbeffc8e8173ce4
parenta7627565ae52a6806640906c6e9872443899fca8
s390x/tcg: MVCS/MVCP: Properly wrap the length

... and don't perform any move in case the length is zero.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
target/s390x/mem_helper.c