tcg/aarch64: Fix tcg_out_qemu_{ld, st} for guest_base == 0
In ffc63728, we swapped the guest base to the address base register from the address index register. Except that 31 in the base slot is SP not XZR, so we need to be more intelligent about which reg gets placed in which slot. Cc: qemu-stable@nongnu.org (v2.4.0) Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com> Reported-by: NAndreas Färber <afaerber@suse.de> Signed-off-by: NRichard Henderson <rth@twiddle.net>
Showing
想要评论请 注册 或 登录