lightning
[Top][All Lists]
Advanced

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

Re: [PATCH] ppc: Fix 'calli' when floating-point arguments are passed


From: Paulo César Pereira de Andrade
Subject: Re: [PATCH] ppc: Fix 'calli' when floating-point arguments are passed
Date: Thu, 8 Sep 2022 14:18:33 -0300

Em qui., 8 de set. de 2022 às 06:37, Paul Cercueil
<paul@crapouillou.net> escreveu:

[snip]

> I spoke too soon, I'm still getting problems :(
>
> See the attachment.
>
> The problem now is that r26 should be live at L2 but is not detected as
> such.
> This causes Lightning to use r26 as a temporary for the andi line 34
> (lines 153-155 in the generated code).

  What code you use to access 'r10' and 'r3'? It is possible to use
JIT_R(5) and JIT_R(12) as I did in the C code, but it is an ugly hack,
taking advantage that it does not check bounds. The check/lightning.c
code need to be patched to accept it...

  Can you create a reproducer in C, starting with the above sample?

> Cheers,
> -Paul

Thanks,
Paulo



reply via email to

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