diff options
author | 2016-07-19 15:00:40 -0700 | |
---|---|---|
committer | 2016-07-27 20:02:48 -0700 | |
commit | 06a46c44bf1a5cba6c78c3faffc4e7ec1442b210 (patch) | |
tree | fa82ec7a787200e475e567a51c2839349a513021 /compiler/utils/mips/assembler_mips.h | |
parent | 9755c262df1be7f5d5b98d038c8fd3734e974f9d (diff) |
MIPS32: Improve string and class loads
Tested:
- MIPS32 Android boots in QEMU
- test-art-host-gtest
- test-art-target-run-test-optimizing in QEMU, on CI20
- test-art-target-gtest on CI20
Change-Id: I70fd5d5267f8594c3b29d5a4ccf66b8ca8b09df3
Diffstat (limited to 'compiler/utils/mips/assembler_mips.h')
-rw-r--r-- | compiler/utils/mips/assembler_mips.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/utils/mips/assembler_mips.h b/compiler/utils/mips/assembler_mips.h index 1f7781fef9..8367e68ebc 100644 --- a/compiler/utils/mips/assembler_mips.h +++ b/compiler/utils/mips/assembler_mips.h @@ -646,6 +646,9 @@ class MipsAssembler FINAL : public Assembler { // The assembler then computes literal offsets relative to this label. void BindPcRelBaseLabel(); + // Returns the location of the label bound with BindPcRelBaseLabel(). + uint32_t GetPcRelBaseLabelLocation() const; + // Note that PC-relative literal loads are handled as pseudo branches because they need very // similar relocation and may similarly expand in size to accomodate for larger offsets relative // to PC. |