Skip to content

Commit

Permalink
simd: Assume VLEN length of RISC-V as 128
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Dec 17, 2024
1 parent 9e1a594 commit 2b094f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/fluent-bit/flb_simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ typedef uint32x4_t flb_vector32;
#define FLB_SIMD_RVV
typedef vuint8m1_t flb_vector8;
typedef vuint32m1_t flb_vector32;
#define RVV_VEC_INST_LEN 16

/* Currently, VLEN is assumed to 128. */
#define RVV_VEC_INST_LEN (128 / 8) /* 16 */

#else
/*
Expand Down

0 comments on commit 2b094f5

Please sign in to comment.