binutils-gdb/include/opcode
Philipp Tomsich 1656d3f8ef RISC-V: Support XVentanaCondOps extension
Ventana Micro has published the specification for their
    XVentanaCondOps ("conditional ops") extension at
      https://github.com/ventanamicro/ventana-custom-extensions/releases/download/v1.0.0/ventana-custom-extensions-v1.0.0.pdf
    which contains two new instructions
      - vt.maskc
      - vt.maskcn
    that can be used in constructing branchless sequences for
    various conditional-arithmetic, conditional-logical, and
    conditional-select operations.

    To support such vendor-defined instructions in the mainline binutils,
    this change also adds a riscv_supported_vendor_x_ext secondary
    dispatch table (but also keeps the behaviour of allowing any unknow
    X-extension to be specified in addition to the known ones from this
    table).

    As discussed, this change already includes the planned/agreed future
    requirements for X-extensions (which are likely to be captured in the
    riscv-toolchain-conventions repository):
      - a public specification document is available (see above) and is
        referenced from the gas-documentation
      - the naming follows chapter 27 of the RISC-V ISA specification
      - instructions are prefixed by a vendor-prefix (vt for Ventana)
        to ensure that they neither conflict with future standard
        extensions nor clash with other vendors

    bfd/ChangeLog:

            * elfxx-riscv.c (riscv_get_default_ext_version): Add riscv_supported_vendor_x_ext.
            (riscv_multi_subset_supports): Recognize INSN_CLASS_XVENTANACONDOPS.

    gas/ChangeLog:

            * doc/c-riscv.texi: Add section to list custom extensions and
              their documentation URLs.
            * testsuite/gas/riscv/x-ventana-condops.d: New test.
            * testsuite/gas/riscv/x-ventana-condops.s: New test.

    include/ChangeLog:

            * opcode/riscv-opc.h Add vt.maskc and vt.maskcn.
            * opcode/riscv.h (enum riscv_insn_class): Add INSN_CLASS_XVENTANACONDOPS.

    opcodes/ChangeLog:

            * riscv-opc.c: Add vt.maskc and vt.maskcn.

    Series-version: 1
    Series-to: binutils@sourceware.org
    Series-cc: Kito Cheng <kito.cheng@sifive.com>
    Series-cc: Nelson Chu <nelson.chu@sifive.com>
    Series-cc: Greg Favor <gfavor@ventanamicro.com>
    Series-cc: Christoph Muellner <cmuellner@gcc.gnu.org>
2023-04-26 14:09:34 -06:00
..
aarch64.h aarch64: Remove stray reglist variable 2023-03-30 17:01:30 +01:00
alpha.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
arc-attrs.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
arc-func.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
arc.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
arm.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
avr.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
bfin.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
cgen.h bpf: fix error conversion from long unsigned int to unsigned int [-Werror=overflow] 2023-02-03 11:18:50 -06:00
ChangeLog-0415
ChangeLog-9103
convex.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
cr16.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
cris.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
crx.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
csky.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
d10v.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
d30v.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
dlx.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ft32.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
h8300.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
hppa.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
i386.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ia64.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
loongarch.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
m68hc11.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
m68k.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
metag.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
mips.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
mmix.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
mn10200.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
mn10300.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
moxie.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
msp430-decode.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
msp430.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
nds32.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
nfp.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
nios2.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
nios2r1.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
nios2r2.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
np1.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ns32k.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
pdp11.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
pj.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
pn.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ppc.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
pru.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
pyr.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
riscv-opc.h RISC-V: Support XVentanaCondOps extension 2023-04-26 14:09:34 -06:00
riscv.h RISC-V: Support XVentanaCondOps extension 2023-04-26 14:09:34 -06:00
rl78.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
rx.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
s12z.h
s390.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
score-datadep.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
score-inst.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
sparc.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
spu-insns.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
spu.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic4x.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic6x-control-registers.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic6x-insn-formats.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic6x-opcode-table.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic6x.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic30.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic54x.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tilegx.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tilepro.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
v850.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
vax.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
visium.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
wasm.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
xgate.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30