tcg/aarch64: add ext argument to tcg_out_insn_3310
commit6c0f0c0f124718650a8d682ba275044fc02f6fe2
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jul 2015 15:27:00 +0000 (15 17:27 +0200)
committerRichard Henderson <rth@twiddle.net>
Thu, 23 Jul 2015 22:09:04 +0000 (23 15:09 -0700)
tree8e63587ef567e012ba347509c4c3ef79518baeb2
parentee8ba9e4d8458b8bba5455a7ae704620c4f2ef4b
tcg/aarch64: add ext argument to tcg_out_insn_3310

The new argument lets you pick uxtw or uxtx mode for the offset
register.  For now, all callers pass TCG_TYPE_I64 so that uxtx
is generated.  The bits for uxtx are removed from I3312_TO_I3310.

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-2-git-send-email-pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/aarch64/tcg-target.c