1. 12 Jun, 2010 5 commits
  2. 11 Jun, 2010 32 commits
  3. 10 Jun, 2010 3 commits
    • configure.ac: Set SYSTEMSPEC so that -allow_stack_execute is not passed to the linker for... · f8328d1d
      * configure.ac: Set SYSTEMSPEC so that -allow_stack_execute is not
      passed to the linker for -dynamiclib or -bundle on darwin.
      * configure: Regenerate.
      
      From-SVN: r160583
      Peter O'Gorman committed
    • md.texi: Document the "unspec" and "unspecv" enum names. · 0fe60a1b
      gcc/
      	* doc/md.texi: Document the "unspec" and "unspecv" enum names.
      	* Makefile.in (OBJS-common): Include insn-enums.o.
      	(insn-enums.o): New rule.
      	(simple_generated_c): Add insn-enums.c.
      	(build/genenums.o): New rule.
      	(genprogmd): Add "enums".
      	* genconstants.c (print_enum_type): Declare a C string array
      	for each enum.
      	* genenums.c: New file.
      	* print-rtl.c (print_rtx): If defined, use the "unspecv" enum
      	for UNSPEC_VOLATILE.  If defined, use the "unspec" enum for both
      	UNSPEC and (as a fallback) for UNSPEC_VOLATILE.
      
      From-SVN: r160582
      Richard Sandiford committed
    • md.texi (define_enum_attr): Document. · 8f4fe86c
      gcc/
      	* doc/md.texi (define_enum_attr): Document.
      	* rtl.def (DEFINE_ENUM_ATTR): New rtx.
      	* read-md.h (lookup_enum_type): Declare.
      	* read-md.c (lookup_enum_type): New function.
      	* genattr.c (gen_attr, main): Handle DEFINE_ENUM_ATTR.
      	* genattrtab.c (attr_desc): Add an enum_name field.
      	(evaluate_eq_attr): Take the associated attribute as argument.
      	Get the enum prefix from the enum_name field, if defined.
      	Use ACONCAT rather than a fixed-length buffer.  Update recursive calls.
      	(simplify_test_exp): Pass attr to evaluate_eq_attr.
      	(add_attr_value): New function, split out from...
      	(gen_attr): ...here.  Handle DEFINE_ENUM_ATTR.
      	(write_test_expr): Pass attr to evaluate_eq_attr.
      	(write_attr_get): Use the enum_name as the enum tag, if defined.
      	(write_attr_valueq): Use the enum_name as a prefix, if defined.
      	(find_attr): Initialize enum_name.
      	(main): Handle DEFINE_ENUM_ATTR.
      	* gensupport.c (process_rtx): Likewise.
      	* config/mips/mips.h (mips_tune_attr): Delete.
      	* config/mips/mips.md (cpu): Use define_attr_enum.
      
      From-SVN: r160581
      Richard Sandiford committed