I understand. BTW, in GCC compilers this is always inlined (int64 div X) .
On Wed, Sep 25, 2013 at 12:58 PM, Jonas Maebe <jonas.ma...@elis.ugent.be>wrote: > > On 25 Sep 2013, at 00:11, August Oktobar wrote: > > Why this function cannot be inlined? In some code doing int64 > shifting/dividing math, it is not inlined as other similar compiler > functions (round, odd etc.)? i am using FPC 2.7.1 32 bit. > > > It's not inline because it is not declared as "inline". Always inlining it > is probably not a good idea, because that function is not really small and > hence will code significant code bloat. Adaptive inlining (depending on the > number of constant parameters and the resulting code size, or possibly > based on profiling information) would be nice, but FPC does not support > this. > > > Jonas > > _______________________________________________ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-devel > >
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel