[fpc-devel] NoGlobals branch

Florian Klämpfl florian at freepascal.org
Fri Aug 20 20:07:45 CEST 2010


Am 20.08.2010 20:29, schrieb Hans-Peter Diettrich:
> Florian Klaempfl schrieb:
> 
>>> Currently the introduction of a new target CPU requires to update many
>>> parts of the existing general compiler units, 
>>
>> E.g.?
>>
>> I just greped for ifdef sparc in the general compiler directory:
>> 11 hits:
> 
> Try the same with i386, and get hits somewhere else :-(

Yes, this is because i386 is a very special cpu compared with the
others: cisc, high register pressure and a fpu stack with strange
behaviour compared to other fpus. Nevertheless, it's far from being so
bad that it requires to dig upsite down in the compiler. But I'am still
waiting for examples!



More information about the fpc-devel mailing list