diff options
author | Kito Cheng <kito.cheng@gmail.com> | 2017-03-07 18:15:02 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-03-15 07:47:52 -0700 |
commit | b416fe873ef44b2a613c9266c6462a481926d986 (patch) | |
tree | 508c7f088305d110f17dd84951738a17314a7722 /gas/ChangeLog | |
parent | 03b039a518fa0f89a9900a44a8b874cc91061305 (diff) | |
download | gdb-b416fe873ef44b2a613c9266c6462a481926d986.zip gdb-b416fe873ef44b2a613c9266c6462a481926d986.tar.gz gdb-b416fe873ef44b2a613c9266c6462a481926d986.tar.bz2 |
RISC-V: Fix assembler for c.li, c.andi and c.addiw
- They can accept 0 in imm field
2017-03-14 Kito Cheng <kito.cheng@gmail.com>
* riscv-opc.c (riscv_opcodes> <c.li>: Use the 'o' immediate encoding.
<c.andi>: Likewise.
<c.addiw> Likewise.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e376e30..58a7327 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2017-03-14 Kito Cheng <kito.cheng@gmail.com> + + * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate + encoding format, which can accept 0-valued immediates. + (riscv_ip): Likewise. + 2017-03-15 Nick Clifton <nickc@redhat.com> * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time |