1. 22 Feb, 2003 13 commits
    • expmed.c (expand_divmod): Undo sign extensions for unsigned operands · 1c4a429a
      	* expmed.c (expand_divmod): Undo sign extensions for unsigned operands
      
      	* cfgcleanup.c (try_forward_edges):  Don't check loop structures
      	when not optimizing.
      	(cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
      	when not expensive.
      	* toplev.c (rest_of_compilation):  Duplicate loop headers only when
      	optimizing;  Delete trivially dead insns early; fix optimize check.
      
      	* Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
      	dependency on cgraph.h
      	* c-decl.c: Include cgraph.h
      	(finish_function): Update call of tree_inlinable_function_p.
      	* c-objc-common.c: Include cgraph.h
      	* cgraph.h: New file.
      	* cgraphunit.c: New file.
      	* cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
      	(cgraph_nodes, cgraph_n_nodes): Globalize.
      	(cgraph_finalize_function, cgraph_finalize_compilation_unit
      	cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
      	Move into cgraphunit.c
      	* tree-inline.c: Include cgraph.h
      	* tree-inline.c: Include cgraph.h
      
      From-SVN: r63281
      Jan Hubicka committed
    • i386.md: Use gen_lowpart instead of gen_rtx_REG for copying a register. · 1e2115dc
      	* config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
      	for copying a register.
      
      From-SVN: r63280
      Josef Zlomek committed
    • re PR c/8828 (gcc reports some code is unreachable when it is not) · b6553814
      2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>
      
      	PR c/8828
      	* jump.c (never_reached_warning): Don't fall through BARRRIER
      	insns.  Update comments to reflect what the function really does.
      
      From-SVN: r63275
      Steven Bosscher committed
    • re PR c++/3782 (-quiet -fstats produces a segmentation fault in cc1plus) · 26182e15
      2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>
      
      	PR other/3782
      	* toplev.c (process_options): If flag_detailed_statistics is set,
      	then set time_report as well.
      
      From-SVN: r63274
      Steven Bosscher committed
    • fold-const.c (omit_one_operand): No longer static. · c0a47a61
      
      	* fold-const.c (omit_one_operand): No longer static.
      	* tree.h (omit_one_operand): Prototype here.
      	(div_and_round_double): Keep fold-const.c prototypes together.
      	* builtins.c (builtin_mathfn_code): Handle binary built-in
      	funtions, such as "pow" and "atan2".
      	(fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
      	Simplify optimizations using "type" the builtin's return type.
      
      	* gcc.dg/builtins-5.c: New test case.
      
      From-SVN: r63273
      Roger Sayle committed
    • cris.c (cris_rtx_costs): Blockify dangling else. · 5b296d93
      	* config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
      	Fix functionalization typo.
      
      From-SVN: r63272
      Hans-Peter Nilsson committed
    • * gcc.dg/asmreg-1.c: New test. · 182c2078
      From-SVN: r63271
      Hans-Peter Nilsson committed
    • regmove.c (optimize_reg_copy_1): Do not replace a hard register in an asm. · 51928907
      	* regmove.c (optimize_reg_copy_1): Do not replace a hard register
      	in an asm.
      
      From-SVN: r63270
      Hans-Peter Nilsson committed
    • Makefile.in (ggc-common.o): Depend on $(PARAMS_H) · 9ac121af
      	* Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
      	* doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
      	documentation.
      	* ggc-common.c: Include params.h
      	(ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
      	init_ggc_heuristics): New functions.
      	* ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
      	init_ggc_heuristics): Prototype.
      	* toplev.c (print_version):  Output GGC heuristics.
      	(parse_options_and_default_flags): Call init_ggc_heuristics.
      
      From-SVN: r63268
      Kaveh R. Ghazi committed
    • i386.c (def_builtin): Special case 64bit builtins. · 453ee231
      	* i386.c (def_builtin):  Special case 64bit builtins.
      	(MASK_SSE164, MASK_SSE264): New constants.
      	(builtin_description): Add 64bit builtins.
      	(ix86_init_mmx_sse_builtins): Likewise.
      	* i386.h (enum ix86_builtins): Likewise.
      	* i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
      	sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
      	(sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
      	* mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
      	* xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
      	_mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
      	_mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
      
      From-SVN: r63267
      Jan Hubicka committed
    • i386.c (builtin_description): Add __builtin_ia32_paddq and __builtin_ia32_psubq. · d50672ef
      	* i386.c (builtin_description): Add __builtin_ia32_paddq and
      	__builtin_ia32_psubq. Fix __builtin_ia32_paddq128
      	 and __builtin_ia32_psubq128.
      	* i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
      	* i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
      	(mmx_adddi3, mmx_subdi3): New.
      	* mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
      	* xmmintrin.h (_mm_movepi64_pi64): New.
      	(_mm_add_epi64, _mm_sub_epi64): fix.
      	(_mm_mul_pu16): Rename to...
      	(_mm_mul_su32): ... this one.
      
      	* builtins.c (expand_builtin_expect):  Do not predict
      	flag_guess_branch_prob is not set.
      	* c-semantics.c (expand_stmt): Likewise.
      	* predict.c (predict_insn): Likewise.
      	* stmt.c (expand_continue_loop): Likewise.
      	* toplev.c (rest_of_compilation): Do not call
      	note_prediction_to_br_prob and note_prediction_to_br_prob
      	when not optimizing.
      
      From-SVN: r63263
      Jan Hubicka committed
    • Daily bump. · 6a6d417e
      From-SVN: r63262
      GCC Administrator committed
    • Update my email address. · ff00c8a2
      From-SVN: r63254
      James E Wilson committed
  2. 21 Feb, 2003 26 commits
  3. 20 Feb, 2003 1 commit