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

--- Comment #2 from JuzheZhong <juzhe.zhong at rivai dot ai> ---
vuint16m2_t vadd(vuint16m2_t a, vuint8m1_t b) {
    int vl = __riscv_vsetvlmax_e8m1();
    vuint16m2_t c = __riscv_vzext_vf2_u16m2(b, vl);
    return __riscv_vadd_vv_u16m2(a, c, vl);
}

Reply via email to