This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 8/8] Add a common .md file and define standard constraints there
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: gcc-patches at gcc dot gnu dot org, rdsandiford at googlemail dot com
- Date: Thu, 12 Jun 2014 14:24:30 -0500
- Subject: Re: [PATCH 8/8] Add a common .md file and define standard constraints there
- Authentication-results: sourceware.org; auth=none
- References: <87sinj9hhy dot fsf at talisman dot default> <87tx7z822q dot fsf at talisman dot default>
On Thu, Jun 05, 2014 at 10:43:25PM +0100, Richard Sandiford wrote:
> This final patch uses a common .md file to define all standard
> constraints except 'g'.
I had a look at what targets still use "g". Note: there can be
errors in this, it's all based on \<g[,"] :-)
* frv and mcore use "g" in commented-out patterns;
* cr16, mcore, picochip, rl78, and sh use "g" where they mean "rm"
or "m";
* m68k uses it (in a dbne pattern) where the C template splits
the "r", "m", "i" cases again;
* bfin, fr30, h8300, m68k, rs6000, and v850 use it as the second
operand (# bytes pushed) of the call patterns; that operand is
unused in all these cases, could just be "";
* cris, m68k, pdp11, and vax actually use "g".
So it won't be all that much work to completely get rid of "g".
Do we want that?
Segher