summaryrefslogtreecommitdiffstats
path: root/tcg/s390/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-04-25 10:18:59 -0400
committerRichard Henderson <rth@twiddle.net>2014-05-12 10:06:58 -0700
commit8c081b18025407fd5fa7c0d25a69398594ea5b2c (patch)
tree00952bf816ed13ca936dab9c76564739ae31de73 /tcg/s390/tcg-target.h
parent8587c30c3e3807728d12966667bc6055b772f1ac (diff)
downloadhqemu-8c081b18025407fd5fa7c0d25a69398594ea5b2c.zip
hqemu-8c081b18025407fd5fa7c0d25a69398594ea5b2c.tar.gz
tcg-s390: Define TCG_TARGET_INSN_UNIT_SIZE
And use tcg pointer differencing functions as appropriate. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/s390/tcg-target.h')
-rw-r--r--tcg/s390/tcg-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/s390/tcg-target.h b/tcg/s390/tcg-target.h
index 755c002..5bf733e 100644
--- a/tcg/s390/tcg-target.h
+++ b/tcg/s390/tcg-target.h
@@ -24,6 +24,8 @@
#ifndef TCG_TARGET_S390
#define TCG_TARGET_S390 1
+#define TCG_TARGET_INSN_UNIT_SIZE 2
+
typedef enum TCGReg {
TCG_REG_R0 = 0,
TCG_REG_R1,
OpenPOWER on IntegriCloud