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

why is there no definition for Zfhmin? #248

Open
tariqkurd-repo opened this issue May 16, 2024 · 2 comments
Open

why is there no definition for Zfhmin? #248

tariqkurd-repo opened this issue May 16, 2024 · 2 comments

Comments

@tariqkurd-repo
Copy link

tariqkurd-repo commented May 16, 2024

There's no definition of Zfhmin, and yet it's a valid extension.

Should Zfh imply Zfhmin, and so FLH, FSH, FMV.X.H, FMV.H.X, FCVT.S.H, FCVT.H.S etc. would be defined as Zfhmin, not as Zfh?
If so that would affect the isa-spec.

The profiles (RVA22, RVA23) require Zfhmin and not Zfh, so the definition doesn't fit with RISC-V opcodes.

More generally it would be useful to have a configuration for all of the mandatory extensions for RVA22, RVA23 so that we can just read them all in one, instead of finding problems like this one at a time.

I'm anticipating the same same problem with Zvfh/Zvfhmin

@tariqkurd-repo tariqkurd-repo changed the title definition for Zfhmin? why is there no definition for Zfhmin? May 16, 2024
@aswaterman
Copy link
Member

Seems like a fine improvement if you want to pursue it.

As to why it is the way it is, I think the answer is that many downstream tools that consume output from this repo just want all of the encoding information and don't care about how it's partitioned into extensions.

@staru09
Copy link

staru09 commented Jul 25, 2024

Is this open to work?

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

3 participants