From e70708051e06119c04be33ca49fb16bef8162059 Mon Sep 17 00:00:00 2001 From: buzbee Date: Sun, 9 Oct 2011 17:56:06 -0700 Subject: Compiler/assembler fix There are three Thumb encodings for push and pop, and one of them (Thumb2/t2) requires at least two registers in the push/pop list. This CL adds the single-register encoding (which is really just another name for a standard base-modifying load/store). Change-Id: I963c472a0d5f288654417dbd85758d6b5cc61388 --- src/compiler/codegen/arm/ArmLIR.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/codegen/arm/ArmLIR.h') diff --git a/src/compiler/codegen/arm/ArmLIR.h b/src/compiler/codegen/arm/ArmLIR.h index daa13962c0..1e4022ee4b 100644 --- a/src/compiler/codegen/arm/ArmLIR.h +++ b/src/compiler/codegen/arm/ArmLIR.h @@ -693,6 +693,8 @@ typedef enum ArmOpcode { kThumb2SubsRRI12, /* setflags encoding */ kThumb2OrrRRRs, /* orrx [111010100101] rn[19..16] [0000] rd[11..8] [0000] rm[3..0] */ + kThumb2Push1, /* t3 encoding of push */ + kThumb2Pop1, /* t3 encoding of pop */ kArmLast, } ArmOpcode; -- cgit v1.2.3-59-g8ed1b