With your permission I'd like to use this project as part of my work to improve the peephole optimiser, among other things.  Any improvements probably won't happen until the version after 3.2.0, but I like a challenge!

J. Gareth Moreton, aka. Kit

P.S. One of the things I introduced into FPC 3.2.0 is the "vectorcall" calling convention for x86_64-win64.  It's currently mostly there for pure assembler routines and for interfacing with third-party libraries, since automatic vectorisation of Pascal code is still rather limited.  It might be something to experiment with though.


On 01/04/2020 17:39, Kostas Michalopoulos via fpc-devel wrote:
Hm, for me the new compiler produces slightly slower results. The difference is tiny, but consistent. I use my raytracing benchmark from here:

http://runtimeterror.com/tools/raybench/

The results on my AMD Ryzen 3700X are:

FPC 3.0.4: 3.984 seconds
FPC 3.2.0RC1: 4.047 seconds

As i wrote, the difference is tiny, but over several runs it is pretty much consistent.

Note that these are for 32bit Windows executables. Also i'm using the Lazarus-bundled build mentioned by Martin Frb above.


On Tue, Mar 31, 2020 at 11:59 PM Florian Klämpfl <flor...@freepascal.org <mailto:flor...@freepascal.org>> wrote:

    Am 31.03.20 um 05:55 schrieb Joao Schuler:
    > Just tested with my own neural networks API and I can confirm
    that it works!
    > Environment: WIN10 64bits AVX
    >
    > Tested with:
    >
    
https://github.com/joaopauloschuler/neural-api/blob/master/examples/SimpleImageClassifier/SimpleImageClassifier.lpr

    >
    >
    > In this test, there is a performance gain (speed) against 3.0.4
    at about 9%.

    Do you have numbers in comparison with trunk?

    _______________________________________________
    fpc-devel maillist  - fpc-devel@lists.freepascal.org
    <mailto:fpc-devel@lists.freepascal.org>
    https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


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


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to