lua-users home
lua-l archive

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


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