Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RISC-V: Instruction decoding fixes #1326

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

gregoral
Copy link
Contributor

@gregoral gregoral commented Feb 6, 2024

Fixed decoding of: flh, flw, fld, flq, fsh, fsw, fsd, fsq
Fixed decoding of: fmadd.h, fmadd.q, fmsub.h, fmsub.q
Fixed decoding of: fnmsub.d, fnmsub.h, fnmsub.q, fnmadd.d, fnmadd.h, fnmadd.q
Fixed decoding of: c.lw, c.flw, c.ld, c.fsd, c.sw, c.fsw, c.sd
Fixed decoding of: c.addiw, c.li, c.addi4spn, c.addi16sp, c.lui
Fixed decoding of: c.srli, c.srai, c.andi, c.beqz, c.bnez, c.slli
Fixed decoding of: c.fldsp, c.lqsp, c.lwsp, c.flwsp, c.ldsp, c.fsdsp, c.swsp, c.fswsp, c.sdsp

Fixed decoding of: flh, flw, fld, flq, fsh, fsw, fsd, fsq
Fixed decoding of: fmadd.h, fmadd.q, fmsub.h, fmsub.q
Fixed decoding of: fnmsub.d, fnmsub.h, fnmsub.q, fnmadd.d, fnmadd.h, fnmadd.q
Fixed decoding of: c.lw, c.flw, c.ld, c.fsd, c.sw, c.fsw, c.sd
Fixed decoding of: c.addiw, c.li, c.addi4spn, c.addi16sp, c.lui
Fixed decoding of: c.srli, c.srai, c.andi, c.beqz, c.bnez, c.slli
Fixed decoding of: c.fldsp, c.lqsp, c.lwsp, c.flwsp, c.ldsp, c.fsdsp, c.swsp, c.fswsp, c.sdsp
@uxmal
Copy link
Owner

uxmal commented Feb 7, 2024

Thanks for the PR. Your contribution will fix a crash in a user-reported binary.

@uxmal uxmal merged commit dc6316a into uxmal:master Feb 7, 2024
7 of 8 checks 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