[fpc-devel] LLVM Backend?
Micha Nelissen
micha at neli.hopto.org
Tue Nov 17 09:30:42 CET 2009
Jonas Maebe wrote:
> On 17 Nov 2009, at 08:18, Vincent Snijders wrote:
>> If you look at CPU secs, then the factor is 3 at most. What helps the C++ programs most is that they use 4 cores more, the fpc programs are mostly singlethreaded. LLVM doesn't help to solve this (AFAIK).
>
> Anyway, the above is an example of what I mentioned earlier (in the quoted text at the top of this message), since it's of course perfectly possible to also write multi-threaded versions using FPC.
Not quite, because things have to be part of the language to be able to
use them. GCC programs may use OpenMP since it is implemented using
pragma's which are "part" of the language. FPC would have to implement
the 'parallel for' ideas and friends for them to be used.
Micha
More information about the fpc-devel
mailing list