Skip to content

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.

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.
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
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