1 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
3 * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
4 (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
6 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
8 * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
9 * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
11 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
13 * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
15 * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
16 * config/arm/cortex-a7.md: New bypasses using
17 arm_mac_accumulator_is_result.
19 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
21 * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation.
22 (cortex_a7_neon_mla): Likewise.
23 (cortex_a7_fpfmad): New reservation.
24 (cortex_a7_fpmacs): Use ffmas and update required units.
25 (cortex_a7_fpmuld): Update required units and latency.
26 (cortex_a7_fpmacd): Likewise.
27 (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
28 (cortex_a7_neon). Likewise.
29 (bypass) Update participating units.
31 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com>
33 * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
34 * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
36 * config/arm/vfp11.md (vfp_farith): Use ffmas.
37 (vfp_fmul): Use ffmad.
38 * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
39 (cortex_r4_fmacd): Use ffmad.
40 * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
41 * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas.
42 (cortex_a9_fmacd): Use ffmad.
43 * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
44 (cortex_a8_vfp_macd): Use ffmad.
45 * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
46 (cortex_a5_fpmacd): Use ffmad.
47 * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
48 (cortex_a15_vfp_macd): Use ffmad.
49 * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
51 2013-01-29 Jason Merrill <jason@redhat.com>
54 * varasm.c (default_assemble_visibility): Don't warn about
55 visibility on artificial decls.
57 2013-01-29 Richard Biener <rguenther@suse.de>
59 PR tree-optimization/56113
60 * tree-ssa-structalias.c (equiv_class_lookup): Also return
62 (label_visit): Free duplicate bitmaps and record the leader instead.
63 (perform_var_substitution): Adjust.
65 2013-01-29 Richard Biener <rguenther@suse.de>
67 PR tree-optimization/55270
68 * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
69 the CFG, schedule loops for fixup.
71 2013-01-29 Nick Clifton <nickc@redhat.com>
73 * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
76 2013-01-28 Leif Ekblad <leif@rdos.net>
78 * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
79 * config/i386/i386.h (TARGET_RDOS): New macro.
80 (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
81 * config/i386/i386.c (ix86_option_override_internal): For 64bit
82 TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
83 * config/i386/i386.opt (mlarge-data-threshold): Initialize to
84 DEFAULT_LARGE_SECTION_THRESHOLD.
85 * config/i386/i386.md (R14_REG, R15_REG): New constants.
86 * config/i386/rdos.h: New file.
87 * config/i386/rdos64.h: New file.
89 2013-01-28 Bernd Schmidt <bernds@codesourcery.com>
92 * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
95 2013-01-28 Jakub Jelinek <jakub@redhat.com>
97 PR rtl-optimization/56117
98 * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
99 call cselib_lookup_from_insn on the MEM before calling
100 add_insn_mem_dependence.
102 2013-01-28 Richard Biener <rguenther@suse.de>
104 * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
105 to a stmt that didn't have one.
106 (copy_phis_for_bb): Likewise for PHI arguments.
107 (copy_debug_stmt): Likewise for debug stmts.
109 2013-01-28 Richard Biener <rguenther@suse.de>
111 PR tree-optimization/56034
112 * tree-loop-distribution.c (enum partition_kind): Add
114 (partition_builtin_p): Adjust.
115 (generate_code_for_partition): Handle PKIND_REDUCTION. Assert
116 it is the last partition.
117 (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
118 up the vertex for the definition.
119 (classify_partition): Classify whether a partition is a
120 PKIND_REDUCTION, thus has uses outside of the loop.
121 (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
122 Merge all PKIND_REDUCTION partitions into the last partition.
123 (tree_loop_distribution): Seed partitions from reductions as well.
125 2013-01-28 Jakub Jelinek <jakub@redhat.com>
127 PR tree-optimization/56125
128 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
129 pow(x,c) into sqrt(x) * powi(x, n/2) or
130 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
132 Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
133 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
136 PR tree-optimization/56094
137 * gimplify.c (force_gimple_operand_1): Temporarily set input_location
138 to UNKNOWN_LOCATION while gimplifying expr.
140 2013-01-27 Uros Bizjak <ubizjak@gmail.com>
143 * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
144 operand 0 in movabs insn template for -masm=intel asm alternative.
145 (*movabs<mode>_2): Ditto for operand 1.
147 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
150 * config.gcc (microblaze*-linux*): Add tmake_file to allow building
153 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
155 * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
158 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
160 * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
161 Undef to avoid warning.
163 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
165 * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
166 * configure: Regenerate.
168 2013-01-25 Jakub Jelinek <jakub@redhat.com>
170 PR tree-optimization/56098
171 * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
172 for stmts with volatile ops.
173 (cond_store_replacement): Don't optimize if assign has volatile ops.
174 (cond_if_else_store_replacement_1): Don't optimize if either
175 then_assign or else_assign have volatile ops.
176 (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
179 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
181 * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
183 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
185 * doc/extend.texi (Example of asm with clobbered asm reg): Fix
186 missing ':' in asm example.
188 2013-01-25 Tejas Belagod <tejas.belagod@arm.com>
190 * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
191 entries into lane and laneq entries.
192 * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
193 Remove AdvSIMD scalar modes.
194 (aarch64_sq<r>dmulh_laneq<mode>): New.
195 (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
197 * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
198 builtin implementations to relfect changes in RTL in aarch64-simd.md.
199 * config/aarch64/iterators.md (VCOND): New.
202 2013-01-25 Georg-Johann Lay <avr@gjlay.de>
205 * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
206 Add NULL LIBNAME argument to existing definitions.
207 (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
208 * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
209 * config/avr/avr.c (DEF_BUILTIN): Same.
210 (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
211 (avr_expand_builtin): Expand to a vanilla call if a libgcc
212 implementation is available (DECL_ASSEMBLER_NAME is set).
213 (avr_fold_absfx): New static function.
214 (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
215 AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
216 AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
218 * config/avr/stdfix.h (abshr, absr, abslr, absllr)
219 (abshk, absk, abslk, absllk): Provide as static inline functions.
221 2013-01-25 Marek Polacek <polacek@redhat.com>
223 PR tree-optimization/56035
224 * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
226 2012-01-24 Uros Bizjak <ubizjak@gmail.com>
228 * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
229 (*movtf_internal_rex64): Add (!o,C) alternative
230 (*movxf_internal_rex64): Ditto.
231 (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
233 2013-01-24 Shenghou Ma <minux.ma@gmail.com>
235 * doc/invoke.texi: fix typo.
236 * doc/objc.texi: fix typo.
238 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com>
240 * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
241 for the first two alternatives.
243 2013-01-24 Diego Novillo <dnovillo@google.com>
245 * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o.
246 (ggc-zone.o): Remove.
247 * configure.ac: Remove option --with-gc.
248 * configure: Re-generate.
249 * doc/install.texi: Remove documentation for --with-gc.
250 * gengtype.c (write_enum_defn): Remove. Update all users.
251 (write_Types_process_field): Remove generation of gt_e_* argument.
252 (output_type_enum): Remove. Update all users.
253 (write_enum_defn): Remove. Update all users.
254 (enum alloc_zone): Remove. Update all users.
255 (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
256 * ggc-common.c (ggc_splay_alloc): Remove first argument.
258 (struct ptr_data): Remove field TYPE. Update all users.
259 (gt_pch_note_object): Remove argument TYPE. Update all users.
260 * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
262 * ggc-none.c (ggc_alloc_typed_stat): Remove.
263 (struct alloc_zone): Remove.
264 (ggc_internal_alloc_zone_stat): Remove.
265 (ggc_internal_cleared_alloc_zone_stat): Remove.
266 * ggc-page.c (ggc_alloc_typed_stat): Remove.
267 (ggc_pch_count_object): Remove last argument. Update all users.
268 (ggc_pch_alloc_object): Remove last argument. Update all users.
269 (struct alloc_zone): Remove.
270 * ggc-zone.c: Remove.
271 * ggc.h (gt_pch_note_object): Remove last argument. Update all users.
272 (struct alloc_zone): Remove.
273 (ggc_alloc_typed_stat): Remove.
274 (ggc_alloc_typed): Remove.
275 (ggc_splay_alloc): Remove first argument.
276 (rtl_zone): Remove. Update all users.
277 (tree_zone): Remove. Update all users.
278 (tree_id_zone): Remove. Update all users.
279 (ggc_internal_zone_alloc_stat): Remove. Update all users.
280 (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users.
281 (ggc_internal_zone_vec_alloc_stat): Remove. Update all users.
282 * tree-ssanames.c: Remove references to zone allocator in comments.
284 2013-01-24 Georg-Johann Lay <avr@gjlay.de>
286 * config/avr/avr.c (avr_out_fract): Make register numbers that
287 might be outside of source operand signed.
289 2013-01-24 Uros Bizjak <ubizjak@gmail.com>
291 * config/i386/constraints.md (Yf): New constraint.
292 * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
293 of f constraint to conditionaly disable x87 register preferences.
294 (*movdf_internal): Ditto.
295 (*movsf_internal): Ditto.
297 2013-01-24 Steven Bosscher <steven@gcc.gnu.org>
300 * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
301 that have operands with impossible constraints.
302 Add a FIXME for a speed-up opportunity.
303 * lra-constraints.c (process_alt_operands): Verify that a class
304 selected from constraints on asms is valid for the operand mode.
305 (curr_insn_transform): Remove incorrect comment.
307 2013-01-23 David Edelsohn <dje.gcc@gmail.com>
309 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
310 TOC operand is a valid symbol ref in the constant pool.
312 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com>
314 * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
316 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
319 * config/avr/stdfix.h: New file.
320 * t-avr (stdfix-gcc.h): New rule to build it.
321 (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
323 2013-01-23 Kostya Serebryany <kcc@google.com>
325 * config/darwin.h: remove dependency on
326 CoreFoundation (asan on Mac OS).
328 2013-01-23 Jakub Jelinek <jakub@redhat.com>
331 * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
332 instead of cmpdi_operand for first comparison operand.
333 Don't assert that comparison operands aren't both constants.
335 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
337 * doc/install.texi (Downloading the Source): Update references to
338 downloading separate components.
340 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
342 * doc/extend.texi (__int128): Improve grammar.
344 2013-01-22 Uros Bizjak <ubizjak@gmail.com>
347 * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
348 alternative to (o,r).
349 (*movdi_internal_rex64): Remove (!o,n) alternative.
350 (DImode immediate->memory splitter): Remove.
351 (DImode immediate->memory peephole2): Remove.
352 (movtf): Enable for TARGET_64BIT || TARGET_SSE.
353 (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
354 alternative to (!o,*r).
355 (*movtf_internal_sse): New pattern.
356 (*movxf_internal_rex64): New pattern.
357 (*movxf_internal): Disable for TARGET_64BIT.
358 (*movdf_internal_rex64): Remove (!o,F) alternative.
360 2013-01-22 Jakub Jelinek <jakub@redhat.com>
363 * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
364 isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
365 * tree-vect-loop-manip.c (find_loop_location): Also ignore
366 stmt locations where LOCATION_LOCUS of the stmt location is
367 UNKNOWN_LOCATION or BUILTINS_LOCATION.
370 * config/i386/i386.md (UNSPEC_STOS): New.
371 (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
372 *strsetqi_1): Add UNSPEC_STOS.
374 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com>
377 * doc/invoke.texi: Remove left over -Wsynth example.
379 2013-01-21 Jakub Jelinek <jakub@redhat.com>
381 PR tree-optimization/56051
382 * fold-const.c (fold_binary_loc): Don't fold
383 X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
384 a narrowing conversion, or widening conversion from signed
387 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
389 PR rtl-optimization/56023
390 * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
391 dependent on debug instruction.
393 2013-01-21 Martin Jambor <mjambor@suse.cz>
396 * function.c (allocate_struct_function): Call
397 invoke_set_current_function_hook earlier.
399 2013-01-21 Jakub Jelinek <jakub@redhat.com>
401 * reload1.c (init_reload): Only initialize reload_obstack
402 during the first call.
404 2013-01-21 Marek Polacek <polacek@redhat.com>
406 * cfgloop.c (verify_loop_structure): Fix up grammar.
408 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com>
410 * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
411 pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
413 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
416 * config/arm/marvell-pj4.md: Update copyright year.
417 Fix up use of alu to alu_reg and simple_alu_imm.
419 2013-01-21 Uros Bizjak <ubizjak@gmail.com>
421 * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
423 2013-01-20 Vladimir Makarov <vmakarov@redhat.com>
426 * lra-constraints.c (curr_insn_transform): Don't reuse original
427 insn for secondary memory move when memory mode should be different.
429 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
431 * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
432 atomic_storedi_1): New patterns.
434 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
436 btver2 pipeline descriptions.
437 * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
439 * config/i386/i386.md (btver2_decode): New type attributes.
440 * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
442 * config/i386/btver2.md: New file describing btver2 pipelines.
444 2013-01-19 Andrew Pinski <apinski@cavium.com>
446 PR tree-optimization/52631
447 * tree-ssa-sccvn (visit_use): Before looking up the original
448 statement, try looking up the simplified expression.
450 2013-01-19 Anthony Green <green@moxielogic.com>
452 * config/moxie/moxie.c (moxie_expand_prologue): Set
453 current_function_static_stack_size.
455 2013-01-18 Jakub Jelinek <jakub@redhat.com>
457 PR tree-optimization/56029
458 * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
459 gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
461 2013-01-18 Sharad Singhai <singhai@google.com>
463 PR tree-optimization/55995
464 * dumpfile.c (dump_loc): Print location only if available.
465 * tree-vectorizer.c (increase_alignment): Intialize vect_location.
467 2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
470 * lra-constraints.c (curr_insn_transform): Reuse original insn for
471 secondary memory move.
472 (inherit_reload_reg): Use rclass instead of cl for
473 check_secondary_memory_needed_p.
475 2013-01-18 Jakub Jelinek <jakub@redhat.com>
478 * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
479 the case where writing real complex part of target modifies op1.
481 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com>
483 * config/aarch64/aarch64-simd.md
484 (aarch64_vcond_internal<mode>): Handle unordered cases.
485 * config/aarch64/iterators.md (v_cmp_result): New.
487 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
488 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
490 * config/arm/marvell-pj4.md: New file.
491 * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
492 * config/arm/arm.md (generic_sched): Add marvell_pj4.
493 (generic_vfp): Likewise.
494 * config/arm/arm-cores.def: Add marvell-pj4.
495 * config/arm/arm-tune.md: Regenerate.
496 * config/arm/arm-tables.opt: Regenerate.
497 * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
498 * doc/invoke.texi: Document marvell-pj4.
500 2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
502 * config/aarch64/arm_neon.h: Map scalar types to standard types.
504 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
509 * var-tracking.c (negative_power_of_two_p): New.
510 (global_get_addr_cache, local_get_addr_cache): New.
511 (get_addr_from_global_cache, get_addr_from_local_cache): New.
512 (vt_canonicalize_addr): Rewrite using the above. Adjust the
514 (vt_stack_offset_p): Remove.
515 (vt_canon_true_dep): Always canonicalize loc's address.
516 (clobber_overlapping_mems): Make sure we have a MEM.
517 (local_get_addr_clear_given_value): New.
518 (val_reset): Clear local cached entries.
519 (compute_bb_dataflow): Create and release the local cache.
520 Disable duplicate MEMs clobbering.
521 (emit_notes_in_bb): Clobber MEMs likewise.
522 (vt_emit_notes): Create and release the local cache.
523 (vt_initialize, vt_finalize): Create and release the global
525 * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
527 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
530 * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
531 not found in the symtab.
533 2013-01-18 Alexandre Oliva <aoliva@redhat.com>
536 PR rtl-optimization/55547
537 PR rtl-optimization/53827
540 * alias.c (offset_overlap_p): New, factored out of...
541 (memrefs_conflict_p): ... this. Use absolute sizes. Retain
542 the conservative special case for symbolic constants. Don't
543 adjust zero sizes on alignment.
545 2013-01-18 Bernd Schmidt <bernds@codesourcery.com>
547 PR rtl-optimization/52573
548 * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
549 REG_UNUSED for the same register.
551 2013-01-17 Richard Biener <rguenther@suse.de>
552 Marek Polacek <polacek@redhat.com>
554 PR rtl-optimization/55833
555 * loop-unswitch.c (unswitch_loops): Move loop verification...
556 (unswitch_single_loop): ...here. Call mark_irreducible_loops.
557 * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
558 Set it to true when we're removing a loop from hierarchy tree in
559 an irreducible region.
560 (fix_bb_placements): Adjust caller.
561 (fix_loop_placements): Likewise.
563 2013-01-17 Georg-Johann Lay <avr@gjlay.de>
565 * config/avr/builtins.def (DEF_BUILTIN): Factor out
566 "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
567 Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
568 Remove ID. Adjust comments.
569 * config/avr/avr-c.c (avr_builtin_name): Remove.
570 (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
571 * config/avr/avr.c (avr_tolower): New static function.
572 (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
573 Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
574 (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
577 2013-01-17 Jan Hubicka <jh@suse.cz>
579 PR tree-optimization/55273
580 * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
582 2013-01-17 Uros Bizjak <ubizjak@gmail.com>
585 * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
586 store through atomic_store<mode>_1.
587 (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
589 2013-01-17 Martin Jambor <mjambor@suse.cz>
591 PR tree-optimizations/55264
592 * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
594 * ipa.c (symtab_remove_unreachable_nodes): Never return true for
595 virtual methods before inlining is over.
596 * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
598 * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
601 2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
603 PR rtl-optimization/56005
604 * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
605 pending reads for prefetch.
607 2013-01-16 Ian Bolton <ian.bolton@arm.com>
609 * config/aarch64/aarch64.md
610 (*cstoresi_neg_uxtw): New pattern.
611 (*cmovsi_insn_uxtw): New pattern.
612 (*<optab>si3_uxtw): New pattern.
613 (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
614 (*<optab>si3_insn_uxtw): New pattern.
615 (*bswapsi2_uxtw): New pattern.
617 2013-01-16 Richard Biener <rguenther@suse.de>
619 * tree-inline.c (tree_function_versioning): Remove set but
622 2013-01-16 Richard Biener <rguenther@suse.de>
624 PR tree-optimization/55964
625 * tree-flow.h (rename_variables_in_loop): Remove.
626 (rename_variables_in_bb): Likewise.
627 * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
628 (copy_loop_before): Adjust and delete update-ssa status.
629 * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
630 (rename_variables_in_bb): Likewise. Properly walk over predecessors.
631 (rename_variables_in_loop): Remove.
632 (slpeel_update_phis_for_duplicate_loop): Likewise.
633 (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
634 use available cfg machinery instead of duplicating it.
635 Update PHI nodes and perform poor-mans SSA update here.
636 (slpeel_tree_peel_loop_to_edge): Adjust.
638 2013-01-16 Richard Biener <rguenther@suse.de>
640 PR tree-optimization/54767
641 PR tree-optimization/53465
642 * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
643 (vrp_visit_phi_node): For PHI arguments coming via backedges
644 drop all symbolical range information.
645 (execute_vrp): Compute backedges.
647 2013-01-16 Richard Biener <rguenther@suse.de>
649 * doc/install.texi: Update CLooG and ISL requirements to
652 2013-01-16 Christian Bruel <christian.bruel@st.com>
655 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
656 (broken_move): Handle UNSPECV_SP_SWITCH_B.
657 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
659 2013-01-16 DJ Delorie <dj@redhat.com>
661 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
662 (UNSPECV_SP_SWITCH_E): New.
663 (sp_switch_1): Change to an unspec.
664 (sp_switch_2): Change to an unspec. Don't use post-inc when we
667 2013-01-16 Uros Bizjak <ubizjak@gmail.com>
669 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
670 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
671 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
672 (expand_mem_thread_fence): Ditto.
673 (expand_mem_signal_fence): Ditto.
674 (expand_atomic_load): Ditto.
675 (expand_atomic_store): Ditto.
677 2013-01-16 Alexandre Oliva <aoliva@redhat.com>
679 PR rtl-optimization/55547
680 PR rtl-optimization/53827
683 * alias.c (memrefs_conflict_p): Set sizes to negative after
686 2013-01-15 Jakub Jelinek <jakub@redhat.com>
689 * function.c (thread_prologue_and_epilogue_insns): Always
690 add crtl->drap_reg to set_up_by_prologue.set, even if
691 stack_realign_drap is false.
693 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
695 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
696 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
697 *call): Fix indention.
699 2013-01-15 Tom de Vries <tom@codesourcery.com>
702 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
705 2013-01-15 Vladimir Makarov <vmakarov@redhat.com>
707 PR rtl-optimization/55153
708 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
710 2013-01-15 Martin Jambor <mjambor@suse.cz>
712 PR tree-optimization/55920
713 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
714 accesses as grp_to_be_debug_replaced.
716 2013-01-15 Jakub Jelinek <jakub@redhat.com>
718 PR tree-optimization/55920
719 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
720 there is non-useless type conversion needed from debug rhs to lhs,
721 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
723 2013-01-15 Joseph Myers <joseph@codesourcery.com>
724 Mikael Pettersson <mikpe@it.uu.se>
727 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
729 (ASM_OUTPUT_CASE_LABEL): Remove.
730 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
731 * final.c (shorten_branches): Update alignment of labels before
732 jump tables if CASE_VECTOR_SHORTEN_MODE.
734 2013-01-15 Richard Biener <rguenther@suse.de>
737 * system.h: Do not include gmp.h for building host tools.
739 2013-01-15 Richard Biener <rguenther@suse.de>
742 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
743 account for bitpos when computing alignment.
745 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
747 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
748 (ix86_target_macros_internal): Likewise.
750 * config/i386/i386.c (m_CORE2I7): Removed.
751 (m_CORE_HASWELL): New macro.
752 (m_CORE_ALL): Likewise.
753 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
754 (initial_ix86_arch_features): Likewise.
755 (processor_target_table): Initializations for Core avx2.
756 (cpu_names): New names "core-avx2".
757 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
758 PROCESSOR_CORE_HASWELL.
759 (ix86_issue_rate): New case.
760 (ia32_multipass_dfa_lookahead): Likewise.
761 (ix86_sched_init_global): Likewise.
763 * config/i386/i386.h (TARGET_HASWELL): New macro.
764 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
765 (processor_type): New PROCESSOR_HASWELL.
767 2013-01-15 Jakub Jelinek <jakub@redhat.com>
769 PR tree-optimization/55955
770 * tree-vect-loop.c (vectorizable_reduction): Give up early on
771 *SHIFT_EXPR and *ROTATE_EXPR codes.
773 PR tree-optimization/48766
774 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
775 -ftrapv disable -fwrapv.
777 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
780 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
781 etc. to 1 and not to __flash.
782 Use LL suffix for __INT24_MAX__ with -mint8.
783 Use ULL suffix for __UINT24_MAX__ with -mint8.
785 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
787 * config/avr/avr-arch.h
788 (struct base_arch_s): Use typedef avr_arch_t instead.
789 (struct arch_info_s): Use typedef avr_arch_info_t instead.
790 (struct mcu_type_s): Use typedef avr_mcu_t instead.
791 * config/avr/avr.c: Same.
792 * config/avr/avr-devices.c: Same.
793 * config/avr/driver-avr.c: Same.
794 * config/avr/gen-avr-mmcu-texi.c: Same.
795 * config/avr/avr-mcus.def: Adjust comment.
797 2013-01-14 Tejas Belagod <tejas.belagod@arm.com>
799 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
800 * config/aarch64/iterators.md (VALLDI): New.
802 2013-01-14 Uros Bizjak <ubizjak@gmail.com>
803 Andi Kleen <ak@linux.intel.com>
806 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
807 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
810 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
812 * config/avr/avr-stdint.h: Remove trailing blanks.
813 * config/avr/avr-log.h: Same.
814 * config/avr/avr-arch.h: Same.
815 * config/avr/avr-devices.c: Same.
816 * config/avr/avr-dimode.md: Same.
817 * config/avr/predicates.md: Same.
818 * config/avr/avr-c.c: Same. And fix typo.
820 * config/avr/avr-protos.h: Same. And:
821 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
822 (init_cumulative_args): Rename to avr_init_cumulative_args.
823 (expand_prologue): Rename to avr_expand_prologue.
824 (expand_epilogue): Rename to avr_expand_epilogue.
825 (adjust_insn_length): Rename to avr_adjust_insn_length.
826 (notice_update_cc): Rename to avr_notice_update_cc.
827 (final_prescan_insn): Rename to avr_final_prescan_insn.
828 * config/avr/avr.c: Same.
829 * config/avr/avr.h: Same.
830 * config/avr/avr.md: Remove trailing blanks.
831 (prologue): Use avr_expand_prologue.
832 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
834 2013-01-14 Richard Biener <rguenther@suse.de>
836 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
837 verify_location, collect_subblocks): New functions.
838 (verify_gimple_in_cfg): Verify that locations only reference
839 BLOCKs in the functions BLOCK tree.
841 2013-01-14 Richard Biener <rguenther@suse.de>
843 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
845 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
847 (insert_out_of_ssa_copy_on_edge): Likewise.
848 (rewrite_close_phi_out_of_ssa): Likewise.
849 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
851 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
852 propagated constants.
853 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
856 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
858 * config/avr/avr-modes.def: Add GPL copyright notice.
860 2013-01-13 Uros Bizjak <ubizjak@gmail.com>
862 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
863 MEMMODEL_MASK to determine memory model.
864 (atomic_store<mode>): Ditto from operands[2].
865 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
867 2013-01-13 Jakub Jelinek <jakub@redhat.com>
870 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
871 (fold_gimple_assign): Don't call unshare_expr here.
872 (fold_ctor_reference): Call unshare_expr.
874 2013-01-13 Terry Guo <terry.guo@arm.com>
876 * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
877 * doc/fragments.texi: Document MULTILIB_REUSE.
878 * gcc.c (multilib_reuse): New internal spec.
879 (set_multilib_dir): Also search multilib from multilib_reuse.
880 * genmultilib (tmpmultilib3): Refactor code.
881 (tmpmultilib4): Ditto.
882 (multilib_reuse): New multilib argument.
884 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
886 * Makefile.in: Update copyright.
888 2013-01-12 Tom de Vries <tom@codesourcery.com>
891 * calls.c (expand_call): Check if arg_nr is valid.
893 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
895 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
896 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
897 documentation. Add missing '__' in front of
898 __builtin_ia32_packssdw256.
900 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
903 * config/s390/s390.c (s390_preferred_reload_class): Do not return
904 NO_REGS for larl operands.
905 (s390_reload_larl_operand): Use s390_load_address instead of
908 2013-01-11 Richard Biener <rguenther@suse.de>
910 * tree-cfg.c (verify_node_sharing_1): Split out from ...
911 (verify_node_sharing): ... here.
912 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
914 2013-01-11 Eric Botcazou <ebotcazou@adacore.com>
916 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
917 Substitute TREECHECKING.
918 * configure: Regenerate.
919 * Makefile.in (TREECHECKING): New.
921 2013-01-11 Richard Guenther <rguenther@suse.de>
923 PR tree-optimization/44061
924 * tree-vrp.c (extract_range_basic): Compute zero as
925 value-range for __builtin_constant_p of function parameters.
927 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
929 Update copyright years.
931 2013-01-10 Vladimir Makarov <vmakarov@redhat.com>
933 PR rtl-optimization/55672
934 * lra-eliminations.c (mark_not_eliminable): Permit addition with
935 const to be eliminable.
937 2013-01-10 David Edelsohn <dje.gcc@gmail.com>
939 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
940 * configure: Regenerate.
942 2013-01-10 Richard Biener <rguenther@suse.de>
944 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
946 2013-01-10 Richard Biener <rguenther@suse.de>
949 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
950 locations for virtual PHI arguments.
951 (rewrite_update_phi_arguments): Likewise.
953 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
955 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
958 2013-01-10 Jakub Jelinek <jakub@redhat.com>
960 PR tree-optimization/55921
961 * tree-complex.c (expand_complex_asm): New function.
962 (expand_complex_operations_1): Call it for GIMPLE_ASM.
964 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
967 * config/s390/s390.c (s390_symref_operand_p)
968 (s390_loadrelative_operand_p): Merge the two functions.
969 (s390_check_qrst_address, print_operand_address): Add parameters
970 to s390_loadrelative_operand_p invokation.
971 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
972 (s390_reload_larl_operand, s390_secondary_reload): Use
973 s390_loadrelative_operand_p instead of s390_symref_operand_p.
974 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
976 2013-01-09 Mike Stump <mikestump@comcast.net>
978 * dse.c (record_store): Remove unnecessary assert.
980 2013-01-09 Jan Hubicka <jh@suse.cz>
982 PR tree-optimization/55569
983 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
984 * cfgloop.h (scale_loop_profile): Likewise.
986 2013-01-09 Jan Hubicka <jh@suse.cz>
989 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
991 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
993 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
996 * expr.h (maybe_emit_group_store): Declare.
997 * expr.c (maybe_emit_group_store): New function.
998 * builtins.c (expand_builtin_int_roundingfn): Call it.
999 (expand_builtin_int_roundingfn_2): Likewise.
1001 2013-01-09 Vladimir Makarov <vmakarov@redhat.com>
1003 PR rtl-optimization/55829
1004 * lra-constraints.c (match_reload): Add code for absent output.
1005 (curr_insn_transform): Add code for reloads of matched inputs
1008 2013-01-09 Uros Bizjak <ubizjak@gmail.com>
1010 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
1011 attribute of movddup insn to DF.
1012 (*vec_interleave_lowv2df): Ditto.
1013 (vec_dupv2df): Ditto.
1015 2013-01-09 Jan Hubicka <jh@suse.cz>
1017 PR tree-optimiation/55875
1018 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
1019 EVERY_ITERATION parameter.
1020 (number_of_iterations_exit): Check if exit is executed every iteration.
1021 (idx_infer_loop_bounds): Similarly here.
1022 (n_of_executions_at_most): Simplify
1023 to only test for cases where statement is dominated by the
1024 particular bound; handle correctly the "postdominance" test.
1025 (scev_probably_wraps_p): Use max loop iterations info
1026 as a global bound first.
1028 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
1029 Nick Clifton <nickc@redhat.com>
1031 * config/v850/v850.md (cbranchsf4): New pattern.
1032 (cstoresf4): New pattern.
1033 (cbranchdf4): New pattern.
1034 (cstoredf4): New pattern.
1035 (movsicc): Disallow floating point comparisons.
1036 (cmpsf_le_insn): Fix order of operators.
1037 (cmpsf_lt_insn): Likewise.
1038 (cmpsf_eq_insn): Likewise.
1039 (cmpdf_le_insn): Likewise.
1040 (cmpdf_lt_insn): Likewise.
1041 (cmpdf_eq_insn): Likewise.
1042 (cmpsf_ge_insn): Use LE comparison.
1043 (cmpdf_ge_insn): Likewise.
1044 (cmpsf_gt_insn): Use LT comparison.
1045 (cmpdf_gt_insn): Likewise.
1046 (cmpsf_ne_insn): Delete pattern.
1047 (cmpdf_ne_insn): Delete pattern.
1048 * config/v850/v850.c (v850_gen_float_compare): Use
1049 gen_cmpdf_eq_insn for NE comparison.
1050 (v850_float_z_comparison_operator)
1051 (v850_float_nz_comparison_operator): Move from here ...
1052 * config/v850/predicates.md: ... to here. Move GT and GE
1053 comparisons into v850_float_z_comparison_operator.
1054 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
1056 (v850_float_nz_comparison_operator): Likewise.
1058 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1060 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
1061 with calls to gen_insvsi/gen_insvdi.
1063 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1065 * config/i386/i386.c (initial_ix86_tune_features): Set up
1066 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
1068 2013-01-09 Steven Bosscher <steven@gcc.gnu.org>
1069 Jakub Jelinek <jakub@redhat.com>
1071 PR tree-optimization/48189
1072 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
1073 If nitercst is 0, don't predict the exit edge.
1075 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
1077 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
1078 in asm_fprintf with reg_names.
1079 (aarch64_print_operand_address): Likewise.
1080 (aarch64_return_addr): Likewise.
1081 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
1083 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1085 * config/pa/pa.h (VAL_U6_BITS_P): Define.
1086 (INT_U6_BITS): Likewise.
1087 * config/pa/predicates.md (uint6_operand): New predicate.
1088 (shift5_operand, shift6_operand): Likewise.
1089 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
1091 (lshrdi3): Use shift6_operand.
1092 (shrpsi4, shrpdi4): New insn patterns.
1093 (extzv): Delete expander.
1094 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
1095 predicates in unamed zero extract patterns. Tighten common constraint.
1096 (extv): Delete expander.
1097 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
1098 predicates in unamed sign extract patterns. Tighten common constraint.
1099 (insv): Delete expander.
1100 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
1101 predicates in unamed insert patterns. Tighten common constraint.
1102 Change uint32_operand predicate to uint6_operand predicate in unamed
1103 DImode pattern to insert constant values of type 1...1xxxx.
1105 2013-01-04 Jan Hubicka <jh@suse.cz>
1107 PR tree-optimization/55823
1108 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
1111 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1112 Uros Bizjak <ubizjak@gmail.com>
1114 PR rtl-optimization/55845
1115 * df-problems.c (can_move_insns_across): Stop scanning at
1116 volatile_insn_p source instruction or give up if
1117 across_from .. across_to range contains any volatile_insn_p
1120 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1122 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
1123 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
1125 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
1126 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
1128 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1131 * asan.c (asan_clear_shadow): New function.
1132 (asan_emit_stack_protection): Use it.
1134 2013-01-08 Tejas Belagod <tejas.belagod@arm.com>
1136 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
1137 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
1138 with tab instead of space.
1140 2013-01-08 Nick Clifton <nickc@redhat.com>
1142 * config/rl78/rl78.c (rl78_expand_prologue): Always select
1143 register bank 0 at the start of an interrupt handler.
1144 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
1147 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1149 * config/aarch64/aarch64-simd.md
1150 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
1151 (aarch64_simd_bsl): Likewise.
1152 (aarch64_vcond_internal<mode>): Likewise.
1153 (vcond<mode><mode>): Likewise.
1154 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
1155 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
1157 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
1159 * config/aarch64/aarch64-builtins.c
1160 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
1162 2013-01-08 Martin Jambor <mjambor@suse.cz>
1165 * tree-sra.c (analyze_access_subtree): Return true also after
1166 potentially creating a debug-only replacement.
1168 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1171 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
1173 PR tree-optimization/54120
1174 * tree-vrp.c (range_fits_type_p): Don't allow
1175 src_precision < precision from signed vr to unsigned_p
1176 if vr->min or vr->max is negative.
1177 (simplify_float_conversion_using_ranges): Test can_float_p
1178 against CODE_FOR_nothing.
1180 2013-01-08 Jakub Jelinek <jakub@redhat.com>
1181 Richard Biener <rguenther@suse.de>
1184 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
1185 types instead of just INTEGER_TYPE types.
1187 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
1189 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
1192 2013-01-07 Steve Ellcey <sellcey@mips.com>
1195 * config/mips/mips.opt: Change mad to mmad to match documentation.
1197 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1200 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
1203 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1206 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
1207 (avr_addrspace_t): Add .section_name field.
1208 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
1210 (avr_addrspace): Same. Initialize .section_name. Remove last
1211 NULL entry. Put __memx into .progmemx.data.
1212 (progmem_section_prefix): Remove.
1213 (avr_asm_init_sections): No need to initialize progmem_section.
1214 (avr_asm_named_section): Use avr_addrspace[].section_name to get
1215 section name prefix.
1216 (avr_asm_select_section): Ditto. And use get_unnamed_section to
1217 retrieve the progmem section.
1218 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
1219 boundary to run over avr_addrspace[].
1220 (avr_register_target_pragmas): Ditto.
1222 2013-01-06 Jakub Jelinek <jakub@redhat.com>
1224 * varasm.c (output_constant_def_contents): For asan_protect_global
1225 protected strings, adjust DECL_ALIGN if needed, before testing for
1227 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
1228 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
1230 (output_object_block): For asan protected decls, emit asan padding
1231 after their contents.
1232 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
1233 (asan_finish_file): Test it here instead.
1235 2013-01-07 Nick Clifton <nickc@redhat.com>
1236 Matthias Klose <doko@debian.org>
1237 Doug Kwan <dougkwan@google.com>
1238 H.J. Lu <hongjiu.lu@intel.com>
1241 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
1243 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
1245 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
1247 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
1249 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
1251 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1254 * doc/install.texi (Cross-Compiler-Specific Options): Document
1257 2013-01-07 Tejas Belagod <tejas.belagod@arm.com>
1259 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
1260 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
1261 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
1262 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
1263 vqmovun_high_s64): Fix source operand number and update copyright.
1265 2013-01-07 Richard Biener <rguenther@suse.de>
1268 * gimple.h (gimple_call_builtin_p): New overload.
1269 * gimple.c (validate_call): New function.
1270 (gimple_call_builtin_p): Likewise.
1271 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
1272 Use gimple_call_builtin_p.
1273 (find_func_clobbers): Likewise.
1274 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
1275 (strlen_optimize_stmt): Likewise.
1277 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1279 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
1280 (vld1q_dup_*): Likewise.
1282 (vld1q_*): Likewise.
1283 (vld1_lane_*): Likewise.
1284 (vld1q_lane_*): Likewise.
1286 2013-01-07 Richard Biener <rguenther@suse.de>
1288 * lto-streamer.h (LTO_minor_version): Bump to 2.
1290 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
1292 * config/aarch64/aarch64-protos.h
1293 (aarch64_const_double_zero_rtx_p): Rename to...
1294 (aarch64_float_const_zero_rtx_p): ...this.
1295 (aarch64_float_const_representable_p): New.
1296 (aarch64_output_simd_mov_immediate): Likewise.
1297 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
1298 move immediate case.
1299 * config/aarch64/aarch64.c
1300 (aarch64_const_double_zero_rtx_p): Rename to...
1301 (aarch64_float_const_zero_rtx_p): ...this.
1302 (aarch64_print_operand): Allow printing of new constants.
1303 (aarch64_valid_floating_const): New.
1304 (aarch64_legitimate_constant_p): Check for valid floating-point
1306 (aarch64_simd_valid_immediate): Likewise.
1307 (aarch64_vect_float_const_representable_p): New.
1308 (aarch64_float_const_representable_p): Likewise.
1309 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
1310 (aarch64_output_simd_mov_immediate): New.
1311 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
1312 (*movdf_aarch64): Likewise.
1313 * config/aarch64/constraints.md (Ufc): New.
1314 (Y): call aarch64_float_const_zero_rtx.
1315 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
1317 2013-01-07 Richard Biener <rguenther@suse.de>
1319 PR tree-optimization/55888
1320 PR tree-optimization/55862
1321 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
1322 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
1323 not if it is contained therein.
1325 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1327 * config/avr/t-avr: Typo.
1329 2013-01-07 Georg-Johann Lay <avr@gjlay.de>
1332 * config/avr/t-avr: Don't automatically rebuild
1333 $(srcdir)/config/avr/t-multilib
1334 $(srcdir)/config/avr/avr-tables.opt
1335 $(srcdir)/doc/avr-mmcu.texi
1336 (avr-mcus): New phony target to build them on request.
1337 (s-avr-mlib, s-avr-mmcu-texi): Remove.
1338 * avr/avr-mcus.def: Adjust comments.
1340 2013-01-07 Uros Bizjak <ubizjak@gmail.com>
1342 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
1344 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1346 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
1348 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1350 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
1352 2013-01-05 David Edelsohn <dje.gcc@gmail.com>
1354 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
1355 to generate profiling.
1356 * config/rs6000/aix64.h (LIB_SPEC): Same.
1358 2013-01-04 Andrew Pinski <apinski@cavium.com>
1360 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
1362 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1364 2013-01-04 Uros Bizjak <ubizjak@gmail.com>
1366 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
1368 (ix86_expand_move): Ditto.
1369 (ix86_zero_extend_to_Pmode): Ditto.
1370 (ix86_expand_call): Ditto.
1371 (ix86_expand_special_args_builtin): Ditto.
1372 (ix86_expand_builtin): Ditto.
1374 2013-01-04 Richard Biener <rguenther@suse.de>
1376 PR tree-optimization/55862
1377 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
1378 translating them through PHI nodes.
1380 2013-01-04 Martin Jambor <mjambor@suse.cz>
1382 PR tree-optimization/55755
1383 * tree-sra.c (sra_modify_assign): Do not check that an access has no
1384 children when trying to avoid producing a VIEW_CONVERT_EXPR.
1386 2013-01-04 Marek Polacek <polacek@redhat.com>
1389 * opts.c (default_options_optimization): Clarify error message.
1391 2013-01-04 Richard Biener <rguenther@suse.de>
1394 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
1397 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1400 * config/pa/pa.md (movsi): Revert previous change.
1401 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
1404 2013-01-03 Richard Henderson <rth@redhat.com>
1406 * config/i386/i386.c (ix86_expand_move): Always assign to op1
1407 after eliminating TLS symbols.
1409 2013-01-03 Marc Glisse <marc.glisse@inria.fr>
1412 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
1413 * graphite-poly.c (debug_gmp_value): Likewise.
1415 2013-01-03 Uros Bizjak <ubizjak@gmail.com>
1418 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
1419 selected code model, define __code_mode_small__, __code_model_medium__,
1420 __code_model_large__, __code_model_32__ or __code_model_kernel__.
1421 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
1422 xchg temporary register with %k. Declare temporary register as
1424 [__x86_64__]: For medium and large code models, preserve %rbx register.
1426 2013-01-03 Richard Biener <rguenther@suse.de>
1428 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
1429 (dump_subscript): Adjust.
1430 (finalize_ddr_dependent): Do not dump redundant info.
1431 (analyze_siv_subscript): Adjust.
1432 (subscript_dependence_tester): Likewise.
1433 (compute_affine_dependence): Likewise.
1435 2013-01-03 Richard Biener <rguenther@suse.de>
1438 2013-01-03 Richard Biener <rguenther@suse.de>
1440 PR tree-optimization/55857
1441 * tree-vect-stmts.c (vectorizable_load): Do not setup
1442 re-alignment for invariant loads.
1444 2013-01-02 Richard Biener <rguenther@suse.de>
1446 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1447 invariant load do not generate a vector load from the scalar location.
1449 2013-01-03 Richard Biener <rguenther@suse.de>
1451 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
1452 for not vectorizing.
1453 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
1454 not build INDIRECT_REFs, call get_name once only.
1455 (vect_create_data_ref_ptr): Likewise. Dump base object kind
1456 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
1458 2013-01-03 Richard Biener <rguenther@suse.de>
1460 PR tree-optimization/55857
1461 * tree-vect-stmts.c (vectorizable_load): Do not setup
1462 re-alignment for invariant loads.
1464 2013-01-03 Richard Biener <rguenther@suse.de>
1467 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
1468 prefer a built-in decl.
1470 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1472 * gcc.c (process_command): Update copyright notice dates.
1473 * gcov.c (print_version): Likewise.
1474 * gcov-dump.c (print_version): Likewise.
1476 PR rtl-optimization/55838
1477 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1478 iv0.step, iv1.step and step.
1480 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1481 Marc Glisse <marc.glisse@inria.fr>
1483 PR tree-optimization/55832
1484 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1485 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1486 integer_{one,zero}_node.
1488 2013-01-03 Jakub Jelinek <jakub@redhat.com>
1491 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1492 * var-tracking.c (reverse_op): Don't add reverse ops to
1493 VALUEs that have already
1494 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1496 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
1498 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1500 2013-01-02 Teresa Johnson <tejohnson@google.com>
1502 * dumpfile.c (dump_loc): Print filename with location.
1503 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1504 new location_t parameter to emit complete unroll message with
1506 (canonicalize_loop_induction_variables): Compute loops location
1507 and pass to try_unroll_loop_completely.
1508 * loop-unroll.c (report_unroll_peel): New function.
1509 (peel_loops_completely): Use new dump format with location
1510 for main dumpfile message, and invoke report_unroll_peel on success.
1511 (decide_unrolling_and_peeling): Ditto.
1512 (decide_peel_once_rolling): Remove old dumpfile message subsumed
1513 by report_unroll_peel.
1514 (decide_peel_completely): Ditto.
1515 (decide_unroll_constant_iterations): Ditto.
1516 (decide_unroll_runtime_iterations): Ditto.
1517 (decide_peel_simple): Ditto.
1518 (decide_unroll_stupid): Ditto.
1519 * cfgloop.c (get_loop_location): New function.
1520 * cfgloop.h (get_loop_location): Declare.
1522 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1524 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1527 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1530 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1531 BLKmode objects when EXPAND_MEMORY is specified.
1533 2013-01-02 Sriraman Tallam <tmsriram@google.com>
1535 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1537 (fold_builtin_cpu): Do not share cpu model decls across statements.
1539 2013-01-02 Jason Merrill <jason@redhat.com>
1542 * tree.c (build_array_type_1): Revert earlier change.
1544 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
1546 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1548 * config/aarch64/aarch64-tune.md: Re-generate.
1550 2013-01-02 Richard Biener <rguenther@suse.de>
1552 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1553 invariant load do not generate a vector load from the scalar location.
1555 2013-01-02 Richard Biener <rguenther@suse.de>
1558 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1559 * configure: Regenerate.
1561 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1563 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1564 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1565 (expand_builtin_int_roundingfn_2): Keep the original target around
1566 for the fallback case.
1568 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1570 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1571 to be clear for sign changes.
1573 2013-01-01 Jan Hubicka <jh@suse.cz>
1575 * ipa-inline-analysis.c: Fix formatting.
1577 2013-01-01 Jakub Jelinek <jakub@redhat.com>
1579 PR tree-optimization/55831
1580 * tree-vect-loop.c (get_initial_def_for_induction): Use
1581 gsi_after_labels instead of gsi_start_bb.
1583 Copyright (C) 2013 Free Software Foundation, Inc.
1585 Copying and distribution of this file, with or without modification,
1586 are permitted in any medium without royalty provided the copyright
1587 notice and this notice are preserved.