1. 19 Aug, 2004 27 commits
  2. 18 Aug, 2004 13 commits
    • Fix a simple typo. · a1627d80
      * config/mips/sb1.md (ir_sb1_divsf_1pipe): Renamed from ...1pipes.
      
      From-SVN: r86218
      James E Wilson committed
    • Add support for scheduling recip.fmt instructions. · 9ff6992e
      * config/mips/mips.md (type): Add frdiv.
      (divsf3+1, divsf3+2): Change type to frdiv.
      * config/mips/sb1.md (ir_sb1_recipsf_2pipes, ir_sb1_recipsf_1pipe,
      ir_sb1_recipdf_2pipes, ir_sb1_recipdf_1pipe): New.
      * config/mips/3000.md (r3k_fdiv_single, r3k_fdiv_double): Add frdiv.
      * config/mips/4300.md (r4300_fdiv_single, r4300_fdiv_double): Likewise.
      * config/mips/4600.md (r4600_fdiv_single, f4600_fdiv_double): Likewise.
      * config/mips/5000.md (r5k_fdiv_single): Likewise.
      * config/mips/5400.md (ir_vr54_fdiv_sf, ir_vr54_fdiv_df): Likewise.
      * config/mips/5500.md (ir_vr55_fdiv_sf, ir_vr55_fdiv_df): Likewise.
      * config/mips/6000.md (r6k_fdiv_single, r6k_fdiv_double): Likewise.
      * config/mips/7000.md (rm7_fp_divsqrt_df, rm7_fp_divsqrt_sf): Likewise.
      * config/mips/9000.md (rm8k_fdivs, rm9k_fdivd): Likewise.
      * config/mips/generic.md (generic_fdiv_single, generic_fdiv_double):
      Likewise.
      * config/mips/sr71k.md (ir_sr70_fdiv_sf, ir_sr70_fdiv_df): Likewise.
      
      From-SVN: r86216
      James E Wilson committed
    • config/rs6000/x-darwin: Remove XCFLAGS -mdynamic-no-pic to · c16eb900
      get regression tester working again.
      
      From-SVN: r86215
      Robert Bowdidge committed
    • * Makefile.in (RTL_BASE_H): Update. · 4b179e92
      From-SVN: r86213
      Zack Weinberg committed
    • insn-notes.def, [...]: New files. · 826c9564
      	* insn-notes.def, reg-notes.def: New files.
      	* rtl.h: Use them to define enum insn_note and enum reg_note.
      	* rtl.c: Use them to define note_insn_name and reg_note_name.
      
      	* modulo-sched.c, sched-rgn.c, final.c: NOTE_DISABLE_SCHED_OF_BLOCK
      	renamed to NOTE_INSN_DISABLE_SCHED_OF_BLOCK.
      
      From-SVN: r86212
      Zack Weinberg committed
    • arm.c (arm_size_rtx_costs): New function. · 21b5653c
      * arm.c (arm_size_rtx_costs): New function.
      (arm_override_options): Use it if optimizing for space.
      
      From-SVN: r86211
      Richard Earnshaw committed
    • emit-rtl.c (gen_const_mem): New. · 542a8afa
              * emit-rtl.c (gen_const_mem): New.
              * rtl.h (gen_const_mem): Declare.
              * expr.c (do_tablejump): Use it.
              * varasm.c (force_const_mem): Likewise.
              * config/darwin.c (machopic_indirect_data_reference): Likewise.
              (machopic_legitimize_pic_address): Likewise.
              * config/arm/arm.c (legitimize_pic_address): Likewise.
              * config/i386/i386.c (legitimize_pic_address): Likewise.
              (legitimize_tls_address): Likewise.
              * config/ia64/ia64.c (ia64_expand_tls_address): Likewise.
              * config/ia64/ia64.md (load_fptr): Likewise.
              * config/m32r/m32r.c (m32r_legitimize_pic_address): Likewise.
              * config/pa/pa.c (legitimize_pic_address): Likewise.
              * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Likewise.
              (rs6000_emit_move): Likewise.
              * config/s390/s390.c (legitimize_pic_address): Likewise.
              (legitimize_tls_address): Likewise.
              * config/s390/s390.md (casesi): Likewise.
              * config/sh/sh.c (sh_reorg): Likewise.
              * config/sparc/sparc.c (legitimize_pic_address): Likewise.
              * config/v850/v850.md (casesi): Likewise.
      
              * config/darwin.c (machopic_indirect_call_target): Set MEM_NOTRAP_P.
              * config/sh/sh.c (prepare_move_operands): Remove incorrect
              use of MEM_READONLY_P.
      
      From-SVN: r86207
      Richard Henderson committed
    • Makefile.in (OBJS-common): Add postreload-gcse.c. · 0516f6fe
      	* Makefile.in (OBJS-common): Add postreload-gcse.c.
      	Add new postreload-gcse.o.
      	* cse.c (SAFE_HASH): Define as wrapper around safe_hash.
      	(lookup_as_function, insert, rehash_using_reg, use_related_value,
      	equiv_constant): Use SAFE_HASH instead of safe_hash.
      	(exp_equiv_p): Export.  Add for_gcse argument when comparing
      	for GCSE.
      	(lookup, lookup_for_remove, merge_equiv_classes, find_best_addr,
      	find_comparison_args, fold_rtx, cse_insn): Update callers.
      	(hash_rtx): New function derived from old canon_hash and bits
      	from gcse.c hash_expr_1.
      	(canon_hash_string): Rename to hash_rtx_string.
      	(canon_hash, safe_hash): Make static inline.  Call hash_rtx.
      	* cselib.c (hash_rtx): Rename to cselib_hash_rtx.
      	(cselib_lookup): Update this caller.
      	* gcse.c (modify_mem_list_set, canon_modify_mem_list_set):
      	Make static.
      	(hash_expr): Call hash_rtx.
      	(ldst_entry): Likewise.
      	(expr_equiv_p): Call exp_equiv_p.
      	(struct unoccr, hash_expr_1, hash_string_1, lookup_expr,
      	reg_used_on_edge, reg_set_between_after_reload_p,
      	reg_used_between_after_reload_p, get_avail_load_store_reg,
      	is_jump_table_basic_block, bb_has_well_behaved_predecessors,
      	get_bb_avail_insn, hash_scan_set_after_reload,
      	compute_hash_table_after_reload,
      	eliminate_partially_redundant_loads, gcse_after_reload,
      	get_bb_avail_insn, gcse_after_reload_main): Remove.
      	* postreload-gcse.c: New file, reincarnating most of the above.
      	* rtl.h (exp_equiv_p, hash_rtx): New prototypes.
      	(gcse_after_reload_main): Update prototype.
      	* timevar.def (TV_GCSE_AFTER_RELOAD): New timevar.
      	* passes.c (rest_of_handle_gcse2): Use it.
      
      From-SVN: r86206
      Steven Bosscher committed
    • tree-ssa-loop.c (pass_loop_init): Add TODO_dump_func. · 95013377
      
      	* tree-ssa-loop.c (pass_loop_init): Add TODO_dump_func.
      	(pass_loop_done): Likewise.
      
      From-SVN: r86205
      Diego Novillo committed
    • darwin.md: Delete the altivec patterns which are handled differently now. · ac9e2cff
      2004-08-18  Andrew Pinski  <apinski@apple.com>
      
              * config/rs6000/darwin.md: Delete the altivec patterns which are
              handled differently now.
              (load_macho_picbase_di): Make sure that is only happens for TARGET_64BIT
              (macho_correct_pic_di): Likewise.
              (call_indirect_nonlocal_darwin64): Likewise.
              Delete the save world/saveFP/saveVec patterns.
      
              Revert the reversion of: 2004-08-16  Stan Shebs  <shebs@apple.com>
              * config/darwin.c (macho_indirect_data_reference): Add DImode case.
              * config/rs6000/rs6000.md: Include darwin.md.
              (builtin_setjmp_receiver): Add DImode case.
              * config/rs6000/rs6000.c (rs6000_emit_move): Add DImode case to
              Darwin bits.
      
      From-SVN: r86204
      Andrew Pinski committed
    • Dead code stripping · 92b9a671
      	Dead code stripping
      	* darwin.h (EH_FRAME_SECTION_ATTR): Mark so it doesn't get stripped.
      	* darwin.c (darwin_file_end): Mark file as potentially strippable.
      
      From-SVN: r86203
      Matt Austern committed
    • alias.c (readonly_fields_p): Remove. · 4766261d
              * alias.c (readonly_fields_p): Remove.
              (objects_must_conflict_p): Don't call it.
              * tree.h (readonly_fields_p): Remove.
              * langhooks.h (struct lang_hooks): Remove honor_readonly.
              * langhooks-def.h (LANG_HOOKS_HONOR_READONLY): Remove.
      ada/
              * misc.c (LANG_HOOKS_HONOR_READONLY): Remove.
      
      From-SVN: r86200
      Richard Henderson committed
    • re PR c++/17068 (ICE: tree check: expected class 'd', have 'x' (identifier_node)… · acccf788
      re PR c++/17068 (ICE: tree check: expected class 'd', have 'x' (identifier_node) in dependent_template_p, at cp/pt.c:12043)
      
      	PR c++/17068
      	* pt.c (dependent_template_p): Treat IDENTIFIER_NODEs as
      	dependent.
      
      	PR c++/17068
      	* g++.dg/template/operator4.C: New test.
      
      From-SVN: r86199
      Mark Mitchell committed