Skip to content

Commit eea20ae

Browse files
committed
pointer masking: Support _smnpm to --isa
1 parent 8b5cb0f commit eea20ae

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

disasm/isa_parser.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ isa_parser_t::isa_parser_t(const char* str, const char *priv)
320320
extension_table[EXT_ZICFISS] = true;
321321
} else if (ext_str == "smmpm") {
322322
extension_table[EXT_SMMPM] = true;
323+
} else if (ext_str == "smnpm") {
324+
extension_table[EXT_SMNPM] = true;
323325
} else if (ext_str.substr(0, 3) == "zvl") {
324326
reg_t new_vlen;
325327
try {

riscv/isa_parser.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ typedef enum {
8383
EXT_ZICFISS,
8484
EXT_SSDBLTRP,
8585
EXT_SMMPM,
86+
EXT_SMNPM,
8687
NUM_ISA_EXTENSIONS
8788
} isa_extension_t;
8889

0 commit comments

Comments
 (0)