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

Sven Barth pascaldragon at googlemail.com
Thu Oct 25 17:06:50 CEST 2018


Michael Van Canneyt <michael at freepascal.org> schrieb am Do., 25. Okt. 2018,
14:55:

>
>
> On Thu, 25 Oct 2018, Sven Barth via fpc-devel wrote:
>
> >
> >> Personally I am also in favour of a more open technique instead of a
> >> technique which is proprietary to a platform, and in this sense I
> >> understand
> >> and endorse your point of view, but beggars can't be choosers.
> >>
> >> There is no problem to have both techniques available. As I wrote, the
> SEH
> >> is the fastest path.
> >>
> >
> > I have my doubts especially as the rtlunwind stuff of Kylix only works on
> > i386. The SEH mechanism between i386 and all other Windows platforms
> > differs significantly and I doubt that Simon only wants i386 to benefit.
>
> If 'SEH is the fastest path.' is not correct, then all the more reason to
> use DWARF...
>

A further obstacle for SEH on non-i386: GNU AS supports the pseudo
instructions needed for SEH only for PE/COFF, but not ELF. This would mean
that we'd need to add them manually to to the assembly files which would
definitely be more bothersome...

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20181025/21fe5052/attachment.html>


More information about the fpc-devel mailing list