Thanks for opening the ticket.
Just one more question about e-gcc behaviour. It generates quite a huge file in terms of prologue and epilogue, like couple of hundreds of instructions for smth like "return 0". I've seen some of those explicitly stated in e-gcc source, but i was unable to find any reference on what should be done in the doc.
Is there some sequence of actions that I should do before and after executing the actual code? Like, starting the core, setting up the int/float mode, etc.
I can reverse the asm from e-gcc, but maybe it's mentioned somewhere else.
Thanks,
Petr
p.s. just finished fixing the backend ELF generator, now it can almost properly compile this test: . Almost - still hitting the wall with STR/LDR, for some weird reason LLVM makes them 32-bit in any case, while I want to make them 16-bit where it's possible (though it is still correct). Also, default calling convention is strange, but ok-tier for now. Will try to run it tomorrowStatistics: Posted by upcFrost — Mon Jan 09, 2017 9:12 pm
]]>