Skip to content

resources: Add test for RISC-V Zacas extension - #85

Open
vsoriap wants to merge 1 commit into
gem5:developfrom
vsoriap:test-zacas
Open

vsoriap wants to merge 1 commit into
gem5:developfrom
vsoriap:test-zacas

Conversation

@vsoriap

@vsoriap vsoriap commented Sep 8, 2026

Copy link
Copy Markdown

This PR is based on RISC-V tests PR 492. It adds tests for the Zacas extension. The new tests cover amocas_w and amocas_d for RV32 and amocas_w, amocas_d, and amocas_q for RV64.

@powerjg

powerjg commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

lgtm. Do you know what we need to do (or maybe @Harshil2107) to build these, host them, and make sure they are run in our testing suite?

@vsoriap

vsoriap commented Sep 8, 2026

Copy link
Copy Markdown
Author

Building: I just executed the make file within the asmtest, and it generated the binaries with the default riscv toolchain.
Hosting: I'm not sure about what the infra behind the gem5-resources. So, maybe @Harshil2107 can clarify.
Running: I've a pull request in gem5 that introduces the amocas instructions (the single register version, not the pair one) and their tests (Check gem5 PR 3499). So, once this PR is merged gem5 would be able to run them.

@vsoriap

vsoriap commented Sep 21, 2026

Copy link
Copy Markdown
Author

Hi, I've managed to push these tests with some small changes into the riscv-tests riscv-software-src/riscv-tests#662. I will push the most updated version, soon.

@Harshil2107

Copy link
Copy Markdown
Contributor

Hi @vsoriap, I just looked at the PRs and from looking at the code we just need to upload the new binaries to gem5 resources.

Please let me know if this version is ready and I should make the binaries from the latest commit in this PR and upload them or I should wait. If so please ping me when the PR is ready and I will make and upload these new binaries.

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