qemu-e2k/target-arm
Peter Maydell 39d5492a18 target-arm: Don't use TCGv when we mean TCGv_i32
TCGv changes size depending on the compile time value of
TARGET_LONG_BITS.  This is useful for generating code for MIPS style
"instructions are the same but the register width changes" CPUs, and
also for the generic bits of QEMU which operate on "width of a
virtual address" values, but mostly in the ARM target code we were
using it purely as a shorthand for "any 32 bit value".

This needs to change in preparation for AArch64 support, since an
AArch64-capable v8 core will have 64 bit virtual addresses but still
use 32 bit values for the 32 bit instruction set.

This patch mechanically converts all the occurrences of TCGv,
tcg_temp_new(), tcg_temp_free(), tcg_temp_local_new() and
TCGV_UNUSED() to their explicitly 32 bit counterparts.  This is
correct for everything except the arguments to tcg_gen_qemu_{ld,st}*,
which really do need to be TCGv and so will require a 32-to-64
conversion when building the 32 bit code for AArch64.  Those changes
will be in a separate patch for easier review.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2013-05-26 10:04:54 +00:00
..
arm-semi.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
cpu-qom.h target-arm: port ARM CPU save/load to use VMState 2013-04-19 12:24:19 +01:00
cpu.c target-arm: port ARM CPU save/load to use VMState 2013-04-19 12:24:19 +01:00
cpu.h target-arm: port ARM CPU save/load to use VMState 2013-04-19 12:24:19 +01:00
helper.c target-arm: Override do_interrupt for ARMv7-M profile 2013-03-12 10:35:55 +01:00
helper.h target-arm: Implement sbc_cc inline 2013-02-23 17:25:29 +00:00
iwmmxt_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
kvm_arm.h target-arm: Use MemoryListener to identify GIC base address for KVM 2013-03-05 00:45:25 +00:00
kvm.c target-arm: Fix incorrect check of kvm_vcpu_ioctl return value 2013-05-03 18:47:22 +01:00
machine.c target-arm: Correctly restore FPSCR 2013-04-19 12:24:19 +01:00
Makefile.objs ARM: KVM: Add support for KVM on ARM architecture 2013-03-05 00:45:06 +00:00
neon_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
op_addsub.h
op_helper.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
translate.c target-arm: Don't use TCGv when we mean TCGv_i32 2013-05-26 10:04:54 +00:00