Re: [PATCH v7 16/18] target/riscv: helper functions to wrap calls to 128-bit csr insns

2022-01-05 Thread Alistair Francis
On Tue, Dec 14, 2021 at 2:46 AM Frédéric Pétrot wrote: > > Given the side effects they have, the csr instructions are realized as > helpers. We extend this existing infrastructure for 128-bit sized csr. > We return 128-bit values using the same approach as for div/rem. > Theses helpers all call a

[PATCH v7 16/18] target/riscv: helper functions to wrap calls to 128-bit csr insns

2021-12-13 Thread Frédéric Pétrot
Given the side effects they have, the csr instructions are realized as helpers. We extend this existing infrastructure for 128-bit sized csr. We return 128-bit values using the same approach as for div/rem. Theses helpers all call a unique function that is currently a fallback on the 64-bit version