diff options
author | Richard Henderson <rth@twiddle.net> | 2014-04-01 08:34:03 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-05-12 10:03:04 -0700 |
commit | f6bff89d06349fd3807403a0d4ee2203fab811f1 (patch) | |
tree | 07163cc427cb610129abf5223afeee55a3de6e65 /tcg/i386/tcg-target.h | |
parent | 1813e1758dcc60c96f8caf2d0c66c2193f1f86e0 (diff) | |
download | qemu-f6bff89d06349fd3807403a0d4ee2203fab811f1.zip qemu-f6bff89d06349fd3807403a0d4ee2203fab811f1.tar.gz qemu-f6bff89d06349fd3807403a0d4ee2203fab811f1.tar.bz2 |
tcg-i386: Define TCG_TARGET_INSN_UNIT_SIZE
And use tcg pointer differencing functions as appropriate.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/i386/tcg-target.h')
-rw-r--r-- | tcg/i386/tcg-target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index dbeb16d..6c94e5c 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -24,6 +24,8 @@ #ifndef TCG_TARGET_I386 #define TCG_TARGET_I386 1 +#define TCG_TARGET_INSN_UNIT_SIZE 1 + #ifdef __x86_64__ # define TCG_TARGET_REG_BITS 64 # define TCG_TARGET_NB_REGS 16 |