1 2013-01-15 Joseph Myers <joseph@codesourcery.com>
2 Mikael Pettersson <mikpe@it.uu.se>
5 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
7 (ASM_OUTPUT_CASE_LABEL): Remove.
8 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
9 * final.c (shorten_branches): Update alignment of labels before
10 jump tables if CASE_VECTOR_SHORTEN_MODE.
12 2013-01-15 Richard Biener <rguenther@suse.de>
15 * system.h: Do not include gmp.h for building host tools.
17 2013-01-15 Richard Biener <rguenther@suse.de>
20 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
21 account for bitpos when computing alignment.
23 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
25 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
26 (ix86_target_macros_internal): Likewise.
28 * config/i386/i386.c (m_CORE2I7): Removed.
29 (m_CORE_HASWELL): New macro.
30 (m_CORE_ALL): Likewise.
31 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
32 (initial_ix86_arch_features): Likewise.
33 (processor_target_table): Initializations for Core avx2.
34 (cpu_names): New names "core-avx2".
35 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
36 PROCESSOR_CORE_HASWELL.
37 (ix86_issue_rate): New case.
38 (ia32_multipass_dfa_lookahead): Likewise.
39 (ix86_sched_init_global): Likewise.
41 * config/i386/i386.h (TARGET_HASWELL): New macro.
42 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
43 (processor_type): New PROCESSOR_HASWELL.
45 2013-01-15 Jakub Jelinek <jakub@redhat.com>
47 PR tree-optimization/55955
48 * tree-vect-loop.c (vectorizable_reduction): Give up early on
49 *SHIFT_EXPR and *ROTATE_EXPR codes.
51 PR tree-optimization/48766
52 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
53 -ftrapv disable -fwrapv.
55 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
58 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
59 etc. to 1 and not to __flash.
60 Use LL suffix for __INT24_MAX__ with -mint8.
61 Use ULL suffix for __UINT24_MAX__ with -mint8.
63 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
65 * config/avr/avr-arch.h
66 (struct base_arch_s): Use typedef avr_arch_t instead.
67 (struct arch_info_s): Use typedef avr_arch_info_t instead.
68 (struct mcu_type_s): Use typedef avr_mcu_t instead.
69 * config/avr/avr.c: Same.
70 * config/avr/avr-devices.c: Same.
71 * config/avr/driver-avr.c: Same.
72 * config/avr/gen-avr-mmcu-texi.c: Same.
73 * config/avr/avr-mcus.def: Adjust comment.
75 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
77 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
78 * config/aarch64/iterators.md (VALLDI): New.
80 2012-01-14 Uros Bizjak <ubizjak@gmail.com>
81 Andi Kleen <ak@linux.intel.com>
84 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
85 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
88 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
90 * config/avr/avr-stdint.h: Remove trailing blanks.
91 * config/avr/avr-log.h: Same.
92 * config/avr/avr-arch.h: Same.
93 * config/avr/avr-devices.c: Same.
94 * config/avr/avr-dimode.md: Same.
95 * config/avr/predicates.md: Same.
96 * config/avr/avr-c.c: Same. And fix typo.
98 * config/avr/avr-protos.h: Same. And:
99 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
100 (init_cumulative_args): Rename to avr_init_cumulative_args.
101 (expand_prologue): Rename to avr_expand_prologue.
102 (expand_epilogue): Rename to avr_expand_epilogue.
103 (adjust_insn_length): Rename to avr_adjust_insn_length.
104 (notice_update_cc): Rename to avr_notice_update_cc.
105 (final_prescan_insn): Rename to avr_final_prescan_insn.
106 * config/avr/avr.c: Same.
107 * config/avr/avr.h: Same.
108 * config/avr/avr.md: Remove trailing blanks.
109 (prologue): Use avr_expand_prologue.
110 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
112 2013-01-14 Richard Biener <rguenther@suse.de>
114 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
115 verify_location, collect_subblocks): New functions.
116 (verify_gimple_in_cfg): Verify that locations only reference
117 BLOCKs in the functions BLOCK tree.
119 2013-01-14 Richard Biener <rguenther@suse.de>
121 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
123 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
125 (insert_out_of_ssa_copy_on_edge): Likewise.
126 (rewrite_close_phi_out_of_ssa): Likewise.
127 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
129 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
130 propagated constants.
131 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
134 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
136 * config/avr/avr-modes.def: Add GPL copyright notice.
138 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
140 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
141 MEMMODEL_MASK to determine memory model.
142 (atomic_store<mode>): Ditto from operands[2].
143 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
145 2013-01-13 Jakub Jelinek <jakub@redhat.com>
148 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
149 (fold_gimple_assign): Don't call unshare_expr here.
150 (fold_ctor_reference): Call unshare_expr.
152 2013-01-13 Terry Guo <terry.guo@arm.com>
154 * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
155 * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
156 * gcc/gcc.c (multilib_reuse): New internal spec.
157 (set_multilib_dir): Also search multilib from multilib_reuse.
158 * gcc/genmultilib (tmpmultilib3): Refactor code.
159 (tmpmultilib4): Ditto.
160 (multilib_reuse): New multilib argument.
162 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
164 * Makefile.in: Update copyright.
166 2013-01-12 Tom de Vries <tom@codesourcery.com>
169 * calls.c (expand_call): Check if arg_nr is valid.
171 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
173 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
174 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
175 documentation. Add missing '__' in front of
176 __builtin_ia32_packssdw256.
178 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
181 * config/s390/s390.c (s390_preferred_reload_class): Do not return
182 NO_REGS for larl operands.
183 (s390_reload_larl_operand): Use s390_load_address instead of
186 2013-01-11 Richard Biener <rguenther@suse.de>
188 * tree-cfg.c (verify_node_sharing_1): Split out from ...
189 (verify_node_sharing): ... here.
190 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
192 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
194 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
195 Substitute TREECHECKING.
196 * configure: Regenerate.
197 * Makefile.in (TREECHECKING): New.
199 2012-01-11 Richard Guenther <rguenther@suse.de>
201 PR tree-optimization/44061
202 * tree-vrp.c (extract_range_basic): Compute zero as
203 value-range for __builtin_constant_p of function parameters.
205 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
207 Update copyright years.
209 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
211 PR rtl-optimization/55672
212 * lra-eliminations.c (mark_not_eliminable): Permit addition with
213 const to be eliminable.
215 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
217 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
218 * configure: Regenerate.
220 2013-01-10 Richard Biener <rguenther@suse.de>
222 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
224 2013-01-10 Richard Biener <rguenther@suse.de>
227 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
228 locations for virtual PHI arguments.
229 (rewrite_update_phi_arguments): Likewise.
231 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
233 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
236 2013-01-10 Jakub Jelinek <jakub@redhat.com>
238 PR tree-optimization/55921
239 * tree-complex.c (expand_complex_asm): New function.
240 (expand_complex_operations_1): Call it for GIMPLE_ASM.
242 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
245 * config/s390/s390.c (s390_symref_operand_p)
246 (s390_loadrelative_operand_p): Merge the two functions.
247 (s390_check_qrst_address, print_operand_address): Add parameters
248 to s390_loadrelative_operand_p invokation.
249 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
250 (s390_reload_larl_operand, s390_secondary_reload): Use
251 s390_loadrelative_operand_p instead of s390_symref_operand_p.
252 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
254 2013-01-09 Mike Stump <mikestump@comcast.net>
256 * dse.c (record_store): Remove unnecessary assert.
258 2013-01-09 Jan Hubicka <jh@suse.cz>
260 PR tree-optimization/55569
261 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
262 * cfgloop.h (scale_loop_profile): Likewise.
264 2013-01-09 Jan Hubicka <jh@suse.cz>
267 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
269 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
271 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
274 * expr.h (maybe_emit_group_store): Declare.
275 * expr.c (maybe_emit_group_store): New function.
276 * builtins.c (expand_builtin_int_roundingfn): Call it.
277 (expand_builtin_int_roundingfn_2): Likewise.
279 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
281 PR rtl-optimization/55829
282 * lra-constraints.c (match_reload): Add code for absent output.
283 (curr_insn_transform): Add code for reloads of matched inputs
286 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
288 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
289 attribute of movddup insn to DF.
290 (*vec_interleave_lowv2df): Ditto.
291 (vec_dupv2df): Ditto.
293 2013-01-09 Jan Hubicka <jh@suse.cz>
295 PR tree-optimiation/55875
296 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
297 EVERY_ITERATION parameter.
298 (number_of_iterations_exit): Check if exit is executed every iteration.
299 (idx_infer_loop_bounds): Similarly here.
300 (n_of_executions_at_most): Simplify
301 to only test for cases where statement is dominated by the
302 particular bound; handle correctly the "postdominance" test.
303 (scev_probably_wraps_p): Use max loop iterations info
304 as a global bound first.
306 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
307 Nick Clifton <nickc@redhat.com>
309 * config/v850/v850.md (cbranchsf4): New pattern.
310 (cstoresf4): New pattern.
311 (cbranchdf4): New pattern.
312 (cstoredf4): New pattern.
313 (movsicc): Disallow floating point comparisons.
314 (cmpsf_le_insn): Fix order of operators.
315 (cmpsf_lt_insn): Likewise.
316 (cmpsf_eq_insn): Likewise.
317 (cmpdf_le_insn): Likewise.
318 (cmpdf_lt_insn): Likewise.
319 (cmpdf_eq_insn): Likewise.
320 (cmpsf_ge_insn): Use LE comparison.
321 (cmpdf_ge_insn): Likewise.
322 (cmpsf_gt_insn): Use LT comparison.
323 (cmpdf_gt_insn): Likewise.
324 (cmpsf_ne_insn): Delete pattern.
325 (cmpdf_ne_insn): Delete pattern.
326 * config/v850/v850.c (v850_gen_float_compare): Use
327 gen_cmpdf_eq_insn for NE comparison.
328 (v850_float_z_comparison_operator)
329 (v850_float_nz_comparison_operator): Move from here ...
330 * config/v850/predicates.md: ... to here. Move GT and GE
331 comparisons into v850_float_z_comparison_operator.
332 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
334 (v850_float_nz_comparison_operator): Likewise.
336 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
338 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
339 with calls to gen_insvsi/gen_insvdi.
341 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
343 * config/i386/i386.c (initial_ix86_tune_features): Set up
344 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
346 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
347 Jakub Jelinek <jakub@redhat.com>
349 PR tree-optimization/48189
350 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
351 If nitercst is 0, don't predict the exit edge.
353 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
355 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
356 in asm_fprintf with reg_names.
357 (aarch64_print_operand_address): Likewise.
358 (aarch64_return_addr): Likewise.
359 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
361 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
363 * config/pa/pa.h (VAL_U6_BITS_P): Define.
364 (INT_U6_BITS): Likewise.
365 * config/pa/predicates.md (uint6_operand): New predicate.
366 (shift5_operand, shift6_operand): Likewise.
367 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
369 (lshrdi3): Use shift6_operand.
370 (shrpsi4, shrpdi4): New insn patterns.
371 (extzv): Delete expander.
372 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
373 predicates in unamed zero extract patterns. Tighten common constraint.
374 (extv): Delete expander.
375 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
376 predicates in unamed sign extract patterns. Tighten common constraint.
377 (insv): Delete expander.
378 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
379 predicates in unamed insert patterns. Tighten common constraint.
380 Change uint32_operand predicate to uint6_operand predicate in unamed
381 DImode pattern to insert constant values of type 1...1xxxx.
383 2013-01-04 Jan Hubicka <jh@suse.cz>
385 PR tree-optimization/55823
386 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
389 2012-01-08 Jakub Jelinek <jakub@redhat.com>
390 Uros Bizjak <ubizjak@gmail.com>
392 PR rtl-optimization/55845
393 * df-problems.c (can_move_insns_across): Stop scanning at
394 volatile_insn_p source instruction or give up if
395 across_from .. across_to range contains any volatile_insn_p
398 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
400 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
401 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
403 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
404 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
406 2013-01-08 Jakub Jelinek <jakub@redhat.com>
409 * asan.c (asan_clear_shadow): New function.
410 (asan_emit_stack_protection): Use it.
412 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
414 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
415 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
416 with tab instead of space.
418 2013-01-08 Nick Clifton <nickc@redhat.com>
420 * config/rl78/rl78.c (rl78_expand_prologue): Always select
421 register bank 0 at the start of an interrupt handler.
422 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
425 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
427 * config/aarch64/aarch64-simd.md
428 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
429 (aarch64_simd_bsl): Likewise.
430 (aarch64_vcond_internal<mode>): Likewise.
431 (vcond<mode><mode>): Likewise.
432 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
433 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
435 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
437 * config/aarch64/aarch64-builtins.c
438 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
440 2013-01-08 Martin Jambor <mjambor@suse.cz>
443 * tree-sra.c (analyze_access_subtree): Return true also after
444 potentially creating a debug-only replacement.
446 2013-01-08 Jakub Jelinek <jakub@redhat.com>
449 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
451 PR tree-optimization/54120
452 * tree-vrp.c (range_fits_type_p): Don't allow
453 src_precision < precision from signed vr to unsigned_p
454 if vr->min or vr->max is negative.
455 (simplify_float_conversion_using_ranges): Test can_float_p
456 against CODE_FOR_nothing.
458 2013-01-08 Jakub Jelinek <jakub@redhat.com>
459 Richard Biener <rguenther@suse.de>
462 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
463 types instead of just INTEGER_TYPE types.
465 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
467 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
470 2013-01-07 Steve Ellcey <sellcey@mips.com>
473 * config/mips/mips.opt: Change mad to mmad to match documentation.
475 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
478 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
481 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
484 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
485 (avr_addrspace_t): Add .section_name field.
486 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
488 (avr_addrspace): Same. Initialize .section_name. Remove last
489 NULL entry. Put __memx into .progmemx.data.
490 (progmem_section_prefix): Remove.
491 (avr_asm_init_sections): No need to initialize progmem_section.
492 (avr_asm_named_section): Use avr_addrspace[].section_name to get
494 (avr_asm_select_section): Ditto. And use get_unnamed_section to
495 retrieve the progmem section.
496 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
497 boundary to run over avr_addrspace[].
498 (avr_register_target_pragmas): Ditto.
500 2013-01-06 Jakub Jelinek <jakub@redhat.com>
502 * varasm.c (output_constant_def_contents): For asan_protect_global
503 protected strings, adjust DECL_ALIGN if needed, before testing for
505 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
506 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
508 (output_object_block): For asan protected decls, emit asan padding
509 after their contents.
510 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
511 (asan_finish_file): Test it here instead.
513 2013-01-07 Nick Clifton <nickc@redhat.com>
514 Matthias Klose <doko@debian.org>
515 Doug Kwan <dougkwan@google.com>
516 H.J. Lu <hongjiu.lu@intel.com>
519 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
521 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
523 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
525 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
527 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
529 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
532 * doc/install.texi (Cross-Compiler-Specific Options): Document
535 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
537 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
538 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
539 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
540 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
541 vqmovun_high_s64): Fix source operand number and update copyright.
543 2013-01-07 Richard Biener <rguenther@suse.de>
546 * gimple.h (gimple_call_builtin_p): New overload.
547 * gimple.c (validate_call): New function.
548 (gimple_call_builtin_p): Likewise.
549 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
550 Use gimple_call_builtin_p.
551 (find_func_clobbers): Likewise.
552 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
553 (strlen_optimize_stmt): Likewise.
555 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
557 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
558 (vld1q_dup_*): Likewise.
561 (vld1_lane_*): Likewise.
562 (vld1q_lane_*): Likewise.
564 2013-01-07 Richard Biener <rguenther@suse.de>
566 * lto-streamer.h (LTO_minor_version): Bump to 2.
568 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
570 * config/aarch64/aarch64-protos.h
571 (aarch64_const_double_zero_rtx_p): Rename to...
572 (aarch64_float_const_zero_rtx_p): ...this.
573 (aarch64_float_const_representable_p): New.
574 (aarch64_output_simd_mov_immediate): Likewise.
575 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
577 * config/aarch64/aarch64.c
578 (aarch64_const_double_zero_rtx_p): Rename to...
579 (aarch64_float_const_zero_rtx_p): ...this.
580 (aarch64_print_operand): Allow printing of new constants.
581 (aarch64_valid_floating_const): New.
582 (aarch64_legitimate_constant_p): Check for valid floating-point
584 (aarch64_simd_valid_immediate): Likewise.
585 (aarch64_vect_float_const_representable_p): New.
586 (aarch64_float_const_representable_p): Likewise.
587 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
588 (aarch64_output_simd_mov_immediate): New.
589 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
590 (*movdf_aarch64): Likewise.
591 * config/aarch64/constraints.md (Ufc): New.
592 (Y): call aarch64_float_const_zero_rtx.
593 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
595 2013-01-07 Richard Biener <rguenther@suse.de>
597 PR tree-optimization/55888
598 PR tree-optimization/55862
599 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
600 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
601 not if it is contained therein.
603 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
605 * config/avr/t-avr: Typo.
607 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
610 * config/avr/t-avr: Don't automatically rebuild
611 $(srcdir)/config/avr/t-multilib
612 $(srcdir)/config/avr/avr-tables.opt
613 $(srcdir)/doc/avr-mmcu.texi
614 (avr-mcus): New phony target to build them on request.
615 (s-avr-mlib, s-avr-mmcu-texi): Remove.
616 * avr/avr-mcus.def: Adjust comments.
618 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
620 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
622 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
624 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
626 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
628 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
630 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
632 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
633 to generate profiling.
634 * config/rs6000/aix64.h (LIB_SPEC): Same.
636 2013-01-04 Andrew Pinski <apinski@cavium.com>
638 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
640 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
642 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
644 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
646 (ix86_expand_move): Ditto.
647 (ix86_zero_extend_to_Pmode): Ditto.
648 (ix86_expand_call): Ditto.
649 (ix86_expand_special_args_builtin): Ditto.
650 (ix86_expand_builtin): Ditto.
652 2013-01-04 Richard Biener <rguenther@suse.de>
654 PR tree-optimization/55862
655 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
656 translating them through PHI nodes.
658 2013-01-04 Martin Jambor <mjambor@suse.cz>
660 PR tree-optimization/55755
661 * tree-sra.c (sra_modify_assign): Do not check that an access has no
662 children when trying to avoid producing a VIEW_CONVERT_EXPR.
664 2013-01-04 Marek Polacek <polacek@redhat.com>
667 * opts.c (default_options_optimization): Clarify error message.
669 2013-01-04 Richard Biener <rguenther@suse.de>
672 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
675 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
678 * config/pa/pa.md (movsi): Revert previous change.
679 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
682 2013-01-03 Richard Henderson <rth@redhat.com>
684 * config/i386/i386.c (ix86_expand_move): Always assign to op1
685 after eliminating TLS symbols.
687 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
690 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
691 * graphite-poly.c (debug_gmp_value): Likewise.
693 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
696 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
697 selected code model, define __code_mode_small__, __code_model_medium__,
698 __code_model_large__, __code_model_32__ or __code_model_kernel__.
699 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
700 xchg temporary register with %k. Declare temporary register as
702 [__x86_64__]: For medium and large code models, preserve %rbx register.
704 2013-01-03 Richard Biener <rguenther@suse.de>
706 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
707 (dump_subscript): Adjust.
708 (finalize_ddr_dependent): Do not dump redundant info.
709 (analyze_siv_subscript): Adjust.
710 (subscript_dependence_tester): Likewise.
711 (compute_affine_dependence): Likewise.
713 2013-01-03 Richard Biener <rguenther@suse.de>
716 2013-01-03 Richard Biener <rguenther@suse.de>
718 PR tree-optimization/55857
719 * tree-vect-stmts.c (vectorizable_load): Do not setup
720 re-alignment for invariant loads.
722 2013-01-02 Richard Biener <rguenther@suse.de>
724 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
725 invariant load do not generate a vector load from the scalar location.
727 2013-01-03 Richard Biener <rguenther@suse.de>
729 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
731 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
732 not build INDIRECT_REFs, call get_name once only.
733 (vect_create_data_ref_ptr): Likewise. Dump base object kind
734 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
736 2013-01-03 Richard Biener <rguenther@suse.de>
738 PR tree-optimization/55857
739 * tree-vect-stmts.c (vectorizable_load): Do not setup
740 re-alignment for invariant loads.
742 2013-01-03 Richard Biener <rguenther@suse.de>
745 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
746 prefer a built-in decl.
748 2013-01-03 Jakub Jelinek <jakub@redhat.com>
750 * gcc.c (process_command): Update copyright notice dates.
751 * gcov.c (print_version): Likewise.
752 * gcov-dump.c (print_version): Likewise.
754 PR rtl-optimization/55838
755 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
756 iv0.step, iv1.step and step.
758 2013-01-03 Jakub Jelinek <jakub@redhat.com>
759 Marc Glisse <marc.glisse@inria.fr>
761 PR tree-optimization/55832
762 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
763 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
764 integer_{one,zero}_node.
766 2013-01-03 Jakub Jelinek <jakub@redhat.com>
769 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
770 * var-tracking.c (reverse_op): Don't add reverse ops to
771 VALUEs that have already
772 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
774 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
776 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
778 2013-01-02 Teresa Johnson <tejohnson@google.com>
780 * dumpfile.c (dump_loc): Print filename with location.
781 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
782 new location_t parameter to emit complete unroll message with
784 (canonicalize_loop_induction_variables): Compute loops location
785 and pass to try_unroll_loop_completely.
786 * loop-unroll.c (report_unroll_peel): New function.
787 (peel_loops_completely): Use new dump format with location
788 for main dumpfile message, and invoke report_unroll_peel on success.
789 (decide_unrolling_and_peeling): Ditto.
790 (decide_peel_once_rolling): Remove old dumpfile message subsumed
791 by report_unroll_peel.
792 (decide_peel_completely): Ditto.
793 (decide_unroll_constant_iterations): Ditto.
794 (decide_unroll_runtime_iterations): Ditto.
795 (decide_peel_simple): Ditto.
796 (decide_unroll_stupid): Ditto.
797 * cfgloop.c (get_loop_location): New function.
798 * cfgloop.h (get_loop_location): Declare.
800 2013-01-02 Sriraman Tallam <tmsriram@google.com>
802 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
805 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
808 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
809 BLKmode objects when EXPAND_MEMORY is specified.
811 2013-01-02 Sriraman Tallam <tmsriram@google.com>
813 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
815 (fold_builtin_cpu): Do not share cpu model decls across statements.
817 2013-01-02 Jason Merrill <jason@redhat.com>
820 * tree.c (build_array_type_1): Revert earlier change.
822 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
824 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
826 * config/aarch64/aarch64-tune.md: Re-generate.
828 2013-01-02 Richard Biener <rguenther@suse.de>
830 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
831 invariant load do not generate a vector load from the scalar location.
833 2013-01-02 Richard Biener <rguenther@suse.de>
836 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
837 * configure: Regenerate.
839 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
841 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
842 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
843 (expand_builtin_int_roundingfn_2): Keep the original target around
844 for the fallback case.
846 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
848 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
849 to be clear for sign changes.
851 2013-01-01 Jan Hubicka <jh@suse.cz>
853 * ipa-inline-analysis.c: Fix formatting.
855 2013-01-01 Jakub Jelinek <jakub@redhat.com>
857 PR tree-optimization/55831
858 * tree-vect-loop.c (get_initial_def_for_induction): Use
859 gsi_after_labels instead of gsi_start_bb.
861 Copyright (C) 2013 Free Software Foundation, Inc.
863 Copying and distribution of this file, with or without modification,
864 are permitted in any medium without royalty provided the copyright
865 notice and this notice are preserved.