[GSoC] Further work on addressing mode selection

2016-03-23 Thread Erik Varga
Hi all, I worked on adding an addressing mode selection pass to GCC last year as part of GSoC 2015, and would like to do some further work on it for this year's GSoC. Oleg, my mentor for last year's project, said he would be willing to mentor this year too, if the project gets accepted. The curren

[gsoc] Generic addressing mode selection

2015-03-22 Thread Erik Varga
Hi all, I'm Erik KrisztiƔn Varga, a 2nd year Electrical Engineering student, and I'd be interested in contributing to gcc as part of GSoC 2015. I'd like to work on adding an addressing mode selection pass to the RTL based on the ideas described in Eckstein et. al.'s paper on the subject [1]. The b

Re: [gsoc] Generic addressing mode selection

2015-03-23 Thread Erik Varga
On Sun, Mar 22, 2015 at 10:10 PM, Oleg Endo wrote: > The PBQP approach is indeed very tempting, but there > are a lot more things to it than just the solver. To get good > improvements of the generated code, the optimization also has to be able > to reorder memory accesses and perform other trans

Re: [gsoc] Generic addressing mode selection

2015-03-26 Thread Erik Varga
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 rea

Re: [gsoc] Generic addressing mode selection

2015-03-26 Thread Erik Varga
On Thu, Mar 26, 2015 at 11:46 PM, Oleg Endo wrote: > On Thu, 2015-03-26 at 09:43 -0600, Jeff Law wrote: >> 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 >