[fpc-pascal] issue when enabling -O2
matiasevara at gmail.com
Wed Jan 10 18:19:24 CET 2018
2018-01-10 18:09 GMT+01:00 Karoly Balogh (Charlie/SGR) <
charlie at scenergy.dfmk.hu>:
> On Wed, 10 Jan 2018, Matias Vara wrote:
> > BTW, this only applies to inline assembler functions rigth? In the case
> > of normal procedures that contains a block asm end; there is no problem,
> > Am I right?
> No, it applies to *ALL* assembler code. Also inline blocks. The only
> difference is, for blocks you can hint the compiler which registers you
> use, so the compiler can also tailor code which improves the interaction
> with your assembler code:
> This is not true for pure assembler functions tho', for performance
> reasons among others.
This is very interesting.
Thanks a lot.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal