summaryrefslogtreecommitdiffstats
path: root/tcg/arm/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson2014-04-24 23:23:40 +0200
committerRichard Henderson2014-05-12 19:06:29 +0200
commit267c931985cf4a003fdeaab197a49bdd83e50e19 (patch)
tree00c4d92492c6866ca821261a3dbd2637075bd1af /tcg/arm/tcg-target.h
parenttcg-sparc: Define TCG_TARGET_INSN_UNIT_SIZE (diff)
downloadqemu-267c931985cf4a003fdeaab197a49bdd83e50e19.tar.gz
qemu-267c931985cf4a003fdeaab197a49bdd83e50e19.tar.xz
qemu-267c931985cf4a003fdeaab197a49bdd83e50e19.zip
tcg-arm: Define TCG_TARGET_INSN_UNIT_SIZE
And use tcg pointer differencing functions as appropriate. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/arm/tcg-target.h')
-rw-r--r--tcg/arm/tcg-target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/arm/tcg-target.h b/tcg/arm/tcg-target.h
index 1bc5dacec0..73f10c4424 100644
--- a/tcg/arm/tcg-target.h
+++ b/tcg/arm/tcg-target.h
@@ -26,6 +26,7 @@
#define TCG_TARGET_ARM 1
#undef TCG_TARGET_STACK_GROWSUP
+#define TCG_TARGET_INSN_UNIT_SIZE 4
typedef enum {
TCG_REG_R0 = 0,