aboutsummaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2006-03-29 21:07:12 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2006-03-29 16:07:12 -0500
commit279bb624cabb056d4348fdbb057125f7ddd3cda1 (patch)
treeb92c3b92e723738ff4b915ca3eb1245bee47ad20 /gcc/genemit.c
parente14b10df7a1935c2c403e5711bab1ba25dfc1cee (diff)
downloadgcc-279bb624cabb056d4348fdbb057125f7ddd3cda1.zip
gcc-279bb624cabb056d4348fdbb057125f7ddd3cda1.tar.gz
gcc-279bb624cabb056d4348fdbb057125f7ddd3cda1.tar.bz2
genemit.c (main): Add tm-constrs.h to included headers.
* genemit.c (main): Add tm-constrs.h to included headers. * genoutput.c (output_prologue): Add tm-constrs.h to included headers. * genpeep.c (main): Add tm-constrs.h to included headers. * genpreds.c (write_satisfies_constraint_fns): Rename to ... (write_tm_constrs_h): this and write complete file. (write_tm_preds_h): Do not emit satisfies_constraint fns. (write_insn_preds_c): Add tm-constrs.h to included headers. (gen_constrs): New variable. (parse_option): Parse "-c". (main): Invoke write_tm_constrs_h. * genrecog.c (write_header): Add tm-constrs.h to included headers. * Makefile.in (STAGECOPYSTUFF): Add tm-constrs.h. (object_out_file): Add tm-constrs.h dependency. (insn-emit.o): Same. (insn-output.o): Same. (insn-peep.o): Same. (insn-preds.o): Same. (insn-recog.o): Same. (tm-constsr.h): New target. (s-constrs-h): New target. * config/rs6000/constraints.md: New file. * config/rs6000/rs6000.c: Include tm-constrs.h. (num_insn_constant_wide): Convert to satisfies_constraint. (rs6000_rtx_costs): Convert to satisfies_constraint. * config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Delete. (CONST_OK_FOR_LETTER_P): Delete. (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. (EXTRA_CONSTRAINT): Delete. (EXTRA_MEMORY_CONSTRAINT): Delete. (EXTRA_ADDRESS_CONSTRAINT): Delete. * config/rs6000/predicates.md: Convert to satisfies_constraint. * config/rs6000/rs6000.md: Include constraints.md. Convert to satisfies_constraint. * config/i386/i386.c: Include tm-constrs.h. From-SVN: r112508
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index 7c74300..79db84e 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -844,6 +844,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"resource.h\"\n");
printf ("#include \"reload.h\"\n");
printf ("#include \"toplev.h\"\n");
+ printf ("#include \"tm-constrs.h\"\n");
printf ("#include \"ggc.h\"\n\n");
printf ("#include \"basic-block.h\"\n\n");
printf ("#define FAIL return (end_sequence (), _val)\n");