Skip to content

Compressed instruction support? #6

@cnlohr

Description

@cnlohr

I have been working with using rv32ima to emulate processors with compressed instruction support.

I haven't fully tested it, and it seems a little buggy with interrupts, but I was wondering if you were interested in pushing for compressed ISA support.

I added support here: https://github.com/cnlohr/beanboy/blob/master/emu/emu_ch570.h#L243-L477

I will note that it is surprisingly nontrivial to implement the -C extension, and that it would add to the size of your emulator. But I was curious your feelings on this sort of thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions