Skip to content

Add Zacas support - #662

Merged
aswaterman merged 3 commits into
riscv-software-src:masterfrom
vsoriap:feat_amocas_isa
Sep 18, 2026
Merged

aswaterman merged 3 commits into
riscv-software-src:masterfrom
vsoriap:feat_amocas_isa

Conversation

@vsoriap

@vsoriap vsoriap commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

This PR recovers PR #492 which adds tests for the Zacas extension that introduces the following instructions:

  • amocas.w for RV32 and RV64
  • amocas.d for RV32 and RV64
  • amocas.q for RV64 only

The specification is here: https://github.com/riscv/riscv-zacas
The amocas instructions are emitted using a .word directive pending assembler support.

@vsoriap

vsoriap commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

This also solves #659

@aswaterman

Copy link
Copy Markdown
Collaborator

The PR was initially failing because our toolchain is too old. That's fixed.

But there are still more problems. Some of the test cases are failing. Make sure they pass on Spike before resubmitting.

@vsoriap

vsoriap commented Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @aswaterman, I just took the code from the PR but did not check all of the tests. I've updated the failing ones and double checked them with spike.

@aswaterman

Copy link
Copy Markdown
Collaborator

LGTM now, thanks!

@aswaterman
aswaterman merged commit d445110 into riscv-software-src:master Sep 18, 2026
1 check 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.

2 participants