Repository navigation
Fix Rust masks for vector segment loads and stores - #440
Andrew Waterman (aswaterman) merged 1 commit into
Conversation
f58f344 to
f4798d3
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #440 +/- ##
==========================================
- Coverage 97.08% 96.84% -0.24%
==========================================
Files 14 14
Lines 926 951 +25
==========================================
+ Hits 899 921 +22
- Misses 27 30 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Nathan Chandrasekar (@vera-rubin) DCO signoff is missing, according to CI: https://github.com/riscv/riscv-opcodes/pull/440/checks?check_run_id=115427910953 I see there is a signed-off-by line in the commit message. Not sure why it doesn't register. cc Bill Traynor (@wmat) |
|
This was cause by the committers email being the same, but the name being different: "Nathan Chandrasekar" vs "vera-rubin". The contributor can fix by one of two ways: Set get config user.name "Nathan Chandrasenkay", then run git commit --amend --reset-author --signoff and force-push. |
Signed-off-by: Nathan Chandrasekar <[email protected]>
f4798d3 to
096b859
Compare
|
Thanks, Bill Traynor (@wmat). |
f24ac23
into
riscv:master
We were modifying the original vector memory records while expanding the nf field for JSON and Go. Rust then received generic instructions whose masks fixed nf to zero, so segment loads and stores did not match.
We copy the instruction record before expanding nf. This preserves Rust's generic masks and variable fields while keeping the segment-specific JSON and Go output unchanged.
The new regression test fails before the fix and passes after it. All 17 unit tests pass. Python mask comparisons recognize all 16 directed words for both rv_v and default generation, and all 288 words across 36 vector memory families. No native Rust compilation or instruction execution was performed for this patch.
Validated against base 5783cf3 on Linux x86_64 with Python 3.12.3.
Fixes #439
— ChipLab · CLAB-2026-596