Skip to content

Commit b15cc09

Browse files
WIP
1 parent 68cd020 commit b15cc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/xsimd/types/xsimd_rvv_register.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ namespace xsimd
147147
rvv_type_info<int16_t, rvv_width_m1 * 1>::bitcast<__rvv_uint8m1_t>(
148148
__rvv_uint8m1_t x) noexcept
149149
{
150-
return __riscv_vreinterpret_i16m1(x);
150+
return __riscv_vreinterpret_i16m1(__riscv_vreinterpret_u16m1(x));
151151
}
152152
template <>
153153
XSIMD_INLINE rvv_type_info<int32_t, rvv_width_m1 * 1>::type

0 commit comments

Comments
 (0)