ams-x9v2b7kq
ams-x9v2b7kq
Thanks for your reply. Based on my understanding of your reply, I should change the for-statement from `for (size_t vl; avl > 0; avl -= vl * 8)` to `for...
> There are two ways to fix your code: > > 1. remove the `* 8` from `avl -= vl * 8` and divide the initial `avl` by `8` beforehand;...
> According to the spec, mask vector load/store operates as byte load/store, and its evl=ceil(vl/8). So `__riscv_vsm_v_b1(&d[f], __riscv_vmand_mm_b1(af, j, g), g);` would still store 1 byte to memory when vl...