Skip to content

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

Description

@GregAC

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions