Skip to content

ISA string doesn't allow underscore separators #151

@Timmmm

Description

@Timmmm

The constants.isa_regex requires the sub-extensions (Z..., S...) to immediately follow the main extensions without a separating underscore. For example this is considered valid:

RV32IMAFCSUZicsr_Zifencei_Zba_Zbb_Zbs

But this is not:

RV32IMAFCSU_Zicsr_Zifencei_Zba_Zbb_Zbs

Both are legal according to the spec. The latter is also easier to read and generate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions