OSDN Git Service

PR tree-optimization/37027
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e776c9c..c04a319 100644 (file)
@@ -1,3 +1,137 @@
+2010-04-19 Ira Rosen <irar@il.ibm.com>
+
+       PR tree-optimization/37027
+       * tree-vectorizer.h (struct _loop_vec_info): Add new field reductions 
+       and macro to access it.
+       (vectorizable_reduction): Add argument.
+       (vect_get_slp_defs): Likewise.
+       * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Collect reduction
+       statements for possible use in SLP.
+       (new_loop_vec_info): Initialize LOOP_VINFO_REDUCTIONS.
+       (destroy_loop_vec_info): Free LOOP_VINFO_REDUCTIONS.
+       (vect_create_epilog_for_reduction): Handle SLP. Modify documentation,
+       add new argument.
+       (vectorizable_reduction): Likewise.
+       * tree-vect-stmts.c (vect_get_vec_defs): Update call to 
+       vect_get_slp_defs.
+       (vectorizable_type_demotion, vectorizable_type_promotion,
+       vectorizable_store): Likewise.
+       (vect_analyze_stmt): Update call to vectorizable_reduction.
+       (vect_transform_stmt): Likewise.
+       * tree-vect-slp.c (vect_get_and_check_slp_defs): Handle reduction.
+       (vect_build_slp_tree): Fix indentation. Check that there are no loads
+       from different interleaving chains in same node.
+       (vect_slp_rearrange_stmts): New function.
+       (vect_supported_load_permutation_p): Allow load permutations for 
+       reductions. Call vect_slp_rearrange_stmts() to rearrange statements
+       inside SLP nodes if necessary.
+       (vect_analyze_slp_instance): Handle reductions.
+       (vect_analyze_slp): Try to build SLP instances originating from groups
+       of reductions.
+       (vect_detect_hybrid_slp_stmts): Skip reduction statements.
+       (vect_get_constant_vectors): Create initial vectors for reductions
+       according to reduction code. Add new argument.
+       (vect_get_slp_defs): Add new argument, pass it to 
+       vect_get_constant_vectors.
+       (vect_schedule_slp_instance): Remove SLP tree root statements.
+
+2010-04-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree.h (ENUM_IS_SCOPED): Define.
+       * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_enum_class
+       for ENUM_IS_SCOPED enums.
+
+2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * fold-const.c (fold_comparison): Use ssizetype.
+       * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise.
+       * ipa-prop.c (ipa_modify_call_arguments): Use sizetype.
+       * tree-loop-distribution.c (build_size_arg_loc): Likewise.
+       * tree-object-size.c (compute_object_sizes): Use size_type_node.
+
+       * tree.h (initialize_sizetypes): Remove parameter.
+       (build_common_tree_nodes): Remove second parameter.
+       * stor-layout.c (initialize_sizetypes): Remove parameter.
+       Always create an unsigned type.
+       (set_sizetype): Assert that the passed type is unsigned and simplify.
+       * tree.c (build_common_tree_nodes): Remove second parameter.
+       Adjust call to initialize_sizetypes.
+       * c-decl.c (c_init_decl_processing): Remove second argument in call to
+       build_common_tree_nodes.
+
+2010-04-18  Matthias Klose  <doko@ubuntu.com>
+
+       * gcc.c (main): Search for liblto_plugin.so with mode R_OK.
+
+2010-04-18 Ira Rosen <irar@il.ibm.com> 
+
+       PR tree-optimization/43771
+       * tree-vect-slp.c (vect_supported_load_permutation_p): Check that
+       load permutation doesn't have gaps.
+
+2010-04-18  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (UNSPEC_SSE_PROLOGUE_SAVE_LOW): New.
+       (sse_prologue_save_insn expander): Use new pattern.
+       (sse_prologue_save_insn1): New pattern and splitter.
+       (sse_prologue_save_insn): Update to deal also with 64bit aligned
+       blocks.
+       * i386.c (setup_incoming_varargs_64): Do not compute jump destination here.
+       (ix86_gimplify_va_arg): Update alignment needed.
+       (ix86_local_alignment): Do not align all local arrays
+       to 128bit.
+
+2010-04-17  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-inline.c (cgraph_early_inlining): Handle flattening too.
+
+2010-04-17  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.md (negdi2): Remove redundant code to force values into a
+       register.
+
+2010-04-17  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm/bpabi.S: Add EABI alignment attributes to objects.
+       * arm/bpabi-v6m.S: Likewise.
+       * arm/crti.asm: Likewise.
+       * arm/crtn.asm: Likewise.
+       * arm/lib1funcs.asm: Likewise.
+       * arm/libunwind.S: Likewise.
+
+2010-04-17  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-protos.h (tune_params): New structure.
+       * arm.c (current_tune): New variable.
+       (arm_constant_limit): Delete.
+       (struct processors): Add pointer to the tune parameters.
+       (arm_slowmul_tune): New tuning option.
+       (arm_fastmul_tune, arm_xscale_tune, arm_9e_tune): Likewise.
+       (all_cores): Adjust to pick up the tuning model.
+       (arm_constant_limit): New function.
+       (arm_override_options): Select the appropriate tuning model.  Delete
+       initialization of arm_const_limit.
+       (arm_split_constant): Use the new constant-limit model.
+       (arm_rtx_costs): Pick up the current tuning model.
+       * arm.md (is_strongarm, is_xscale): Delete.
+       * arm-generic.md (load_ldsched_x, load_ldsched): Test explicitly
+       for Xscale variant architectures.
+       (mult_ldsched_strongarm, mult_ldsched): Similarly for StrongARM.
+
+2010-04-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * config/arm/arm.c (arm_gen_constant): Remove unused variable
+       can_shift.
+       (arm_rtx_costs_1): Remove unused variable extra_cost.
+       (arm_unwind_emit_set): Use variable offset.
+       (thumb1_output_casesi): Remove unused variable flags.
+
+2010-04-16  Jeff Law  <law@redhat.com>
+
+       * ira-color.c (ira_reassign_pseudos): Collect and sort all the pseudos
+       needing assignment rather than doing a two-phase assignment.  Remove
+       unused variable 'm'.
+
 2010-04-16  Jakub Jelinek  <jakub@redhat.com>
 
        PR bootstrap/43767
 
 2010-04-12  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
 
+       * config/h8300/h8300.c (print_operand) : Modify case 'V' and
+       case 'W' print operands for HI mode.
+       * config/h8300/h8300.h (Y0, Y2) : New constraints.
+       * config/h8300/h8300.md (bclrqi_msx, bclrhi_msx): New patterns
+       (bsetqi_msx, bsethi_msx, bnotqi_msx, bnothi_msx): Likewise.
+       * config/h8300/predicate.md (bit_register_indirect_operand): New.
+
        * config/h8300/h8300.h (OK_FOR_U): Support 'U' constraint for H8300SX.
 
        * config/h8300/h8300.md (movqi_h8sx, movhi_h8sx, movsi_h8sx,