https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115725
--- Comment #5 from Robin Dapp <rdapp at gcc dot gnu.org> --- > zvl128b => GOOD. > vec_set_vnx8hi_0: > vl1re16.v v1,0(a1) > vsetivli zero,1,e16,m1,ta,ma > vmv.s.x v1,a2 > vs1r.v v1,0(a0) // Only store 1 element as source code. > ret > > > zvl512b => BAD. > vec_set_vnx8hi_0: > vsetivli zero,1,e16,mf4,ta,ma > vle16.v v1,0(a1) > vmv.s.x v1,a2 > vsetivli zero,8,e16,mf4,ta,ma > vse16.v v1,0(a0) // Store 8 elements > ret Isn't this similar in that both write a "full" 8-element vector?