diff options
author | 2020-06-08 15:05:15 +0100 | |
---|---|---|
committer | 2020-06-09 10:03:58 +0000 | |
commit | 9922f00cf68aac69209216a0726a45eb6338763c (patch) | |
tree | 7e43b55e85ed17443af1c6be6532dafbb8550495 /compiler/utils/arm64/assembler_arm64.h | |
parent | 16527e892b13c9e1fb34f8d2e9993e58a72ac662 (diff) |
arm/arm64: Clean up intrinsic slow paths.
Generalize and use the slow path template IntrinsicSlowPath
from intrinsics_utils.h.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Test: aosp_taimen-userdebug boot image is unchanged.
Change-Id: Ia8fa4e1b31c1f190fc5f02671336caec15e4cf4d
Diffstat (limited to 'compiler/utils/arm64/assembler_arm64.h')
-rw-r--r-- | compiler/utils/arm64/assembler_arm64.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/compiler/utils/arm64/assembler_arm64.h b/compiler/utils/arm64/assembler_arm64.h index fe2f1766c2..232efd4917 100644 --- a/compiler/utils/arm64/assembler_arm64.h +++ b/compiler/utils/arm64/assembler_arm64.h @@ -124,10 +124,17 @@ class Arm64Assembler final : public Assembler { void GenerateMarkingRegisterCheck(vixl::aarch64::Register temp, int code = 0); void Bind(Label* label ATTRIBUTE_UNUSED) override { - UNIMPLEMENTED(FATAL) << "Do not use Bind for ARM64"; + UNIMPLEMENTED(FATAL) << "Do not use Bind(Label*) for ARM64"; } void Jump(Label* label ATTRIBUTE_UNUSED) override { - UNIMPLEMENTED(FATAL) << "Do not use Jump for ARM64"; + UNIMPLEMENTED(FATAL) << "Do not use Jump(Label*) for ARM64"; + } + + void Bind(vixl::aarch64::Label* label) { + vixl_masm_.Bind(label); + } + void Jump(vixl::aarch64::Label* label) { + vixl_masm_.B(label); } static vixl::aarch64::Register reg_x(int code) { |