Cache size and optimization in gcc

Jean Francois Martinez jfm2@club-internet.fr
Sat Jan 27 02:01:00 GMT 2001


I was thinking that when trying to optimze code a compiler could have to
coinsider if it will fit in first level cache and the amount of the penalty to
access code or data who is out of it.	Is that implemented or are there plans
for implementing it?

As I see it the info about cache size and speed would have to be provided by
the user (perhaps just by specifying a finer grained model than just cpu=i686) 


							JF Martinez




More information about the Gcc mailing list