Add:
- RV32F instruction set.
- corresponding unittests.
Further work:
- RV32FC, RV64F and RV64FC instructions support.
- update execution exceptions to fcsr register in RVM instructions.
Paths
| Differential D138447
[LLDB][RISCV] Add RV32F instruction support for EmulateInstructionRISCV ClosedPublic Authored by Emmmer on Nov 21 2022, 9:29 AM.
Details Summary Add:
Further work:
Diff Detail Event TimelineHerald added subscribers: • pcwang-thead, eopXD, MaskRay. · View Herald TranscriptNov 21 2022, 9:29 AM Comment Actions I am no floating point expert but the structure seems fine and the use of APFloat means most of it looks right on the surface. Just some minor comments.
This revision is now accepted and ready to land.Nov 23 2022, 3:07 AM Closed by commit rG6d4ab6d92179: [LLDB][RISCV] Add RV32F instruction support for EmulateInstructionRISCV (authored by Emmmer). · Explain WhyNov 23 2022, 6:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 477215 lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.h
lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp
lldb/source/Plugins/Instruction/RISCV/RISCVInstructions.h
lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_riscv64.h
lldb/unittests/Instruction/RISCV/TestRISCVEmulator.cpp
|
static void here and for the other test helpers.