[fpc-devel] LLVM Backend?

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Nov 17 09:40:33 CET 2009


On 17 Nov 2009, at 09:30, Micha Nelissen wrote:

> 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.

As far as I'm concerned, that's semantics. You're right that it matters for this game though :)


Jonas


More information about the fpc-devel mailing list