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: Paul_Koning at Dell dot com
- Cc: gcc-patches at gcc dot gnu dot org, rdsandiford at googlemail dot com
- Date: Thu, 12 Jun 2014 16:18:42 -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> <20140612192430 dot GB9914 at gate dot crashing dot org> <FFE56FBE-059E-4F25-8D61-3AFE37A98D5F at dell dot com>
> > * 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?
As far as I know "g" and "rmi" are equivalent, yes. "g" is easier to
type and read if you use it a lot (only ancient targets really); the
compiler will probably become somewhat slower for those targets, and
perhaps somewhat faster for all others. Hard to say without doing the
work and measuring the result :-)
Segher