This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/ARM][Patch 01/02]: Thumb2 epilogue in RTL


> > >+    strcpy (pattern, \"fldmfdd\\t\");
> > >+    strcat (pattern,
> > >+                    reg_names[REGNO (SET_DEST (XVECEXP (operands[0], 0,
> > >0)))]); +    strcat (pattern, \"!, {\");
> > >+    strcat (pattern, table[(REGNO (XEXP (XVECEXP (operands[0], 0, 1),
> > >0)) +                           - FIRST_VFP_REGNUM) / 2].name);
> > 
> > Can't you reuse names from arm.h and avoid the table here ?
> 
> The array REGISTER_NAMES in aout.h use S0, S2, ...  names for double
> registers. Is there any way to use OVERLAPPING_REGISTER_NAMES? If that
> can be done, I can eliminate the table here.

You should be using %P.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]