X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=71a8d88d7a128d6f029a6d5d521c1e041e82da99;hb=d900d05c4e0ab8737c8de51bd42e590fc3520d22;hp=d5d0a10f9b499c1fca709166ef83296a96e46936;hpb=b011bbe2042d1d259371e0b30fcfce56f9abfddc;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5d0a10f9b4..71a8d88d7a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,144 @@ +2011-09-26 Georg-Johann Lay + + * config/avr/avr.md (peephole casesi+2): Use -1 instead of 65536. + * config/avr/avr.c (avr_out_compare): Print shorter sequence for + EQ/NE comparisons against +/-1 in the case of unused-after, + non-ld-regs target. + +2011-09-26 Jakub Jelinek + + * gimple-fold.c (gimplify_and_update_call_from_tree): Set + gctx.into_ssa after push_gimplify_context. + + * gimple.c (gimple_build_call_valist): New function. + * gimple.h (gimple_build_call_valist): New prototype. + * tree-ssa-propagate.c (finish_update_gimple_call): New function. + (update_gimple_call): Likewise. + (update_call_from_tree): Use finish_update_gimple_call. + * tree-ssa-propagate.h (update_gimple_call): New prototype. + +2011-09-26 Richard Guenther + + PR tree-optimization/50472 + * gimple-fold.c (fold_const_aggregate_ref_1): Do not fold + volatile references. + +2011-09-26 Bingfeng Mei + + * doc/tm.texi: Correct documentation for TARGET_ADDR_SPACE_SUBSET_P. + * target.def: (addr_space_subset_p): Likewise. + +2011-09-26 Tom de Vries + + * tree-ssa-alias.h (pt_solution_singleton_p): Declare. + * tree-ssa-structalias.c (pt_solution_singleton_p): New function. + * tree-ssa-ccp.c (fold_builtin_alloca_for_var): Set points-to solution + of new var. + +2011-09-26 Georg-Johann Lay + + PR target/50465 + * config/avr/avr-protos.h (output_reload_insisf): Don't pass insn. + * config/avr/avr.md (*reload_insi, *reload_insf): Change call to + output_reload_insisf. + (adjust_len): Set default to "no". + Remove alternative "yes". Add alternatives: "mov8", "mov16", + "mov32", "ashlqi", "ashrqi", "lshrqi", "ashlhi", "ashrhi", + "lshrhi", "ashlsi, "ashrsi", "lshrsi". + (*movqi, *movhi, *movsi, *ashlqi3, ashlhi3, ashlsi3, + *ashlhi3_const, *ashlsi3_const, ashrqi3, ashrhi3, ashrsi3, + *ashrhi3_const, *ashrsi3_const, *lshrqi3, lshrhi3, *lshrhi3_const, + *lshrsi3_const): Set attribute "adjust_len". + * config/avr/avr.c (output_reload_insisf): Remove parameter "insn". + (output_movsisf): Don't pass insn to output_reload_insisf. + (adjust_insn_length): Handle new alternatives to adjust_len. + Remove handling of ADJUST_LEN_YES. Clean-up code. + +2011-09-26 Eric Botcazou + + * ifcvt.c (noce_try_cmove_arith): Use may_trap_or_fault_p in lieu of + may_trap_p to detect loads that may trap of fault. + +2011-09-26 Georg-Johann Lay + + * config/avr/avr-protos.h (output_reload_inhi): Change prototype. + * config/avr/avr.md (adjust_len): Add "reload_in16" alternative. + (*reload_inhi): Use it. Adapt call to output_reload_inhi to new + prototype. + (*movhi): Split constraint alternative "r,rL" into "r,r" and "r,L". + * config/avr/avr.c: Rename output_reload_insisf_1 to + output_reload_in_const. + (avr_popcount_each_byte): Handle SFmode, too. + (output_reload_in_const): Change so it can handle HI loads, too. + Use avr_popcount_each_byte to work out if scratch register must be + created on the fly. + (output_reload_inhi): Rewrite using output_reload_in_const and... + (output_movhi): ...use it to print constants' loads. + (adjust_insn_length): New case ADJUST_LEN_RELOAD_IN16. Cleanup code. + +2011-09-25 David S. Miller + + * config/sparc/constraints.md (C, P, Z): New constraints for + const_doube, const_int, and const_vector "all ones" values. + Make unused constraint letters comment match reality. + * config/sparc/predicates.md (const_all_ones_operand, + register_or_zero_or_all_ones_operand): New predicates. + * config/sparc/sparc.c (sparc_expand_move): Allow all ones + as well as zero constants when VIS. + (sparc_legitimate_constant_p): Likewise. + * config/sparc/sparc.md (movsi_insn): Add fones alternative. + (movsf_insn): Likewise + (movdi_insn_sp64): Add fone alternative. + (movdf_insn_sp32_v9): Likewise. + (movdf_insn_sp64): Likewise. + + * configure.ac: Add feature check to make sure the assembler + supports the FMAF, HPC, and VIS 3.0 instructions found on + Niagara-3 and later cpus. + * configure: Rebuild. + * config.in: Likewise. + * config/sparc/sparc.opt: New option '-mfmaf'. + * config/sparc/sparc.md: Add float fused multiply-add patterns. + * config/sparc/sparc.h (AS_NIAGARA3_FLAG): New macro. + (ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC): Use it, as needed. + * config/sparc/sol2.h (ASM_CPU32_DEFAULT_SPEC, + ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC): Likewise. + * config/sparc/sparc.c (sparc_option_override): Turn MASK_FMAF on + by default for Niagara-3 and later. Turn it off if TARGET_FPU is + disabled. + (sparc_rtx_costs): Handle 'FMA'. + * doc/invoke.texi: Document -mfmaf. + +2011-09-25 Jakub Jelinek + + * tree-ssa-structalias.c (intra_create_variable_infos): Treat + TYPE_RESTRICT REFERENCE_TYPE parameters like restricted + DECL_BY_REFERENCE parameters. + +2011-09-25 Eric Botcazou + + * tree-eh.c (cleanup_empty_eh): Allow a call to __builtin_stack_restore + if there is no outgoing edge. + + * tree-scalar-evolution.c (simple_iv): Accept all kinds of pointer and + integral types. + +2011-09-25 Ira Rosen + + * tree-vect-slp.c (vect_slp_analyze_bb_1): Split out core part + of vect_analyze_bb here. + (vect_analyze_bb): Loop over vector sizes calling vect_analyze_bb_1. + +2011-09-25 Ira Rosen + + * tree-data-ref.c (dr_analyze_innermost): Add new argument. + Allow not simple iv if analyzing basic block. + (create_data_ref): Update call to dr_analyze_innermost. + (stmt_with_adjacent_zero_store_dr_p, ref_base_address): Likewise. + * tree-loop-distribution.c (generate_memset_zero): Likewise. + * tree-predcom.c (find_looparound_phi): Likewise. + * tree-data-ref.h (dr_analyze_innermost): Add new argument. + 2011-09-24 David S. Miller * config/sparc/sparc.h (FIRST_PSEUDO_REGISTER): Bump to 103.