|
From: | Paolo Bonzini |
Subject: | [Lightning] Re: Proof of concept work on inline functions |
Date: | Fri, 10 Sep 2010 09:51:30 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.0.5 |
On 09/09/2010 11:47 PM, Paulo César Pereira de Andrade wrote:
o It must be carefully checked every step. I think it is triggering some problems in gcc, and may trigger in other compilers. Most issues were corrected by accessing global data, for example, instead of creating a local variable, use a global one (usually fields in _jitl jit_local_state), or gcc would apparently sometimes think that _jitl is always filled with zeros... Probably some issue with constant folding.
I suddenly realized, how can you use a local state, however, with inline functions? #define'ing _jit doesn't work.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |