Skip to content

Commit

Permalink
[zvknf] declaring Zvknf extension in ISA parser
Browse files Browse the repository at this point in the history
  • Loading branch information
nibrunie committed Apr 7, 2023
1 parent cc78efb commit 47ea9c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions riscv/isa_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ isa_parser_t::isa_parser_t(const char* str, const char *priv)
extension_table[EXT_ZVKSED] = true;
} else if (ext_str == "zvksh") {
extension_table[EXT_ZVKSH] = true;
} else if (ext_str == "zvknf") {
extension_table[EXT_ZVKNF] = true;
} else if (ext_str == "sstc") {
extension_table[EXT_SSTC] = true;
} else if (ext_str[0] == 'x') {
Expand Down
1 change: 1 addition & 0 deletions riscv/isa_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ typedef enum {
EXT_ZVKNHB,
EXT_ZVKSED,
EXT_ZVKSH,
EXT_ZVKNF,
EXT_XZBP,
EXT_XZBS,
EXT_XZBE,
Expand Down

0 comments on commit 47ea9c8

Please sign in to comment.