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: Transformations to increase parallelism


On Wed, 23 Jul 2003, Ayal Zaks wrote:

> In response to: http://gcc.gnu.org/ml/gcc/2003-07/msg01606.html
> >
> >Toshi
> 
> Yes, and possibly yes again.
> In general, instead of generating a series of pairwise dependent insns:
> 
> load_inc r2,4(r1)
> ...
> load_inc r3,4(r1)
> ...
> load_inc r4,4(r1)
> 
> we prefer to generate:
> 
> load r2,4(r1)
> ...
> load r3,8(r1)
> ...
> load_inc r4,12(r1)
> 
> because on power4 (1) load_inc is more expensive than load in terms of
> resource utilization, and (2) removing data-dependencies allows faster
> time to start (out-of-order) execution.
> I think we ran across such redundant pre-increment modes compiling
> gap/integer.c.
> 
> Ayal.

This is almost the exact same problem I mentioned in:

http://gcc.gnu.org/ml/gcc/2003-07/msg00646.html

So, it is not Power4-specific.

Toshi





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