This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFD: annotate iterator patterns with expanded forms
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: Bernd Schmidt <bschmidt at redhat dot com>
- Cc: Hans-Peter Nilsson <hp at bitrange dot com>, Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Uros Bizjak <ubizjak at gmail dot com>
- Date: Tue, 26 Apr 2016 19:03:11 +0100
- Subject: Re: RFD: annotate iterator patterns with expanded forms
- Authentication-results: sourceware.org; auth=none
- References: <565DB94D dot 1050106 at redhat dot com> <20151201152358 dot GW5675 at tucnak dot redhat dot com> <565DBD49 dot 9090308 at redhat dot com> <565E0DB1 dot 9030200 at redhat dot com> <alpine dot BSF dot 2 dot 02 dot 1601011259070 dot 22557 at arjuna dot pair dot com> <571E8A34 dot 7000508 at redhat dot com>
Bernd Schmidt <bschmidt@redhat.com> 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 interrupted every time, only when you modify the iterator expansion of a
>>> pattern. There's a new rtx code which can be put into a machine
>>> description to
>>> enable this feature.
>>
>> (No-one else chimed in, so:)
>>
>> I really like this!
>
> 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 someone to review/approve the generator parts. I'm still
> hoping the x86 maintainers would also consider it.
One question I'd like to ask first is: can anyone think of an alternative
syntax that would make things clearer and remove the need for this kind
of change? It seems like a Bad Thing if the .md files are now so
indirect that people aren't sure what they're actually doing (and if
mddump doesn't help or is needed so often that it's too cumbersome).
Thanks,
Richard