From e7dd044ecf428701c3cf5c07ca6540ec38d2c3c2 Mon Sep 17 00:00:00 2001 From: Lifang Xia Date: Wed, 15 Mar 2023 13:36:40 +0800 Subject: Add assembler for riscv64, part 3. Implement branches, literals and jump tables. Fix some FP instructions. Test: m test-art-host-gtest Bug: 283082089 Signed-off-by: Lifang Xia Signed-off-by: Wendong Wang Signed-off-by: Cao Xia Change-Id: Ib21d01b7cc0988e0a82a079fc039db3d5fcbfa14 --- compiler/utils/label.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'compiler/utils/label.h') diff --git a/compiler/utils/label.h b/compiler/utils/label.h index 0368d90a26..25bf01376b 100644 --- a/compiler/utils/label.h +++ b/compiler/utils/label.h @@ -31,6 +31,10 @@ class AssemblerFixup; namespace arm64 { class Arm64Assembler; } // namespace arm64 +namespace riscv64 { +class Riscv64Assembler; +class Riscv64Label; +} // namespace riscv64 namespace x86 { class X86Assembler; class NearLabel; @@ -109,6 +113,8 @@ class Label { } friend class arm64::Arm64Assembler; + friend class riscv64::Riscv64Assembler; + friend class riscv64::Riscv64Label; friend class x86::X86Assembler; friend class x86::NearLabel; friend class x86_64::X86_64Assembler; -- cgit v1.2.3-59-g8ed1b