This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [gsoc] Generic addressing mode selection
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: Jeff Law <law at redhat dot com>
- Cc: Erik Varga <erik dot varga256 at gmail dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 26 Mar 2015 23:46:20 +0100
- Subject: Re: [gsoc] Generic addressing mode selection
- Authentication-results: sourceware.org; auth=none
- References: <CAMHD1_-5Pmtk2G1GaGB-EfsfgQSP8kwwWyOJCuJB=wPnW1evKg at mail dot gmail dot com> <55142923 dot 8080405 at redhat dot com>
On Thu, 2015-03-26 at 09:43 -0600, Jeff Law wrote:
> On 03/26/2015 08:32 AM, Erik Varga wrote:
> > Hi all,
> >
> > I've submitted my proposal to the GSoC website, it can be found here: [1]
> > After hearing some ideas from Oleg, I decided to go with working on
> > detecting and optimizing a few specific memory access patterns instead
> > of implementing a PBQP solver.
> > Any suggestions or comments are welcome.
> > I read that it's necessary to have a copyright assignment filed with
> > the Free Software Foundation to be able to contribute larger amounts
> > of code to GCC. When would it be best to start applying for a
> > copyright assignment (e.g. sometime during the community bonding
> > period, or the coding period, or around now)?
> If you're looking at exploiting auto-inc addressing, others and myself
> have speculated that something built around
> straight-line-strength-reduction at the RTL level would be ideal for
> exploiting that capability.
>
> That may be more suitable for a GSOC project than tackling the entire
> space of address mode selections.
As far as I understand the proposal, the goal is not to solve all AMS
problems, but rather to lay the foundation for doing these kinds of
optimizations and deal with a few assorted ones (most likely auto-mod
will be a candidate). Thus, I think Erik's proposal sounds feasible,
although I'd expect some of the allocations/priorities in the schedule
to change during the project. But that's not something unusual to
happen.
Cheers,
Oleg