fpc-devel · 2018-12
- LLVM code generator12
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…
- Re: The 15k bounty: Optimizing executable speed forLinux x86 / LLVM6
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…
- Proposal to adapt search patch under Haiku using a target specific option (-WH).19
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…
- Case block optimisation7
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…
- merge candidate 3.2 ?2
Is this/Can this be a candidate for merging to 3.2? https://bugs.freepascal.org/view.php?id=34640
- Documentation check4
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…
- x86_64 Optimizer Overhaul58
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…
- finally block entered twice, for only one "try". win64 seh2
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…
- Writing to 16 bit timer registers on AVR (bug #34721)3
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…
- TDef mode question2
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..)…
- Node outputting feature2
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…
- Re: Stringlist sortstyle ssluser0
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…
- Stringlist sortstyle ssluser1
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…
- Re: fpc-devel Digest, Vol 176, Issue 320
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?…
- Fwd: Re: fpc-devel Digest, Vol 175, Issue 293
I have finished work on the improved stringlist. There are few changes in the public section: A new public property OnCompareItems: TStringListSortCompare allows to…
- STringlist: Randomization problem0
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…
- [PATCH] Low-level invoke implementation for Linux x86_640
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…
- Building cross-compiler for arm-linux on win3233
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:…
- Re: rfc: win32/win64 buildscript1
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…
- Sparc64 on solaris2
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…
- Re: The 15k bounty: Optimizing executable speedforLinux x86 / LLVM1
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…
- The 15k bounty: Optimizing executable speed for Linux x86 / LLVM89
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…
- Re: Optimization theory0
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…
- wrong step-over with fpc debug info / how to do objcopy on Mac, or strip .debug_frame1
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,…
- New Debugging Aid0
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…
- Abstract generics1
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…
- Re: Stringlist customsort1
@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…
- Type range in generic6
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]…
- Re: Stringlist customsort1
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…
- Linux compilation question11
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…
- Stringlist customsort6
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…
