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

Q extension support #1068

Open
en-sc opened this issue May 7, 2024 · 3 comments
Open

Q extension support #1068

en-sc opened this issue May 7, 2024 · 3 comments

Comments

@en-sc
Copy link
Collaborator

en-sc commented May 7, 2024

Currently RISC-V OpenOCD does not support RISC-V Q extension targets.

@TommyMurphyTM1234
Copy link
Collaborator

TommyMurphyTM1234 commented May 7, 2024

Can you explain this a bit more?
Is it the case that OpenOCD's RISC-V support has to have awareness of FP registers and copes with F and D but not Q variants?

Also - do targets exist that implement Q support? In hardware or just simulators?

@en-sc
Copy link
Collaborator Author

en-sc commented May 8, 2024

Can you explain this a bit more? Is it the case that OpenOCD's RISC-V support has to have awareness of FP registers and copes with F and D but not Q variants?

Exactly. OpenOCD will report FPU registers as 64-bit on Q extension targets.

Also - do targets exist that implement Q support? In hardware or just simulators?

AFAIU, Spike does support Q extension.

@TommyMurphyTM1234
Copy link
Collaborator

Exactly. OpenOCD will report FPU registers as 64-bit on Q extension targets.

Thanks, that makes sense. 👍

AFAIU, Spike does support Q extension.

Yes, that seems to be the case alright.

Spike supports the following RISC-V ISA features:

  • ...
  • Q extension, v2.2
  • ...

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

2 participants