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

Rework C decompressor #296

Merged
merged 7 commits into from
Apr 8, 2022
Merged

Rework C decompressor #296

merged 7 commits into from
Apr 8, 2022

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Apr 7, 2022

This is another logic optimization PR: rework logic of the C-extension's compressed instruction de-compressor.

  • closed further illegal C instruction encoding holes
  • mtval CSR now provides the de-compressed 32-bit instruction word when an illegal instruction has been raised by executing an invalid compressed instruction (instead of just showing all-zero)
  • code cleanups (removing legacy stuff)

* illegal c.instructions do not fall-back to all-zero instruction words
* closed further C illegal instruction holes
* code cleanups
@stnolting stnolting added the HW Hardware-related label Apr 7, 2022
@stnolting stnolting self-assigned this Apr 7, 2022
@stnolting stnolting added the risc-v compliance Modification to comply with official RISC-V specs. label Apr 7, 2022
@stnolting stnolting marked this pull request as ready for review April 7, 2022 16:24
@stnolting stnolting merged commit b5bff46 into main Apr 8, 2022
@stnolting stnolting deleted the rework_decompressor branch April 8, 2022 07:28
@stnolting stnolting added the optimization Make things faster, smaller and more efficient label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HW Hardware-related optimization Make things faster, smaller and more efficient risc-v compliance Modification to comply with official RISC-V specs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant