fpc-devel · 2021-02
- -O3 peephole proposal... run Pass 1 again if Pass 2 returns True2
I'm currently developing some new optimisations for Lea instructions after I discovered some new potential ones after fixing i38527. That aside though, sometimes these…
- Optimisation and memory alignment question1
So to get to the point, I've spotted another potential peephole optimisation specifically on x86_64: movq (%rdx),%rax shrq $32,%rax Is it…
- PB2PAS: Proto Compiler for FPC0
I would like to share the proto compiler I developed and get some feedback on it as well. The compiler's code is located https://github.com/AmirAavani/PB2PAS. The…
- CSE and node optimisation question1
I've been looking at some node-level optimisations as of late, and I came across a couple of potential ones while doing experiments with the test on i38527, namely (R is…
- Dangerous download on bug report15
This is a bit of a public service announcement. I tried to look at this bug: https://bugs.freepascal.org/view.php?id=38451 The poster offered a ZIP download of their…
- Range check error on i386-win320
While testing a patch for a bug fix, I discovered that there's a range check error in the compiler trunk under i386-win32 if I run "make fullcycle OPT="-O4 -CriotR -gl"…
- Enabling hardware floating point processor for cortex-m4f on embedded and freertos7
When rtl for arm-embedded/arm-freertos is build with hardfloat the fpu should also automagically get enabled, by default it is off which causes a crash when floats are…
- Adding new units to the compiler project2
I'm currently doing some experiments with vectorisation on x86 platforms. One thing this might entail is a new platform-specific unit (e.g. "x86/nx86bas.pas"). …
- What is the status of -CfLIBGCC ? Can ib be considered good/working for embedded targets?3
I am having a lot of (no-)fun with floating point on Cortex-M0, current summary would be to say that things get pretty unreliable once I start using Floats. I today…
- [Dwarf AVR] DIE refers to abbreviation number which does not exist7
in Windows which cross tools / toolchain for avr should I use ? FPC's avr-embedded-xxxx ( from https://svn.freepascal.org/svn/fpcbuild/binaries/i386-win32 ) or…
- Making $FPCABI work as expected for embedded targets3
There is an issue with compiling code for armv7em, we may compile with hardfloat support or without. The compiled files are link-incompatible as ABI is different so…
- Latest trunk - problems with codesign on MacOSX2
In a recent trunk version new code was introduced in the compiler Makefile to make use of codesign for comparing stage compilers. Problem is that there was an algorithm…
- AVR systeminfo defaults to dwarf 38
I read at compiler/systems/i_embed.pas the AVR systeminfo, is the only one that, has as default "dbg : dbg_dwarf3". The other embed systems that uses dwarf ( ARM,…
- Apple M1 processor6
I have been trying out compiling my main application for the new Apple M1 machines, and have two queries: The traceback on crashes does not include line numbers, when…
- Two floating point issues for the price of one on Cortex-M0 / Trunk0
Jeppe already told me that floating point could be a little shaky on Cortex-M, and he was right... I am creating examples for the Raspberry Pi Pico and the ADC example…
- dwarf 2 warning CIE5
while I investigate some problems I'm having regarding avr debugging, I noticed that the dwarf 2 / 3 generation gives a warning when I call a procedure from another…
- Discussion on a particular optimisation development (WARNING: Technical!)8
I've found a potential optimisation for conditions of the form "(x 0) and (y 0)", which are very common because this is semantically equivalent to "Assigned(x) and…
