define_insn_and_split patch

Richard Henderson rth@cygnus.com
Wed May 3 10:32:00 GMT 2000


On Wed, May 03, 2000 at 11:18:54AM -0500, Clinton Popetz wrote:
> 	* gensupport.c: New file.
> 	* gensupport.h: New file.
> 	* Makefile.in (HOST_RTL): Depend on gensupport.
> 	(gensupport.o) New rule.
> 	* genattr.c: Use gensupport for reading .md files.
> 	* genattrtab.c: Ditto. 
> 	* gencodes.c: Ditto. 
> 	* genconfig.c: Ditto. 
> 	* genemit.c: Ditto. 
> 	* genextract.c: Ditto. 
> 	* genflags.c: Ditto. 
> 	* genopinit.c: Ditto. 
> 	* genoutput.c: Ditto. 
> 	* genpeep.c: Ditto. 
> 	* genrecog.c: Ditto.
> 	* rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
> 	* md.texi (Insn Splitting): Document define_insn_and_split.

Ok, though..


> + process_rtx (desc)
> +     rtx* desc;
> + {
> +     if (GET_CODE (*desc) == DEFINE_INSN_AND_SPLIT) 
> +       {
> + 	struct queue_elem* elem = xmalloc (sizeof (struct queue_elem));
> + 	const char *split_cond;

It appears indentation is off here

> !   if (init_md_reader (argv[1]) != SUCCESS_EXIT_CODE)
>         return (FATAL_EXIT_CODE);

and here.

Thanks.


r~


More information about the Gcc-patches mailing list