s390x/tcg: MVC: Use is_destructive_overlap()
commitb7dd1f7fd4568326027e8fdf6dcca656e1ce95b9
authorDavid Hildenbrand <david@redhat.com>
Tue, 3 Sep 2019 11:38:12 +0000 (3 13:38 +0200)
committerDavid Hildenbrand <david@redhat.com>
Mon, 23 Sep 2019 07:28:29 +0000 (23 09:28 +0200)
tree9f9720a20f408beb8814bfc9ee52f9a62295ca4d
parentd573ffde0ced387b90283a20e45471f38b9605f8
s390x/tcg: MVC: Use is_destructive_overlap()

Let's use the new helper, that also detects destructive overlaps when
wrapping.

We'll make the remaining code (e.g., fast_memmove()) aware of wrapping
later.

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