On Jun 12, 2014, at 3:24 PM, Segher Boessenkool <seg...@kernel.crashing.org> 
wrote:

> 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?

Is it simply a matter of replacing “g” by “mri”?  That’s what the doc suggests. 
 Or is there more to the story than that?

        paul

Reply via email to