[fpc-devel] Optimizing unused return values of inline functions

Florian Klämpfl florian at freepascal.org
Mon Aug 21 17:41:35 CEST 2017


Am 21.08.2017 um 12:12 schrieb Benito van der Zander:
> Hi,
> 
>> This pattern is not inherently efficient. Why should it be ? 
> 
> 
> It is not efficient, because of the pointless instruction!

Well, a register-register move can be considered almost as a nop on modern architectures. If you
really think it is important just provide a patch which eliminates such instructions.



More information about the fpc-devel mailing list