1 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
3 * doc/extend.texi (Example of asm with clobbered asm reg): Fix
4 missing ':' in asm example.
6 2013-01-25 Tejas Belagod <tejas.belagod@arm.com>
8 * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
9 entries into lane and laneq entries.
10 * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): Remove
12 (aarch64_sq<r>dmulh_laneq<mode>): New.
13 (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
15 * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
16 builtin implementations to relfect changes in RTL in aarch64-simd.md.
17 * config/aarch64/iterators.md (VCOND): New.
20 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
23 * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
24 Add NULL LIBNAME argument to existing definitions.
25 (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
26 * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
27 * config/avr/avr.c (DEF_BUILTIN): Same.
28 (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
29 (avr_expand_builtin): Expand to a vanilla call if a libgcc
30 implementation is available (DECL_ASSEMBLER_NAME is set).
31 (avr_fold_absfx): New static function.
32 (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
33 AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
34 AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
36 * config/avr/stdfix.h (abshr, absr, abslr, absllr)
37 (abshk, absk, abslk, absllk): Provide as static inline functions.
39 2013-01-25 Marek Polacek <polacek@redhat.com>
41 PR tree-optimization/56035
42 * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
44 2012-01-24 Uros Bizjak <ubizjak@gmail.com>
46 * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
47 (*movtf_internal_rex64): Add (!o,C) alternative
48 (*movxf_internal_rex64): Ditto.
49 (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
51 2013-01-24 Shenghou Ma <minux.ma@gmail.com>
53 * doc/invoke.texi: fix typo.
54 * doc/objc.texi: fix typo.
56 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com>
58 * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
59 for the first two alternatives.
61 2013-01-24 Diego Novillo <dnovillo@google.com>
63 * Makefile.in (GGC): Remove. Replace all instances with
66 * configure.ac: Remove option --with-gc.
67 * configure: Re-generate.
68 * doc/install.texi: Remove documentation for --with-gc.
69 * gengtype.c (write_enum_defn): Remove. Update all users.
70 (write_Types_process_field): Remove generation of gt_e_* argument.
71 (output_type_enum): Remove. Update all users.
72 (write_enum_defn): Remove. Update all users.
73 (enum alloc_zone): Remove. Update all users.
74 (write_splay_tree_allocator_def): Remove generation of gt_e_*
76 * ggc-common.c (ggc_splay_alloc): Remove first argument.
78 (struct ptr_data): Remove field TYPE. Update all users.
79 (gt_pch_note_object): Remove argument TYPE. Update all
81 * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
83 * ggc-none.c (ggc_alloc_typed_stat): Remove.
84 (struct alloc_zone): Remove.
85 (ggc_internal_alloc_zone_stat): Remove.
86 (ggc_internal_cleared_alloc_zone_stat): Remove.
87 * ggc-page.c (ggc_alloc_typed_stat): Remove.
88 (ggc_pch_count_object): Remove last argument. Update all
90 (ggc_pch_alloc_object): Remove last argument. Update all
92 (struct alloc_zone): Remove.
94 * ggc.h (gt_pch_note_object): Remove last argument. Update
96 (struct alloc_zone): Remove.
97 (ggc_alloc_typed_stat): Remove.
98 (ggc_alloc_typed): Remove.
99 (ggc_splay_alloc): Remove first argument.
100 (rtl_zone): Remove. Update all users.
101 (tree_zone): Remove. Update all users.
102 (tree_id_zone): Remove. Update all users.
103 (ggc_internal_zone_alloc_stat): Remove. Update all users.
104 (ggc_internal_zone_cleared_alloc_stat): Remove. Update all
106 (ggc_internal_zone_vec_alloc_stat): Remove. Update all users.
107 * tree-ssanames.c: Remove references to zone allocator in
110 2013-01-24 Georg-Johann Lay <avr@gjlay.de>
112 * config/avr/avr.c (avr_out_fract): Make register numbers that
113 might be outside of source operand signed.
115 2013-01-24 Uros Bizjak <ubizjak@gmail.com>
117 * config/i386/constraints.md (Yf): New constraint.
118 * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
119 of f constraint to conditionaly disable x87 register preferences.
120 (*movdf_internal): Ditto.
121 (*movsf_internal): Ditto.
123 2013-01-24 Steven Bosscher <steven@gcc.gnu.org>
126 * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
127 that have operands with impossible constraints.
128 Add a FIXME for a speed-up opportunity.
129 * lra-constraints.c (process_alt_operands): Verify that a class
130 selected from constraints on asms is valid for the operand mode.
131 (curr_insn_transform): Remove incorrect comment.
133 2013-01-23 David Edelsohn <dje.gcc@gmail.com>
135 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
136 TOC operand is a valid symbol ref in the constant pool.
138 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com>
140 * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
142 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
145 * config/avr/stdfix.h: New file.
146 * t-avr (stdfix-gcc.h): New rule to build it.
147 (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
149 2013-01-23 Kostya Serebryany <kcc@google.com>
151 * config/darwin.h: remove dependency on CoreFoundation (asan on Mac OS).
153 2013-01-23 Jakub Jelinek <jakub@redhat.com>
156 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
157 instead of cmpdi_operand for first comparison operand.
158 Don't assert that comparison operands aren't both constants.
160 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
162 * doc/install.texi (Downloading the Source): Update references to
163 downloading separate components.
165 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
167 * doc/extend.texi (__int128): Improve grammar.
169 2013-01-22 Uros Bizjak <ubizjak@gmail.com>
172 * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
173 alternative to (o,r).
174 (*movdi_internal_rex64): Remove (!o,n) alternative.
175 (DImode immediate->memory splitter): Remove.
176 (DImode immediate->memory peephole2): Remove.
177 (movtf): Enable for TARGET_64BIT || TARGET_SSE.
178 (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
179 alternative to (!o,*r).
180 (*movtf_internal_sse): New pattern.
181 (*movxf_internal_rex64): New pattern.
182 (*movxf_internal): Disable for TARGET_64BIT.
183 (*movdf_internal_rex64): Remove (!o,F) alternative.
185 2013-01-22 Jakub Jelinek <jakub@redhat.com>
188 * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
189 isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
190 * tree-vect-loop-manip.c (find_loop_location): Also ignore
191 stmt locations where LOCATION_LOCUS of the stmt location is
192 UNKNOWN_LOCATION or BUILTINS_LOCATION.
195 * config/i386/i386.md (UNSPEC_STOS): New.
196 (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
197 *strsetqi_1): Add UNSPEC_STOS.
199 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com>
202 * doc/invoke.texi: Remove left over -Wsynth example.
204 2013-01-21 Jakub Jelinek <jakub@redhat.com>
206 PR tree-optimization/56051
207 * fold-const.c (fold_binary_loc): Don't fold
208 X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
209 a narrowing conversion, or widening conversion from signed
212 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
214 PR rtl-optimization/56023
215 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
216 dependent on debug instruction.
218 2013-01-21 Martin Jambor <mjambor@suse.cz>
221 * function.c (allocate_struct_function): Call
222 invoke_set_current_function_hook earlier.
224 2013-01-21 Jakub Jelinek <jakub@redhat.com>
226 * reload1.c (init_reload): Only initialize reload_obstack
227 during the first call.
229 2013-01-21 Marek Polacek <polacek@redhat.com>
231 * cfgloop.c (verify_loop_structure): Fix up grammar.
233 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com>
235 * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
236 pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
238 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
241 * config/arm/marvell-pj4.md: Update copyright year.
242 Fix up use of alu to alu_reg and simple_alu_imm.
244 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
246 * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
248 2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
251 * lra-constraints.c (curr_insn_transform): Don't reuse original
252 insn for secondary memory move when memory mode should be different.
254 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
256 * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
257 atomic_storedi_1): New patterns.
259 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
261 btver2 pipeline descriptions.
262 * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
264 * config/i386/i386.md (btver2_decode): New type attributes.
265 * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
267 * config/i386/btver2.md: New file describing btver2 pipelines.
269 2013-01-19 Andrew Pinski <apinski@cavium.com>
271 PR tree-optimization/52631
272 * tree-ssa-sccvn (visit_use): Before looking up the original
273 statement, try looking up the simplified expression.
275 2013-01-19 Anthony Green <green@moxielogic.com>
277 * config/moxie/moxie.c (moxie_expand_prologue): Set
278 current_function_static_stack_size.
280 2013-01-18 Jakub Jelinek <jakub@redhat.com>
282 PR tree-optimization/56029
283 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
284 gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
286 2013-01-18 Sharad Singhai <singhai@google.com>
288 PR tree-optimization/55995
289 * dumpfile.c (dump_loc): Print location only if available.
290 * tree-vectorizer.c (increase_alignment): Intialize vect_location.
292 2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
295 * lra-constraints.c (curr_insn_transform): Reuse original insn for
296 secondary memory move.
297 (inherit_reload_reg): Use rclass instead of cl for
298 check_secondary_memory_needed_p.
300 2013-01-18 Jakub Jelinek <jakub@redhat.com>
303 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
304 the case where writing real complex part of target modifies op1.
306 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
308 * config/aarch64/aarch64-simd.md
309 (aarch64_vcond_internal<mode>): Handle unordered cases.
310 * config/aarch64/iterators.md (v_cmp_result): New.
312 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
313 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
315 * config/arm/marvell-pj4.md: New file.
316 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
317 * config/arm/arm.md (generic_sched): Add marvell_pj4.
318 (generic_vfp): Likewise.
319 * config/arm/arm-cores.def: Add marvell-pj4.
320 * config/arm/arm-tune.md: Regenerate.
321 * config/arm/arm-tables.opt: Regenerate.
322 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
323 * doc/invoke.texi: Document marvell-pj4.
325 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
327 * config/aarch64/arm_neon.h: Map scalar types to standard types.
329 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
334 * var-tracking.c (negative_power_of_two_p): New.
335 (global_get_addr_cache, local_get_addr_cache): New.
336 (get_addr_from_global_cache, get_addr_from_local_cache): New.
337 (vt_canonicalize_addr): Rewrite using the above. Adjust the
339 (vt_stack_offset_p): Remove.
340 (vt_canon_true_dep): Always canonicalize loc's address.
341 (clobber_overlapping_mems): Make sure we have a MEM.
342 (local_get_addr_clear_given_value): New.
343 (val_reset): Clear local cached entries.
344 (compute_bb_dataflow): Create and release the local cache.
345 Disable duplicate MEMs clobbering.
346 (emit_notes_in_bb): Clobber MEMs likewise.
347 (vt_emit_notes): Create and release the local cache.
348 (vt_initialize, vt_finalize): Create and release the global
350 * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
352 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
355 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
356 not found in the symtab.
358 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
361 PR rtl-optimization/55547
362 PR rtl-optimization/53827
365 * alias.c (offset_overlap_p): New, factored out of...
366 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
367 the conservative special case for symbolic constants. Don't
368 adjust zero sizes on alignment.
370 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
372 PR rtl-optimization/52573
373 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
374 REG_UNUSED for the same register.
376 2013-01-17 Richard Biener <rguenther@suse.de>
377 Marek Polacek <polacek@redhat.com>
379 PR rtl-optimization/55833
380 * loop-unswitch.c (unswitch_loops): Move loop verification...
381 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
382 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
383 Set it to true when we're removing a loop from hierarchy tree in
384 an irreducible region.
385 (fix_bb_placements): Adjust caller.
386 (fix_loop_placements): Likewise.
388 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
390 * config/avr/builtins.def (DEF_BUILTIN): Factor out
391 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
392 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
393 Remove ID. Adjust comments.
394 * config/avr/avr-c.c (avr_builtin_name): Remove.
395 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
396 * config/avr/avr.c (avr_tolower): New static function.
397 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
398 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
399 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
402 2013-01-17 Jan Hubicka <jh@suse.cz>
404 PR tree-optimization/55273
405 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
407 2013-01-17 Uros Bizjak <ubizjak@gmail.com>
410 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
411 store through atomic_store<mode>_1.
412 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
414 2013-01-17 Martin Jambor <mjambor@suse.cz>
416 PR tree-optimizations/55264
417 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
419 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
420 virtual methods before inlining is over.
421 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
423 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
426 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
428 PR rtl-optimization/56005
429 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
430 pending reads for prefetch.
432 2013-01-16 Ian Bolton <ian.bolton@arm.com>
434 * config/aarch64/aarch64.md
435 (*cstoresi_neg_uxtw): New pattern.
436 (*cmovsi_insn_uxtw): New pattern.
437 (*<optab>si3_uxtw): New pattern.
438 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
439 (*<optab>si3_insn_uxtw): New pattern.
440 (*bswapsi2_uxtw): New pattern.
442 2013-01-16 Richard Biener <rguenther@suse.de>
444 * tree-inline.c (tree_function_versioning): Remove set but
447 2013-01-16 Richard Biener <rguenther@suse.de>
449 PR tree-optimization/55964
450 * tree-flow.h (rename_variables_in_loop): Remove.
451 (rename_variables_in_bb): Likewise.
452 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
453 (copy_loop_before): Adjust and delete update-ssa status.
454 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
455 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
456 (rename_variables_in_loop): Remove.
457 (slpeel_update_phis_for_duplicate_loop): Likewise.
458 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
459 use available cfg machinery instead of duplicating it.
460 Update PHI nodes and perform poor-mans SSA update here.
461 (slpeel_tree_peel_loop_to_edge): Adjust.
463 2013-01-16 Richard Biener <rguenther@suse.de>
465 PR tree-optimization/54767
466 PR tree-optimization/53465
467 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
468 (vrp_visit_phi_node): For PHI arguments coming via backedges
469 drop all symbolical range information.
470 (execute_vrp): Compute backedges.
472 2013-01-16 Richard Biener <rguenther@suse.de>
474 * doc/install.texi: Update CLooG and ISL requirements to
477 2013-01-16 Christian Bruel <christian.bruel@st.com>
480 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
481 (broken_move): Handle UNSPECV_SP_SWITCH_B.
482 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
484 2013-01-16 DJ Delorie <dj@redhat.com>
486 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
487 (UNSPECV_SP_SWITCH_E): New.
488 (sp_switch_1): Change to an unspec.
489 (sp_switch_2): Change to an unspec. Don't use post-inc when we
492 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
494 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
495 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
496 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
497 (expand_mem_thread_fence): Ditto.
498 (expand_mem_signal_fence): Ditto.
499 (expand_atomic_load): Ditto.
500 (expand_atomic_store): Ditto.
502 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
504 PR rtl-optimization/55547
505 PR rtl-optimization/53827
508 * alias.c (memrefs_conflict_p): Set sizes to negative after
511 2013-01-15 Jakub Jelinek <jakub@redhat.com>
514 * function.c (thread_prologue_and_epilogue_insns): Always
515 add crtl->drap_reg to set_up_by_prologue.set, even if
516 stack_realign_drap is false.
518 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
520 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
521 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
522 *call): Fix indention.
524 2013-01-15 Tom de Vries <tom@codesourcery.com>
527 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
530 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
532 PR rtl-optimization/55153
533 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
535 2013-01-15 Martin Jambor <mjambor@suse.cz>
537 PR tree-optimization/55920
538 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
539 accesses as grp_to_be_debug_replaced.
541 2013-01-15 Jakub Jelinek <jakub@redhat.com>
543 PR tree-optimization/55920
544 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
545 there is non-useless type conversion needed from debug rhs to lhs,
546 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
548 2013-01-15 Joseph Myers <joseph@codesourcery.com>
549 Mikael Pettersson <mikpe@it.uu.se>
552 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
554 (ASM_OUTPUT_CASE_LABEL): Remove.
555 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
556 * final.c (shorten_branches): Update alignment of labels before
557 jump tables if CASE_VECTOR_SHORTEN_MODE.
559 2013-01-15 Richard Biener <rguenther@suse.de>
562 * system.h: Do not include gmp.h for building host tools.
564 2013-01-15 Richard Biener <rguenther@suse.de>
567 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
568 account for bitpos when computing alignment.
570 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
572 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
573 (ix86_target_macros_internal): Likewise.
575 * config/i386/i386.c (m_CORE2I7): Removed.
576 (m_CORE_HASWELL): New macro.
577 (m_CORE_ALL): Likewise.
578 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
579 (initial_ix86_arch_features): Likewise.
580 (processor_target_table): Initializations for Core avx2.
581 (cpu_names): New names "core-avx2".
582 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
583 PROCESSOR_CORE_HASWELL.
584 (ix86_issue_rate): New case.
585 (ia32_multipass_dfa_lookahead): Likewise.
586 (ix86_sched_init_global): Likewise.
588 * config/i386/i386.h (TARGET_HASWELL): New macro.
589 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
590 (processor_type): New PROCESSOR_HASWELL.
592 2013-01-15 Jakub Jelinek <jakub@redhat.com>
594 PR tree-optimization/55955
595 * tree-vect-loop.c (vectorizable_reduction): Give up early on
596 *SHIFT_EXPR and *ROTATE_EXPR codes.
598 PR tree-optimization/48766
599 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
600 -ftrapv disable -fwrapv.
602 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
605 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
606 etc. to 1 and not to __flash.
607 Use LL suffix for __INT24_MAX__ with -mint8.
608 Use ULL suffix for __UINT24_MAX__ with -mint8.
610 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
612 * config/avr/avr-arch.h
613 (struct base_arch_s): Use typedef avr_arch_t instead.
614 (struct arch_info_s): Use typedef avr_arch_info_t instead.
615 (struct mcu_type_s): Use typedef avr_mcu_t instead.
616 * config/avr/avr.c: Same.
617 * config/avr/avr-devices.c: Same.
618 * config/avr/driver-avr.c: Same.
619 * config/avr/gen-avr-mmcu-texi.c: Same.
620 * config/avr/avr-mcus.def: Adjust comment.
622 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
624 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
625 * config/aarch64/iterators.md (VALLDI): New.
627 2013-01-14 Uros Bizjak <ubizjak@gmail.com>
628 Andi Kleen <ak@linux.intel.com>
631 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
632 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
635 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
637 * config/avr/avr-stdint.h: Remove trailing blanks.
638 * config/avr/avr-log.h: Same.
639 * config/avr/avr-arch.h: Same.
640 * config/avr/avr-devices.c: Same.
641 * config/avr/avr-dimode.md: Same.
642 * config/avr/predicates.md: Same.
643 * config/avr/avr-c.c: Same. And fix typo.
645 * config/avr/avr-protos.h: Same. And:
646 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
647 (init_cumulative_args): Rename to avr_init_cumulative_args.
648 (expand_prologue): Rename to avr_expand_prologue.
649 (expand_epilogue): Rename to avr_expand_epilogue.
650 (adjust_insn_length): Rename to avr_adjust_insn_length.
651 (notice_update_cc): Rename to avr_notice_update_cc.
652 (final_prescan_insn): Rename to avr_final_prescan_insn.
653 * config/avr/avr.c: Same.
654 * config/avr/avr.h: Same.
655 * config/avr/avr.md: Remove trailing blanks.
656 (prologue): Use avr_expand_prologue.
657 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
659 2013-01-14 Richard Biener <rguenther@suse.de>
661 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
662 verify_location, collect_subblocks): New functions.
663 (verify_gimple_in_cfg): Verify that locations only reference
664 BLOCKs in the functions BLOCK tree.
666 2013-01-14 Richard Biener <rguenther@suse.de>
668 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
670 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
672 (insert_out_of_ssa_copy_on_edge): Likewise.
673 (rewrite_close_phi_out_of_ssa): Likewise.
674 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
676 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
677 propagated constants.
678 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
681 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
683 * config/avr/avr-modes.def: Add GPL copyright notice.
685 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
687 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
688 MEMMODEL_MASK to determine memory model.
689 (atomic_store<mode>): Ditto from operands[2].
690 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
692 2013-01-13 Jakub Jelinek <jakub@redhat.com>
695 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
696 (fold_gimple_assign): Don't call unshare_expr here.
697 (fold_ctor_reference): Call unshare_expr.
699 2013-01-13 Terry Guo <terry.guo@arm.com>
701 * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
702 * doc/fragments.texi: Document MULTILIB_REUSE.
703 * gcc.c (multilib_reuse): New internal spec.
704 (set_multilib_dir): Also search multilib from multilib_reuse.
705 * genmultilib (tmpmultilib3): Refactor code.
706 (tmpmultilib4): Ditto.
707 (multilib_reuse): New multilib argument.
709 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
711 * Makefile.in: Update copyright.
713 2013-01-12 Tom de Vries <tom@codesourcery.com>
716 * calls.c (expand_call): Check if arg_nr is valid.
718 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
720 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
721 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
722 documentation. Add missing '__' in front of
723 __builtin_ia32_packssdw256.
725 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
728 * config/s390/s390.c (s390_preferred_reload_class): Do not return
729 NO_REGS for larl operands.
730 (s390_reload_larl_operand): Use s390_load_address instead of
733 2013-01-11 Richard Biener <rguenther@suse.de>
735 * tree-cfg.c (verify_node_sharing_1): Split out from ...
736 (verify_node_sharing): ... here.
737 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
739 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
741 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
742 Substitute TREECHECKING.
743 * configure: Regenerate.
744 * Makefile.in (TREECHECKING): New.
746 2013-01-11 Richard Guenther <rguenther@suse.de>
748 PR tree-optimization/44061
749 * tree-vrp.c (extract_range_basic): Compute zero as
750 value-range for __builtin_constant_p of function parameters.
752 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
754 Update copyright years.
756 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
758 PR rtl-optimization/55672
759 * lra-eliminations.c (mark_not_eliminable): Permit addition with
760 const to be eliminable.
762 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
764 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
765 * configure: Regenerate.
767 2013-01-10 Richard Biener <rguenther@suse.de>
769 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
771 2013-01-10 Richard Biener <rguenther@suse.de>
774 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
775 locations for virtual PHI arguments.
776 (rewrite_update_phi_arguments): Likewise.
778 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
780 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
783 2013-01-10 Jakub Jelinek <jakub@redhat.com>
785 PR tree-optimization/55921
786 * tree-complex.c (expand_complex_asm): New function.
787 (expand_complex_operations_1): Call it for GIMPLE_ASM.
789 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
792 * config/s390/s390.c (s390_symref_operand_p)
793 (s390_loadrelative_operand_p): Merge the two functions.
794 (s390_check_qrst_address, print_operand_address): Add parameters
795 to s390_loadrelative_operand_p invokation.
796 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
797 (s390_reload_larl_operand, s390_secondary_reload): Use
798 s390_loadrelative_operand_p instead of s390_symref_operand_p.
799 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
801 2013-01-09 Mike Stump <mikestump@comcast.net>
803 * dse.c (record_store): Remove unnecessary assert.
805 2013-01-09 Jan Hubicka <jh@suse.cz>
807 PR tree-optimization/55569
808 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
809 * cfgloop.h (scale_loop_profile): Likewise.
811 2013-01-09 Jan Hubicka <jh@suse.cz>
814 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
816 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
818 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
821 * expr.h (maybe_emit_group_store): Declare.
822 * expr.c (maybe_emit_group_store): New function.
823 * builtins.c (expand_builtin_int_roundingfn): Call it.
824 (expand_builtin_int_roundingfn_2): Likewise.
826 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
828 PR rtl-optimization/55829
829 * lra-constraints.c (match_reload): Add code for absent output.
830 (curr_insn_transform): Add code for reloads of matched inputs
833 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
835 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
836 attribute of movddup insn to DF.
837 (*vec_interleave_lowv2df): Ditto.
838 (vec_dupv2df): Ditto.
840 2013-01-09 Jan Hubicka <jh@suse.cz>
842 PR tree-optimiation/55875
843 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
844 EVERY_ITERATION parameter.
845 (number_of_iterations_exit): Check if exit is executed every iteration.
846 (idx_infer_loop_bounds): Similarly here.
847 (n_of_executions_at_most): Simplify
848 to only test for cases where statement is dominated by the
849 particular bound; handle correctly the "postdominance" test.
850 (scev_probably_wraps_p): Use max loop iterations info
851 as a global bound first.
853 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
854 Nick Clifton <nickc@redhat.com>
856 * config/v850/v850.md (cbranchsf4): New pattern.
857 (cstoresf4): New pattern.
858 (cbranchdf4): New pattern.
859 (cstoredf4): New pattern.
860 (movsicc): Disallow floating point comparisons.
861 (cmpsf_le_insn): Fix order of operators.
862 (cmpsf_lt_insn): Likewise.
863 (cmpsf_eq_insn): Likewise.
864 (cmpdf_le_insn): Likewise.
865 (cmpdf_lt_insn): Likewise.
866 (cmpdf_eq_insn): Likewise.
867 (cmpsf_ge_insn): Use LE comparison.
868 (cmpdf_ge_insn): Likewise.
869 (cmpsf_gt_insn): Use LT comparison.
870 (cmpdf_gt_insn): Likewise.
871 (cmpsf_ne_insn): Delete pattern.
872 (cmpdf_ne_insn): Delete pattern.
873 * config/v850/v850.c (v850_gen_float_compare): Use
874 gen_cmpdf_eq_insn for NE comparison.
875 (v850_float_z_comparison_operator)
876 (v850_float_nz_comparison_operator): Move from here ...
877 * config/v850/predicates.md: ... to here. Move GT and GE
878 comparisons into v850_float_z_comparison_operator.
879 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
881 (v850_float_nz_comparison_operator): Likewise.
883 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
885 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
886 with calls to gen_insvsi/gen_insvdi.
888 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
890 * config/i386/i386.c (initial_ix86_tune_features): Set up
891 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
893 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
894 Jakub Jelinek <jakub@redhat.com>
896 PR tree-optimization/48189
897 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
898 If nitercst is 0, don't predict the exit edge.
900 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
902 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
903 in asm_fprintf with reg_names.
904 (aarch64_print_operand_address): Likewise.
905 (aarch64_return_addr): Likewise.
906 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
908 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
910 * config/pa/pa.h (VAL_U6_BITS_P): Define.
911 (INT_U6_BITS): Likewise.
912 * config/pa/predicates.md (uint6_operand): New predicate.
913 (shift5_operand, shift6_operand): Likewise.
914 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
916 (lshrdi3): Use shift6_operand.
917 (shrpsi4, shrpdi4): New insn patterns.
918 (extzv): Delete expander.
919 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
920 predicates in unamed zero extract patterns. Tighten common constraint.
921 (extv): Delete expander.
922 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
923 predicates in unamed sign extract patterns. Tighten common constraint.
924 (insv): Delete expander.
925 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
926 predicates in unamed insert patterns. Tighten common constraint.
927 Change uint32_operand predicate to uint6_operand predicate in unamed
928 DImode pattern to insert constant values of type 1...1xxxx.
930 2013-01-04 Jan Hubicka <jh@suse.cz>
932 PR tree-optimization/55823
933 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
936 2013-01-08 Jakub Jelinek <jakub@redhat.com>
937 Uros Bizjak <ubizjak@gmail.com>
939 PR rtl-optimization/55845
940 * df-problems.c (can_move_insns_across): Stop scanning at
941 volatile_insn_p source instruction or give up if
942 across_from .. across_to range contains any volatile_insn_p
945 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
947 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
948 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
950 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
951 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
953 2013-01-08 Jakub Jelinek <jakub@redhat.com>
956 * asan.c (asan_clear_shadow): New function.
957 (asan_emit_stack_protection): Use it.
959 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
961 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
962 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
963 with tab instead of space.
965 2013-01-08 Nick Clifton <nickc@redhat.com>
967 * config/rl78/rl78.c (rl78_expand_prologue): Always select
968 register bank 0 at the start of an interrupt handler.
969 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
972 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
974 * config/aarch64/aarch64-simd.md
975 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
976 (aarch64_simd_bsl): Likewise.
977 (aarch64_vcond_internal<mode>): Likewise.
978 (vcond<mode><mode>): Likewise.
979 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
980 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
982 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
984 * config/aarch64/aarch64-builtins.c
985 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
987 2013-01-08 Martin Jambor <mjambor@suse.cz>
990 * tree-sra.c (analyze_access_subtree): Return true also after
991 potentially creating a debug-only replacement.
993 2013-01-08 Jakub Jelinek <jakub@redhat.com>
996 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
998 PR tree-optimization/54120
999 * tree-vrp.c (range_fits_type_p): Don't allow
1000 src_precision < precision from signed vr to unsigned_p
1001 if vr->min or vr->max is negative.
1002 (simplify_float_conversion_using_ranges): Test can_float_p
1003 against CODE_FOR_nothing.
1005 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1006 Richard Biener <rguenther@suse.de>
1009 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
1010 types instead of just INTEGER_TYPE types.
1012 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
1014 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
1017 2013-01-07 Steve Ellcey <sellcey@mips.com>
1020 * config/mips/mips.opt: Change mad to mmad to match documentation.
1022 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1025 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
1028 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1031 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
1032 (avr_addrspace_t): Add .section_name field.
1033 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
1035 (avr_addrspace): Same. Initialize .section_name. Remove last
1036 NULL entry. Put __memx into .progmemx.data.
1037 (progmem_section_prefix): Remove.
1038 (avr_asm_init_sections): No need to initialize progmem_section.
1039 (avr_asm_named_section): Use avr_addrspace[].section_name to get
1040 section name prefix.
1041 (avr_asm_select_section): Ditto. And use get_unnamed_section to
1042 retrieve the progmem section.
1043 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
1044 boundary to run over avr_addrspace[].
1045 (avr_register_target_pragmas): Ditto.
1047 2013-01-06 Jakub Jelinek <jakub@redhat.com>
1049 * varasm.c (output_constant_def_contents): For asan_protect_global
1050 protected strings, adjust DECL_ALIGN if needed, before testing for
1052 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
1053 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
1055 (output_object_block): For asan protected decls, emit asan padding
1056 after their contents.
1057 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
1058 (asan_finish_file): Test it here instead.
1060 2013-01-07 Nick Clifton <nickc@redhat.com>
1061 Matthias Klose <doko@debian.org>
1062 Doug Kwan <dougkwan@google.com>
1063 H.J. Lu <hongjiu.lu@intel.com>
1066 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
1068 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
1070 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
1072 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
1074 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
1076 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1079 * doc/install.texi (Cross-Compiler-Specific Options): Document
1082 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
1084 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
1085 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
1086 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
1087 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
1088 vqmovun_high_s64): Fix source operand number and update copyright.
1090 2013-01-07 Richard Biener <rguenther@suse.de>
1093 * gimple.h (gimple_call_builtin_p): New overload.
1094 * gimple.c (validate_call): New function.
1095 (gimple_call_builtin_p): Likewise.
1096 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
1097 Use gimple_call_builtin_p.
1098 (find_func_clobbers): Likewise.
1099 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
1100 (strlen_optimize_stmt): Likewise.
1102 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1104 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
1105 (vld1q_dup_*): Likewise.
1107 (vld1q_*): Likewise.
1108 (vld1_lane_*): Likewise.
1109 (vld1q_lane_*): Likewise.
1111 2013-01-07 Richard Biener <rguenther@suse.de>
1113 * lto-streamer.h (LTO_minor_version): Bump to 2.
1115 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1117 * config/aarch64/aarch64-protos.h
1118 (aarch64_const_double_zero_rtx_p): Rename to...
1119 (aarch64_float_const_zero_rtx_p): ...this.
1120 (aarch64_float_const_representable_p): New.
1121 (aarch64_output_simd_mov_immediate): Likewise.
1122 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
1123 move immediate case.
1124 * config/aarch64/aarch64.c
1125 (aarch64_const_double_zero_rtx_p): Rename to...
1126 (aarch64_float_const_zero_rtx_p): ...this.
1127 (aarch64_print_operand): Allow printing of new constants.
1128 (aarch64_valid_floating_const): New.
1129 (aarch64_legitimate_constant_p): Check for valid floating-point
1131 (aarch64_simd_valid_immediate): Likewise.
1132 (aarch64_vect_float_const_representable_p): New.
1133 (aarch64_float_const_representable_p): Likewise.
1134 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
1135 (aarch64_output_simd_mov_immediate): New.
1136 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
1137 (*movdf_aarch64): Likewise.
1138 * config/aarch64/constraints.md (Ufc): New.
1139 (Y): call aarch64_float_const_zero_rtx.
1140 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
1142 2013-01-07 Richard Biener <rguenther@suse.de>
1144 PR tree-optimization/55888
1145 PR tree-optimization/55862
1146 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
1147 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
1148 not if it is contained therein.
1150 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1152 * config/avr/t-avr: Typo.
1154 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1157 * config/avr/t-avr: Don't automatically rebuild
1158 $(srcdir)/config/avr/t-multilib
1159 $(srcdir)/config/avr/avr-tables.opt
1160 $(srcdir)/doc/avr-mmcu.texi
1161 (avr-mcus): New phony target to build them on request.
1162 (s-avr-mlib, s-avr-mmcu-texi): Remove.
1163 * avr/avr-mcus.def: Adjust comments.
1165 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
1167 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
1169 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1171 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
1173 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1175 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
1177 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
1179 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
1180 to generate profiling.
1181 * config/rs6000/aix64.h (LIB_SPEC): Same.
1183 2013-01-04 Andrew Pinski <apinski@cavium.com>
1185 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
1187 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1189 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
1191 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
1193 (ix86_expand_move): Ditto.
1194 (ix86_zero_extend_to_Pmode): Ditto.
1195 (ix86_expand_call): Ditto.
1196 (ix86_expand_special_args_builtin): Ditto.
1197 (ix86_expand_builtin): Ditto.
1199 2013-01-04 Richard Biener <rguenther@suse.de>
1201 PR tree-optimization/55862
1202 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
1203 translating them through PHI nodes.
1205 2013-01-04 Martin Jambor <mjambor@suse.cz>
1207 PR tree-optimization/55755
1208 * tree-sra.c (sra_modify_assign): Do not check that an access has no
1209 children when trying to avoid producing a VIEW_CONVERT_EXPR.
1211 2013-01-04 Marek Polacek <polacek@redhat.com>
1214 * opts.c (default_options_optimization): Clarify error message.
1216 2013-01-04 Richard Biener <rguenther@suse.de>
1219 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
1222 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1225 * config/pa/pa.md (movsi): Revert previous change.
1226 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
1229 2013-01-03 Richard Henderson <rth@redhat.com>
1231 * config/i386/i386.c (ix86_expand_move): Always assign to op1
1232 after eliminating TLS symbols.
1234 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
1237 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
1238 * graphite-poly.c (debug_gmp_value): Likewise.
1240 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
1243 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
1244 selected code model, define __code_mode_small__, __code_model_medium__,
1245 __code_model_large__, __code_model_32__ or __code_model_kernel__.
1246 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
1247 xchg temporary register with %k. Declare temporary register as
1249 [__x86_64__]: For medium and large code models, preserve %rbx register.
1251 2013-01-03 Richard Biener <rguenther@suse.de>
1253 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
1254 (dump_subscript): Adjust.
1255 (finalize_ddr_dependent): Do not dump redundant info.
1256 (analyze_siv_subscript): Adjust.
1257 (subscript_dependence_tester): Likewise.
1258 (compute_affine_dependence): Likewise.
1260 2013-01-03 Richard Biener <rguenther@suse.de>
1263 2013-01-03 Richard Biener <rguenther@suse.de>
1265 PR tree-optimization/55857
1266 * tree-vect-stmts.c (vectorizable_load): Do not setup
1267 re-alignment for invariant loads.
1269 2013-01-02 Richard Biener <rguenther@suse.de>
1271 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1272 invariant load do not generate a vector load from the scalar location.
1274 2013-01-03 Richard Biener <rguenther@suse.de>
1276 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
1277 for not vectorizing.
1278 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
1279 not build INDIRECT_REFs, call get_name once only.
1280 (vect_create_data_ref_ptr): Likewise. Dump base object kind
1281 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
1283 2013-01-03 Richard Biener <rguenther@suse.de>
1285 PR tree-optimization/55857
1286 * tree-vect-stmts.c (vectorizable_load): Do not setup
1287 re-alignment for invariant loads.
1289 2013-01-03 Richard Biener <rguenther@suse.de>
1292 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
1293 prefer a built-in decl.
1295 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1297 * gcc.c (process_command): Update copyright notice dates.
1298 * gcov.c (print_version): Likewise.
1299 * gcov-dump.c (print_version): Likewise.
1301 PR rtl-optimization/55838
1302 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1303 iv0.step, iv1.step and step.
1305 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1306 Marc Glisse <marc.glisse@inria.fr>
1308 PR tree-optimization/55832
1309 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1310 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1311 integer_{one,zero}_node.
1313 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1316 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1317 * var-tracking.c (reverse_op): Don't add reverse ops to
1318 VALUEs that have already
1319 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1321 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
1323 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1325 2013-01-02 Teresa Johnson <tejohnson@google.com>
1327 * dumpfile.c (dump_loc): Print filename with location.
1328 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1329 new location_t parameter to emit complete unroll message with
1331 (canonicalize_loop_induction_variables): Compute loops location
1332 and pass to try_unroll_loop_completely.
1333 * loop-unroll.c (report_unroll_peel): New function.
1334 (peel_loops_completely): Use new dump format with location
1335 for main dumpfile message, and invoke report_unroll_peel on success.
1336 (decide_unrolling_and_peeling): Ditto.
1337 (decide_peel_once_rolling): Remove old dumpfile message subsumed
1338 by report_unroll_peel.
1339 (decide_peel_completely): Ditto.
1340 (decide_unroll_constant_iterations): Ditto.
1341 (decide_unroll_runtime_iterations): Ditto.
1342 (decide_peel_simple): Ditto.
1343 (decide_unroll_stupid): Ditto.
1344 * cfgloop.c (get_loop_location): New function.
1345 * cfgloop.h (get_loop_location): Declare.
1347 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1349 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1352 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1355 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1356 BLKmode objects when EXPAND_MEMORY is specified.
1358 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1360 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1362 (fold_builtin_cpu): Do not share cpu model decls across statements.
1364 2013-01-02 Jason Merrill <jason@redhat.com>
1367 * tree.c (build_array_type_1): Revert earlier change.
1369 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
1371 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1373 * config/aarch64/aarch64-tune.md: Re-generate.
1375 2013-01-02 Richard Biener <rguenther@suse.de>
1377 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1378 invariant load do not generate a vector load from the scalar location.
1380 2013-01-02 Richard Biener <rguenther@suse.de>
1383 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1384 * configure: Regenerate.
1386 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1388 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1389 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1390 (expand_builtin_int_roundingfn_2): Keep the original target around
1391 for the fallback case.
1393 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1395 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1396 to be clear for sign changes.
1398 2013-01-01 Jan Hubicka <jh@suse.cz>
1400 * ipa-inline-analysis.c: Fix formatting.
1402 2013-01-01 Jakub Jelinek <jakub@redhat.com>
1404 PR tree-optimization/55831
1405 * tree-vect-loop.c (get_initial_def_for_induction): Use
1406 gsi_after_labels instead of gsi_start_bb.
1408 Copyright (C) 2013 Free Software Foundation, Inc.
1410 Copying and distribution of this file, with or without modification,
1411 are permitted in any medium without royalty provided the copyright
1412 notice and this notice are preserved.