Skip to content

Commit 9cddf20

Browse files
nibrunienibrunieAtSi5
authored andcommitted
[vector-crypto] Fixing Zvkb/Zvbb distinction
1 parent 7dce838 commit 9cddf20

File tree

13 files changed

+29
-15
lines changed

13 files changed

+29
-15
lines changed

disasm/isa_parser.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ isa_parser_t::isa_parser_t(const char* str, const char *priv)
257257
extension_table[EXT_ZVFBFMIN] = true;
258258
} else if (ext_str == "zvfbfwma") {
259259
extension_table[EXT_ZVFBFWMA] = true;
260+
} else if (ext_str == "zvkb") {
261+
extension_table[EXT_ZVKB] = true;
260262
} else if (ext_str == "zvkg") {
261263
extension_table[EXT_ZVKG] = true;
262264
} else if (ext_str == "zvkn") {

riscv/insns/vandn_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "zvk_ext_macros.h"
44

5-
require_zvbb;
5+
require_zvkb;
66

77
VI_VV_LOOP
88
({

riscv/insns/vandn_vx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "zvk_ext_macros.h"
44

5-
require_zvbb;
5+
require_zvkb;
66

77
VI_VX_LOOP
88
({

riscv/insns/vbrev8_v.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "zvk_ext_macros.h"
44

5-
require_zvbb;
5+
require_zvkb;
66

77
VI_V_ULOOP
88
({

riscv/insns/vrev8_v.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "zvk_ext_macros.h"
44

5-
require_zvbb;
5+
require_zvkb;
66

77
VI_V_ULOOP
88
({

riscv/insns/vrol_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "zvk_ext_macros.h"
44

5-
require_zvbb;
5+
require_zvkb;
66

77
// 'mask' selects the low log2(vsew) bits of the shift amount,
88
// to limit the maximum shift to "vsew - 1" bits.

riscv/insns/vrol_vx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "zvk_ext_macros.h"
44

5-
require_zvbb;
5+
require_zvkb;
66

77
// 'mask' selects the low log2(vsew) bits of the shift amount,
88
// to limit the maximum shift to "vsew - 1" bits.

riscv/insns/vror_vi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "zvk_ext_macros.h"
44

5-
require_zvbb;
5+
require_zvkb;
66

77
// 'mask' selects the low log2(vsew) bits of the shift amount,
88
// to limit the maximum shift to "vsew - 1" bits.

riscv/insns/vror_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "zvk_ext_macros.h"
44

5-
require_zvbb;
5+
require_zvkb;
66

77
// 'mask' selects the low log2(vsew) bits of the shift amount,
88
// to limit the maximum shift to "vsew - 1" bits.

riscv/insns/vror_vx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "zvk_ext_macros.h"
44

5-
require_zvbb;
5+
require_zvkb;
66

77
// 'mask' selects the low log2(vsew) bits of the shift amount,
88
// to limit the maximum shift to "vsew - 1" bits.

0 commit comments

Comments
 (0)