Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel

fpc-devel · 2018-12

  1. LLVM code generator

    The LLVM code generator is more or less ready, including Dwarf-EH-based exception handling support. It's currently only supported on Darwin/x86-64 and Linux/x86-64, but…

    Jonas Maebe, Adriaan van Os, Florian Klämpfl
    12
  2. Re: The 15k bounty: Optimizing executable speed forLinux x86 / LLVM

    A regression like this is quite serious.  I'd recommend opening a bug report with a reproducible case so we can investigate and hopefully fix it within the day. At the…

    J. Gareth Moreton, Florian Klämpfl, Simon Kissel
    6
  3. Proposal to adapt search patch under Haiku using a target specific option (-WH).

    Some background : Haiku currently supports two compilers toolchains with two sets of libraries and ABI for its 32 bits flavor :  - gcc 2 for BeOS compatibility  - gcc…

    Olivier Coursière, Florian Klämpfl, Karoly Balogh (Charlie/SGR
    19
  4. Case block optimisation

    So here's something else I've been playing with in the interim... I've been working on improving the algorithms used when compiling case blocks.  It was driven partly…

    J. Gareth Moreton, Martok
    7
  5. merge candidate 3.2 ?

    Is this/Can this be a candidate for merging to 3.2? https://bugs.freepascal.org/view.php?id=34640

    Martin, Marco van de Voort, Sven Barth
    2
  6. Documentation check

    I've just written up a new segment on the Wiki about how jump tables work.  Since I want to look at implementing my binary search option, I thought I'd document what…

    J. Gareth Moreton, Florian Klämpfl, Marco van de Voort
    4
  7. x86_64 Optimizer Overhaul

    So for the fast few weeks, I've attempted to do some work on the peephole optimizer, specifically to reduce the number of passes required to produce optimised code, and…

    J. Gareth Moreton, Ben Grasset, Florian Klämpfl
    58
  8. finally block entered twice, for only one "try". win64 seh

    Ok I have this really weird issue. fpc 3.0.4 64 bit / built from svn tag. At this stage I am just happy for any idea.... There is a function with several try finally…

    Martin, Martin Frb
    2
  9. Writing to 16 bit timer registers on AVR (bug #34721)

    According to AVR manuals 16 bit timer registers share a temp register which requires a specific sequence for reading/writing: "To do a 16-bit write, the high byte must…

    Christo Crause, Florian Klämpfl, Jonas Maebe
    3
  10. TDef mode question

    just a very quick question - I think the answer is no, but that doesn't mean anything: Is there a (ppu-persisted) way to find out in what language mode (fpc, iso, tp..)…

    Martok, Jonas Maebe
    2
  11. Node outputting feature

    I've developed a feature to output the compiler-generated node trees into XML files that could prove useful for debugging purposes.  While the ability to print the…

    J. Gareth Moreton, Florian Klämpfl
    2
  12. Re: Stringlist sortstyle ssluser

    Not correct, it is meant for the cases when the user knows the list is sorted. No, because you can load data from an already sorted file. Then it makes no sense to sort…

    Franz Müller
    0
  13. Stringlist sortstyle ssluser

    In the current implementation of TStringlist, there is a property SortStyle, which is somewhat similar to the property Sorted. However, it is different from sorted in…

    Franz Müller, Michael Van Canneyt
    1
  14. Re: fpc-devel Digest, Vol 176, Issue 32

    Am Sa., 22. Dez. 2018, 17:38 hat Bart < On Sat, Dec 22, 2018 at 1:03 PM Franz Müller < number generator routine before sorting and to restore it when the sort is done?…

    Franz Müller
    0
  15. Fwd: Re: fpc-devel Digest, Vol 175, Issue 29

    I have finished work on the improved stringlist. There are few changes in the public section:  A new public property OnCompareItems: TStringListSortCompare allows to…

    Franz Müller, Bart, Ozz Nixon
    3
  16. STringlist: Randomization problem

    Just thought of it again. If we make the quicksort procedure virtual protected instead of private, it would be easy for anyone who needs it to derive a stringlist class…

    Franz Müller
    0
  17. [PATCH] Low-level invoke implementation for Linux x86_64

    Hi. It was sent here: https://bugs.freepascal.org/view.php?id=34743 Could you check the possibility to apply (or refuse) it? I'm totally open for questions/improvements…

    silvioprog
    0
  18. Building cross-compiler for arm-linux on win32

    I'm trying to build a cross-compiler for arm-linux target on a win32 host. It fails at assembling system.s (produced from system.pp) with the following output:…

    Nikolai Zhubr, Florian Klämpfl, Jonas Maebe
    33
  19. Re: rfc: win32/win64 buildscript

    I'll give it a whirl when I next build FPC, since I play with win32 and win64 optimisations quite a bit.  Thanks Marco. Gareth aka. Kit On Tue 11/12/18 11:57 , Marco…

    J. Gareth Moreton, Marco van de Voort
    1
  20. Sparc64 on solaris

    Hi All I noticed that the trunk version of the compiler has a Sparc64/Linux target. Did a little work to create a Sparc64/Solaris target. Had little luck producing an…

    Peter Popov, Pierre Muller
    2
  21. Re: The 15k bounty: Optimizing executable speedforLinux x86 / LLVM

    At the moment I'm trying to fix some Linux bugs.  When I compile Lazarus with it, I get about a 5% speed increase for -O1 and a 15% speed increase for -O3, but someone…

    J. Gareth Moreton
    1
  22. The 15k bounty: Optimizing executable speed for Linux x86 / LLVM

    I assume everybody here still knows who I am, so I'll drop the introduction part. In our products, we use FPC for a couple of targets. However, for all of Linux x86…

    Simon Kissel, Adriaan van Os, Ben Grasset
    89
  23. Re: Optimization theory

    Not sure if this was intended for the group mailing list or not, but was only e-mailed to me. One quesion though... in your example, what level of your optimisation are…

    J. Gareth Moreton
    0
  24. wrong step-over with fpc debug info / how to do objcopy on Mac, or strip .debug_frame

    With reference to https://bugs.freepascal.org/view.php?id=34159 It *appears* that this issue also happens on Mac, using lldb (so both lldb and gdb get step-over wrong,…

    Martin, Jonas Maebe
    1
  25. New Debugging Aid

    I developed an aid to help me debug the peephole optimizer a while ago, and I would like to present it as a possible permanent fixture to the compiler if it is built…

    J. Gareth Moreton
    0
  26. Abstract generics

    Further to the ranges in generics discussion....... more on generics There is always a way to do that using an abstract class. The things of interest creating the idea…

    Simon Jackson, Sven Barth
    1
  27. Re: Stringlist customsort

    @Tomas Hajny Ah - thank you. Very strange. I did not expect and did not notice that when I click on "reply to list", the reply uses another mail address than the one the…

    Franz Müller, Unknown author
    1
  28. Type range in generic

    GENERIC GHandle<T, R> = CLASS PROTECTED it: Array [R] of T; FUNCTION readIt(p: R): T; VIRTUAL; PROCEDURE WriteIt(p: R; what: T); VIRTUAL; PUBLIC PROPERTY gimmeIt[p: R]…

    Simon Jackson, Ryan Joseph, Sven Barth
    6
  29. Re: Stringlist customsort

    Am 01.12.2018 um 09:09 schrieb Havent programmed it yet, but I am going to do now. This is my first contribution to the project, so most work for me will be to download…

    Franz Müller, Tomas Hajny
    1
  30. Linux compilation question

    I have a little question.  I'm having problems compiling fpc under x86_64-linux.  At first I thought it was a bug in one of my changes, but it seems to occur on the…

    J. Gareth Moreton, Bart, Christo Crause
    11
  31. Stringlist customsort

    Hi everybody! Currently, the implementation of cutomsorted stringlists ist very far from satisfactory; you have to call the sort routine again whenever a string is added…

    Franz Müller, Andrea Mauri, Bart
    6