-
Notifications
You must be signed in to change notification settings - Fork 141
Implement decoder for compressed RISC-V instructions #901
Labels
4
Features of medium complexity which usually require infrastructure enhancements.
enhancement
Adds a new feature to simulation.
good first issue
Good task to start with MIPT-MIPS development
S1 — ISA
To solve the issue, you need knowledge about MIPS or RISC-V ISA
Comments
pavelkryukov
added
enhancement
Adds a new feature to simulation.
4
Features of medium complexity which usually require infrastructure enhancements.
S1 — ISA
To solve the issue, you need knowledge about MIPS or RISC-V ISA
good first issue
Good task to start with MIPT-MIPS development
labels
Mar 8, 2019
I tried to add some code. Could you please tell me if I am in the right way or not? |
I propose to start with unit tests first. mipt-mips/simulator/risc_v/t/unit_test.cpp Lines 11 to 22 in 3357feb
You can write new tests by your own, following the ISA paper, or you can use these from LLVM: https://github.com/llvm/llvm-project/blob/master/llvm/test/MC/RISCV/rv32c-valid.s |
I have implemented C_LWSP, C_SW, C_LW instructions on my 'Compressed-ISA' github branch. Could you please have a look at it? |
I'm on vacation now, please ask Kirill Korolev for code review
…--
Павел Крюков
Отправлено с iPad
12 апр. 2019 г., в 17:54, Rustem Yunusov ***@***.***> написал(а):
I have implemented C_LWSP, C_SW, C_LW instructions on my 'Compressed-ISA' github branch. Could you please have a look at it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Please open a pull request to initialize code review tool |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
4
Features of medium complexity which usually require infrastructure enhancements.
enhancement
Adds a new feature to simulation.
good first issue
Good task to start with MIPT-MIPS development
S1 — ISA
To solve the issue, you need knowledge about MIPS or RISC-V ISA
RISC-V ISA specifies 'C' (compressed) subset of 16-bit encoded instructions: https://content.riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf, chapter 12.
Your goal is extended RISCV_Instr_Decoder class to support the compressed instructions, and add these instructions to our RISCV ISA table:
The text was updated successfully, but these errors were encountered: