lua-users home
lua-l archive

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


I guess it is for people who know well LuaJIT internals. If this is
not the right place to post it, sorry.

On Thu, Jul 21, 2011 at 2:14 AM, Dirk Laurie <dpl@sun.ac.za> wrote:
> On Thu, Jul 21, 2011 at 01:20:04AM +0200, Benjamin Segovia wrote:
>> Unfortunately, no sucess. I encapsulated basic blocks into functions
>> and add return statement instead of breaks. Exactly the same result.
>> As I am not sure of what to do next, please find here a dump of the
>> function I tried to compile. I just extracted it and made a
>> stand-alone file with it. Mike, if you have an idea of what is going
>> on.
>
> Since you are posting to the list, I assume that you want other people
> than Mike to look at your code too.  So I have untarred it and ran it:
>
>    $ time luajit no_compiled_trace.lua
>
>    real    0m3.138s
>    user    0m3.132s
>    sys 0m0.000s
>
> Apart from noticing that a block of 20 lines equivalent to
>
>    for k=0,7 do
>        if band(bshl(1,k))~=0 then d[11+k.f] = ADD(d[1].f, d[2].f)
>        end end
>
> appears thirty-odd times, what else do you want the non-Mikes to do?
>
> Dirk
>
>
>