lightning
[Top][All Lists]
Advanced

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

jit_jmpi() to absolute address


From: Paul Cercueil
Subject: jit_jmpi() to absolute address
Date: Sat, 03 Sep 2022 14:57:59 +0100

Hi Paulo,

Somewhere in my code I do:

jit_patch_abs(jit_jmpi(), code);

On PowerPC at least, this unconditionally resolves to a movi_p() + jmpr(), which isn't ideal - it could totally be a PC-relative branch instead.

Is there a valid reason why this isn't converted to a PC-relative branch, or is it a bug?

Cheers,
-Paul





reply via email to

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