gomp-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gomp-discuss] GENERIC <-> GIMPLE questions.


From: Diego Novillo
Subject: Re: [Gomp-discuss] GENERIC <-> GIMPLE questions.
Date: Mon, 3 Feb 2003 11:24:23 -0500
User-agent: Mutt/1.4i

On Mon, 03 Feb 2003, Lars Segerlund wrote:

>   Specificly I would like to know if the existing GIMPLE format allows 
> restrictions on what optimizations are allowed and over which regions ?
> 
No.  And it shouldn't.  GIMPLE is just syntax specification.  The
semantics of the parallel region must be understood by the
optimizers.  It's not that hard, really.  At worst, all you do in
tree-optimize.c:optimize_function_tree() is:

        if (function_contains_parallel_regions)
          return;

>   If the GIMPLE format allows us to restrict optimizations to a 
> parrallell region, ( not to cross over it's borders ), we don't have to 
> modify the GIMPLE tree's.
> 
There's nothing in the structure of trees that does this.  I
don't understand why you don't want to modify the trees.  You
cannot describe parallel regions if you don't have the tree codes
to support them.


Diego.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]