Faster compilation speed
Will Cohen
wcohen@redhat.com
Tue Aug 20 11:22:00 GMT 2002
How about reordering the rows and columns in the table used by yyparse
to improve locality? Have a instrumented version of the yyparse to
record the number of times each transition is taken and use the data to
interchange rows and columns to attempt to get frequent transitions in
the same cache line (or at least not conflicting memory locations). It
would be a kind of feedback-directed optimization
(-fprofile-arcs/-fbranch-probabilities) for bison.
-Will
Jeff Sturm wrote:
On Tue, 13 Aug 2002, David Edelsohn wrote:
More information about the Gcc
mailing list