Implement RISC-V M instructions #925
Labels
3
Features of medium complexity or infrastructure enhancements
enhancement
Adds a new feature to simulation.
S1 — ISA
To solve the issue, you need knowledge about MIPS or RISC-V ISA
RISC-V ISA has 'M' extension for multiplication and division instructions. We currently decode them, but we do not execute them. Your objective is to implement the executors in https://github.com/MIPT-ILab/mipt-mips/blob/master/simulator/risc_v/riscv_instr.cpp and https://github.com/MIPT-ILab/mipt-mips/tree/master/simulator/func_sim/multiplication.h.
To test instructions, enable these FuncSim tests
mipt-mips/simulator/func_sim/t/unit_test.cpp
Lines 291 to 323 in 7081e8e
For reference, see RISC-V ISA document: https://content.riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf or in Google.
The text was updated successfully, but these errors were encountered: