Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISA string doesn't allow underscore separators #151

Open
Timmmm opened this issue Oct 18, 2023 · 0 comments
Open

ISA string doesn't allow underscore separators #151

Timmmm opened this issue Oct 18, 2023 · 0 comments

Comments

@Timmmm
Copy link

Timmmm commented Oct 18, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant