mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
RISC-V: Adding XTheadBs ISA extension
This patch adds support for the XTheadBs ISA extension. The patch uses the T-Head specific decoder and translation. Co-developed-by: Philipp Tomsich <philipp.tomsich@vrull.eu> Co-developed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> Message-Id: <20230131202013.2541053-6-christoph.muellner@vrull.eu> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
426c049196
commit
fa13458546
5 changed files with 23 additions and 1 deletions
|
@ -133,7 +133,8 @@ static bool always_true_p(DisasContext *ctx __attribute__((__unused__)))
|
|||
static bool has_xthead_p(DisasContext *ctx __attribute__((__unused__)))
|
||||
{
|
||||
return ctx->cfg_ptr->ext_xtheadba || ctx->cfg_ptr->ext_xtheadbb ||
|
||||
ctx->cfg_ptr->ext_xtheadcmo || ctx->cfg_ptr->ext_xtheadsync;
|
||||
ctx->cfg_ptr->ext_xtheadbs || ctx->cfg_ptr->ext_xtheadcmo ||
|
||||
ctx->cfg_ptr->ext_xtheadsync;
|
||||
}
|
||||
|
||||
#define MATERIALISE_EXT_PREDICATE(ext) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue