target/riscv: Add XVentanaCondOps custom extension
commit0d429bd243dd391e844213d97bb14a0f119b33b5
authorPhilipp Tomsich <philipp.tomsich@vrull.eu>
Wed, 2 Feb 2022 00:52:48 +0000 (2 01:52 +0100)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 16 Feb 2022 02:24:18 +0000 (16 12:24 +1000)
treead6a887cc9271fc2a2e6adc897c8ea18b22432ff
parent5e199b6bdc544658ecc9d614779b2cf3fe215ead
target/riscv: Add XVentanaCondOps custom extension

This adds the decoder and translation for the XVentanaCondOps custom
extension (vendor-defined by Ventana Micro Systems), which is
documented at https://github.com/ventanamicro/ventana-custom-extensions/releases/download/v1.0.0/ventana-custom-extensions-v1.0.0.pdf

This commit then also adds a guard-function (has_XVentanaCondOps_p)
and the decoder function to the table of decoders, enabling the
support for the XVentanaCondOps extension.

Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220202005249.3566542-7-philipp.tomsich@vrull.eu>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/XVentanaCondOps.decode [new file with mode: 0644]
target/riscv/cpu.c
target/riscv/cpu.h
target/riscv/insn_trans/trans_xventanacondops.c.inc [new file with mode: 0644]
target/riscv/meson.build
target/riscv/translate.c