mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
RISC-V: Fix disassemble for c.li, c.andi and c.addiw
ChangeLog 2017-05-03 Kito Cheng <kito.cheng@gmail.com> * riscv-dis.c (print_insn_args): Handle 'Co' operands.
This commit is contained in:

committed by
Palmer Dabbelt

parent
45eba0ab7d
commit
f91d48deb2
@ -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>
|
2017-05-01 Michael Clark <michaeljclark@mac.com>
|
||||||
|
|
||||||
* riscv-opc.c (riscv_opcodes) <call>: Use RA not T1 as a temporary
|
* riscv-opc.c (riscv_opcodes) <call>: Use RA not T1 as a temporary
|
||||||
|
@ -153,6 +153,7 @@ print_insn_args (const char *d, insn_t l, bfd_vma pc, disassemble_info *info)
|
|||||||
case 'i':
|
case 'i':
|
||||||
print (info->stream, "%d", (int)EXTRACT_RVC_SIMM3 (l));
|
print (info->stream, "%d", (int)EXTRACT_RVC_SIMM3 (l));
|
||||||
break;
|
break;
|
||||||
|
case 'o':
|
||||||
case 'j':
|
case 'j':
|
||||||
print (info->stream, "%d", (int)EXTRACT_RVC_IMM (l));
|
print (info->stream, "%d", (int)EXTRACT_RVC_IMM (l));
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user