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

Fix decode annotation error #264

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ static inline bool op_op_fp(rv_insn_t *ir, const uint32_t insn)
* FSGNJN.S 0010000 rs2 rs1 001 rd 1010011
* FSGNJX.S 0010000 rs2 rs1 010 rd 1010011
* FCVT.W.S 1100000 00000 rs1 rm rd 1010011
* FCVT.W.S 1100000 00000 rs1 rm rd 1010011
* FCVT.WU.S 1100000 00001 rs1 rm rd 1010011
* FMIN.S 0010100 rs2 rs1 000 rd 1010011
* FMAX.S 0010100 rs2 rs1 001 rd 1010011
* FMV.X.W 1110000 00000 rs1 000 rd 1010011
Expand Down Expand Up @@ -1086,7 +1086,7 @@ static inline bool op_op_fp(rv_insn_t *ir, const uint32_t insn)
case 0b00000: /* FCVT.W.S */
ir->opcode = rv_insn_fcvtws;
break;
case 0b00001: /* FCVT.W.S */
case 0b00001: /* FCVT.WU.S */
ir->opcode = rv_insn_fcvtwus;
break;
}
Expand Down
Loading