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

Sven Barth pascaldragon at googlemail.com
Sat Oct 27 09:27:59 CEST 2018


Ben Grasset <operator97 at gmail.com> schrieb am Sa., 27. Okt. 2018, 05:46:

> On Thu, Oct 25, 2018 at 3:06 AM Sven Barth via fpc-devel <
> fpc-devel at lists.freepascal.org> wrote:
>
>> Simon Kissel <simon.kissel at nerdherrschaft.com> schrieb am Do., 25. Okt.
>> 2018, 08:54:
>>
>>> - Complete the LLVM branch of FPC. It looks like Jonas has stopped
>>>   working on it two years ago, which is a pity.
>>>
>>
>> I personally don't think that LLVM is the way to go. It's essentially a
>> moving target and adds an unnecessary dependency to the compiler.
>>
>
> Not really. The IR format has been pretty stable since version 3.9 or so
> (LLVM is current at version 8.) As far as dependencies, it would add none
> whatsoever other than a copy of the LLC or LLVM-AS binaries (as in, no more
> than any other target FPC supports. Just think of it as yet another
> assembler format.)
>

It's more than just an additional assembler format as the infrastructure
inside the compiler shows. Also there are the problems that Jonas
mentioned.
In my opinion that time is better spent optimizing our own code generator.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181027/81e6c828/attachment.html>


More information about the fpc-devel mailing list