summaryrefslogtreecommitdiffstats
path: root/compiler/dex/compiler_enums.h
diff options
context:
space:
mode:
authorZheng Xu <zheng.xu@arm.com>2014-08-18 17:28:22 +0800
committerZheng Xu <zheng.xu@arm.com>2014-08-18 17:42:12 +0800
commit5d7cdec7527f8043bf15e23a0041c40156727243 (patch)
treec6ca87c6a10a4b279fe7b2481b902a9a9b447ea6 /compiler/dex/compiler_enums.h
parentaa1ed01d119ee6d93e6254789c79246e91fcec32 (diff)
downloadandroid_art-5d7cdec7527f8043bf15e23a0041c40156727243.tar.gz
android_art-5d7cdec7527f8043bf15e23a0041c40156727243.tar.bz2
android_art-5d7cdec7527f8043bf15e23a0041c40156727243.zip
AArch64: Add tbz/tbnz and tst.
Since the branch offset supported by tbz/tbnz is quite small(-32k ~ +32k), it will be replaced by tst and beq/bneq in the fix-up stage if the branch offset is too large. Change-Id: I4cace06bec6425e0f2e1f5f7c471eec08d06bca6
Diffstat (limited to 'compiler/dex/compiler_enums.h')
-rw-r--r--compiler/dex/compiler_enums.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/dex/compiler_enums.h b/compiler/dex/compiler_enums.h
index dcc67c3986..63f3e640df 100644
--- a/compiler/dex/compiler_enums.h
+++ b/compiler/dex/compiler_enums.h
@@ -528,6 +528,7 @@ enum FixupKind {
kFixupLoad, // Mostly for immediates.
kFixupVLoad, // FP load which *may* be pc-relative.
kFixupCBxZ, // Cbz, Cbnz.
+ kFixupTBxZ, // Tbz, Tbnz.
kFixupPushPop, // Not really pc relative, but changes size based on args.
kFixupCondBranch, // Conditional branch
kFixupT1Branch, // Thumb1 Unconditional branch