Skip to content

Fix M-extension funct7 decoding#358

Open
cassuto wants to merge 1 commit into
vortexgpgpu:masterfrom
cassuto:fix_m_extension_funct7_decode
Open

Fix M-extension funct7 decoding#358
cassuto wants to merge 1 commit into
vortexgpgpu:masterfrom
cassuto:fix_m_extension_funct7_decode

Conversation

@cassuto
Copy link
Copy Markdown
Contributor

@cassuto cassuto commented Jun 3, 2026

Previously it used (funct7 & 0x1), which could decode reserved odd funct7 values as M-extension instructions while RTL requires the exact 7'b0000001 encoding. This masked illegal instructions instead of triggering abort().

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