Skip to content

Commit 2f5e472

Browse files
committed
Fix rvv
1 parent 27f4f7a commit 2f5e472

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/xsimd/arch/xsimd_rvv.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@
9696
static constexpr size_t width = XSIMD_RVV_BITS; \
9797
static constexpr size_t vl = width / (sizeof(T) * 8); \
9898
using vec = rvv_reg_t<T, width>; \
99-
using uvec = rvv_reg_t<xsimd::sized_uint_t<T>, width>; \
100-
using svec = rvv_reg_t<xsimd::sized_int_t<T>, width>; \
99+
using uvec = rvv_reg_t<xsimd::sized_uint_t<sizeof(T)>, width>; \
100+
using svec = rvv_reg_t<xsimd::sized_int_t<sizeof(T)>, width>; \
101101
using fvec = rvv_reg_t<as_float_relaxed_t<T>, width>; \
102102
using bvec = rvv_bool_t<T, width>; \
103103
using scalar_vec = rvv_reg_t<T, types::detail::rvv_width_m1>; \

0 commit comments

Comments
 (0)