Am 19.05.2017 12:51 schrieb "Mattias Gaertner" <nc-gaert...@netcologne.de>: > > On Fri, 19 May 2017 10:54:25 +0200 > Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote: > > >[...] > > Even though FPC might use SSE for maths it will still use the x87 to > > transfer floating values to/from function, especially if they take Extended > > as parameter/result. > > Can you elaborate on this? > I thought on x64 does not have extended, so extended is double.
Only on Win64 cause Microsoft declared the x87 as deprecated there. All other x86_64 OSes can happily make use of it and thus Extended is 80bit there, thus resulting in the usage of the x87 instead of solely SSE. (Note: you can also enable the x87 for Win64 per define when building the compiler, but your mileage may vary...) > > > I did a test by disabling Extended on Linux x64 trunk compiler and RTL and > > it tripled the framerate from ~3 to ~10. > > And it works? Yes, why shouldn't it? :) Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal