File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,21 +147,21 @@ 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
154154 rvv_type_info<int32_t , rvv_width_m1 * 1 >::bitcast<__rvv_uint8m1_t >(
155155 __rvv_uint8m1_t x) noexcept
156156 {
157- return __riscv_vreinterpret_i32m1 (x );
157+ return __riscv_vreinterpret_i32m1 (__riscv_vreinterpret_u32m1 (x) );
158158 }
159159 template <>
160160 XSIMD_INLINE rvv_type_info<int64_t , rvv_width_m1 * 1 >::type
161161 rvv_type_info<int64_t , rvv_width_m1 * 1 >::bitcast<__rvv_uint8m1_t >(
162162 __rvv_uint8m1_t x) noexcept
163163 {
164- return __riscv_vreinterpret_i64m1 (x );
164+ return __riscv_vreinterpret_i64m1 (__riscv_vreinterpret_u64m1 (x) );
165165 }
166166 template <>
167167 XSIMD_INLINE rvv_type_info<uint16_t , rvv_width_m1 * 1 >::type
You can’t perform that action at this time.
0 commit comments