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: [PATCH,rs6000] Add option to avoid generation of indexed load/store instructions


On Mon, 2009-01-26 at 11:21 -0600, Pat Haugen wrote:
> > The following patch adds a new option, -mavoid-xform, to avoid generation
> > of indexed load/store instructions when possible. Enabling this option on
> > Power6 has shown some significant improvement on certain benchmarks
> (lucas,
> > stream, PTRANS), while at the same time only introducing some minor
> > improvements/degradations on the other spec benchmarks.
> >
> > Bootstrapped and regression tested on powerpc64-linux with no new errors
> > when the option is not enabled.  With the option enabled there is one new
> > failure, gcc.dg/tree-ssa/loop-19.c, which would be expected since that
> test
> > is looking for indexed load/store patterns.
> >
> > OK for trunk?

The patch should include one or more tests to show that the option
has the desired effect.

Janis


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