This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Cache size and optimization in gcc
- To: gcc at gcc dot gnu dot org
- Subject: Cache size and optimization in gcc
- From: Jean Francois Martinez <jfm2 at club-internet dot fr>
- Date: 27 Jan 2001 11:01:27 CET
- Reply-To: Jean Francois Martinez <jfm2 at club-internet dot fr>
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