diff options
author | Ming-Yi Lai <ming-yi.lai@mediatek.com> | 2024-01-04 10:01:20 +0800 |
---|---|---|
committer | Ming-Yi Lai <ming-yi.lai@mediatek.com> | 2024-03-06 17:21:00 +0800 |
commit | 8e56ced020c6923206f441332170c7a98e5d7e05 (patch) | |
tree | 731ed68d46ff63f35a018523bdeab44130fd834b | |
parent | 581e0da68541a20e6ba385acd2b9dcee2358176e (diff) | |
download | spike-8e56ced020c6923206f441332170c7a98e5d7e05.zip spike-8e56ced020c6923206f441332170c7a98e5d7e05.tar.gz spike-8e56ced020c6923206f441332170c7a98e5d7e05.tar.bz2 |
Zicfilp: Add Zicfilp extension flag
-rw-r--r-- | disasm/isa_parser.cc | 2 | ||||
-rw-r--r-- | riscv/isa_parser.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/disasm/isa_parser.cc b/disasm/isa_parser.cc index 7a133e4..3a99d0a 100644 --- a/disasm/isa_parser.cc +++ b/disasm/isa_parser.cc @@ -306,6 +306,8 @@ isa_parser_t::isa_parser_t(const char* str, const char *priv) extension_table[EXT_ZALASR] = true; } else if (ext_str == "ssqosid") { extension_table[EXT_SSQOSID] = true; + } else if (ext_str == "zicfilp") { + extension_table[EXT_ZICFILP] = true; } else if (ext_str[0] == 'x') { extension_table['X'] = true; if (ext_str.size() == 1) { diff --git a/riscv/isa_parser.h b/riscv/isa_parser.h index f310b97..f02b55d 100644 --- a/riscv/isa_parser.h +++ b/riscv/isa_parser.h @@ -87,6 +87,7 @@ typedef enum { EXT_ZCMOP, EXT_ZALASR, EXT_SSQOSID, + EXT_ZICFILP, NUM_ISA_EXTENSIONS } isa_extension_t; |