[fpc-pascal] Registers in loops

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Dec 14 12:05:04 CET 2012


On 14 Dec 2012, at 09:26, patspiper wrote:

> On 13/12/12 21:51, denisgolovan wrote:
>> Hi all
>>
>> Recently I discovered that fpc refuses to use registers in my loops  
>> even with optimization turned on (-O1,-O3 used).
> With the asm code commented out and without any optimization, the  
> registers are used.

Indeed, adding inline assembler to a routine disables many  
optimizations.


Jonas




More information about the fpc-pascal mailing list