Skip to content

Conversation

a4lg
Copy link
Contributor

@a4lg a4lg commented Aug 30, 2025

They don't need full "Zbc" extension but only its subset: the "Zbkc" extension.

Since the compiler implies zbkc from zbc, it's safe to use #[target_feature(enable = "zbkc")].

@rustbot
Copy link
Collaborator

rustbot commented Aug 30, 2025

r? @sayantn

rustbot has assigned @sayantn.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@a4lg
Copy link
Contributor Author

a4lg commented Aug 30, 2025

Updating the documentation would be better but considering many intrinsics refer older, separate documentation (before being merged into the main RISC-V ISA Manual), that would be better to be a separate PR.

@a4lg a4lg force-pushed the riscv-clmul-lower-requirements branch from 9eed1f8 to afa57f9 Compare August 30, 2025 05:05
@a4lg
Copy link
Contributor Author

a4lg commented Aug 30, 2025

Hmm, CI is failing for an unrelated reason.

@sayantn
Copy link
Contributor

sayantn commented Aug 30, 2025

It's just that the qemu-user-static package was removed (replaced with qemu-user), and LA64 CI uses it (idk why it doesn't just use qemu-user)

They don't need full "Zbc" extension but only its subset: the "Zbkc"
extension.  Since the compiler implies `zbkc` from `zbc`, it's safe to
use `#[target_feature(enable = "zbkc")]`.
@a4lg a4lg force-pushed the riscv-clmul-lower-requirements branch from afa57f9 to 5b6ca89 Compare August 31, 2025 23:49
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.

3 participants