Skip to content

Support fuzz testing RISC-V intrinsics against C API - #2263

Open
TechnoPorg wants to merge 2 commits into
rust-lang:mainfrom
TechnoPorg:push-pxsnmmxmvwtv
Open

TechnoPorg wants to merge 2 commits into
rust-lang:mainfrom
TechnoPorg:push-pxsnmmxmvwtv

Conversation

@TechnoPorg

Copy link
Copy Markdown
Contributor

As discussed in #2248, these intrinsics should be tested against the C API before being stabilized.

This PR implements intrinsic-test support for rv32 and rv64 scalar cryptography / bit manipulation extensions. It's more basic than other architectures right now, but should be straightforward to extend with vector intrinsics when they exist down the road.

Questions I still have about this:

  • Is including GPL3 license headers okay? LoongArch does so, so I assume this is fine but wanted to check
  • Should rv32 be fuzzed in CI at all, given that it's T3?

r? @tgross35

@tgross35

tgross35 commented Nov 2, 2026

Copy link
Copy Markdown
Member

I don't actually know much about the testing infra

@rustbot reroll

@rustbot rustbot assigned Amanieu and unassigned tgross35 Nov 2, 2026
@TechnoPorg

Copy link
Copy Markdown
Contributor Author

The Windows CI failure appears unrelated to this PR (https://github.com/TechnoPorg/stdarch/actions/runs/41513475082/job/125511158948?pr=4). Is it common to run into this many unrelated CI failures or am I just unlucky?

This branch has not been deployed

No deployments
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