tcg/aarch64: use 32-bit offset for 32-bit user-mode emulation
commitffc6372851d8631a9f9fa56ec613b3244dc635b9
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jul 2015 15:27:01 +0000 (15 17:27 +0200)
committerRichard Henderson <rth@twiddle.net>
Thu, 23 Jul 2015 22:09:12 +0000 (23 15:09 -0700)
treee071e2378df5abc50504b0a2e660afd22a25a608
parent6c0f0c0f124718650a8d682ba275044fc02f6fe2
tcg/aarch64: use 32-bit offset for 32-bit user-mode emulation

Thanks to the previous patch, it is now easy for tcg_out_qemu_ld and
tcg_out_qemu_st to use a 32-bit zero extended offset.  However, the
guest base register x28 must be the base and addr_reg must be the
index.

Reported-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1436974021-28978-3-git-send-email-pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/aarch64/tcg-target.c