From d6d919ee5b061add58b159b6551235241744c91f Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Sun, 18 Jun 2023 22:50:46 +0200 Subject: Add Zicond to disassembler --- disasm/disasm.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'disasm') diff --git a/disasm/disasm.cc b/disasm/disasm.cc index 8722cdb..7834799 100644 --- a/disasm/disasm.cc +++ b/disasm/disasm.cc @@ -2154,6 +2154,11 @@ void disassembler_t::add_instructions(const isa_parser_t* isa) DISASM_INSN("cbo.zero", cbo_zero, 0, {&base_only_address}); } + if (isa->extension_enabled(EXT_ZICOND)) { + DEFINE_RTYPE(czero_eqz); + DEFINE_RTYPE(czero_nez); + } + if (isa->extension_enabled(EXT_ZKND) || isa->extension_enabled(EXT_ZKNE)) { DISASM_INSN("aes64ks1i", aes64ks1i, 0, {&xrd, &xrs1, &rcon}); -- cgit v1.1