diff options
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 156 |
1 files changed, 134 insertions, 22 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8dd8eb5c57e..10aab9ca08a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,112 @@ +2008-10-02 David Edelsohn <edelsohn@gnu.org> + + * config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Revert + TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT. + (function_arg_advance): Condition on TARGET_DOUBLE_FLOAT, + TARGET_SINGLE_FLOAT. + Revert SCALAR_FLOAT_MODE_P condition. + (function_arg): Condition on TARGET_DOUBLE_FLOAT, + TARGET_SINGLE_FLOAT. + (rs6000_function_value): Revert TARGET_DOUBLE_FLOAT, + TARGET_SINGLE_FLOAT. + +2008-10-02 Daniel Jacobowitz <dan@codesourcery.com> + + * builtins.c (fold_builtin_pow): Check for 0 ** NEGATIVE. + +2008-10-02 Richard Guenther <rguenther@suse.de> + + PR middle-end/37713 + * tree-ssa.c (useless_type_conversion_p_1): For COMPLEX_TYPE + and VECTOR_TYPE recurse with useless_type_conversion_p which + properly handles void pointer conversion. + +2008-10-02 Danny Smith <dannysmith@users.sourceforge.net> + + PR target/37528 + * config/i386/mingw32.h (LIBGCC_SPEC) : Replace with .. + (REAL_LIBGCC_SPEC): New. Always include -lgcc. + +2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com> + + * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): + Handle ALTIVEC_BUILTIN_VEC_SPLATS, ALTIVEC_BUILTIN_VEC_PROMOTE, + ALTIVEC_BUILTIN_VEC_EXTRACT, and ALTIVEC_BUILTIN_VEC_INSERT specially, + they translate to non builtins. + * config/rs6000/rs6000.c (altivec_init_builtins): Add new variable + opaque_ftype_opaque. Define builtins __builtin_vec_splats, + __builtin_vec_promote, __builtin_vec_extract, and + __builtin_vec_insert. + * config/rs6000/rs6000.h (enum rs6000_builtins): Add + ALTIVEC_BUILTIN_VEC_EXTRACT, ALTIVEC_BUILTIN_VEC_PROMOTE, + ALTIVEC_BUILTIN_VEC_INSERT, and ALTIVEC_BUILTIN_VEC_SPLATS. + * config/rs6000/altivec.h (vec_extract): Define + (vec_insert): Define. + (vec_splats): Define. + (vec_promote): Define. + +2008-10-01 Andrew Pinski <andrew_pinski@playstation.sony.com> + Yukishige Shibata <shibata@rd.scei.sony.co.jp> + Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> + + * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add Cell + Altivec intrinsics. + * config/rs6000/rs6000.c (altivec_expand_lv_builtin): Delete + prototype. Add new parameter, blk. + Use BLKmode for the MEM if blk is true. + (altivec_expand_builtin): Handle ALTIVEC_BUILTIN_STVLX, + ALTIVEC_BUILTIN_STVLXL, ALTIVEC_BUILTIN_STVRX, and + ALTIVEC_BUILTIN_STVRXL. + Update usage of altivec_expand_lv_builtin. + Handle ALTIVEC_BUILTIN_LVLX, ALTIVEC_BUILTIN_LVLXL, + ALTIVEC_BUILTIN_LVRX, and ALTIVEC_BUILTIN_LVRXL. + (altivec_init_builtins): If compiling for the Cell, also define the + cell VMX builtins. + * config/rs6000/rs6000.h (rs6000_builtins): Define + ALTIVEC_BUILTIN_LVLX, ALTIVEC_BUILTIN_LVLXL, ALTIVEC_BUILTIN_LVRX, + ALTIVEC_BUILTIN_LVRXL, ALTIVEC_BUILTIN_STVLX, ALTIVEC_BUILTIN_STVLXL, + ALTIVEC_BUILTIN_STVRX, ALTIVEC_BUILTIN_STVRXL, + ALTIVEC_BUILTIN_VEC_LVLX, ALTIVEC_BUILTIN_VEC_LVLXL, + ALTIVEC_BUILTIN_VEC_LVRX, ALTIVEC_BUILTIN_VEC_LVRXL, + ALTIVEC_BUILTIN_VEC_STVLX, ALTIVEC_BUILTIN_VEC_STVLXL, + ALTIVEC_BUILTIN_VEC_STVRX, and ALTIVEC_BUILTIN_VEC_STVRXL. + * config/rs6000/altivec.md (define_constants): Define UNSPEC_LVLX, + UNSPEC_LVLXL, UNSPEC_LVRX, UNSPEC_LVRXL, UNSPEC_STVLX, UNSPEC_STVLXL, + UNSPEC_STVRX, and UNSPEC_STVRXL. + (altivec_lvlx): New pattern. + (altivec_lvlxl): New pattern. + (altivec_lvrx): New pattern. + (altivec_lvrxl): New pattern. + (altivec_stvlx): New pattern. + (altivec_stvlxl): New pattern. + (altivec_stvrx): New pattern. + (altivec_stvrxl): New pattern. + * config/rs6000/altivec.h (vec_lvlx): Define if PPU is defined. + (vec_lvlxl): Likewise. + (vec_lvrx): Define if PPU is defined. + (vec_lvrxl): Likewise. + (vec_stvlx): Define if PPU is defined. + (vec_stvlxl): Likewise. + (vec_stvrx): Define if PPU is defined. + (vec_stvrxl): Likewise. + +2008-10-01 Geert Bosch <bosch@adacore.com> + + * tree.c (contains_placeholder_p): Return 0 for a SAVE_EXPR. + +2008-10-01 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/37617 + * tree-ssa-pre.c (create_expression_by_pieces): During FRE + do not add to the NEW_SETS. + +2008-10-01 Richard Guenther <rguenther@suse.de> + + PR middle-end/37285 + * tree-vrp.c (execute_vrp): If we optimized away the default + case make sure to promote the label that got in place of it + to a default case label. + 2008-10-01 Richard Henderson <rth@redhat.com> PR tree-opt/35737 @@ -136,8 +245,8 @@ 2008-09-29 Tobias Grosser <grosser@fim.uni-passau.de> - * graphite.c (dot_all_scops_1): Remove unused checks. SCoPs always have - exit and entry. + * graphite.c (dot_all_scops_1): Remove unused checks. SCoPs always + have exit and entry. (new_scop): Take entry and exit edge to define new SCoP. (sd_region_p): New structure used during SCoP detection. (move_scops): Delete. @@ -177,7 +286,7 @@ for SHmedia. 2008-09-28 Andrew Pinski <andrew_pinski@playstation.sony.com> - Kaushal Kantawala <kaushal_kantawala@playstation.sony.com> + Kaushal Kantawala <kaushal_kantawala@playstation.sony.com> PR tree-opt/36891 * tree-ssa-loop-im.c (rewrite_reciprocal): Set DECL_GIMPLE_REG_P on @@ -203,7 +312,7 @@ 2008-09-26 Vladimir Makarov <vmakarov@redhat.com> Revert: - 2008-09-25 Vladimir Makarov <vmakarov@redhat.com> + 2008-09-25 Vladimir Makarov <vmakarov@redhat.com> * ira-lives.c:... * doc/rtl.texi:... @@ -230,7 +339,7 @@ CL_SAVE as first argument. 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com> - Steve Ellcey <sje@cup.hp.com> + Steve Ellcey <sje@cup.hp.com> * configure: Regenerate for new libtool. * aclocal.m4: Ditto. @@ -729,11 +838,12 @@ (xtensa_legitimize_address): Handle TLS symbols. (xtensa_tls_referenced_p_1): New. (xtensa_tls_referenced_p): New. - (xtensa_output_addr_const_extra): Handle UNSPEC_TPOFF and UNSPEC_DTPOFF. + (xtensa_output_addr_const_extra): Handle UNSPEC_TPOFF and + UNSPEC_DTPOFF. (XTENSA_BUILTIN_THREAD_POINTER): New. (XTENSA_BUILTIN_SET_THREAD_POINTER): New. - (xtensa_init_builtins): Set NOTHROW and READONLY for umulsidi3 builtin. - Add declarations for __builtin_thread_pointer and + (xtensa_init_builtins): Set NOTHROW and READONLY for umulsidi3 + builtin. Add declarations for __builtin_thread_pointer and __builtin_set_thread_pointer. (xtensa_fold_builtin): Recognize new builtins. (xtensa_expand_builtin): Expand new builtins. @@ -784,10 +894,11 @@ (get_reference_vars_info): ... this one, use cgraph uids. (get_local_reference_vars_info, get_global_reference_vars_info): Use cgraph instead of decl. - (ipa_reference_get_read_local, ipa_reference_get_written_local): Remove. + (ipa_reference_get_read_local, ipa_reference_get_written_local): + Remove. (ipa_reference_get_read_global, ipa_reference_get_not_read_global - ipa_reference_get_written_global, ipa_reference_get_not_written_global): Use - cgraph argument. + ipa_reference_get_written_global, + ipa_reference_get_not_written_global): Use cgraph argument. (check_call): Simplify avail check. (scan_stmt_for_static_refs): Update. (propagate_bits): Update. @@ -807,8 +918,8 @@ (ipa_reference_get_read_local, ipa_reference_get_written_local): Remove. (ipa_reference_get_read_global, ipa_reference_get_written_global, - ipa_reference_get_not_read_global, ipa_reference_get_not_written_global): - Update prototype. + ipa_reference_get_not_read_global, + ipa_reference_get_not_written_global): Update prototype. * ipa-pure-const.c (funct_state_vec): Turn into VECtor. (init_state): Remove. (node_duplication_hook_holder, node_removal_hook_holder): New. @@ -817,14 +928,15 @@ (add_new_function): Likewise. (duplicate_node_data, remove_node_data): New. (generate_summary): Register hooks; do not care about clones. - (propafate): Do not care about clones; recursive functions are not looping. + (propafate): Do not care about clones; recursive functions are + not looping. * ipa-utils.c (searchc, ipa_utils_reduced_inorder): Do not skip clones. * ipa-prop.c (edge_removal_hook_holder, node_removal_hook_holder, * edge_duplication_hook_holder, node_duplication_hook_holder): Make static. * tree-flow.h (function_ann_d): Remove reference_vars_info. - * tree-ssa-opreands.c (add_call_clobber_ops, add_call_read_ops): Update call of - ipa-reference accesors. + * tree-ssa-opreands.c (add_call_clobber_ops, add_call_read_ops): + Update call of ipa-reference accesors. 2008-09-18 Simon Baldwin <simonb@google.com> @@ -1548,12 +1660,12 @@ 2008-09-10 Ira Rosen <irar@il.ibm.com> PR tree-optimization/37385 - * tree-vect-transform.c (vect_create_data_ref_ptr): Add a new argument, - and use it as a vector type if not NULL. + * tree-vect-transform.c (vect_create_data_ref_ptr): Add a new + argument, and use it as a vector type if not NULL. (vectorizable_store): Call vect_create_data_ref_ptr with the type of vectorized rhs. - (vect_setup_realignment): Call vect_create_data_ref_ptr with additional - argument. + (vect_setup_realignment): Call vect_create_data_ref_ptr with + additional argument. (vectorizable_load): Likewise. 2008-09-10 Jakub Jelinek <jakub@redhat.com> @@ -1602,8 +1714,8 @@ (update_call_notes_after_inlining): Likewise. Push new indirect edge to *new_edges instead of new_edges. Reread IPA_EDGE_REF after ipa_check_create_edge_args. - * ipa-inline.c (cgraph_decide_recursive_inlining): Change last argument - to pointer to vector pointer. + * ipa-inline.c (cgraph_decide_recursive_inlining): Change last + argument to pointer to vector pointer. (cgraph_decide_inlining_of_small_function): Adjust cgraph_decide_recursive_inlining and ipa_propagate_indirect_call_infos calls. |