Skip to content
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
8 changes: 5 additions & 3 deletions src/isa/riscv64/instr/rvi/decode.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,16 +263,18 @@ def_THelper(op32) {
def_INSTR_TAB("0000000 ????? ????? 001 ????? ????? ??", sllw);
def_INSTR_TAB("0000000 ????? ????? 101 ????? ????? ??", srlw);
def_INSTR_TAB("0100000 ????? ????? 101 ????? ????? ??", sraw);
#ifdef CONFIG_RVB
#ifdef CONFIG_RVB
def_INSTR_TAB("0000100 ????? ????? 000 ????? ????? ??", adduw);
// def_INSTR_TAB("0000100 ????? ????? 100 ????? ????? ??", zext_h);
def_INSTR_TAB("0010000 ????? ????? 010 ????? ????? ??", sh1adduw);
def_INSTR_TAB("0010000 ????? ????? 100 ????? ????? ??", sh2adduw);
def_INSTR_TAB("0010000 ????? ????? 110 ????? ????? ??", sh3adduw);
def_INSTR_TAB("0110000 ????? ????? 001 ????? ????? ??", rolw);
def_INSTR_TAB("0110000 ????? ????? 101 ????? ????? ??", rorw);
def_INSTR_TAB("0000100 ????? ????? 100 ????? ????? ??", packw);
#endif
// Put here to avoid compiler unused warnings. Should never reach here.
// TODO: enable this if Zbb exists but Zbk* does not exist.
def_INSTR_TAB("0000100 00000 ????? 100 ????? ????? ??", zext_h);
#endif
return EXEC_ID_inv;
}

Expand Down