diff options
| author | 2023-06-13 10:00:46 +0800 | |
|---|---|---|
| committer | 2023-07-04 14:00:28 +0000 | |
| commit | 552d19416ae22a9bc68eee5f057f3083d078397f (patch) | |
| tree | 07baff756fe9970418a9f3d7f5a113148f15ce2d /compiler/optimizing | |
| parent | 51c916e7d439a946ea2124f627e902752fde2a79 (diff) | |
RISCV: [Codegen] Add DumpCore/FloatRegister
Test: m test-art-host-gtest
Bug: 283082089
Change-Id: I0ff8e3a96b73f9256cbea2cd8b1bb1290f408c51
Diffstat (limited to 'compiler/optimizing')
| -rw-r--r-- | compiler/optimizing/code_generator_riscv64.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/compiler/optimizing/code_generator_riscv64.cc b/compiler/optimizing/code_generator_riscv64.cc index 4f591a11a1..524abe63ba 100644 --- a/compiler/optimizing/code_generator_riscv64.cc +++ b/compiler/optimizing/code_generator_riscv64.cc @@ -1812,17 +1812,11 @@ size_t CodeGeneratorRISCV64::RestoreFloatingPointRegister(size_t stack_index, ui } void CodeGeneratorRISCV64::DumpCoreRegister(std::ostream& stream, int reg) const { - UNUSED(stream); - UNUSED(reg); - LOG(FATAL) << "Unimplemented"; - UNREACHABLE(); + stream << XRegister(reg); } void CodeGeneratorRISCV64::DumpFloatingPointRegister(std::ostream& stream, int reg) const { - UNUSED(stream); - UNUSED(reg); - LOG(FATAL) << "Unimplemented"; - UNREACHABLE(); + stream << FRegister(reg); } void CodeGeneratorRISCV64::Finalize() { |