Closed Tameem97 closed 11 months ago
The boolean reinterpret intrinsics, including __riscv_vreinterpret_v_u8m1_b8
, are a somewhat recent addition, and aren't available in either GCC 13.2 or clang 16. It is however available in trunk of both; https://godbolt.org/z/bWvnTfGfM
Also, you might want something like __riscv_vmsne_vx_i8m1_b8(vand_m, 0, 32)
instead; the reinterpret will reinterpret (giving 8 bits per each int8 element here) whereas a comparison will give 1 mask bit per element.
okay, I thought vreinterpret will also be 1-bit, I will then use the __riscv_vmsne_vx_i8m1_b8(vand_m, 0, 32) instead. Thank you so much!
Hi,
For the following code,
\ I am trying to use this function as shown in the intrinsics view by dzaima,
But I am getting this error,
\ Maybe I am misusing the vreinterpret function, or missing something but it is not clear to me why this error is occurring. \ Actually, I am trying to do this (C code equivalent)
\ Thank you,