Re: [PATCH v7 18/18] target/riscv: actual functions to realize crs 128-bit insns

2022-01-05 Thread Alistair Francis
On Tue, Dec 14, 2021 at 3:01 AM Frédéric Pétrot wrote: > > The csrs are accessed through function pointers: we add 128-bit read > operations in the table for three csrs (writes fallback to the > 64-bit version as the upper 64-bit information is handled elsewhere): > - misa, as mxl is needed for pr

[PATCH v7 18/18] target/riscv: actual functions to realize crs 128-bit insns

2021-12-13 Thread Frédéric Pétrot
The csrs are accessed through function pointers: we add 128-bit read operations in the table for three csrs (writes fallback to the 64-bit version as the upper 64-bit information is handled elsewhere): - misa, as mxl is needed for proper operation, - mstatus and sstatus, to return sd In addition, w