This is the mail archive of the gcc-patches@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: [gomp] More IL work


On Mon, Aug 01, 2005 at 07:39:18PM +0200, Sebastian Pop wrote:

> One of the things I have thought about is that it could be possible to
> flag some of the loops to be distributed at the moment where the loops
> are created, and keep the loops representation intact until we
> generate parallel code for these loops, so a part of the gomp pragmas
> are translated into flags on loops until this information is used for
> generating the calls to libgomp.
> 
When you say "flag some of the loops", do you mean flag the loop
structures?  If so, I think that would be workable.

The only time we need the loops lexically marked is when
processing OpenMP pragmas in the FE.  But once we are in the
optimizers, transformations should just work with the loop
structures and feed the loop bodies into the thread creation
code.


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