bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting efforts


From: Ekaitz Zarraga
Subject: Re: porting efforts
Date: Tue, 21 Dec 2021 14:20:22 +0000

(i repeat the email with the correct CC)

> i think limiting the use to the first 16 registers would break calling
> conventions/register usage (x17 being the last register used for
> argument passing[1]) for the usual RV32/RV64 architectures, no?

It depends on the register you use. The temporary registers as far as
I know are *for you*. As long as the whole compilation is coherent
there's no issue with that.

The only ones you might have issues with are the aX registers, which
are specifically used for argument passing AFAIK.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]