On 4/25/25 7:35 PM, Philippe Mathieu-Daudé wrote:
> On 25/4/25 18:50, Richard Henderson wrote:
>> This is an alternate, but less exact approach. It assumes that there
>> will never be a 16 or 48-bit csr write instruction. This feels dirtier,
>> but it's a fair assumption involves much less faff.
>
> I prefer the other safer version which properly propagate $ra, which
> could be useful for callees.
Both are fine to me. Alistair can pick the one he likes more.
Thanks,
Daniel