Hi, all,
I run into Segment Fault in:
======
x = 0
for i = 1, 100 do
x = tostring(i)
end
y = "101"
======
And it turns out the JITed code overwrites native stack position at trace
head. It can be walked around by set SPS_FIXED to 0.
The JITed code is doing register spill and assuming there is "2 fixed spill
slots" (defined by SPS_FIXED). But there seems no "fixed spill slots" in
arm64 interpreter implementation. Is it true? Could anyone provide some
info of aarch64 frame layout?
Any input will help! Thanks.
--
Best regards,
Zhongwei
Hi All
The immr and imms values are decoded to get an immediate value. Is there a way to encode from immediate value to immr and imms field for ARMv8 ?
Instruction
[cid:image005.png@01D1E75A.8DE84F20]
Routine.
[cid:image006.png@01D1E75A.8DE84F20]
The DecodeBitMasks routine is not very clear. Any help is appreciated.
Abhishek Dikshit
Hi All,
I am looking forward to contribute in development of LuaJIT for ARM64.
Please feel free to assign work to me even if it is a minor bug fix.
Thanks
Abhishek Dikshit
Hello all,
I finished asm_ahustore and submitted a pull request. Apart from
asm_ahustore, it contains some additional changes to the interpreter
code, that caused me major problems. It enabled a few tests in the
current test suite (array, hash and a few more), but it didn't solve
everything for upvale tests, which fail because of asm_fuseahuref.
I thought to take a look at unimplemented paths of asm_fuseahuref, if
that's alright with everybody.
Stefan
Hi All
I am trying to make this small loop work on ARM64.
./luajit -jon -e 'x=0; for i=1,400000 do x=x+i end;'
The code flow reaches the point
Unimplemented: asm_conv
When I looked into it, it seems that luajit is trying to convert from INT to FLOAT.
Any ideas why it might be doing that ? Or is it a bug somewhere I need to look ?
Thanks
Abhishek Dikshit
Hi everyone,
I have implemented asm_fpmath. The next thing that I'm about to look
into is asm_fload, because it seems that there might be a problem for
the following example:
for i = 1, 100 do
io.write('a')
end
Regards,
Djordje
--
Đorđe Kovačević
Software engineer
Phone +381-(0)21-480-1207
djordje.lj.kovacevic(a)rt-rk.com
RT-RK Institute for Computer Based Systems
Narodnog Fronta 23a
21000 Novi Sad
Serbia
www.rt-rk.com
Hello,
I ran into an issue with asm_intcomp. Is anyone working on this at the
moment?
Also, I noticed that enabling assertions in src/Makefile causes some
tests failures. And that's happening only after the latest merges.
Stefan
Hi
I was trying the -jdump=bitmsr option in ARM64 and I was getting a failure in VM.
I made a small modification. Please review and let me know if the modification is correct.
------------------------------------------------------------------------------------
diff --git a/src/jit/dis_arm64.lua b/src/jit/dis_arm64.lua
index c1b6201..b39b825 100644
--- a/src/jit/dis_arm64.lua
+++ b/src/jit/dis_arm64.lua
@@ -1176,8 +1176,8 @@ end
-- Return register name for RID.
local function regname(r)
- if r < 32 then return map_reg.x[r] end
- return map_reg.d[r-32]
+ if r < 32 then return map_regs.x[r] end
+ return map_regs.d[r-32]
end
-- Public module functions.
-------------------------------------------------------------------------------------
Thanks
Abhishek Dikshit
Hello again,
I'm planning to work on some examples involving array references, so I
will be looking into following functions:
- asm_aref
- asm_fuseabase
- asm_gc_check
Stefan
Hi everyone,
I have implemented min/max related functions. Now, I'll work on asm_fpmath.
Regards,
Djordje
--
Đorđe Kovačević
Software engineer
Phone +381-(0)21-480-1207
djordje.lj.kovacevic(a)rt-rk.com
RT-RK Institute for Computer Based Systems
Narodnog Fronta 23a
21000 Novi Sad
Serbia
www.rt-rk.com