> The compiler already supports keeping records in registers under the same
> conditions, but only up to a certain size (two native registers) and only 
> using the
> same layout as they would have in memory (so no explicit splitting out fields
> into separate registers). 

Using record fields as independent variables if appropriate could be a nice 
very high-level optimization strategy (AFAIK, GNU C does this easily). With X64 
architecture and others that have many registers this seems to make a lot of 
sense, but it also would allow to allocate seldom used fields ion the stack. 

-Michael




_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to