Skip to content

Add Zilsd, Zclsd, Zcmp to Extension Bitmask #104

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

Wren6991
Copy link
Contributor

@Wren6991 Wren6991 commented Mar 9, 2025

Zilsd, Zclsd and Zcmp are ratified standard extensions which lack bit assignments. I've just appended them to the end.

Note that Zcmop, which is already listed next to the non-Zcmp Zce extensions, is its own extension, not a typo for Zcmp.

For context, I'm considering exposing this bit mask through a custom M-mode CSR on an embedded-class core to list hardware capabilities with finer granularity than misa, but less complexity than the configuration struct or device tree. I implement the three extensions added by this PR.

@apazos
Copy link
Contributor

apazos commented Mar 20, 2025

@Wren6991 , do you have the patch for LLVM or GCC toolchains?

lenary added a commit to lenary/llvm-project that referenced this pull request Apr 10, 2025
As proposed in riscv-non-isa/riscv-c-api-doc#104

No real compiler-rt implementation, as these are not exposed by Linux.
@lenary
Copy link
Contributor

lenary commented Apr 10, 2025

LLVM Implementation is here: llvm/llvm-project#135197

lenary added a commit to llvm/llvm-project that referenced this pull request Apr 25, 2025
As proposed in riscv-non-isa/riscv-c-api-doc#104

No real compiler-rt implementation, as these are not exposed by Linux.
@lenary
Copy link
Contributor

lenary commented Apr 25, 2025

The LLVM change was approved, and I have merged it.

jyli0116 pushed a commit to jyli0116/llvm-project that referenced this pull request Apr 28, 2025
As proposed in riscv-non-isa/riscv-c-api-doc#104

No real compiler-rt implementation, as these are not exposed by Linux.
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request May 6, 2025
As proposed in riscv-non-isa/riscv-c-api-doc#104

No real compiler-rt implementation, as these are not exposed by Linux.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
As proposed in riscv-non-isa/riscv-c-api-doc#104

No real compiler-rt implementation, as these are not exposed by Linux.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
As proposed in riscv-non-isa/riscv-c-api-doc#104

No real compiler-rt implementation, as these are not exposed by Linux.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
As proposed in riscv-non-isa/riscv-c-api-doc#104

No real compiler-rt implementation, as these are not exposed by Linux.
Copy link
Collaborator

@kito-cheng kito-cheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am happy to having that

@cmuellner cmuellner merged commit 22391f4 into riscv-non-isa:main May 8, 2025
2 checks passed
Ankur-0429 pushed a commit to Ankur-0429/llvm-project that referenced this pull request May 9, 2025
As proposed in riscv-non-isa/riscv-c-api-doc#104

No real compiler-rt implementation, as these are not exposed by Linux.
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

Successfully merging this pull request may close these issues.

5 participants