RE: [PATCH] RISC-V: Support RVV VREINTERPRET from vbool*_t to vint*m1_t

2023-05-17 Thread Li, Pan2 via Gcc-patches
; kito.ch...@sifive.com; Li, Pan2 ; Wang, Yanzhang Subject: [PATCH] RISC-V: Support RVV VREINTERPRET from vbool*_t to vint*m1_t From: Pan Li This patch support the RVV VREINTERPRET from the vbool*_t to the vint*m1_t. Aka: vint*m1_t __riscv_vreinterpret_x_x(vbool*_t); These APIs help the users

[PATCH] RISC-V: Support RVV VREINTERPRET from vbool*_t to vint*m1_t

2023-05-17 Thread Pan Li via Gcc-patches
From: Pan Li This patch support the RVV VREINTERPRET from the vbool*_t to the vint*m1_t. Aka: vint*m1_t __riscv_vreinterpret_x_x(vbool*_t); These APIs help the users to convert vector the vbool*_t to the LMUL=1 signed integer vint*_t. According to the RVV intrinsic SPEC as below, the reinterp