fpc-devel · 2022-01
- Questions regarding m68k-atari target54
Hi (I'm new to this list so please forgive me if i'm asking questions that have already been answered elsewhere, and just point me to the right direction) Inspired by…
- Peephole optimizer passes1
So I've found with the peephole optimizer, at least on x86, that if you run pass 2 more than once, it often catches even more optimisations that otherwise get missed. …
- syshelpers patches4
[Probably for @mvancanneyt] I have just submitted patches for syshelpers here: https://gitlab.com/freepascal.org/fpc/source/-/issues/39268#note_810963784 It's a closed…
- Question on IsMemoryManagerSet logic0
Trying to detect at unit initialization if a memory manager has been installed (xtensa-freertos) fails on FreeRTOS target. It appears that IsMemoryManagerSet[1] always…
- Any word on this ARM / AArch64 optimisation?2
Any word on the validity of this ARM / AArch64 optimisation? It's quite good at increasing speed and shrinking code size by concatenating writes to the stack, among…
- Issue 3.2.3 (ok in 3.3.1) Win64 "raise exception" does not go to "except"3
In the below code compiled with 3.2.3 (today and early Dec) when the exception is reached the app exits. There is no code from finally, nor from except block executed.…
- I've asked this before, but perhaps I wasn't specific enough that time: what do I *personally*, specifically need to do to ensure that a native Windows 64-bit build winds up on the FPC website for the next release?59
To be very clear, to me, this is absolutely nothing more than just a matter of building the compiler completely normally. It takes like two minutes all-in. I don't…
- Proposed new utility functions for x86 peephole optimiser (and maybe others)1
During my implementation of a new optimisation, https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/136, which merges some references, Florian asked me to make…
- Plans for 20227
Some people requested a Patreon post as to my plans for 2022 with FPC, so I was happy to oblige. Plans may change a bit though depending on what happens in life and…
- @Gareth - Feedback on optimizations2
Just thought this may be interesting. Though the results are for "eyeballing" at best -- see the video linked in Jonas' recent mail:…
- Double-checking an optimisation7
So a merge request of mine was just approved that allows the peephole optimizer access to more registers when it needs one for temporary storage. It allows it to make…
- Val() with unsigned variable0
There's been a hot debate in the bugtracker about fixing Val() for signed variables. There's a patch (in fact there are several), and an attempt to speed Val() up…
- Now sure why this raises Runtime Error 2163
Without SetLength(var,0) at the end I get Runtime Error 216 once, adding those - assuming FPC now required me to zero out those fields, I now get the error twice. Code:…
- Is the ARM/AArch64 optimisation okay now?0
I uploaded a merge request for ARMv7A and AArch64 a while back. I'm just wondering if it's okay now. https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/104 To…
- Attn: J. Gareth // 3.3.1 opt = slower // Fwd: Faster than popcnt12
not sure if this is of interest to you, but I see you do a lot on the optimizer.... While testing the attached, I found that one of the functions was notable slower when…
- Unexpected range check error (64-bit only)7
Something like this: Int64 := Byte + Byte + (Signed integer type (8,16 or 32 bit) with value < 0) will always give a range check error on X86_64 platform (if range…
- Assembler file option (-a)4
on Linux with FPC 3.2.2 the executable size of programs compiled with fpc -On -a (tried with n 2 or 4) is smaller than when the assembler files are deleted (-a omitted).…
