mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
disas/riscv: Add support for XThead* instructions
Support for emulating XThead* instruction has been added recently. This patch adds support for these instructions to the RISC-V disassembler. Co-developed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Acked-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> Message-Id: <20230612111034.3955227-9-christoph.muellner@vrull.eu> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
f6f72338d8
commit
318df7238b
6 changed files with 828 additions and 0 deletions
|
@ -157,6 +157,17 @@ static inline bool has_xthead_p(const RISCVCPUConfig *cfg)
|
|||
return cfg->ext_ ## ext ; \
|
||||
}
|
||||
|
||||
MATERIALISE_EXT_PREDICATE(xtheadba)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadbb)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadbs)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadcmo)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadcondmov)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadfmemidx)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadfmv)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadmac)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadmemidx)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadmempair)
|
||||
MATERIALISE_EXT_PREDICATE(xtheadsync)
|
||||
MATERIALISE_EXT_PREDICATE(XVentanaCondOps)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue