1. 26 Aug, 2011 9 commits
    • ivopts-lt.c: New test. · 3e0694cf
      2011-08-26  Tom de Vries  <tom@codesourcery.com>
      
      	* gcc.dg/tree-ssa/ivopts-lt.c: New test.
      
      From-SVN: r178105
      Tom de Vries committed
    • tree-ssa-loop-ivopts.c (struct cost_pair): Add comp field. · d8af4ba3
      2011-08-26  Zdenek Dvorak  <ook@ucw.cz>
      	    Tom de Vries  <tom@codesourcery.com>
      
      	* tree-ssa-loop-ivopts.c (struct cost_pair): Add comp field.
      	(struct ivopts_data): Add loop_single_exit_p field.
      	(niter_for_exit): Change parameter desc_p into return value.  Return
      	desc if	desc->may_be_zero.  Free desc if unused.
      	(niter_for_single_dom_exit): Change return type.
      	(find_induction_variables): Handle changed return type of
      	niter_for_single_dom_exit.  Dump may_be_zero.
      	(add_candidate_1): Keep original base and step type for IP_ORIGINAL.
      	(set_use_iv_cost): Add and handle comp parameter.
      	(determine_use_iv_cost_generic, determine_use_iv_cost_address): Add
      	comp argument to set_use_iv_cost.
      	(strip_wrap_conserving_type_conversions, expr_equal_p)
      	(difference_cannot_overflow_p, iv_elimination_compare_lt): New function.
      	(may_eliminate_iv): Add comp parameter.  Handle new return type of
      	niter_for_exit.  Use loop_single_exit_p.  Use iv_elimination_compare_lt.
      	(determine_use_iv_cost_condition): Add comp argument to set_use_iv_cost
      	and may_eliminate_iv.
      	(rewrite_use_compare): Move call to iv_elimination_compare to ...
      	(may_eliminate_iv): Here.
      	(tree_ssa_iv_optimize_loop): Initialize loop_single_exit_p.
      
      Co-Authored-By: Tom de Vries <tom@codesourcery.com>
      
      From-SVN: r178104
      Zdenek Dvorak committed
    • tree-pretty-print (dump_generic_node): Test for NULL_TREE before accessing TREE_TYPE. · fd1777ca
      2011-08-26  Tom de Vries  <tom@codesourcery.com>
      
      	* tree-pretty-print (dump_generic_node): Test for NULL_TREE before
      	accessing TREE_TYPE.
      
      From-SVN: r178103
      Tom de Vries committed
    • Commit for Jiangning. · 990b31f7
      Add conditional compare support for Thumb2.
      
      From-SVN: r178102
      Jiangning Liu committed
    • * rtlanal.c (nonzero_bits1): Handle CLRSB. · 8840ae2b
      From-SVN: r178101
      Jakub Jelinek committed
    • expr.c (string_constant): Handle &MEM_REF. · 321358d4
      2011-08-26  Richard Guenther  <rguenther@suse.de>
      
      	* expr.c (string_constant): Handle &MEM_REF.
      
      From-SVN: r178100
      Richard Guenther committed
    • arm.c (struct four_ints): New type. · c2b640a7
      2011-08-26  Andrew Stubbs  <ams@codesourcery.com>
      
      	gcc/
      	* config/arm/arm.c (struct four_ints): New type.
      	(count_insns_for_constant): Delete function.
      	(find_best_start): Delete function.
      	(optimal_immediate_sequence): New function.
      	(optimal_immediate_sequence_1): New function.
      	(arm_gen_constant): Move constant splitting code to
      	optimal_immediate_sequence.
      	Rewrite constant negation/invertion code.
      
      	gcc/testsuite/
      	* gcc.target/arm/thumb2-replicated-constant1.c: New file.
      	* gcc.target/arm/thumb2-replicated-constant2.c: New file.
      	* gcc.target/arm/thumb2-replicated-constant3.c: New file.
      	* gcc.target/arm/thumb2-replicated-constant4.c: New file.
      
      2011-08-26  Andrew Stubbs  <ams@codesourcery.com>
      
      	gcc/
      	* config/arm/arm-protos.h (const_ok_for_op): Add prototype.
      	* config/arm/arm.c (const_ok_for_op): Add support for addw/subw.
      	Remove prototype. Remove static function type.
      	* config/arm/arm.md (*arm_addsi3): Add addw/subw support.
      	Add arch attribute.
      	* config/arm/constraints.md (Pj, PJ): New constraints.
      
      From-SVN: r178099
      Andrew Stubbs committed
    • Daily bump. · e4680a3b
      From-SVN: r178095
      GCC Administrator committed
  2. 25 Aug, 2011 23 commits
  3. 24 Aug, 2011 8 commits