[LLDB][RISCV] Add RVM and RVA instruction support for EmulateInstructionRISCV
authorEmmmer <yjhdandan@163.com>
Sun, 11 Sep 2022 08:36:12 +0000 (16:36 +0800)
committerEmmmer <yjhdandan@163.com>
Sat, 17 Sep 2022 04:19:09 +0000 (12:19 +0800)
commitedc1c9f6108a4eae24990928f914fe5a39f57ca6
treef5a5d76601b604815a66c1cd11a71ca5d5aac8a0
parent29c841ce93e087fa4e0c5f3abae94edd460bc24a
[LLDB][RISCV] Add RVM and RVA instruction support for EmulateInstructionRISCV

Add:
- RVM and RVA instructions sets.
- corresponding unittests.

Further work:
- implement RVC, RVF, RVD, and RVV extension.

Reviewed By: DavidSpickett

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