> diff --git a/gcc/config/riscv/autovec-vls.md b/gcc/config/riscv/autovec-vls.md
> index d208b418e5f..6f48f7d6232 100644
> --- a/gcc/config/riscv/autovec-vls.md
> +++ b/gcc/config/riscv/autovec-vls.md
> @@ -148,6 +148,14 @@
>    [(set_attr "type" "vmov")
>     (set_attr "mode" "<MODE>")])
>
> +(define_insn "*mov<mode>_vls"
> +  [(set (match_operand:VLSB 0 "register_operand" "=vr")
> +       (match_operand:VLSB 1 "register_operand" " vr"))]
> +  "TARGET_VECTOR"
> +  "vmv1r.v\t%0,%1"
> +  [(set_attr "type" "vmov")
> +   (set_attr "mode" "<MODE>")])

Should we also add loads and stores as well?
and just make sure this is also necessary for the fix and not sneaky, right?

> +
>  (define_expand "movmisalign<mode>"
>    [(set (match_operand:VLS 0 "nonimmediate_operand")
>         (match_operand:VLS 1 "general_operand"))]

Reply via email to