Hi Stafford, On Wed, Jul 03, 2019 at 12:33:50PM +0900, Stafford Horne wrote: > + case 'd': > + if (REG_P (x)) > + if (GET_MODE (x) == DFmode || GET_MODE (x) == DImode) > + fprintf (file, "%s,%s", reg_names[REGNO (operand)], > + reg_names[REGNO (operand) + 1]); > + else > + fprintf (file, "%s", reg_names[REGNO (operand)]); > + else
The coding conventions says to use braces around nested conditionals. > @@ -212,6 +214,7 @@ enum reg_class > #define REG_CLASS_CONTENTS \ > { { 0x00000000, 0x00000000 }, \ > { SIBCALL_REGS_MASK, 0 }, \ > + { 0x7ffffefe, 0x00000000 }, \ Above you said r0, r30, r31 are excluded, but this is r0, r8, r30, or in GCC register numbers, 0, 8, and 31? You probably should mention r8 somewhere (it's because it is the last arg, this avoid problems, I guess?), and the 30/31 thing is confused some way. Maybe it is all just that one documentation line :-) > +; d - double pair base registers (excludes r0, r30 and r31 which overflow) Segher