Skip to content

Fix vwmaccsu.vx mislabeled as vwmaccus.vx#744

Open
yc199911 wants to merge 1 commit into
sysprog21:masterfrom
yc199911:fix-vwmaccsu-mislabel
Open

Fix vwmaccsu.vx mislabeled as vwmaccus.vx#744
yc199911 wants to merge 1 commit into
sysprog21:masterfrom
yc199911:fix-vwmaccsu-mislabel

Conversation

@yc199911

@yc199911 yc199911 commented May 20, 2026

Copy link
Copy Markdown
Contributor

In op_111111 case 6, funct6=0x3f, funct3=6 was emitting
rv_insn_vwmaccus_vx, routing vwmaccsu.vx (signed vector ×
unsigned scalar) to the vwmaccus_vx executor (unsigned vector ×
signed scalar). Per riscv-opcodes, funct6=0x3f, funct3=6 is
vwmaccsu.vx; the correct executor already exists at
rv32_v_template.c:6406. Map case 6 to rv_insn_vwmaccsu_vx.


Summary by cubic

Fix the vector decoder to route vwmaccsu.vx to the correct executor. op_111111 case 6 (funct6=0x3f, funct3=6) now emits rv_insn_vwmaccsu_vx instead of rv_insn_vwmaccus_vx, restoring signed-vector × unsigned-scalar semantics.

Written for commit 2b8cb48. Summary will update on new commits. Review in cubic

In op_111111 case 6, funct6=0x3f, funct3=6 was emitting
rv_insn_vwmaccus_vx, routing vwmaccsu.vx (signed vector ×
unsigned scalar) to the vwmaccus_vx executor (unsigned vector ×
signed scalar). Per riscv-opcodes, funct6=0x3f, funct3=6 is
vwmaccsu.vx; the correct executor already exists at
rv32_v_template.c:6406. Map case 6 to rv_insn_vwmaccsu_vx.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

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.

1 participant