RISC-V: Add support for addi that compresses to c.nop.
authorJim Wilson <jimw@sifive.com>
Mon, 15 Jan 2018 22:53:44 +0000 (14:53 -0800)
committerJim Wilson <jimw@sifive.com>
Mon, 15 Jan 2018 22:53:44 +0000 (14:53 -0800)
commit2721d702a055fe0f7621386123b103b5c4d84662
treebb592824b55f213951d96e600a373f0eaf6be999
parentdb422fb2120e311318657d9c7dd0e7b0b5a5eac9
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.
gas/ChangeLog
gas/testsuite/gas/riscv/c-zero-imm.d
gas/testsuite/gas/riscv/c-zero-imm.s
opcodes/ChangeLog
opcodes/riscv-opc.c
This page took 0.026592 seconds and 4 git commands to generate.