Skip to content

Commit 21a280b

Browse files
committed
Extending Zvbc32e vclmul[h] to SEW 8 and 16
1 parent 78edff2 commit 21a280b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

riscv/insns/vclmul_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "zvk_ext_macros.h"
44

55
require_any_zvbc;
6-
require_either_extension_condition(EXT_ZVBC, P.VU.vsew == 64, EXT_ZVBC32E, P.VU.vsew == 32);
6+
require_either_extension_condition(EXT_ZVBC, P.VU.vsew == 64, EXT_ZVBC32E, P.VU.vsew == 32 || P.VU.vsew == 16 || P.VU.vsew == 8);
77

88
VI_VV_ULOOP
99
({

riscv/insns/vclmul_vx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "zvk_ext_macros.h"
44

55
require_any_zvbc;
6-
require_either_extension_condition(EXT_ZVBC, P.VU.vsew == 64, EXT_ZVBC32E, P.VU.vsew == 32);
6+
require_either_extension_condition(EXT_ZVBC, P.VU.vsew == 64, EXT_ZVBC32E, P.VU.vsew == 32 || P.VU.vsew == 16 || P.VU.vsew == 8);
77

88
VI_VX_ULOOP
99
({

riscv/insns/vclmulh_vv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "zvk_ext_macros.h"
44

55
require_any_zvbc;
6-
require_either_extension_condition(EXT_ZVBC, P.VU.vsew == 64, EXT_ZVBC32E, P.VU.vsew == 32);
6+
require_either_extension_condition(EXT_ZVBC, P.VU.vsew == 64, EXT_ZVBC32E, P.VU.vsew == 32 || P.VU.vsew == 16 || P.VU.vsew == 8);
77

88
VI_VV_ULOOP
99
({

riscv/insns/vclmulh_vx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "zvk_ext_macros.h"
44

55
require_any_zvbc;
6-
require_either_extension_condition(EXT_ZVBC, P.VU.vsew == 64, EXT_ZVBC32E, P.VU.vsew == 32);
6+
require_either_extension_condition(EXT_ZVBC, P.VU.vsew == 64, EXT_ZVBC32E, P.VU.vsew == 32 || P.VU.vsew == 16 || P.VU.vsew == 8);
77

88
VI_VX_ULOOP
99
({

0 commit comments

Comments
 (0)