diff options
author | Zheng Xu <zheng.xu@arm.com> | 2014-08-18 17:28:22 +0800 |
---|---|---|
committer | Zheng Xu <zheng.xu@arm.com> | 2014-08-18 17:42:12 +0800 |
commit | 5d7cdec7527f8043bf15e23a0041c40156727243 (patch) | |
tree | c6ca87c6a10a4b279fe7b2481b902a9a9b447ea6 /compiler/dex/compiler_enums.h | |
parent | aa1ed01d119ee6d93e6254789c79246e91fcec32 (diff) | |
download | android_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.h | 1 |
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 |