[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
**Subject**: **Re: [LuaJIT] JIT bug when passing many function arguments?**
**From**: Wolfgang Pupp <wolfgang.pupp@...>
**Date**: Wed, 8 Feb 2012 15:06:19 +0100

2012/2/7 Adam Strzelecki <ono@java.pl>:
> For testing I am multiplying A = A * B, where A is initially identity matrix) and B is PI/2 rotation matrix. Every 4 iterations A should be back to identity, however when JIT kicks in then a11 mysteriously changes to 0 (ZERO) and remains 0, when I turn off JIT the result is just fine I got identity every 4 iterations.
I just ran this on my PC, and got a different (also wrong) result:
done in 1.247000 seconds
0 0 0 0
0 1 0 0
1 0 -1 0
0 0 0 1
I think you found a new testcase for Mike ;)