target/s390x: Hoist some computation in access_memmove
commite73a0f4075a78de9a62beeddb41c54a4090e0777
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 9 Jan 2023 20:18:56 +0000 (9 12:18 -0800)
committerThomas Huth <thuth@redhat.com>
Mon, 27 Feb 2023 08:15:39 +0000 (27 09:15 +0100)
treeb2cf451f3899fe016476356201dc848e4de58182
parent61dee10ff00720e6e056824b4548c914632ef6fe
target/s390x: Hoist some computation in access_memmove

Ensure that the total length is in a local variable
across the byte loop.  Compute size1 difference once.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230109201856.3916639-8-richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/tcg/mem_helper.c