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

[rtl] Consider implementation of the code size reduction extension (Zce) #2023

Open
GregAC opened this issue May 2, 2023 · 0 comments
Open
Labels
Component:RTL RTL issue Priority:P3 Type:Enhancement Feature requests, enhancements

Comments

@GregAC
Copy link
Collaborator

GregAC commented May 2, 2023

The code size reduction extension was recently released: https://github.com/riscv/riscv-code-size-reduction/releases/tag/v1.0

For Ibex we can consider implementing the Zce subset. Some of these introduce new 16-bit encodings for existing instructions so work required will be minimal. Others are more complex instructions (e.g. cm.push and cm.pop) requiring more work (in particular care will be needed for DV as this will introduce one or more new classes of multi-cycle instructions).

The Zcb subset (itself part of Zce) implements sign and zero extend operations that can be implemented with existing bitmanip functionality, however we may wish to support a configuration enabling Zce without requiring bitmanip in full.

@GregAC GregAC added Type:Enhancement Feature requests, enhancements Component:RTL RTL issue Priority:P3 labels May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:RTL RTL issue Priority:P3 Type:Enhancement Feature requests, enhancements
Projects
None yet
Development

No branches or pull requests

1 participant