summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/ArmLIR.h
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-10-09 17:56:06 -0700
committer buzbee <buzbee@google.com> 2011-10-09 18:19:46 -0700
commite70708051e06119c04be33ca49fb16bef8162059 (patch)
treef1ebe2ed4af44c28216642f7b32d6c20d6100d91 /src/compiler/codegen/arm/ArmLIR.h
parentc10717a0b86d5719556ac3286fcb47aa2f2416fc (diff)
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
Diffstat (limited to 'src/compiler/codegen/arm/ArmLIR.h')
-rw-r--r--src/compiler/codegen/arm/ArmLIR.h2
1 files changed, 2 insertions, 0 deletions
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;