https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447

--- Comment #5 from JuzheZhong <juzhe.zhong at rivai dot ai> ---
I don't think VSETVL is wrong.


        vsetivli        zero,8,e8,mf2,ta,ma
        sd      ra,120(sp)
        vmv.x.s a1,v1
        ...
.L36:
        vse8.v
        ...
        vsetivli        zero,8,e32,m2,ta,ma
        j    .L36

Both e8mf2 and e32m2 are valid for vse8.v since they have same ratio = 16

Reply via email to