-
-
Notifications
You must be signed in to change notification settings - Fork 307
Closed
Labels
Description
Currently, only a subset of the compressed instructions are implemented:
Ripes/src/assembler/rv_c_ext.h
Lines 30 to 35 in 957eb95
instructions.push_back(CAType(Token("c.and"), 0b11, 0b100011)); | |
instructions.push_back(CAType(Token("c.subw"), 0b00, 0b100111)); | |
instructions.push_back(CAType(Token("c.addw"), 0b01, 0b100111)); | |
instructions.push_back(CAType(Token("c.or"), 0b10, 0b100011)); | |
instructions.push_back(CAType(Token("c.xor"), 0b01, 0b100011)); | |
instructions.push_back(CAType(Token("c.sub"), 0b00, 0b100011)); |
The remainder of the ISA extension should also be implemented. Refer to page 82 of https://riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf for the full list.