1. 17 Jan, 2003 1 commit
    • et-forest.c: Fix comment typos. · fbe5a4a6
      	* et-forest.c: Fix comment typos.
      	* et-forest.h: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* flags.h: Likewise.
      	* flow.c: Likewise.
      	* gcc.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genautomata.c: Likewise.
      	* gengtype.c: Likewise.
      	* genrecog.c: Likewise.
      	* global.c: Likewise.
      	* gthr-rtems.h: Likewise.
      
      From-SVN: r61443
      Kazu Hirata committed
  2. 11 Jan, 2003 1 commit
  3. 23 Dec, 2002 1 commit
  4. 16 Dec, 2002 1 commit
  5. 13 Dec, 2002 1 commit
    • c-decl.c: Fix a comment typo. · 09da1532
      	* c-decl.c: Fix a comment typo.
      	* cfg.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* c-typeck.c: Likewise.
      	* dominance.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* dwarfout.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* final.c: Likewise.
      	* flow.c: Likewise.
      	* function.c: Likewise.
      	* gcc.c: Likewise.
      	* genautomata.c: Likewise.
      	* integrate.c: Likewise.
      	* loop.c: Likewise.
      	* loop.h: Likewise.
      	* output.h: Likewise.
      	* profile.c: Likewise.
      	* ra.h: Likewise.
      	* reload1.c: Likewise.
      	* reload.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* stmt.c: Likewise.
      	* tree.h: Likewise.
      	* vmsdbgout.c: Likewise.
      
      From-SVN: r60085
      Kazu Hirata committed
  6. 09 Dec, 2002 2 commits
    • target.h (gcc_target): Add cannot_force_const_mem. · 3a04ff64
              * target.h (gcc_target): Add cannot_force_const_mem.
              * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
              (TARGET_INITIALIZER): Add it.
              * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
              * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
              * reload1.c (reload): Likewise.
              * hooks.c (hook_bool_rtx_false): New.
              * hooks.h: Declare it.
      
              * config/i386/i386.c (ix86_cannot_force_const_mem): New.
              (TARGET_CANNOT_FORCE_CONST_MEM): New.
              (ix86_expand_move): Remove de-const-pooling hack.
      
      	* gcc.dg/tls/opt-4.c: New.
      
      From-SVN: r59971
      Richard Henderson committed
    • tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition. · 9ac3e73b
      	* doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
      	* defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
      	* calls.c (store_unaligned_arguments_into_pseudos) Remove
      	FUNCTION_ARG_REG_LITTLE_ENDIAN.
      	* stmt.c (expand_return): Ditto.
      	* expr.c (move_block_from_reg): Ditto.
      	(copy_blkmode_from_reg): Ditto.
      	* expmed.c (store_bit_field): Ditto.
      
      From-SVN: r59962
      Steve Ellcey committed
  7. 06 Dec, 2002 1 commit
  8. 27 Nov, 2002 1 commit
    • expr.c (gen_group_rtx, [...]): New functions. · 084a1106
      	* expr.c (gen_group_rtx, emit_group_move): New functions.
      	* expr.h (gen_group_rtx, emit_group_move): Prototype.
      	* function.c (expand_function_start): Use gen_group_rtx to create a
      	PARALLEL rtx to hold the return value when the real return rtx is a
      	PARALLEL.
      	(expand_function_end): Use emit_group_move to move the return value
      	from a PARALLEL to the real return registers.
      	* rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
      	in PARALLELs.
      
      From-SVN: r59554
      John David Anglin committed
  9. 20 Nov, 2002 1 commit
  10. 11 Nov, 2002 1 commit
  11. 01 Nov, 2002 1 commit
  12. 29 Oct, 2002 1 commit
  13. 24 Oct, 2002 1 commit
  14. 15 Oct, 2002 2 commits
    • * expr.c (do_tablejump): Fix typo in my previous commit. · 74f6d071
      From-SVN: r58179
      Jan Hubicka committed
    • re PR c/7344 (performance regression on huge case statements) · 1877be45
      	* i386.md (movv2di_internal): New pattern.
      	(movv2df_internal, movv8hi_internal, movv16qi_internal): Fix predicate.
      	(movv2di): New expander.
      	* i386.c (ix86_preferred_reload_class): Return NO_REGS for vector operands.
      
      	* i386.c (ix86_expand_timode_binop_builtin): Delete.
      	(builtin_description): Add SSE1 logicals; rename SSE2 logicals.
      	(ix86_init_mmx_sse_builtins): Kill SSE1 logicals.
      	(ix86_expand_builtin): Likewise.
      	* i386.h (sse_andti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
              sse_andti3,
      	sse_andnti4_df_1, sse_andti3_df_2, sse_andti3_sf_1, sse_andti3_sf_2,
              sse_andnti3,
      	sse_orti4_df_1, sse_orti3_df_2, sse_orti3_sf_1, sse_orti3_sf_2,
              sse_orti3,
      	sse_xorti4_df_1, sse_xorti3_df_2, sse_xorti3_sf_1, sse_xorti3_sf_2,
              sse_xorti3): Kill.
      	(sse_andv4sf3, sse_andnv4sf3, sse_orv2df3, sse_xorv2df3, sse_andv2df3,
      	 sse_andnv2df3, sse_orv2df3, sse_xorv2df3): New expanders.
      	(*sse_andv4sf3, *sse_andnv2df3, *sse_orv4sf3, *sse_xorv4sf3, *sse_andv2df3,
      	 *sse_andnv2df3, *sse_orv2df3, *sse_xorv2df3): New patterns.
      	(*sse_andsf3, *sse_andndf3, *sse_ordf3, *sse_xordf3, *sse_anddf3,
      	 *sse_andndf3, *sse_orv2df3, *sse_xorv2df3): New patterns.
      
      	* xmmintrin.h (__m128i): Define as __v2di.
      
      	PR c/7344
      	* predict.c (can_predict_insn_p): New function.
      	(estimate_probability): Avoid unnecesary work.
      	(process_note_prediction): Likewise.
      	* toplev.c (rest_of_compilation): Account early branch prediction pass
      	as TV_BRANCH_PROB.
      
      	PR c++/6419
      	(expand_expr): Use DECL_RTL_SET_P.
      
      From-SVN: r58156
      Jan Hubicka committed
  15. 07 Oct, 2002 1 commit
  16. 26 Sep, 2002 1 commit
  17. 22 Sep, 2002 1 commit
    • dbxout.c: Follow spelling conventions. · cc2902df
      	* dbxout.c: Follow spelling conventions.
      	* defaults.h: Likewise.
      	* df.c: Likewise.
      	* diagnostic.h: Likewise.
      	* doloop.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* except.c: Likewise.
      	* explow.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* expr.h: Likewise.
      	* flags.h: Likewise.
      	* flow.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* function.h: Likewise.
      	* gcc.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genconfig.c: Likewise.
      	* genrecog.c: Likewise.
      	* ggc-page.c: Likewise.
      	* ggc.h: Likewise.
      	* global.c: Likewise.
      	* gthr-win32.h: Likewise.
      	* integrate.c: Likewise.
      	* jump.c: Likewise.
      	* langhooks.c: Likewise.
      	* langhooks.h: Likewise.
      	* line-map.h: Likewise.
      	* local-alloc.c: Likewise.
      	* longlong.h: Likewise.
      	* loop.c: Likewise.
      	* loop.h: Likewise.
      
      From-SVN: r57406
      Kazu Hirata committed
  18. 17 Sep, 2002 1 commit
  19. 04 Sep, 2002 1 commit
  20. 03 Sep, 2002 1 commit
  21. 31 Aug, 2002 1 commit
  22. 29 Aug, 2002 1 commit
    • expr.h (enum block_op_methods): New. · 44bb111a
              * expr.h (enum block_op_methods): New.
              (emit_block_move): Update prototype.
              * expr.c (block_move_libcall_safe_for_call_parm): New.
              (emit_block_move_via_loop): New.
              (emit_block_move): Use them.  New argument METHOD.
              (emit_push_insn): Always respect the given alignment.
              (expand_assignment): Update call to emit_block_move.
              (store_expr, store_field, expand_expr): Likewise.
              * builtins.c (expand_builtin_apply): Likewise.
              (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
              * function.c (expand_function_end): Likewise.
              * config/sh/sh.c (sh_initialize_trampoline): Likewise.
              * config/sparc/sparc.c (sparc_va_arg): Likewise.
              * calls.c (expand_call, emit_library_call_value_1): Likewise.
              (save_fixed_argument_area): Use emit_block_move with
              BLOCK_OP_CALL_PARM instead of move_by_pieces.
              (restore_fixed_argument_area): Likewise.
              (store_one_arg): Fix alignment parameter to emit_push_insn.
      
      From-SVN: r56661
      Richard Henderson committed
  23. 20 Aug, 2002 1 commit
    • expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean. · 4ca79136
              * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
              (emit_block_move): Split out subroutines.
              (emit_block_move_via_movstr): New.
              (emit_block_move_via_libcall): New.  Emit bcopy via normal call also.
              (emit_block_move_libcall_fn): New.  Construct function prototype for
              bcopy as well.
              (clear_storage): Split out subroutines.
              (clear_storage_via_clrstr): New.
              (clear_storage_via_libcall): New. Emit bzero as a normal call also.
              (clear_storage_libcall_fn): New.  Construct function prototype for
              bzero as well.
              (emit_push_insn): Use emit_block_move.
              (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
              (store_constructor): Likewise.
      
      From-SVN: r56464
      Richard Henderson committed
  24. 12 Aug, 2002 1 commit
  25. 04 Aug, 2002 1 commit
    • Index: ChangeLog · 6d9f628e
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
      	* collect2.h (permanent_obstack): Delete declaration.
      	* collect2.c (permanent_obstack): Delete definition.
      	(main): Don't initialise permanent_obstack.  Use xstrdup instead.
      	* expr.c: Don't include obstack.h.
      	(permanent_obstack): Delete declaration.
      	* function.c: Don't include obstack.h.
      	(permanent_obstack): Delete declaration.
      	* integrate.c: Don't include obstack.h.
      	(function_maybepermanent_obstack): Delete declaration.
      	* print-tree.c (debug_tree): Use x*alloc not permalloc.
      	* sdbout.c (gen_fake_label): Use x*alloc not permalloc.
      	* tlink.c (pfgets): Use xstrdup not permanent_obstack.
      	* toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
      	* tree.h: Rename init_obstacks to init_ttree.  Remove declarations
      	of permalloc, expralloc, perm_calloc.
      	* tree.c (permanent_obstack): Delete definition.
      	(init_ttree): Rename from init_obstacks.
      	(permalloc): Delete.
      	(perm_calloc): Delete.
      	(dump_tree_statistics): Don't print information about
      	permanent_obstack.
      	* varasm.c (assemble_start_function): Use xstrdup instead of
      	permalloc/strcpy.
      	(assemble_variable): Likewise.
      	* config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
      	permalloc.
      	(unicosmk_add_extern): Likewise.
      	* config/c4x/c4x.c (c4x_external_ref): Likewise.
      	(c4x_global_label): Likewise.
      	* config/frv/frv.c (frv_encode_section_info): Likewise.
      	* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
      	(i386_pe_record_exported_symbol): Likewise.
      	* config/mips/mips.c (mips_output_external): Likewise.
      	(mips_output_external_libcall): Likewise.
      	* config/pa/pa.c: (permanent_obstack): Delete declaration.
      	(output_call): Use ggc_strdup instead of allocating on
      	permanent_obstack.
      	* config/romp/romp.c: Include ggc.h.
      	(get_symref): Don't declare permanent_obstack, use ggc_strdup
      	intead of permanent_obstack.
      	* config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
      	instead of permalloc.
      	* config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
      	instead of permalloc
      	* config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
      	instead of permalloc.
      	* config/vax/vax.c (vms_check_external): Use xmalloc instead of
      	permalloc.
      
      Index: cp/ChangeLog
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* cvt.c (ocp_convert): Delete obsolete code.
      	* parse.y (permanent_obstack): Delete declaration.
      	* pt.c (permanent_obstack): Delete declaration.
      	* repo.c (permanent_obstack): Delete declaration.
      	(open_repo_file): Use xmalloc instead of permanent_obstack.
      	(init_repo): Use xstrdup instead of permanent_obstack.
      
      Index: java/ChangeLog
      2002-08-04  Geoffrey Keating  <geoffk@redhat.com>
      
      	* class.c: (permanent_obstack): Delete declaration.
      	* constants.c: (permanent_obstack): Delete declaration.
      	* except.c: (permanent_obstack): Delete declaration.
      	* expr.c: (permanent_obstack): Delete declaration.
      	* jcf-parse.c: (permanent_obstack): Delete declaration.
      	(saveable_obstack): Delete declaration.
      	* parse.h: (permanent_obstack): Delete declaration.
      	* typeck.c: (permanent_obstack): Delete declaration.
      
      From-SVN: r56035
      Geoffrey Keating committed
  26. 03 Aug, 2002 1 commit
  27. 02 Aug, 2002 1 commit
    • langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro. · a77a9a18
              * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
              * langhooks.c (lhd_expr_size): Define default.
              * langhooks.h (struct lang_hooks): Add expr_size.
              * explow.c (expr_size): Call it.
              * expr.c (store_expr): Don't copy an expression of size zero.
              (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
              to store.
              * Makefile.in (builtins.o): Depend on langhooks.h.
      
              * cp-lang.c (LANG_HOOKS_EXPR_SIZE): Define.
              (cp_expr_size): New fn.
              * call.c (build_over_call): Lose empty class hackery.
              (convert_arg_to_ellipsis): Promote non-POD warning to error.
              * typeck.c (build_modify_expr): Don't use save_expr on an lvalue.
      
      From-SVN: r55983
      Jason Merrill committed
  28. 01 Aug, 2002 1 commit
  29. 29 Jul, 2002 1 commit
    • emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from set_mem_attributes and… · 6f1087be
      emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from set_mem_attributes and add BITPOS argument.
      
              * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
              set_mem_attributes and add BITPOS argument.  Subtract it from
              OFFSET when same is adjusted.
              (set_mem_attributes): New wrapper function.
              * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
              remove offset adjustment hack.
              * expr.h (set_mem_attributes_minus_bitpos): Declare.
      
      From-SVN: r55846
      Richard Henderson committed
  30. 24 Jul, 2002 1 commit
  31. 22 Jul, 2002 1 commit
  32. 16 Jul, 2002 1 commit
  33. 13 Jul, 2002 1 commit
  34. 18 Jun, 2002 1 commit
    • simd-1.c: New. · cb2a532e
      2002-06-16  Aldy Hernandez  <aldyh@redhat.com>
      
      	* gcc.c-torture/execute/simd-1.c: New.
      
      	* gcc.dg/simd-1.c: New.
      
      	* doc/extend.texi (Vector Extensions): Document that we can
      	specify simd types not specifically supported by the hardware.
      	Document that simd types can be used as function arguments.
      	Document that signness does make a difference in SIMD types.
      	Misc cleanups and revisions to the "vector extensions" section.
      
      	* simplify-rtx.c (simplify_subreg): Simplify subregs of vector
      	constants.
      
      	* expr.c (vector_mode_valid_p): New.
      
      	* expr.h: Add vector_mode_valid_p.
      
      	* defaults.h (VECTOR_MODE_SUPPORTED_P): Set default.
      
      	* emit-rtl.c (immed_double_const): Do not abort on vectors.
      
      	* c-common.c (type_for_mode): Always build vector nodes regardless
      	of VECTOR_MODE_SUPPORTED_P.
      	(handle_mode_attribute): Error if we can't emulate a nonexisting
      	vector mode.
      	(handle_vector_size_attribute): Same.
      
      	* optabs.c (expand_binop): Open-code vector operations.
      	(expand_unop): Open-code vector unops.
      	(expand_vector_binop): New.
      	(expand_vector_unop): New.
      
      	* c-typeck.c (build_binary_op): Allow vectors in binops.
      	Allow vectors in conditional operatiors.
      	(build_unary_op): Allow vectors in unary minus.
      
      	* config/rs6000/rs6000.h (ALTIVEC_VECTOR_MODE): Conditionalize on
      	TARGET_ALTIVEC.
      
      From-SVN: r54727
      Aldy Hernandez committed
  35. 15 Jun, 2002 1 commit
  36. 11 Jun, 2002 1 commit
    • Delete SEQUENCE rtl usage outside of reorg and ssa passes. · 2f937369
      2002-06-05  David S. Miller  <davem@redhat.com>
      
      	Delete SEQUENCE rtl usage outside of reorg and ssa passes.
      	* rtl.h (gen_sequence, emit_insns, emit_insns_before,
      	emit_insns_before_scope, emit_insns_after,
      	emit_insns_after_scope): Delete declaration.
      	* ada/misc.c (insert_code_for): Use emit_insn* instead of
      	emit_insns_foo.
      	* config/alpha/alpha.c (alpha_set_memflags_1): Abort on SEQUENCE.
      	(alpha_set_memflags): Fix comment.
      	(set_frame_related_p): Use get_insns instead of gen_sequence.
      	* config/alpha/alpha.md (setjmp receiver splitter): Avoid
      	emitting no insns.
      	* config/arm/arm.c (arm_finalize_pic): Use get_insns instead of
      	gen_sequence.
      	(arm_gen_load_multiple, arm_gen_store_multiple): Likewise.
      	* config/fr30/fr30.c (fr30_move_double): Likewise.
      	* config/i386/i386.c (ix86_expand_int_movcc, ix86_expand_movstr):
      	Likewise.
      	* config/ia64/ia64.c (spill_restore_mem): Likewise.
      	* config/ia64/ia64.md (conditional move spliiter): Avoid emitting
      	no insns.
      	* config/m32r/m32r.c (gen_split_move_double): Use get_insns
      	instead of gen_sequence.
      	* config/mips/mips.c (embedded_pic_fnaddr_reg): Likewise.
      	(mips_expand_prologue, mips16_gp_pseudo_reg): Likewise.
      	* config/sh/sh.c (sh_need_epilogue): Likewise.
      	* config/sparc/sparc.md (current_function_calls_alloca, flat): New
      	attributes.
      	(setjmp pattern and split): Use them to avoid splitter which emits
      	no RTL.
      	* genattrtab.c (main): Emit include of function.h
      	* config/stormy16/stormy16.c (xstormy16_split_cbranch): Use
      	get_insns instead of gen_sequence.
      	* config/cris/cris.c (cris_split_movdx): Likewise.
      	* emit-rtl.c (emit_insns*): Kill.
      	(try_split): Expect insn list instead of SEQUENCE.
      	(make_jump_insn_raw, make_call_insn_raw): Fix comments.
      	(emit_*insn*): Reimplement to work with INSN lists and PATTERNs.
      	Make them abort if a SEQUENCE is given and RTL checking is
      	enabled.
      	(emit_*_scope): Don't forget to set scope on final insn.
      	(gen_sequence): Move from here...
      	* ssa.c (gen_sequence): To here as private function.
      	* builtins.c (expand_builtin_apply_args): Use emit_insn_foo, fix
      	comments.
      	(expand_builtin_return, expand_builtin_mathfn): Likewise.
      	(expand_builtin_strlen): Use get_insns instead of gen_sequence.
      	(expand_builtin_saveregs): Use emit_insn_foo, fix comments.
      	(expand_builtin_expect_jump): Use get_insns and fix comments.
      	* calls.c (try_to_integrate): Use emit_insn_foo.
      	(expand_call, emit_library_call_value_1): Likewise.
      	* expr.c (emit_queue): Handle insn lists instead of SEQUENCE.
      	(emit_move_insn_1): Use get_insns instead of gen_sequence.
      	(expand_expr): Use emit_insn_foo.
      	* cfgrtl.c (commit_one_edge_insertion): Use emit_insn_foo.
      	* except.c (build_post_landing_pads): Likewise.
      	* flow.c (attempt_auto_inc): Likewise.
      	* stmt.c (expand_fixup, fixup_gotos, expand_nl_handler_label,
      	expand_nl_goto_receivers, expand_decl_cleanup): Likewise.
      	* function.c (fixup_var_refs_insn): Use get_insns instead of
      	gen_sequence.
      	(fixup_var_refs_1): Likewise and expect insn list from gen_foo.
      	(fixup_memory_subreg): Use get_insns instead of gen_sequence.
      	(fixup_stack_1, purge_addressof_1, expand_main_function,
      	get_arg_pointer_save_area): Likewise.
      	(optimize_bit_field, instantiate_virtual_regs_1, assign_parms,
      	expand_function_end): Use emit_insn_foo.
      	(record_insns, keep_stack_depressed): Work with insn list instead
      	of SEQUENCE, fix comments.
      	* ifcvt.c (noce_emit_store_flag, noce_try_store_flag,
      	noce_try_store_flag_constants, noce_try_store_flag_inc,
      	noce_try_store_flag_mask, noce_emit_cmove, noce_try_cmove_arith,
      	noce_try_minmax, noce_try_abs): Use emit_insn_foo.
      	(noce_process_if_block): Use get_insns instead of gen_sequence.
      	* optabs.c (add_equal_note): Work with insn list, fix comments.
      	(expand_binop): Expect insn list from GEN_FCN(), use emit_insn_foo.
      	(expand_unop, expand_complex_abs, expand_unop_insn,
      	expand_no_conflict_block): Likewise.
      	(gen_move_insn): Use get_insns instead of gen_sequence.
      	(gen_cond_trap): Likewise.
      	* integrate.c (copy_rtx_and_substitute): Likewise.
      	(emit_initial_value_sets): Use emit_insn_foo.
      	* reload1.c (emit_output_reload_insns, emit_reload_insns): Likewise.
      	(fixup_abnormal_edges): Avoid losing REG_NOTES more intelligently
      	now that RTL generators give insn lists.
      	* sibcall.c (replace_call_placeholder): Use emit_insn_foo.
      	* doloop.c (doloop_modify, doloop_modify_runtime): Use get_insns
      	instead of gen_sequence.
      	(doloop_optimize): Work with insn lists instead of SEQUENCE rtl.
      	* explow.c (emit_stack_save, emit_stack_restore): Use get_insns
      	instead of gen_sequence.
      	* loop.c (move_movables, emit_prefetch_instructions,
      	gen_add_mult, check_dbra_loop, gen_load_of_final_value):
      	Likewise.
      	(loop_regs_update): Work with insn list instead of SEQUENCE rtl.
      	(product_cheap_p): Likewise, and add commentary about RTL wastage
      	here.
      	* lcm.c (optimize_mode_switching): Use get_insns instead of
      	gen_sequence.
      	* profile.c (gen_edge_profiler): Likewise.
      	* regmove.c (copy_src_to_dest): Likewise.
      	* reg-stack.c (compensate_edge): Likewise and fix comment.
      	* gcse.c (process_insert_insn): Likewise.
      	(insert_insn_end_bb): Work with insn list instead of SEQUENCE rtl.
      	* jump.c (delete_prior_computation): Update comment.
      	* genemit.c (gen_expand, gen_split, main): Use get_insns instead
      	of gen_sequence, update comments to match.
      	* recog.c (peephole2_optimize): Work with insn lists instead of
      	SEQUENCE rtl.
      	* sched-vis.c (print_pattern): Abort on SEQUENCE.
      	* unroll.c (unroll_loop, find_splittable_givs, final_giv_value):
      	Use get_insns instead of gen_sequence.
      	(copy_loop_body): Likewise and don't emit dummy NOTE.
      	* genrecog.c: Don't mention SEQUENCE rtl in comments.
      	* combine.c (try_combine): Expect insn lists from split generator.
      	* reorg.c (relax_delay_slots): Emit SEQUENCE into insn list by
      	hand.
      
      From-SVN: r54497
      David S. Miller committed
  37. 10 Jun, 2002 1 commit
    • alias.c (static_reg_base_value): New to hold RTL for items allocated once per… · bf1660a6
      alias.c (static_reg_base_value): New to hold RTL for items allocated once per function for the aliasing code.
      
      	* alias.c (static_reg_base_value): New to hold RTL for
      	items allocated once per function for the aliasing code.
      	(init_alias_once_per_function): Initialize static_reg_base_value.
      	(init_alias_analysis): Avoid throw-away allocations of RTL by
      	using pre-computed values in static_reg_base_value.
      	* function.c (prepare_function_start): Call
      	init_alias_once_per_function appropriately.
      	* rtl.h (init_alias_once_per_function): Declare.
      	* caller-save (init_caller_save): Restructure slightly to
      	avoid lots of silly RTL generation.
      	* expr.c (init_expr_once): Likewise.
      	* reload1.c (reload_cse_regs_1): Allocate throw-away register
      	RTL object here.  Pass it into children.
      	(reload_cse_simplify_operands): Use passed-in register RTL
      	object.
      	(reload_cse_simplify): Pass through throw-away register
      	RTL object.
      
      From-SVN: r54442
      Jeff Law committed
  38. 08 Jun, 2002 1 commit
    • emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx. · e50126e8
      	* emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx.
      	* combine.c (move_deaths): Use regno_reg_rtx for hard regs rather
      	than creating a new register.
      	(distribute_notes): Likewise.
      	* df.c (df_reg_use_gen): Likewise.
      	(df_reg_clobber_gen): Likewise.
      	(df_ref_record): Likewise.
      	* expr.c (use_regs): Likewise.
      	* flow.c (propagate_one_insn): Likewise.
      	(mark_set_1): Likewise.
      	(mark_used_reg): Likewise.
      	* reload.c (emit_reload_insns): Likewise.
      
      From-SVN: r54358
      Jeff Law committed