Skip to content

Commit

Permalink
Merge pull request #264 from visitorckw/fix-decode-annotation-error
Browse files Browse the repository at this point in the history
Fix decode annotation error
  • Loading branch information
jserv authored Nov 16, 2023
2 parents d789b69 + ebf2362 commit 98ae1cf
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 98ae1cf

Please sign in to comment.