OSDN Git Service

tcg-arm: Avoid ldrd/strd for user-only emulation
authorRichard Henderson <rth@twiddle.net>
Tue, 25 Mar 2014 21:11:37 +0000 (17:11 -0400)
committerRichard Henderson <rth@twiddle.net>
Thu, 27 Mar 2014 20:33:01 +0000 (16:33 -0400)
commit1a8e80d7e82aa385ad887dba5d039e399a18264b
treea908a6638484be7de25484dc08ab135d9fb677f1
parent9c5793c5036c7608ff2c87846c6d11f904c08b58
tcg-arm: Avoid ldrd/strd for user-only emulation

The arm ldrd/strd insns must cause alignment traps, whereas
at least for armv7 ldr/str must handle unaligned operations.

While this is hardly the only problem facing user-only emu,
this solves one problem for i386 on armv7 emulation.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reported-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/arm/tcg-target.c