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>
This commit is contained in:
Laurent Desnogues 2009-07-18 14:20:30 +02:00 committed by Andrzej Zaborowski
parent d9885a0b9e
commit cb4e581fae
2 changed files with 37 additions and 7 deletions

View file

@ -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