Skip to content

[RVC] Implement all "C" instructions #130

@mortbopet

Description

@mortbopet

Currently, only a subset of the compressed instructions are implemented:

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions