]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: Fix minor bugs in .insn docs.
authorJim Wilson <jimw@sifive.com>
Wed, 3 Jun 2020 01:36:14 +0000 (18:36 -0700)
committerJim Wilson <jimw@sifive.com>
Wed, 3 Jun 2020 01:37:09 +0000 (18:37 -0700)
commitbb7322c67111024f5977deb85abd777ec713b1a9
treea04fb7e2e4272ffc360f27020832d3e1365ed67b
parent44730156af5f411d2c47af22558e7bd84dc4fcea
RISC-V: Fix minor bugs in .insn docs.

This fixes some minor bugs in the docs for the .insn directive pointed out
by Frédéric Pétrot, and I added a few more cleanups since I was changing
the docs.

gas/
PR 26051
* doc/c-riscv.texi (RISC-V-Formats): Add missing I format using
simm12(rs1).  Correct S format to use simm12(rs1).  Drop SB and B
formats using simm12(rs1).  Correct SB and B to use rs1 and rs2.
Move B before SB.  Move J before UJ.
gas/ChangeLog
gas/doc/c-riscv.texi