[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Size optimizations for Lua 5.3 VM on ARM Cortex M4
- From: Abhijit Nandy <abhijit.nandy@...>
- Date: Sat, 16 Jun 2018 22:48:41 +0530
Thanks Luiz. I will try that.
I am working with Lua 4.0.1 code now. We have gotten the size to about 22k now with just the VM code and with the std libs removed and the -O2 and -Os options in place. -O3 for some reason seems to increase the size on arm gcc!
I am hopeful of reducing it to about 18k with ldebug and opcode removals.
Anyone knows the smallest ever size to which Lua with VM only, has ever been compiled :) !
You might also want to try removing parts of ldebug.c.