This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Threading the compiler


On Fri, 2006-11-10 at 12:46 -0800, H. J. Lu wrote:
> On Fri, Nov 10, 2006 at 12:38:07PM -0800, Mike Stump wrote:
> > How many hunks do we need, well, today I want 8 for 4.2 and 16 for  
> > mainline, each release, just 2x more.  I'm assuming nice, equal sized  
> > hunks.  For larger variations in hunk size, I'd need even more hunks.
> > 
> > Or, so that is just an off the cuff proposal to get the discussion  
> > started.
> > 
> > Thoughts?
> 
> Will use C++ help or hurt compiler parallelism? Does it really matter?

My 2c.

I don't think it can possibly hurt as long as people follow normal C++
coding rules.

The main issue is not really language choice though. The main issues
would likely be defining data to be isolated enough to be useful to do
work in parallel.

Lots of threads communicating a lot would be bad.

Sohail


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]