1. 23 Jan, 2003 1 commit
    • re PR rtl-optimization/8423 (CSE1 not propagating __builtin_constant_p enough) · 34ee7f82
      	PR optimization/8423
      	* cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
      	its argument is constant, or 0 if !flag_gcse.
      	* simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
      	if it's argument is constant.
      	* gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
      	(hash_scan_set): Don't record CONSTANT_P_RTX expressions.
      	(do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
      	* builtins.c (purge_builtin_constant_p): New function to force
      	instantiation of any remaining CONSTANT_P_RTX nodes.
      	* rtl.h (purge_builtin_constant_p): Prototype here.
      	* toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
      	pass after GCSE and before loop.
      	(flag_gcse): No longer static.
      	* flags.h (flag_gcse): Prototype here.
      
      From-SVN: r61642
      Roger Sayle committed
  2. 21 Jan, 2003 1 commit
  3. 16 Dec, 2002 1 commit
  4. 10 Dec, 2002 1 commit
  5. 28 Oct, 2002 1 commit
  6. 12 Oct, 2002 1 commit
  7. 10 Oct, 2002 2 commits
  8. 09 Oct, 2002 1 commit
  9. 01 Oct, 2002 1 commit
  10. 22 Sep, 2002 1 commit
    • ChangeLog: Follow spelling conventions. · da7d8304
      	* ChangeLog: Follow spelling conventions.
      	* ChangeLog.0: Likewise.
      	* ChangeLog.1: Likewise.
      	* ChangeLog.2: Likewise.
      	* ChangeLog.3: Likewise.
      	* ChangeLog.4: Likewise.
      	* ChangeLog.5: Likewise.
      	* ChangeLog.6: Likewise.
      	* FSFChangeLog.10: Likewise.
      	* FSFChangeLog.11: Likewise.
      	* alias.c: Likewise.
      	* basic-block.h: Likewise.
      	* c-aux-info.c: Likewise.
      	* c-common.c: Likewise.
      	* c-common.h: Likewise.
      	* c-decl.c: Likewise.
      	* c-format.c: Likewise.
      	* c-semantics.c: Likewise.
      	* c-typeck.c: Likewise.
      	* calls.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgloop.c: Likewise.
      	* collect2.c: Likewise.
      	* combine.c: Likewise.
      	* conflict.c: Likewise.
      	* cppexp.c: Likewise.
      	* cppfiles.c: Likewise.
      	* cpphash.h: Likewise.
      	* cppinit.c: Likewise.
      	* cpplex.c: Likewise.
      	* cpplib.c: Likewise.
      	* cpplib.h: Likewise.
      	* cppmacro.c: Likewise.
      	* cse.c: Likewise.
      
      From-SVN: r57398
      Kazu Hirata committed
  11. 21 Sep, 2002 1 commit
  12. 20 Sep, 2002 1 commit
    • real.c (real_hash): New. · 46b33600
              * real.c (real_hash): New.
              * real.h: Declare it.
              * cse.c (canon_hash): Use it.
              * cselib.c (hash_rtx): Likewise.
              * emit-rtl.c (const_double_htab_hash): Likewise.
              * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
              * varasm.c (struct rtx_const): Reduce vector size; separate
              integer and fp vectors.
              (HASHBITS): Remove.
              (const_hash_1): Rename from const_hash.  Use real_hash.  Do not
              take modulus MAX_HASH_TABLE.
              (const_hash): New.  Do take modulus MAX_HASH_TABLE.
              (output_constant_def): Do not take modulus MAX_HASH_TABLE.
              (SYMHASH): Don't use HASHBITS.
              (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
              Fix CONST_VECTOR thinko wrt fp vectors.  Fix kind comparison.
              (simplify_subtraction): Fix kind comparison.
              (const_hash_rtx): Return unsigned int.  Don't use HASHBITS.
              Use a union to pun integer array.
              * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
              only hash two words of integral CONST_DOUBLE.
      
      From-SVN: r57356
      Richard Henderson committed
  13. 16 Sep, 2002 1 commit
    • real.c, real.h: Rewrite from scratch. · efdc7e19
      gcc/
      	* real.c, real.h: Rewrite from scratch.
      
      	* Makefile.in (simplify-rtx.o): Depend on TREE_H.
      	(paranoia): New target.
      	* builtins.c (fold_builtin_inf): Use new real.h interface.
      	* c-common.c (builtin_define_with_hex_fp_value): Likewise.
      	* c-lex.c (interpret_float): Likewise.
      	* emit-rtl.c (gen_lowpart_common): Likewise.
      	* optabs.c (expand_float): Use real_2expN.
      	* config/ia64/ia64.md (divsi3, udivsi3): Likewise.
      	* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
      	(FLOAT_WORDS_BIG_ENDIAN): New.
      	* cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
      	directly to REAL_VALUE_NEGATIVE.
      	* loop.c (canonicalize_condition): Likewise.
      	* simplify-rtx.c: Include tree.h.
      	(simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
      	with floating-point result modes.
      	* toplev.c (backend_init): Call init_real_once.
      
      	* fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
      	* tree.c (build_real): Likewise.
      	* config/alpha/alpha.c, config/vax/vax.c (float_strings,
      	float_values, inited_float_values, check_float_value): Remove.
      	* config/alpha/alpha.h, config/m68hc11/m68hc11.h,
      	config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
      	* doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
      
      gcc/f/
      	* target.c (ffetarget_real1): Don't pass FFETARGET_ATOF_
      	directly to ffetarget_make_real1.
      	(ffetarget_real2): Similarly.
      	* target.h (ffetarget_cvt_r1_to_rv_, ffetarget_cvt_rv_to_r2_,
      	ffetarget_cvt_r2_to_rv_): Use new real.h interface and simplify.
      
      gcc/java/
      	* jcf-parse.c (get_constant): Runtime check for IEEE format;
      	use new real.h interface.
      	* jcf-write.c (find_constant_index): Use new real.h interface.
      	* lex.c (IS_ZERO): Use REAL_VALUES_EQUAL.
      
      contrib/
      	* paranoia.cc: New file.
      
      From-SVN: r57198
      Richard Henderson committed
  14. 14 Sep, 2002 1 commit
    • ChangeLog: Follow spelling conventions. · 4912a07c
      	* ChangeLog: Follow spelling conventions.
      	* ChangeLog.0: Likewise.
      	* ChangeLog.2: Likewise.
      	* ChangeLog.3: Likewise.
      	* ChangeLog.4: Likewise.
      	* ChangeLog.5: Likewise.
      	* ChangeLog.6: Likewise.
      	* cppfiles.c: Likewise.
      	* cppinit.c: Likewise.
      	* cpplib.h: Likewise.
      	* cse.c: Likewise.
      	* debug.h: Likewise.
      	* df.c: Likewise.
      	* dominance.c: Likewise.
      	* hashtable.c: Likewise.
      	* hashtable.h: Likewise.
      	* loop.c: Likewise.
      	* config/arm/README-interworking: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/arm/arm.h: Likewise.
      	* config/arm/arm.md: Likewise.
      	* config/dsp16xx/dsp16xx.h: Likewise.
      	* config/frv/frv.c: Likewise.
      	* config/frv/frv.h: Likewise.
      	* config/ip2k/ip2k.h: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/stormy16/stormy-abi: Likewise.
      	* config/stormy16/stormy16.h: Likewise.
      	* config/v850/v850.c: Likewise.
      
      From-SVN: r57146
      Kazu Hirata committed
  15. 04 Sep, 2002 1 commit
  16. 10 Jul, 2002 1 commit
  17. 04 Jul, 2002 1 commit
    • simplify-rtx.c (simplify_subreg): Reduce problem of finding vector mode subregs… · 3767c0fd
      simplify-rtx.c (simplify_subreg): Reduce problem of finding vector mode subregs of constants to finding integer...
      
      gcc:
      	* simplify-rtx.c (simplify_subreg): Reduce problem of finding
      	vector mode subregs of constants to finding integer mode
      	subregs of constants.
      	* cse.c (cse_insn): Use simplify_gen_subreg.
      	* convert.c (convert_to_integer): Don't strip a NOP_EXPR
      	From a vector mode expression of different size than the
      	target mode.
      gcc/testsuite:
      	* gcc.c-torture/compile/simd-3.c: New test.
      
      From-SVN: r55234
      J"orn Rennecke committed
  18. 10 Jun, 2002 1 commit
  19. 26 May, 2002 1 commit
  20. 23 May, 2002 1 commit
  21. 20 May, 2002 1 commit
  22. 10 May, 2002 1 commit
  23. 08 May, 2002 1 commit
  24. 05 May, 2002 1 commit
  25. 22 Apr, 2002 1 commit
    • rtl.h (RTX_FLAG): New macro. · 2adc7f12
      	* rtl.h (RTX_FLAG): New macro.
      	* emit-rtl.c (copy_most_rtx): Use macros to access rtx flags.
      	* final.c (alter_subreg): Use macro to access rtx flag.
      	* integrate.c (copy_rtx_and_substitute): Use new access macro.
      	* print-rtl.c (print_rtx): Use new access macro.
      
      	* cse.c (insert): Check rtx code before accessing flag.
      
      	* genattrtab.c (ATTR_IND_SIMPLIFIED_P, ATTR_CURR_SIMPLIFIED_P,
      	ATTR_PERMANENT_P, ATTR_EQ_ATTR_P): New.
      	(attr_hash_add_string, attr_rtx_1, attr_copy_rtx, check_attr_test,
      	convert_const_symbol_ref, make_canonical, make_alternative_compare,
      	evaluate_eq_attr, attr_rtx_cost, simplify_test_exp_in_temp,
      	simplify_test_exp, optimize_attrs, simplify_by_exploding,
      	find_and_mark_used_attributes, unmark_used_attributes,
      	add_values_to_cover, simplify_with_current_value,
      	simplify_with_current_value_aux, clear_struct_flag, walk_attr_value,
      	copy_rtx_unchanging, main): Use new access macros.
      
      From-SVN: r52645
      Janis Johnson committed
  26. 07 Mar, 2002 1 commit
    • defaults.h (MODE_HAS_NANS, [...]): New. · 71925bc0
      	* defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
      	(MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
      	* flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
      	(HONOR_SIGN_DEPENDENT_ROUNDING): New.
      	* builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
      	* c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
      	unless x and y could be infinite.
      	(expand_unordered_cmp): New, mostly split from expand_tree_builtin.
      	Check that the common type of both arguments is a real, even for
      	targets without unordered comparisons.  Allow an integer argument
      	to be compared against a real.
      	(expand_tree_builtin): Use expand_unordered_cmp.
      	* combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
      	* cse.c (fold_rtx): Likewise.  Fix indentation.
      	* fold-const.c (fold_real_zero_addition_p): New.
      	(fold): Use it, and the new HONOR_... macros.
      	* ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
      	* jump.c (reversed_comparison_code_parts): After searching for
      	the true comparison mode, use HONOR_NANS to decide whether it
      	can be safely reversed.
      	(reverse_condition_maybe_unordered): Remove IEEE check.
      	* simplify-rtx.c (simplify_binary_operation): Use the new macros
      	to decide which simplifications are valid.  Allow the following
      	simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
      	and (a - -b) to (a + b).
      	(simplify_relational_operation): Use HONOR_NANS.
      	* doc/tm.texi: Document the MODE_HAS_... macros.
      
      From-SVN: r50401
      Richard Sandiford committed
  27. 06 Mar, 2002 1 commit
    • cfgrtl.c (delete_insn_and_edges, [...]): New. · 3dec4024
      	* cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
      	* rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
      
      	* basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
      	delete_noop_moves): Return indeger.
      	* flow.c (ndead): New variable.
      	(propagate_block_delete_insn): Use delete_insn_and_edges; remove
      	BB argument; update callers.
      	(propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
      	(life_analysis): Do not call purge_all_dead_edges.
      	(update_life_info): Return number of deleted insns; print statistics.
      	(update_life_info_in_dirty_blocks): likewise.
      	(delete_noop_moves): Use delete_insn_and_edges; print statistics;
      	return number of insns deleted.
      
      	* cse.c: Include timevar.h
      	(delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
      	iterate until stabilizes; print statistics; return number of killed
      	insns.
      	* Makefile.in: (cse.o): Add timevar.h dependency
      	* rtl.h (delete_trivially_dead_insns): New.
      	* timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
      	* toplev.c (rest_of_compilation): Update callers.
      
      	* cfgcleanup.c (try_optimize_cfg): Kill blocks.
      	(try_optimize_cfg): Do not update liveness.
      	(cleanup-cfg): Loop until try_optimize_cfg and dead code
      	removal stabilizes; use delete_trivially_dead_insns.
      
      	* cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
      
      From-SVN: r50355
      Jan Hubicka committed
  28. 28 Feb, 2002 1 commit
    • basic-block.h (BB_REACHABLE): Renumber. · 38c1593d
      	* basic-block.h (BB_REACHABLE): Renumber.
      	(BB_DIRTY, BB_NEW): New flags.
      	(clear_bb_flags): Declare.
      	(update_life_info_in_dirty_blocks): Declare.
      	* cfg.c (clear_bb_flags): New function.
      	* cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
      	* emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
      	reorder_insns, emit_insn_after): Mark block as dirty.
      	* flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
      	(update_life_info_in_dirty_blocks): New function.
      	* recog.c (apply_change_group): Dirtify block.
      
      	* cse.c (cse_insn): Reorder emitting of jump insn to keep
      	cfg consistent.
      	* gcse.c (delete_null_pointer_checks): Likewise.
      
      	* toplev.c (dump_file_index): Move cse2 after bp,
      	add DFI_null
      	(dump_file_info): Similary.
      	(rest_of_compilation): Avoid most of CFG rebuilds;
      	do first if converision after null pointer checks, do cse2
      	after branch prediction; avoid full liveness rebuild after
      	initializing subregs.
      	* invoke.texi (-d options): Document -du, renumber.
      
      	* cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
      	(notice_new_block): Do not set BB_UPDATE_LIFE.
      	(try_forward_edges, merge_blocks_move_predecessor_nojumps,
      	 merge_blocks_move_successor_nojumps, merge_blocks,
      	 try_crossjump_to_edge): Likewise.
      	(try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
      	* cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
      	* ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
      	(merge_of_block): Do not use life_data_ok.
      	(find_if_case_1): Do not use SET_UPDATE_LIFE.
      	(if_convert): Use BB_DIRTY mechanizm to update life.
      	* lcm.c (optimize_mode_switching): Update
      	update_life_info_in_dirty_blocks
      
      From-SVN: r50127
      Jan Hubicka committed
  29. 19 Feb, 2002 1 commit
    • i386.md ("mmx_uavgv8qi3"): Use const_vector. · 69ef87e2
      2002-02-19  Aldy Hernandez  <aldyh@redhat.com>
      
      	* config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
      	("mmx_uavgv4hi3"): Same.
      	("pmulhrwv4hi3"): Same.
      
      	* tree-inline.c (walk_tree): Handle vectors.
      
      	* c-common.c (constant_expression_warning): Handle vectors.
      	(overflow_warning): Same.
      
      	* sched-deps.c (sched_analyze_2): Handle vectors.
      
      	* rtlanal.c (rtx_unstable_p): Handle vectors.
      	(rtx_varies_p): Same.
      	(count_occurrences): Same.
      	(regs_set_between_p): Same.
      	(modified_between_p): Same.
      	(modified_in_p): Same.
      	(volatile_insn_p): Same.
      	(volatile_refs_p): Same.
      	(side_effects_p): Same.
      	(may_trap_p): Same.
      	(inequality_comparisons_p): Same.
      	(replace_regs): Same.
      	(computed_jump_p_1): Same.
      
      	* rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
      	argument.
      	(inner_mode_array): New.
      	(copy_rtx): Handle vectors.
      	(copy_most_rtx): Same.
      	(rtx_equal_p): Same.
      	(get_mode_alignment): Adjust for vectors.
      
      	* resource.c (mark_referenced_resources): Handle vectors.
      	(mark_set_resources): Same.
      
      	* reload1.c (eliminate_regs): Handle vectors.
      	(elimination_effects): Same.
      	(scan_paradoxical_subregs): Same.
      
      	* reload.c (subst_reg_equivs): Handle vectors.
      
      	* regrename.c (scan_rtx): Handle vectors.
      
      	* regclass.c (reg_scan_mark_refs): Handle vectors.
      
      	* recog.c (find_single_use_1): Handle vectors.
      
      	* local-alloc.c (equiv_init_varies_p): Handle vectors.
      	(contains_replace_regs): Same.
      	(memref_referenced_p): Same.
      
      	* integrate.c (copy_rtx_and_substitute): Handle vectors.
      	(subst_constants): Same.
      
      	* genattrtab.c (attr_copy_rtx): Handle vectors.
      	(encode_units_mask): Same.
      	(clear_struct_flag): Same.
      	(count_sub_rtxs): Same.
      
      	* gcse.c (want_to_gcse_p): Handle vectors.
      	(oprs_unchanged_p): Same.
      	(hash_expr_1): Same.
      	(oprs_not_set_p): Same.
      	(expr_killed_p): Same.
      	(compute_transp): Same.
      	(store_ops_ok): Same.
      
      	* function.c (purge_addressof_1): Do not allow paradoxical subregs
      	of vectors.
      	(fixup_var_refs_1): Same.
      	(instantiate_virtual_regs_1): Same.
      
      	* fold-const.c (operand_equal_p): Handle vectors.
      	(fold): Same.
      	(rtl_expr_nonnegative_p): Same.
      
      	* flow.c (mark_used_regs): Handle vectors.
      
      	* df.c (df_uses_record): Handle vectors.
      
      	* cselib.c (cselib_subst_to_values): Handle vectors.
      	(cselib_mem_conflict_p): Same.
      	(hash_rtx): Same.
      
      	* cse.c (canon_reg): Handle vectors.
      	(fold_rt): Same.
      	(cse_process_notes): Same.
      	(count_reg_usage): Same.
      	(canon_hash): Same.
      
      	* alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
      
      	* combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
      
      	* emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
      	(gen_rtx): Handle CONST_VECTOR.
      	(gen_const_vector_0): New.
      	(copy_rtx_if_shared): CONST_VECTORs can be shared.
      	(reset_used_flags): Same.
      	(copy_insn_1): Same.
      	(initializer_constant_valid_p): Handle VECTOR_CST.
      
      	* doc/c-tree.texi (Expression trees): Document VECTOR_CST.
      
      	* doc/rtl.texi (Constants): Document const_vector.
      	(CONST0_RTX): Update for vectors.
      	(RTL sharing): Same.
      
      	* print-tree.c (print_node): Add case for VECTOR_CST.
      
      	* tree.h (TREE_VECTOR_CST_ELTS): New.
      	(struct tree_vector): New.
      	(union tree_node): Add vector node.
      	(build_vector): Add prototype.
      
      	* tree.def (VECTOR_CST): New.
      
      	* tree.c (build_vector): New.
      
      	* expmed.c (make_tree): Handle CONST_VECTOR.
      
      	* rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
      	(CONST_VECTOR_ELT): New.
      	(CONST_VECTOR_NUNITS): New.
      
      	* machmode.h (GET_MODE_INNER): New.
      	(DEF_MACHMODE): Accept 8th arg.
      
      	* machmode.def: Add 8th argument for vector inner mode.
      	Add inner vector modes for vectors.
      
      	* rtl.def (VEC_CONST): Remove.
      	(CONST_VECTOR): New.
      
      	* expr.c (clear_storage): Allow vectors.
      	(is_zeros_p): Handle VECTOR_CST.
      
      	* varasm.c (output_constant_pool): Handle vectors.
      	(rtx_const): Add veclo and vechi fields.
      	(kind): Add RTX_VECTOR.
      	(decode_rtx_const): Add case for vector.
      
      	* config/rs6000/rs6000-protos.h: Add zero_constant.
      
      	* config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
      	constants.  Force easy vector constants into memory.
      	(easy_vector_constant): New.
      	(emit_easy_vector_constant): New.
      	(rs6000_legitimize_reload_address): Do not generate bad reloads on
      	darwin.
      
      	* config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
      	instruction does.
      	("altivec_lvxl"): Same.
      	(altivec_lvebx): Same.
      	(altivec_lvehx): Same.
      	(altivec_lvewx): Same.
      	("*movv4si_const0"): New.
      	("*movv4sf_const0"): New.
      	("*movv8hi_const0"): New.
      	("*movv16qi_const0"): New.
      
      From-SVN: r49853
      Aldy Hernandez committed
  30. 12 Feb, 2002 1 commit
    • jump.c (never_reached_warning): Add finish argument. · 56d44285
      	* jump.c (never_reached_warning): Add finish argument.
      	If finish is NULL, stop on CODE_LABEL, otherwise stop before first
      	real insn after end.
      	* rtl.h (never_reached_warning): Adjust prototype.
      	* cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
      	* cfgrtl.c (flow_delete_block): Pass b->end as finish to
      	never_reached_warning.
      
      	* gcc.dg/Wunreachable-1.c: New test.
      	* gcc.dg/Wunreachable-2.c: New test.
      
      From-SVN: r49713
      Jakub Jelinek committed
  31. 23 Jan, 2002 1 commit
    • elf.h: New file. · 03984308
              * config/xtensa/elf.h: New file.
              * config/xtensa/lib1funcs.asm: New file.
              * config/xtensa/lib2funcs.S: New file.
              * config/xtensa/linux.h: New file.
              * config/xtensa/t-xtensa: New file.
              * config/xtensa/xtensa-config.h: New file.
              * config/xtensa/xtensa-protos.h: New file.
              * config/xtensa/xtensa.c: New file.
              * config/xtensa/xtensa.h: New file.
              * config/xtensa/xtensa.md: New file.
              * config.gcc (xtensa-*-elf*): New target.
              (xtensa-*-linux*): New target.
              * cse.c (canon_hash): Compare rtx pointers instead of register
              numbers.  This is required for the Xtensa port.
              * integrate.c (copy_insn_list): Handle case where the static
              chain is in memory and the memory address has to be copied to
              a register.
              * doc/invoke.texi (Option Summary): Add Xtensa options.
              (Xtensa Options): New node.
              * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
              * gcc.c-torture/compile/20001226-1.x: xfail for Xtensa.
      
      From-SVN: r49155
      Bob Wilson committed
  32. 05 Jan, 2002 1 commit
    • cse.c: Fix formatting. · c4f2c499
      	* cse.c: Fix formatting.
      	* dwarf2asm.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* explow.c: Likewise.
      	* expmed.c: Likewise.
      	* function.c: Likewise.
      	* gcov.c: Likewise.
      	* gencheck.c: Likewise.
      	* genrecog.c: Likewise.
      	* ggc-common.c: Likewise.
      	* ggc-page.c: Likewise.
      	* global.c: Likewise.
      
      From-SVN: r48570
      Kazu Hirata committed
  33. 28 Nov, 2001 1 commit
    • cse.c (true_dependence_in_rtx): New function. · db4a8254
      	* cse.c (true_dependence_in_rtx): New function.
      	(invalidate): Use it.
      
      	* c-common.h (GOTO_FAKE_P): New macro.
      	* tree-inline.c (GOTO_FAKE_P): Set.
      	* c-tree.texi (GOTO_FAKE_P): Document.
      
      	* varasm.c (assemble_variable): Set reloc to 3 for error_mark
      	containing pointers.
      	(output_addressed_constants): Check for local/external relocations.
      	* elfos.h (SELECT_SECTION): Classify data section.
      	* tm.texi (SELECT_SECTION): Update documentation.
      
      	* cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
      	(flow_dfs_compute_reverse_execute): Add only unvisited blocks.
      
      From-SVN: r47405
      Jan Hubicka committed
  34. 23 Nov, 2001 1 commit
    • ChangeLog.0, [...]: Fix spelling errors. · a1f300c0
      	* ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
      	FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
      	cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
      	dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
      	explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
      	sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
      
      From-SVN: r47279
      Joseph Myers committed
  35. 07 Nov, 2001 1 commit
  36. 30 Oct, 2001 1 commit
    • emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or REG_EQUIV notes for ASM_OPERANDS. · 3d238248
      	* emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
      	REG_EQUIV notes for ASM_OPERANDS.  Return the new note (if any).
      	* rtl.h (set_unique_reg_note): Change return value.
      	* gcse.c (try_replace_reg): Use set_unique_reg_note.
      	* cse.c (cse_insn): Likewise.
      	* expr.c (emit_move_insn): Likewise.
      	* explow.c (force_reg): Likewise.
      	* local-alloc (update_equiv_regs): Likewise.
      	* loop.c (move_moveables, load_mems): Likewise.
      	* reload (find_reloads): Likewise.
      
      	* gcc.dg/20011029-2.c: New test.
      
      From-SVN: r46636
      Jakub Jelinek committed
  37. 26 Oct, 2001 1 commit
  38. 11 Oct, 2001 1 commit
    • alias.c: Remove uses of "register" specifier in declarations of arguments and local... · b3694847
      2001-10-10  Stan Shebs  <shebs@apple.com>
      
              * alias.c: Remove uses of "register" specifier in declarations
              of arguments and local variables.
              * c-common.c: Ditto.
              * c-convert.c: Ditto.
              * c-decl.c: Ditto.
              * c-format.c: Ditto.
              * c-semantics.c: Ditto.
              * c-typeck.c: Ditto.
              * caller-save.c: Ditto.
              * calls.c: Ditto.
              * cfg.c: Ditto.
              * cfgbuild.c: Ditto.
              * cfgrtl.c: Ditto.
              * collect2.c: Ditto.
              * combine.c: Ditto.
              * convert.c: Ditto.
              * cppexp.c: Ditto.
              * cppfiles.c: Ditto.
              * cse.c: Ditto.
              * dbxout.c: Ditto.
              * defaults.h: Ditto.
              * df.c: Ditto.
              * dwarf2out.c: Ditto.
              * dwarfout.c: Ditto.
              * emit-rtl.c: Ditto.
              * explow.c: Ditto.
              * expmed.c: Ditto.
              * expr.c: Ditto.
              * final.c: Ditto.
              * fix-header.c: Ditto.
              * floatlib.c: Ditto.
              * flow.c: Ditto.
              * fold-const.c: Ditto.
              * function.c: Ditto.
              * gcc.c: Ditto.
              * gcse.c: Ditto.
              * gen-protos.c: Ditto.
              * genattrtab.c: Ditto.
              * gencheck.c: Ditto.
              * genconfig.c: Ditto.
              * genemit.c: Ditto.
              * genextract.c: Ditto.
              * genflags.c: Ditto.
              * gengenrtl.c: Ditto.
              * genoutput.c: Ditto.
              * genpeep.c: Ditto.
              * genrecog.c: Ditto.
              * gensupport.c: Ditto.
              * global.c: Ditto.
              * gmon.c: Ditto.
              * graph.c: Ditto.
              * haifa-sched.c: Ditto.
              * hard-reg-set.h: Ditto.
              * hash.c: Ditto.
              * integrate.c: Ditto.
              * jump.c: Ditto.
              * lists.c: Ditto.
              * local-alloc.c: Ditto.
              * loop.c: Ditto.
              * mips-tdump.c: Ditto.
              * mips-tfile.c: Ditto.
              * optabs.c: Ditto.
              * prefix.c: Ditto.
              * print-rtl.c: Ditto.
              * read-rtl.c: Ditto.
              * real.c: Ditto.
              * recog.c: Ditto.
              * reg-stack.c: Ditto.
              * regclass.c: Ditto.
              * regmove.c: Ditto.
              * reload.c: Ditto.
              * reload1.c: Ditto.
              * reorg.c: Ditto.
              * resource.c: Ditto.
              * rtl.c: Ditto.
              * rtlanal.c: Ditto.
              * scan.c: Ditto.
              * sched-deps.c: Ditto.
              * sched-rgn.c: Ditto.
              * sdbout.c: Ditto.
              * simplify-rtx.c: Ditto.
              * stmt.c: Ditto.
              * stor-layout.c: Ditto.
              * toplev.c: Ditto.
              * tradcif.y: Ditto.
              * tradcpp.c: Ditto.
              * tree.c: Ditto.
              * unroll.c: Ditto.
              * varasm.c: Ditto.
              * xcoffout.c: Ditto.
      
      From-SVN: r46173
      Stan Shebs committed
  39. 10 Oct, 2001 1 commit
    • calls.c: Fix formatting. · 6d2f8887
      	* calls.c: Fix formatting.
      	* c-decl.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* combine.c: Likewise.
      	* cppfiles.c: Likewise.
      	* cpplib.c: Likewise.
      	* cppmacro.c: Likewise.
      	* crtstuff.c: Likewise.
      	* cse.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.c: Likewise.
      	* ggc-page.c: Likewise.
      	* integrate.c: Likewise.
      	* libgcc2.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	* profile.c: Likewise.
      	* protoize.c: Likewise.
      	* real.c: Likewise.
      	* recog.c: Likewise.
      	* reload1.c: Likewise.
      	* reload.c: Likewise.
      	* reorg.c: Likewise.
      	* resource.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sdbout.c: Likewise.
      	* stmt.c: Likewise.
      	* toplev.c: Likewise.
      	* varasm.c: Likewise.
      
      From-SVN: r46145
      Kazu Hirata committed