1 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
3 * config/aarch64/aarch64-simd.md
4 (aarch64_vcond_internal<mode>): Handle unordered cases.
5 * config/aarch64/iterators.md (v_cmp_result): New.
7 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
8 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
10 * config/arm/marvell-pj4.md: New file.
11 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
12 * config/arm/arm.md (generic_sched): Add marvell_pj4.
13 (generic_vfp): Likewise.
14 * config/arm/arm-cores.def: Add marvell-pj4.
15 * config/arm/arm-tune.md: Regenerate.
16 * config/arm/arm-tables.opt: Regenerate.
17 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
18 * doc/invoke.texi: Document marvell-pj4.
20 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
22 * config/aarch64/arm_neon.h: Map scalar types to standard types.
24 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
29 * var-tracking.c (negative_power_of_two_p): New.
30 (global_get_addr_cache, local_get_addr_cache): New.
31 (get_addr_from_global_cache, get_addr_from_local_cache): New.
32 (vt_canonicalize_addr): Rewrite using the above. Adjust the
34 (vt_stack_offset_p): Remove.
35 (vt_canon_true_dep): Always canonicalize loc's address.
36 (clobber_overlapping_mems): Make sure we have a MEM.
37 (local_get_addr_clear_given_value): New.
38 (val_reset): Clear local cached entries.
39 (compute_bb_dataflow): Create and release the local cache.
40 Disable duplicate MEMs clobbering.
41 (emit_notes_in_bb): Clobber MEMs likewise.
42 (vt_emit_notes): Create and release the local cache.
43 (vt_initialize, vt_finalize): Create and release the global
45 * alias.c (rtx_equal_for_memref_p): Compare operands of
48 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
51 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
52 not found in the symtab.
54 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
57 PR rtl-optimization/55547
58 PR rtl-optimization/53827
61 * alias.c (offset_overlap_p): New, factored out of...
62 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
63 the conservative special case for symbolic constants. Don't
64 adjust zero sizes on alignment.
66 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
68 PR rtl-optimization/52573
69 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
70 REG_UNUSED for the same register.
73 2013-01-17 Richard Biener <rguenther@suse.de>
74 Marek Polacek <polacek@redhat.com>
76 PR rtl-optimization/55833
77 * loop-unswitch.c (unswitch_loops): Move loop verification...
78 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
79 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
80 Set it to true when we're removing a loop from hierarchy tree in
81 an irreducible region.
82 (fix_bb_placements): Adjust caller.
83 (fix_loop_placements): Likewise.
85 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
87 * config/avr/builtins.def (DEF_BUILTIN): Factor out
88 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
89 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
90 Remove ID. Adjust comments.
91 * config/avr/avr-c.c (avr_builtin_name): Remove.
92 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
93 * config/avr/avr.c (avr_tolower): New static function.
94 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
95 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
96 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
99 2013-01-17 Jan Hubicka <jh@suse.cz>
101 PR tree-optimization/55273
102 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
104 2012-01-17 Uros Bizjak <ubizjak@gmail.com>
107 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
108 store through atomic_store<mode>_1.
109 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
111 2013-01-17 Martin Jambor <mjambor@suse.cz>
113 PR tree-optimizations/55264
114 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
116 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
117 virtual methods before inlining is over.
118 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
120 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
123 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
125 PR rtl-optimization/56005
126 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
127 pending reads for prefetch.
129 2013-01-16 Ian Bolton <ian.bolton@arm.com>
131 * gcc/config/aarch64/aarch64.md
132 (*cstoresi_neg_uxtw): New pattern.
133 (*cmovsi_insn_uxtw): New pattern.
134 (*<optab>si3_uxtw): New pattern.
135 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
136 (*<optab>si3_insn_uxtw): New pattern.
137 (*bswapsi2_uxtw): New pattern.
139 2013-01-16 Richard Biener <rguenther@suse.de>
141 * tree-inline.c (tree_function_versioning): Remove set but
144 2013-01-16 Richard Biener <rguenther@suse.de>
146 PR tree-optimization/55964
147 * tree-flow.h (rename_variables_in_loop): Remove.
148 (rename_variables_in_bb): Likewise.
149 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
150 (copy_loop_before): Adjust and delete update-ssa status.
151 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
152 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
153 (rename_variables_in_loop): Remove.
154 (slpeel_update_phis_for_duplicate_loop): Likewise.
155 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
156 use available cfg machinery instead of duplicating it.
157 Update PHI nodes and perform poor-mans SSA update here.
158 (slpeel_tree_peel_loop_to_edge): Adjust.
160 2013-01-16 Richard Biener <rguenther@suse.de>
162 PR tree-optimization/54767
163 PR tree-optimization/53465
164 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
165 (vrp_visit_phi_node): For PHI arguments coming via backedges
166 drop all symbolical range information.
167 (execute_vrp): Compute backedges.
169 2013-01-16 Richard Biener <rguenther@suse.de>
171 * doc/install.texi: Update CLooG and ISL requirements to
174 2013-01-16 Christian Bruel <christian.bruel@st.com>
177 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
178 (broken_move): Handle UNSPECV_SP_SWITCH_B.
179 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
181 2013-01-16 DJ Delorie <dj@redhat.com>
183 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
184 (UNSPECV_SP_SWITCH_E): New.
185 (sp_switch_1): Change to an unspec.
186 (sp_switch_2): Change to an unspec. Don't use post-inc when we
189 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
191 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
192 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
193 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
194 (expand_mem_thread_fence): Ditto.
195 (expand_mem_signal_fence): Ditto.
196 (expand_atomic_load): Ditto.
197 (expand_atomic_store): Ditto.
199 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
201 PR rtl-optimization/55547
202 PR rtl-optimization/53827
205 * alias.c (memrefs_conflict_p): Set sizes to negative after
208 2013-01-15 Jakub Jelinek <jakub@redhat.com>
211 * function.c (thread_prologue_and_epilogue_insns): Always
212 add crtl->drap_reg to set_up_by_prologue.set, even if
213 stack_realign_drap is false.
215 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
217 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
218 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
219 *call): Fix indention.
221 2013-01-15 Tom de Vries <tom@codesourcery.com>
224 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
227 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
229 PR rtl-optimization/55153
230 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
232 2013-01-15 Martin Jambor <mjambor@suse.cz>
234 PR tree-optimization/55920
235 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
236 accesses as grp_to_be_debug_replaced.
238 2013-01-15 Jakub Jelinek <jakub@redhat.com>
240 PR tree-optimization/55920
241 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
242 there is non-useless type conversion needed from debug rhs to lhs,
243 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
245 2013-01-15 Joseph Myers <joseph@codesourcery.com>
246 Mikael Pettersson <mikpe@it.uu.se>
249 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
251 (ASM_OUTPUT_CASE_LABEL): Remove.
252 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
253 * final.c (shorten_branches): Update alignment of labels before
254 jump tables if CASE_VECTOR_SHORTEN_MODE.
256 2013-01-15 Richard Biener <rguenther@suse.de>
259 * system.h: Do not include gmp.h for building host tools.
261 2013-01-15 Richard Biener <rguenther@suse.de>
264 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
265 account for bitpos when computing alignment.
267 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
269 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
270 (ix86_target_macros_internal): Likewise.
272 * config/i386/i386.c (m_CORE2I7): Removed.
273 (m_CORE_HASWELL): New macro.
274 (m_CORE_ALL): Likewise.
275 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
276 (initial_ix86_arch_features): Likewise.
277 (processor_target_table): Initializations for Core avx2.
278 (cpu_names): New names "core-avx2".
279 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
280 PROCESSOR_CORE_HASWELL.
281 (ix86_issue_rate): New case.
282 (ia32_multipass_dfa_lookahead): Likewise.
283 (ix86_sched_init_global): Likewise.
285 * config/i386/i386.h (TARGET_HASWELL): New macro.
286 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
287 (processor_type): New PROCESSOR_HASWELL.
289 2013-01-15 Jakub Jelinek <jakub@redhat.com>
291 PR tree-optimization/55955
292 * tree-vect-loop.c (vectorizable_reduction): Give up early on
293 *SHIFT_EXPR and *ROTATE_EXPR codes.
295 PR tree-optimization/48766
296 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
297 -ftrapv disable -fwrapv.
299 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
302 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
303 etc. to 1 and not to __flash.
304 Use LL suffix for __INT24_MAX__ with -mint8.
305 Use ULL suffix for __UINT24_MAX__ with -mint8.
307 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
309 * config/avr/avr-arch.h
310 (struct base_arch_s): Use typedef avr_arch_t instead.
311 (struct arch_info_s): Use typedef avr_arch_info_t instead.
312 (struct mcu_type_s): Use typedef avr_mcu_t instead.
313 * config/avr/avr.c: Same.
314 * config/avr/avr-devices.c: Same.
315 * config/avr/driver-avr.c: Same.
316 * config/avr/gen-avr-mmcu-texi.c: Same.
317 * config/avr/avr-mcus.def: Adjust comment.
319 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
321 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
322 * config/aarch64/iterators.md (VALLDI): New.
324 2012-01-14 Uros Bizjak <ubizjak@gmail.com>
325 Andi Kleen <ak@linux.intel.com>
328 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
329 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
332 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
334 * config/avr/avr-stdint.h: Remove trailing blanks.
335 * config/avr/avr-log.h: Same.
336 * config/avr/avr-arch.h: Same.
337 * config/avr/avr-devices.c: Same.
338 * config/avr/avr-dimode.md: Same.
339 * config/avr/predicates.md: Same.
340 * config/avr/avr-c.c: Same. And fix typo.
342 * config/avr/avr-protos.h: Same. And:
343 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
344 (init_cumulative_args): Rename to avr_init_cumulative_args.
345 (expand_prologue): Rename to avr_expand_prologue.
346 (expand_epilogue): Rename to avr_expand_epilogue.
347 (adjust_insn_length): Rename to avr_adjust_insn_length.
348 (notice_update_cc): Rename to avr_notice_update_cc.
349 (final_prescan_insn): Rename to avr_final_prescan_insn.
350 * config/avr/avr.c: Same.
351 * config/avr/avr.h: Same.
352 * config/avr/avr.md: Remove trailing blanks.
353 (prologue): Use avr_expand_prologue.
354 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
356 2013-01-14 Richard Biener <rguenther@suse.de>
358 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
359 verify_location, collect_subblocks): New functions.
360 (verify_gimple_in_cfg): Verify that locations only reference
361 BLOCKs in the functions BLOCK tree.
363 2013-01-14 Richard Biener <rguenther@suse.de>
365 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
367 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
369 (insert_out_of_ssa_copy_on_edge): Likewise.
370 (rewrite_close_phi_out_of_ssa): Likewise.
371 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
373 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
374 propagated constants.
375 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
378 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
380 * config/avr/avr-modes.def: Add GPL copyright notice.
382 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
384 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
385 MEMMODEL_MASK to determine memory model.
386 (atomic_store<mode>): Ditto from operands[2].
387 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
389 2013-01-13 Jakub Jelinek <jakub@redhat.com>
392 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
393 (fold_gimple_assign): Don't call unshare_expr here.
394 (fold_ctor_reference): Call unshare_expr.
396 2013-01-13 Terry Guo <terry.guo@arm.com>
398 * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
399 * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
400 * gcc/gcc.c (multilib_reuse): New internal spec.
401 (set_multilib_dir): Also search multilib from multilib_reuse.
402 * gcc/genmultilib (tmpmultilib3): Refactor code.
403 (tmpmultilib4): Ditto.
404 (multilib_reuse): New multilib argument.
406 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
408 * Makefile.in: Update copyright.
410 2013-01-12 Tom de Vries <tom@codesourcery.com>
413 * calls.c (expand_call): Check if arg_nr is valid.
415 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
417 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
418 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
419 documentation. Add missing '__' in front of
420 __builtin_ia32_packssdw256.
422 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
425 * config/s390/s390.c (s390_preferred_reload_class): Do not return
426 NO_REGS for larl operands.
427 (s390_reload_larl_operand): Use s390_load_address instead of
430 2013-01-11 Richard Biener <rguenther@suse.de>
432 * tree-cfg.c (verify_node_sharing_1): Split out from ...
433 (verify_node_sharing): ... here.
434 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
436 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
438 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
439 Substitute TREECHECKING.
440 * configure: Regenerate.
441 * Makefile.in (TREECHECKING): New.
443 2012-01-11 Richard Guenther <rguenther@suse.de>
445 PR tree-optimization/44061
446 * tree-vrp.c (extract_range_basic): Compute zero as
447 value-range for __builtin_constant_p of function parameters.
449 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
451 Update copyright years.
453 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
455 PR rtl-optimization/55672
456 * lra-eliminations.c (mark_not_eliminable): Permit addition with
457 const to be eliminable.
459 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
461 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
462 * configure: Regenerate.
464 2013-01-10 Richard Biener <rguenther@suse.de>
466 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
468 2013-01-10 Richard Biener <rguenther@suse.de>
471 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
472 locations for virtual PHI arguments.
473 (rewrite_update_phi_arguments): Likewise.
475 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
477 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
480 2013-01-10 Jakub Jelinek <jakub@redhat.com>
482 PR tree-optimization/55921
483 * tree-complex.c (expand_complex_asm): New function.
484 (expand_complex_operations_1): Call it for GIMPLE_ASM.
486 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
489 * config/s390/s390.c (s390_symref_operand_p)
490 (s390_loadrelative_operand_p): Merge the two functions.
491 (s390_check_qrst_address, print_operand_address): Add parameters
492 to s390_loadrelative_operand_p invokation.
493 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
494 (s390_reload_larl_operand, s390_secondary_reload): Use
495 s390_loadrelative_operand_p instead of s390_symref_operand_p.
496 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
498 2013-01-09 Mike Stump <mikestump@comcast.net>
500 * dse.c (record_store): Remove unnecessary assert.
502 2013-01-09 Jan Hubicka <jh@suse.cz>
504 PR tree-optimization/55569
505 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
506 * cfgloop.h (scale_loop_profile): Likewise.
508 2013-01-09 Jan Hubicka <jh@suse.cz>
511 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
513 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
515 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
518 * expr.h (maybe_emit_group_store): Declare.
519 * expr.c (maybe_emit_group_store): New function.
520 * builtins.c (expand_builtin_int_roundingfn): Call it.
521 (expand_builtin_int_roundingfn_2): Likewise.
523 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
525 PR rtl-optimization/55829
526 * lra-constraints.c (match_reload): Add code for absent output.
527 (curr_insn_transform): Add code for reloads of matched inputs
530 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
532 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
533 attribute of movddup insn to DF.
534 (*vec_interleave_lowv2df): Ditto.
535 (vec_dupv2df): Ditto.
537 2013-01-09 Jan Hubicka <jh@suse.cz>
539 PR tree-optimiation/55875
540 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
541 EVERY_ITERATION parameter.
542 (number_of_iterations_exit): Check if exit is executed every iteration.
543 (idx_infer_loop_bounds): Similarly here.
544 (n_of_executions_at_most): Simplify
545 to only test for cases where statement is dominated by the
546 particular bound; handle correctly the "postdominance" test.
547 (scev_probably_wraps_p): Use max loop iterations info
548 as a global bound first.
550 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
551 Nick Clifton <nickc@redhat.com>
553 * config/v850/v850.md (cbranchsf4): New pattern.
554 (cstoresf4): New pattern.
555 (cbranchdf4): New pattern.
556 (cstoredf4): New pattern.
557 (movsicc): Disallow floating point comparisons.
558 (cmpsf_le_insn): Fix order of operators.
559 (cmpsf_lt_insn): Likewise.
560 (cmpsf_eq_insn): Likewise.
561 (cmpdf_le_insn): Likewise.
562 (cmpdf_lt_insn): Likewise.
563 (cmpdf_eq_insn): Likewise.
564 (cmpsf_ge_insn): Use LE comparison.
565 (cmpdf_ge_insn): Likewise.
566 (cmpsf_gt_insn): Use LT comparison.
567 (cmpdf_gt_insn): Likewise.
568 (cmpsf_ne_insn): Delete pattern.
569 (cmpdf_ne_insn): Delete pattern.
570 * config/v850/v850.c (v850_gen_float_compare): Use
571 gen_cmpdf_eq_insn for NE comparison.
572 (v850_float_z_comparison_operator)
573 (v850_float_nz_comparison_operator): Move from here ...
574 * config/v850/predicates.md: ... to here. Move GT and GE
575 comparisons into v850_float_z_comparison_operator.
576 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
578 (v850_float_nz_comparison_operator): Likewise.
580 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
582 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
583 with calls to gen_insvsi/gen_insvdi.
585 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
587 * config/i386/i386.c (initial_ix86_tune_features): Set up
588 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
590 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
591 Jakub Jelinek <jakub@redhat.com>
593 PR tree-optimization/48189
594 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
595 If nitercst is 0, don't predict the exit edge.
597 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
599 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
600 in asm_fprintf with reg_names.
601 (aarch64_print_operand_address): Likewise.
602 (aarch64_return_addr): Likewise.
603 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
605 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
607 * config/pa/pa.h (VAL_U6_BITS_P): Define.
608 (INT_U6_BITS): Likewise.
609 * config/pa/predicates.md (uint6_operand): New predicate.
610 (shift5_operand, shift6_operand): Likewise.
611 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
613 (lshrdi3): Use shift6_operand.
614 (shrpsi4, shrpdi4): New insn patterns.
615 (extzv): Delete expander.
616 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
617 predicates in unamed zero extract patterns. Tighten common constraint.
618 (extv): Delete expander.
619 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
620 predicates in unamed sign extract patterns. Tighten common constraint.
621 (insv): Delete expander.
622 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
623 predicates in unamed insert patterns. Tighten common constraint.
624 Change uint32_operand predicate to uint6_operand predicate in unamed
625 DImode pattern to insert constant values of type 1...1xxxx.
627 2013-01-04 Jan Hubicka <jh@suse.cz>
629 PR tree-optimization/55823
630 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
633 2012-01-08 Jakub Jelinek <jakub@redhat.com>
634 Uros Bizjak <ubizjak@gmail.com>
636 PR rtl-optimization/55845
637 * df-problems.c (can_move_insns_across): Stop scanning at
638 volatile_insn_p source instruction or give up if
639 across_from .. across_to range contains any volatile_insn_p
642 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
644 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
645 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
647 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
648 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
650 2013-01-08 Jakub Jelinek <jakub@redhat.com>
653 * asan.c (asan_clear_shadow): New function.
654 (asan_emit_stack_protection): Use it.
656 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
658 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
659 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
660 with tab instead of space.
662 2013-01-08 Nick Clifton <nickc@redhat.com>
664 * config/rl78/rl78.c (rl78_expand_prologue): Always select
665 register bank 0 at the start of an interrupt handler.
666 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
669 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
671 * config/aarch64/aarch64-simd.md
672 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
673 (aarch64_simd_bsl): Likewise.
674 (aarch64_vcond_internal<mode>): Likewise.
675 (vcond<mode><mode>): Likewise.
676 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
677 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
679 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
681 * config/aarch64/aarch64-builtins.c
682 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
684 2013-01-08 Martin Jambor <mjambor@suse.cz>
687 * tree-sra.c (analyze_access_subtree): Return true also after
688 potentially creating a debug-only replacement.
690 2013-01-08 Jakub Jelinek <jakub@redhat.com>
693 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
695 PR tree-optimization/54120
696 * tree-vrp.c (range_fits_type_p): Don't allow
697 src_precision < precision from signed vr to unsigned_p
698 if vr->min or vr->max is negative.
699 (simplify_float_conversion_using_ranges): Test can_float_p
700 against CODE_FOR_nothing.
702 2013-01-08 Jakub Jelinek <jakub@redhat.com>
703 Richard Biener <rguenther@suse.de>
706 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
707 types instead of just INTEGER_TYPE types.
709 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
711 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
714 2013-01-07 Steve Ellcey <sellcey@mips.com>
717 * config/mips/mips.opt: Change mad to mmad to match documentation.
719 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
722 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
725 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
728 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
729 (avr_addrspace_t): Add .section_name field.
730 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
732 (avr_addrspace): Same. Initialize .section_name. Remove last
733 NULL entry. Put __memx into .progmemx.data.
734 (progmem_section_prefix): Remove.
735 (avr_asm_init_sections): No need to initialize progmem_section.
736 (avr_asm_named_section): Use avr_addrspace[].section_name to get
738 (avr_asm_select_section): Ditto. And use get_unnamed_section to
739 retrieve the progmem section.
740 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
741 boundary to run over avr_addrspace[].
742 (avr_register_target_pragmas): Ditto.
744 2013-01-06 Jakub Jelinek <jakub@redhat.com>
746 * varasm.c (output_constant_def_contents): For asan_protect_global
747 protected strings, adjust DECL_ALIGN if needed, before testing for
749 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
750 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
752 (output_object_block): For asan protected decls, emit asan padding
753 after their contents.
754 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
755 (asan_finish_file): Test it here instead.
757 2013-01-07 Nick Clifton <nickc@redhat.com>
758 Matthias Klose <doko@debian.org>
759 Doug Kwan <dougkwan@google.com>
760 H.J. Lu <hongjiu.lu@intel.com>
763 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
765 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
767 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
769 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
771 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
773 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
776 * doc/install.texi (Cross-Compiler-Specific Options): Document
779 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
781 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
782 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
783 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
784 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
785 vqmovun_high_s64): Fix source operand number and update copyright.
787 2013-01-07 Richard Biener <rguenther@suse.de>
790 * gimple.h (gimple_call_builtin_p): New overload.
791 * gimple.c (validate_call): New function.
792 (gimple_call_builtin_p): Likewise.
793 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
794 Use gimple_call_builtin_p.
795 (find_func_clobbers): Likewise.
796 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
797 (strlen_optimize_stmt): Likewise.
799 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
801 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
802 (vld1q_dup_*): Likewise.
805 (vld1_lane_*): Likewise.
806 (vld1q_lane_*): Likewise.
808 2013-01-07 Richard Biener <rguenther@suse.de>
810 * lto-streamer.h (LTO_minor_version): Bump to 2.
812 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
814 * config/aarch64/aarch64-protos.h
815 (aarch64_const_double_zero_rtx_p): Rename to...
816 (aarch64_float_const_zero_rtx_p): ...this.
817 (aarch64_float_const_representable_p): New.
818 (aarch64_output_simd_mov_immediate): Likewise.
819 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
821 * config/aarch64/aarch64.c
822 (aarch64_const_double_zero_rtx_p): Rename to...
823 (aarch64_float_const_zero_rtx_p): ...this.
824 (aarch64_print_operand): Allow printing of new constants.
825 (aarch64_valid_floating_const): New.
826 (aarch64_legitimate_constant_p): Check for valid floating-point
828 (aarch64_simd_valid_immediate): Likewise.
829 (aarch64_vect_float_const_representable_p): New.
830 (aarch64_float_const_representable_p): Likewise.
831 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
832 (aarch64_output_simd_mov_immediate): New.
833 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
834 (*movdf_aarch64): Likewise.
835 * config/aarch64/constraints.md (Ufc): New.
836 (Y): call aarch64_float_const_zero_rtx.
837 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
839 2013-01-07 Richard Biener <rguenther@suse.de>
841 PR tree-optimization/55888
842 PR tree-optimization/55862
843 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
844 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
845 not if it is contained therein.
847 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
849 * config/avr/t-avr: Typo.
851 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
854 * config/avr/t-avr: Don't automatically rebuild
855 $(srcdir)/config/avr/t-multilib
856 $(srcdir)/config/avr/avr-tables.opt
857 $(srcdir)/doc/avr-mmcu.texi
858 (avr-mcus): New phony target to build them on request.
859 (s-avr-mlib, s-avr-mmcu-texi): Remove.
860 * avr/avr-mcus.def: Adjust comments.
862 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
864 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
866 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
868 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
870 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
872 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
874 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
876 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
877 to generate profiling.
878 * config/rs6000/aix64.h (LIB_SPEC): Same.
880 2013-01-04 Andrew Pinski <apinski@cavium.com>
882 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
884 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
886 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
888 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
890 (ix86_expand_move): Ditto.
891 (ix86_zero_extend_to_Pmode): Ditto.
892 (ix86_expand_call): Ditto.
893 (ix86_expand_special_args_builtin): Ditto.
894 (ix86_expand_builtin): Ditto.
896 2013-01-04 Richard Biener <rguenther@suse.de>
898 PR tree-optimization/55862
899 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
900 translating them through PHI nodes.
902 2013-01-04 Martin Jambor <mjambor@suse.cz>
904 PR tree-optimization/55755
905 * tree-sra.c (sra_modify_assign): Do not check that an access has no
906 children when trying to avoid producing a VIEW_CONVERT_EXPR.
908 2013-01-04 Marek Polacek <polacek@redhat.com>
911 * opts.c (default_options_optimization): Clarify error message.
913 2013-01-04 Richard Biener <rguenther@suse.de>
916 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
919 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
922 * config/pa/pa.md (movsi): Revert previous change.
923 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
926 2013-01-03 Richard Henderson <rth@redhat.com>
928 * config/i386/i386.c (ix86_expand_move): Always assign to op1
929 after eliminating TLS symbols.
931 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
934 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
935 * graphite-poly.c (debug_gmp_value): Likewise.
937 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
940 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
941 selected code model, define __code_mode_small__, __code_model_medium__,
942 __code_model_large__, __code_model_32__ or __code_model_kernel__.
943 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
944 xchg temporary register with %k. Declare temporary register as
946 [__x86_64__]: For medium and large code models, preserve %rbx register.
948 2013-01-03 Richard Biener <rguenther@suse.de>
950 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
951 (dump_subscript): Adjust.
952 (finalize_ddr_dependent): Do not dump redundant info.
953 (analyze_siv_subscript): Adjust.
954 (subscript_dependence_tester): Likewise.
955 (compute_affine_dependence): Likewise.
957 2013-01-03 Richard Biener <rguenther@suse.de>
960 2013-01-03 Richard Biener <rguenther@suse.de>
962 PR tree-optimization/55857
963 * tree-vect-stmts.c (vectorizable_load): Do not setup
964 re-alignment for invariant loads.
966 2013-01-02 Richard Biener <rguenther@suse.de>
968 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
969 invariant load do not generate a vector load from the scalar location.
971 2013-01-03 Richard Biener <rguenther@suse.de>
973 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
975 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
976 not build INDIRECT_REFs, call get_name once only.
977 (vect_create_data_ref_ptr): Likewise. Dump base object kind
978 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
980 2013-01-03 Richard Biener <rguenther@suse.de>
982 PR tree-optimization/55857
983 * tree-vect-stmts.c (vectorizable_load): Do not setup
984 re-alignment for invariant loads.
986 2013-01-03 Richard Biener <rguenther@suse.de>
989 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
990 prefer a built-in decl.
992 2013-01-03 Jakub Jelinek <jakub@redhat.com>
994 * gcc.c (process_command): Update copyright notice dates.
995 * gcov.c (print_version): Likewise.
996 * gcov-dump.c (print_version): Likewise.
998 PR rtl-optimization/55838
999 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1000 iv0.step, iv1.step and step.
1002 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1003 Marc Glisse <marc.glisse@inria.fr>
1005 PR tree-optimization/55832
1006 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1007 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1008 integer_{one,zero}_node.
1010 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1013 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1014 * var-tracking.c (reverse_op): Don't add reverse ops to
1015 VALUEs that have already
1016 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1018 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
1020 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1022 2013-01-02 Teresa Johnson <tejohnson@google.com>
1024 * dumpfile.c (dump_loc): Print filename with location.
1025 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1026 new location_t parameter to emit complete unroll message with
1028 (canonicalize_loop_induction_variables): Compute loops location
1029 and pass to try_unroll_loop_completely.
1030 * loop-unroll.c (report_unroll_peel): New function.
1031 (peel_loops_completely): Use new dump format with location
1032 for main dumpfile message, and invoke report_unroll_peel on success.
1033 (decide_unrolling_and_peeling): Ditto.
1034 (decide_peel_once_rolling): Remove old dumpfile message subsumed
1035 by report_unroll_peel.
1036 (decide_peel_completely): Ditto.
1037 (decide_unroll_constant_iterations): Ditto.
1038 (decide_unroll_runtime_iterations): Ditto.
1039 (decide_peel_simple): Ditto.
1040 (decide_unroll_stupid): Ditto.
1041 * cfgloop.c (get_loop_location): New function.
1042 * cfgloop.h (get_loop_location): Declare.
1044 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1046 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1049 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1052 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1053 BLKmode objects when EXPAND_MEMORY is specified.
1055 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1057 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1059 (fold_builtin_cpu): Do not share cpu model decls across statements.
1061 2013-01-02 Jason Merrill <jason@redhat.com>
1064 * tree.c (build_array_type_1): Revert earlier change.
1066 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
1068 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1070 * config/aarch64/aarch64-tune.md: Re-generate.
1072 2013-01-02 Richard Biener <rguenther@suse.de>
1074 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1075 invariant load do not generate a vector load from the scalar location.
1077 2013-01-02 Richard Biener <rguenther@suse.de>
1080 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1081 * configure: Regenerate.
1083 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1085 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1086 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1087 (expand_builtin_int_roundingfn_2): Keep the original target around
1088 for the fallback case.
1090 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1092 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1093 to be clear for sign changes.
1095 2013-01-01 Jan Hubicka <jh@suse.cz>
1097 * ipa-inline-analysis.c: Fix formatting.
1099 2013-01-01 Jakub Jelinek <jakub@redhat.com>
1101 PR tree-optimization/55831
1102 * tree-vect-loop.c (get_initial_def_for_induction): Use
1103 gsi_after_labels instead of gsi_start_bb.
1105 Copyright (C) 2013 Free Software Foundation, Inc.
1107 Copying and distribution of this file, with or without modification,
1108 are permitted in any medium without royalty provided the copyright
1109 notice and this notice are preserved.