Re: [fpc-devel] Case block optimisation

2018-12-25 Thread J. Gareth Moreton
Just to clarify, the patch does NOT contain the binary search algorithm.  It does contain a utility function that was accidentally left over when I stripped the code out, named "CreateCMOVInstr", but this can be safely removed. Gareth aka. Kit On Wed 26/12/18 00:27 , "J. Gareth Moreton" gar...

Re: [fpc-devel] Case block optimisation

2018-12-25 Thread J. Gareth Moreton
Merry Christmas everyone! I've uploaded my improvements to a bug report, along with a test program that gives timings and verifies correctness. https://bugs.freepascal.org/view.php?id=34762 It turns out that my binary search algorithm runs slower on average "Domain of 1024" tests (which are

Re: [fpc-devel] LLVM code generator

2018-12-25 Thread Jonas Maebe
On 2018-12-02 11:26, Jonas Maebe wrote: The LLVM version of the code generator has been significantly improved in the mean time: * several testsuite failures and other bugs have been fixed * Lazarus (from the fixes_2_0 branch) can now be built (for Darwin/x86-64/Cocoa at least, have not tested