Re: [fpc-devel] Registers allocation technique

2014-10-01 Thread Sergei Gorelkin
30.09.2014 23:34, Sven Barth пишет: On 30.09.2014 18:37, Lag Programming wrote: 1) Unless a function calls another function, the function result register will always be in rax. Calling for inlined functions doesn't change this behaviour as it's not a real function call. RAX will only then be

Re: [fpc-devel] Registers allocation technique

2014-09-30 Thread Sven Barth
On 30.09.2014 18:37, Lag Programming wrote: 1) Unless a function calls another function, the function result register will always be in rax. Calling for inlined functions doesn't change this behaviour as it's not a real function call. RAX will only then be used for the function result when it

Re: [fpc-devel] Registers allocation technique

2014-09-30 Thread Lag Programming
Thank you Sven. Unfortunately I can't find a way to compress the information in few lines without losing important information. I've already done that mistake in the first mail, now I'll try to fully explain why I'm interested in the way these registers are allocated. Even if the mail is