|
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 -PaulLe 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
[Prev in Thread] | Current Thread | [Next in Thread] |