summaryrefslogtreecommitdiff
path: root/compiler/utils/arm/assembler_arm32.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-06-16 09:06:59 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-06-16 09:07:00 +0000
commite4394f7de28ae0b517daa033749979e46ff676ab (patch)
tree320596587f320a0becda91cfe4fa72c8052fb90a /compiler/utils/arm/assembler_arm32.h
parentf6c77d7632bdfe564c2ba61690fecc65f10ea9f6 (diff)
parentf38caa68cce551fb153dff37d01db518e58ed00f (diff)
Merge "ART: Implement literal pool for arm, fix branch fixup."
Diffstat (limited to 'compiler/utils/arm/assembler_arm32.h')
-rw-r--r--compiler/utils/arm/assembler_arm32.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/compiler/utils/arm/assembler_arm32.h b/compiler/utils/arm/assembler_arm32.h
index 3164623fd9..1c38eec12c 100644
--- a/compiler/utils/arm/assembler_arm32.h
+++ b/compiler/utils/arm/assembler_arm32.h
@@ -238,7 +238,16 @@ class Arm32Assembler FINAL : public ArmAssembler {
// Memory barriers.
void dmb(DmbOptions flavor) OVERRIDE;
- // Macros.
+ // Get the final position of a label after local fixup based on the old position
+ // recorded before FinalizeCode().
+ uint32_t GetAdjustedPosition(uint32_t old_position) OVERRIDE;
+
+ Literal* NewLiteral(size_t size, const uint8_t* data) OVERRIDE;
+ void LoadLiteral(Register rt, Literal* literal) OVERRIDE;
+ void LoadLiteral(Register rt, Register rt2, Literal* literal) OVERRIDE;
+ void LoadLiteral(SRegister sd, Literal* literal) OVERRIDE;
+ void LoadLiteral(DRegister dd, Literal* literal) OVERRIDE;
+
// Add signed constant value to rd. May clobber IP.
void AddConstant(Register rd, int32_t value, Condition cond = AL) OVERRIDE;
void AddConstant(Register rd, Register rn, int32_t value,