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: .def files for insn and reg notes


> There appears to have been no good reason why the reg_note enumeration
> began at 1.

I just found it in print-rtl.c:

	  if (GET_MODE (in_rtx) != VOIDmode)
	    {
	      /* Print REG_NOTE names for EXPR_LIST and INSN_LIST.  */
	      if (GET_CODE (in_rtx) == EXPR_LIST
		  || GET_CODE (in_rtx) == INSN_LIST)
		fprintf (outfile, ":%s",
			 GET_REG_NOTE_NAME (GET_MODE (in_rtx)));
	      else
		fprintf (outfile, ":%s", GET_MODE_NAME (GET_MODE (in_rtx)));
	    }

REG_DEAD is now mapped to VOIDmode, which means that the patch has eliminated 
all REG_DEAD notes from the RTL dumps:

(insn:HI 9509 9508 9507 0 (set (reg:DI 6214)
        (ashift:DI (reg:DI 6213)
            (const_int 32 [0x20]))) 303 {*ashldi3_sp64} (insn_list 9508 
(insn_list:REG_DEP_ANTI 9503 (nil)))
    (expr_list (reg:DI 6213)
        (nil)))

Please bring them back!  :-)

-- 
Eric Botcazou


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