This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,rs6000] Add option to avoid generation of indexed load/store instructions
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Pat Haugen <pthaugen at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, edelsohn at gnu dot org
- Date: Mon, 26 Jan 2009 10:20:21 -0800
- Subject: Re: [PATCH,rs6000] Add option to avoid generation of indexed load/store instructions
- References: <OF4027AF90.6FD4FA58-ON8625754A.005F10DC-8625754A.005F5ACA@us.ibm.com>
- Reply-to: janis187 at us dot ibm dot com
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