Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Commit

Permalink
RISC-V: Fix disassemble for c.li, c.andi and c.addiw
Browse files Browse the repository at this point in the history
ChangeLog

2017-05-03  Kito Cheng  <kito.cheng@gmail.com>

        * riscv-dis.c (print_insn_args): Handle 'Co' operands.
  • Loading branch information
kito-cheng authored and palmer-dabbelt committed May 5, 2017
1 parent 3b5db3f commit 3f21b5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions opcodes/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2017-05-03 Kito Cheng <kito.cheng@gmail.com>

* riscv-dis.c (print_insn_args): Handle 'Co' operands.

2017-05-01 Michael Clark <michaeljclark@mac.com>

* riscv-opc.c (riscv_opcodes) <call>: Use RA not T1 as a temporary
Expand Down
1 change: 1 addition & 0 deletions opcodes/riscv-dis.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ print_insn_args (const char *d, insn_t l, bfd_vma pc, disassemble_info *info)
case 'i':
print (info->stream, "%d", (int)EXTRACT_RVC_SIMM3 (l));
break;
case 'o':
case 'j':
print (info->stream, "%d", (int)EXTRACT_RVC_IMM (l));
break;
Expand Down

0 comments on commit 3f21b5c

Please sign in to comment.