[fpc-devel] Kit's ambitions!

Florian Klämpfl florian at freepascal.org
Mon May 21 21:44:14 CEST 2018


Am 13.05.2018 um 21:02 schrieb Christo:
> On Sun, 2018-05-13 at 03:28 +0100, J. Gareth Moreton wrote:
>>  Expand on Data Flow Analysis in the compiler.
>>
>> What I personally call the "Deep Optimizer", I'm proposing an assembler-level optimisation
>> system (although it won't touch pure assembler routines) that rearranges commands and changes
>> registers in order to minimise pipeline stalls and to also collapse a "div" and "mod"
>> operation into a single instruction where possible.  
> 
> I would also like the data flow analyzer to look at inline assembler and emit hints and warnings
> if it picks up something incoherent.

We had already a data flow analyzer for assembler in 1.0.x and early 2.x times, however, it was
disabled after several years as it was too hard to make it work safely.



More information about the fpc-devel mailing list