Add canonical JALR for RISC-V
authorAndrew Waterman <andrew@sifive.com>
Mon, 19 Dec 2016 06:53:52 +0000 (22:53 -0800)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Dec 2016 01:56:34 +0000 (12:26 +1030)
commit755c5297bdbca564e97040ce7f036ed02dc7fa4a
tree1017211f4410afc70a0af19b6d4805cd9051b1e3
parentd115ab8eee9bb3e13aae86698a4fd91e0ed284e9
Add canonical JALR for RISC-V

    jalr rd,offset(rs1)

rather than

    jalr rd,rs1,offset

This matches the format of other instructions.

* riscv-opc.c (riscv_opcodes): Change jr and jalr to "o(s)"
format.
opcodes/ChangeLog
opcodes/riscv-opc.c