On 05/25/2017 02:04 PM, Aurelien Jarno wrote:
Improve fix_address to also handle the 24-bit mode. Rename fix_address
to wrap_address to better explain what is changed.
For the same reason, rename get_address into get_address_rel and
get_address_31fix into get_address_rel.
Finally replace many calls to get_address_rel with x2 = 0 and b2 = 0 by
call to wrap_address.
Note that get_address_relget_address_rel is only used in the EXECUTE
helper, so we can get rid of it as the same time as the helper.
Signed-off-by: Aurelien Jarno<aurel...@aurel32.net>
---
target/s390x/mem_helper.c | 90 +++++++++++++++++++++++++----------------------
1 file changed, 47 insertions(+), 43 deletions(-)
Reviewed-by: Richard Henderson <r...@twiddle.net>
r~