Skip to content

Commit f092a89

Browse files
committed
wip
1 parent ee072a9 commit f092a89

File tree

5 files changed

+4524
-23
lines changed

5 files changed

+4524
-23
lines changed

src/decode.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@ static inline bool op_mvx(rv_insn_t *ir, const uint32_t insn) {}
19591959
static inline bool op_v(rv_insn_t *ir, const uint32_t insn)
19601960
{
19611961
uint32_t funct3_mask = 0x7000;
1962-
switch (insn & funct3_mask) {
1962+
switch ((insn & funct3_mask) >> 7) {
19631963
case 0:
19641964
return op_ivv(ir, insn);
19651965
case 1:

0 commit comments

Comments
 (0)