1. 07 Oct, 2003 5 commits
    • mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro. · be763023
      	* config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro.
      	(mips_save_restore_fn): New typedef.
      	(mips_add_large_offset_to_sp, mips_emit_frame_related_store): Remove.
      	(mips_set_frame_expr, mips_frame_set): Move above prologue code.
      	(save_restore_insns): Remove, replacing with...
      	(mips_save_restore_reg, mips_for_each_saved_reg): ...these new fns.
      	(mips_save_reg, mips_restore_reg): New function.
      	(mips_expand_prologue, mips_expand_epilogue): Rework.
      	* config/mips/mips.h (MIPS_TEMP1_REGNUM, MIPS_TEMP2_REGNUM): Remove.
      	(MIPS_PROLOGUE_TEMP_REGNUM, MIPS_EPILOGUE_TEMP_REGNUM): New macros.
      	(MIPS_PROLOGUE_TEMP, MIPS_EPILOGUE_TEMP): New macros.
      
      From-SVN: r72182
      Richard Sandiford committed
    • mips.c (mips_expand_prologue): Remove unused traversal of function arguments. · aaa21542
      	* config/mips/mips.c (mips_expand_prologue): Remove unused
      	traversal of function arguments.
      
      From-SVN: r72181
      Richard Sandiford committed
    • invoke.texi: Remove documentation of -mentry. · 46b9a73c
      	* doc/invoke.texi: Remove documentation of -mentry.
      	* config/mips/mips.c (mips_entry_string, mips_entry): Remove.
      	(override_options, mips_save_reg_p): Remove handling.
      	(compute_frame_size, mips_output_function_prologue): Likewise.
      	(mips_expand_prologue, mips_expand_epilogue): Likewise.
      	* config/mips/mips.h (mips_entry_string): Remove declaration.
      	(TARGET_OPTIONS): Remove -mentry.
      	* config/mips/mips16.S: Remove mention of -mentry.
      
      From-SVN: r72180
      Richard Sandiford committed
    • * libfuncs.h (LTI_extendsfdf2, LTI_extendsfxf2, LTI_extendsftf2) · 85363ca0
      	(LTI_extenddfxf2, LTI_extenddftf2, LTI_truncdfsf2, LTI_truncxfsf2)
      	(LTI_trunctfsf2, LTI_truncxfdf2, LTI_trunctfdf2, LTI_floatsisf)
      	(LTI_floatdisf, LTI_floattisf, LTI_floatsidf, LTI_floatdidf)
      	(LTI_floattidf, LTI_floatsixf, LTI_floatdixf, LTI_floattixf)
      	(LTI_floatsitf, LTI_floatditf, LTI_floattitf, LTI_fixsfsi, LTI_fixsfdi)
      	(LTI_fixsfti, LTI_fixdfsi, LTI_fixdfdi, LTI_fixdfti, LTI_fixxfsi)
      	(LTI_fixxfdi, LTI_fixxfti, LTI_fixtfsi, LTI_fixtfdi, LTI_fixtfti)
      	(LTI_fixunssfsi, LTI_fixunssfdi, LTI_fixunssfti, LTI_fixunsdfsi)
      	(LTI_fixunsdfdi, LTI_fixunsdfti, LTI_fixunsxfsi, LTI_fixunsxfdi)
      	(LTI_fixunsxfti, LTI_fixunstfsi, LTI_fixunstfdi, LTI_fixunstfti)
      	(extendsfdf2_libfunc, extendsfxf2_libfunc, extendsftf2_libfunc)
      	(extenddfxf2_libfunc, extenddftf2_libfunc, truncdfsf2_libfunc)
      	(truncxfsf2_libfunc, trunctfsf2_libfunc, truncxfdf2_libfunc)
      	(trunctfdf2_libfunc, floatsisf_libfunc, floatdisf_libfunc)
      	(floattisf_libfunc, floatsidf_libfunc, floatdidf_libfunc)
      	(floattidf_libfunc, floatsixf_libfunc, floatdixf_libfunc)
      	(floattixf_libfunc, floatsitf_libfunc, floatditf_libfunc)
      	(floattitf_libfunc, fixsfsi_libfunc, fixsfdi_libfunc, fixsfti_libfunc)
      	(fixdfsi_libfunc, fixdfdi_libfunc, fixdfti_libfunc, fixxfsi_libfunc)
      	(fixxfdi_libfunc, fixxfti_libfunc, fixtfsi_libfunc, fixtfdi_libfunc)
      	(fixtfti_libfunc, fixunssfsi_libfunc, fixunssfdi_libfunc)
      	(fixunssfti_libfunc, fixunsdfsi_libfunc, fixunsdfdi_libfunc)
      	(fixunsdfti_libfunc, fixunsxfsi_libfunc, fixunsxfdi_libfunc)
      	(fixunsxfti_libfunc, fixunstfsi_libfunc, fixunstfdi_libfunc)
      	(fixunstfti_libfunc): Delete.
      	* optabs.h (struct optab_handlers): Break out of struct optab.
      	(struct convert_optab, convert_optab, enum convert_optab_index,
      	convert_optab_table, sext_optab, zext_optab, trunc_optab,
      	sfix_optab, ufix_optab, sfixtrunc_optab, ufixtrunc_optab,
      	sfloat_optab, ufloat_optab): New.
      	(set_conv_libfunc): Prototype.
      	(GEN_FCN): Use C90 indirect call syntax, remove unnecessary cast.
      	(trunc_optab): Renamed btrunc_optab.
      	* builtins.c (expand_builtin_mathfn): Update to match.
      	* optabs.c (extendtab, fixtab, fixtrunctab, floattab): Delete.
      	(convert_optab_table, new_convert_optab, init_convert_optab)
      	(init_interclass_conv_libfuncs, init_intraclass_conv_libfuncs)
      	(set_conv_libfunc): New.
      	(can_extend_p, gen_extend_insn, can_fix_p, can_float_p)
      	(expand_float, expand_fix): Use new conversion optabs,
      	not old insn code tables or long chains of ifs.
      	(init_optabs): No need to clear old insn code tables.
      	Initialize the new optabs, not the old libfunc array entries.
      	Don't handle FIXUNS_TRUNC_LIKE_FIX_TRUNC here.
      	* genopinit.c: Initialize conversion optabs, not the
      	former insn code tables.  Remove unnecessary casts.
      	Handle FIXUNS_TRUNC_LIKE_FIX_TRUNC here.
      	* expr.c (convert_move): Remove redundant check that
      	to_real==from_real.  Use the conversion optabs instead
      	of long chains of tests of modes.  Move partial-integer-mode
      	interconversion above all integer conversion.  Do not recurse
      	on a value forced into a register in the original mode.
      
      	* config/gofast.h, config/frv/frv.c, config/ia64/ia64.c
      	* config/mips/mips.c, config/pa/pa.c, config/rs6000/rs6000.c
      	* config/sparc/sparc.c: Use set_conv_libfunc to adjust entries
      	in new conversion optabs; do not reference the old libfunc
      	array entries.  No need to include libfuncs.h.
      
      From-SVN: r72178
      Zack Weinberg committed
    • Daily bump. · 1f1dc5bb
      From-SVN: r72176
      GCC Administrator committed
  2. 06 Oct, 2003 31 commits
  3. 05 Oct, 2003 4 commits
    • mips.md (*divsf3): Move description of SB-1 F2 erratum from here to... · eb33bea0
      2003-10-05  Chris Demetriou  <cgd@broadcom.com>
      
              * config/mips/mips.md (*divsf3): Move description of
              SB-1 F2 erratum from here to...
              (divsf3): Here.  Disable if TARGET_FIX_SB1 is set and
              flag_unsafe_math_optimizations is not.
      
      From-SVN: r72123
      Chris Demetriou committed
    • linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE, TARGET_E500, TARGET_ISEL, and TARGET_FPRS. · c9545f49
      2003-10-05  Aldy Hernandez  <aldyh@redhat.com>
      
      	* config/rs6000/linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE,
      	TARGET_E500, TARGET_ISEL, and TARGET_FPRS.
      
      From-SVN: r72121
      Aldy Hernandez committed
    • c-pretty-print.c: Fix comment typos. · 2067c116
      	* c-pretty-print.c: Fix comment typos.
      	* c-pretty-print.h: Likewise.
      	* calls.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* cppfiles.c: Likewise.
      	* final.c: Likewise.
      	* function.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcse.c: Likewise.
      	* genoutput.c: Likewise.
      	* loop.c: Likewise.
      	* postreload.c: Likewise.
      	* reg-stack.c: Likewise.
      	* regmove.c: Likewise.
      	* sched-int.h: Likewise.
      	* sched-rgn.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* tree-inline.c: Likewise.
      	* config/m68hc11/m68hc11.h: Likewise.
      	* config/mmix/mmix.c: Likewise.
      	* config/mn10300/mn10300.md: Likewise.
      	* config/sh/sh.h: Likewise.
      
      From-SVN: r72118
      Kazu Hirata committed
    • tree-inline.c (remap_type): New. · 3c2a7a6a
              * tree-inline.c (remap_type): New.
              (remap_decl): Use it.  Remap DECL_SIZE*.
              (copy_body_r): Use it.
              (walk_tree): Walk TREE_TYPE too.
              (copy_tree_r): Don't walk subtrees of types.
              * tree.c (variably_modified_type_p): Restructure.  Consider integer
              types with non-const bounds variably modified.
      
      From-SVN: r72114
      Richard Henderson committed