lightning
[Top][All Lists]
Advanced

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

Re: [Lightning] jit_qdivr_u trashes JIT_R0 on x86_64


From: Paul Cercueil
Subject: Re: [Lightning] jit_qdivr_u trashes JIT_R0 on x86_64
Date: Tue, 20 Aug 2019 15:00:56 +0200

Hi,

I noticed that it trashes my JIT_R2 (%r12) register as well...

Regards
-Paul



Le dim. 18 août 2019 à 19:46, Paul Cercueil <address@hidden> a écrit :
Hi Pablo,

I'm trying to debug an issue I have on my Lightrec project (https://github.com/pcercuei/lightrec/).

On x86_64, I'm under the impression that calling jit_qdivr_u() trashes the JIT_R0 (%eax) register. Looking at the code, it definitely uses %eax for *something*. Should I expect %eax to be properly restored after jit_qdivr_u(), or should I avoid using this register in the first place?

Thanks,
-Paul







reply via email to

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