Am 03.02.19 um 22:29 schrieb Jonas Maebe:
On 03/02/19 21:26, J. Gareth Moreton wrote:
One thing that I should ask though... if a unit like Math is compiled with -fAVX, then another project that uses it is built without any special floating-point types, is Math recompiled or will it use the code already built, thereby possibly putting AVX code into a non-AVX project?

The latter.

This is why I proposed to use inlining, especially as it seems to boil down to two instructions.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to