aboutsummaryrefslogtreecommitdiff
path: root/opcodes/riscv-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/riscv-dis.c')
-rw-r--r--opcodes/riscv-dis.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c
index 86b5287..8ab138e 100644
--- a/opcodes/riscv-dis.c
+++ b/opcodes/riscv-dis.c
@@ -822,6 +822,10 @@ print_insn_args (const char *oparg, insn_t l, bfd_vma pc, disassemble_info *info
print (info->stream, dis_style_immediate, "%d",
((int) EXTRACT_CV_BI_IMM5 (l)));
break;
+ case '5':
+ print (info->stream, dis_style_immediate, "%d",
+ ((int) EXTRACT_CV_SIMD_IMM6 (l)));
+ break;
case '6':
print (info->stream, dis_style_immediate, "%d",
((int) EXTRACT_CV_BITMANIP_UIMM5 (l)));
@@ -830,6 +834,11 @@ print_insn_args (const char *oparg, insn_t l, bfd_vma pc, disassemble_info *info
print (info->stream, dis_style_immediate, "%d",
((int) EXTRACT_CV_BITMANIP_UIMM2 (l)));
break;
+ case '8':
+ print (info->stream, dis_style_immediate, "%d",
+ ((int) EXTRACT_CV_SIMD_UIMM6 (l)));
+ ++oparg;
+ break;
default:
goto undefined_modifier;
}