[fpc-devel] Merging identical procedure proposals
José Mejuto
joshyfun at gmail.com
Sat Oct 16 23:08:44 CEST 2021
El 16/10/2021 a las 21:57, J. Gareth Moreton via fpc-devel escribió:
> Certainly possible, and would address the whole function pointer thing,
> although I do question the performance hit because of the extra jump,
> especially for small procedures, as well as the fact that the function
> overhead would still be present. Certainly a safe start though.
>
Hello,
I do not know if its possible, but you can add a bunch of NOPs before
real function, 1, 4, 8... NOPs, one group for each removed call. Of
course a multiple times removed function can have a lot of NOPs to be
executed before the real function body starts.
--
More information about the fpc-devel
mailing list