On Mon, Jun 1, 2020 at 4:15 PM Greentime Hu <[email protected]> wrote: > > Guo Ren <[email protected]> 於 2020年5月31日 週日 上午9:56寫道: > > > > Hi Greentime, > > > > Why remove vxrm and xstat ? > > > > > Appendix B: Calling Convention > > > In the RISC-V psABI, the vector registers v0-v31 are all caller-saved. > > > The vstart, vl, and vtype CSRs are also caller-saved. > > > The vxrm and vxsat fields have thread storage duration. > > > Hi Guo, > > https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#vector-control-and-status-register-vcsr > "The vxrm and vxsat separate CSRs can also be accessed via fields in > the vector control and status CSR, vcsr." > > Since vcsr will save all these information, I think it should be ok to > save vcsr only.
Got it, it's similar with fcsr & frm & fflags. Acked-by: Guo Ren <[email protected]> -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/

