diff options
author | Jim Wilson <jimw@sifive.com> | 2018-01-15 14:53:44 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-01-15 14:53:44 -0800 |
commit | 2721d702a055fe0f7621386123b103b5c4d84662 (patch) | |
tree | bb592824b55f213951d96e600a373f0eaf6be999 /gas/subsegs.c | |
parent | db422fb2120e311318657d9c7dd0e7b0b5a5eac9 (diff) | |
download | gdb-2721d702a055fe0f7621386123b103b5c4d84662.zip gdb-2721d702a055fe0f7621386123b103b5c4d84662.tar.gz gdb-2721d702a055fe0f7621386123b103b5c4d84662.tar.bz2 |
RISC-V: Add support for addi that compresses to c.nop.
gas/
* testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
* testsuite/gas/riscv/c-zero-imm.d: Likewise.
opcodes/
* riscv-opc.c (match_c_nop): New.
(riscv_opcodes) <addi>: Handle an addi that compresses to c.nop.
Diffstat (limited to 'gas/subsegs.c')
0 files changed, 0 insertions, 0 deletions