Re: [fpc-devel] The 15k bounty: Optimizing executable speed for Linux x86 / LLVM

2018-11-25 Thread Jonas Maebe

On 27/10/18 18:21, Ben Grasset wrote:
LLC (at least now) statically links the necessary parts of LLVM and 
works independently of Opt, with a simpler set of command line options 
(it just has overall O1, O2, and O3 flags.)


Are you certain llc now incorporates the functionality of opt? From what 
I can tell, llc still only performs codegen optimisations and no complex 
IR transformations. It has always had the -O1/-O2/-O3 flags, but those 
always have only affected the codegen.


All information I can find via google also suggest you need to use 
either clang or both opt and llc to get everything (e.g. 
https://lists.llvm.org/pipermail/llvm-dev/2018-January/120226.html ).



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


Re: [fpc-devel] The 15k bounty: Optimizing executable speed for Linux x86 / LLVM

2018-11-25 Thread Florian Klämpfl
Am 23.11.2018 um 21:07 schrieb Simon Kissel:
> problem is distributed all across the code. However, there
> is something sticking out, being at the very top of pretty
> much all multi-threaded code we compile:
> 
> fpc_pushexceptaddr & CRelocateThreadVar.
> 

This, however, does the benchmark not reflect.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel