[LLDB][RISCV] Add RVDC instruction support for EmulateInstructionRISCV
authorEmmmer <yjhdandan@163.com>
Wed, 4 Jan 2023 09:31:10 +0000 (17:31 +0800)
committerEmmmer <yjhdandan@163.com>
Fri, 13 Jan 2023 12:52:34 +0000 (20:52 +0800)
commit0ef58c66c6e4652ff3582bf0972673708afb912e
tree85cb1aed680c950060e07d8ee34cdcfddeef0395
parent8c77c011c193eba6f0c45cbf5cba6ea7d6a147fe
[LLDB][RISCV] Add RVDC instruction support for EmulateInstructionRISCV

RVC is the RISC-V standard compressed instruction-set extension, named "C", which reduces static and dynamic code size by adding short 16-bit instruction encodings for common operations, and RVCD is the compressed "D extension".

And "D extension" is a double-precision floating-point instruction-set extension, which adds double-precision floating-point computational instructions compliant with the IEEE 754-2008 arithmetic standard.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D140961
lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp
lldb/source/Plugins/Instruction/RISCV/RISCVCInstructions.h
lldb/unittests/Instruction/RISCV/TestRISCVEmulator.cpp