summaryrefslogtreecommitdiffstats
path: root/tcg/arm/tcg-target.h
diff options
context:
space:
mode:
authorLaurent Desnogues <laurent.desnogues@gmail.com>2009-07-18 14:20:30 +0200
committerAndrzej Zaborowski <balrog@zabor.org>2009-07-18 14:20:30 +0200
commitcb4e581fae0b67fa33caa01131f929f5dd6e9ebf (patch)
tree98e1b1b197c62e1785b09de3cc905220effe49fa /tcg/arm/tcg-target.h
parentd9885a0b9e07ac086f1fb31528192421aa33b459 (diff)
downloadhqemu-cb4e581fae0b67fa33caa01131f929f5dd6e9ebf.zip
hqemu-cb4e581fae0b67fa33caa01131f929f5dd6e9ebf.tar.gz
this patch improves the ARM back-end in the following way:
- use movw/movt to load immediate values for ARMv7-A - implement add/sub/and/or/xor with immediate (only 8-bit) Laurent Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'tcg/arm/tcg-target.h')
-rw-r--r--tcg/arm/tcg-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/arm/tcg-target.h b/tcg/arm/tcg-target.h
index ffa9cee..7ff2928 100644
--- a/tcg/arm/tcg-target.h
+++ b/tcg/arm/tcg-target.h
@@ -55,6 +55,8 @@ enum {
#define TCG_TARGET_NB_REGS 15
+#define TCG_CT_CONST_ARM 0x100
+
/* used for function call generation */
#define TCG_REG_CALL_STACK TCG_REG_R13
#define TCG_TARGET_STACK_ALIGN 8
OpenPOWER on IntegriCloud