[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [LuaJIT] JIT bug when passing many function arguments?
- From: Mike Pall <mikelu-1202@...>
- Date: Wed, 8 Feb 2012 18:11:53 +0100
Adam Strzelecki wrote:
> $ luajit -joff luajit-mmul.lua
> done in 0.000395 seconds
> 1 0 0 0
> 0 1 0 0
> 0 0 1 0
> 0 0 0 1
>
> $ luajit -jon luajit-mmul.lua
> done in 0.000219 seconds
> 0 0 0 0
> 0 1 0 0
> 0 0 1 0
> 0 0 0 1
Yes, this is a bug. And I've found the cause for this: setting up
synced PHI stack slots can go wrong. Alas, there's no easy fix in
sight. This will take me quite a bit of time to solve.
BTW: I've got an unresolved bug on ARM, which probably has the
same cause. Now I've got a simple test case. Thanks!
--Mike