Vladimir Makarov

Results 277 comments of Vladimir Makarov

Thank you for your feedback. The script prints wall time of running benchmarks compiled by different compilers. The second column is generated code performance relative to `GCC -O2`. I've just...

I guess it is possible. The way I look at possible solution is to have two ctx and an additional thread for background compilation and then when background generation is...

Massimiliano, thank you for your feedback. Dibyendu correctly wrote my explanation for the current implementation of calls. I will implement direct calls as it helps `c2m` performance and people started...

If you need just to call one function directly, this featuire will be in the next release. Here is the patch for x86-64 (function returning address for direct call): ```...

Sorry, I gave a wrong patch. The actual function to get address for direct call is `_MIR_get_thunk_addr` and can be found on bbv branch.

> Any suggestion where `call 7feeed782160 ` comes from? > The correct code would obviously be `call 7feeed782170 ` It might be code (probably a thunk) generated before the current...

> I wonder if there is any way to get the size and start address of the stack segment. Sorry, no. The first stack can grow in function in many...

OK. I'll think what MIR features should be added to make possible fibers implementation and split stacks.

Currently you can load and link module containing exported functions with the same names. All references linked to previous functions will be redirected to new functions as all calls are...

It can be done. The biggest challenge for this is to implement some kind of allocator with freeing space or GC of generated code. I am going to work on...