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)

@a4lg a4lg force-pushed the riscv-clmul-lower-requirements branch from afa57f9 to 5b6ca89 Compare August 31, 2025 23:49
@sayantn
Copy link
Contributor

sayantn commented Sep 3, 2025

Could you rebase thee branch pls, #1912 fixed the CI failure

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 5b6ca89 to 1207c2b Compare September 3, 2025 02:13
@a4lg
Copy link
Contributor Author

a4lg commented Sep 3, 2025

Thanks for letting me know. Rebased and force-pushed.

@sayantn sayantn added this pull request to the merge queue Sep 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 3, 2025
@a4lg
Copy link
Contributor Author

a4lg commented Sep 3, 2025

Merge failure occurred on RISC-V (RV32) but it seems it's just a connection issue.
Could you add this to the merge queue again?

@sayantn sayantn added this pull request to the merge queue Sep 3, 2025
Merged via the queue into rust-lang:master with commit 0335ff6 Sep 3, 2025
63 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.

3 participants