RE: bitmaps in gcc

2005-10-14 Thread Meissner, Michael
One of the classic places that sparse bitmaps were used in GCC in the past is in register allocation phase, where you essentially have a 2D sparse matrix with # of basic blocks on one axis and pseudo register number on the other axis. When you are compiling very large functions, the number of basi

Re: bitmaps in gcc

2005-10-14 Thread Richard Henderson
On Fri, Oct 14, 2005 at 11:27:15AM -0700, Brian Makin wrote: > Can anyone give me some background on the use of > bitmaps in gcc? There's pleanty of material in the list archives. This is not the first time that this topic has come up. r~

Re: bitmaps in gcc

2005-10-14 Thread Ian Lance Taylor
Brian Makin <[EMAIL PROTECTED]> writes: > Bitmaps, also called sparse bit sets, are implemented > using a linked list with a cache. This is probably not > the most time-efficient representation, and it is not > unusual for bitmap functions to show up high on the > execution profile. Bitmaps are us