Re: RFD: annotate iterator patterns with expanded forms

2016-04-26 Thread Richard Sandiford
Bernd Schmidt writes: > On 01/01/2016 07:02 PM, Hans-Peter Nilsson wrote: >> On Tue, 1 Dec 2015, Bernd Schmidt wrote: > >>> The automatic Makefile approach might look something like this. The effect >>> is >>> similar to what happens when you edit tm.texi.in, except the build would not >>> be int

Re: RFD: annotate iterator patterns with expanded forms

2016-04-25 Thread Hans-Peter Nilsson
On Mon, 25 Apr 2016, Bernd Schmidt wrote: > Now that we're in stage1, I thought I'd bring this up again. For reference, > the patch was here: > https://gcc.gnu.org/ml/gcc-patches/2015-12/msg00165.html > > So, would you like this for cris and mmix? I could enable it for these, then > we'd need som

Re: RFD: annotate iterator patterns with expanded forms

2016-04-25 Thread Bernd Schmidt
On 01/01/2016 07:02 PM, Hans-Peter Nilsson wrote: On Tue, 1 Dec 2015, Bernd Schmidt wrote: The automatic Makefile approach might look something like this. The effect is similar to what happens when you edit tm.texi.in, except the build would not be interrupted every time, only when you modify

Re: RFD: annotate iterator patterns with expanded forms

2016-01-01 Thread Hans-Peter Nilsson
On Tue, 1 Dec 2015, Bernd Schmidt wrote: > On 12/01/2015 04:31 PM, Bernd Schmidt wrote: > > On 12/01/2015 04:23 PM, Jakub Jelinek wrote: > > > With the comments in the *.md file I'd worry about them getting out of > > > date, > > > or people feeling they have to edit them manually (rather than bein

Re: RFD: annotate iterator patterns with expanded forms

2015-12-01 Thread Bernd Schmidt
On 12/01/2015 04:31 PM, Bernd Schmidt wrote: On 12/01/2015 04:23 PM, Jakub Jelinek wrote: With the comments in the *.md file I'd worry about them getting out of date, or people feeling they have to edit them manually (rather than being regenerated or whatever). I suppose we could have a Makefi

Re: RFD: annotate iterator patterns with expanded forms

2015-12-01 Thread Bernd Schmidt
On 12/01/2015 04:23 PM, Jakub Jelinek wrote: On Tue, Dec 01, 2015 at 04:14:21PM +0100, Bernd Schmidt wrote: One problem I have whenever I try to edit i386.md is that I can't find the patterns I'm looking for. Let's say I'm looking for lshrsi3, but there's no pattern by this name, what I'm lookin

Re: RFD: annotate iterator patterns with expanded forms

2015-12-01 Thread Jakub Jelinek
On Tue, Dec 01, 2015 at 04:14:21PM +0100, Bernd Schmidt wrote: > One problem I have whenever I try to edit i386.md is that I can't find the > patterns I'm looking for. Let's say I'm looking for lshrsi3, but there's no > pattern by this name, what I'm looking for is "3". Even > worse are things like

RFD: annotate iterator patterns with expanded forms

2015-12-01 Thread Bernd Schmidt
One problem I have whenever I try to edit i386.md is that I can't find the patterns I'm looking for. Let's say I'm looking for lshrsi3, but there's no pattern by this name, what I'm looking for is "3". Even worse are things like "*xordi_2", which has just "*_2" and can't reasonably be searched