1 2014-12-19 Kaz Kojima <kkojima@gcc.gnu.org>
3 * lra-constraints.c (process_address_1): Swap base_term and
4 index_term if INDEX_REG_CLASS is assigned to base_term already
5 when INDEX_REG_CLASS is a single register class.
7 2014-12-18 Vladimir Makarov <vmakarov@redhat.com>
9 * lra-constraints.c (lra-constraints.c): Exchange places of sclass
12 2014-12-18 Vladimir Makarov <vmakarov@redhat.com>
14 PR rtl-optimization/64291
15 * lra-remat.c (bad_for_rematerialization_p): Add UNPSEC_VLOATILE.
16 (create_cands): Process only output reload insn with potential
19 2014-12-18 H.J. Lu <hongjiu.lu@intel.com>
21 * config/i386/i386.c (ix86_expand_call): Skip setting up RAX
22 register for -mskip-rax-setup when there are no parameters
23 passed in vector registers.
24 * config/i386/i386.opt (mskip-rax-setup): New option.
25 * doc/invoke.texi: Document -mskip-rax-setup.
27 2014-12-18 Alan Lawrence <alan.lawrence@arm.com>
29 * config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): Handle shift
30 by 64 by moving const0_rtx.
31 (aarch64_ushr_simddi): Delete.
33 * config/aarch64/aarch64.md (enum unspec): Delete UNSPEC_USHR64.
35 2014-12-18 Alan Lawrence <alan.lawrence@arm.com>
37 * config/aarch64/aarch64.md (enum "unspec"): Remove UNSPEC_SSHR64.
39 * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): Change shift
40 amount to 63 if was 64.
41 (aarch64_sshr_simddi): Remove.
43 2014-12-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
45 * gcc/config/aarch64/aarch64.c (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL):
47 (aarch64_min_divisions_for_recip_mul): New function.
49 2014-12-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
51 * config/aarch64/aarch64-protos.h (tune-params): Add code alignment
53 * gcc/config/aarch64/aarch64.c (generic_tunings): Add code alignment
55 (cortexa53_tunings): Likewise.
56 (cortexa57_tunings): Likewise.
57 (thunderx_tunings): Likewise.
58 (aarch64_override_options): Use new alignment tunings.
60 2014-12-18 Martin Liska <mliska@suse.cz>
62 PR tree-optimization/64330
63 * ipa-icf.c (sem_variable::parse): Add checking
64 for externally visible symbols and do not introduce
65 an alias for an external declaration.
67 2014-12-18 Jan Hubicka <hubicka@ucw.cz>
70 * tree-inline.c (remap_gimple_stmt): Handle gimple_call_from_thunk_p
73 2014-12-18 Martin Liska <mliska@suse.cz>
76 * ipa-icf.c (sem_function::merge): Check for
77 decl_binds_to_current_def_p is newly added to merge operation.
79 2014-12-18 Bin Cheng <bin.cheng@arm.com>
81 PR tree-optimization/62178
82 * tree-ssa-loop-ivopts.c (cheaper_cost_with_cand): New function.
83 (iv_ca_replace): New function.
84 (try_improve_iv_set): New parameter try_replace_p.
85 Break local optimal fixed-point by calling iv_ca_replace.
86 (find_optimal_iv_set_1): Pass new argument to try_improve_iv_set.
88 2014-12-17 Dehao Chen <dehao@google.com>
90 * auto-profile.c (afdo_annotate_cfg): Invoke update_ssa in the right
92 (auto_profile): Recompute inline summary after processing cgraph node.
94 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
97 * config/sh/sh_treg_combine.cc (is_conditional_insn): New function.
98 (cbranch_trace): Add member rtx* condition_rtx_in_insn, initialize it
99 accordingly in constructor.
100 (cbranch_trace::branch_condition_rtx_ref): New function.
101 (cbranch_trace::branch_condition_rtx): Use branch_condition_rtx_ref.
102 (sh_treg_combine::try_invert_branch_condition): Invert condition rtx
103 in insn using reversed_comparison_code and validate_change instead of
105 (sh_treg_combine::execute): Look for conditional insns in basic blocks
106 in addition to conditional branches.
107 * config/sh/sh.md (*movsicc_div0s): Remove combine patterns.
109 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
112 * config/sh/sh_treg_combine.cc (sh_treg_combine::try_optimize_cbranch):
113 Combine ccreg inversion and cbranch into inverted cbranch.
115 2014-12-17 Vladimir Makarov <vmakarov@redhat.com>
117 * lra-constraints.c (process_alt_operands): Remove non
118 allocatable hard regs when considering
119 ira_prohibited_class_mode_regs.
121 2014-12-17 Jan Hubicka <hubicka@ucw.cz>
123 * sreal.h (sreal::normalize): Implement inline.
124 (sreal::normalize_up): New function.
125 (sreal::normalize_down): New function.
126 * sreal.c (sreal::normalize): Remove.
128 2014-12-17 James Greenhalgh <james.greenhalgh@arm.com>
130 * config/aarch64/aarch64.md (generic_sched): Delete it.
132 2014-12-17 Jan-Benedict Glaw <jbglaw@lug-owl.de>
134 * config/msp430/msp430.c (msp430_asm_output_addr_const_extra): Fix
135 unused argument warning.
137 2014-12-17 Pierre-Marie de Rodat <derodat@adacore.com>
139 * dwarf2out.h (struct array_descr_info): Remove the base_decl field.
140 * dwarf2out.c (enum dw_scalar_form): New.
141 (struct loc_descr_context): New.
142 (add_scalar_info): New.
143 (add_bound_info): Add a context parameter. Use add_scalar_info.
144 (loc_list_from_tree): Add a context parameter. Handle PLACEHOLDER_EXPR
145 nodes for type-related expressions. Likewise for base declarations.
146 (loc_descriptor_from_tree): Add a context parameter.
147 (subrange_type_die): Update calls to add_bound_info.
148 (tls_mem_loc_descriptor): Likewise.
149 (loc_list_for_address_of_addr_expr_of_indirect_ref): Add a context
150 parameter. Update calls to loc_list_from_tree.
151 (add_subscript_info): Update calls to add_bound_info.
152 (gen_array_type_die): Update calls to loc_list_from_tree and to
154 (descr_info_loc): Remove.
155 (add_descr_info_field): Remove.
156 (gen_descr_array_type_die): Switch add_descr_info_field calls into
157 add_scalar_info/add_bound_info ones.
158 (gen_subprogram_die): Update calls to loc_list_from_tree.
159 (gen_variable_die): Likewise.
161 2014-12-17 Pierre-Marie de Rodat <derodat@adacore.com>
163 * dwarf2out.c (print_loc_descr): New.
165 (print_attribute): New.
166 (print_loc_descr): New.
167 (print_die): Use print_dw_val.
168 (debug_dwarf_loc_descr): New.
169 * dwarf2out.h (debug_dwarf_loc_descr): New declaration.
171 2014-12-17 Pierre-Marie de Rodat <derodat@adacore.com>
173 * dwarf2out.c (gen_type_die_with_usage): Enable the array lang-hook
174 even when (dwarf_version < 3 && dwarf_strict).
175 (gen_descr_array_die): Do not output DW_AT_data_locationn,
176 DW_AT_associated, DW_AT_allocated and DW_AT_byte_stride DWARF
177 attributes when (dwarf_version < 3 && dwarf_strict).
179 2014-12-17 Pierre-Marie de Rodat <derodat@adacore.com>
181 * dwarf2out.h (enum array_descr_ordering): New.
182 (array_descr_dimen): Add a bounds_type structure field.
183 (struct array_descr_info): Add a field to hold index type information
184 and another one to hold ordering information.
185 * dwarf2out.c (gen_type_die_with_usage): Get the main variant before
186 invoking the array descriptor language hook. Initialize the
187 array_descr_info structure before calling the lang-hook.
188 (gen_descr_array_type_die): Use gen_type_die if not processing the main
189 type variant. Replace Fortran-specific code with generic one using
190 this new field. Add a GNAT descriptive type, if any. Output type
191 information for the array bound subrange, if any.
193 2014-12-17 H.J. Lu <hongjiu.lu@intel.com>
194 Jakub Jelinek <jakub@redhat.com>
195 Uros Bizjak <ubizjak@gmail.com>
198 * config/i386/i386-opts.h (ix86_align_data): New enum.
199 * config/i386/i386.c (ix86_data_alignment): Return the ABI
200 alignment value for -malign-data=abi, the cachine line size
201 for -malign-data=cacheline and the older GCC compatible
202 alignment value for for -malign-data=compat.
203 * config/i386/i386.opt (malign-data=): New.
204 * doc/invoke.texi: Document -malign-data=.
206 2014-12-17 Marek Polacek <polacek@redhat.com>
209 * match.pd: Add (x & ~m) | (y & m) -> ((x ^ y) & m) ^ x pattern.
211 2014-12-17 Jakub Jelinek <jakub@redhat.com>
213 PR tree-optimization/64322
214 * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
215 range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
217 2014-12-17 Tobias Burnus <burnus@net-b.de>
220 * flag-types.h (gfc_init_local_real, gfc_fcoarray,
221 gfc_convert): New enums; moved from fortran/.
223 2014-12-16 Jan Hubicka <hubicka@ucw.cz>
225 * fibonacci_heap.h (min): Return m_data instead of non-existing data.
227 2014-12-16 Jan Hubicka <hubicka@ucw.cz>
229 * ipa-inline-analysis.c (will_be_nonconstant_predicate): Consider
230 return values of const calls as constants.
231 (estimate_function_body_sizes): Expect calls to have false predicates.
233 2014-12-16 Jan Hubicka <hubicka@ucw.cz>
235 * hwint.c (abs_hwi, absu_hwi): Move to ...
236 * hwint.h (abs_hwi, absu_hwi): ... here; make inline.
238 2014-12-16 Marek Polacek <polacek@redhat.com>
241 * match.pd: Add ((1 << A) & 1) != 0 -> A == 0 and
242 ((1 << A) & 1) == 0 -> A != 0.
244 2014-12-16 Richard Biener <rguenther@suse.de>
246 * genmatch.c (parser::parser): Initialize capture_ids.
247 (parser::parse_pattern): Properly allocate capture_ids before
248 using them. Set capture_ids to zero when its lifetime is
250 (parser::parse_simplify): Allocate capture_ids only if
253 2014-12-16 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
255 * sreal.c: Include math.h later.
257 2014-12-16 Felix Yang <felix.yang@huawei.com>
259 PR rtl-optimization/64240
260 * ddg.c (mark_mem_use): Check *iter instead of *x.
262 2014-12-16 Martin Liska <mliska@suse.cz>
265 * sreal.c (sreal::operator*): Replace std::abs with absu_hwi.
267 2014-12-16 Igor Zamyatin <igor.zamyatin@intel.com>
269 * config/i386/i386.c (ix86_address_cost): Add explicit restriction
270 to RTL level for the check for PIC register.
272 2014-12-16 Uros Bizjak <ubizjak@gmail.com>
274 * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Move from here ...
275 * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): ... and here ...
276 * config/i386/gnu-user-common.h (TARGET_CAN_SPLIT_STACK): ... to here.
278 2014-12-16 Chung-Ju Wu <jasonwucj@gmail.com>
281 * config/nds32/nds32.md (casesi_internal): Add '=r' for clobber
284 2014-12-15 DJ Delorie <dj@redhat.com>
286 * config/rl78/rl78.h: Remove SHORT_IMMEDIATES_SIGN_EXTEND.
288 2014-12-15 Jan Hubicka <hubicka@ucw.cz>
291 * tree-streamer.c (preload_common_nodes): Skip preloading
292 of main_identifier_node, pid_type and optimization/option nodes.
294 2014-12-15 Vladimir Makarov <vmakarov@redhat.com>
296 PR rtl-optimization/63397
297 * ira-int.h (ira_overall_cost, ira_reg_cost, ira_mem_cost): Use
299 (ira_load_cost, ira_store_cost, ira_shuffle_cost): Ditto.
300 * ira.c (ira_overall_cost, ira_overall_cost_before): Ditto.
301 (ira_reg_cost, ira_mem_cost): Ditto.
302 (ira_load_cost, ira_store_cost, ira_shuffle_cost): Ditto.
303 (calculate_allocation_cost, do_reload): Use the right
304 format for int64_t values.
306 2014-12-15 Jan Hubicka <hubicka@ucw.cz>
308 * sreal.h (to_double): New method.
309 (shift): Do not ICE on 0.
310 * sreal.c: Include math.h
311 (sreal::to_double): New.
313 2014-12-15 Jakub Jelinek <jakub@redhat.com>
315 PR rtl-optimization/64316
316 * simplify-rtx.c (simplify_relational_operation_1): For
317 (eq/ne (and x y) x) and (eq/ne (and x y) y) optimizations use
318 CONST0_RTX instead of const0_rtx.
320 2014-12-15 Vladimir Makarov <vmakarov@redhat.com>
323 * ira.c (rtx_moveable_p): Prevent UNSPEC_VOLATILE moves.
325 2014-12-15 Vladimir Makarov <vmakarov@redhat.com>
327 * ira-int.h (ira_prohibited_class_mode_regs): Remove.
328 (struct target_ira_int): Move x_ira_prohibited_class_mode_regs to
330 * ira.h (struct target_ira): ... here.
331 (ira_prohibited_class_mode_regs): Define.
332 * lra-constraints.c (process_alt_operands): Add one more condition
333 to refuse alternative when reload pseudo of given class can not
334 hold value of given mode.
336 2014-12-15 Richard Biener <rguenther@suse.de>
338 PR tree-optimization/64312
339 * tree-ssa-sccvn.c (vn_reference_lookup_pieces): Use
340 vuse_ssa_val as callback to walk_non_aliased_vuses.
341 (vn_reference_lookup): Likewise.
343 2014-12-15 Segher Boessenkool <segher@kernel.crashing.org>
345 * gcc/config/rs6000/rs6000.md (*add>mode>3_imm_dot,
346 *add<mode>3_imm_dot2): Change the constraint for the second
347 alternative for operand 1 from "r" to "b".
349 2014-12-15 Richard Biener <rguenther@suse.de>
351 * vec.h (vec::safe_grow): Guard against a grow to zero size.
353 2014-12-15 Richard Biener <rguenther@suse.de>
356 * match.pd (X / CST -> X * (1 / CST): Use const_binop instead of
357 fold_binary to compute the constant to multiply with.
359 2014-12-15 Richard Biener <rguenther@suse.de>
362 * cfgloop.c (mark_loop_for_removal): Make safe against multiple
363 invocations on the same loop.
365 2014-12-15 Marek Polacek <polacek@redhat.com>
368 * fold-const.c (negate_expr_p): Add INTEGRAL_TYPE_P check.
370 2014-12-15 Renlin Li <renlin.li@arm.com>
372 * config/aarch64/aarch64.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
373 (CTZ_DEFINED_VALUE_AT_ZERO): Update to support more modes.
375 2014-12-15 Jakub Jelinek <jakub@redhat.com>
378 * tsan.c (instrument_func_entry): Insert __tsan_func_entry
379 call on edge from entry block to single succ instead
380 of after labels of single succ of entry block.
382 2014-12-15 Richard Biener <rguenther@suse.de>
384 PR tree-optimization/64284
385 * tree-ssa-threadupdate.c (duplicate_seme_region): Mark
386 the loop for removal if we copied the loop header.
388 2014-12-14 Jan Hubicka <hubicka@ucw.cz>
391 * cgraph.h (ipa_discover_readonly_nonaddressable_vars): Return bool.
392 * ipa.c (set_writeonly_bit): Track if reference was removed.
393 (ipa_discover_readonly_nonaddressable_vars): Return true if any
394 references was removed.
395 * ipa-reference.c (propagate): Return TODO_remove_functions if
396 reference was removed.
398 2014-12-14 Jan Hubicka <hubicka@ucw.cz>
400 * ipa.c (process_references): Fix conditoinal on flag_optimize
402 2014-12-14 Jan Hubicka <hubicka@ucw.cz>
405 * symtab.c (symbol_table::insert_to_assembler_name_hash
406 symbol_table::unlink_from_assembler_name_hash): Do not ICE when
407 DECL_ASSEMBLER_NAME is NULL.
409 2014-12-14 Jan Hubicka <hubicka@ucw.cz>
411 * cgraphunit.c (analyze_functions): Always analyze targets of aliases.
413 2014-12-14 Jan Hubicka <hubicka@ucw.cz>
416 * tree.c (virtual_method_call_p): Return false when OTR type has
419 2014-12-14 Jan Hubicka <hubicka@ucw.cz>
421 * cgraphunit.c (analyze_functions): Do not analyze extern inline
422 funtions when not optimizing; skip comdat locals.
424 2014-12-14 H.J. Lu <hongjiu.lu@intel.com>
426 PR rtl-optimization/64037
427 * combine.c (setup_incoming_promotions): Pass the argument
428 before any promotions happen to promote_function_mode.
430 2014-12-12 Thomas Schwinge <thomas@codesourcery.com>
432 * config/nvptx/nvptx.h (ASM_OUTPUT_ALIGN): Define as a C statment.
434 2014-12-12 Vladimir Makarov <vmakarov@redhat.com>
437 * lra-constraints.c (process_alt_operands): Refuse alternative
438 when reload pseudo of given class can not hold value of given
441 2014-12-12 Thomas Schwinge <thomas@codesourcery.com>
443 * gimple-walk.c (walk_gimple_op) <GIMPLE_OMP_FOR>: Also check
444 intermediate walk_tree results for for_incr.
445 <GIMPLE_OMP_TARGET>: Walk child_fn and data_arg, too.
446 <GIMPLE_OMP_CRITICAL, GIMPLE_OMP_ATOMIC_STORE>: Pretty printing.
448 2014-12-12 Richard Sandiford <richard.sandiford@arm.com>
451 * wide-int.h (wi::div_round, wi::mod_round): Fix rounding of tied
453 * double-int.c (div_and_round_double): Fix handling of unsigned
454 cases. Use same rounding approach as wide-int.h.
456 2014-12-12 Marek Polacek <polacek@redhat.com>
459 * fold-const.c (fold_binary_loc): Add ANY_INTEGRAL_TYPE_P check.
461 2014-12-12 Jakub Jelinek <jakub@redhat.com>
463 PR tree-optimization/64269
464 * tree-ssa-forwprop.c (simplify_builtin_call): Bail out if
465 len2 or diff are too large.
467 2014-12-12 Richard Biener <rguenther@suse.de>
470 * tree-cfg.c (replace_uses_by): Guard assert properly.
472 2014-12-12 Anthony Green <green@moxielogic.com>
474 * config/moxie/moxie.md: Add use of zex instruction.
476 2014-12-12 Marc Glisse <marc.glisse@inria.fr>
478 * real.h (HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
479 HONOR_SIGN_DEPENDENT_ROUNDING): Replace macros with 3 overloaded
481 * real.c (HONOR_NANS): Fix indentation.
482 (HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
483 HONOR_SIGN_DEPENDENT_ROUNDING): Define three overloads.
484 * builtins.c (fold_builtin_cproj, fold_builtin_signbit,
485 fold_builtin_fmin_fmax, fold_builtin_classify): Simplify argument
487 * fold-const.c (operand_equal_p, fold_comparison, fold_binary_loc):
489 * gimple-fold.c (gimple_val_nonnegative_real_p): Likewise.
490 * ifcvt.c (noce_try_move, noce_try_minmax, noce_try_abs): Likewise.
491 * omp-low.c (omp_reduction_init): Likewise.
492 * rtlanal.c (may_trap_p_1): Likewise.
493 * simplify-rtx.c (simplify_const_relational_operation): Likewise.
494 * tree-ssa-dom.c (record_equality, record_edge_info): Likewise.
495 * tree-ssa-phiopt.c (value_replacement, abs_replacement): Likewise.
496 * tree-ssa-reassoc.c (eliminate_using_constants): Likewise.
497 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Likewise.
499 2014-12-12 Jan Hubicka <hubicka@ucw.cz>
501 * ipa-inline.c (ipa_inline): Fix condition on when
502 TODO_remove_unreachable_functions is needed.
504 2014-12-12 Jan Hubicka <hubicka@ucw.cz>
506 * ipa-devirt.c (possible_polymorphic_call_targets): Return early
507 if otr_type has no BINFO.
509 2014-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
511 PR rtl-optimization/63917
512 * ifcvt.c (cc_in_cond): New function.
513 (end_ifcvt_sequence): Make sure new generated insns do not clobber CC.
514 (noce_process_if_block, check_cond_move_block): Check CC references.
516 2014-12-11 Andrew Pinski <apinski@cavium.com>
518 * config/aarch64/aarch64-protos.h (tune_params): Add align field.
519 * config/aarch64/aarch64.c (generic_tunings): Specify align.
520 (cortexa53_tunings): Likewise.
521 (cortexa57_tunings): Likewise.
522 (thunderx_tunings): Likewise.
523 (aarch64_override_options): Set align_loops, align_jumps,
524 align_functions based on what the tuning struct.
526 2014-12-11 Eric Botcazou <ebotcazou@adacore.com>
528 * doc/md.texi (Insn Lengths): Fix description of (pc).
530 2014-12-11 Jan Hubicka <hubicka@ucw.cz>
533 * passes.c (execute_todo): Update call of remove_unreachable_nodes.
534 * ipa-chkp.c (chkp_produce_thunks): Use TODO_remove_functions.
535 * cgraphunit.c (symbol_table::process_new_functions): Add
536 IPA_SSA_AFTER_INLINING.
537 (ipa_passes): Update call of remove_unreachable_nodes.
538 (symbol_table::compile): Remove call of remove_unreachable_nodes.
539 * ipa-inline.c (inline_small_functions): Do not ICE with
541 (ipa_inline): Update symtab->state; fix formatting
542 update call of remove_unreachable_nodes.
543 * passes.c (execute_todo): Update call of remove_unreachable_nodes.
544 * cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
545 * cgraph.h (enum symtab_state): Add IPA_SSA_AFTER_INLINING.
546 (remove_unreachable_nodes): Update.
547 * ipa.c (process_references): Keep external references only
549 (walk_polymorphic_call_targets): Keep possible polymorphic call
550 target only when devirtualizing.
551 (symbol_table::remove_unreachable_nodes): Remove BEFORE_INLINING_P
553 (ipa_single_use): Update comment.
554 * ipa-pure-const.c (cdtor_p): New function.
555 (propagate_pure_const): Track if some cdtor was turned pure/const.
556 (execute): Return TODO_remove_functions if needed.
557 * ipa-comdats.c (ipa_comdats): Update comment.
559 2014-12-11 Aldy Hernandez <aldyh@redhat.com>
561 * dwarf2out.c (gen_lexical_block_die): Remove unused `depth'
563 (gen_inlined_subroutine_die): Same.
564 (gen_block_die): Same.
565 (decls_for_scope): Same.
567 2014-12-11 Renlin Li <renlin.li@arm.com>
569 * config/aarch64/aarch64-cores.def: Change all AARCH64_FL_FPSIMD to
570 AARCH64_FL_FOR_ARCH8.
571 * config/aarch64/aarch64.c (all_cores): Use FLAGS from
572 aarch64-cores.def file only.
574 2014-12-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
577 * diagnostic.c (diagnostic_action_after_output): Make it extern.
578 Take diagnostic_t argument instead of diagnostic_info. Count also
579 DK_WERROR towards max_errors.
580 (diagnostic_report_diagnostic): Update call according to the above.
581 (error_recursion): Likewise.
582 * diagnostic.h (diagnostic_action_after_output): Declare.
583 * pretty-print.c (pp_formatted_text_data): Delete.
584 (pp_append_r): Call output_buffer_append_r.
585 (pp_formatted_text): Call output_buffer_formatted_text.
586 (pp_last_position_in_text): Call output_buffer_last_position_in_text.
587 * pretty-print.h (output_buffer_formatted_text): New.
588 (output_buffer_append_r): New.
589 (output_buffer_last_position_in_text): New.
591 2014-12-11 Kyrylo Tkachov kyrylo.tkachov@arm.com
593 * config/aarch64/aarch64.c (aarch64_parse_extension): Update error
594 message to say +no only when removing extension.
596 2014-12-11 Andrew MacLeod <amacleod@redhat.com>
598 * config/tilepro/gen-mul-tables.cc: Add insn-codes.h to include list
599 for generator file. Add comment indicating it is a generated file.
600 * config/tilepro/mul-tables.c: Update generated file.
601 * config/tilegx/mul-tables.c: Likewise.
603 2014-12-11 Segher Boessenkool <segher@kernel.crashing.org>
605 * combine.c (try_combine): Do not allow combining a PARALLEL I2
606 with a register move I3 if that I2 is an asm.
608 2014-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
610 * config/arm/arm_neon.h (vrndqn_f32): Rename to...
611 (vrndnq_f32): ... this.
612 (vrndqa_f32): Rename to...
613 (vrndaq_f32): ... this.
614 (vrndqp_f32): Rename to...
615 (vrndpq_f32): ... this.
616 (vrndqm_f32): Rename to...
617 (vrndmq_f32): ... this.
618 (vrndx_f32): New intrinsic.
619 (vrndxq_f32): Likewise.
621 2014-12-11 Marek Polacek <polacek@redhat.com>
623 * fold-const.c (fold_negate_expr): Add ANY_INTEGRAL_TYPE_P check.
624 (extract_muldiv_1): Likewise.
625 (maybe_canonicalize_comparison_1): Likewise.
626 (fold_comparison): Likewise.
627 (tree_binary_nonnegative_warnv_p): Likewise.
628 (tree_binary_nonzero_warnv_p): Likewise.
629 * gimple-ssa-strength-reduction.c (legal_cast_p_1): Likewise.
630 * tree-scalar-evolution.c (simple_iv): Likewise.
631 (scev_const_prop): Likewise.
632 * tree-ssa-loop-niter.c (expand_simple_operations): Likewise.
633 * tree-vect-generic.c (expand_vector_operation): Likewise.
634 * tree.h (ANY_INTEGRAL_TYPE_CHECK): Define.
635 (ANY_INTEGRAL_TYPE_P): Define.
636 (TYPE_OVERFLOW_WRAPS, TYPE_OVERFLOW_UNDEFINED, TYPE_OVERFLOW_TRAPS):
637 Add ANY_INTEGRAL_TYPE_CHECK.
638 (any_integral_type_check): New function.
640 2014-12-11 Tobias Burnus <burnus@net-b.de>
641 Manuel López-Ibáñez <manu@gcc.gnu.org>
643 * error.c (gfc_get_terminal_width): Renamed from
644 get_terminal_width and use same-named common function.
645 (gfc_error_init_1): Update call.
647 2014-12-10 Aldy Hernandez <aldyh@redhat.com>
649 * gdbhooks.py (class DWDieRefPrinter): New class.
650 (build_pretty_printer): Register dw_die_ref's.
652 2014-12-10 Ilya Tocar <ilya.tocar@intel.com>
654 * config.gcc: Support "knl".
655 * config/i386/driver-i386.c (host_detect_local_cpu): Detect "knl".
656 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
658 * config/i386/i386.c (m_KNL): Define.
659 (processor_target_table): Add "knl".
661 (ix86_issue_rate): Add PROCESSOR_KNL.
662 (ix86_adjust_cost): Ditto.
663 (ia32_multipass_dfa_lookahead): Ditto.
664 (get_builtin_code_for_version): Handle "knl".
665 (fold_builtin_cpu): Ditto.
666 * config/i386/i386.h (TARGET_KNL): Define.
667 (processor_type): Add PROCESSOR_KNL.
668 * config/i386/i386.md (attr "cpu"): Add knl.
669 * config/i386/x86-tune.def: Add m_KNL.
671 2014-12-10 Jan Hubicka <hubicka@ucw.cz>
673 * doc/invoke.texi: (-devirtualize-at-ltrans): Document.
674 * lto-cgraph.c (lto_output_varpool_node): Mark initializer as removed
675 when it is not streamed to the given ltrans.
676 (compute_ltrans_boundary): Make code adding all polymorphic
677 call targets conditional with !flag_wpa || flag_ltrans_devirtualize.
678 * common.opt (fdevirtualize-at-ltrans): New flag.
680 2014-12-10 Ilya Verbin <ilya.verbin@intel.com>
682 * varpool.c (varpool_node::get_create): Force output of vars with
683 "omp declare target" attribute.
685 2014-12-10 Marc Glisse <marc.glisse@inria.fr>
687 * real.h (HONOR_NANS): Replace macro with 3 overloaded declarations.
688 * real.c: Include rtl.h and options.h.
689 (HONOR_NANS): Define three overloads.
690 * builtins.c (fold_builtin_classify, fold_builtin_unordered_cmp):
691 Simplify argument of HONOR_NANS.
692 * fold-const.c (combine_comparisons, fold_truth_not_expr,
693 fold_cond_expr_with_comparison, merge_truthop_with_opposite_arm,
694 fold_comparison, fold_binary_loc): Likewise.
695 * ifcvt.c (noce_try_move, noce_try_minmax): Likewise.
696 * ipa-inline-analysis.c (add_clause,
697 set_cond_stmt_execution_predicate): Likewise.
698 * match.pd: Likewise.
699 * rtlanal.c (may_trap_p_1): Likewise.
700 * simplify-rtx.c (simplify_const_relational_operation): Likewise.
701 * tree-if-conv.c (parse_predicate): Likewise.
702 * tree-ssa-ccp.c (valid_lattice_transition): Likewise.
703 * tree-ssa-ifcombine.c (ifcombine_ifandif): Likewise.
704 * tree-ssa-phiopt.c (minmax_replacement, neg_replacement): Likewise.
705 * tree-ssa-reassoc.c (eliminate_using_constants): Likewise.
706 * tree-ssa-tail-merge.c (gimple_equal_p): Likewise.
708 2014-12-10 Jakub Jelinek <jakub@redhat.com>
710 PR tree-optimization/62021
711 * omp-low.c (simd_clone_adjust_return_type): Use
712 vector of pointer_sized_int_node types instead vector of pointer
714 (simd_clone_adjust_argument_types): Likewise.
716 2014-12-10 Jakub Jelinek <jakub@redhat.com>
717 Evgeny Stupachenko <evstupac@gmail.com>
720 * config/i386/i386.c (expand_vec_perm_pblendv): If not testing_p,
721 set dcopy.target to a new pseudo.
723 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
725 * config/rs6000/rs6000.md (*add<mode>3): Remove condition.
727 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
729 * config/rs6000/40x.md (ppc403-compare): Remove "compare".
730 config/rs6000/440.md (ppc440-compare): Remove "compare".
731 config/rs6000/476.md (ppc476-compare): Remove "compare".
732 config/rs6000/601.md (ppc601-compare): Remove "compare".
733 config/rs6000/603.md (ppc603-compare): Remove "compare".
734 config/rs6000/6xx.md (ppc604-compare): Remove "compare".
735 config/rs6000/7450.md (ppc7450-compare): Remove "compare".
736 config/rs6000/7xx.md (ppc750-compare): Remove "compare".
737 config/rs6000/8540.md (ppc8540_su): Remove "compare".
738 config/rs6000/cell.md (cell-fast-cmp, cell-cmp-microcoded): Remove
740 config/rs6000/e300c2c3.md (ppce300c3_cmp): Remove "compare".
741 config/rs6000/e500mc.md (e500mc_su): Remove "compare".
742 config/rs6000/e500mc64.md (e500mc64_su2): Remove "compare".
743 config/rs6000/e5500.md (e5500_sfx2): Remove "compare".
744 config/rs6000/e6500.md (e6500_sfx2): Remove "compare".
745 config/rs6000/mpc.md (mpccore-compare): Remove "compare".
746 config/rs6000/power4.md (power4-compare): Remove "compare".
747 config/rs6000/power5.md (power5-compare): Remove "compare".
748 config/rs6000/power6.md (power6-compare): Remove "compare".
749 config/rs6000/power7.md (power7-compare): Remove "compare".
750 config/rs6000/power8.md (power8-compare): Remove "compare". Update
752 config/rs6000/rs6000.c (rs6000_adjust_cost) <TYPE_COMPARE>: Remove
754 (is_cracked_insn): Remove TYPE_COMPARE case.
755 (insn_must_be_first_in_group) <TYPE_COMPARE>: Remove (twice).
756 config/rs6000/rs6000.md (type): Remove "compare".
757 (cell_micro): Remove "compare".
758 config/rs6000/rs64.md (rs64a-compare): Remove "compare".
760 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
762 * config/rs6000/rs6000.md (*anddi3_2rld_dot, *anddi3_rld_dot2):
763 Change type from "compare" to "two".
765 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
768 * config/rs6000/predicates.md (unsigned_comparison_operator): New.
769 (signed_comparison_operator): New.
770 * config/rs6000/rs6000-protos.h (rs6000_emit_eqne): Declare.
771 * config/rs6000/rs6000.c (rs6000_emit_eqne): New function.
772 (rs6000_emit_sCOND): Remove ISEL test (move it to the expander).
773 * config/rs6000/rs6000.md (add<mode>3 for SDI): Expand DImode
774 add to addc,adde directly, if !TARGET_POWERPC64.
775 (sub<mode>3 for SDI): Expand DImode sub to subfc,subfe directly,
776 if !TARGET_POWERPC64.
777 (neg<mode>2): Delete expander.
778 (*neg<mode>2): Rename to "neg<mode>2".
779 (addti3, subti3): Delete.
780 (addti3, subti3): New expanders.
781 (*adddi3_noppc64, *subdi3_noppc64, *negdi2_noppc64): Delete.
782 (cstore<mode>4_unsigned): New expander.
783 (cstore<mode>4): Allow GPR as output (not just SI). Rewrite.
784 (cstore<mode>4 for FP): Remove superfluous quotes.
785 (*eq<mode>, *eq<mode>_compare, *plus_eqsi and splitter,
786 *compare_plus_eqsi and splitter, *plus_eqsi_compare and splitter,
787 *neg_eq0<mode>, *neg_eq<mode>, *ne0_<mode>, plus_ne0_<mode>,
788 compare_plus_ne0_<mode> and splitter, *compare_plus_ne0_<mode>_1 and
789 splitter, *plus_ne0_<mode>_compare and splitter, *leu<mode>,
790 *leu<mode>_compare and splitter, *plus_leu<mode>, *neg_leu<mode>,
791 *and_neg_leu<mode>, *ltu<mode>, *ltu<mode>_compare, *plus_ltu<mode>,
792 *plus_ltu<mode>_1, *plus_ltu<mode>compare, *neg_ltu<mode>, *geu<mode>,
793 *geu<mode>_compare and splitter, *plus_geu<mode>, *neg_geu<mode>,
794 *and_neg_geu<mode>, *plus_gt0<mode>, *gtu<mode>, *gtu<mode>_compare,
795 *plus_gtu<mode>, *plus_gtu<mode>_1, *plus_gtu<mode>_compare,
796 *neg_gtu<mode>, 12 anonymous insns, and 12 anonymous splitters):
798 (eq<mode>3, ne<mode>3): New.
799 (*neg_eq_<mode>, *neg_ne_<mode>): New.
800 (*plus_eq_<mode>, *plus_ne_<mode>): New.
801 (*minus_eq_<mode>, *minus_ne_<mode>): New.
803 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
806 * config/rs6000/predicates.md (adde_operand): New.
807 * config/rs6000/rs6000.md (add<mode>3_carry): New.
808 (*add<mode>3_imm_carry_pos): New.
809 (*add<mode>3_imm_carry_0): New.
810 (*add<mode>3_imm_carry_m1): New.
811 (*add<mode>3_imm_carry_neg): New.
812 (add<mode>3_carry_in): New.
813 (*add<mode>3_carry_in_internal): New.
814 (add<mode>3_carry_in_0): New.
815 (add<mode>3_carry_in_m1): New.
816 (subf<mode>3_carry): New.
817 (*subf<mode>3_imm_carry_0): New.
818 (*subf<mode>3_imm_carry_m1): New.
819 (subf<mode>3_carry_in): New.
820 (*subf<mode>3_carry_in_internal): New.
821 (subf<mode>3_carry_in_0): New.
822 (subf<mode>3_carry_in_m1): New.
823 (subf<mode>3_carry_in_xx): New.
825 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
828 * config/rs6000/rs6000.md (*add<mode>3_internal1): Rename to
830 (*add<mode>3_internal2, *add<mode>3_internal3, and (their splitters):
832 (*add<mode>3_dot, *add<mode>3_dot2): New.
833 (*add<mode>3_imm_dot, *add<mode>3_imm_dot2): New.
835 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
838 * config/rs6000/rs6000.md (*add<mode>3_internal1): Remove addic
841 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
844 * config/rs6000/rs6000.md (*ctr<mode>_internal1, *ctr<mode>_internal2,
845 *ctr<mode>_internal5, *ctr<mode>_internal6): Change "r" alternatives
846 to "b". Increase length.
847 (splitters for these): Split to cmp+addi instead of addic.
849 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
852 * config/rs6000/darwin.md (macho_low_si): Remove "r" alternative.
853 (macho_low_di): Ditto.
854 * config/rs6000/rs6000.md (*largetoc_low): Ditto.
855 (tocref<mode>): Ditto.
857 * config/rs6000/spe.md (mov_si<mode>_e500_subreg0_elf_low_be): Ditto.
858 (mov_si<mode>_e500_subreg0_elf_low_le): Ditto.
859 (mov_si<mode>_e500_subreg4_elf_low_be): Ditto. Reformat condition.
860 (mov_si<mode>_e500_subreg4_elf_low_le): Ditto.
862 2014-12-10 Segher Boessenkool <segher@kernel.crashing.org>
865 * config/rs6000/rs6000.c (TARGET_MD_ASM_CLOBBERS): Define.
866 (rs6000_md_asm_clobbers): New function.
868 2014-12-10 Felix Yang <felix.yang@huawei.com>
870 * config/aarch64/aarch64-protos.h (aarch64_function_profiler): Remove
871 declaration of removed function.
873 2014-12-10 Richard Biener <rguenther@suse.de>
876 (move_computations_dom_walker::before_dom_children): Clear
877 SSA_NAME_RANGE_INFO on moved stmts.
879 2014-12-10 Martin Liska <mliska@suse.cz>
881 * sreal.c (sreal::shift_right): New implementation
882 for int64_t as m_sig.
883 (sreal::normalize): Likewise.
884 (sreal::to_int): Likewise.
885 (sreal::operator+): Likewise.
886 (sreal::operator-): Likewise.
887 (sreal::operator*): Likewise.
888 (sreal::operator/): Likewise.
889 (sreal::signedless_minus): Removed.
890 (sreal::signedless_plus): Removed.
891 (sreal::debug): const keyword is added.
892 * sreal.h (sreal::operator<): New implementation
893 for int64_t as m_sig.
894 * ipa-inline.c (recursive_inlining): LONG_MIN is replaced
897 2014-12-10 Martin Liska <mliska@suse.cz>
899 * gimple-iterator.h (gsi_start_bb_nondebug): New function.
900 * ipa-icf-gimple.c (func_checker::compare_bb): Correct iteration
901 replaces loop based on precomputed number of non-debug statements.
903 2014-12-08 Alexander Ivchenko <alexander.ivchenko@intel.com>
905 * config/linux.c (linux_has_ifunc_p): Remove.
906 * config/linux.h (TARGET_HAS_IFUNC_P): Use default version.
908 2014-12-10 Mantas Mikaitis <mantas.mikaitis@arm.com>
910 * contrib/check_GNU_style.sh (col): Got rid of cut operation
911 from the pipe chain and instead added cut inside awk command.
913 2014-12-10 Richard Biener <rguenther@suse.de>
915 PR tree-optimization/64191
916 * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Do not
917 mark clobbers as necessary.
918 (eliminate_unnecessary_stmts): Keep clobbers live if we can.
920 2014-12-10 Jakub Jelinek <jakub@redhat.com>
923 * config/i386/sse.md (vec_dupv4sf): Move after
924 <mask_codefor><avx512>_vec_dup_gpr<mode><mask_name> pattern.
925 (*vec_dupv4si, *vec_dupv2di): Likewise.
926 (<mask_codefor><avx512>_vec_dup_mem<mode><mask_name>): Merge into ...
927 (<mask_codefor><avx512>_vec_dup_gpr<mode><mask_name>): ... this
929 (*vec_dup<mode> AVX2_VEC_DUP_MODE splitter): Disable for
930 TARGET_AVX512VL (for QI/HI scalar modes only if TARGET_AVX512BW
932 * config/i386/i386.c (enum ix86_builtins): Remove
933 IX86_BUILTIN_PBROADCASTQ256_MEM_MASK,
934 IX86_BUILTIN_PBROADCASTQ128_MEM_MASK and
935 IX86_BUILTIN_PBROADCASTQ512_MEM.
936 (bdesc_args): Use __builtin_ia32_pbroadcastq512_gpr_mask,
937 __builtin_ia32_pbroadcastq256_gpr_mask and
938 __builtin_ia32_pbroadcastq128_gpr_mask instead of *_mem_mask
939 regardless of OPTION_MASK_ISA_64BIT.
940 * config/i386/avx512fintrin.h (_mm512_set1_epi64,
941 _mm512_mask_set1_epi64, _mm512_maskz_set1_epi64): Use *_gpr_mask
942 builtins regardless of whether TARGET_64BIT is defined or not.
943 * config/i386/avx512vlintrin.h (_mm256_mask_set1_epi64,
944 _mm256_maskz_set1_epi64, _mm_mask_set1_epi64, _mm_maskz_set1_epi64):
947 * config/i386/sse.md (*mov<mode>_internal, *avx512f_gatherdi<mode>_2):
948 Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
950 2014-12-10 Oleg Endo <olegendo@gcc.gnu.org>
953 * doc/extend.texi (__builtin_sh_set_fpscr): Fix typo.
955 2014-12-10 Marek Polacek <polacek@redhat.com>
957 PR tree-optimization/61686
958 * tree-ssa-reassoc.c (range_entry_cmp): Use q->high instead of
961 2014-12-10 Kito Cheng <kito@0xlab.org>
963 * doc/libgcc.texi: Update text to match implementation in
966 2014-12-09 Trevor Saunders <tsaunders@mozilla.com>
968 * plugin.c, plugin.def, ggc.h, ggc-common.c, gengtype.h, gengtype.c,
969 gengtype-state.c, gengtype-parse.c, gentype-lex.l, gcc-plugin.h,
970 doc/plugins.texi, doc/gty.texi: Remove support for if_marked and
973 2014-12-10 Oleg Endo <olegendo@gcc.gnu.org>
976 * doc/extend.texi (__builtin_sh_get_fpscr, __builtin_sh_get_fpscr):
979 2014-12-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
982 * tree-ssa-reassoc.c (acceptable_pow_call): Disable transformation
983 for BUILT_IN_POW when flag_errno_math is present.
985 2014-12-09 Ilya Verbin <ilya.verbin@intel.com>
987 * lto-wrapper.c (compile_offload_image): Start processing in_argv
989 (run_gcc): Put offload objects into offload_argv, put LTO objects and
990 possible preceding arguments into lto_argv.
991 Pass offload_argv to compile_images_for_offload_targets instead of argv.
992 Use lto_argv for LTO recompilation instead of argv.
994 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
996 * doc/install.texi: Describe --with-aix-soname option.
998 2014-12-09 Alan Lawrence <alan.lawrence@arm.com>
1000 * config/aarch64/aarch64-simd.md (aarch64_get_lanedi): Remove.
1002 2014-12-09 Alan Lawrence <alan.lawrence@arm.com>
1005 * config/aarch64/aarch64-simd-builtins.def (be_checked_get_lane):
1007 * config/aarch64/aarch64-simd.md (aarch64_be_checked_get_lane<mode\>):
1009 * config/aarch64/arm_neon.h (aarch64_vget_lane_any): Use GCC
1010 vector extensions, __aarch64_lane, __builtin_aarch64_im_lane_boundsi.
1011 (__aarch64_vget_lane_f32, __aarch64_vget_lane_f64,
1012 __aarch64_vget_lane_p8, __aarch64_vget_lane_p16,
1013 __aarch64_vget_lane_s8, __aarch64_vget_lane_s16,
1014 __aarch64_vget_lane_s32, __aarch64_vget_lane_s64,
1015 __aarch64_vget_lane_u8, __aarch64_vget_lane_u16,
1016 __aarch64_vget_lane_u32, __aarch64_vget_lane_u64,
1017 __aarch64_vgetq_lane_f32, __aarch64_vgetq_lane_f64,
1018 __aarch64_vgetq_lane_p8, __aarch64_vgetq_lane_p16,
1019 __aarch64_vgetq_lane_s8, __aarch64_vgetq_lane_s16,
1020 __aarch64_vgetq_lane_s32, __aarch64_vgetq_lane_s64,
1021 __aarch64_vgetq_lane_u8, __aarch64_vgetq_lane_u16,
1022 __aarch64_vgetq_lane_u32, __aarch64_vgetq_lane_u64): Delete.
1023 (__aarch64_vdup_lane_any): Use __aarch64_vget_lane_any, remove
1025 (__aarch64_vdup_lane_f32, __aarch64_vdup_lane_f64,
1026 __aarch64_vdup_lane_p8, __aarch64_vdup_lane_p16,
1027 __aarch64_vdup_lane_s8, __aarch64_vdup_lane_s16,
1028 __aarch64_vdup_lane_s32, __aarch64_vdup_lane_s64,
1029 __aarch64_vdup_lane_u8, __aarch64_vdup_lane_u16,
1030 __aarch64_vdup_lane_u32, __aarch64_vdup_lane_u64,
1031 __aarch64_vdup_laneq_f32, __aarch64_vdup_laneq_f64,
1032 __aarch64_vdup_laneq_p8, __aarch64_vdup_laneq_p16,
1033 __aarch64_vdup_laneq_s8, __aarch64_vdup_laneq_s16,
1034 __aarch64_vdup_laneq_s32, __aarch64_vdup_laneq_s64,
1035 __aarch64_vdup_laneq_u8, __aarch64_vdup_laneq_u16,
1036 __aarch64_vdup_laneq_u32, __aarch64_vdup_laneq_u64): Remove argument
1037 to __aarch64_vdup_lane_any.
1038 (vget_lane_f32, vget_lane_f64, vget_lane_p8, vget_lane_p16,
1039 vget_lane_s8, vget_lane_s16, vget_lane_s32, vget_lane_s64,
1040 vget_lane_u8, vget_lane_u16, vget_lane_u32, vget_lane_u64,
1041 vgetq_lane_f32, vgetq_lane_f64, vgetq_lane_p8, vgetq_lane_p16,
1042 vgetq_lane_s8, vgetq_lane_s16, vgetq_lane_s32, vgetq_lane_s64,
1043 vgetq_lane_u8, vgetq_lane_u16, vgetq_lane_u32, vgetq_lane_u64,
1044 vdupb_lane_p8, vdupb_lane_s8, vdupb_lane_u8, vduph_lane_p16,
1045 vduph_lane_s16, vduph_lane_u16, vdups_lane_f32, vdups_lane_s32,
1046 vdups_lane_u32, vdupb_laneq_p8, vdupb_laneq_s8, vdupb_laneq_u8,
1047 vduph_laneq_p16, vduph_laneq_s16, vduph_laneq_u16, vdups_laneq_f32,
1048 vdups_laneq_s32, vdups_laneq_u32, vdupd_laneq_f64, vdupd_laneq_s64,
1049 vdupd_laneq_u64, vfmas_lane_f32, vfma_laneq_f64, vfmad_laneq_f64,
1050 vfmas_laneq_f32, vfmss_lane_f32, vfms_laneq_f64, vfmsd_laneq_f64,
1051 vfmss_laneq_f32, vmla_lane_f32, vmla_lane_s16, vmla_lane_s32,
1052 vmla_lane_u16, vmla_lane_u32, vmla_laneq_f32, vmla_laneq_s16,
1053 vmla_laneq_s32, vmla_laneq_u16, vmla_laneq_u32, vmlaq_lane_f32,
1054 vmlaq_lane_s16, vmlaq_lane_s32, vmlaq_lane_u16, vmlaq_lane_u32,
1055 vmlaq_laneq_f32, vmlaq_laneq_s16, vmlaq_laneq_s32, vmlaq_laneq_u16,
1056 vmlaq_laneq_u32, vmls_lane_f32, vmls_lane_s16, vmls_lane_s32,
1057 vmls_lane_u16, vmls_lane_u32, vmls_laneq_f32, vmls_laneq_s16,
1058 vmls_laneq_s32, vmls_laneq_u16, vmls_laneq_u32, vmlsq_lane_f32,
1059 vmlsq_lane_s16, vmlsq_lane_s32, vmlsq_lane_u16, vmlsq_lane_u32,
1060 vmlsq_laneq_f32, vmlsq_laneq_s16, vmlsq_laneq_s32, vmlsq_laneq_u16,
1061 vmlsq_laneq_u32, vmul_lane_f32, vmul_lane_s16, vmul_lane_s32,
1062 vmul_lane_u16, vmul_lane_u32, vmuld_lane_f64, vmuld_laneq_f64,
1063 vmuls_lane_f32, vmuls_laneq_f32, vmul_laneq_f32, vmul_laneq_f64,
1064 vmul_laneq_s16, vmul_laneq_s32, vmul_laneq_u16, vmul_laneq_u32,
1065 vmulq_lane_f32, vmulq_lane_s16, vmulq_lane_s32, vmulq_lane_u16,
1066 vmulq_lane_u32, vmulq_laneq_f32, vmulq_laneq_f64, vmulq_laneq_s16,
1067 vmulq_laneq_s32, vmulq_laneq_u16, vmulq_laneq_u32) : Use
1068 __aarch64_vget_lane_any.
1070 2014-12-09 Alan Lawrence <alan.lawrence@arm.com>
1073 * gcc/config/aarch64-builtins.c (aarch64_simd_expand_args): Update error
1074 message for SIMD_ARG_CONSTANT.
1076 2014-12-09 Alan Lawrence <alan.lawrence@arm.com>
1079 * config/aarch64/aarch64-builtins.c (aarch64_types_binopv_qualifiers,
1080 TYPES_BINOPV): Delete.
1081 (enum aarch64_builtins): Add AARCH64_BUILTIN_SIMD_LANE_CHECK and
1082 AARCH64_SIMD_PATTERN_START.
1083 (aarch64_init_simd_builtins): Register
1084 __builtin_aarch64_im_lane_boundsi; use AARCH64_SIMD_PATTERN_START.
1085 (aarch64_simd_expand_builtin): Handle AARCH64_BUILTIN_LANE_CHECK; use
1086 AARCH64_SIMD_PATTERN_START.
1088 * config/aarch64/aarch64-simd.md (aarch64_im_lane_boundsi): Delete.
1089 * config/aarch64/aarch64-simd-builtins.def (im_lane_bound): Delete.
1091 * config/aarch64/arm_neon.h (__AARCH64_LANE_CHECK): New.
1092 (__aarch64_vget_lane_f64, __aarch64_vget_lane_s64,
1093 __aarch64_vget_lane_u64, __aarch64_vset_lane_any, vdupd_lane_f64,
1094 vdupd_lane_s64, vdupd_lane_u64, vext_f32, vext_f64, vext_p8, vext_p16,
1095 vext_s8, vext_s16, vext_s32, vext_s64, vext_u8, vext_u16, vext_u32,
1096 vext_u64, vextq_f32, vextq_f64, vextq_p8, vextq_p16, vextq_s8,
1097 vextq_s16, vextq_s32, vextq_s64, vextq_u8, vextq_u16, vextq_u32,
1098 vextq_u64, vmulq_lane_f64): Use __AARCH64_LANE_CHECK.
1100 2014-12-09 Alan Lawrence <alan.lawrence@arm.com>
1103 * config/aarch64/arm_neon.h (__AARCH64_NUM_LANES, __aarch64_lane *2):
1105 (aarch64_vset_lane_any): Redefine using previous, same for BE + LE.
1106 (vset_lane_f32, vset_lane_f64, vset_lane_p8, vset_lane_p16,
1107 vset_lane_s8, vset_lane_s16, vset_lane_s32, vset_lane_s64,
1108 vset_lane_u8, vset_lane_u16, vset_lane_u32, vset_lane_u64): Remove
1110 (vld1_lane_f32, vld1_lane_f64, vld1_lane_p8, vld1_lane_p16,
1111 vld1_lane_s8, vld1_lane_s16, vld1_lane_s32, vld1_lane_s64,
1112 vld1_lane_u8, vld1_lane_u16, vld1_lane_u32, vld1_lane_u64): Call
1113 __aarch64_vset_lane_any rather than vset_lane_xxx.
1115 2014-12-09 Alan Lawrence <alan.lawrence@arm.com>
1117 * config/aarch64/aarch64.md (absdi2): Remove scratch operand by
1118 earlyclobbering result operand.
1120 * config/aarch64/aarch64-builtins.c (aarch64_types_unop_qualifiers):
1121 Remove final qualifier_internal.
1122 (aarch64_fold_builtin): Stop folding abs builtins, except on floats.
1124 2014-12-09 Wilco Dijkstra <wilco.dijkstra@arm.com>
1126 * gcc/config/aarch64/aarch64-protos.h (tune-params): Add reasociation
1128 * gcc/config/aarch64/aarch64.c (TARGET_SCHED_REASSOCIATION_WIDTH):
1130 (aarch64_reassociation_width): New function.
1131 (generic_tunings): Add reassociation tuning parameters.
1132 (cortexa53_tunings): Likewise.
1133 (cortexa57_tunings): Likewise.
1134 (thunderx_tunings): Likewise.
1136 2014-12-09 Andrew Pinski <apinski@cavium.com>
1137 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1139 * config/aarch64/aarch64.c (AARCH64_FUSE_CMP_BRANCH): New define.
1140 (thunderx_tunings): Add AARCH64_FUSE_CMP_BRANCH to fuseable_ops.
1141 (aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_CMP_BRANCH.
1143 2014-12-09 David Malcolm <dmalcolm@redhat.com>
1146 * dumpfile.c (gcc::dump_manager::get_dump_file_info_by_switch):
1148 (gcc::dump_manager::get_dump_file_name): Split out bulk of
1149 implementation into a new overloaded variant taking a
1151 * dumpfile.h (gcc::dump_manager::get_dump_file_info_by_switch):
1153 (gcc::dump_manager::get_dump_file_name): New overloaded variant of
1154 this function, taking a dump_file_info *.
1156 2014-12-09 Uros Bizjak <ubizjak@gmail.com>
1160 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1162 PR rtl-optimization/64037
1163 * combine.c (setup_incoming_promotions): Pass the argument
1164 before any promotions happen to promote_function_mode.
1166 2014-12-09 Richard Biener <rguenther@suse.de>
1168 PR tree-optimization/64193
1169 * tree-ssa-alias.c (walk_non_aliased_vuses): Add valueize parameter
1170 and valueize the VUSE before looking up the def stmt.
1171 * tree-ssa-alias.h (walk_non_aliased_vuses): Adjust prototype.
1172 * tree-ssa-sccvn.c (vn_reference_lookup_pieces): Pass vn_valueize
1173 to walk_non_aliased_vuses.
1174 (vn_reference_lookup): Likewise.
1175 * tree-ssa-dom.c (lookup_avail_expr): Pass NULL as valueize
1176 callback to walk_non_aliased_vuses.
1178 2014-12-09 Richard Biener <rguenther@suse.de>
1181 * fold-const.c (fold_binary_loc): Use TREE_OVERFLOW_P.
1183 2014-12-09 Richard Biener <rguenther@suse.de>
1185 PR tree-optimization/64191
1186 * tree-vect-stmts.c (vect_stmt_relevant_p): Clobbers are
1187 not relevant (nor are their uses).
1189 2014-12-09 Ilya Enkovich <ilya.enkovich@intel.com>
1191 * lto/lto-partition.c (privatize_symbol_name): Correctly
1192 privatize instrumentation clones.
1194 2014-12-09 Ilya Enkovich <ilya.enkovich@intel.com>
1196 * lto-cgraph.c (input_cgraph_1): Don't break existing
1197 instrumentation clone references.
1198 * lto/lto-symtab.c (lto_cgraph_replace_node): Redirect
1199 instrumented_version references appropriately.
1201 2014-12-09 Ilya Enkovich <ilya.enkovich@intel.com>
1204 * tree-chkp.c (chkp_make_static_bounds): Share bounds var
1205 between nodes sharing assembler name.
1207 2014-12-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1210 * config/rs6000/rs6000.c (rs6000_emit_move): Do not split TFmode
1211 constant moves if -mupper-regs-df.
1213 * config/rs6000/rs6000.md (mov<mode>_64bit_dm): Optimize moving
1215 (movtd_64bit_nodm): Likewise.
1216 (mov<mode>_32bit, FMOVE128 case): Likewise.
1218 2014-12-08 Sandra Loosemore <sandra@codesourcery.com>
1220 * simplify-rtx.c (simplify_relational_operation_1): Handle
1221 simplification identities for BICS patterns.
1223 2014-12-08 Trevor Saunders <tsaunders@mozilla.com>
1225 * config/nvptx/nvptx.c: Convert htabs to hash_table.
1227 2014-12-08 David Edelsohn <dje.gcc@gmail.com>
1230 * config/rs6000/rs6000.c (rs6000_secondary_reload_inner)
1231 [SYMBOL_REF]: Do not explicitly call create_TOC_reference for
1232 TARGET_TOC. Always use rs6000_emit_move.
1234 2014-12-08 Mark Wielaard <mjw@redhat.com>
1237 * dwarf2out.c (modified_type_die): Handle TYPE_QUAL_ATOMIC.
1239 2014-11-15 David Wohlferd <dw@LimeGreenSocks.com>
1242 * cfgexpand.c (expand_asm_operands): Count all inline asm params.
1244 2014-12-08 David Malcolm <dmalcolm@redhat.com>
1247 * cgraph.h (xstrdup_for_dump): New function.
1248 * cgraph.c (cgraph_node::get_create): Replace use of xstrdup
1249 within fprintf with xstrdup_for_dump.
1250 (cgraph_edge::make_speculative): Likewise.
1251 (cgraph_edge::resolve_speculation): Likewise.
1252 (cgraph_edge::redirect_call_stmt_to_callee): Likewise.
1253 (cgraph_node::dump): Likewise.
1254 * cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
1255 * ipa-cp.c (perhaps_add_new_callers): Likewise.
1256 * ipa-inline.c (report_inline_failed_reason): Likewise.
1257 (want_early_inline_function_p): Likewise.
1258 (edge_badness): Likewise.
1259 (update_edge_key): Likewise.
1260 (flatten_function): Likewise.
1261 (inline_always_inline_functions): Likewise.
1262 * ipa-profile.c (ipa_profile): Likewise.
1263 * ipa-prop.c (ipa_print_node_jump_functions): Likewise.
1264 (ipa_make_edge_direct_to_target): Likewise.
1265 (remove_described_reference): Likewise.
1266 (propagate_controlled_uses): Likewise.
1267 * ipa-utils.c (ipa_merge_profiles): Likewise.
1269 2014-12-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
1272 * ipa-polymorphic-call.c
1273 (pa_polymorphic_call_context::ipa_polymorphic_call): Allow RESULT_DECL.
1275 2014-12-08 Alex Velenko <Alex.Velenko@arm.com>
1277 * config/aarch64/aarch64.md (and_one_cmpl<mode>3_compare0_no_reuse):
1279 * (and_one_cmpl_<SHIFT:optab><mode>3_compare0_no_reuse):
1282 2014-12-08 Felix Yang <felix.yang@huawei.com>
1283 Haijian Zhang <z.zhanghaijian@huawei.com>
1284 Jiji Jiang <jiangjiji@huawei.com>
1285 Pengfei Sui <suipengfei@huawei.com>
1287 * config/aarch64/arm_neon.h (vrecpe_u32, vrecpeq_u32): Rewrite using
1289 (vfma_f32, vfmaq_f32, vfmaq_f64, vfma_n_f32, vfmaq_n_f32, vfmaq_n_f64,
1290 vfms_f32, vfmsq_f32, vfmsq_f64): Likewise.
1291 (vhsub_s8, vhsub_u8, vhsub_s16, vhsub_u16, vhsub_s32, vhsub_u32,
1292 vhsubq_s8, vhsubq_u8, vhsubq_s16, vhsubq_u16, vhsubq_s32, vhsubq_u32,
1293 vsubhn_s16, vsubhn_u16, vsubhn_s32, vsubhn_u32, vsubhn_s64, vsubhn_u66,
1294 vrsubhn_s16, vrsubhn_u16, vrsubhn_s32, vrsubhn_u32, vrsubhn_s64,
1295 vrsubhn_u64, vsubhn_high_s16, vsubhn_high_u16, vsubhn_high_s32,
1296 vsubhn_high_u32, vsubhn_high_s64, vsubhn_high_u64, vrsubhn_high_s16,
1297 vrsubhn_high_u16, vrsubhn_high_s32, vrsubhn_high_u32, vrsubhn_high_s64,
1298 vrsubhn_high_u64): Likewise.
1299 * config/aarch64/iterators.md (VDQ_SI): New mode iterator.
1300 * config/aarch64/aarch64.md (define_c_enum "unspec"): Add UNSPEC_URECPE.
1301 * config/aarch64/aarch64-simd.md (aarch64_urecpe<mode>): New pattern.
1302 * config/aarch64/aarch64-simd-builtins.def (shsub, uhsub, subhn, rsubhn,
1303 subhn2, rsubhn2, urecpe): New builtins.
1305 2014-12-08 Ilya Tocar <ilya.tocar@intel.com>
1307 * config/i386/i386.c (ix86_expand_vec_perm_vpermi2): Handle v64qi.
1308 * config/i386/sse.md (VEC_PERM_AVX2): Add v64qi.
1310 2014-12-08 Ilya Tocar <ilya.tocar@intel.com>
1312 * config/i386/i386.c (expand_vec_perm_broadcast_1): Handle v64qi.
1313 (expand_vec_perm_vpermi2_vpshub2): New.
1314 (ix86_expand_vec_perm_const_1): Use it.
1315 (ix86_vectorize_vec_perm_const_ok): Handle v64qi.
1316 * config/i386/sse.md (VEC_PERM_CONST): Add v64qi.
1318 2014-12-08 Ilya Enkovich <ilya.enkovich@intel.com>
1320 * tree-chkp.c (chkp_build_returned_bound): Don't predict
1321 return bounds for strchr calls.
1323 2014-12-08 Ilya Enkovich <ilya.enkovich@intel.com>
1325 * tree-chkp.c (chkp_call_returns_bounds_p): New.
1326 (chkp_build_returned_bound): Use zero bounds as
1327 returned by calls not returning bounds.
1329 2014-12-08 Richard Biener <rguenther@suse.de>
1331 * builtins.c (fold_builtin_0): Remove unused ignore parameter.
1332 (fold_builtin_1): Likewise.
1333 (fold_builtin_3): Likewise.
1334 (fold_builtin_varargs): Likewise.
1335 (fold_builtin_2): Likewise. Do not fold stpcpy here.
1336 (fold_builtin_n): Adjust.
1337 (fold_builtin_stpcpy): Move to gimple-fold.c.
1338 (gimple_fold_builtin_stpcpy): Moved and gimplified from builtins.c.
1339 (gimple_fold_builtin): Fold stpcpy here.
1341 2014-12-07 Trevor Saunders <tsaunders@mozilla.com>
1343 * symtab.c (symtab_node::verify): Check for section attribute before
1344 asserting something isn't in a section and a comdat group.
1346 2014-12-07 Oleg Endo <olegendo@gcc.gnu.org>
1349 * config/sh/sh.md (extendqihi2): Allow only for TARGET_SH1.
1351 2014-12-07 Eric Botcazou <ebotcazou@adacore.com>
1353 * compare-elim.c: Fix head comment.
1354 (conforming_compare): Remove redundant test.
1355 (can_eliminate_compare): New function extracted from...
1356 (before_dom_children): ...here. Use it, replace direct uses of
1357 flag_non_call_exceptions and tidy up.
1358 (maybe_select_cc_mode): Tidy up.
1360 2014-12-07 Felix Yang <felix.yang@huawei.com>
1361 Shanyao Chen <chenshanyao@huawei.com>
1363 * config/aarch64/aarch64-simd.md (clrsb<mode>2, popcount<mode>2): New
1365 * config/aarch64/aarch64-simd-builtins.def (clrsb, popcount): New
1367 * config/aarch64/arm_neon.h (vcls_s8, vcls_s16, vcls_s32, vclsq_s8,
1368 vclsq_s16, vclsq_s32, vcnt_p8, vcnt_s8, vcnt_u8, vcntq_p8, vcntq_s8,
1369 vcntq_u8): Rewrite using builtin functions.
1371 2014-12-07 Jan Hubicka <hubicka@ucw.cz>
1373 * symtab.c (symtab_node::equal_address_to): New function.
1374 * cgraph.h (symtab_node::equal_address_to): Declare.
1375 * fold-const.c (fold_comparison, fold_binary_loc): Use it.
1376 * c-family/c-common.c: Refuse weaks for symbols that can not change
1379 2014-12-07 Jonathan Wakely <jwakely@redhat.com>
1381 * doc/invoke.texi (Warning Options): Fix spelling and grammar.
1383 2014-12-06 James Greenhalgh <james.greenhalgh@arm.com>
1384 Sebastian Pop <s.pop@samsung.com>
1385 Brian Rzycki <b.rzycki@samsung.com>
1387 PR tree-optimization/54742
1388 * params.def (max-fsm-thread-path-insns, max-fsm-thread-length,
1389 max-fsm-thread-paths): New.
1391 * doc/invoke.texi (max-fsm-thread-path-insns, max-fsm-thread-length,
1392 max-fsm-thread-paths): Documented.
1394 * tree-cfg.c (split_edge_bb_loc): Export.
1395 * tree-cfg.h (split_edge_bb_loc): Declared extern.
1397 * tree-ssa-threadedge.c (simplify_control_stmt_condition): Restore the
1398 original value of cond when simplification fails.
1399 (fsm_find_thread_path): New.
1400 (fsm_find_control_statement_thread_paths): New.
1401 (thread_through_normal_block): Call find_control_statement_thread_paths.
1403 * tree-ssa-threadupdate.c (dump_jump_thread_path): Pretty print
1406 (duplicate_seme_region): New.
1407 (thread_through_all_blocks): Generate code for EDGE_FSM_THREAD edges
1408 calling duplicate_seme_region.
1410 * tree-ssa-threadupdate.h (jump_thread_edge_type): Add EDGE_FSM_THREAD.
1412 2014-12-06 H.J. Lu <hongjiu.lu@intel.com>
1415 * config/i386/i386.c (decide_alg): Don't assert "alg != libcall"
1416 for TARGET_INLINE_STRINGOPS_DYNAMICALLY.
1418 2014-12-05 Jakub Jelinek <jakub@redhat.com>
1421 * sanopt.c (maybe_optimize_asan_check_ifn): If base_checks is
1422 non-NULL, call maybe_get_dominating_check on it even if g is
1425 2014-12-05 Jeff Law <law@redhat.com>
1427 * doc/md.texi: Note problems using function calls to determine
1428 insn lengths and point readers to a potential workaround.
1430 2014-12-05 Andreas Schwab <schwab@linux-m68k.org>
1432 * combine.c (is_parallel_of_n_reg_sets)
1433 (can_split_parallel_of_n_reg_sets): Only define if !HAVE_cc0.
1435 2014-12-05 Andrew Pinski <apinski@cavium.com>
1437 * config/aarch64/aarch64-simd-builtins.def (bswap): Use CF2 rather
1438 than CF10 so 2 is appended on the code.
1439 * config/aarch64/aarch64-simd.md (bswap<mode>): Rename to ...
1440 (bswap<mode>2): This so it matches for the optabs.
1442 2014-12-05 Thomas Preud'homme <thomas.preudhomme@arm.com>
1444 * regrename.c (find_best_rename_reg): Rename to ...
1445 (find_rename_reg): This. Also add a parameter to skip tick check.
1446 * regrename.h: Likewise.
1447 * config/c6x/c6x.c (try_rename_operands): Adapt to above renaming.
1449 2014-12-05 Martin Jambor <mjambor@suse.cz>
1452 * ipa-prop.c (ipa_compute_jump_functions_for_edge): Convert alignment
1453 from bits to bytes after checking they are byte-aligned.
1455 2014-12-05 Renlin Li <renlin.li@arm.com>
1457 * config/aarch64/aarch64-opts.h (AARCH64_CORE): Rename IDENT to SCHED.
1458 * config/aarch64/aarch64.h (AARCH64_CORE): Likewise.
1459 * config/aarch64/aarch64.c (AARCH64_CORE): Rename X to IDENT,
1462 2014-12-05 Bin Cheng <bin.cheng@arm.com>
1464 * config/aarch64/aarch64.md (load_pair<mode>): Split to
1465 load_pairsi, load_pairdi, load_pairsf and load_pairdf.
1466 (load_pairsi, load_pairdi, load_pairsf, load_pairdf): Split
1467 from load_pair<mode>. New alternative to support int/fp
1468 registers in fp/int mode patterns.
1469 (store_pair<mode>:): Split to store_pairsi, store_pairdi,
1470 store_pairsf and store_pairdi.
1471 (store_pairsi, store_pairdi, store_pairsf, store_pairdf): Split
1472 from store_pair<mode>. New alternative to support int/fp
1473 registers in fp/int mode patterns.
1474 (*load_pair_extendsidi2_aarch64): New pattern.
1475 (*load_pair_zero_extendsidi2_aarch64): New pattern.
1476 (aarch64-ldpstp.md): Include.
1477 * config/aarch64/aarch64-ldpstp.md: New file.
1478 * config/aarch64/aarch64-protos.h (aarch64_gen_adjusted_ldpstp):
1480 (extract_base_offset_in_addr): New.
1481 (aarch64_operands_ok_for_ldpstp): New.
1482 (aarch64_operands_adjust_ok_for_ldpstp): New.
1483 * config/aarch64/aarch64.c (enum sched_fusion_type): New enum.
1484 (TARGET_SCHED_FUSION_PRIORITY): New hook.
1485 (fusion_load_store): New functon.
1486 (extract_base_offset_in_addr): New function.
1487 (aarch64_gen_adjusted_ldpstp): New function.
1488 (aarch64_sched_fusion_priority): New function.
1489 (aarch64_operands_ok_for_ldpstp): New function.
1490 (aarch64_operands_adjust_ok_for_ldpstp): New function.
1492 2014-12-05 Olivier Hainque <hainque@adacore.com>
1494 * defaults.h: (DWARF_REG_TO_UNWIND_COLUMN): Define default.
1495 * dwarf2cfi.c (init_one_dwarf_reg_size): Honor
1496 DWARF_REG_TO_UNWIND_COLUMN.
1498 2014-12-05 Olivier Hainque <hainque@adacore.com>
1500 * dwarf2cfi.c (init_one_dwarf_reg_size): New helper, processing
1501 one particular reg for expand_builtin_init_dwarf_reg_sizes.
1502 (expand_builtin_init_dwarf_reg_sizes): Rework to use helper and
1503 account for dwarf register spans.
1505 2014-12-05 Ilya Enkovich <ilya.enkovich@intel.com>
1508 * config/i386/i386.md (*jcc_1_bnd): New.
1511 (*jcc_1): Remove bnd prefix.
1515 2014-12-05 Renlin Li <renlin.li@arm.com>
1517 * config/aarch64/aarch64.c (aarch64_parse_cpu): Don't define
1519 (aarch64_override_options): Use selected_cpu's tuning.
1521 2014-12-05 David Edelsohn <dje.gcc@gmail.com>
1523 * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append
1524 alignment to section name. Increase default alignment to word.
1526 2014-12-05 Martin Jambor <mjambor@suse.cz>
1528 * cgraph.h (cgraph_node): New method expand_all_artificial_thunks.
1529 (cgraph_edge): New method redirect_callee_duplicating_thunks.
1530 * cgraphclones.c (duplicate_thunk_for_node): Donot expand newly
1532 (redirect_edge_duplicating_thunks): Turned into edge method
1533 redirect_callee_duplicating_thunks.
1534 (cgraph_node::expand_all_artificial_thunks): New method.
1535 (create_clone): Call expand_all_artificial_thunks.
1536 * ipa-cp.c (perhaps_add_new_callers): Call
1537 redirect_callee_duplicating_thunks instead of redirect_callee.
1538 Also call expand_all_artificial_thunks.
1540 2014-12-05 Ilya Enkovich <ilya.enkovich@intel.com>
1543 * doc/sourcebuild.texi: Add mempcpy and stpcpy for Effective-Target
1546 2014-12-05 Manuel López-Ibáñez <manu@gcc.gnu.org>
1548 * diagnostic.h (diagnostic_expand_location): New inline function.
1549 * diagnostic.c (diagnostic_build_prefix): Use it.
1550 (diagnostic_show_locus): Likewise.
1552 2014-12-04 H.J. Lu <hongjiu.lu@intel.com>
1555 * configure.ac (HAVE_LD_PIE_COPYRELOC): Always define.
1556 * configure: Regenerated.
1558 2014-12-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
1560 * diagnostic.c (diagnostic_color_init): New.
1561 * diagnostic.h: Declare.
1562 * gcc.c (driver::global_initializations): Use it.
1563 (driver_handle_option): Handle -fdiagnostics-color_.
1564 * toplev.c: Do not include diagnostic-color.h.
1565 (process_options): Do not initialize color diagnostics here.
1566 * common.opt (fdiagnostics-color=): Add Driver.
1567 * opts-global.c (init_options_once): Initialize color here.
1568 * opts.c (common_handle_option): Use diagnostics_color_init.
1569 * diagnostic-color.h: Fix comment.
1571 2014-12-04 David Malcolm <dmalcolm@redhat.com>
1573 * tree-pretty-print.c (INDENT): Rename "buffer" to "pp".
1575 (buffer): Rename this variable to...
1578 (do_niy): Rename param from "buffer" to "pp".
1579 (dump_decl_name): Likewise.
1580 (dump_function_name): Likewise.
1581 (dump_function_declaration): Likewise.
1582 (dump_array_domain): Likewise.
1583 (dump_omp_clause): Likewise.
1584 (dump_omp_clauses): Likewise.
1585 (dump_location): Likewise.
1586 (dump_block_node): Likewise.
1587 (dump_generic_node): Likewise.
1588 (print_declaration): Likewise.
1589 (print_struct_decl): Likewise.
1590 (print_call_name): Likewise.
1591 (pretty_print_string): Likewise.
1592 (newline_and_indent): Likewise.
1594 (print_generic_decl): Update for renaming of "buffer" to
1596 (print_generic_stmt): Likewise.
1597 (print_generic_stmt_indented): Likewise.
1598 (print_generic_expr): Likewise.
1599 (maybe_init_pretty_print): Likewise.
1601 2014-12-04 David Malcolm <dmalcolm@redhat.com>
1604 * tree-pretty-print.c: Eliminate include of <new>.
1605 (buffer): Convert this variable from a pretty_printer to a
1607 (initialized): Eliminate this variable in favor of the NULL-ness
1609 (print_generic_decl): Update for "buffer" becoming a pointer.
1610 (print_generic_stmt): Likewise.
1611 (print_generic_stmt_indented): Likewise.
1612 (print_generic_expr): Likewise.
1613 (maybe_init_pretty_print): Likewise, allocating "buffer" on the
1614 heap and using its non-NULL-ness to ensure idempotency.
1616 2014-12-04 David Malcolm <dmalcolm@redhat.com>
1619 * ipa-prop.c (ipa_register_cgraph_hooks): Guard insertion of
1620 ipa_add_new_function on function_insertion_hook_holder being
1622 * ipa-reference.c (ipa_reference_c_finalize): Remove
1623 node_removal_hook_holder and node_duplication_hook_holder if
1624 they've been added to symtab.
1625 * toplev.c (toplev::finalize): Call ipa_reference_c_finalize
1626 before cgraph_c_finalize so that the former can access "symtab".
1628 2014-12-04 David Malcolm <dmalcolm@redhat.com>
1630 * doc/cfg.texi (GIMPLE statement iterators): Add note about
1631 gphi_iterator, and use one in the example.
1632 * doc/gimple.texi (Tuple specific accessors): Add missing
1633 GIMPLE_GOTO section and menu item.
1634 (gimple_build_asm, gimple gimple_build_assign_with_ops)
1635 gimple_call_mark_uninlinable, gimple_call_cannot_inline_p): Remove
1636 description of removed functions.
1637 (gimple_build_assign, gimple_build_bind, gimple_build_call,
1638 gimple_build_call_from_tree, gimple_build_call_vec,
1639 gimple_build_catch, gimple_build_cond,
1640 gimple_build_cond_from_tree, gimple_build_debug_bind,
1641 gimple_build_eh_filter, gimple_build_label, gimple_build_goto,
1642 gimple_build_omp_atomic_load, gimple_build_omp_atomic_store,
1643 gimple_build_omp_continue, gimple_build_omp_critical,
1644 gimple_build_omp_for, gimple_build_omp_parallel,
1645 gimple_build_omp_sections, gimple_build_omp_single,
1646 gimple_build_return, gimple_build_resx, gimple_build_switch,
1647 gimple_build_try): Update return type within description to
1648 reflect changes in gimple.h to using gimple subclasses.
1649 (gimple_build_asm_vec): Update return type, params and
1651 (gimple_asm_ninputs): Update param.
1652 (gimple_asm_noutputs, gimple_asm_nclobbers, gimple_asm_input_op
1653 gimple_asm_set_input_op, gimple_asm_output_op
1654 gimple_asm_set_output_op, gimple_asm_clobber_op,
1655 gimple_asm_set_clobber_op, gimple_asm_string,
1656 gimple_asm_volatile_p, gimple_asm_set_volatile, gimple_bind_vars,
1657 gimple_bind_set_vars, gimple_bind_append_vars, gimple_bind_body,
1658 gimple_bind_set_body, gimple_bind_add_stmt, gimple_bind_add_seq,
1659 gimple_bind_block, gimple_bind_set_block, gimple_call_set_fn,
1660 gimple_call_return_type, gimple_call_set_chain,
1661 gimple_call_set_tail, gimple_call_tail_p,
1662 gimple_call_copy_skip_args, gimple_catch_types,
1663 gimple_catch_types_ptr, gimple_catch_handler,
1664 gimple_catch_set_types, gimple_catch_set_handler,
1665 gimple_cond_set_code, gimple_cond_set_lhs, gimple_cond_set_rhs,
1666 gimple_cond_true_label, gimple_cond_set_true_label,
1667 gimple_cond_set_false_label, gimple_cond_false_label,
1668 gimple_cond_make_false, gimple_cond_make_true,
1669 gimple_eh_filter_set_types, gimple_eh_filter_set_failure,
1670 gimple_eh_must_not_throw_fndecl,
1671 gimple_eh_must_not_throw_set_fndecl, gimple_label_label,
1672 gimple_label_set_label, gimple_goto_set_dest,
1673 gimple_omp_atomic_load_set_lhs, gimple_omp_atomic_load_lhs,
1674 gimple_omp_atomic_load_set_rhs, gimple_omp_atomic_load_rhs,
1675 gimple_omp_atomic_store_set_val, gimple_omp_atomic_store_val,
1676 gimple_omp_continue_control_def,
1677 gimple_omp_continue_control_def_ptr,
1678 gimple_omp_continue_set_control_def,
1679 gimple_omp_continue_control_use,
1680 gimple_omp_continue_control_use_ptr,
1681 gimple_omp_continue_set_control_use, gimple_omp_critical_name,
1682 gimple_omp_critical_name_ptr, gimple_omp_critical_set_name,
1683 gimple_omp_parallel_clauses_ptr, gimple_omp_parallel_set_clauses,
1684 gimple_omp_parallel_child_fn, gimple_omp_parallel_child_fn_ptr,
1685 gimple_omp_parallel_set_child_fn, gimple_omp_parallel_data_arg,
1686 gimple_omp_parallel_data_arg_ptr,
1687 gimple_omp_parallel_set_data_arg, gimple_omp_single_set_clauses,
1688 gimple_phi_set_result, gimple_phi_set_arg, gimple_resx_region,
1689 gimple_resx_set_region, gimple_return_retval,
1690 gimple_return_set_retval, gimple_switch_num_labels,
1691 gimple_switch_set_num_labels, gimple_switch_index,
1692 gimple_switch_set_index, gimple_switch_label,
1693 gimple_switch_set_label, gimple_switch_default_label,
1694 gimple_switch_set_default_label, gimple_try_set_eval,
1695 gimple_try_set_cleanup): Update initial param within description
1696 to reflect changes in gimple.h to using gimple subclasses.
1697 (Adding a new GIMPLE statement code): Update to reflect gimple
1698 statement subclassing.
1700 2014-12-04 Sriraman Tallam <tmsriram@google.com>
1701 H.J. Lu <hongjiu.lu@intel.com>
1703 * configure.ac (HAVE_LD_PIE_COPYRELOC): Defined to 1 if
1704 Linux/x86-64 linker supports PIE with copy reloc.
1705 * config.in: Regenerated.
1706 * configure: Likewise.
1708 * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
1709 pc-relative address for undefined, non-weak, non-function
1710 symbol reference in 64-bit PIE if linker supports PIE with
1713 * doc/sourcebuild.texi: Document pie_copyreloc target.
1715 2014-12-04 Marek Polacek <polacek@redhat.com>
1718 * fold-const.c (fold_unary_loc): Perform the negation in A's type
1719 when transforming ~ (A - 1) or ~ (A + -1) to -A.
1721 2014-12-04 Tobias Burnus <burnus@net-b.de>
1723 * Makefile.in: Remove CLOOGLIB and CLOOGINC.
1725 2014-12-04 Richard Biener <rguenther@suse.de>
1727 * doc/match-and-simplify.texi: Update for recent changes.
1729 2014-12-04 Martin Jambor <mjambor@suse.cz>
1731 * ipa-prop.h (ipa_alignment): New type.
1732 (ipa_jump_func): New field alignment.
1733 (ipcp_transformation_summary) New type.
1734 (ipcp_grow_transformations_if_necessary): Declare.
1735 (ipa_node_agg_replacements): Removed.
1736 (ipcp_transformations): Declare.
1737 (ipcp_get_transformation_summary): New function.
1738 (ipa_get_agg_replacements_for_node): Use it.
1739 * ipa-cp.c (ipcp_param_lattices): New field alignment.
1740 (print_all_lattices): Also print alignment.
1741 (alignment_bottom_p): New function.
1742 (set_alignment_to_bottom): Likewise.
1743 (set_all_contains_variable): Also set alignment to bottom.
1744 (initialize_node_lattices): Likewise.
1745 (propagate_alignment_accross_jump_function): New function.
1746 (propagate_constants_accross_call): Call it.
1747 (ipcp_store_alignment_results): New function.
1748 (ipcp_driver): Call it.
1749 * ipa-prop.c (ipa_node_agg_replacements): Removed.
1750 (ipcp_transformations): New.
1751 (ipa_print_node_jump_functions_for_edge): Also print alignment.
1752 (ipa_set_jf_unknown): New function.
1753 (detect_type_change_from_memory_writes): Use ipa_set_jf_unknown.
1754 (ipa_compute_jump_functions_for_edge): Also calculate alignment.
1755 (update_jump_functions_after_inlining): Use ipa_set_jf_unknown.
1756 (ipcp_grow_transformations_if_necessary): New function.
1757 (ipa_set_node_agg_value_chain): Use ipcp_transformations.
1758 (ipa_node_removal_hook): Likewise.
1759 (ipa_node_duplication_hook): Also duplicate alignment results.
1760 (ipa_write_jump_function): Also stream alignments.
1761 (ipa_read_jump_function): Use ipa_set_jf_unknown, also stream
1763 (write_agg_replacement_chain): Renamed to
1764 write_ipcp_transformation_info, also stream alignments.
1765 (read_agg_replacement_chain): Renamed to
1766 read_ipcp_transformation_info, also stream alignments.
1767 (ipa_prop_write_all_agg_replacement): Renamed to
1768 ipcp_write_transformation_summaries. Stream always.
1769 (ipa_prop_read_all_agg_replacement): Renamed to
1770 ipcp_read_transformation_summaries.
1771 (ipcp_update_alignments): New function.
1772 (ipcp_transform_function): Call it, free also alignments.
1774 2014-12-04 Richard Biener <rguenther@suse.de>
1776 * gimple-fold.c (replace_stmt_with_simplification): Properly
1777 fail when maybe_push_res_to_seq fails.
1779 2014-12-04 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
1781 * config/aarch64/aarch64.md (define_insn "prefetch"): New.
1783 2014-12-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1785 * doc/install.texi: Remove mentions of cloog and ppl.
1786 * doc/invoke.texi: Likewise
1788 2014-12-04 Jakub Jelinek <jakub@redhat.com>
1791 * convert.c (convert_to_real, convert_to_expr, convert_to_complex):
1792 Handle COMPOUND_EXPR.
1794 2014-12-04 Richard Biener <rguenther@suse.de>
1796 * builtins.c (target_newline): Export.
1797 (target_percent_s_newline): Likewise.
1798 (fold_builtin_1): Do not fold printf functions here.
1799 (fold_builtin_2): Likewise.
1800 (fold_builtin_3): Likewise, do not fold strncat.
1801 (fold_builtin_strncat): Move to gimple-fold.c.
1802 (fold_builtin_printf): Likewise.
1803 * builtins.h (target_newline): Declare.
1804 (target_percent_s_newline): Likewise.
1805 * gimple-fold.c (gimple_fold_builtin_strncat): Move from
1806 builtins.c and gimplify.
1807 (gimple_fold_builtin_printf): Likewise.
1808 (gimple_fold_builtin): Fold strncat, printf, printf_unlocked,
1809 vprintf, printf_chk and vprintf_chk here.
1811 2014-12-03 David Edelsohn <dje.gcc@gmail.com>
1813 * config/rs6000/rs6000.md (floatsidf2_internal): Use std::swap.
1814 (floatunssidf2_internal): Same.
1815 * config/rs6000/rs6000.c (rs6000_emit_vector_compare): Same.
1816 (rs6000_emit_int_cmove): Same.
1817 (rs6000_sched_reorder): Same.
1818 (altivec_expand_vec_perm_const): Same.
1819 (rs6000_expand_vec_perm_const_1): Same.
1821 2014-12-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1823 PR rtl-optimization/64010
1824 * reload.c (push_reload): Before reusing a register contained
1825 in an operand as input reload register, ensure that it is not
1826 used in CALL_INSN_FUNCTION_USAGE.
1828 2014-12-03 Ulrich Drepper <drepper@gmail.com>
1830 * Makefile.in: Use $(LN_S) instead of $(LN) -s and remove file first
1833 2014-12-03 Jakub Jelinek <jakub@redhat.com>
1835 * expmed.c (expand_mult): Use std::swap.
1838 * expmed.c (expand_widening_mult): Return const0_rtx if
1841 * doc/gimple.texi (gimple_build_assign_with_ops): Remove.
1842 (gimple_build_assign): Document the new overloads.
1844 2014-12-03 Michael Meissner <meissner@linux.vnet.ibm.com>
1847 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
1848 not create LO_SUM address for constant addresses if the type can
1849 go in Altivec registers.
1851 2014-12-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1854 * pretty-print.c (output_buffer::output_buffer): Init flush_p to true.
1855 (pp_flush): Flush only if flush_p.
1856 (pp_really_flush): New.
1857 * pretty-print.h (struct output_buffer): Add flush_p.
1858 (pp_really_flush): Declare.
1860 2014-12-03 Jakub Jelinek <jakub@redhat.com>
1862 * Makefile.in (ALL_HOST_BACKEND_OBJS): Add $(GENGTYPE_OBJS),
1863 gcc-ar.o, gcc-nm.o and gcc-ranlib.o.
1864 (GENGTYPE_OBJS): New.
1865 (gengtype-lex.o, gengtype-parse.o, gengtype-state.o, gengtype.o):
1866 Remove explicit dependencies.
1867 (CFLAGS-gengtype-lex.o, CFLAGS-gengtype-parse.o,
1868 CFLAGS-gengtype-state.o, CFLAGS-gengtype.o): Add -DHOST_GENERATOR_FILE
1869 instead of -DGENERATOR_FILE.
1870 (CFLAGS-errors.o): New.
1871 * gengtype.c: Instead of testing GENERATOR_FILE define, test
1872 HOST_GENERATOR_FILE. If defined, include config.h and define
1873 GENERATOR_FILE afterwards, otherwise include bconfig.h.
1874 * gengtype-parse.c: Likewise.
1875 * gengtype-state.c: Likewise.
1876 * gengtype-lex.l: Likewise.
1877 * errors.c: Likewise.
1879 2014-12-03 Joern Rennecke <joern.rennecke@embecosm.com>
1881 * config/epiphany/epiphany.c (epiphany_override_options):
1882 If TARGET_SOFT_CMPSF is not enabled, set flag_finite_math_only.
1883 * config/epiphany/epiphany.md (mov<mode>cc): Don't use
1884 reverse_condition_maybe_unordered if flag_finite_math_only is set.
1886 2014-12-03 Andrew Stubbs <ams@codesourcery.com>
1890 2014-09-17 Andrew Stubbs <ams@codesourcery.com>
1891 * config/arm/arm.c (arm_option_override): Reject -mfpu=neon
1892 when architecture is older than ARMv7.
1894 2014-12-03 Richard Biener <rguenther@suse.de>
1896 * builtins.c (target_percent_c): Export.
1897 (fold_builtin_fprintf): Move to gimple-fold.c.
1898 (fold_builtin_2): Do not fold fprintf functions.
1899 (fold_builtin_3): Likewise.
1900 (fold_builtin_4): Remove.
1901 (fold_builtin_n): Do not call fold_builtin_4.
1902 * builtins.h (target_percent_c): Declare.
1903 * gimple-fold.c (gimple_fold_builtin_fprintf): Move from
1904 builtins.c and gimplify.
1905 (gimple_fold_builtin): Fold fprintf, fprintf_unlocked, vfprintf,
1906 fprintf_chk and vfprintf_chk here.
1908 2014-12-03 Martin Jambor <mjambor@suse.cz>
1911 * ipa-inline-analysis.c (evaluate_conditions_for_known_args): Check
1912 type sizes before view_converting.
1914 2014-12-03 H.J. Lu <hongjiu.lu@intel.com>
1916 PR rtl-optimization/64151
1917 PR rtl-optimization/64156
1918 * ira-costs.c (scan_one_insn): Revert r218266.
1920 2014-12-03 Richard Biener <rguenther@suse.de>
1922 * builtins.c (fold_builtin_fpclassify): Change to take
1923 array of arguments instead of CALL_EXPR tree.
1924 (MAX_ARGS_TO_FOLD_BUILTIN): Remove.
1925 (fold_builtin_n): Dispatch to fold_builtin_varargs.
1926 (fold_call_expr): Always use fold_builtin_n.
1927 (fold_builtin_call_array): Change to not build the unfolded call,
1928 always use fold_builtin_n.
1929 (fold_builtin_varargs): Change to take array of arguments instead
1931 (fold_call_stmt): Always use fold_builtin_n.
1932 * tree.c (build_call_expr_loc_array): Use fold_build_call_array_loc.
1933 * fold-const.c (fold_build_call_array_loc): Build the call
1934 if fold_builtin_call_array returned NULL_TREE.
1935 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Do not build
1936 a CALL_EXPR and use fold_builtin_call_array instead of
1939 2014-12-03 Alan Lawrence <alan.lawrence@arm.com>
1941 * config/aarch64/aarch64-simd.md (aarch64_simd_dup<mode>, orn<mode>3,
1942 bic<mode>3, add<mode>3, sub<mode>3, neg<mode>2, abs<mode>2, and<mode>3,
1943 ior<mode>3, xor<mode>3, one_cmpl<mode>2,
1944 aarch64_simd_lshr<mode> ,arch64_simd_ashr<mode>,
1945 aarch64_simd_imm_shl<mode>, aarch64_simd_reg_sshl<mode>,
1946 aarch64_simd_reg_shl<mode>_unsigned, aarch64_simd_reg_shr<mode>_signed,
1947 ashl<mode>3, lshr<mode>3, ashr<mode>3, vashl<mode>3,
1948 reduc_plus_scal_<mode>, aarch64_vcond_internal<mode><mode>,
1949 vcondu<mode><mode>, aarch64_cm<optab><mode>, aarch64_cmtst<mode>):
1950 Change VDQ to VDQ_I.
1952 (mul<mode>3): Change VDQM to VDQ_BHSI.
1953 (aarch64_simd_vec_set<mode>,vashr<mode>3, vlshr<mode>3, vec_set<mode>,
1954 aarch64_mla<mode>, aarch64_mls<mode>, <su><maxmin><mode>3,
1955 aarch64_<sur>h<addsub><mode>): Change VQ_S to VDQ_BHSI.
1957 (*aarch64_<su>mlal<mode>, *aarch64_<su>mlsl<mode>,
1958 aarch64_<ANY_EXTEND:su><ADDSUB:optab>l<mode>,
1959 aarch64_<ANY_EXTEND:su><ADDSUB:optab>w<mode>, aarch64_<sur>shll_n<mode>):
1960 Change VDW to VD_BHSI.
1961 (*aarch64_combinez<mode>, *aarch64_combinez_be<mode>):
1962 Change VDIC to VD_BHSI.
1964 * config/aarch64/aarch64-simd-builtins.def (saddl, uaddl, ssubl, usubl,
1965 saddw, uaddw, ssubw, usubw, shadd, uhadd, srhadd, urhadd, sshll_n,
1966 ushll_n): Change BUILTIN_VDW to BUILTIN_VD_BHSI.
1968 * config/aarch64/iterators.md (SDQ_I, VDQ, VQ_S, VSDQ_I_BHSI, VDQM, VDW,
1969 VDIC, VDQQHS): Remove.
1970 (Vwtype): Update comment (changing VDW to VD_BHSI).
1972 2014-12-03 Richard Biener <rguenther@suse.de>
1975 * builtins.c (fold_builtin_logarithm): Implement simplifications ...
1976 * match.pd: ... here as patterns.
1978 2014-12-03 Prachi Godbole <prachi.godbole@imgtec.com>
1980 * config/mips/p5600.md (define_automaton, define_cpu_unit): Replace
1981 p5600_agen_pipe and p5600_alu_pipe with p5600_agen_alq_pipe.
1982 (p5600_int_arith_1, p5600_int_arith_2, p5600_int_arith_4): Change
1985 2014-12-03 Tom de Vries <tom@codesourcery.com>
1987 PR rtl-optimization/63957
1988 * doc/invoke.texi: Replace -fuse-caller-save with -fipa-ra.
1989 * final.c (rest_of_handle_final): Replace flag_use_caller_save with
1991 (get_call_reg_set_usage): Same.
1992 * lra-assigns.c (lra_assign): Same.
1993 * lra-constraints.c (need_for_call_save_p): Same.
1994 * lra-lives.c (process_bb_lives): Same.
1995 * lra.c (lra): Same.
1996 * calls.c (expand_call): Same.
1997 (emit_library_call_value_1): Same.
1998 * config/arm/arm.c (arm_option_override): Same.
1999 * opts.c (default_options_table): Replace OPT_fuse_caller_save with
2001 * target.def (call_fusage_contains_non_callee_clobbers): Replace
2002 fuse-caller-save with fipa-ra.
2003 * doc/tm.texi (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Same.
2006 2014-12-03 Yury Gribov <y.gribov@samsung.com>
2008 * sanopt.c (maybe_get_single_definition): New function.
2009 (maybe_get_dominating_check): Ditto.
2010 (can_remove_asan_check): Ditto.
2011 (struct tree_map_traits): New struct.
2012 (struct sanopt_ctx): Use custom traits for asan_check_map.
2013 (maybe_optimize_ubsan_null_ifn): Move code to
2014 maybe_get_dominating_check.
2015 (maybe_optimize_asan_check_ifn): Move code and take non-SSA expressions
2016 into account when optimizing.
2017 (sanopt_optimize_walker): Optimize ASan checks even when
2020 2014-12-03 Ilya Enkovich <ilya.enkovich@intel.com>
2022 * config/i386/constraints.md (Yr): New.
2023 * config/i386/i386.h (reg_class): Add NO_REX_SSE_REGS.
2024 (REG_CLASS_NAMES): Likewise.
2025 (REG_CLASS_CONTENTS): Likewise.
2026 * config/i386/sse.md (*vec_concatv2sf_sse4_1): Add alternatives
2027 which use only NO_REX_SSE_REGS.
2028 (vec_set<mode>_0): Likewise.
2029 (*vec_setv4sf_sse4_1): Likewise.
2030 (sse4_1_insertps): Likewise.
2031 (*sse4_1_extractps): Likewise.
2032 (*sse4_1_mulv2siv2di3<mask_name>): Likewise.
2033 (*<sse4_1_avx2>_mul<mode>3<mask_name>): Likewise.
2034 (*sse4_1_<code><mode>3<mask_name>): Likewise.
2035 (*sse4_1_<code><mode>3): Likewise.
2036 (*sse4_1_eqv2di3): Likewise.
2037 (sse4_2_gtv2di3): Likewise.
2038 (*vec_extractv4si): Likewise.
2039 (*vec_concatv2si_sse4_1): Likewise.
2040 (vec_concatv2di): Likewise.
2041 (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Likewise.
2042 (<sse4_1>_blendv<ssemodesuffix><avxsizesuffix>): Likewise.
2043 (<sse4_1>_dp<ssemodesuffix><avxsizesuffix>): Likewise.
2044 (<vi8_sse4_1_avx2_avx512>_movntdqa): Likewise.
2045 (<sse4_1_avx2>_mpsadbw): Likewise.
2046 (<sse4_1_avx2>packusdw<mask_name>): Likewise.
2047 (<sse4_1_avx2>_pblendvb): Likewise.
2048 (sse4_1_pblendw): Likewise.
2049 (sse4_1_phminposuw): Likewise.
2050 (sse4_1_<code>v8qiv8hi2<mask_name>): Likewise.
2051 (sse4_1_<code>v4qiv4si2<mask_name>): Likewise.
2052 (sse4_1_<code>v4hiv4si2<mask_name>): Likewise.
2053 (sse4_1_<code>v2qiv2di2<mask_name>): Likewise.
2054 (sse4_1_<code>v2hiv2di2<mask_name>): Likewise.
2055 (sse4_1_<code>v2siv2di2<mask_name>): Likewise.
2056 (sse4_1_ptest): Likewise.
2057 (<sse4_1>_round<ssemodesuffix><avxsizesuffix>): Likewise.
2058 (sse4_1_round<ssescalarmodesuffix>): Likewise.
2059 * config/i386/subst.md (mask_prefix4): New.
2060 * config/i386/x86-tune.def (X86_TUNE_AVOID_4BYTE_PREFIXES): New.
2062 2014-12-03 Segher Boessenkool <segher@kernel.crashing.org>
2064 PR rtl-optimization/52714
2065 * combine.c (try_combine): Allow combining two insns into two
2066 new insns if at least one of those is a noop.
2068 2014-12-03 Bin Cheng <bin.cheng@arm.com>
2070 * target.def (fusion_priority): Wrap code with @smallexample.
2071 * doc/tm.texi: Regenerated.
2073 2014-12-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
2075 * diagnostic.c (diagnostic_show_locus): Honor override_column when
2078 2014-12-02 Dmitry Vyukov <dvyukov@google.com>
2080 * asan.c: (asan_finish_file): Use default priority for constructors
2083 2014-12-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2086 * config/rs6000/rs6000.c (rs6000_delegitimize_address): Remove
2087 invalid UNSPEC_TOCREL sanity check under ENABLE_CHECKING.
2089 2014-12-02 H.J. Lu <hongjiu.lu@intel.com>
2092 * config/i386/i386.c (decide_alg): Stop only if there aren't
2093 any usable algorithms.
2095 2014-12-02 Tom de Vries <tom@codesourcery.com>
2097 PR rtl-optimization/63718
2098 * config/arm/arm.c (arm_option_override): Disable fuse-caller-save for
2101 2014-12-02 Richard Biener <rguenther@suse.de>
2103 * match.pd: When combining divisions exclude the degenerate
2104 case involving INT_MIN from overflow handling.
2106 2014-12-02 Wilco Dijkstra <wilco.dijkstra@arm.com>
2108 * ira-costs.c (scan_one_insn): Improve spill cost adjustment.
2110 2014-12-02 Martin Jambor <mjambor@suse.cz>
2113 * ipa-cp.c (same_node_or_its_all_contexts_clone_p): New function.
2114 (cgraph_edge_brings_value_p): New parameter dest, use
2115 same_node_or_its_all_contexts_clone_p and check availability.
2116 (cgraph_edge_brings_value_p): Likewise.
2117 (get_info_about_necessary_edges): New parameter dest, pass it to
2118 cgraph_edge_brings_value_p. Update caller.
2119 (gather_edges_for_value): Likewise.
2120 (perhaps_add_new_callers): Use cgraph_edge_brings_value_p to check
2121 both the destination and availability.
2123 2014-12-02 Uros Bizjak <ubizjak@gmail.com>
2126 * config/alpha/alpha.md (call_value_osf_tlsgd): Do not split insn
2127 using post-reload splitter. Use peephole2 pass instead.
2128 (call_value_osf_tlsldm): Ditto.
2129 (TLS_CALL): New int iterator.
2130 (tls): New int attribute.
2131 (call_value_osf_<tls>): Merge insn pattern from call_value_osf_tlsgd
2132 and call_value_tlsldm using TLS_CALL int iterator.
2134 2014-12-02 Richard Biener <rguenther@suse.de>
2135 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
2137 * genmatch.c: Include hash-set.h.
2138 (fatal_at): Add source_location overload.
2139 (parser::record_operlist): New method.
2140 (parser::push_simplify): Likewise.
2141 (parser::oper_lists_set): New member.
2142 (parser::oper_lists): Likewise.
2143 (parser::parse_operation): Record seen operator list references.
2144 (parser::parse_c_expr): Likewise.
2145 (parser::parse_simplify): Init oper_lists_set and oper_lists
2146 and use push_simplify.
2147 (parser::parser): Init oper_lists_set and oper_lists.
2149 2014-12-02 Richard Biener <rguenther@suse.de>
2151 * match.pd: Restrict division combining to trunc_div and
2154 2014-12-02 Jakub Jelinek <jakub@redhat.com>
2156 * config/sparc/sparc.c (sparc_atomic_assign_expand_fenv):
2157 Remove NULL last argument from create_tmp_var calls.
2158 * config/mips/mips.c (mips_atomic_assign_expand_fenv): Likewise.
2159 * config/arm/arm-builtins.c (arm_atomic_assign_expand_fenv): Likewise.
2160 * config/i386/i386.c (add_condition_to_bb,
2161 ix86_atomic_assign_expand_fenv): Likewise.
2162 * config/mep/mep.c (mep_gimplify_va_arg_expr): Likewise.
2163 * config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Likewise.
2164 * config/aarch64/aarch64-builtins.c
2165 (aarch64_atomic_assign_expand_fenv): Likewise.
2166 * config/stormy16/stormy16.c (xstormy16_gimplify_va_arg_expr):
2168 * config/rs6000/rs6000.c (rs6000_atomic_assign_expand_fenv): Likewise.
2169 * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): Likewise.
2170 * config/sh/sh.c (sh_gimplify_va_arg_expr): Likewise.
2172 * config/alpha/alpha.c (alpha_gimple_fold_builtin): Use
2173 gimple_build_assign instead of gimple_build_assign_with_ops and swap
2174 the order of first two arguments.
2175 * config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
2176 Likewise. Remove last NULL_TREE argument.
2178 2014-12-01 Segher Boessenkool <segher@kernel.crashing.org>
2180 PR rtl-optimization/59278
2181 * combine (reg_dead_at_p): Consider REG_UNUSED notes.
2183 2014-12-01 Segher Boessenkool <segher@kernel.crashing.org>
2185 * combine.c (try_combine): Use is_parallel_of_n_reg_sets some more.
2187 2014-12-01 Segher Boessenkool <segher@kernel.crashing.org>
2189 * combine.c (is_parallel_of_n_reg_sets): New function.
2190 (can_split_parallel_of_n_reg_sets): New function.
2191 (try_combine): If I2 is a PARALLEL of two SETs, split it into
2192 two insns if possible.
2194 2014-12-01 Tobias Burnus <burnus@net-b.de>
2195 Jack Howarth <howarth@bromo.med.uc.edu>
2198 * configure.ac (ac_has_isl_schedule_constraints_compute_schedule):
2200 * doc/install.texi (ISL): Permit ISL 0.14.
2201 * graphite-optimize-isl.c (getScheduleForBandList, optimize_isl):
2202 Conditionally use ISL 0.13+ functions.
2203 * graphite-interchange.c: Make 'extern "C"' conditional.
2204 * graphite-isl-ast-to-gimple.c: Ditto.
2205 * graphite-poly.c: Ditto.
2206 * graphite-sese-to-poly.c: Ditto.
2207 * config.in: Regenerate.
2208 * gcc/configure: Regenerate.
2210 2014-12-01 Segher Boessenkool <segher@kernel.crashing.org>
2212 * combine.c (distribute_links): Handle multiple SETs.
2214 2014-12-01 Segher Boessenkool <segher@kernel.crashing.org>
2216 * combine.c (struct insn_link): New field `regno'.
2217 (alloc_insn_link): New parameter `regno'. Use it.
2218 (find_single_use): Check the new field.
2219 (can_combine_def_p, can_combine_use_p): New functions. Split
2221 (create_log_links): ... here. Correct data type of `regno'.
2222 Adjust call to alloc_insn_link.
2223 (adjust_for_new_dest): Find regno, use it in call to
2225 (try_combine): Check reg_used_between_p when combining a PARALLEL
2226 as earlier insn. Adjust call to alloc_insn_link.
2227 (distribute_links): Check the new field.
2229 2014-12-01 David Malcolm <dmalcolm@redhat.com>
2232 * real.c (real_from_string): Add missing mpfr_clear.
2234 2014-12-01 David Malcolm <dmalcolm@redhat.com>
2237 * tree-ssa-math-opts.c (execute_cse_sincos_1): Fix a missing
2238 release of stmts by converting it to an auto_vec.
2240 2014-12-01 Richard Biener <rguenther@suse.de>
2242 * Makefile.in (gimple-match.o-warn): Use -Wno-unused instead of
2243 -Wno-unused-variable and -Wno-unused-but-set-variable to restore
2244 bootstrap with old GCC.
2245 (generic-match.o-warn): Likewise.
2247 2014-12-01 Richard Biener <rguenther@suse.de>
2249 * fold-const.c (const_binop): Handle POINTER_PLUS_EXPR.
2250 Properly handle FIXED_CST shifts by INTEGER_CST.
2251 (const_binop): Move COMPLEX_EXPR, VEC_PACK_TRUNC_EXPR,
2252 VEC_PACK_FIX_TRUNC_EXPR, VEC_WIDEN_MULT_LO_EXPR,
2253 VEC_WIDEN_MULT_HI_EXPR, VEC_WIDEN_MULT_EVEN_EXPR and
2254 VEC_WIDEN_MULT_ODD_EXPR handling here from ...
2255 (fold_binary_loc): ... here. Call const_binop overload
2258 2014-12-01 Marek Polacek <polacek@redhat.com>
2259 Jakub Jelinek <jakub@redhat.com>
2262 * ubsan.c (instrument_object_size): Stop searching if the base
2263 occurs in abnormal phi.
2265 2014-12-01 Marek Polacek <polacek@redhat.com>
2268 * ubsan.c (is_ubsan_builtin_p): Check also built-in class.
2270 2014-12-01 Jakub Jelinek <jakub@redhat.com>
2272 * gimple.h (gimple_build_assign_stat): Remove prototype.
2273 (gimple_build_assign): Remove define. Add overload prototypes
2274 with tree lhs and either a tree rhs, or enum tree_code and
2275 1, 2 or 3 tree operands.
2276 * gimple.c (gimple_build_assign_stat): Renamed to...
2277 (gimple_build_assign): ... this. Add overloads with
2278 enum tree_code and 1, 2 or 3 tree operands.
2279 (gimple_build_assign_with_ops): Remove 1 and 2 operand overloads.
2280 Rename the 3 operand overload to ...
2281 (gimple_build_assign_1): ... this. Make it static inline.
2282 * tree-ssa-strlen.c (get_string_length): Use gimple_build_assign
2283 instead of gimple_build_assign_with_ops, swap the order of first
2284 two arguments and adjust formatting where necessary.
2285 * tree-vect-slp.c (vect_get_constant_vectors,
2286 vect_create_mask_and_perm): Likewise.
2287 * tree-ssa-forwprop.c (simplify_rotate): Likewise.
2288 * asan.c (build_shadow_mem_access, maybe_create_ssa_name,
2289 maybe_cast_to_ptrmode, asan_expand_check_ifn): Likewise.
2290 * tsan.c (instrument_builtin_call): Likewise.
2291 * tree-chkp.c (chkp_compute_bounds_for_assignment,
2292 chkp_generate_extern_var_bounds): Likewise.
2293 * tree-loop-distribution.c (generate_memset_builtin): Likewise.
2294 * tree-ssa-loop-im.c (rewrite_reciprocal): Likewise.
2295 * gimple-builder.c (build_assign, build_type_cast): Likewise.
2296 * tree-vect-loop-manip.c (vect_create_cond_for_align_checks): Likewise.
2297 * value-prof.c (gimple_divmod_fixed_value, gimple_mod_pow2,
2298 gimple_mod_subtract): Likewise.
2299 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
2300 * tree-vect-patterns.c (vect_recog_dot_prod_pattern,
2301 vect_recog_sad_pattern, vect_handle_widen_op_by_const,
2302 vect_recog_widen_mult_pattern, vect_recog_pow_pattern,
2303 vect_recog_widen_sum_pattern, vect_operation_fits_smaller_type,
2304 vect_recog_over_widening_pattern, vect_recog_widen_shift_pattern,
2305 vect_recog_rotate_pattern, vect_recog_vector_vector_shift_pattern,
2306 vect_recog_divmod_pattern, vect_recog_mixed_size_cond_pattern,
2307 adjust_bool_pattern_cast, adjust_bool_pattern,
2308 vect_recog_bool_pattern): Likewise.
2309 * gimple-ssa-strength-reduction.c (create_add_on_incoming_edge,
2310 insert_initializers, introduce_cast_before_cand,
2311 replace_one_candidate): Likewise.
2312 * tree-ssa-math-opts.c (insert_reciprocals, powi_as_mults_1,
2313 powi_as_mults, build_and_insert_binop, build_and_insert_cast,
2314 pass_cse_sincos::execute, bswap_replace, convert_mult_to_fma):
2316 * tree-tailcall.c (adjust_return_value_with_ops,
2317 update_accumulator_with_ops): Likewise.
2318 * tree-predcom.c (reassociate_to_the_same_stmt): Likewise.
2319 * tree-ssa-reassoc.c (build_and_add_sum,
2320 optimize_range_tests_to_bit_test, update_ops,
2321 maybe_optimize_range_tests, rewrite_expr_tree, linearize_expr,
2322 negate_value, repropagate_negates, attempt_builtin_powi,
2323 reassociate_bb): Likewise.
2324 * tree-vect-loop.c (vect_is_simple_reduction_1,
2325 get_initial_def_for_induction, vect_create_epilog_for_reduction):
2327 * ipa-split.c (split_function): Likewise.
2328 * tree-ssa-phiopt.c (conditional_replacement, minmax_replacement,
2329 abs_replacement, neg_replacement): Likewise.
2330 * tree-profile.c (gimple_gen_edge_profiler): Likewise.
2331 * tree-vrp.c (simplify_truth_ops_using_ranges,
2332 simplify_float_conversion_using_ranges,
2333 simplify_internal_call_using_ranges): Likewise.
2334 * gimple-fold.c (rewrite_to_defined_overflow, gimple_build): Likewise.
2335 * tree-vect-generic.c (expand_vector_divmod,
2336 optimize_vector_constructor): Likewise.
2337 * ubsan.c (ubsan_expand_null_ifn, ubsan_expand_objsize_ifn,
2338 instrument_bool_enum_load): Likewise.
2339 * tree-ssa-loop-manip.c (create_iv): Likewise.
2340 * omp-low.c (lower_rec_input_clauses, expand_omp_for_generic,
2341 expand_omp_for_static_nochunk, expand_omp_for_static_chunk,
2342 expand_cilk_for, simd_clone_adjust): Likewise.
2343 * trans-mem.c (expand_transaction): Likewise.
2344 * tree-vect-data-refs.c (bump_vector_ptr, vect_permute_store_chain,
2345 vect_setup_realignment, vect_permute_load_chain,
2346 vect_shift_permute_load_chain): Likewise.
2347 * tree-vect-stmts.c (vect_init_vector, vectorizable_mask_load_store,
2348 vectorizable_simd_clone_call, vect_gen_widened_results_half,
2349 vect_create_vectorized_demotion_stmts, vectorizable_conversion,
2350 vectorizable_shift, vectorizable_operation, vectorizable_store,
2351 permute_vec_elements, vectorizable_load): Likewise.
2353 2014-12-01 Richard Biener <rguenther@suse.de>
2356 * tree.c (int_cst_hasher::hash): Use TYPE_UID instead of
2357 htab_hash_pointer to not break PCH.
2359 2014-12-01 Richard Biener <rguenther@suse.de>
2361 PR tree-optimization/15346
2362 * Makefile.in (gimple-match.o-warn): Remove -Wno-unused-parameter,
2363 add -Wno-unused-but-set-variable.
2364 * match.pd: Combine two successive divisions.
2366 2014-12-01 Richard Biener <rguenther@suse.de>
2369 * match.pd: Allow conversions in ~A + 1 -> -A, add -A - 1 -> ~A
2371 * fold-const.c (fold_binary_loc): Remove transforms here.
2373 2014-12-01 Maciej W. Rozycki <macro@codesourcery.com>
2375 * config/mips/mips.c (mips16_build_call_stub): Move the save of
2376 the return address in $18 ahead of passing arguments to FPRs.
2378 2014-12-01 Ilya Enkovich <ilya.enkovich@intel.com>
2381 * tree-chkp.c (chkp_find_bound_slots_1): Allow non constant
2382 values in array domain.
2384 2014-12-01 Yuri Rumyantsev <ysrumyan@gmail.com>
2386 PR tree-optimization/63941
2387 * tree-if-conv.c (add_to_predicate_list): Delete wrong assertion that
2388 DOM_BB has non-true predicate, conditionally set non-true predicate
2391 2014-12-01 Martin Jambor <mjambor@suse.cz>
2394 * ipa-inline-analysis.c (evaluate_conditions_for_known_args): Convert
2395 value of the argument to the type of the value in the condition.
2397 2014-12-01 Oleg Endo <olegendo@gcc.gnu.org>
2401 * config/sh/sh.c (sh_unspec_insn_p,
2402 sh_insn_operands_modified_between_p): New functions.
2403 (sh_split_movrt_negc_to_movt_xor): Do not delete insn if its operands
2404 are modified or if it has side effects, may trap or is volatile.
2406 2014-11-29 Jakub Jelinek <jakub@redhat.com>
2408 * gimple-expr.h (create_tmp_var_raw, create_tmp_var,
2409 create_tmp_reg): Add default NULL value to last argument.
2410 * tree-ssanames.h (make_ssa_name, copy_ssa_name): Likewise.
2411 * gimple-low.c (lower_builtin_posix_memalign): Remove NULL
2412 last argument from create_tmp_var_raw, create_tmp_var,
2413 create_tmp_reg, make_ssa_name and copy_ssa_name calls.
2414 * tree-ssa-strlen.c (get_string_length): Likewise.
2415 * tree-emutls.c (gen_emutls_addr, lower_emutls_1): Likewise.
2416 * tree-ssa-phiprop.c (phiprop_insert_phi): Likewise.
2417 * tree-vect-slp.c (vect_get_constant_vectors): Likewise.
2418 * ipa-prop.c (ipa_modify_call_arguments): Likewise.
2419 * tree-ssa-forwprop.c (simplify_rotate): Likewise.
2420 * tree-ssa-ccp.c (fold_builtin_alloca_with_align): Likewise.
2421 * asan.c (build_shadow_mem_access, maybe_create_ssa_name,
2422 maybe_cast_to_ptrmode, asan_expand_check_ifn): Likewise.
2423 * tsan.c (instrument_expr, instrument_builtin_call,
2424 instrument_func_entry): Likewise.
2425 * varpool.c (add_new_static_var): Likewise.
2426 * tree-loop-distribution.c (generate_memset_builtin): Likewise.
2427 * gimplify.c (internal_get_tmp_var, gimplify_return_expr,
2428 gimplify_modify_expr_to_memcpy, gimplify_modify_expr_to_memset,
2429 gimplify_init_ctor_eval_range, gimplify_init_constructor,
2430 gimplify_omp_atomic, gimplify_expr): Likewise.
2431 * gimple-builder.c (build_assign, build_type_cast): Likewise.
2432 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1,
2433 slpeel_update_phi_nodes_for_guard2, slpeel_tree_peel_loop_to_edge,
2434 vect_loop_versioning): Likewise.
2435 * tree-if-conv.c (version_loop_for_if_conversion): Likewise.
2436 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
2437 * tree-vect-patterns.c (vect_handle_widen_op_by_const,
2438 vect_recog_widen_mult_pattern, vect_operation_fits_smaller_type,
2439 vect_recog_over_widening_pattern): Likewise.
2440 * tree-sra.c (build_ref_for_offset, create_access_replacement):
2442 * tree-cfg.c (make_blocks): Likewise.
2443 * tree-eh.c (lower_eh_constructs_2, lower_resx, lower_eh_dispatch):
2445 * tree-ssa-propagate.c (update_call_from_tree): Likewise.
2446 * tree-complex.c (get_component_ssa_name, expand_complex_div_wide):
2448 * tree-ssa-math-opts.c (build_and_insert_cast): Likewise.
2449 * tree-tailcall.c (update_accumulator_with_ops): Likewise.
2450 * tree-predcom.c (initialize_root_vars, initialize_root_vars_lm,
2451 execute_load_motion, reassociate_to_the_same_stmt): Likewise.
2452 * tree-ssa-reassoc.c (build_and_add_sum,
2453 optimize_range_tests_to_bit_test, update_ops,
2454 maybe_optimize_range_tests, rewrite_expr_tree, linearize_expr,
2455 negate_value, repropagate_negates): Likewise.
2456 * tree-vect-loop.c (vect_is_simple_reduction_1,
2457 vect_create_epilog_for_reduction): Likewise.
2458 * ipa-split.c (split_function): Likewise.
2459 * tree-inline.c (remap_ssa_name, setup_one_parameter,
2460 declare_return_variable, tree_function_versioning): Likewise.
2461 * tree-cfgcleanup.c (fixup_noreturn_call): Likewise.
2462 * cfgexpand.c (update_alias_info_with_stack_vars, expand_used_vars):
2464 * tree-ssa-phiopt.c (conditional_replacement, abs_replacement,
2465 neg_replacement): Likewise.
2466 * gimplify-me.c (force_gimple_operand_1, gimple_regimplify_operands):
2468 * tree-vrp.c (simplify_truth_ops_using_ranges,
2469 simplify_float_conversion_using_ranges,
2470 simplify_internal_call_using_ranges): Likewise.
2471 * tree-switch-conversion.c (emit_case_bit_tests,
2472 build_one_array, build_arrays, gen_def_assigns): Likewise.
2473 * gimple-fold.c (gimple_fold_builtin_memory_op,
2474 gimple_fold_builtin_strcat, gimple_fold_call, gimple_build): Likewise.
2475 * tree-vect-generic.c (expand_vector_divmod,
2476 optimize_vector_constructor): Likewise.
2477 * ubsan.c (ubsan_encode_value, ubsan_expand_null_ifn,
2478 ubsan_expand_objsize_ifn, instrument_si_overflow,
2479 instrument_bool_enum_load, instrument_nonnull_arg): Likewise.
2480 * tree-outof-ssa.c (insert_backedge_copies): Likewise.
2481 * tree-ssa-loop-manip.c (create_iv,
2482 tree_transform_and_unroll_loop): Likewise.
2483 * omp-low.c (scan_omp_parallel, lower_rec_simd_input_clauses,
2484 lower_rec_input_clauses, lower_lastprivate_clauses,
2485 expand_parallel_call, expand_omp_for_static_chunk,
2486 expand_omp_atomic_pipeline, expand_omp_target,
2487 maybe_add_implicit_barrier_cancel, lower_omp_single_simple,
2488 lower_omp_critical, lower_omp_for, task_copyfn_copy_decl,
2489 lower_depend_clauses, lower_omp_target, lower_omp_1,
2490 ipa_simd_modify_stmt_ops, simd_clone_adjust): Likewise.
2491 * tree-parloops.c (take_address_of, create_phi_for_local_result,
2492 create_call_for_reduction_1, separate_decls_in_region,
2493 create_parallel_loop): Likewise.
2494 * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_dependence,
2495 handle_scalar_deps_crossing_scop_limits): Likewise.
2496 * trans-mem.c (lower_transaction, build_tm_load, build_tm_store,
2497 expand_assign_tm, expand_call_tm, expand_transaction,
2498 ipa_tm_insert_gettmclone_call): Likewise.
2499 * tree-vect-data-refs.c (bump_vector_ptr, vect_setup_realignment):
2501 * tree-vect-stmts.c (vect_init_vector, vectorizable_mask_load_store,
2502 vectorizable_call, vectorizable_simd_clone_call,
2503 vectorizable_conversion, vectorizable_store, permute_vec_elements,
2504 vectorizable_load): Likewise.
2506 2014-11-29 Tobias Burnus <burnus@net-b.de>
2507 Manuel López-Ibáñez <manu@gcc.gnu.org>
2509 * opt-functions.awk (lang_enabled_by): Support || for
2511 * optc-gen.awk: Ditto.
2512 * doc/options.texi (LangEnabledBy, EnabledBy): Document the
2515 2014-11-28 Mike Stump <mikestump@comcast.net>
2517 * bitmap.c (bitmap_ior): Zap current as it could be deleted.
2518 (bitmap_ior_and_compl): Likewise.
2520 2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
2523 * lra.c (lra_substitute_pseudo): Ignore constant with int mode for
2526 2014-11-28 Segher Boessenkool <segher@kernel.crashing.org>
2529 * config/rs6000/rs6000.md (and<mode>3): Don't generate
2530 and<mode>3_imm unless rs6000_gen_cell_microcode is true.
2532 2014-11-28 Vladimir Makarov <vmakarov@redhat.com>
2534 PR rtl-optimization/64087
2535 * lra-lives.c (process_bb_lives): Add debug output.
2536 (lra_create_live_ranges): Don't remove dead insn on the second
2537 call of lra_create_live_ranges_1.
2539 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2541 PR rtl-optimization/64037
2542 * combine.c (setup_incoming_promotions): Pass the argument
2543 before any promotions happen to promote_function_mode.
2545 2014-11-28 Evgeny Stupachenko <evstupac@gmail.com>
2547 * tree-vect-data-refs.c (vect_transform_grouped_load): Limit shift
2548 permutations to loads group of size 3.
2550 2014-11-28 Jiong Wang <jiong.wang@arm.com>
2552 * config/arm/arm.md (copysignsf3): New pattern.
2553 (copysigndf3): Likewise.
2555 2014-11-28 Andrey Turetskiy <andrey.turetskiy@intel.com>
2556 Ilya Verbin <ilya.verbin@intel.com>
2558 * omp-low.c (lower_omp_critical): Mark critical sections
2559 inside target functions as offloadable.
2561 2014-11-28 Ilya Verbin <ilya.verbin@intel.com>
2563 * lto-wrapper.c (run_gcc): Set have_lto and have_offload if at least one
2564 file contains sections with LTO and offload IR, respectively.
2566 2014-11-28 Ilya Verbin <ilya.verbin@intel.com>
2568 * cgraphunit.c (ipa_passes): Handle flag_generate_offload.
2569 (symbol_table::compile): Set flag_generate_offload if there is something
2571 * common.opt (flag_generate_offload): New Variable declaration.
2572 * dwarf2out.c (dwarf2out_finish): Handle flag_generate_offload.
2573 * ipa-inline-analysis.c (inline_generate_summary): Do not skip if
2574 flag_generate_offload is set.
2575 * lto-streamer.c (gate_lto_out): Handle flag_generate_offload.
2576 * passes.c (ipa_write_summaries): Do not skip if flag_generate_offload
2578 * toplev.c (compile_file): Emit LTO marker if offload info has been
2579 previously emitted. Do not emit lto_slim marker if
2580 flag_generate_offload is without flag_generate_lto.
2581 * tree.c (free_lang_data): Do not skip if flag_generate_offload is set.
2583 2014-11-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2585 * config/arm/arm-cores.def (cortex-a17.cortex-a7): New entry.
2586 * config/arm/arm-tables.opt: Regenerate.
2587 * config/arm/arm-tune.md: Regenerate.
2588 * config/arm/bpabi.h (BE8_LINK_SPEC): Add mcpu=cortex-a17.cortex-a7.
2589 * config/arm/t-aprofile: Add cortex-a17.cortex-a7 entry to
2592 2014-11-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2594 * config/arm/arm.md (generic_sched): Specify cortexa17 in 'no' list.
2595 Include cortex-a17.md.
2596 * config/arm/arm.c (arm_issue_rate): Specify 2 for cortexa17.
2597 * config/arm/arm-cores.def (cortex-a17): New entry.
2598 * config/arm/arm-tables.opt: Regenerate.
2599 * config/arm/arm-tune.md: Regenerate.
2600 * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=cortex-a17.
2601 * config/arm/cortex-a17.md: New file.
2602 * config/arm/cortex-a17-neon.md: New file.
2603 * config/arm/driver-arm.c (arm_cpu_table): Add entry for cortex-a17.
2604 * config/arm/t-aprofile: Add cortex-a17 entries to MULTILIB_MATCHES.
2606 2014-11-28 Richard Biener <rguenther@suse.de>
2609 * genmatch.c (dt_node::gen_kids_1): New function, split out
2610 from dt_node::gen_kids.
2611 (decision_tree::cmp_node): DT_TRUE are generally not equal.
2612 (decision_tree::find_node): Treat DT_TRUE as barrier for
2613 node CSE on the same level.
2614 (dt_node::append_node): Do not keep DT_TRUE last.
2615 (dt_node::gen_kids): Emit code after each DT_TRUE node seen.
2617 2014-11-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2619 * config/arm/t-aprofile (MULTILIB_MATCHES): New entry for
2622 2014-11-27 Uros Bizjak <ubizjak@gmail.com>
2624 * config/i386/i386.md (preferred_for_size): New attribute
2625 (*pushxf): Split Yx*r constraints to r,*r. Use preferred_for_size
2626 attribute to conditionally disable alternative 1.
2627 (*pushdf): Split Yd*r constraints to r,*r. Use preferred_for_size
2628 and prefered_for_speed attributes to conditionally disable
2630 (*movxf_internal): Split Yx*r constraints to r,*r. Use
2631 preferred_for_size attribute to conditionally disable
2632 alternatives 3 and 4.
2633 (*movdf_internal): Split Yd*r constraints to r,*r. Use
2634 preferred_for_size and prefered_for_speed attributes to conditionally
2635 disable alternatives 3 and 4.
2636 * config/i386/constraints.md (Yd, Yx): Remove register constraints.
2638 2014-11-27 Eric Botcazou <ebotcazou@adacore.com>
2640 * dwarf2out.c (set_block_origin_self): Skip nested functions.
2642 2014-11-27 H.J. Lu <hongjiu.lu@intel.com>
2645 * config/i386/i386.h (REAL_PIC_OFFSET_TABLE_REGNUM): Use
2647 * config/i386/rdos64.h (REAL_PIC_OFFSET_TABLE_REGNUM): Removed.
2649 2014-11-27 Martin Liska <mliska@suse.cz>
2650 David Malcolm <dmalcolm@redhat.com>
2652 * ipa-icf.c (sem_function::equals_private): int* is replaced with
2654 (sem_function::bb_dict_test): Likewise.
2655 * ipa-icf.h: Likewise.
2657 2014-11-27 Richard Biener <rguenther@suse.de>
2660 * fold-const.c (const_unop): Re-instantiate missing condition
2661 before calling fold_abs_const.
2663 PR tree-optimization/64088
2664 * tree-ssa-tail-merge.c (update_debug_stmt): After resetting
2665 the stmt break from the loop over use operands.
2667 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2669 * config/i386/cpuid.h (bit_MPX, bit_BNDREGS, bit_BNDCSR):
2671 * config/i386/i386.c (get_builtin_code_for_version): Add avx512f.
2672 (fold_builtin_cpu): Ditto.
2673 * doc/extend.texi: Documment it.
2675 2014-11-27 Jakub Jelinek <jakub@redhat.com>
2678 * expr.c (expand_expr_addr_expr_1) <case COMPOUND_LITERAL_EXPR>:
2679 Handle it by returning address of COMPOUND_LITERAL_EXPR_DECL
2680 not only if modifier is EXPAND_INITIALIZER, but whenever
2681 COMPOUND_LITERAL_EXPR_DECL is non-NULL and TREE_STATIC.
2683 PR tree-optimization/64024
2684 * tree-vectorizer.h (struct _stmt_vec_info): Remove simd_clone_fndecl
2685 field. Add simd_clone_info field.
2686 (STMT_VINFO_SIMD_CLONE_FNDECL): Remove.
2687 (STMT_VINFO_SIMD_CLONE_INFO): Define.
2688 * tree-vect-stmts.c (vectorizable_simd_clone_call): Adjust for
2689 STMT_VINFO_SIMD_CLONE_FNDECL becoming first element of
2690 STMT_VINFO_SIMD_CLONE_INFO vector. For linear arguments, remember
2691 base and linear_step from analysis phase and use it during transform
2692 phase, biased by the difference between LOOP_VINFO_NITERS{_UNCHANGED,}
2693 multiplied by linear_step.
2694 (free_stmt_vec_info): Release STMT_VINFO_SIMD_CLONE_INFO.
2697 * alias.c (find_base_term): Use std::swap. Prefer tmp2
2698 if it is CONSTANT_P other than CONST_INT.
2700 2014-11-27 Thomas Preud'homme <thomas.preudhomme@arm.com>
2703 * config/arm/arm.c (dump_minipool): dispatch to consttable pattern
2705 * config/arm/arm.md (consttable_1): Move from config/arm/thumb1.md and
2706 make it TARGET_EITHER.
2707 (consttable_2): Move from config/arm/thumb1.md, make it TARGET_EITHER
2708 and move HFmode handling from consttable_4 to it.
2709 (consttable_4): Move HFmode handling to consttable_2 pattern.
2710 * config/arm/thumb1.md (consttable_1): Move to config/arm/arm.md.
2711 (consttable_2): Ditto.
2713 2014-11-27 Richard Biener <rguenther@suse.de>
2715 * tree-ssa-sccvn.c (try_to_simplify): Allow
2716 gimple_fold_stmt_to_constant_1 to follow SSA edges.
2718 2014-11-27 Richard Biener <rguenther@suse.de>
2720 PR tree-optimization/64083
2721 * tree-ssa-threadupdate.c (thread_through_all_blocks): Do not
2722 forcibly mark loop for removal the wrong way.
2724 2014-11-27 Richard Biener <rguenther@suse.de>
2727 * alias.c (mems_in_disjoint_alias_sets_p): Remove assert
2728 and instead return false when !fstrict-aliasing.
2730 2014-11-27 Richard Biener <rguenther@suse.de>
2732 PR tree-optimization/61634
2733 * tree-vect-slp.c: Include gimple-walk.h.
2734 (vect_detect_hybrid_slp_stmts): Rewrite to propagate hybrid
2735 down the SLP tree for one scalar statement.
2736 (vect_detect_hybrid_slp_1): New walker function.
2737 (vect_detect_hybrid_slp_2): Likewise.
2738 (vect_detect_hybrid_slp): Properly handle pattern statements
2739 in a pre-scan over all loop stmts.
2741 2014-11-27 Zhenqiang Chen <zhenqiang.chen@linaro.org>
2744 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
2745 * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
2746 aarch64_convert_mode, aarch64_gen_ccmp_first,
2747 aarch64_gen_ccmp_next): New functions.
2748 (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Define.
2750 2014-11-26 Jakub Jelinek <jakub@redhat.com>
2752 * gcc.c (SANITIZER_SPEC): Don't error on -fsanitize=thread
2753 without -pie or -shared, error on -fsanitize=thread -static instead.
2755 2014-11-26 Bernd Edlinger <bernd.edlinger@hotmail.de>
2758 * cgraph.h (symtab_node::call_for_symbol_and_aliases): Fix comment.
2759 (cgraph_node::function_or_virtual_thunk_symbol): New function.
2760 (cgraph_node::call_for_symbol_and_aliases): Fix comment.
2761 (cgraph_node::call_for_symbol_thunks_and_aliases): Adjust comment.
2762 Add new optional parameter exclude_virtual_thunks.
2763 * cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases): Add new
2764 optional parameter exclude_virtual_thunks.
2765 (cgraph_node::set_const_flag): Don't propagate to virtual thunks.
2766 (cgraph_node::set_pure_flag): Likewise.
2767 (cgraph_node::function_symbol): Simplified.
2768 (cgraph_node::function_or_virtual_thunk_symbol): New function.
2769 * ipa-pure-const.c (analyze_function): For virtual thunks set
2770 pure_const_state to IPA_NEITHER.
2771 (propagate_pure_const): Use function_or_virtual_thunk_symbol.
2773 2014-11-26 Richard Biener <rguenther@suse.de>
2776 * tree-data-ref.c (split_constant_offset_1): Do not follow
2777 SSA edges for SSA names with SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
2779 2014-11-26 Richard Biener <rguenther@suse.de>
2781 * fold-const.h (const_unop): Declare.
2782 (const_binop): Likewise.
2783 * fold-const.c (const_binop): Export overload that expects
2784 a type parameter and dispatches to fold_relational_const as well.
2785 Check both operand kinds for guarding the transforms.
2786 (const_unop): New function, with constant folding from fold_unary_loc.
2787 (fold_unary_loc): Dispatch to const_unop for tcc_constant operand.
2788 Remove constant folding done there from the simplifications.
2789 (fold_binary_loc): Check for constants using CONSTANT_CLASS_P.
2790 (fold_negate_expr): Remove dead code from the REAL_CST case.
2791 Avoid building garbage in the COMPLEX_CST case.
2792 * gimple-match-head.c (gimple_resimplify1): Dispatch to
2794 (gimple_resimplify2): Dispatch to const_binop.
2795 (gimple_simplify): Likewise.
2797 2014-11-26 Ilya Enkovich <ilya.enkovich@intel.com>
2800 * tree-chkp-opt.c (chkp_reduce_bounds_lifetime): Ignore
2801 debug statement when searching for a new position for
2802 bounds load/creation statement.
2804 2014-11-26 Marek Polacek <polacek@redhat.com>
2807 * asan.c (initialize_sanitizer_builtins): Add BT_FN_SIZE_CONST_PTR_INT
2808 var. Conditionally build BUILT_IN_OBJECT_SIZE decl.
2809 (ATTR_PURE_NOTHROW_LEAF_LIST): Define.
2811 2014-11-26 Ilya Enkovich <ilya.enkovich@intel.com>
2814 * tree-streamer-in.c (unpack_ts_function_decl_value_fields): Use
2815 proper size for function_code bitfield.
2816 (pack_ts_function_decl_value_fields): Likewise.
2818 2014-11-21 Mark Wielaard <mjw@redhat.com>
2820 * doc/invoke.texi (-gdwarf-@{version}): Mention experimental DWARFv5.
2821 * opts.c (common_handle_option): Accept -gdwarf-5.
2822 * dwarf2out.c (is_cxx): Add DW_LANG_C_plus_plus_11 and
2823 DW_LANG_C_plus_plus_14.
2824 (lower_bound_default): Likewise. Plus DW_LANG_C11.
2825 (gen_compile_unit_die): Output DW_LANG_C_plus_plus_11,
2826 DW_LANG_C_plus_plus_14 or DW_LANG_C11.
2827 (output_compilation_unit_header): Output at most a DWARFv4 header.
2828 (output_skeleton_debug_sections): Likewise.
2829 (output_line_info): Likewise.
2830 (output_aranges): Document header version number.
2832 2014-11-26 Richard Biener <rguenther@suse.de>
2834 * gimple-fold.c (get_symbol_constant_value): Allow all
2835 GIMPLE register type zero-constants.
2837 2014-11-26 Mark Wielaard <mjw@redhat.com>
2839 * dwarf2out.c (gen_subprogram_die): Add DW_AT_noreturn when the
2840 function decl has TREE_THIS_VOLATILE.
2842 2014-11-26 Richard Biener <rguenther@suse.de>
2844 PR tree-optimization/62238
2845 * tree-predcom.c (ref_at_iteration): Unshare the expression
2846 before gimplifying it.
2847 (prepare_initializers_chain): Discard unused seq.
2849 2014-11-26 Prachi Godbole <prachi.godbole@imgtec.com>
2851 * config/mips/mips.c (mips_rtx_cost_data): Fix memory_latency cost
2854 2014-11-25 Vladimir Makarov <vmakarov@redhat.com>
2856 * ira-lives.c (process_bb_node_lives): Make code with conditional
2857 REAL_PIC_OFFSET_TABLE_REGNUM.
2859 2014-11-25 Vladimir Makarov <vmakarov@redhat.com>
2862 * ira-lives.c (process_bb_node_lives): Check and remove conflict
2863 of pic pseudo with pic hard reg.
2865 2014-11-25 Rohit <rohitarulraj@freescale.com>
2868 * config/rs6000/darwin.h (REGISTER_NAMES): Update based on 32 newly
2869 added GCC hard register numbers for SPE high registers.
2871 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2873 * bt-load.c (migrate_btr_defs): Get the key of a heap entry
2874 before removing it, not after.
2876 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2878 * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Remove
2881 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2883 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_POP): Use addi instead
2886 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2888 * config/rs6000/rs6000.md (iorxor, IORXOR): Delete code_attrs.
2889 (rest of file): Replace those with code resp. CODE.
2891 2014-11-25 Tom de Vries <tom@codesourcery.com>
2893 * tree-cfg.c (verify_sese): New function.
2894 (move_sese_region_to_fn): Call verify_sese.
2895 * tree-cfg.h (verify_sese): Declare.
2897 2014-11-25 Richard Biener <rguenther@suse.de>
2900 * lto-streamer-out.c (output_struct_function_base): Stream
2902 * lto-streamer-in.c (input_struct_function_base): Likewise.
2904 2014-11-25 Martin Liska <mliska@suse.cz>
2908 * sreal.c (sreal::operator+): Addition fixed.
2909 (sreal::signedless_plus): Negative numbers are
2911 (sreal::operator-): Subtraction is fixed.
2912 (sreal::signedless_minus): Negative numbers are
2914 * sreal.h (sreal::operator<): Equal negative numbers
2915 are compared correctly.
2916 (sreal::shift): New checking asserts are introduced.
2919 2014-11-25 Richard Biener <rguenther@suse.de>
2921 PR tree-optimization/61927
2922 * tree-vect-loop.c (vect_analyze_loop_2): Revert ordering
2923 of group and pattern analysis to the one in GCC 4.8.
2925 2014-11-25 Ilya Tocar <ilya.tocar@intel.com>
2926 Jakub Jelinek <jakub@redhat.com>
2928 * gcc.c (handle_foffload_option): Remove unnecessary calls to strchr,
2930 * lto-wrapper.c (append_offload_options): Likewise.
2932 2014-11-25 Eric Botcazou <ebotcazou@adacore.com>
2934 * config/rs6000/rs6000.c (rs6000_call_aix): For the AIX ABI, do not
2935 load the static chain if the call was originally direct.
2937 2014-11-25 Jan Hubicka <hubicka@ucw.cz>
2940 * ipa-prop.c (ipa_analyze_call_uses): Don't call get_dynamic_type when
2941 devirtualization is disabled.
2943 2014-11-24 Michael Meissner <meissner@linux.vnet.ibm.com>
2946 * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Do not set
2947 Altivec & -16 mask if the type is not valid for Altivec registers.
2948 (rs6000_secondary_reload_memory): Add support for ((reg + const) +
2949 reg) that occurs during push_reload processing.
2951 * config/rs6000/altivec.md (altivec_mov<mode>): Add instruction
2952 alternative for moving constant vectors which are easy altivec
2953 constants to GPRs. Set the length attribute each of the
2956 * config/rs6000/rs6000-cpus.def: Undo November 21st changes, a
2957 work in progress patch was committed instead of the fixes for
2959 * config/rs6000/rs6000.c: Likewise.
2961 2014-11-22 Jan Hubicka <hubicka@ucw.cz>
2964 * ipa-inline-transform.c (can_remove_node_now_p_1): Handle alises
2965 and -fno-devirtualize more carefully.
2966 (can_remove_node_now_p): Update.
2968 2014-11-24 Andrew Pinski <apinski@cavium.com>
2971 * shrink-wrap.c (move_insn_for_shrink_wrap): Allow LO_SUM also.
2973 2014-11-24 Alan Lawrence <alan.lawrence@arm.com>
2975 * config/aarch64/aarch64-simd.md (vec_shr<mode>): New.
2977 2014-11-24 Alan Lawrence <alan.lawrence@arm.com>
2979 * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args):
2980 Refactor by combining switch statements and make arrays into scalars.
2982 2014-11-24 David Edelsohn <dje.gcc@gmail.com>
2985 * dbxout.c: Include stringpool.h
2986 (dbxout_type) [default]: Ignore auto type.
2988 2014-11-24 Richard Biener <rguenther@suse.de>
2990 PR tree-optimization/63679
2991 * tree-ssa-sccvn.c: Include ipa-ref.h, plugin-api.h and cgraph.h.
2992 (copy_reference_ops_from_ref): Fix non-constant ADDR_EXPR case
2993 to properly leave off at -1.
2994 (fully_constant_vn_reference_p): Generalize folding from
2995 constant initializers.
2996 (vn_reference_lookup_3): When looking through aggregate copies
2997 handle offsetted reads and try simplifying the result to
2999 * gimple-fold.h (fold_ctor_reference): Export.
3000 * gimple-fold.c (fold_ctor_reference): Likewise.
3002 2014-11-24 Petr Murzin <petr.murzin@intel.com>
3004 * simplify-rtx.c (simplify_ternary_operation): Simplify
3005 vec_merge (vec_duplicate (vec_select)).
3007 2014-11-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3009 * config/aarch64/aarch64.c (AARCH64_FUSE_ADRP_LDR): Define.
3010 (cortexa53_tunings): Specify AARCH64_FUSE_ADRP_LDR in fuseable_ops.
3011 (aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_ADRP_LDR.
3013 2014-11-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3015 * config/aarch64/aarch64.c (AARCH64_FUSE_MOVK_MOVK): Define.
3016 (cortexa53_tunings): Specify AARCH64_FUSE_MOVK_MOVK in fuseable_ops.
3017 (cortexa57_tunings): Likewise.
3018 (aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_MOVK_MOVK.
3020 2014-11-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3022 * sched-deps.c (sched_macro_fuse_insns): Do not check modified_in_p
3023 in the not conditional jump case.
3024 * doc/tm.texi (TARGET_SCHED_MACRO_FUSION_PAIR_P): Update description.
3025 * target.def (TARGET_SCHED_MACRO_FUSION_PAIR_P): Update description.
3027 2014-11-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3029 * config/aarch64/aarch64.c: Include tm-constrs.h
3030 (AARCH64_FUSE_ADRP_ADD): Define.
3031 (cortexa57_tunings): Add AARCH64_FUSE_ADRP_ADD to fuseable_ops.
3032 (cortexa53_tunings): Likewise.
3033 (aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_ADRP_ADD.
3035 2014-11-24 Martin Liska <mliska@suse.cz>
3037 * ipa-inline.c (edge_badness): long is replaced by sreal
3038 as fibonacci_heap template type.
3039 (update_edge_key): Likewise.
3040 (inline_small_functions): Likewise.
3042 2014-11-24 Martin Liska <mliska@suse.cz>
3044 * predict.c (propagate_freq): More elegant sreal API is used.
3045 (estimate_bb_frequencies): Precomputed constants replaced by integer
3047 * sreal.c (sreal::normalize): New function.
3048 (sreal::to_int): Likewise.
3049 (sreal::operator+): Likewise.
3050 (sreal::operator-): Likewise.
3051 (sreal::signedless_plus): Likewise.
3052 (sreal::signedless_minus): Likewise.
3053 (sreal::operator/): Negative number support is added.
3054 * sreal.h: Definition of new functions added.
3055 (inline sreal operator<<): New function.
3056 (inline sreal operator>>): Likewise.
3058 2014-11-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3060 * config/aarch64/aarch64-protos.h (struct tune_params): Add
3062 * config/aarch64/aarch64.c (generic_tunings): Specify fuseable_ops.
3063 (cortexa53_tunings): Likewise.
3064 (cortexa57_tunings): Likewise.
3065 (thunderx_tunings): Likewise.
3066 (aarch64_macro_fusion_p): New function.
3067 (aarch_macro_fusion_pair_p): Likewise.
3068 (TARGET_SCHED_MACRO_FUSION_P): Define.
3069 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
3070 (AARCH64_FUSE_MOV_MOVK): Likewise.
3071 (AARCH64_FUSE_NOTHING): Likewise.
3073 2014-11-24 Martin Liska <mliska@suse.cz>
3076 * bb-reorder.c (find_traces_1_round): decreate_key is replaced
3077 with replace_key method.
3078 * fibonacci_heap.h (fibonacci_heap::insert): New argument.
3079 (fibonacci_heap::replace_key_data): Likewise.
3080 (fibonacci_heap::replace_key): New method that can even increment key,
3081 this operation costs O(log N).
3082 (fibonacci_heap::extract_min): New argument.
3083 (fibonacci_heap::delete_node): Likewise.
3085 2014-11-24 Richard Biener <rguenther@suse.de>
3087 PR tree-optimization/55334
3088 * function.h (struct function): Add last_clique member.
3089 * tree-inline.c (remap_dependence_clique): New function.
3090 (remap_gimple_op_r): Remap dependence cliques in MEM_REFs.
3091 (copy_tree_body_r): Likewise.
3092 (copy_cfg_body): Free dependence map.
3093 (copy_gimple_seq_and_replace_locals): Likewise.
3094 * tree-pretty-print.c (dump_generic_node): Dump
3096 * tree-ssa-alias.c (refs_may_alias_p_1): Use dependence info
3097 to answer alias query.
3098 * tree-ssa-structalias.c: Include tree-phinodes.h, ssa-iterators.h,
3099 tree-pretty-print.h and gimple-walk.h.
3100 (struct variable_info): Add is_restrict_var flag and ruid
3102 (new_var_info): Initialize is_restrict_var.
3103 (make_constraint_from_restrict): Likewise.
3104 (create_variable_info_for): Exclude restricts from global vars
3106 (intra_create_variable_infos): But not those from parameters.
3107 (visit_loadstore): New function.
3108 (maybe_set_dependence_info): Likewise.
3109 (compute_dependence_clique): Likewise.
3110 (compute_may_aliases): Call compute_dependence_clique.
3111 * tree-data-ref.c (dr_analyze_indices): Copy dependence info
3113 (dr_may_alias_p): Use recorded dependence info to answer
3115 * tree-core.h (struct tree_base): Add clique, base struct in
3117 * tree.h (MR_DEPENDENCE_CLIQUE): New macro.
3118 (MR_DEPENDENCE_BASE): Likewise.
3119 * tree-inline.h (dependence_hasher): New hash-map kind.
3120 (struct copy_body_data): Add dependence_map pointer.
3121 * gimple-fold.c (maybe_canonicalize_mem_ref_addr): Avoid
3122 throwing away dependence info.
3123 * tree-streamer-in.c (unpack_value_fields): Stream dependence info.
3124 * tree-streamer-out.c (streamer_pack_tree_bitfields): Likewise.
3126 2014-11-23 Oleg Endo <olegendo@gcc.gnu.org>
3129 * config/sh/sh_optimize_sett_clrt.cc
3130 (sh_optimize_sett_clrt::find_last_ccreg_values): Return bool instead
3131 of void. Abort at complex edges.
3132 (sh_optimize_sett_clrt::execute): Do nothing if find_last_ccreg_values
3135 2014-11-22 John David Anglin <danglin@gcc.gnu.org>
3138 * configure.ac: Check for strtol, strtoul, strtoll and strtoull
3140 * configure: Regenerated.
3141 * config.in: Regenerated.
3143 2014-11-22 Jan Hubicka <hubicka@ucw.cz>
3145 * ipa.c (symbol_table::remove_unreachable_nodes): Mark all inline
3146 clones as having abstract origin used.
3147 * ipa-inline-transform.c (can_remove_node_now_p_1): Drop abstract
3149 (clone_inlined_nodes): Copy abstract originflag.
3150 * lto-cgraph.c (compute_ltrans_boundary): Use get_create to get
3151 abstract origin node.
3153 2014-11-22 Uros Bizjak <ubizjak@gmail.com>
3155 * params.def (PARAM_MAX_COMPLETELY_PEELED_INSNS): Increase to 200.
3156 * config/i386/i386.c (ix86_option_override_internal): Do not increase
3157 PARAM_MAX_COMPLETELY_PEELED_INSNS.
3159 2014-11-22 Oleg Endo <olegendo@gcc.gnu.org>
3163 * config/sh/sh_treg_combine.cc (sh_treg_combine::make_not_reg_insn):
3164 Do not emit bitwise not insn. Emit logical not insn sequence instead.
3165 Adjust related comments throughout the file.
3167 2014-11-22 Oleg Endo <olegendo@gcc.gnu.org>
3171 * config/sh/sh.c (sh_is_logical_t_store_expr,
3172 sh_try_omit_signzero_extend): Use rtx_insn* for insn argument.
3173 (sh_split_movrt_negc_to_movt_xor): New function.
3174 (sh_find_set_of_reg): Move to ...
3175 * config/sh/sh-protos.h (sh_find_set_of_reg): ... here and convert
3176 to template function.
3177 (set_of_reg): Use rtx_insn* for insn member.
3178 (sh_is_logical_t_store_expr, sh_try_omit_signzero_extend): Use
3179 rtx_insn* for insn argument.
3180 * config/sh/sh.md (movrt_negc, *movrt_negc): Split into movt-xor
3181 sequence using new sh_split_movrt_negc_to_movt_xor function.
3182 (movrt_xor): Allow also for SH2A.
3183 (*movt_movrt): Delete insns and splits.
3185 2014-11-22 Marc Glisse <marc.glisse@inria.fr>
3187 PR tree-optimization/60770
3188 * tree-sra.c (clobber_subtree): New function.
3189 (sra_modify_constructor_assign): Call it.
3191 2014-11-21 Vladimir Makarov <vmakarov@redhat.com>
3194 * lra-lives.c (mark_regno_live, mark_regno_dead): Remove last
3196 (process_bb_lives): Rename dead_insn_p on remove_p
3197 and global_live_info_p on dead_insn_p. Calculate local live info
3198 unconditionally. Remove last argument in calls mark_regno_live and
3199 mark_regno_dead. Reorganize body of EXECUTE_IF_SET_IN_BITMAP.
3200 (lra_create_live_ranges): Rename to lra_create_live_ranges_1.
3201 Return bool. Rename global_live_info_p on dead_insn_p. Return
3202 flag of live info change.
3203 (lra_create_live_ranges): New.
3205 2014-11-21 Jakub Jelinek <jakub@redhat.com>
3209 * internal-fn.c (expand_arith_overflow_result_store,
3210 expand_addsub_overflow, expand_neg_overflow, expand_mul_overflow): Use
3211 do_compare_rtx_and_jump instead of emit_cmp_and_jump_insns everywhere,
3212 adjust arguments to those functions. Use unsignedp = true for
3213 EQ, NE, GEU, LEU, LTU and GTU comparisons.
3215 PR tree-optimization/64006
3216 * tree-vrp.c (stmt_interesting_for_vrp): Return true
3217 for {ADD,SUB,MUL}_OVERFLOW internal calls.
3218 (vrp_visit_assignment_or_call): For {ADD,SUB,MUL}_OVERFLOW
3219 internal calls, check if any REALPART_EXPR/IMAGPART_EXPR
3220 immediate uses would change their value ranges and return
3221 SSA_PROP_INTERESTING if so, or SSA_PROP_NOT_INTERESTING
3222 if there are some REALPART_EXPR/IMAGPART_EXPR immediate uses
3223 interesting for vrp.
3225 2014-11-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3228 * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Do not set
3229 Altivec & -16 mask if the type is not valid for Altivec registers.
3230 (rs6000_secondary_reload_memory): Add support for ((reg + const) +
3231 reg) that occurs during push_reload processing.
3233 * config/rs6000/altivec.md (altivec_mov<mode>): Add instruction
3234 alternative for moving constant vectors which are easy altivec
3235 constants to GPRs. Set the length attribute each of the
3238 2014-11-21 Matthew Fortune <matthew.fortune@imgtec.com>
3240 * configure.ac: When checking for MIPS .module support ensure that
3241 o32 FPXX is supported to avoid a second configure check.
3242 * configure: Regenerate.
3244 2014-11-21 Jiong Wang <jiong.wang@arm.com>
3246 * config/aarch64/iterators.md (VS): New mode iterator.
3247 (vsi2qi): New mode attribute.
3249 * config/aarch64/aarch64-simd-builtins.def: New entry for ctz.
3250 * config/aarch64/aarch64-simd.md (ctz<mode>2): New pattern for ctz.
3251 * config/aarch64/aarch64-builtins.c
3252 (aarch64_builtin_vectorized_function): Support BUILT_IN_CTZ.
3254 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
3257 * configure: Regenerated.
3259 2014-11-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3261 * config/aarch64/arm_neon.h (vsqrt_f64): New intrinsic.
3263 2014-11-21 Ilya Tocar <ilya.tocar@intel.com>
3265 * common/config/i386/i386-common.c (OPTION_MASK_ISA_PCOMMIT_UNSET,
3266 OPTION_MASK_ISA_PCOMMIT_SET): New.
3267 (ix86_handle_option): Handle OPT_mpcommit.
3268 * config.gcc: Add pcommitintrin.h
3269 * config/i386/pcommitintrin.h: New file.
3270 * config/i386/cpuid.h (bit_PCOMMIT): Define.
3271 * config/i386/driver-i386.c (host_detect_local_cpu): Detect pcommit.
3272 * config/i386/i386-c.c (ix86_target_macros_internal): Define
3274 * config/i386/i386.c (ix86_target_string): Add -mpcommit.
3275 (PTA_PCOMMIT): Define.
3276 (ix86_option_override_internal): Handle new option.
3277 (ix86_valid_target_attribute_inner_p): Add pcommit.
3278 (ix86_builtins): Add IX86_BUILTIN_PCOMMIT.
3279 (bdesc_special_args): Add __builtin_ia32_pcommit.
3280 * config/i386/i386.h (TARGET_PCOMMIT, TARGET_PCOMMIT_P): Define.
3281 * config/i386/i386.md (unspecv): Add UNSPECV_PCOMMIT.
3282 (pcommit): New instruction.
3283 * config/i386/i386.opt: Add mpcommit.
3284 * config/i386/x86intrin.h: Include pcommitintrin.h.
3286 2014-11-20 Mark Wielaard <mjw@redhat.com>
3289 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use lang_GNU_C.
3290 * config/darwin.c (darwin_file_end): Use lang_GNU_CXX.
3291 (darwin_override_options): Likewise.
3292 * config/ia64/ia64.c (ia64_struct_retval_addr_is_first_parm_p):
3294 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
3296 * dbxout.c (get_lang_number): Likewise.
3297 (dbxout_type): Likewise.
3298 (dbxout_symbol_location): Likewise.
3299 * dwarf2out.c (add_prototyped_attribute): Add DW_AT_prototype
3300 also for DW_LANG_{C,C99,ObjC}.
3301 (highest_c_language): New function.
3302 (gen_compile_unit_die): Call highest_c_language to merge LTO
3303 TRANSLATION_UNIT_LANGUAGE. Use strncmp language_string to
3304 determine if DW_LANG_C99 or DW_LANG_C89 should be returned.
3305 * fold-const.c (fold_cond_expr_with_comparison): Use lang_GNU_CXX.
3306 * langhooks.h (struct lang_hooks): Add version comment to name.
3307 (lang_GNU_C): New function declaration.
3308 (lang_GNU_CXX): Likewise.
3309 * langhooks.c (lang_GNU_C): New function.
3310 (lang_GNU_CXX): Likewise.
3311 * vmsdbgout.c (vmsdbgout_init): Use lang_GNU_C and lang_GNU_CXX.
3313 2014-11-21 Ilya Tocar <ilya.tocar@intel.com>
3315 * common/config/i386/i386-common.c (OPTION_MASK_ISA_CLWB_UNSET,
3316 OPTION_MASK_ISA_CLWB_SET): New.
3317 (ix86_handle_option): Handle OPT_mclwb.
3318 * config.gcc: Add clwbintrin.h.
3319 * config/i386/clwbintrin.h: New file.
3320 * config/i386/cpuid.h (bit_CLWB): Define.
3321 * config/i386/driver-i386.c (host_detect_local_cpu): Detect clwb.
3322 * config/i386/i386-c.c (ix86_target_macros_internal): Define
3324 * config/i386/i386.c (ix86_target_string): Add -mclwb.
3326 (ix86_option_override_internal): Handle new option.
3327 (ix86_valid_target_attribute_inner_p): Add clwb.
3328 (ix86_builtins): Add IX86_BUILTIN_CLWB.
3329 (ix86_init_mmx_sse_builtins): Add __builtin_ia32_clwb.
3330 (ix86_expand_builtin): Handle IX86_BUILTIN_CLWB.
3331 * config/i386/i386.h (TARGET_CLWB, TARGET_CLWB_P): Define.
3332 * config/i386/i386.md (unspecv): Add UNSPECV_CLWB.
3333 (clwb): New instruction.
3334 * config/i386/i386.opt: Add mclwb.
3335 * config/i386/x86intrin.h: Include clwbintrin.h.
3337 2014-11-21 Ilya Tocar <ilya.tocar@intel.com>
3339 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET
3340 OPTION_MASK_ISA_AVX512VBMI_UNSET): New.
3341 (ix86_handle_option): Handle OPT_mavx512vbmi.
3342 * config.gcc: Add avx512vbmiintrin.h, avx512vbmivlintrin.h.
3343 * config/i386/avx512vbmiintrin.h: New file.
3344 * config/i386/avx512vbmivlintrin.h: Ditto.
3345 * config/i386/cpuid.h (bit_AVX512VBMI): New.
3346 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512vbmi.
3347 * config/i386/i386-c.c (ix86_target_macros_internal): Define
3349 * config/i386/i386.c (ix86_target_string): Add -mavx512vbmi.
3350 (PTA_AVX512VBMI): Define.
3351 (ix86_option_override_internal): Handle new options.
3352 (ix86_valid_target_attribute_inner_p): Add avx512vbmi,
3353 (ix86_builtins): Add IX86_BUILTIN_VPMULTISHIFTQB512,
3354 IX86_BUILTIN_VPMULTISHIFTQB256, IX86_BUILTIN_VPMULTISHIFTQB128,
3355 IX86_BUILTIN_VPERMVARQI512_MASK, IX86_BUILTIN_VPERMT2VARQI512,
3356 IX86_BUILTIN_VPERMT2VARQI512_MASKZ, IX86_BUILTIN_VPERMI2VARQI512,
3357 IX86_BUILTIN_VPERMVARQI256_MASK, IX86_BUILTIN_VPERMVARQI128_MASK,
3358 IX86_BUILTIN_VPERMT2VARQI256, IX86_BUILTIN_VPERMT2VARQI256_MASKZ,
3359 IX86_BUILTIN_VPERMT2VARQI128, IX86_BUILTIN_VPERMI2VARQI256,
3360 IX86_BUILTIN_VPERMI2VARQI128.
3361 (bdesc_special_args): Add __builtin_ia32_vpmultishiftqb512_mask,
3362 __builtin_ia32_vpmultishiftqb256_mask,
3363 __builtin_ia32_vpmultishiftqb128_mask,
3364 __builtin_ia32_permvarqi512_mask, __builtin_ia32_vpermt2varqi512_mask,
3365 __builtin_ia32_vpermt2varqi512_maskz,
3366 __builtin_ia32_vpermi2varqi512_mask, __builtin_ia32_permvarqi256_mask,
3367 __builtin_ia32_permvarqi128_mask, __builtin_ia32_vpermt2varqi256_mask,
3368 __builtin_ia32_vpermt2varqi256_maskz,
3369 __builtin_ia32_vpermt2varqi128_mask,
3370 __builtin_ia32_vpermt2varqi128_maskz,
3371 __builtin_ia32_vpermi2varqi256_mask,
3372 __builtin_ia32_vpermi2varqi128_mask.
3373 (ix86_hard_regno_mode_ok): Allow big masks for AVX512VBMI.
3374 * config/i386/i386.h (TARGET_AVX512VBMI, TARGET_AVX512VBMI_P): Define.
3375 * config/i386/i386.opt: Add mavx512vbmi.
3376 * config/i386/immintrin.h: Include avx512vbmiintrin.h,
3377 avx512vbmivlintrin.h.
3378 * config/i386/sse.md (unspec): Add UNSPEC_VPMULTISHIFT.
3379 (VI1_AVX512VL): New iterator.
3380 (<avx512>_permvar<mode><mask_name>): Use it.
3381 (<avx512>_vpermi2var<mode>3_maskz): Ditto.
3382 (<avx512>_vpermi2var<mode>3<sd_maskz_name>): Ditto.
3383 (<avx512>_vpermi2var<mode>3_mask): Ditto.
3384 (<avx512>_vpermt2var<mode>3_maskz): Ditto.
3385 (<avx512>_vpermt2var<mode>3<sd_maskz_name>): Ditto.
3386 (<avx512>_vpermt2var<mode>3_mask): Ditto.
3387 (vpmultishiftqb<mode><mask_name>): Ditto.
3389 2014-11-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3391 PR rtl-optimization/63952
3392 * optabs.c (prepare_cmp_insn): Do not call can_compare_p for CCmode.
3393 * config/s390/s390.md ("cbranchcc4"): Accept any s390_comparison.
3394 Remove incorrect TARGET_HARD_FLOAT check and no-op expander code.
3396 2014-11-21 Ilya Tocar <ilya.tocar@intel.com>
3398 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512IFMA_SET,
3399 OPTION_MASK_ISA_AVX512IFMA_UNSET): New.
3400 (ix86_handle_option): Handle OPT_mavx512ifma.
3401 * config.gcc: Add avx512ifmaintrin.h, avx512ifmavlintrin.h.
3402 * config/i386/avx512ifmaintrin.h: New file.
3403 * config/i386/avx512ifmaivlntrin.h: Ditto.
3404 * config/i386/cpuid.h (bit_AVX512IFMA): New.
3405 * config/i386/driver-i386.c (host_detect_local_cpu): Detect
3407 * config/i386/i386-c.c (ix86_target_macros_internal): Define
3409 * config/i386/i386.c (ix86_target_string): Add -mavx512ifma.
3410 (PTA_AVX512IFMA): Define.
3411 (ix86_option_override_internal): Handle new options.
3412 (ix86_valid_target_attribute_inner_p): Add avx512ifma.
3413 (ix86_builtins): Add IX86_BUILTIN_VPMADD52LUQ512,
3414 IX86_BUILTIN_VPMADD52HUQ512, IX86_BUILTIN_VPMADD52LUQ256,
3415 IX86_BUILTIN_VPMADD52HUQ256, IX86_BUILTIN_VPMADD52LUQ128,
3416 IX86_BUILTIN_VPMADD52HUQ128, IX86_BUILTIN_VPMADD52LUQ512_MASKZ,
3417 IX86_BUILTIN_VPMADD52HUQ512_MASKZ, IX86_BUILTIN_VPMADD52LUQ256_MASKZ,
3418 IX86_BUILTIN_VPMADD52HUQ256_MASKZ, IX86_BUILTIN_VPMADD52LUQ128_MASKZ,
3419 IX86_BUILTIN_VPMADD52HUQ128_MASKZ.
3420 (bdesc_special_args): Add __builtin_ia32_vpmadd52luq512_mask,
3421 __builtin_ia32_vpmadd52luq512_maskz,
3422 __builtin_ia32_vpmadd52huq512_mask,
3423 __builtin_ia32_vpmadd52huq512_maskx,
3424 __builtin_ia32_vpmadd52luq256_mask,
3425 __builtin_ia32_vpmadd52luq256_maskz,
3426 __builtin_ia32_vpmadd52huq256_mask,
3427 __builtin_ia32_vpmadd52huq256_maskz,
3428 __builtin_ia32_vpmadd52luq128_mask,
3429 __builtin_ia32_vpmadd52luq128_maskz,
3430 __builtin_ia32_vpmadd52huq128_mask,
3431 __builtin_ia32_vpmadd52huq128_maskz,
3432 * config/i386/i386.h (TARGET_AVX512IFMA, TARGET_AVX512IFMA_P): Define.
3433 * config/i386/i386.opt: Add mavx512ifma.
3434 * config/i386/immintrin.h: Include avx512ifmaintrin.h,
3435 avx512ifmavlintrin.h.
3436 * config/i386/sse.md (unspec): Add UNSPEC_VPMADD52LUQ,
3438 (VPMADD52): New iterator.
3439 (vpmadd52type): New attribute.
3440 (vpamdd52huq<mode>_maskz): New.
3441 (vpamdd52luq<mode>_maskz): Ditto.
3442 (vpamdd52<vpmadd52type><mode><sd_maskz_name>): Ditto.
3443 (vpamdd52<vpmadd52type><mode>_mask): Ditto.
3445 2014-11-21 Alan Lawrence <alan.lawrence@arm.com>
3448 2014-09-22 Alan Lawrence <alan.lawrence@arm.com>
3449 * fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs.
3451 2014-11-21 Andrew Bennett <andrew.bennett@imgtec.com>
3453 * config/mips/mips.c (mips_process_sync_loop): Place a
3454 nop in the delay slot of the branch likely instruction.
3455 (mips_output_sync_loop): Ensure mips_branch_likely is
3456 set before calling mips_output_sync_loop.
3457 (mips_sync_loop_insns): Likewise.
3459 2014-11-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3462 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Allow
3463 the base pointer of vec_vsx_ld and vec_vsx_st to take a pointer to
3466 2014-11-21 Georg-Johann Lay <avr@gjlay.de>
3468 Forward-port from 2014-10-30 4_9-branch r216934
3471 * config/avr/avr-protos.h (regmask): New inline function.
3472 (avr_fix_inputs, avr_emit3_fix_outputs): New protos.
3473 * config/avr/avr.c (avr_fix_operands, avr_move_fixed_operands)
3474 (avr_fix_inputs, avr_emit3_fix_outputs): New functions.
3475 * config/avr/avr-fixed.md (mulqq3_nomul, muluqq3_nomul)
3476 (mul<ALL2QA>3, mul<ALL4A>3, <usdiv><ALL1Q>3, <usdiv><ALL2QA>3)
3477 (<usdiv><ALL4A>3, round<ALL124QA>3): Fix input operands.
3478 * config/avr/avr-dimode.md (add<ALL8>3, sub<ALL8>3)
3479 (<ss_addsub><ALL8S>3, <us_addsub><ALL8U>3, cbranch<ALL8>4)
3480 (<di_shifts><ALL8>3, <any_extend>mulsidi3): Fix input operands.
3481 * config/avr/avr.md (mulqi3_call, mulhi3_call, mulsi3, mulpsi3)
3482 (mulu<QIHI>si3, muls<QIHI>si3, mulohisi3, <any_extend>mulhisi3)
3483 (usmulhisi3, <any_extend>mulhi3_highpart, mulsqipsi3)
3484 (fmul, fmuls, fmulsu): Fix operands. Turn insn into expander as
3487 2014-11-21 Jakub Jelinek <jakub@redhat.com>
3490 * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
3491 (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
3493 2014-11-21 James Greenhalgh <james.greenhalgh@arm.com>
3495 * config/aarch64/aarch64-simd.md
3496 (aarch64_<ANY_EXTEND:su><ADDSUB:optab>l<mode>): Add a tab between
3497 output mnemonic and operands.
3498 (aarch64_simd_vec_unpack<su>_lo_<mode>): Likewise.
3499 (aarch64_simd_vec_unpack<su>_hi_<mode>): Likewise.
3501 2014-11-21 Evgeny Stupachenko <evstupac@gmail.com>
3503 * config/i386/i386.c (ix86_option_override_internal): Increase
3504 PARAM_MAX_COMPLETELY_PEELED_INSNS.
3506 2014-11-21 Evgeny Stupachenko <evstupac@gmail.com>
3509 * config/i386/i386.c (expand_vec_perm_even_odd_pack): New.
3510 (expand_vec_perm_even_odd_1): Add new expand for V8HI mode,
3511 replace for V16QI, V16HI and V32QI modes.
3512 (ix86_expand_vec_perm_const_1): Add new expand.
3514 2014-11-21 Nick Clifton <nickc@redhat.com>
3516 * config/rl78/rl78-real.md (movqi_from_es): New pattern.
3517 * config/rl78/rl78.c (struct machine_function): Add uses_es field.
3518 (rl78_expand_prologue): Save the ES register in interrupt handlers
3520 (rl78_expand_epilogue): Restore the ES register if necessary.
3521 (rl78_start_function): Mention if the function uses the ES
3523 (rl78_lo16): Record the use of the ES register.
3524 (transcode_memory_rtx): Likewise.
3526 2014-11-21 Jakub Jelinek <jakub@redhat.com>
3528 PR tree-optimization/61773
3529 * tree-ssa-strlen.c (get_string_length): Don't assert
3530 stpcpy has been prototyped if si->stmt is BUILT_IN_MALLOC.
3533 * simplify-rtx.c (simplify_immed_subreg): Return NULL for integer
3534 modes wider than MAX_BITSIZE_MODE_ANY_INT. If not using
3535 CONST_WIDE_INT, make sure r fits into CONST_DOUBLE.
3537 2014-11-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3539 * config/rs6000/rs6000.c (includes_rldic_lshift_p): Use
3540 HOST_WIDE_INT_M1U instead of ~0.
3541 (includes_rldicr_lshift_p): Likewise.
3543 2014-11-21 Chung-Ju Wu <jasonwucj@gmail.com>
3545 * config/nds32/nds32.c (nds32_legitimate_address_p): For LO_SUM,
3546 we need to look into its operand to determine if it is a valid
3549 2014-11-21 Chung-Ju Wu <jasonwucj@gmail.com>
3551 * config/nds32/nds32.c (nds32_emit_stack_push_multiple): Add new
3552 vaarg_p argument and create correct CFI info.
3553 (nds32_expand_prologue): Pass true or false to
3554 nds32_emit_stack_push_multiple function.
3556 2014-11-21 Chung-Ju Wu <jasonwucj@gmail.com>
3558 * config/nds32/nds32.c (nds32_expand_prologue): Set fp_adjust_insn
3559 as RTX_FRAME_RELATED_P rtx.
3561 2014-11-21 Chung-Ju Wu <jasonwucj@gmail.com>
3563 * config/nds32/nds32.opt (march): Add help message.
3565 2014-11-20 Patrick Palka <ppalka@gcc.gnu.org>
3567 * tree-vrp.c (test_for_singularity): New parameter
3568 strict_overflow_p. Set *strict_overflow_p to true if signed
3569 overflow must be undefined for the return value to satisfy the
3571 (simplify_cond_using_ranges): Don't perform the simplification
3572 if it violates overflow rules.
3574 2014-11-20 Marek Polacek <polacek@redhat.com>
3576 * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Fix typo.
3578 2014-11-20 Andrew Stubbs <ams@codesourcery.com>
3580 * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Warn if a loop
3581 condition would be removed due to undefined behaviour.
3583 2014-11-20 Andrew Pinski <apinski@cavium.com>
3587 * ipa-polymorphic-call.c (possible_placement_new):
3588 Use POINTER_SIZE instead of GET_MODE_BITSIZE (Pmode).
3589 (ipa_polymorphic_call_context::restrict_to_inner_class): Likewise.
3590 (extr_type_from_vtbl_ptr_store): Likewise.
3592 2014-11-20 Markus Trippelsdorf <markus@trippelsdorf.de>
3594 * config/rs6000/constraints.md: Avoid signed integer overflows.
3595 * config/rs6000/predicates.md: Likewise.
3596 * config/rs6000/rs6000.c (num_insns_constant_wide): Likewise.
3597 (includes_rldic_lshift_p): Likewise.
3598 (includes_rldicr_lshift_p): Likewise.
3599 * emit-rtl.c (const_wide_int_htab_hash): Likewise.
3600 * loop-iv.c (determine_max_iter): Likewise.
3601 (iv_number_of_iterations): Likewise.
3602 * tree-ssa-loop-ivopts.c (get_computation_cost_at): Likewise.
3603 * varasm.c (get_section_anchor): Likewise.
3605 2014-11-20 Charles Baylis <charles.baylis@linaro.org>
3608 * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Pass
3609 expression to aarch64_simd_lane_bounds.
3610 * config/aarch64/aarch64-protos.h (aarch64_simd_lane_bounds): Update
3612 * config/aarch64/aarch64-simd.md: (aarch64_combinez<mode>): Update
3613 call to aarch64_simd_lane_bounds.
3614 (aarch64_get_lanedi): Likewise.
3615 (aarch64_ld2_lane<mode>): Likewise.
3616 (aarch64_ld3_lane<mode>): Likewise.
3617 (aarch64_ld4_lane<mode>): Likewise.
3618 (aarch64_im_lane_boundsi): Likewise.
3619 * config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Add exp
3620 parameter. Report calling function in error message if exp is non-NULL.
3622 2014-11-20 Segher Boessenkool <segher@kernel.crashing.org>
3625 * config/sh/sh.c: Use signed char for signed field.
3627 2014-11-20 Trevor Saunders <tsaunders@mozilla.com>
3629 * cfgexpand.c, gimple-ssa.h, trans-mem.c: Replace htab with
3632 2014-11-20 Trevor Saunders <tsaunders@mozilla.com>
3634 * ipa-utils.c, lto-section-in.c, lto-streamer.h,
3635 tree-scalar-evolution.c: Replace htab with hash_table.
3637 2014-11-20 Trevor Saunders <tsaunders@mozilla.com>
3639 * lto-section-in.c (lto_delete_in_decl_state): Adjust.
3640 (lto_free_function_in_decl_state): Likewise.
3641 * lto-streamer-out.c (copy_function_or_variable): Likewise.
3642 * lto-streamer.h (lto_file_decl_data_get_ ## name): Likewise.
3643 (lto_file_decl_data_num_ ## name ## s): Likewise.
3644 (struct lto_tree_ref_table): Remove.
3645 (struct lto_in_decl_state): Replace lto_tree_ref_table with vec<tree>.
3647 2014-11-20 Trevor Saunders <tsaunders@mozilla.com>
3649 * hash-map.h (hash_map::iterator): New class.
3650 (hash_map::begin): New method.
3651 (hash_map::end): Likewise.
3652 * alias.c, config/alpha/alpha.c, dwarf2asm.c, omp-low.c, tree.h:
3653 replace splay_tree with hash_map.
3655 2014-11-20 Trevor Saunders <tsaunders@mozilla.com>
3657 * hash-table.h (hash_table::hash_table): Call alloc_entries.
3658 (hash_table::alloc_entries): new method.
3659 (hash_table::expand): Call alloc_entries.
3660 (hash_table::empty): Likewise.
3662 2014-11-20 Trevor Saunders <tsaunders@mozilla.com>
3664 * config/i386/i386.c, function.c, trans-mem.c, tree-core.h,
3665 tree.c, tree.h, ubsan.c, varasm.c: Use hash_table instead of htab.
3667 2014-11-20 Trevor Saunders <tsaunders@mozilla.com>
3669 * doc/gty.texi: Document the new cache gty attribute.
3670 * gengtype.c (finish_cache_funcs): New function.
3671 (write_roots): Call gt_clear_cache on global variables with the cache
3673 * ggc-common.c (ggc_mark_roots): Call gt_clear_caches.
3674 * ggc.h (gt_clear_caches): New declaration.
3675 * hash-table.h (struct ggc_cache_hasher): New hasher for caches in gc
3677 (gt_cleare_cache): New function.
3678 * emit-rtl.c, rtl.h, tree.c: Use hash_table instead of htab.
3680 2014-11-20 Segher Boessenkool <segher@kernel.crashing.org>
3682 * combine.c (try_combine): Prefer to delete dead SETs inside
3683 a PARALLEL over keeping them.
3685 2014-11-20 Segher Boessenkool <segher@kernel.crashing.org>
3687 * combine.c (combine_validate_cost): Always print the insn costs
3690 2014-11-20 Richard Henderson <rth@redhat.com>
3693 * config/i386/i386.c (ix86_static_chain): Reinstate the check
3694 for DECL_STATIC_CHAIN.
3696 2014-11-20 Tejas Belagod <tejas.belagod@arm.com>
3698 * config/aarch64/aarch64-protos.h (aarch64_classify_symbol):
3700 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate,
3701 aarch64_cannot_force_const_mem, aarch64_classify_address,
3702 aarch64_classify_symbolic_expression): Fixup call to
3703 aarch64_classify_symbol.
3704 (aarch64_classify_symbol): Add range-checking for
3705 symbol + offset addressing for tiny and small models.
3707 2014-11-20 Richard Biener <rguenther@suse.de>
3710 * match.pd ((p +p off1) +p off2 -> (p +p (off1 + off2))):
3711 Guard with single-use operand 0.
3713 2014-11-20 Richard Biener <rguenther@suse.de>
3715 PR tree-optimization/63677
3716 * tree-ssa-dom.c: Include gimplify.h for unshare_expr.
3717 (avail_exprs_stack): Make a vector of pairs.
3718 (struct hash_expr_elt): Replace stmt member with vop member.
3719 (expr_elt_hasher::equal): Simplify.
3720 (initialize_hash_element): Adjust.
3721 (initialize_hash_element_from_expr): Likewise.
3722 (dom_opt_dom_walker::thread_across_edge): Likewise.
3723 (record_cond): Likewise.
3724 (dom_opt_dom_walker::before_dom_children): Likewise.
3725 (print_expr_hash_elt): Likewise.
3726 (remove_local_expressions_from_table): Restore previous state
3728 (record_equivalences_from_stmt): Record &x + CST as constant
3729 &MEM[&x, CST] for further propagation.
3730 (vuse_eq): New function.
3731 (lookup_avail_expr): For loads use the alias oracle to see
3732 whether a candidate from the expr hash is usable.
3733 (avail_expr_hash): Do not hash VUSEs.
3735 2014-11-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3738 * config/arm/arm.md (*movhi_insn): Use right formatting
3741 2014-11-20 Igor Zamyatin <igor.zamyatin@intel.com>
3744 * function.c (assign_parms): Move init of pic_offset_table_rtx
3746 * cfgexpand.c (expand_used_vars): ...here.
3748 2014-11-19 Jan Hubicka <hubicka@ucw.cz>
3750 * tree.c (free_lang_data_in_type): If BINFO has no important
3751 information in it, set it to NULL.
3752 (get_binfo_at_offset): Do not walk fields, only bases.
3753 * ipa-utils.h (polymorphic_type_binfo_p): Be ready for BINFO_TYPE
3755 * ipa-polymorphic-call.c (record_known_type): Likewise.
3757 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3760 * ipa-icf.c (sem_item_optimizer::~sem_item_optimizer): Free each
3761 congruence_class_group *.
3763 2014-11-19 Uros Bizjak <ubizjak@gmail.com>
3766 * config/i386/i386.c (put_condition_code) <case LTU, case GEU>:
3767 Output "b" and "nb" suffix for FP mode.
3769 2014-11-19 Jan Hubicka <hubicka@ucw.cz>
3772 * tree-streamer-out.c (write_ts_function_decl_tree_pointers): Stream
3773 out DECL_FUNCTION_SPECIFIC_TARGET
3774 * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers): Stream
3775 in DECL_FUNCTION_SPECIFIC_TARGET.
3777 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3780 * pass_manager.h (GCC_PASS_LISTS): Add all_late_ipa_passes.
3782 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3785 * lra.c (lra): After creating live ranges in preparation for call
3786 to lra_inheritance, set live_p to true.
3788 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3791 * tree-ssa-threadedge.c (thread_across_edge): Don't just release
3793 * tree-ssa-threadupdate.c (delete_jump_thread_path): Likewise.
3795 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3798 * tree-ssa-pre.c (do_regular_insertion): Convert "avail" from
3799 vec<> to auto_vec<> to fix a leak.
3801 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3804 * dwarf2out.c (dwarf2out_c_finalize): Free producer_string.
3806 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3809 * ira-costs.c (ira_costs_c_finalize): New function.
3810 * ira.h (ira_costs_c_finalize): New prototype.
3811 * toplev.c (toplev::finalize): Call ira_costs_c_finalize.
3813 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3816 * ipa-reference.c (ipa_reference_c_finalize): Release
3817 optimization_summary_obstack.
3819 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3822 * toplev.c (toplev::finalize): Free opts_obstack.
3824 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3827 * toplev.c (toplev::finalize): Clean up save_decoded_options.
3829 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3833 (find_rarely_executed_basic_blocks_and_crossing_edges): Convert
3834 local bbs_in_hot_partition from vec<> to auto_vec<>.
3836 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3839 * config/alpha/alpha.c (alpha_option_override): Remove static from
3840 "handle_trap_shadows_info" and "align_insns_info".
3841 * config/i386/i386.c (ix86_option_override): Likewise for
3842 "insert_vzeroupper_info".
3843 * config/rl78/rl78.c (rl78_asm_file_start): Likewise for
3844 "rl78_devirt_info" and "rl78_move_elim_info".
3845 * config/rs6000/rs6000.c (rs6000_option_override): Likewise for
3846 "analyze_swaps_info".
3847 * context.c (gcc::context::~context): New.
3848 * context.h (gcc::context::~context): New.
3849 * dumpfile.c (dump_files): Add "false" initializers for new field
3851 (gcc::dump_manager::~dump_manager): New.
3852 (gcc::dump_manager::dump_register): Add param "take_ownership".
3853 * dumpfile.h (struct dump_file_info): Add field "owns_strings".
3854 (gcc::dump_manager::~dump_manager): New.
3855 (gcc::dump_manager::dump_register): Add param "take_ownership".
3856 * pass_manager.h (gcc::pass_manager::operator delete): New.
3857 (gcc::pass_manager::~pass_manager): New.
3858 * passes.c (pass_manager::register_one_dump_file): Pass "true" to
3859 new "owns_strings" argument to dump_register.
3860 (pass_manager::operator delete): New.
3861 (delete_pass_tree): New function.
3862 (pass_manager::~pass_manager): New.
3863 * statistics.c (statistics_early_init): Pass "false" to
3864 new "owns_strings" argument to dump_register.
3865 * toplev.c (toplev::finalize): Clean up the context and thus the
3868 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3871 * reginfo.c (finish_subregs_of_mode): Replace obstack_finish with
3872 obstack_free when cleaning up valid_mode_changes_obstack.
3874 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3877 * opts.c (finalize_options_struct): New.
3878 * opts.h (finalize_options_struct): New.
3879 * toplev.c (toplev::finalize): Call finalize_options_struct
3880 on global_options and global_options_set.
3882 2014-11-19 Manuel López-Ibáñez <manu@gcc.gnu.org>
3883 Jakub Jelinek <jakub@redhat.com>
3887 * gcc.c (process_command): Don't check for input/output
3888 filename equality if output is HOST_BIT_BUCKET.
3889 * toplev.c (init_asm_output): Likewise.
3891 2014-11-19 David Malcolm <dmalcolm@redhat.com>
3893 Merger of git branch "gimple-classes-v2-option-3".
3895 * ChangeLog.gimple-classes: New.
3897 * coretypes.h (struct gcond): Add forward decl.
3898 (struct gdebug): Likewise.
3899 (struct ggoto): Likewise.
3900 (struct glabel): Likewise.
3901 (struct gswitch): Likewise.
3902 (struct gassign): Likewise.
3903 (struct gasm): Likewise.
3904 (struct gcall): Likewise.
3905 (struct gtransaction): Likewise.
3906 (struct greturn): Likewise.
3907 (struct gbind): Likewise.
3908 (struct gcatch): Likewise.
3909 (struct geh_filter): Likewise.
3910 (struct geh_mnt): Likewise.
3911 (struct geh_else): Likewise.
3912 (struct gresx): Likewise.
3913 (struct geh_dispatch): Likewise.
3914 (struct gphi): Likewise.
3915 (struct gtry): Likewise.
3916 (struct gomp_atomic_load): Likewise.
3917 (struct gomp_atomic_store): Likewise.
3918 (struct gomp_continue): Likewise.
3919 (struct gomp_critical): Likewise.
3920 (struct gomp_for): Likewise.
3921 (struct gomp_parallel): Likewise.
3922 (struct gomp_task): Likewise.
3923 (struct gomp_sections): Likewise.
3924 (struct gomp_single): Likewise.
3925 (struct gomp_target): Likewise.
3926 (struct gomp_teams): Likewise.
3928 * doc/gimple.texi (Class hierarchy of GIMPLE statements): Update
3929 for renaming of gimple subclasses.
3931 * gdbhooks.py: Update.
3933 * gimple-iterator.c (gsi_for_phi): New.
3934 (gsi_start_phis): Strengthen return type from gimple_stmt_iterator
3936 * gimple-iterator.h (struct gphi_iterator): New subclass of
3937 gimple_stmt_iterator.
3938 (gsi_for_phi): New prototype.
3939 (gsi_start_phis): Strengthen return type from gimple_stmt_iterator
3941 (gsi_next_nonvirtual_phi): Strengthen param from
3942 gimple_stmt_iterator * to gphi_iterator *, and local "phi" from
3945 * gsstruct.def: Update for renamings of classes.
3947 * gimple.c (gimple_build_return): Strengthen return type from
3948 gimple to greturn *.
3949 (gimple_call_reset_alias_info): Strengthen param to gcall *.
3950 (gimple_build_call_1): Strengthen return type from gimple to
3952 (gimple_build_call_vec): Likewise.
3953 (gimple_build_call): Likewise.
3954 (gimple_build_call_valist): Likewise.
3955 (gimple_build_call_internal_1): Likewise.
3956 (gimple_build_call_internal): Likewise.
3957 (gimple_build_call_internal_vec): Likewise.
3958 (gimple_build_call_from_tree): Likewise.
3959 (gimple_build_assign_stat): Strengthen return type from gimple to
3961 (gimple_build_assign_with_ops): Likewise.
3962 (gimple_build_assign_with_ops): Likewise.
3963 (gimple_build_cond): Strengthen return type from gimple to
3965 (gimple_build_cond_from_tree): Likewise.
3966 (gimple_cond_set_condition_from_tree): Require a gcond *.
3967 (gimple_build_label): Strengthen return type from gimple to
3969 (gimple_build_goto): Strengthen return type from gimple to
3971 (gimple_build_bind): Strengthen return type from gimple to
3973 (gimple_build_asm_1): Strengthen return type from gimple to
3975 (gimple_build_asm_vec): Likewise.
3976 (gimple_build_catch): Strengthen return type from gimple to
3978 (gimple_build_eh_filter): Strengthen return type from gimple to
3980 (gimple_build_eh_must_not_throw): Strengthen return type from
3981 gimple to geh_mnt *.
3982 (gimple_build_eh_else): Strengthen return type from gimple to
3984 (gimple_build_try): Update for renaming of gimple_statement_try to
3986 (gimple_build_resx): Strengthen return type from gimple to
3988 (gimple_build_switch_nlabels): Strengthen return type from gimple
3990 (gimple_build_switch): Likewise.
3991 (gimple_build_eh_dispatch): Strengthen return type from gimple to
3993 (gimple_build_debug_bind_stat): Strengthen return type from gimple
3995 (gimple_build_debug_source_bind_stat): Strengthen return type from
3997 (gimple_build_omp_critical): Strengthen return type from gimple to
3999 (gimple_build_omp_for): Strengthen return type from gimple to
4001 (gimple_build_omp_parallel): Strengthen return type from gimple to
4003 (gimple_build_omp_task): Strengthen return type from gimple to
4005 (gimple_build_omp_continue): Strengthen return type from gimple to
4007 (gimple_build_omp_sections): Strengthen return type from gimple to
4009 (gimple_build_omp_single): Strengthen return type from gimple to
4011 (gimple_build_omp_target): Strengthen return type from gimple to
4013 (gimple_build_omp_teams): Strengthen return type from gimple to
4015 (gimple_build_omp_atomic_load): Strengthen return type from gimple
4016 to gomp_atomic_load *.
4017 (gimple_build_omp_atomic_store): Strengthen return type from gimple
4018 to gomp_atomic_store *.
4019 (gimple_build_transaction): Strengthen return type from gimple
4021 (empty_stmt_p): Replace check for GIMPLE_BIND with a dyn_cast.
4022 (gimple_call_fnspec): Require a const gcall *.
4023 (gimple_call_arg_flags): Likewise.
4024 (gimple_call_return_flags): Likewise.
4025 (gimple_set_bb): Add a checked cast.
4026 (gimple_copy): Within the cases, add locals of the appropriate
4027 subclass and use in place of "stmt" and "copy" for typesafety.
4028 (gimple_has_side_effects): Add a checked cast.
4029 (gimple_could_trap_p_1): Likewise.
4030 (gimple_call_copy_skip_args): Require a gcall *, and return one.
4031 (gimple_asm_clobbers_memory_p): Require a const gasm *.
4032 (infer_nonnull_range): Replace a check for GIMPLE_RETURN with a
4033 dyn_cast, introducing local "return_stmt" and using ti in place
4036 * gimple.h (gimple_vec): Eliminate this typedef.
4037 (struct gimple_statement_call): Rename to...
4038 (struct gcall): ...this.
4039 (struct gimple_statement_bind): Rename to...
4040 (struct gbind): ...this.
4041 (struct gimple_statement_catch): Rename to...
4042 (struct gcatch): ...this.
4043 (struct gimple_statement_eh_filter): Rename to...
4044 (struct geh_filter): ...this.
4045 (struct gimple_statement_eh_else): Rename to...
4046 (struct geh_else): ...this.
4047 (struct gimple_statement_eh_mnt): Rename to...
4048 (struct geh_mnt): ...this.
4049 (struct gimple_statement_phi): Rename to...
4050 (struct gphi): ...this.
4051 (struct gimple_statement_resx): Rename to...
4052 (struct gresx): ...this.
4053 (struct gimple_statement_eh_dispatch): Rename to...
4054 (struct geh_dispatch): ...this.
4055 (struct gimple_statement_try): Rename to...
4056 (struct gtry): ...this.
4057 (struct gimple_statement_asm): Rename to...
4058 (struct gasm): ...this.
4059 (struct gimple_statement_omp_critical): Rename to...
4060 (struct gomp_critical): ...this.
4061 (struct gimple_statement_omp_for): Rename to...
4062 (struct gomp_for): ...this.
4063 (struct gimple_statement_omp_parallel): Rename to...
4064 (struct gomp_parallel): ...this.
4065 (struct gimple_statement_omp_target): Rename to...
4066 (struct gomp_target): ...this.
4067 (struct gimple_statement_omp_task): Rename to...
4068 (struct gomp_task): ...this.
4069 (struct gimple_statement_omp_sections): Rename to...
4070 (struct gomp_sections): ...this.
4071 (struct gimple_statement_omp_continue): Rename to...
4072 (struct gomp_continue): ...this.
4073 (struct gimple_statement_omp_single): Rename to...
4074 (struct gomp_single): ...this.
4075 (struct gimple_statement_omp_teams): Rename to...
4076 (struct gomp_teams): ...this.
4077 (struct gimple_statement_omp_atomic_load): Rename to...
4078 (struct gomp_atomic_load): ...this.
4079 (struct gimple_statement_omp_atomic_store :): Rename to...
4080 (struct gomp_atomic_store :): ...this.
4081 (struct gimple_statement_transaction): Rename to...
4082 (struct gtransaction): ...this.
4083 (struct gcond): New subclass.
4084 (struct gdebug): New subclass.
4085 (struct ggoto): New subclass.
4086 (struct glabel): New subclass.
4087 (struct gswitch): New subclass.
4088 (struct gassign): New subclass.
4089 (struct greturn): New subclass.
4090 (is_a_helper <gimple_statement_asm *>::test): Rename to...
4091 (is_a_helper <gasm *>::test): ...this.
4092 (is_a_helper <gimple_statement_bind *>::test): Rename to...
4093 (is_a_helper <gbind *>::test): ...this.
4094 (is_a_helper <gassign *>::test): New.
4095 (is_a_helper <gimple_statement_call *>::test): Rename to...
4096 (is_a_helper <gcall *>::test): ...this.
4097 (is_a_helper <gimple_statement_catch *>::test): Rename to...
4098 (is_a_helper <gcatch *>::test): ...this.
4099 (is_a_helper <gimple_statement_resx *>::test): Rename to...
4100 (is_a_helper <gresx *>::test): ...this.
4101 (is_a_helper <gcond *>::test): New.
4102 (is_a_helper <gdebug *>::test): New.
4103 (is_a_helper <ggoto *>::test): New.
4104 (is_a_helper <glabel *>::test): New.
4105 (is_a_helper <gimple_statement_eh_dispatch *>::test): Rename to...
4106 (is_a_helper <geh_dispatch *>::test): ...this.
4107 (is_a_helper <gimple_statement_eh_else *>::test): Rename to...
4108 (is_a_helper <geh_else *>::test): ...this.
4109 (is_a_helper <gimple_statement_eh_filter *>::test): Rename to...
4110 (is_a_helper <geh_filter *>::test): ...this.
4111 (is_a_helper <gimple_statement_eh_mnt *>::test): Rename to...
4112 (is_a_helper <geh_mnt *>::test): ...this.
4113 (is_a_helper <gimple_statement_omp_atomic_load *>::test): Rename to...
4114 (is_a_helper <gomp_atomic_load *>::test): ...this.
4115 (is_a_helper <gimple_statement_omp_atomic_store *>::test): Rename to...
4116 (is_a_helper <gomp_atomic_store *>::test): ...this.
4117 (is_a_helper <gimple_statement_omp_continue *>::test): Rename to...
4118 (is_a_helper <gomp_continue *>::test): ...this.
4119 (is_a_helper <gimple_statement_omp_critical *>::test): Rename to...
4120 (is_a_helper <gomp_critical *>::test): ...this.
4121 (is_a_helper <gimple_statement_omp_for *>::test): Rename to...
4122 (is_a_helper <gomp_for *>::test): ...this.
4123 (is_a_helper <gimple_statement_omp_parallel *>::test): Rename to...
4124 (is_a_helper <gomp_parallel *>::test): ...this.
4125 (is_a_helper <gimple_statement_omp_target *>::test): Rename to...
4126 (is_a_helper <gomp_target *>::test): ...this.
4127 (is_a_helper <gimple_statement_omp_sections *>::test): Rename to...
4128 (is_a_helper <gomp_sections *>::test): ...this.
4129 (is_a_helper <gimple_statement_omp_single *>::test): Rename to...
4130 (is_a_helper <gomp_single *>::test): ...this.
4131 (is_a_helper <gimple_statement_omp_teams *>::test): Rename to...
4132 (is_a_helper <gomp_teams *>::test): ...this.
4133 (is_a_helper <gimple_statement_omp_task *>::test): Rename to...
4134 (is_a_helper <gomp_task *>::test): ...this.
4135 (is_a_helper <gimple_statement_phi *>::test): Rename to...
4136 (is_a_helper <gphi *>::test): ...this.
4137 (is_a_helper <gimple_statement_transaction *>::test): Rename to...
4138 (is_a_helper <gtransaction *>::test): ...this.
4139 (is_a_helper <greturn *>::test): New.
4140 (is_a_helper <gswitch *>::test): New.
4141 (is_a_helper <gimple_statement_try *>::test): Rename to...
4142 (is_a_helper <gtry *>::test): ...this.
4143 (is_a_helper <const gimple_statement_asm *>::test): Rename to...
4144 (is_a_helper <const gasm *>::test): ...this.
4145 (is_a_helper <const gimple_statement_bind *>::test): Rename to...
4146 (is_a_helper <const gbind *>::test): ...this.
4147 (is_a_helper <const gimple_statement_call *>::test): Rename to...
4148 (is_a_helper <const gcall *>::test): ...this.
4149 (is_a_helper <const gimple_statement_catch *>::test): Rename to...
4150 (is_a_helper <const gcatch *>::test): ...this.
4151 (is_a_helper <const gimple_statement_resx *>::test): Rename to...
4152 (is_a_helper <const gresx *>::test): ...this.
4153 (is_a_helper <const gimple_statement_eh_dispatch *>::test): Rename to...
4154 (is_a_helper <const geh_dispatch *>::test): ...this.
4155 (is_a_helper <const gimple_statement_eh_filter *>::test): Rename to...
4156 (is_a_helper <const geh_filter *>::test): ...this.
4157 (is_a_helper <const gimple_statement_omp_atomic_load *>::test):
4159 (is_a_helper <const gomp_atomic_load *>::test): ...this.
4160 (is_a_helper <const gimple_statement_omp_atomic_store *>::test):
4162 (is_a_helper <const gomp_atomic_store *>::test): ...this.
4163 (is_a_helper <const gimple_statement_omp_continue *>::test):
4165 (is_a_helper <const gomp_continue *>::test): ...this.
4166 (is_a_helper <const gimple_statement_omp_critical *>::test):
4168 (is_a_helper <const gomp_critical *>::test): ...this.
4169 (is_a_helper <const gimple_statement_omp_for *>::test): Rename to...
4170 (is_a_helper <const gomp_for *>::test): ...this.
4171 (is_a_helper <const gimple_statement_omp_parallel *>::test):
4173 (is_a_helper <const gomp_parallel *>::test): ...this.
4174 (is_a_helper <const gimple_statement_omp_target *>::test): Rename to...
4175 (is_a_helper <const gomp_target *>::test): ...this.
4176 (is_a_helper <const gimple_statement_omp_sections *>::test):
4178 (is_a_helper <const gomp_sections *>::test): ...this.
4179 (is_a_helper <const gimple_statement_omp_single *>::test): Rename to...
4180 (is_a_helper <const gomp_single *>::test): ...this.
4181 (is_a_helper <const gimple_statement_omp_teams *>::test): Rename to...
4182 (is_a_helper <const gomp_teams *>::test): ...this.
4183 (is_a_helper <const gimple_statement_omp_task *>::test): Rename to...
4184 (is_a_helper <const gomp_task *>::test): ...this.
4185 (is_a_helper <const gimple_statement_phi *>::test): Rename to...
4186 (is_a_helper <const gphi *>::test): ...this.
4187 (is_a_helper <const gimple_statement_transaction *>::test): Rename to...
4188 (is_a_helper <const gtransaction *>::test): ...this.
4189 (gimple_build_return): Strengthen return type to greturn *.
4190 (gimple_call_reset_alias_info): Require a gcall *.
4191 (gimple_build_call_vec): Return a gcall *.
4192 (gimple_build_call): Likewise.
4193 (gimple_build_call_valist): Likewise.
4194 (gimple_build_call_internal): Likewise.
4195 (gimple_build_call_internal_vec): Likewise.
4196 (gimple_build_call_from_tree): Likewise.
4197 (gimple_build_assign_stat): Return a gassign *.
4198 (gimple_build_assign_with_ops): Likewise.
4199 (gimple_build_cond): Return a gcond *.
4200 (gimple_build_cond_from_tree): Likewise.
4201 (gimple_cond_set_condition_from_tree): Require a gcond *.
4202 (gimple_build_label): Return a glabel *.
4203 (gimple_build_goto): Return a ggoto *.
4204 (gimple_build_bind): Return a gbind *.
4205 (gimple_build_asm_vec): Return a gasm *.
4206 (gimple_build_catch): Return a gcatch *.
4207 (gimple_build_eh_filter): Return a geh_filter *.
4208 (gimple_build_eh_must_not_throw): Return a geh_mnt *.
4209 (gimple_build_eh_else): Return a geh_else *.
4210 (gimple_build_try): Return a gtry *.
4211 (gimple_build_resx): Return a gresx *.
4212 (gimple_build_switch_nlabels): Return a gswitch *.
4213 (gimple_build_switch): Return a gswitch *.
4214 (gimple_build_eh_dispatch): Return a geh_dispatch *.
4215 (gimple_build_debug_bind_stat): Return a gdebug *.
4216 (gimple_build_debug_source_bind_stat): Return a gdebug *.
4217 (gimple_build_omp_critical): Return a gomp_critical *.
4218 (gimple_build_omp_for): Return a gomp_for *.
4219 (gimple_build_omp_parallel): Return a gomp_parallel *.
4220 (gimple_build_omp_task): Return a gomp_task *.
4221 (gimple_build_omp_continue): Return a gomp_continue *.
4222 (gimple_build_omp_sections): Return a gomp_sections *.
4223 (gimple_build_omp_single): Return a gomp_single *.
4224 (gimple_build_omp_target): Return a gomp_target *.
4225 (gimple_build_omp_teams): Return a gomp_teams *.
4226 (gimple_build_omp_atomic_load): Return a gomp_atomic_load *.
4227 (gimple_build_omp_atomic_store): Return a gomp_atomic_store *.
4228 (gimple_build_transaction): Return a gtransaction *.
4229 (gimple_call_arg_flags): Require a const gcall *.
4230 (gimple_call_return_flags): Likewise.
4231 (gimple_call_copy_skip_args): Require and return a gcall *.
4232 (gimple_asm_clobbers_memory_p): Require a const gasm *.
4233 (gimple_seq_first_stmt_as_a_bind): New.
4234 (gimple_assign_nontemporal_move_p): Require a const gassign *
4235 rather than a const_gimple.
4236 (gimple_call_internal_fn): Update for renaming to gcall.
4237 (gimple_call_fntype): Likewise.
4238 (gimple_call_set_fntype): Require a gcall * rather than a gimple.
4239 (gimple_call_set_fn): Likewise.
4240 (gimple_call_set_internal_fn): Likewise.
4241 (gimple_call_set_chain): Likewise.
4242 (gimple_call_set_tail): Likewise.
4243 (gimple_call_tail_p): Likewise.
4244 (gimple_call_set_return_slot_opt): Likewise.
4245 (gimple_call_return_slot_opt_p): Likewise.
4246 (gimple_call_set_from_thunk): Likewise.
4247 (gimple_call_from_thunk_p): Likewise.
4248 (gimple_call_set_va_arg_pack): Likewise.
4249 (gimple_call_va_arg_pack_p): Likewise.
4250 (gimple_call_set_nothrow): Likewise.
4251 (gimple_call_nothrow_p): Likewise.
4252 (gimple_call_set_alloca_for_var): Likewise.
4253 (gimple_call_alloca_for_var_p): Likewise.
4254 (gimple_call_use_set): Likewise.
4255 (gimple_call_clobber_set): Likewise.
4256 (gimple_call_return_type): Require a const gcall * rather than a
4258 (gimple_call_chain_ptr): Likewise.
4259 (gimple_call_copy_flags): Require a pair of gcall *.
4260 (gimple_cond_set_code): Require a gcond * rather than a gimple
4261 (gimple_cond_set_lhs): Likewise.
4262 (gimple_cond_set_rhs): Likewise.
4263 (gimple_cond_set_true_label): Likewise.
4264 (gimple_cond_set_false_label): Likewise.
4265 (gimple_cond_make_false): Likewise.
4266 (gimple_cond_make_true): Likewise.
4267 (gimple_cond_lhs_ptr): Require a const gcond * rather than a
4269 (gimple_cond_rhs_ptr): Likewise.
4270 (gimple_cond_true_label): Likewise.
4271 (gimple_cond_false_label): Likewise.
4272 (gimple_cond_true_p): Likewise.
4273 (gimple_cond_false_p): Likewise.
4274 (gimple_cond_set_condition): Likewise.
4275 (gimple_label_label): Require a const glabel *.
4276 (gimple_label_set_label): Require a glabel *.
4277 (gimple_goto_set_dest): Require a ggoto *.
4278 (gimple_bind_vars): Require a const gbind *.
4279 (gimple_bind_block): Likewise.
4280 (gimple_bind_set_vars): Require a gbind *.
4281 (gimple_bind_append_vars): Likewise.
4282 (gimple_bind_body_ptr): Likewise.
4283 (gimple_bind_body): Likewise.
4284 (gimple_bind_set_body): Likewise.
4285 (gimple_bind_add_stmt): Likewise.
4286 (gimple_bind_add_seq): Likewise.
4287 (gimple_bind_set_block): Likewise.
4288 (gimple_asm_ninputs): Require a const gasm *.
4289 (gimple_asm_noutputs): Likewise.
4290 (gimple_asm_nclobbers): Likewise.
4291 (gimple_asm_nlabels): Likewise.
4292 (gimple_asm_input_op): Likewise.
4293 (gimple_asm_input_op_ptr): Likewise.
4294 (gimple_asm_output_op): Likewise.
4295 (gimple_asm_output_op_ptr): Likewise.
4296 (gimple_asm_clobber_op): Likewise.
4297 (gimple_asm_label_op): Likewise.
4298 (gimple_asm_string): Likewise.
4299 (gimple_asm_volatile_p): Likewise.
4300 (gimple_asm_input_p): Likewise.
4301 (gimple_asm_set_input_op): Require a gasm *.
4302 (gimple_asm_set_output_op): Likewise.
4303 (gimple_asm_set_clobber_op): Likewise.
4304 (gimple_asm_set_label_op): Likewise.
4305 (gimple_asm_set_volatile): Likewise.
4306 (gimple_asm_set_input): Likewise.
4307 (gimple_catch_types): Require a const gcatch *.
4308 (gimple_catch_types_ptr): Require a gcatch *.
4309 (gimple_catch_handler_ptr): Likewise.
4310 (gimple_catch_handler): Likewise.
4311 (gimple_catch_set_types): Likewise.
4312 (gimple_catch_set_handler): Likewise.
4313 (gimple_eh_filter_types): Update for renaming of subclass to
4315 (gimple_eh_filter_types_ptr): Likewise.
4316 (gimple_eh_filter_failure_ptr): Likewise.
4317 (gimple_eh_filter_set_types): Require a geh_filter *.
4318 (gimple_eh_filter_set_failure): Likewise.
4319 (gimple_eh_must_not_throw_fndecl): Require a geh_mnt *.
4320 (gimple_eh_must_not_throw_set_fndecl): Likewise.
4321 (gimple_eh_else_n_body_ptr): Require a geh_else *.
4322 (gimple_eh_else_n_body): Likewise.
4323 (gimple_eh_else_e_body_ptr): Likewise.
4324 (gimple_eh_else_e_body): Likewise.
4325 (gimple_eh_else_set_n_body): Likewise.
4326 (gimple_eh_else_set_e_body): Likewise.
4327 (gimple_try_set_kind): Require a gtry *.
4328 (gimple_try_set_catch_is_cleanup): Likewise.
4329 (gimple_try_set_eval): Likewise.
4330 (gimple_try_set_cleanup): Likewise.
4331 (gimple_try_eval_ptr): Update for renaming of subclass to gtry.
4332 (gimple_try_cleanup_ptr): Likewise.
4333 (gimple_phi_capacity): Update for renaming of subclass to gphi.
4334 (gimple_phi_num_args): Likewise.
4335 (gimple_phi_result): Likewise.
4336 (gimple_phi_result_ptr): Likewise.
4337 (gimple_phi_arg): Likewise.
4338 (gimple_phi_set_result): Require a gphi *.
4339 (gimple_phi_set_arg): Likewise.
4340 (gimple_phi_arg_def_ptr): Likewise.
4341 (gimple_phi_arg_edge): Likewise.
4342 (gimple_phi_arg_location): Likewise.
4343 (gimple_phi_arg_location_from_edge): Likewise.
4344 (gimple_phi_arg_set_location): Likewise.
4345 (gimple_phi_arg_has_location): Likewise.
4346 (gimple_resx_region): Require a const gresx *.
4347 (gimple_resx_set_region): Require a gresx *.
4348 (gimple_eh_dispatch_region): Require a const geh_dispatch *.
4349 (gimple_eh_dispatch_set_region): Require a geh_dispatch *.
4350 (gimple_switch_num_labels): Require a const gswitch *.
4351 (gimple_switch_set_num_labels): Likewise.
4352 (gimple_switch_index): Likewise.
4353 (gimple_switch_index_ptr): Likewise.
4354 (gimple_switch_label): Likewise.
4355 (gimple_switch_default_label): Likewise.
4356 (gimple_switch_set_index): Require a gswitch *.
4357 (gimple_switch_set_label): Likewise.
4358 (gimple_switch_set_default_label): Likewise.
4359 (gimple_omp_critical_name): Require a const gomp_critical *.
4360 (gimple_omp_critical_name_ptr): Require a gomp_critical *.
4361 (gimple_omp_critical_set_name): Likewise.
4362 (gimple_omp_for_set_kind): Require a gomp_for *.
4363 (gimple_omp_for_set_combined_p): Likewise.
4364 (gimple_omp_for_set_combined_into_p): Likewise.
4365 (gimple_omp_for_clauses): Update for renaming of subclass to
4367 (gimple_omp_for_clauses_ptr): Likewise.
4368 (gimple_omp_for_set_clauses): Likewise.
4369 (gimple_omp_for_collapse): Likewise.
4370 (gimple_omp_for_index): Likewise.
4371 (gimple_omp_for_index_ptr): Likewise.
4372 (gimple_omp_for_set_index): Likewise.
4373 (gimple_omp_for_initial): Likewise.
4374 (gimple_omp_for_initial_ptr): Likewise.
4375 (gimple_omp_for_set_initial): Likewise.
4376 (gimple_omp_for_final): Likewise.
4377 (gimple_omp_for_final_ptr): Likewise.
4378 (gimple_omp_for_set_final): Likewise.
4379 (gimple_omp_for_incr): Likewise.
4380 (gimple_omp_for_incr_ptr): Likewise.
4381 (gimple_omp_for_set_incr): Likewise.
4382 (gimple_omp_for_pre_body): Likewise.
4383 (gimple_omp_for_set_pre_body): Likewise.
4384 (gimple_omp_parallel_clauses): Update for renaming of subclass to
4386 (gimple_omp_parallel_clauses_ptr): Require a gomp_parallel *.
4387 (gimple_omp_parallel_set_clauses): Likewise.
4388 (gimple_omp_parallel_child_fn_ptr): Likewise.
4389 (gimple_omp_parallel_set_child_fn): Likewise.
4390 (gimple_omp_parallel_data_arg_ptr): Likewise.
4391 (gimple_omp_parallel_set_data_arg): Likewise.
4392 (gimple_omp_parallel_child_fn): Require a const gomp_parallel *.
4393 (gimple_omp_parallel_data_arg): Likewise.
4394 (gimple_omp_task_clauses): Update for renaming of subclass to
4396 (gimple_omp_task_clauses_ptr): Likewise.
4397 (gimple_omp_task_set_clauses): Likewise.
4398 (gimple_omp_task_child_fn): Likewise.
4399 (gimple_omp_task_child_fn_ptr): Likewise.
4400 (gimple_omp_task_set_child_fn): Likewise.
4401 (gimple_omp_task_data_arg): Likewise.
4402 (gimple_omp_task_data_arg_ptr): Likewise.
4403 (gimple_omp_task_set_data_arg): Likewise.
4404 (gimple_omp_taskreg_clauses): Whitespace fixes.
4405 (gimple_omp_taskreg_clauses_ptr): Likewise.
4406 (gimple_omp_taskreg_set_clauses): Likewise.
4407 (gimple_omp_taskreg_child_fn): Likewise.
4408 (gimple_omp_taskreg_child_fn_ptr): Likewise.
4409 (gimple_omp_taskreg_set_child_fn): Likewise.
4410 (gimple_omp_taskreg_data_arg): Likewise.
4411 (gimple_omp_taskreg_data_arg_ptr): Likewise.
4412 (gimple_omp_taskreg_set_data_arg): Likewise.
4413 (gimple_omp_task_copy_fn): Update for renaming of subclass to
4415 (gimple_omp_task_copy_fn_ptr): Likewise.
4416 (gimple_omp_task_set_copy_fn): Likewise.
4417 (gimple_omp_task_arg_size): Likewise.
4418 (gimple_omp_task_arg_size_ptr): Likewise.
4419 (gimple_omp_task_set_arg_size): Likewise.
4420 (gimple_omp_task_arg_align): Likewise.
4421 (gimple_omp_task_arg_align_ptr): Likewise.
4422 (gimple_omp_task_set_arg_align): Likewise.
4423 (gimple_omp_single_clauses): Update for renaming of subclass to
4425 (gimple_omp_single_clauses_ptr): Likewise.
4426 (gimple_omp_single_set_clauses): Likewise.
4427 (gimple_omp_target_clauses): Update for renaming of subclass to
4429 (gimple_omp_target_clauses_ptr): Likewise.
4430 (gimple_omp_target_set_clauses): Require a gomp_target *.
4431 (gimple_omp_target_set_kind): Likewise.
4432 (gimple_omp_target_child_fn_ptr): Likewise.
4433 (gimple_omp_target_set_child_fn): Likewise.
4434 (gimple_omp_target_data_arg_ptr): Likewise.
4435 (gimple_omp_target_set_data_arg): Likewise.
4436 (gimple_omp_target_child_fn): Require a const gomp_target *.
4437 (gimple_omp_target_data_arg): Likewise.
4438 (gimple_omp_teams_clauses): Update for renaming of subclass to
4440 (gimple_omp_teams_clauses_ptr): Likewise.
4441 (gimple_omp_teams_set_clauses): Require a gomp_teams *.
4442 (gimple_omp_sections_clauses): Update for renaming of subclass to
4444 (gimple_omp_sections_clauses_ptr): Likewise.
4445 (gimple_omp_sections_set_clauses): Likewise.
4446 (gimple_omp_sections_control): Likewise.
4447 (gimple_omp_sections_control_ptr): Likewise.
4448 (gimple_omp_sections_set_control): Likewise.
4449 (gimple_omp_for_set_cond): Likewise.
4450 (gimple_omp_for_cond): Likewise.
4451 (gimple_omp_atomic_store_set_val): Require a gomp_atomic_store *.
4452 (gimple_omp_atomic_store_val_ptr): Likewise.
4453 (gimple_omp_atomic_load_set_lhs): Likewise.
4454 (gimple_omp_atomic_store_val): Require a const gomp_atomic_store *.
4455 (gimple_omp_atomic_load_lhs): Likewise.
4456 (gimple_omp_atomic_load_rhs): Likewise.
4457 (gimple_omp_atomic_load_lhs_ptr): Require a gomp_atomic_load *.
4458 (gimple_omp_atomic_load_set_rhs): Likewise.
4459 (gimple_omp_atomic_load_rhs_ptr): Likewise.
4460 (gimple_omp_continue_control_def): Require a const gomp_continue *.
4461 (gimple_omp_continue_control_use): Likewise.
4462 (gimple_omp_continue_control_def_ptr): Require a gomp_continue *.
4463 (gimple_omp_continue_set_control_def): Likewise.
4464 (gimple_omp_continue_control_use_ptr): Likewise.
4465 (gimple_omp_continue_set_control_use): Likewise.
4466 (gimple_transaction_body_ptr): Require a gtransaction *.
4467 (gimple_transaction_body): Likewise.
4468 (gimple_transaction_label_ptr): Likewise.
4469 (gimple_transaction_label): Require a const gtransaction *.
4470 (gimple_transaction_subcode): Likewise.
4471 (gimple_transaction_set_body): Require a gtransaction *.
4472 (gimple_transaction_set_label): Likewise.
4473 (gimple_transaction_set_subcode): Likewise.
4474 (gimple_return_retval_ptr): Require a const greturn *.
4475 (gimple_return_retval): Likewise.
4476 (gimple_return_set_retval): Require a greturn *.
4477 (gimple_expr_type): Introduce local "call_stmt" and use in place of
4478 "stmt" for typesafety.
4480 * asan.c: Use gimple subclasses.
4481 * auto-profile.c: Likewise.
4482 * builtins.c: Likewise.
4483 * builtins.h: Likewise.
4484 * cfgexpand.c: Likewise.
4485 * cfgloop.c: Likewise.
4486 * cfgloopmanip.c: Likewise.
4487 * cgraph.c: Likewise.
4488 * cgraph.h: Likewise.
4489 * cgraphbuild.c: Likewise.
4490 * cgraphclones.c: Likewise.
4491 * cgraphunit.c: Likewise.
4493 * gimple-builder.c: Likewise.
4494 * gimple-builder.h: Likewise.
4495 * gimple-fold.c: Likewise.
4496 * gimple-low.c: Likewise.
4497 * gimple-pretty-print.c: Likewise.
4498 * gimple-ssa-isolate-paths.c: Likewise.
4499 * gimple-ssa-strength-reduction.c: Likewise.
4500 * gimple-streamer-in.c: Likewise.
4501 * gimple-streamer-out.c: Likewise.
4502 * gimple-walk.c: Likewise.
4503 * gimplify-me.c: Likewise.
4504 * gimplify.c: Likewise.
4505 * gimplify.h: Likewise.
4506 * graphite-scop-detection.c: Likewise.
4507 * graphite-sese-to-poly.c: Likewise.
4508 * internal-fn.c: Likewise.
4509 * internal-fn.def:: Likewise.
4510 * internal-fn.h: Likewise.
4511 * ipa-icf-gimple.c: Likewise.
4512 * ipa-icf-gimple.h: Likewise.
4513 * ipa-icf.c: Likewise.
4514 * ipa-inline-analysis.c: Likewise.
4515 * ipa-prop.c: Likewise.
4516 * ipa-prop.h: Likewise.
4517 * ipa-pure-const.c: Likewise.
4518 * ipa-split.c: Likewise.
4519 * lto-streamer-in.c: Likewise.
4520 * lto-streamer-out.c: Likewise.
4521 * omp-low.c: Likewise.
4522 * predict.c: Likewise.
4523 * sanopt.c: Likewise.
4525 * ssa-iterators.h: Likewise.
4527 * trans-mem.c: Likewise.
4528 * tree-call-cdce.c: Likewise.
4529 * tree-cfg.c: Likewise.
4530 * tree-cfg.h: Likewise.
4531 * tree-cfgcleanup.c: Likewise.
4532 * tree-chkp.c: Likewise.
4533 * tree-chkp.h: Likewise.
4534 * tree-complex.c: Likewise.
4535 * tree-data-ref.c: Likewise.
4536 * tree-dfa.c: Likewise.
4537 * tree-eh.c: Likewise.
4538 * tree-eh.h: Likewise.
4539 * tree-emutls.c: Likewise.
4540 * tree-if-conv.c: Likewise.
4541 * tree-inline.c: Likewise.
4542 * tree-inline.h: Likewise.
4543 * tree-into-ssa.c: Likewise.
4544 * tree-into-ssa.h: Likewise.
4545 * tree-loop-distribution.c: Likewise.
4546 * tree-nrv.c: Likewise.
4547 * tree-object-size.c: Likewise.
4548 * tree-outof-ssa.c: Likewise.
4549 * tree-parloops.c: Likewise.
4550 * tree-phinodes.c: Likewise.
4551 * tree-phinodes.h: Likewise.
4552 * tree-predcom.c: Likewise.
4553 * tree-profile.c: Likewise.
4554 * tree-scalar-evolution.c: Likewise.
4555 * tree-scalar-evolution.h
4556 * tree-sra.cn_function):
4557 * tree-ssa-alias.c: Likewise.
4558 * tree-ssa-alias.h: Likewise.
4559 * tree-ssa-ccp.c: Likewise.
4560 * tree-ssa-coalesce.c: Likewise.
4561 * tree-ssa-copy.c: Likewise.
4562 * tree-ssa-copyrename.c: Likewise.
4563 * tree-ssa-dce.c: Likewise.
4564 * tree-ssa-dom.c: Likewise.
4565 * tree-ssa-forwprop.c: Likewise.
4566 * tree-ssa-ifcombine.c: Likewise.
4567 * tree-ssa-live.c: Likewise.
4568 * tree-ssa-loop-im.c: Likewise.
4569 * tree-ssa-loop-ivcanon.c: Likewise.
4570 * tree-ssa-loop-ivopts.c: Likewise.
4571 * tree-ssa-loop-manip.c: Likewise.
4572 * tree-ssa-loop-niter.c: Likewise.
4573 * tree-ssa-loop-prefetch.c: Likewise.
4574 * tree-ssa-loop-unswitch.c: Likewise.
4575 * tree-ssa-math-opts.c: Likewise.
4576 * tree-ssa-operands.c: Likewise.
4577 * tree-ssa-phiopt.c: Likewise.
4578 * tree-ssa-phiprop.c: Likewise.
4579 * tree-ssa-pre.c: Likewise.
4580 * tree-ssa-propagate.c: Likewise.
4581 * tree-ssa-propagate.h: Likewise.
4582 * tree-ssa-reassoc.c: Likewise.
4583 * tree-ssa-sccvn.c: Likewise.
4584 * tree-ssa-sccvn.h: Likewise.
4585 * tree-ssa-sink.c: Likewise.
4587 * tree-ssa-structalias.c
4588 * tree-ssa-tail-merge.c: Likewise.
4589 * tree-ssa-ter.c: Likewise.
4590 * tree-ssa-threadedge.c: Likewise.
4591 * tree-ssa-threadedge.h: Likewise.
4592 * tree-ssa-threadupdate.c: Likewise.
4593 * tree-ssa-uncprop.c: Likewise.
4594 * tree-ssa-uninit.c: Likewise.
4595 * tree-ssa.c: Likewise.
4596 * tree-stdarg.c: Likewise.
4597 * tree-switch-conversion.c: Likewise.
4598 * tree-tailcall.c: Likewise.
4599 * tree-vect-data-refs.c: Likewise.
4600 * tree-vect-generic.c: Likewise.
4601 * tree-vect-loop-manip.c: Likewise.
4602 * tree-vect-loop.c: Likewise.
4603 * tree-vect-patterns.c: Likewise.
4604 * tree-vect-slp.c: Likewise.
4605 * tree-vect-stmts.c: Likewise.
4606 * tree-vectorizer.h: Likewise.
4607 * tree-vrp.c: Likewise.
4609 * ubsan.c: Likewise.
4610 * value-prof.c: Likewise.
4611 * value-prof.h: Likewise.
4612 * vtable-verify.c: Likewise.
4614 2014-11-19 Markus Trippelsdorf <markus@trippelsdorf.de>
4616 * config/rs6000/constraints.md: Avoid signed integer overflows.
4617 * config/rs6000/predicates.md: Likewise.
4619 2014-11-19 Renlin Li <Renlin.Li@arm.com>
4622 * config/aarch64/aarch64-simd.md (<su><maxmin>v2di3): New.
4624 2014-11-19 Renlin Li <Renlin.Li@arm.com>
4627 * ira.c (ira): Update preferred class.
4629 2014-11-19 Jakub Jelinek <jakub@redhat.com>
4631 * gimple.h (gimple_build_assign_with_ops): Add unary arg overload.
4632 (gimple_assign_set_rhs_with_ops_1): Renamed to ...
4633 (gimple_assign_set_rhs_with_ops): ... this. Adjust binary arg
4634 inline overload to use it. Add unary arg overload.
4635 * gimple.c (gimple_build_assign_with_ops): New unary arg overload.
4636 (gimple_assign_set_rhs_from_tree): Use
4637 gimple_assign_set_rhs_with_ops instead of
4638 gimple_assign_set_rhs_with_ops_1.
4639 (gimple_assign_set_rhs_with_ops_1): Renamed to ...
4640 (gimple_assign_set_rhs_with_ops): ... this.
4641 * ipa-split.c (split_function): Remove last NULL argument
4642 from gimple_build_assign_with_ops call.
4643 * tree-ssa-loop-im.c
4644 (move_computations_dom_walker::before_dom_children): Likewise.
4645 * tsan.c (instrument_builtin_call): Likewise.
4646 * tree-vect-stmts.c (vect_init_vector, vectorizable_mask_load_store,
4647 vectorizable_conversion, vectorizable_load): Likewise.
4648 * tree-vect-loop.c (vect_is_simple_reduction_1,
4649 get_initial_def_for_induction): Likewise.
4650 * tree-loop-distribution.c (generate_memset_builtin): Likewise.
4651 * tree-vect-patterns.c (vect_handle_widen_op_by_const,
4652 vect_recog_widen_mult_pattern, vect_operation_fits_smaller_type,
4653 vect_recog_over_widening_pattern, vect_recog_rotate_pattern,
4654 vect_recog_vector_vector_shift_pattern, vect_recog_divmod_pattern,
4655 vect_recog_mixed_size_cond_pattern, adjust_bool_pattern_cast,
4656 adjust_bool_pattern, vect_recog_bool_pattern): Likewise.
4657 * tree-ssa-phiopt.c (conditional_replacement, abs_replacement,
4658 neg_replacement): Likewise.
4659 * asan.c (build_shadow_mem_access, maybe_create_ssa_name,
4660 maybe_cast_to_ptrmode, asan_expand_check_ifn): Likewise.
4661 * tree-vect-slp.c (vect_get_constant_vectors): Likewise.
4662 * omp-low.c (lower_rec_input_clauses, expand_omp_for_generic,
4663 expand_omp_for_static_nochunk, expand_omp_for_static_chunk,
4664 simd_clone_adjust): Likewise.
4665 * tree-vect-loop-manip.c (vect_create_cond_for_align_checks): Likewise.
4666 * gimple-ssa-strength-reduction.c (introduce_cast_before_cand,
4667 replace_one_candidate): Likewise.
4668 * gimple-builder.c (build_type_cast): Likewise.
4669 * tree-ssa-forwprop.c (simplify_rotate): Likewise.
4670 (forward_propagate_addr_expr_1): Remove last NULL argument
4671 from gimple_assign_set_rhs_with_ops call.
4672 (simplify_vector_constructor): Use gimple_assign_set_rhs_with_ops
4673 instead of gimple_assign_set_rhs_with_ops_1.
4674 * tree-ssa-reassoc.c (maybe_optimize_range_tests): Remove last NULL
4675 argument from gimple_build_assign_with_ops call.
4676 (repropagate_negates): Remove last NULL argument from
4677 gimple_assign_set_rhs_with_ops call.
4678 * ubsan.c (ubsan_expand_null_ifn, ubsan_expand_objsize_ifn): Remove
4679 last NULL argument from gimple_build_assign_with_ops call.
4680 (instrument_bool_enum_load): Likewise. Remove last NULL argument
4681 from gimple_assign_set_rhs_with_ops call.
4682 * tree-ssa-math-opts.c (build_and_insert_cast, convert_mult_to_fma):
4683 Remove last NULL argument from gimple_build_assign_with_ops call.
4684 (bswap_replace): Likewise. Use gimple_assign_set_rhs_with_ops instead
4685 of gimple_assign_set_rhs_with_ops_1.
4686 (convert_plusminus_to_widen): Use gimple_assign_set_rhs_with_ops
4687 instead of gimple_assign_set_rhs_with_ops_1.
4688 * gimple-fold.c (replace_stmt_with_simplification): Likewise.
4689 (rewrite_to_defined_overflow, gimple_build): Remove last NULL argument
4690 from gimple_build_assign_with_ops call.
4691 * tree-ssa-strlen.c (handle_pointer_plus): Remove last NULL argument
4692 from gimple_assign_set_rhs_with_ops call.
4693 * tree-vrp.c (simplify_truth_ops_using_ranges,
4694 simplify_bit_ops_using_ranges): Remove last NULL argument from
4695 gimple_assign_set_rhs_with_ops call.
4696 (simplify_float_conversion_using_ranges,
4697 simplify_internal_call_using_ranges): Remove last NULL argument from
4698 gimple_build_assign_with_ops call.
4700 2014-11-19 Wilco Dijkstra <wdijkstr@arm.com>
4703 * config/aarch64/aarch64.c (generic_regmove_cost): Increase FP move
4706 2014-11-19 Marek Polacek <polacek@redhat.com>
4709 * ubsan.c (instrument_object_size): Check for MEM_REF.
4711 2014-11-19 Ilya Verbin <ilya.verbin@intel.com>
4714 * cgraph.c (cgraph_node::create): Guard g->have_offload with
4715 ifdef ENABLE_OFFLOADING.
4716 * omp-low.c (create_omp_child_function): Likewise.
4717 (expand_omp_target): Guard node->mark_force_output and offload_funcs
4718 with ifdef ENABLE_OFFLOADING.
4719 * varpool.c (varpool_node::get_create): Guard g->have_offload and
4720 offload_vars with ifdef ENABLE_OFFLOADING.
4722 2014-11-19 Felix Yang <felix.yang@huawei.com>
4723 Shanyao Chen <chenshanyao@huawei.com>
4726 * config/arm/arm.md (define_attr "arch"): Add v6t2.
4727 (define_attr "arch_enabled"): Add test for the above.
4728 (*movhi_insn_arch4): Add new alternative.
4730 2014-11-19 Richard Henderson <rth@redhat.com>
4732 * c-family/c-common.c (c_common_reswords): Add
4733 __builtin_call_with_static_chain.
4734 * c-family/c-common.h (RID_BUILTIN_CALL_WITH_STATIC_CHAIN): New.
4735 * c/c-parser.c (c_parser_postfix_expression): Handle it.
4736 * doc/extend.texi (__builtin_call_with_static_chain): Document it.
4738 * calls.c (prepare_call_address): Allow decl or type for first arg.
4739 (expand_call): Pass type to prepare_call_address if no decl.
4740 * gimple-fold.c (gimple_fold_call): Eliminate the static chain if
4741 the function doesn't use it; fold it otherwise.
4742 * gimplify.c (gimplify_call_expr): Gimplify the static chain.
4743 * tree-cfg.c (verify_gimple_call): Allow a static chain on indirect
4746 * targhooks.c (default_static_chain): Remove check for
4748 * config/moxie/moxie.c (moxie_static_chain): Likewise.
4749 * config/i386/i386.c (ix86_static_chain): Allow decl or type
4750 as the first argument.
4751 * config/xtensa/xtensa.c (xtensa_static_chain): Change the name
4752 of the unused first parameter.
4753 * doc/tm.texi (TARGET_STATIC_CHAIN): Document the first parameter
4755 * target.def (static_chain): Likewise.
4757 2014-11-19 Renlin Li <renlin.li@arm.com>
4759 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
4760 __ARM_FP_FAST, __ARM_FEATURE_FMA, __ARM_FP,
4761 __ARM_FEATURE_NUMERIC_MAXMIN, __ARM_NEON_FP.
4763 2014-11-19 Marek Polacek <polacek@redhat.com>
4766 * fold-const.c (negate_expr_p) <case NEGATE_EXPR>: Return
4767 !TYPE_OVERFLOW_SANITIZED.
4768 (fold_negate_expr) <case INTEGER_CST>: Fold when overflow
4769 does not trap and when overflow wraps, or when SANITIZE_SI_OVERFLOW
4772 2014-11-19 Ilya Tocar <ilya.tocar@intel.com>
4774 * collect2.c (main): Don't call fatal_error before
4775 diagnostic_initialize.
4776 * lto-wrapper.c (main): Likewise.
4778 2014-11-19 Tom de Vries <tom@codesourcery.com>
4780 PR tree-optimization/62167
4781 * tree-ssa-tail-merge.c (stmt_local_def): Handle statements with vuse
4783 (gimple_equal_p): Don't use vn_valueize to compare for lhs equality of
4786 2014-11-19 Jakub Jelinek <jakub@redhat.com>
4788 PR tree-optimization/63915
4789 * tree-vect-stmts.c (vectorizable_simd_clone_call): Pass
4790 true instead of false as last argument to gsi_replace.
4793 * internal-fn.c (expand_ubsan_result_store): New function.
4794 (expand_addsub_overflow, expand_neg_overflow, expand_mul_overflow):
4795 Use it instead of just emit_move_insn.
4797 2014-11-19 Richard Biener <rguenther@suse.de>
4799 PR tree-optimization/63844
4800 * omp-low.c (fixup_child_record_type): Use a restrict qualified
4801 referece type for the receiver parameter.
4803 2014-11-19 Jakub Jelinek <jakub@redhat.com>
4806 * ubsan.c: Include tree-eh.h.
4807 (instrument_bool_enum_load): Handle loads that can throw.
4809 PR rtl-optimization/63843
4810 * simplify-rtx.c (simplify_binary_operation_1) <case ASHIFTRT>: For
4811 optimization of ashiftrt of subreg of lshiftrt, check that code
4814 2014-11-18 Andrew MacLeod <amacleod@redhat.com>
4816 * attribs.c (decl_attributes): Remove always true condition,
4817 TREE_TYPE(x) will never compare equal to a TYPE_DECL.
4819 2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
4822 * target.def (use_by_pieces_infrastructure_p): Take unsigned
4823 HOST_WIDE_INT as the size parameter.
4824 * targhooks.c (default_use_by_pieces_infrastructure_p): Likewise.
4825 * targhooks.h (default_use_by_pieces_infrastructure_p): Likewise.
4826 * config/arc/arc.c (arc_use_by_pieces_infrastructure_p)): Likewise.
4827 * config/mips/mips.c (mips_use_by_pieces_infrastructure_p)): Likewise.
4828 * config/s390/s390.c (s390_use_by_pieces_infrastructure_p)): Likewise.
4829 * config/sh/sh.c (sh_use_by_pieces_infrastructure_p)): Likewise.
4830 * config/aarch64/aarch64.c
4831 (aarch64_use_by_pieces_infrastructure_p)): Likewise.
4832 * doc/tm.texi: Regenerate.
4834 2014-11-18 Jan Hubicka <hubicka@ucw.cz>
4836 * ipa-cp.c (ipcp_cloning_candidate_p): Use opt_for_fn.
4837 (ipa_value_from_jfunc, ipa_context_from_jfunc): Skip sanity check.
4838 (ipa_get_indirect_edge_target_1): Use opt_for_fn.
4839 (good_cloning_opportunity_p): Likewise.
4840 (ipa-cp gate): Enable ipa-cp with LTO.
4841 * ipa-profile.c (ipa_propagate_frequency): Use opt_for_fn.
4842 * ipa.c (symbol_table::remove_unreachable_nodes): Always build type
4844 * ipa-inline-transform.c (inline_transform): Check if there are inlines
4845 to apply even at -O0.
4846 * cgraphunit.c (cgraph_node::finalize_function): Use opt_for_fn.
4847 (analyze_functions): Build type inheritance graph.
4848 * ipa-inline.c (can_inline_edge_p): Use opt_for_fn.
4849 (want_early_inline_function_p, want_inline_small_function_p):
4851 (check_callers): Likewise.
4852 (edge_badness): Likewise.
4853 (inline_small_functions): Always be ready for indirect inlining
4855 (ipa_inline): Always use want_inline_function_to_all_callers_p.
4856 (early_inline_small_functions): Use opt_for_fn.
4857 * ipa-inline-analysis.c (estimate_function_body_sizes): use opt_for_fn.
4858 (estimate_function_body_sizes): Likewise.
4859 (compute_inline_parameters): Likewise.
4860 (estimate_edge_devirt_benefit): Likewise.
4861 (inline_analyze_function): Likewise.
4862 * ipa-devirt.c (ipa_devirt): Likewise.
4863 (gate): Use in_lto_p.
4864 * ipa-prop.c (ipa_func_spec_opts_forbid_analysis_p): Use opt_for_fn.
4865 (try_make_edge_direct_virtual_call): Likewise.
4866 (update_indirect_edges_after_inlining): Likewise.
4867 (ipa_free_all_structures_after_ipa_cp): Add in_lto_p check.
4868 * common.opt (findirect-inlining): Turn into optimization.
4869 * ipa-pure-const.c (add_new_function): Use opt_for_fn.
4870 (pure_const_generate_summary): Likewise.
4871 (gate_pure_const): Always enable with in_lto_p.
4873 2014-11-18 Maciej W. Rozycki <macro@codesourcery.com>
4875 * config/mips/mips.md (compression): Add `micromips32' setting.
4876 (enabled, length): Handle it.
4877 (shift_compression): Replace `micromips' with `micromips32' in
4878 the `compression' attribute.
4879 (*add<mode>3, sub<mode>3): Likewise.
4881 2014-11-18 Maciej W. Rozycki <macro@codesourcery.com>
4883 * gcc/config/mips/mips.md (*jump_absolute): Use a branch when in
4884 range, a jump otherwise.
4886 2014-11-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4888 * config/arm/cortex-a15-neon.md (cortex_a15_vfp_to_from_gp):
4890 (cortex_a15_gp_to_vfp): ...This.
4891 (cortex_a15_fp_to_gp): ...And this.
4892 Define and comment bypass from vfp operations to fp->gp moves.
4894 2014-11-18 Martin Liska <mliska@suse.cz>
4896 * var-tracking.c (vt_find_locations): New fibonacci_node is used.
4898 2014-11-18 Martin Liska <mliska@suse.cz>
4900 * bt-load.c (add_btr_def): New fibonacci_heap is used.
4901 (migrate_btr_defs): Likewise.
4903 2014-11-18 Martin Liska <mliska@suse.cz>
4905 * tracer.c (tail_duplicate): New fibonacci_heap class is used.
4907 2014-11-18 Martin Liska <mliska@suse.cz>
4909 * bb-reorder.c (mark_bb_visited): New fibonacci_heap is used.
4910 (find_traces): Likewise.
4911 (find_traces_1_round): Likewise.
4913 2014-11-18 Martin Liska <mliska@suse.cz>
4915 * fibonacci_heap.h: New file.
4916 (fibonacci_heap::insert): Created from fibheap_insert.
4917 (fibonacci_heap::empty): Created from fibheap_empty.
4918 (fibonacci_heap::nodes): Created from fibheap_nodes.
4919 (fibonacci_heap::min_key): Created from fibheap_min_key.
4920 (fibonacci_heap::decrease_key): Created from fibheap_replace_key.
4921 (fibonacci_heap::replace_key_data): Created from fibheap_replace_key_data.
4922 (fibonacci_heap::extract_min): Created from fibheap_extract_min.
4923 (fibonacci_heap::min): Created from fibheap_min.
4924 (fibonacci_heap::replace_data): Created from fibheap_replace_data.
4925 (fibonacci_heap::delete_node): Created from fibheap_delete_node.
4926 (fibonacci_heap::union_with): Created from fibheap_union.
4927 * ipa-inline.c (update_edge_key): New heap API is used.
4928 (update_caller_keys): Likewise.
4929 (update_callee_keys): Likewise.
4930 (lookup_recursive_calls): Likewise.
4931 (recursive_inlining): Likewise.
4932 (add_new_edges_to_heap): Likewise.
4933 (heap_edge_removal_hook): Likewise.
4934 (inline_small_functions): Likewise.
4936 2014-11-18 Marek Polacek <polacek@redhat.com>
4939 * asan.c (asan_global_struct): Create a TYPE_DECL for "__asan_global",
4940 put it into TYPE_NAME and TYPE_STUB_DECL.
4941 * ubsan.c (ubsan_type_descriptor_type): New variable.
4942 Function renamed to ...
4943 (ubsan_get_type_descriptor_type): ... this. Cache
4944 return value in ubsan_type_descriptor_type variable.
4945 Create a TYPE_DECL for "__ubsan_type_descriptor", put it into
4946 TYPE_NAME and TYPE_STUB_DECL.
4947 (ubsan_get_source_location_type): Create a TYPE_DECL for
4948 "__ubsan_source_location", put it into TYPE_NAME and TYPE_STUB_DECL.
4949 (ubsan_type_descriptor, ubsan_create_data): Call
4950 ubsan_get_type_descriptor_type instead of ubsan_type_descriptor_type.
4951 Create a TYPE_DECL for name, put it into TYPE_NAME and TYPE_STUB_DECL.
4953 2014-11-18 Felix Yang <felix.yang@huawei.com>
4955 * config/aarch64/aarch64.c (doloop_end): New pattern.
4956 * config/aarch64/aarch64.md (TARGET_CAN_USE_DOLOOP_P): Implement.
4958 2014-11-18 Jason Merrill <jason@redhat.com>
4960 * tree.c (warn_deprecated_use): Show declaration with inform.
4962 2014-11-18 Richard Biener <rguenther@suse.de>
4964 PR tree-optimization/63914
4965 * tree-ssa-ccp.c (canonicalize_value): Remove float value
4967 (valid_lattice_transition): Allow (partial) transition
4968 from NaN to non-NaN if !HONOR_NANS.
4969 (set_lattice_value): Check for valid lattice transitions
4970 only when checking is enabled.
4972 2014-11-18 Bernd Schmidt <bernds@codesourcery.com>
4974 * config/nvptx/nvptx.c: Include <sstream> directly after "config.h".
4976 2014-11-18 Christophe Lyon <christophe.lyon@linaro.org>
4978 * config/arm/neon-testgen.ml (emit_prologue): Handle new
4979 compile_test_optim argument.
4980 (emit_automatics): Rename to emit_variables. Support variable
4981 indentation of its output.
4982 (compile_test_optim): New function.
4983 (test_intrinsic): Call compile_test_optim.
4984 * config/arm/neon.ml (features): Add Compiler_optim.
4985 (ops): Add Compiler_optim feature to Vbic and Vorn.
4986 (type_in_crypto_only): Replace 'or' by '||'.
4987 (reinterp): Likewise.
4988 (reinterpq): Likewise.
4990 2014-11-18 Alan Lawrence <alan.lawrence@arm.com>
4992 * config/aarch64/arm_neon.h (vld1_dup_f32, vld1_dup_f64, vld1_dup_p8,
4993 vld1_dup_p16, vld1_dup_s8, vld1_dup_s16, vld1_dup_s32, vld1_dup_s64,
4994 vld1_dup_u8, vld1_dup_u16, vld1_dup_u32, vld1_dup_u64, vld1q_dup_f32,
4995 vld1q_dup_f64, vld1q_dup_p8, vld1q_dup_p16, vld1q_dup_s8, vld1q_dup_s16,
4996 vld1q_dup_s32, vld1q_dup_s64, vld1q_dup_u8, vld1q_dup_u16,
4997 vld1q_dup_u32, vld1q_dup_u64): Replace inline asm with vdup_n_ and
4998 pointer dereference.
5000 2014-11-18 Marc Glisse <marc.glisse@inria.fr>
5002 * tree.c (element_mode, integer_truep): New functions.
5003 * tree.h (element_mode, integer_truep): Declare them.
5004 * fold-const.c (negate_expr_p, fold_negate_expr, combine_comparisons,
5005 fold_cond_expr_with_comparison, fold_real_zero_addition_p,
5006 fold_comparison, fold_ternary_loc, tree_call_nonnegative_warnv_p,
5007 fold_strip_sign_ops): Use element_mode.
5008 (fold_binary_loc): Use element_mode and element_precision.
5009 * match.pd: Use integer_truep, element_mode, element_precision,
5010 VECTOR_TYPE_P and build_one_cst. Extend some transformations to
5011 vectors. Simplify A/-A.
5013 2014-11-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5015 * config/arm/arm.md (unaligned_loaddi): Use std::swap instead of
5016 manual swapping implementation.
5017 (movcond_addsi): Likewise.
5018 * config/arm/arm.c (arm_canonicalize_comparison): Likewise.
5019 (arm_select_dominance_cc_mode): Likewise.
5020 (arm_reload_out_hi): Likewise.
5021 (gen_operands_ldrd_strd): Likewise.
5022 (output_move_double): Likewise.
5023 (arm_print_operand_address): Likewise.
5024 (thumb_output_move_mem_multiple): Likewise.
5027 2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
5029 * config/arm/arm-builtins.c (CONVERT_QUALIFIERS): Delete.
5030 (COPYSIGNF_QUALIFIERS): Likewise.
5031 (CREATE_QUALIFIERS): Likewise.
5032 (DUP_QUALIFIERS): Likewise.
5033 (FLOAT_WIDEN_QUALIFIERS): Likewise.
5034 (FLOAT_NARROW_QUALIFIERS): Likewise.
5035 (REINTERP_QUALIFIERS): Likewise.
5036 (RINT_QUALIFIERS): Likewise.
5037 (SPLIT_QUALIFIERS): Likewise.
5038 (FIXCONV_QUALIFIERS): Likewise.
5039 (SCALARMUL_QUALIFIERS): Likewise.
5040 (SCALARMULL_QUALIFIERS): Likewise.
5041 (SCALARMULH_QUALIFIERS): Likewise.
5042 (SELECT_QUALIFIERS): Likewise.
5043 (VTBX_QUALIFIERS): Likewise.
5044 (SHIFTIMM_QUALIFIERS): Likewise.
5045 (SCALARMAC_QUALIFIERS): Likewise.
5046 (LANEMUL_QUALIFIERS): Likewise.
5047 (LANEMULH_QUALIFIERS): Likewise.
5048 (LANEMULL_QUALIFIERS): Likewise.
5049 (SHIFTACC_QUALIFIERS): Likewise.
5050 (SHIFTINSERT_QUALIFIERS): Likewise.
5051 (VTBL_QUALIFIERS): Likewise.
5052 (LOADSTRUCT_QUALIFIERS): Likewise.
5053 (LOADSTRUCTLANE_QUALIFIERS): Likewise.
5054 (STORESTRUCT_QUALIFIERS): Likewise.
5055 (STORESTRUCTLANE_QUALIFIERS): Likewise.
5056 (neon_builtin_type_mode): Delete.
5057 (v8qi_UP): Map to V8QImode.
5058 (v8qi_UP): Map to V8QImode.
5059 (v4hi_UP): Map to V4HImode.
5060 (v4hf_UP): Map to V4HFmode.
5061 (v2si_UP): Map to V2SImode.
5062 (v2sf_UP): Map to V2SFmode.
5063 (di_UP): Map to DImode.
5064 (v16qi_UP): Map to V16QImode.
5065 (v8hi_UP): Map to V8HImode.
5066 (v4si_UP): Map to V4SImode.
5067 (v4sf_UP): Map to V4SFmode.
5068 (v2di_UP): Map to V2DImode.
5069 (ti_UP): Map to TImode.
5070 (ei_UP): Map to EImode.
5071 (oi_UP): Map to OImode.
5072 (neon_itype): Delete.
5073 (neon_builtin_datum): Remove itype, make mode a machine_mode.
5074 (VAR1): Update accordingly.
5075 (arm_init_neon_builtins): Use machine_mode directly.
5076 (neon_dereference_pointer): Likewise.
5077 (arm_expand_neon_args): Use qualifiers to decide operand types.
5078 (arm_expand_neon_builtin): Likewise.
5079 * config/arm/arm_neon_builtins.def: Remap operation type for
5082 2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
5084 * config/arm/arm-builtins.c (arm_scalar_builtin_types): New.
5085 (enum arm_simd_type): Likewise.
5086 (struct arm_simd_type_info): Likewise
5087 (arm_mangle_builtin_scalar_type): Likewise.
5088 (arm_mangle_builtin_vector_type): Likewise.
5089 (arm_mangle_builtin_type): Likewise.
5090 (arm_simd_builtin_std_type): Likewise.
5091 (arm_lookup_simd_builtin_type): Likewise.
5092 (arm_simd_builtin_type): Likewise.
5093 (arm_init_simd_builtin_types): Likewise.
5094 (arm_init_simd_builtin_scalar_types): Likewise.
5095 (arm_init_neon_builtins): Rewrite using qualifiers.
5096 * config/arm/arm-protos.h (arm_mangle_builtin_type): New.
5097 * config/arm/arm-simd-builtin-types.def: New file.
5098 * config/arm/t-arm (arm-builtins.o): Depend on it.
5099 * config/arm/arm.c (arm_mangle_type): Call arm_mangle_builtin_type.
5100 * config/arm/arm_neon.h (int8x8_t): Use new internal type.
5101 (int16x4_t): Likewise.
5102 (int32x2_t): Likewise.
5103 (float16x4_t): Likewise.
5104 (float32x2_t): Likewise.
5105 (poly8x8_t): Likewise.
5106 (poly16x4_t): Likewise.
5107 (uint8x8_t): Likewise.
5108 (uint16x4_t): Likewise.
5109 (uint32x2_t): Likewise.
5110 (int8x16_t): Likewise.
5111 (int16x8_t): Likewise.
5112 (int32x4_t): Likewise.
5113 (int64x2_t): Likewise.
5114 (float32x4_t): Likewise.
5115 (poly8x16_t): Likewise.
5116 (poly16x8_t): Likewise.
5117 (uint8x16_t): Likewise.
5118 (uint16x8_t): Likewise.
5119 (uint32x4_t): Likewise.
5120 (uint64x2_t): Likewise.
5122 2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
5124 * gcc/config/arm/arm-builtins.c (arm_type_qualifiers): New.
5125 (neon_itype): Add new types corresponding to the types used in
5127 (arm_unop_qualifiers): New.
5128 (arm_bswap_qualifiers): Likewise.
5129 (arm_binop_qualifiers): Likewise.
5130 (arm_ternop_qualifiers): Likewise.
5131 (arm_getlane_qualifiers): Likewise.
5132 (arm_lanemac_qualifiers): Likewise.
5133 (arm_setlane_qualifiers): Likewise.
5134 (arm_combine_qualifiers): Likewise.
5135 (arm_load1_qualifiers): Likewise.
5136 (arm_load1_lane_qualifiers): Likewise.
5137 (arm_store1_qualifiers): Likewise.
5138 (arm_storestruct_lane_qualifiers): Likewise.
5139 (UNOP_QUALIFIERS): Likewise.
5140 (DUP_QUALIFIERS): Likewise.
5141 (SPLIT_QUALIFIERS): Likewise.
5142 (CONVERT_QUALIFIERS): Likewise.
5143 (FLOAT_WIDEN_QUALIFIERS): Likewise.
5144 (FLOAT_NARROW_QUALIFIERS): Likewise.
5145 (RINT_QUALIFIERS): Likewise.
5146 (COPYSIGNF_QUALIFIERS): Likewise.
5147 (CREATE_QUALIFIERS): Likewise.
5148 (REINTERP_QUALIFIERS): Likewise.
5149 (BSWAP_QUALIFIERS): Likewise.
5150 (BINOP_QUALIFIERS): Likewise.
5151 (FIXCONV_QUALIFIERS): Likewise.
5152 (SCALARMUL_QUALIFIERS): Likewise.
5153 (SCALARMULL_QUALIFIERS): Likewise.
5154 (SCALARMULH_QUALIFIERS): Likewise.
5155 (TERNOP_QUALIFIERS): Likewise.
5156 (SELECT_QUALIFIERS): Likewise.
5157 (VTBX_QUALIFIERS): Likewise.
5158 (GETLANE_QUALIFIERS): Likewise.
5159 (SHIFTIMM_QUALIFIERS): Likewise.
5160 (LANEMAC_QUALIFIERS): Likewise.
5161 (SCALARMAC_QUALIFIERS): Likewise.
5162 (SETLANE_QUALIFIERS): Likewise.
5163 (SHIFTINSERT_QUALIFIERS): Likewise.
5164 (SHIFTACC_QUALIFIERS): Likewise.
5165 (LANEMUL_QUALIFIERS): Likewise.
5166 (LANEMULL_QUALIFIERS): Likewise.
5167 (LANEMULH_QUALIFIERS): Likewise.
5168 (COMBINE_QUALIFIERS): Likewise.
5169 (VTBL_QUALIFIERS): Likewise.
5170 (LOAD1_QUALIFIERS): Likewise.
5171 (LOADSTRUCT_QUALIFIERS): Likewise.
5172 (LOAD1LANE_QUALIFIERS): Likewise.
5173 (LOADSTRUCTLANE_QUALIFIERS): Likewise.
5174 (STORE1_QUALIFIERS): Likewise.
5175 (STORESTRUCT_QUALIFIERS): Likewise.
5176 (STORE1LANE_QUALIFIERS): Likewise.
5177 (STORESTRUCTLANE_QUALIFIERS): Likewise.
5178 (neon_builtin_datum): Keep track of qualifiers.
5181 2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
5183 * config/arm/arm-builtins.c (VAR1): Add a comma.
5184 (VAR2): Rewrite in terms of VAR1.
5185 (VAR3-10): Likewise.
5186 (arm_builtins): Remove leading comma before ARM_BUILTIN_MAX.
5187 * config/arm/arm_neon_builtins.def: Remove trailing commas.
5189 2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
5191 * config.gcc (extra_objs): Add arm-builtins.o for arm*-*-*.
5192 (target_gtfiles): Add config/arm/arm-builtins.c for arm*-*-*.
5193 * config/arm/arm-builtins.c: New.
5194 * config/arm/t-arm (arm_builtins.o): New.
5195 * config/arm/arm-protos.h (arm_expand_builtin): New.
5196 (arm_builtin_decl): Likewise.
5197 (arm_init_builtins): Likewise.
5198 (arm_atomic_assign_expand_fenv): Likewise.
5199 * config/arm/arm.c (arm_atomic_assign_expand_fenv): Remove prototype.
5200 (arm_init_builtins): Likewise.
5201 (arm_init_iwmmxt_builtins): Likewise
5202 (safe_vector_operand): Likewise
5203 (arm_expand_binop_builtin): Likewise
5204 (arm_expand_unop_builtin): Likewise
5205 (arm_expand_builtin): Likewise
5206 (arm_builtin_decl): Likewise
5207 (insn_flags): Remove static.
5208 (tune_flags): Likewise.
5209 (enum arm_builtins): Move to config/arm/arm-builtins.c.
5210 (arm_init_neon_builtins): Likewise.
5211 (struct builtin_description): Likewise.
5212 (arm_init_iwmmxt_builtins): Likewise.
5213 (arm_init_fp16_builtins): Likewise.
5214 (arm_init_crc32_builtins): Likewise.
5215 (arm_init_builtins): Likewise.
5216 (arm_builtin_decl): Likewise.
5217 (safe_vector_operand): Likewise.
5218 (arm_expand_ternop_builtin): Likewise.
5219 (arm_expand_binop_builtin): Likewise.
5220 (arm_expand_unop_builtin): Likewise.
5221 (neon_dereference_pointer): Likewise.
5222 (arm_expand_neon_args): Likewise.
5223 (arm_expand_neon_builtin): Likewise.
5224 (neon_split_vcombine): Likewise.
5225 (arm_expand_builtin): Likewise.
5226 (arm_builtin_vectorized_function): Likewise.
5227 (arm_atomic_assign_expand_fenv): Likewise.
5229 2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
5231 * config/arm/t-arm (arm.o): Include arm-protos.h in the recipe.
5232 * config/arm/arm.c (FL_CO_PROC): Move to arm-protos.h.
5233 (FL_ARCH3M): Likewise.
5234 (FL_MODE26): Likewise.
5235 (FL_MODE32): Likewise.
5236 (FL_ARCH4): Likewise.
5237 (FL_ARCH5): Likewise.
5238 (FL_THUMB): Likewise.
5239 (FL_LDSCHED): Likewise.
5240 (FL_STRONG): Likewise.
5241 (FL_ARCH5E): Likewise.
5242 (FL_XSCALE): Likewise.
5243 (FL_ARCH6): Likewise.
5244 (FL_VFPV2): Likewise.
5245 (FL_WBUF): Likewise.
5246 (FL_ARCH6K): Likewise.
5247 (FL_THUMB2): Likewise.
5248 (FL_NOTM): Likewise.
5249 (FL_THUMB_DIV): Likewise.
5250 (FL_VFPV3): Likewise.
5251 (FL_NEON): Likewise.
5252 (FL_ARCH7EM): Likewise.
5253 (FL_ARCH7): Likewise.
5254 (FL_ARM_DIV): Likewise.
5255 (FL_ARCH8): Likewise.
5256 (FL_CRC32): Likewise.
5257 (FL_SMALLMUL): Likewise.
5258 (FL_IWMMXT): Likewise.
5259 (FL_IWMMXT2): Likewise.
5260 (FL_TUNE): Likewise.
5261 (FL_FOR_ARCH2): Likewise.
5262 (FL_FOR_ARCH3): Likewise.
5263 (FL_FOR_ARCH3M): Likewise.
5264 (FL_FOR_ARCH4): Likewise.
5265 (FL_FOR_ARCH4T): Likewise.
5266 (FL_FOR_ARCH5): Likewise.
5267 (FL_FOR_ARCH5T): Likewise.
5268 (FL_FOR_ARCH5E): Likewise.
5269 (FL_FOR_ARCH5TE): Likewise.
5270 (FL_FOR_ARCH5TEJ): Likewise.
5271 (FL_FOR_ARCH6): Likewise.
5272 (FL_FOR_ARCH6J): Likewise.
5273 (FL_FOR_ARCH6K): Likewise.
5274 (FL_FOR_ARCH6Z): Likewise.
5275 (FL_FOR_ARCH6ZK): Likewise.
5276 (FL_FOR_ARCH6T2): Likewise.
5277 (FL_FOR_ARCH6M): Likewise.
5278 (FL_FOR_ARCH7): Likewise.
5279 (FL_FOR_ARCH7A): Likewise.
5280 (FL_FOR_ARCH7VE): Likewise.
5281 (FL_FOR_ARCH7R): Likewise.
5282 (FL_FOR_ARCH7M): Likewise.
5283 (FL_FOR_ARCH7EM): Likewise.
5284 (FL_FOR_ARCH8A): Likewise.
5285 * config/arm/arm-protos.h: Take definitions moved from arm.c.
5287 2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
5289 * config/arm/arm.c (arm_expand_neon_builtin): Remove "Magic Word"
5290 parameter, rearrange switch statement accordingly.
5291 (arm_evpc_neon_vrev): Remove "Magic Word".
5292 * config/arm/unspecs.md (unspec): Split many UNSPECs to
5293 rounding, or signed/unsigned variants.
5294 * config/arm/neon.md (vcond<mode><mode>): Remove "Magic Word" code.
5295 (vcondu<mode><mode>): Likewise.
5296 (neon_vadd): Remove "Magic Word" operand.
5297 (neon_vaddl): Remove "Magic Word" operand, convert to use
5298 signed/unsigned iterator.
5299 (neon_vaddw): Likewise.
5300 (neon_vhadd): Likewise, also iterate over "rounding" forms.
5301 (neon_vqadd): Remove "Magic Word" operand, convert to use
5302 signed/unsigned iterator.
5303 (neon_v<r>addhn): Remove "Magic Word" operand, convert to iterate
5304 over "rounding" forms.
5305 (neon_vmul): Remove "Magic Word" operand, iterate over
5306 polynomial/float instruction forms.
5307 (neon_vmla): Remove "Magic Word" operand.
5308 (neon_vfma): Likewise.
5309 (neon_vfms): Likewise.
5310 (neon_vmls): Likewise.
5311 (neon_vmlal): Remove "Magic Word" operand, iterate over
5312 signed/unsigned forms.
5313 (neon_vmlsl): Likewise.
5314 (neon_vqdmulh): Remove "Magic Word" operand, iterate over "rounding"
5316 (neon_vqdmlal): Remove "Magic Word" operand, iterate over
5317 signed/unsigned forms.
5318 (neon_vqdmlsl): Likewise.
5319 (neon_vmull): Likewise.
5320 (neon_vqdmull): Remove "Magic Word" operand.
5321 (neon_vsub): Remove "Magic Word" operand.
5322 (neon_vsubl): Remove "Magic Word" operand, convert to use
5323 signed/unsigned iterator.
5324 (neon_vsubw): Likewise.
5325 (neon_vhsub): Likewise.
5326 (neon_vqsub): Likewise.
5327 (neon_v<r>subhn): Remove "Magic Word" operand, convert to iterate
5328 over "rounding" forms.
5329 (neon_vceq): Remove "Magic Word" operand.
5330 (neon_vcge): Likewise.
5331 (neon_vcgeu): Likewise.
5332 (neon_vcgt): Likewise.
5333 (neon_vcgtu): Likewise.
5334 (neon_vcle): Likewise.
5335 (neon_vclt): Likewise.
5336 (neon_vcage): Likewise.
5337 (neon_vcagt): Likewise.
5338 (neon_vabd): Remove "Magic Word" operand, iterate over
5339 signed/unsigned forms, and split out...
5340 (neon_vabdf): ...this as new.
5341 (neon_vabdl): Remove "Magic Word" operand, iterate over
5342 signed/unsigned forms.
5343 (neon_vaba): Likewise.
5344 (neon_vmax): Remove "Magic Word" operand, iterate over
5345 signed/unsigned and max/min forms, and split out...
5346 (neon_v<maxmin>f): ...this as new.
5347 (neon_vmin): Delete.
5348 (neon_vpadd): Remove "Magic Word" operand.
5349 (neon_vpaddl): Remove "Magic Word" operand, iterate over
5350 signed/unsigned variants.
5351 (neon_vpadal): Likewise.
5352 (neon_vpmax): Remove "Magic Word" operand, iterate over
5353 signed/unsigned and max/min forms, and split out...
5354 (neon_vp<maxmin>f): ...this as new.
5355 (neon_vpmin): Delete.
5356 (neon_vrecps): Remove "Magic Word" operand.
5357 (neon_vrsqrts): Likewise.
5358 (neon_vabs): Likewise.
5359 (neon_vqabs): Likewise.
5360 (neon_vneg): Likewise.
5361 (neon_vqneg): Likewise.
5362 (neon_vcls): Likewise.
5363 (neon_vcnt): Likewise.
5364 (neon_vrecpe): Likewise.
5365 (neon_vrsqrte): Likewise.
5366 (neon_vmvn): Likewise.
5367 (neon_vget_lane): Likewise.
5368 (neon_vget_laneu): New.
5369 (neon_vget_lanedi): Remove "Magic Word" operand.
5370 (neon_vget_lanev2di): Likewise.
5371 (neon_vcvt): Remove "Magic Word" operand, iterate over
5372 signed/unsigned variants.
5373 (neon_vcvt_n): Likewise.
5374 (neon_vmovn): Remove "Magic Word" operand.
5375 (neon_vqmovn): Remove "Magic Word" operand, iterate over
5376 signed/unsigned variants.
5377 (neon_vmovun): Remove "Magic Word" operand.
5378 (neon_vmovl): Remove "Magic Word" operand, iterate over
5379 signed/unsigned variants.
5380 (neon_vmul_lane): Remove "Magic Word" operand.
5381 (neon_vmull_lane): Remove "Magic Word" operand, iterate over
5382 signed/unsigned variants.
5383 (neon_vqdmull_lane): Remove "Magic Word" operand.
5384 (neon_vqdmulh_lane): Remove "Magic Word" operand, iterate over
5386 (neon_vmla_lane): Remove "Magic Word" operand.
5387 (neon_vmlal_lane): Remove "Magic Word" operand, iterate over
5388 signed/unsigned variants.
5389 (neon_vqdmlal_lane): Remove "Magic Word" operand.
5390 (neon_vmls_lane): Likewise.
5391 (neon_vmlsl_lane): Remove "Magic Word" operand, iterate over
5392 signed/unsigned variants.
5393 (neon_vqdmlsl_lane): Remove "Magic Word" operand.
5394 (neon_vmul_n): Remove "Magic Word" operand.
5395 (neon_vmull_n): Rename to...
5396 (neon_vmulls_n): ...this, remove "Magic Word" operand.
5397 (neon_vmullu_n): New.
5398 (neon_vqdmull_n): Remove "Magic Word" operand.
5399 (neon_vqdmulh_n): Likewise.
5400 (neon_vqrdmulh_n): New.
5401 (neon_vmla_n): Remove "Magic Word" operand.
5402 (neon_vmls_n): Likewise.
5403 (neon_vmlal_n): Rename to...
5404 (neon_vmlals_n): ...this, remove "Magic Word" operand.
5405 (neon_vmlalu_n): New.
5406 (neon_vqdmlal_n): Remove "Magic Word" operand.
5407 (neon_vmlsl_n): Rename to...
5408 (neon_vmlsls_n): ...this, remove "Magic Word" operand.
5409 (neon_vmlslu_n): New.
5410 (neon_vqdmlsl_n): Remove "Magic Word" operand.
5411 (neon_vrev64): Remove "Magic Word" operand.
5412 (neon_vrev32): Likewise.
5413 (neon_vrev16): Likewise.
5414 (neon_vshl): Remove "Magic Word" operand, iterate over
5415 signed/unsigned and "rounding" forms.
5416 (neon_vqshl): Likewise.
5417 (neon_vshr_n): Likewise.
5418 (neon_vshrn_n): Remove "Magic Word" operand, iterate over
5420 (neon_vqshrn_n): Remove "Magic Word" operand, iterate over
5421 signed/unsigned and "rounding" forms.
5422 (neon_vqshrun_n): Remove "Magic Word" operand, iterate over
5424 (neon_vshl_n): Remove "Magic Word" operand.
5425 (neon_vqshl_n): Remove "Magic Word" operand, iterate over
5426 signed/unsigned variants.
5427 (neon_vqshlu_n): Remove "Magic Word" operand.
5428 (neon_vshll_n): Remove "Magic Word" operand, iterate over
5429 signed/unsigned variants.
5430 (neon_vsra_n): Remove "Magic Word" operand, iterate over
5431 signed/unsigned and "rounding" forms.
5432 * config/arm/iterators.md (VPF): New.
5439 (VMLAL_LANE): Likewise.
5441 (VMLSL_LANE): Likewise.
5442 (VQDMULH): Likewise,
5443 (VQDMULH_LANE): Likewise.
5445 (VMULL_LANE): Likewise.
5453 (VMAXMIN): Likewise.
5454 (VMAXMINF): Likewise.
5457 (VPMAXMIN): Likewise.
5458 (VPMAXMINF): Likewise.
5459 (VCVT_US): Likewise.
5460 (VCVT_US_N): Likewise.
5466 (VSHRN_N): Likewise.
5467 (VQSHRN_N): Likewise.
5468 (VQSHRUN_N): Likewise.
5469 (VQSHL_N): Likewise.
5470 (VSHLL_N): Likewise.
5476 (shift_op): Likewise.
5477 * config/arm/arm_neon_builtins.def (vaddl): Split to...
5478 (vaddls): ...this and...
5480 (vaddw): Split to...
5481 (vaddws): ...this and...
5483 (vhadd): Split to...
5484 (vhadds): ...this and...
5485 (vhaddu): ...this and...
5486 (vrhadds): ...this and...
5488 (vqadd): Split to...
5489 (vqadds): ...this and...
5491 (vaddhn): Split to itself and...
5494 (vmulf): ...this and...
5496 (vmlal): Split to...
5497 (vmlals): ...this and...
5499 (vmlsl): Split to...
5500 (vmlsls): ...this and...
5502 (vqdmulh): Split to itself and...
5503 (vqrdmulh): ...this.
5504 (vmull): Split to...
5505 (vmullp): ...this and...
5506 (vmulls): ...this and...
5508 (vmull_n): Split to...
5509 (vmulls_n): ...this and...
5510 (vmullu_n): ...this.
5511 (vmull_lane): Split to...
5512 (vmulls_lane): ...this and...
5513 (vmullu_lane): ...this.
5514 (vqdmulh_n): Split to itself and...
5515 (vqrdmulh_n): ...this.
5516 (vqdmulh_lane): Split to itself and...
5517 (vqrdmulh_lane): ...this.
5519 (vshls): ...this and...
5520 (vshlu): ...this and...
5521 (vrshls): ...this and...
5523 (vqshl): Split to...
5524 (vqshls): ...this and...
5525 (vqrshlu): ...this and...
5526 (vqrshls): ...this and...
5528 (vshr_n): Split to...
5529 (vshrs_n): ...this and...
5530 (vshru_n): ...this and...
5531 (vrshrs_n): ...this and...
5532 (vrshru_n): ...this.
5533 (vshrn_n): Split to itself and...
5534 (vrshrn_n): ...this.
5535 (vqshrn_n): Split to...
5536 (vqshrns_n): ...this and...
5537 (vqshrnu_n): ...this and...
5538 (vqrshrns_n): ...this and...
5539 (vqrshrnu_n): ...this.
5540 (vqshrun_n): Split to itself and...
5541 (vqrshrun_n): ...this.
5542 (vqshl_n): Split to...
5543 (vqshl_s_n): ...this and...
5544 (vqshl_u_n): ...this.
5545 (vshll_n): Split to...
5546 (vshlls_n): ...this and...
5547 (vshllu_n): ...this.
5548 (vsra_n): Split to...
5549 (vsras_n): ...this and...
5550 (vsrau_n): ...this and.
5551 (vrsras_n): ...this and...
5552 (vrsrau_n): ...this and.
5553 (vsubl): Split to...
5554 (vsubls): ...this and...
5556 (vsubw): Split to...
5557 (vsubws): ...this and...
5559 (vqsub): Split to...
5560 (vqsubs): ...this and...
5562 (vhsub): Split to...
5563 (vhsubs): ...this and...
5565 (vsubhn): Split to itself and...
5568 (vabds): ...this and...
5569 (vabdu): ...this and...
5571 (vabdl): Split to...
5572 (vabdls): ...this and...
5575 (vabas): ...this and...
5576 (vabau): ...this and...
5577 (vabal): Split to...
5578 (vabals): ...this and...
5581 (vmaxs): ...this and...
5582 (vmaxu): ...this and...
5585 (vmins): ...this and...
5586 (vminu): ...this and...
5588 (vpmax): Split to...
5589 (vpmaxs): ...this and...
5590 (vpmaxu): ...this and...
5592 (vpmin): Split to...
5593 (vpmins): ...this and...
5594 (vpminu): ...this and...
5596 (vpaddl): Split to...
5597 (vpaddls): ...this and...
5599 (vpadal): Split to...
5600 (vpadals): ...this and...
5603 (vqmovn): Split to...
5604 (vqmovns): ...this and...
5606 (vmovl): Split to...
5607 (vmovls): ...this and...
5609 (vmlal_lane): Split to...
5610 (vmlals_lane): ...this and...
5611 (vmlalu_lane): ...this.
5612 (vmlsl_lane): Split to...
5613 (vmlsls_lane): ...this and...
5614 (vmlslu_lane): ...this.
5615 (vmlal_n): Split to...
5616 (vmlals_n): ...this and...
5617 (vmlalu_n): ...this.
5618 (vmlsl_n): Split to...
5619 (vmlsls_n): ...this and...
5620 (vmlslu_n): ...this.
5621 (vext): Make type "SHIFTINSERT".
5623 (vcvts): ...this and...
5625 (vcvt_n): Split to...
5626 (vcvts_n): ...this and...
5628 * config/arm/arm_neon.h (vaddl_s8): Remove "Magic Word".
5629 (vaddl_s16): Likewise.
5630 (vaddl_s32): Likewise.
5631 (vaddl_u8): Likewise.
5632 (vaddl_u16): Likewise.
5633 (vaddl_u32): Likewise.
5634 (vaddw_s8): Likewise.
5635 (vaddw_s16): Likewise.
5636 (vaddw_s32): Likewise.
5637 (vaddw_u8): Likewise.
5638 (vaddw_u16): Likewise.
5639 (vaddw_u32): Likewise.
5640 (vhadd_s8): Likewise.
5641 (vhadd_s16): Likewise.
5642 (vhadd_s32): Likewise.
5643 (vhadd_u8): Likewise.
5644 (vhadd_u16): Likewise.
5645 (vhadd_u32): Likewise.
5646 (vhaddq_s8): Likewise.
5647 (vhaddq_s16): Likewise.
5648 (vhaddq_s32): Likewise.
5649 (vhaddq_u8): Likewise.
5650 (vhaddq_u16): Likewise.
5651 (vrhadd_s8): Likewise.
5652 (vrhadd_s16): Likewise.
5653 (vrhadd_s32): Likewise.
5654 (vrhadd_u8): Likewise.
5655 (vrhadd_u16): Likewise.
5656 (vrhadd_u32): Likewise.
5657 (vrhaddq_s8): Likewise.
5658 (vrhaddq_s16): Likewise.
5659 (vrhaddq_s32): Likewise.
5660 (vrhaddq_u8): Likewise.
5661 (vrhaddq_u16): Likewise.
5662 (vrhaddq_u32): Likewise.
5663 (vqadd_s8): Likewise.
5664 (vqadd_s16): Likewise.
5665 (vqadd_s32): Likewise.
5666 (vqadd_s64): Likewise.
5667 (vqadd_u8): Likewise.
5668 (vqadd_u16): Likewise.
5669 (vqadd_u32): Likewise.
5670 (vqadd_u64): Likewise.
5671 (vqaddq_s8): Likewise.
5672 (vqaddq_s16): Likewise.
5673 (vqaddq_s32): Likewise.
5674 (vqaddq_s64): Likewise.
5675 (vqaddq_u8): Likewise.
5676 (vqaddq_u16): Likewise.
5677 (vqaddq_u32): Likewise.
5678 (vqaddq_u64): Likewise.
5679 (vaddhn_s16): Likewise.
5680 (vaddhn_s32): Likewise.
5681 (vaddhn_s64): Likewise.
5682 (vaddhn_u16): Likewise.
5683 (vaddhn_u32): Likewise.
5684 (vaddhn_u64): Likewise.
5685 (vraddhn_s16): Likewise.
5686 (vraddhn_s32): Likewise.
5687 (vraddhn_s64): Likewise.
5688 (vraddhn_u16): Likewise.
5689 (vraddhn_u32): Likewise.
5690 (vraddhn_u64): Likewise.
5691 (vmul_p8): Likewise.
5692 (vmulq_p8): Likewise.
5693 (vqdmulh_s16): Likewise.
5694 (vqdmulh_s32): Likewise.
5695 (vqdmulhq_s16): Likewise.
5696 (vqdmulhq_s32): Likewise.
5697 (vqrdmulh_s16): Likewise.
5698 (vqrdmulh_s32): Likewise.
5699 (vqrdmulhq_s16): Likewise.
5700 (vqrdmulhq_s32): Likewise.
5701 (vmull_s8): Likewise.
5702 (vmull_s16): Likewise.
5703 (vmull_s32): Likewise.
5704 (vmull_u8): Likewise.
5705 (vmull_u16): Likewise.
5706 (vmull_u32): Likewise.
5707 (vmull_p8): Likewise.
5708 (vqdmull_s16): Likewise.
5709 (vqdmull_s32): Likewise.
5710 (vmla_s8): Likewise.
5711 (vmla_s16): Likewise.
5712 (vmla_s32): Likewise.
5713 (vmla_f32): Likewise.
5714 (vmla_u8): Likewise.
5715 (vmla_u16): Likewise.
5716 (vmla_u32): Likewise.
5717 (vmlaq_s8): Likewise.
5718 (vmlaq_s16): Likewise.
5719 (vmlaq_s32): Likewise.
5720 (vmlaq_f32): Likewise.
5721 (vmlaq_u8): Likewise.
5722 (vmlaq_u16): Likewise.
5723 (vmlaq_u32): Likewise.
5724 (vmlal_s8): Likewise.
5725 (vmlal_s16): Likewise.
5726 (vmlal_s32): Likewise.
5727 (vmlal_u8): Likewise.
5728 (vmlal_u16): Likewise.
5729 (vmlal_u32): Likewise.
5730 (vqdmlal_s16): Likewise.
5731 (vqdmlal_s32): Likewise.
5732 (vmls_s8): Likewise.
5733 (vmls_s16): Likewise.
5734 (vmls_s32): Likewise.
5735 (vmls_f32): Likewise.
5736 (vmls_u8): Likewise.
5737 (vmls_u16): Likewise.
5738 (vmls_u32): Likewise.
5739 (vmlsq_s8): Likewise.
5740 (vmlsq_s16): Likewise.
5741 (vmlsq_s32): Likewise.
5742 (vmlsq_f32): Likewise.
5743 (vmlsq_u8): Likewise.
5744 (vmlsq_u16): Likewise.
5745 (vmlsq_u32): Likewise.
5746 (vmlsl_s8): Likewise.
5747 (vmlsl_s16): Likewise.
5748 (vmlsl_s32): Likewise.
5749 (vmlsl_u8): Likewise.
5750 (vmlsl_u16): Likewise.
5751 (vmlsl_u32): Likewise.
5752 (vqdmlsl_s16): Likewise.
5753 (vqdmlsl_s32): Likewise.
5754 (vfma_f32): Likewise.
5755 (vfmaq_f32): Likewise.
5756 (vfms_f32): Likewise.
5757 (vfmsq_f32): Likewise.
5758 (vsubl_s8): Likewise.
5759 (vsubl_s16): Likewise.
5760 (vsubl_s32): Likewise.
5761 (vsubl_u8): Likewise.
5762 (vsubl_u16): Likewise.
5763 (vsubl_u32): Likewise.
5764 (vsubw_s8): Likewise.
5765 (vsubw_s16): Likewise.
5766 (vsubw_s32): Likewise.
5767 (vsubw_u8): Likewise.
5768 (vsubw_u16): Likewise.
5769 (vsubw_u32): Likewise.
5770 (vhsub_s8): Likewise.
5771 (vhsub_s16): Likewise.
5772 (vhsub_s32): Likewise.
5773 (vhsub_u8): Likewise.
5774 (vhsub_u16): Likewise.
5775 (vhsub_u32): Likewise.
5776 (vhsubq_s8): Likewise.
5777 (vhsubq_s16): Likewise.
5778 (vhsubq_s32): Likewise.
5779 (vhsubq_u8): Likewise.
5780 (vhsubq_u16): Likewise.
5781 (vhsubq_u32): Likewise.
5782 (vqsub_s8): Likewise.
5783 (vqsub_s16): Likewise.
5784 (vqsub_s32): Likewise.
5785 (vqsub_s64): Likewise.
5786 (vqsub_u8): Likewise.
5787 (vqsub_u16): Likewise.
5788 (vqsub_u32): Likewise.
5789 (vqsub_u64): Likewise.
5790 (vqsubq_s8): Likewise.
5791 (vqsubq_s16): Likewise.
5792 (vqsubq_s32): Likewise.
5793 (vqsubq_s64): Likewise.
5794 (vqsubq_u8): Likewise.
5795 (vqsubq_u16): Likewise.
5796 (vqsubq_u32): Likewise.
5797 (vqsubq_u64): Likewise.
5798 (vsubhn_s16): Likewise.
5799 (vsubhn_s32): Likewise.
5800 (vsubhn_s64): Likewise.
5801 (vsubhn_u16): Likewise.
5802 (vsubhn_u32): Likewise.
5803 (vsubhn_u64): Likewise.
5804 (vrsubhn_s16): Likewise.
5805 (vrsubhn_s32): Likewise.
5806 (vrsubhn_s64): Likewise.
5807 (vrsubhn_u16): Likewise.
5808 (vrsubhn_u32): Likewise.
5809 (vrsubhn_u64): Likewise.
5810 (vceq_s8): Likewise.
5811 (vceq_s16): Likewise.
5812 (vceq_s32): Likewise.
5813 (vceq_f32): Likewise.
5814 (vceq_u8): Likewise.
5815 (vceq_u16): Likewise.
5816 (vceq_u32): Likewise.
5817 (vceq_p8): Likewise.
5818 (vceqq_s8): Likewise.
5819 (vceqq_s16): Likewise.
5820 (vceqq_s32): Likewise.
5821 (vceqq_f32): Likewise.
5822 (vceqq_u8): Likewise.
5823 (vceqq_u16): Likewise.
5824 (vceqq_u32): Likewise.
5825 (vceqq_p8): Likewise.
5826 (vcge_s8): Likewise.
5827 (vcge_s16): Likewise.
5828 (vcge_s32): Likewise.
5829 (vcge_f32): Likewise.
5830 (vcge_u8): Likewise.
5831 (vcge_u16): Likewise.
5832 (vcge_u32): Likewise.
5833 (vcgeq_s8): Likewise.
5834 (vcgeq_s16): Likewise.
5835 (vcgeq_s32): Likewise.
5836 (vcgeq_f32): Likewise.
5837 (vcgeq_u8): Likewise.
5838 (vcgeq_u16): Likewise.
5839 (vcgeq_u32): Likewise.
5840 (vcle_s8): Likewise.
5841 (vcle_s16): Likewise.
5842 (vcle_s32): Likewise.
5843 (vcle_f32): Likewise.
5844 (vcle_u8): Likewise.
5845 (vcle_u16): Likewise.
5846 (vcle_u32): Likewise.
5847 (vcleq_s8): Likewise.
5848 (vcleq_s16): Likewise.
5849 (vcleq_s32): Likewise.
5850 (vcleq_f32): Likewise.
5851 (vcleq_u8): Likewise.
5852 (vcleq_u16): Likewise.
5853 (vcleq_u32): Likewise.
5854 (vcgt_s8): Likewise.
5855 (vcgt_s16): Likewise.
5856 (vcgt_s32): Likewise.
5857 (vcgt_f32): Likewise.
5858 (vcgt_u8): Likewise.
5859 (vcgt_u16): Likewise.
5860 (vcgt_u32): Likewise.
5861 (vcgtq_s8): Likewise.
5862 (vcgtq_s16): Likewise.
5863 (vcgtq_s32): Likewise.
5864 (vcgtq_f32): Likewise.
5865 (vcgtq_u8): Likewise.
5866 (vcgtq_u16): Likewise.
5867 (vcgtq_u32): Likewise.
5868 (vclt_s8): Likewise.
5869 (vclt_s16): Likewise.
5870 (vclt_s32): Likewise.
5871 (vclt_f32): Likewise.
5872 (vclt_u8): Likewise.
5873 (vclt_u16): Likewise.
5874 (vclt_u32): Likewise.
5875 (vcltq_s8): Likewise.
5876 (vcltq_s16): Likewise.
5877 (vcltq_s32): Likewise.
5878 (vcltq_f32): Likewise.
5879 (vcltq_u8): Likewise.
5880 (vcltq_u16): Likewise.
5881 (vcltq_u32): Likewise.
5882 (vcage_f32): Likewise.
5883 (vcageq_f32): Likewise.
5884 (vcale_f32): Likewise.
5885 (vcaleq_f32): Likewise.
5886 (vcagt_f32): Likewise.
5887 (vcagtq_f32): Likewise.
5888 (vcalt_f32): Likewise.
5889 (vcaltq_f32): Likewise.
5890 (vtst_s8): Likewise.
5891 (vtst_s16): Likewise.
5892 (vtst_s32): Likewise.
5893 (vtst_u8): Likewise.
5894 (vtst_u16): Likewise.
5895 (vtst_u32): Likewise.
5896 (vtst_p8): Likewise.
5897 (vtstq_s8): Likewise.
5898 (vtstq_s16): Likewise.
5899 (vtstq_s32): Likewise.
5900 (vtstq_u8): Likewise.
5901 (vtstq_u16): Likewise.
5902 (vtstq_u32): Likewise.
5903 (vtstq_p8): Likewise.
5904 (vabd_s8): Likewise.
5905 (vabd_s16): Likewise.
5906 (vabd_s32): Likewise.
5907 (vabd_f32): Likewise.
5908 (vabd_u8): Likewise.
5909 (vabd_u16): Likewise.
5910 (vabd_u32): Likewise.
5911 (vabdq_s8): Likewise.
5912 (vabdq_s16): Likewise.
5913 (vabdq_s32): Likewise.
5914 (vabdq_f32): Likewise.
5915 (vabdq_u8): Likewise.
5916 (vabdq_u16): Likewise.
5917 (vabdq_u32): Likewise.
5918 (vabdl_s8): Likewise.
5919 (vabdl_s16): Likewise.
5920 (vabdl_s32): Likewise.
5921 (vabdl_u8): Likewise.
5922 (vabdl_u16): Likewise.
5923 (vabdl_u32): Likewise.
5924 (vaba_s8): Likewise.
5925 (vaba_s16): Likewise.
5926 (vaba_s32): Likewise.
5927 (vaba_u8): Likewise.
5928 (vaba_u16): Likewise.
5929 (vaba_u32): Likewise.
5930 (vabaq_s8): Likewise.
5931 (vabaq_s16): Likewise.
5932 (vabaq_s32): Likewise.
5933 (vabaq_u8): Likewise.
5934 (vabaq_u16): Likewise.
5935 (vabaq_u32): Likewise.
5936 (vabal_s8): Likewise.
5937 (vabal_s16): Likewise.
5938 (vabal_s32): Likewise.
5939 (vabal_u8): Likewise.
5940 (vabal_u16): Likewise.
5941 (vabal_u32): Likewise.
5942 (vmax_s8): Likewise.
5943 (vmax_s16): Likewise.
5944 (vmax_s32): Likewise.
5945 (vmax_f32): Likewise.
5946 (vmax_u8): Likewise.
5947 (vmax_u16): Likewise.
5948 (vmax_u32): Likewise.
5949 (vmaxq_s8): Likewise.
5950 (vmaxq_s16): Likewise.
5951 (vmaxq_s32): Likewise.
5952 (vmaxq_f32): Likewise.
5953 (vmaxq_u8): Likewise.
5954 (vmaxq_u16): Likewise.
5955 (vmaxq_u32): Likewise.
5956 (vmin_s8): Likewise.
5957 (vmin_s16): Likewise.
5958 (vmin_s32): Likewise.
5959 (vmin_f32): Likewise.
5960 (vmin_u8): Likewise.
5961 (vmin_u16): Likewise.
5962 (vmin_u32): Likewise.
5963 (vminq_s8): Likewise.
5964 (vminq_s16): Likewise.
5965 (vminq_s32): Likewise.
5966 (vminq_f32): Likewise.
5967 (vminq_u8): Likewise.
5968 (vminq_u16): Likewise.
5969 (vminq_u32): Likewise.
5970 (vpadd_s8): Likewise.
5971 (vpadd_s16): Likewise.
5972 (vpadd_s32): Likewise.
5973 (vpadd_f32): Likewise.
5974 (vpadd_u8): Likewise.
5975 (vpadd_u16): Likewise.
5976 (vpadd_u32): Likewise.
5977 (vpaddl_s8): Likewise.
5978 (vpaddl_s16): Likewise.
5979 (vpaddl_s32): Likewise.
5980 (vpaddl_u8): Likewise.
5981 (vpaddl_u16): Likewise.
5982 (vpaddl_u32): Likewise.
5983 (vpaddlq_s8): Likewise.
5984 (vpaddlq_s16): Likewise.
5985 (vpaddlq_s32): Likewise.
5986 (vpaddlq_u8): Likewise.
5987 (vpaddlq_u16): Likewise.
5988 (vpaddlq_u32): Likewise.
5989 (vpadal_s8): Likewise.
5990 (vpadal_s16): Likewise.
5991 (vpadal_s32): Likewise.
5992 (vpadal_u8): Likewise.
5993 (vpadal_u16): Likewise.
5994 (vpadal_u32): Likewise.
5995 (vpadalq_s8): Likewise.
5996 (vpadalq_s16): Likewise.
5997 (vpadalq_s32): Likewise.
5998 (vpadalq_u8): Likewise.
5999 (vpadalq_u16): Likewise.
6000 (vpadalq_u32): Likewise.
6001 (vpmax_s8): Likewise.
6002 (vpmax_s16): Likewise.
6003 (vpmax_s32): Likewise.
6004 (vpmax_f32): Likewise.
6005 (vpmax_u8): Likewise.
6006 (vpmax_u16): Likewise.
6007 (vpmax_u32): Likewise.
6008 (vpmin_s8): Likewise.
6009 (vpmin_s16): Likewise.
6010 (vpmin_s32): Likewise.
6011 (vpmin_f32): Likewise.
6012 (vpmin_u8): Likewise.
6013 (vpmin_u16): Likewise.
6014 (vpmin_u32): Likewise.
6015 (vrecps_f32): Likewise.
6016 (vrecpsq_f32): Likewise.
6017 (vrsqrts_f32): Likewise.
6018 (vrsqrtsq_f32): Likewise.
6019 (vshl_s8): Likewise.
6020 (vshl_s16): Likewise.
6021 (vshl_s32): Likewise.
6022 (vshl_s64): Likewise.
6023 (vshl_u8): Likewise.
6024 (vshl_u16): Likewise.
6025 (vshl_u32): Likewise.
6026 (vshl_u64): Likewise.
6027 (vshlq_s8): Likewise.
6028 (vshlq_s16): Likewise.
6029 (vshlq_s32): Likewise.
6030 (vshlq_s64): Likewise.
6031 (vshlq_u8): Likewise.
6032 (vshlq_u16): Likewise.
6033 (vshlq_u32): Likewise.
6034 (vshlq_u64): Likewise.
6035 (vrshl_s8): Likewise.
6036 (vrshl_s16): Likewise.
6037 (vrshl_s32): Likewise.
6038 (vrshl_s64): Likewise.
6039 (vrshl_u8): Likewise.
6040 (vrshl_u16): Likewise.
6041 (vrshl_u32): Likewise.
6042 (vrshl_u64): Likewise.
6043 (vrshlq_s8): Likewise.
6044 (vrshlq_s16): Likewise.
6045 (vrshlq_s32): Likewise.
6046 (vrshlq_s64): Likewise.
6047 (vrshlq_u8): Likewise.
6048 (vrshlq_u16): Likewise.
6049 (vrshlq_u32): Likewise.
6050 (vrshlq_u64): Likewise.
6051 (vqshl_s8): Likewise.
6052 (vqshl_s16): Likewise.
6053 (vqshl_s32): Likewise.
6054 (vqshl_s64): Likewise.
6055 (vqshl_u8): Likewise.
6056 (vqshl_u16): Likewise.
6057 (vqshl_u32): Likewise.
6058 (vqshl_u64): Likewise.
6059 (vqshlq_s8): Likewise.
6060 (vqshlq_s16): Likewise.
6061 (vqshlq_s32): Likewise.
6062 (vqshlq_s64): Likewise.
6063 (vqshlq_u8): Likewise.
6064 (vqshlq_u16): Likewise.
6065 (vqshlq_u32): Likewise.
6066 (vqshlq_u64): Likewise.
6067 (vqrshl_s8): Likewise.
6068 (vqrshl_s16): Likewise.
6069 (vqrshl_s32): Likewise.
6070 (vqrshl_s64): Likewise.
6071 (vqrshl_u8): Likewise.
6072 (vqrshl_u16): Likewise.
6073 (vqrshl_u32): Likewise.
6074 (vqrshl_u64): Likewise.
6075 (vqrshlq_s8): Likewise.
6076 (vqrshlq_s16): Likewise.
6077 (vqrshlq_s32): Likewise.
6078 (vqrshlq_s64): Likewise.
6079 (vqrshlq_u8): Likewise.
6080 (vqrshlq_u16): Likewise.
6081 (vqrshlq_u32): Likewise.
6082 (vqrshlq_u64): Likewise.
6083 (vshr_n_s8): Likewise.
6084 (vshr_n_s16): Likewise.
6085 (vshr_n_s32): Likewise.
6086 (vshr_n_s64): Likewise.
6087 (vshr_n_u8): Likewise.
6088 (vshr_n_u16): Likewise.
6089 (vshr_n_u32): Likewise.
6090 (vshr_n_u64): Likewise.
6091 (vshrq_n_s8): Likewise.
6092 (vshrq_n_s16): Likewise.
6093 (vshrq_n_s32): Likewise.
6094 (vshrq_n_s64): Likewise.
6095 (vshrq_n_u8): Likewise.
6096 (vshrq_n_u16): Likewise.
6097 (vshrq_n_u32): Likewise.
6098 (vshrq_n_u64): Likewise.
6099 (vrshr_n_s8): Likewise.
6100 (vrshr_n_s16): Likewise.
6101 (vrshr_n_s32): Likewise.
6102 (vrshr_n_s64): Likewise.
6103 (vrshr_n_u8): Likewise.
6104 (vrshr_n_u16): Likewise.
6105 (vrshr_n_u32): Likewise.
6106 (vrshr_n_u64): Likewise.
6107 (vrshrq_n_s8): Likewise.
6108 (vrshrq_n_s16): Likewise.
6109 (vrshrq_n_s32): Likewise.
6110 (vrshrq_n_s64): Likewise.
6111 (vrshrq_n_u8): Likewise.
6112 (vrshrq_n_u16): Likewise.
6113 (vrshrq_n_u32): Likewise.
6114 (vrshrq_n_u64): Likewise.
6115 (vshrn_n_s16): Likewise.
6116 (vshrn_n_s32): Likewise.
6117 (vshrn_n_s64): Likewise.
6118 (vshrn_n_u16): Likewise.
6119 (vshrn_n_u32): Likewise.
6120 (vshrn_n_u64): Likewise.
6121 (vrshrn_n_s16): Likewise.
6122 (vrshrn_n_s32): Likewise.
6123 (vrshrn_n_s64): Likewise.
6124 (vrshrn_n_u16): Likewise.
6125 (vrshrn_n_u32): Likewise.
6126 (vrshrn_n_u64): Likewise.
6127 (vqshrn_n_s16): Likewise.
6128 (vqshrn_n_s32): Likewise.
6129 (vqshrn_n_s64): Likewise.
6130 (vqshrn_n_u16): Likewise.
6131 (vqshrn_n_u32): Likewise.
6132 (vqshrn_n_u64): Likewise.
6133 (vqrshrn_n_s16): Likewise.
6134 (vqrshrn_n_s32): Likewise.
6135 (vqrshrn_n_s64): Likewise.
6136 (vqrshrn_n_u16): Likewise.
6137 (vqrshrn_n_u32): Likewise.
6138 (vqrshrn_n_u64): Likewise.
6139 (vqshrun_n_s16): Likewise.
6140 (vqshrun_n_s32): Likewise.
6141 (vqshrun_n_s64): Likewise.
6142 (vqrshrun_n_s16): Likewise.
6143 (vqrshrun_n_s32): Likewise.
6144 (vqrshrun_n_s64): Likewise.
6145 (vshl_n_s8): Likewise.
6146 (vshl_n_s16): Likewise.
6147 (vshl_n_s32): Likewise.
6148 (vshl_n_s64): Likewise.
6149 (vshl_n_u8): Likewise.
6150 (vshl_n_u16): Likewise.
6151 (vshl_n_u32): Likewise.
6152 (vshl_n_u64): Likewise.
6153 (vshlq_n_s8): Likewise.
6154 (vshlq_n_s16): Likewise.
6155 (vshlq_n_s32): Likewise.
6156 (vshlq_n_s64): Likewise.
6157 (vshlq_n_u8): Likewise.
6158 (vshlq_n_u16): Likewise.
6159 (vshlq_n_u32): Likewise.
6160 (vshlq_n_u64): Likewise.
6161 (vqshl_n_s8): Likewise.
6162 (vqshl_n_s16): Likewise.
6163 (vqshl_n_s32): Likewise.
6164 (vqshl_n_s64): Likewise.
6165 (vqshl_n_u8): Likewise.
6166 (vqshl_n_u16): Likewise.
6167 (vqshl_n_u32): Likewise.
6168 (vqshl_n_u64): Likewise.
6169 (vqshlq_n_s8): Likewise.
6170 (vqshlq_n_s16): Likewise.
6171 (vqshlq_n_s32): Likewise.
6172 (vqshlq_n_s64): Likewise.
6173 (vqshlq_n_u8): Likewise.
6174 (vqshlq_n_u16): Likewise.
6175 (vqshlq_n_u32): Likewise.
6176 (vqshlq_n_u64): Likewise.
6177 (vqshlu_n_s8): Likewise.
6178 (vqshlu_n_s16): Likewise.
6179 (vqshlu_n_s32): Likewise.
6180 (vqshlu_n_s64): Likewise.
6181 (vqshluq_n_s8): Likewise.
6182 (vqshluq_n_s16): Likewise.
6183 (vqshluq_n_s32): Likewise.
6184 (vqshluq_n_s64): Likewise.
6185 (vshll_n_s8): Likewise.
6186 (vshll_n_s16): Likewise.
6187 (vshll_n_s32): Likewise.
6188 (vshll_n_u8): Likewise.
6189 (vshll_n_u16): Likewise.
6190 (vshll_n_u32): Likewise.
6191 (vsra_n_s8): Likewise.
6192 (vsra_n_s16): Likewise.
6193 (vsra_n_s32): Likewise.
6194 (vsra_n_s64): Likewise.
6195 (vsra_n_u8): Likewise.
6196 (vsra_n_u16): Likewise.
6197 (vsra_n_u32): Likewise.
6198 (vsra_n_u64): Likewise.
6199 (vsraq_n_s8): Likewise.
6200 (vsraq_n_s16): Likewise.
6201 (vsraq_n_s32): Likewise.
6202 (vsraq_n_s64): Likewise.
6203 (vsraq_n_u8): Likewise.
6204 (vsraq_n_u16): Likewise.
6205 (vsraq_n_u32): Likewise.
6206 (vsraq_n_u64): Likewise.
6207 (vrsra_n_s8): Likewise.
6208 (vrsra_n_s16): Likewise.
6209 (vrsra_n_s32): Likewise.
6210 (vrsra_n_s64): Likewise.
6211 (vrsra_n_u8): Likewise.
6212 (vrsra_n_u16): Likewise.
6213 (vrsra_n_u32): Likewise.
6214 (vrsra_n_u64): Likewise.
6215 (vrsraq_n_s8): Likewise.
6216 (vrsraq_n_s16): Likewise.
6217 (vrsraq_n_s32): Likewise.
6218 (vrsraq_n_s64): Likewise.
6219 (vrsraq_n_u8): Likewise.
6220 (vrsraq_n_u16): Likewise.
6221 (vrsraq_n_u32): Likewise.
6222 (vrsraq_n_u64): Likewise.
6223 (vabs_s8): Likewise.
6224 (vabs_s16): Likewise.
6225 (vabs_s32): Likewise.
6226 (vabs_f32): Likewise.
6227 (vabsq_s8): Likewise.
6228 (vabsq_s16): Likewise.
6229 (vabsq_s32): Likewise.
6230 (vabsq_f32): Likewise.
6231 (vqabs_s8): Likewise.
6232 (vqabs_s16): Likewise.
6233 (vqabs_s32): Likewise.
6234 (vqabsq_s8): Likewise.
6235 (vqabsq_s16): Likewise.
6236 (vqabsq_s32): Likewise.
6237 (vneg_s8): Likewise.
6238 (vneg_s16): Likewise.
6239 (vneg_s32): Likewise.
6240 (vneg_f32): Likewise.
6241 (vnegq_s8): Likewise.
6242 (vnegq_s16): Likewise.
6243 (vnegq_s32): Likewise.
6244 (vnegq_f32): Likewise.
6245 (vqneg_s8): Likewise.
6246 (vqneg_s16): Likewise.
6247 (vqneg_s32): Likewise.
6248 (vqnegq_s8): Likewise.
6249 (vqnegq_s16): Likewise.
6250 (vqnegq_s32): Likewise.
6251 (vmvn_s8): Likewise.
6252 (vmvn_s16): Likewise.
6253 (vmvn_s32): Likewise.
6254 (vmvn_u8): Likewise.
6255 (vmvn_u16): Likewise.
6256 (vmvn_u32): Likewise.
6257 (vmvn_p8): Likewise.
6258 (vmvnq_s8): Likewise.
6259 (vmvnq_s16): Likewise.
6260 (vmvnq_s32): Likewise.
6261 (vmvnq_u8): Likewise.
6262 (vmvnq_u16): Likewise.
6263 (vmvnq_u32): Likewise.
6264 (vmvnq_p8): Likewise.
6265 (vcls_s8): Likewise.
6266 (vcls_s16): Likewise.
6267 (vcls_s32): Likewise.
6268 (vclsq_s8): Likewise.
6269 (vclsq_s16): Likewise.
6270 (vclsq_s32): Likewise.
6271 (vclz_s8): Likewise.
6272 (vclz_s16): Likewise.
6273 (vclz_s32): Likewise.
6274 (vclz_u8): Likewise.
6275 (vclz_u16): Likewise.
6276 (vclz_u32): Likewise.
6277 (vclzq_s8): Likewise.
6278 (vclzq_s16): Likewise.
6279 (vclzq_s32): Likewise.
6280 (vclzq_u8): Likewise.
6281 (vclzq_u16): Likewise.
6282 (vclzq_u32): Likewise.
6283 (vcnt_s8): Likewise.
6284 (vcnt_u8): Likewise.
6285 (vcnt_p8): Likewise.
6286 (vcntq_s8): Likewise.
6287 (vcntq_u8): Likewise.
6288 (vcntq_p8): Likewise.
6289 (vrecpe_f32): Likewise.
6290 (vrecpe_u32): Likewise.
6291 (vrecpeq_f32): Likewise.
6292 (vrecpeq_u32): Likewise.
6293 (vrsqrte_f32): Likewise.
6294 (vrsqrte_u32): Likewise.
6295 (vrsqrteq_f32): Likewise.
6296 (vrsqrteq_u32): Likewise.
6297 (vget_lane_s8): Likewise.
6298 (vget_lane_s16): Likewise.
6299 (vget_lane_s32): Likewise.
6300 (vget_lane_f32): Likewise.
6301 (vget_lane_u8): Likewise.
6302 (vget_lane_u16): Likewise.
6303 (vget_lane_u32): Likewise.
6304 (vget_lane_p8): Likewise.
6305 (vget_lane_p16): Likewise.
6306 (vget_lane_s64): Likewise.
6307 (vget_lane_u64): Likewise.
6308 (vgetq_lane_s8): Likewise.
6309 (vgetq_lane_s16): Likewise.
6310 (vgetq_lane_s32): Likewise.
6311 (vgetq_lane_f32): Likewise.
6312 (vgetq_lane_u8): Likewise.
6313 (vgetq_lane_u16): Likewise.
6314 (vgetq_lane_u32): Likewise.
6315 (vgetq_lane_p8): Likewise.
6316 (vgetq_lane_p16): Likewise.
6317 (vgetq_lane_s64): Likewise.
6318 (vgetq_lane_u64): Likewise.
6319 (vcvt_s32_f32): Likewise.
6320 (vcvt_f32_s32): Likewise.
6321 (vcvt_f32_u32): Likewise.
6322 (vcvt_u32_f32): Likewise.
6323 (vcvtq_s32_f32): Likewise.
6324 (vcvtq_f32_s32): Likewise.
6325 (vcvtq_f32_u32): Likewise.
6326 (vcvtq_u32_f32): Likewise.
6327 (vcvt_n_s32_f32): Likewise.
6328 (vcvt_n_f32_s32): Likewise.
6329 (vcvt_n_f32_u32): Likewise.
6330 (vcvt_n_u32_f32): Likewise.
6331 (vcvtq_n_s32_f32): Likewise.
6332 (vcvtq_n_f32_s32): Likewise.
6333 (vcvtq_n_f32_u32): Likewise.
6334 (vcvtq_n_u32_f32): Likewise.
6335 (vmovn_s16): Likewise.
6336 (vmovn_s32): Likewise.
6337 (vmovn_s64): Likewise.
6338 (vmovn_u16): Likewise.
6339 (vmovn_u32): Likewise.
6340 (vmovn_u64): Likewise.
6341 (vqmovn_s16): Likewise.
6342 (vqmovn_s32): Likewise.
6343 (vqmovn_s64): Likewise.
6344 (vqmovn_u16): Likewise.
6345 (vqmovn_u32): Likewise.
6346 (vqmovn_u64): Likewise.
6347 (vqmovun_s16): Likewise.
6348 (vqmovun_s32): Likewise.
6349 (vqmovun_s64): Likewise.
6350 (vmovl_s8): Likewise.
6351 (vmovl_s16): Likewise.
6352 (vmovl_s32): Likewise.
6353 (vmovl_u8): Likewise.
6354 (vmovl_u16): Likewise.
6355 (vmovl_u32): Likewise.
6356 (vmul_lane_s16): Likewise.
6357 (vmul_lane_s32): Likewise.
6358 (vmul_lane_f32): Likewise.
6359 (vmul_lane_u16): Likewise.
6360 (vmul_lane_u32): Likewise.
6361 (vmulq_lane_s16): Likewise.
6362 (vmulq_lane_s32): Likewise.
6363 (vmulq_lane_f32): Likewise.
6364 (vmulq_lane_u16): Likewise.
6365 (vmulq_lane_u32): Likewise.
6366 (vmla_lane_s16): Likewise.
6367 (vmla_lane_s32): Likewise.
6368 (vmla_lane_f32): Likewise.
6369 (vmla_lane_u16): Likewise.
6370 (vmla_lane_u32): Likewise.
6371 (vmlaq_lane_s16): Likewise.
6372 (vmlaq_lane_s32): Likewise.
6373 (vmlaq_lane_f32): Likewise.
6374 (vmlaq_lane_u16): Likewise.
6375 (vmlaq_lane_u32): Likewise.
6376 (vmlal_lane_s16): Likewise.
6377 (vmlal_lane_s32): Likewise.
6378 (vmlal_lane_u16): Likewise.
6379 (vmlal_lane_u32): Likewise.
6380 (vqdmlal_lane_s16): Likewise.
6381 (vqdmlal_lane_s32): Likewise.
6382 (vmls_lane_s16): Likewise.
6383 (vmls_lane_s32): Likewise.
6384 (vmls_lane_f32): Likewise.
6385 (vmls_lane_u16): Likewise.
6386 (vmls_lane_u32): Likewise.
6387 (vmlsq_lane_s16): Likewise.
6388 (vmlsq_lane_s32): Likewise.
6389 (vmlsq_lane_f32): Likewise.
6390 (vmlsq_lane_u16): Likewise.
6391 (vmlsq_lane_u32): Likewise.
6392 (vmlsl_lane_s16): Likewise.
6393 (vmlsl_lane_s32): Likewise.
6394 (vmlsl_lane_u16): Likewise.
6395 (vmlsl_lane_u32): Likewise.
6396 (vqdmlsl_lane_s16): Likewise.
6397 (vqdmlsl_lane_s32): Likewise.
6398 (vmull_lane_s16): Likewise.
6399 (vmull_lane_s32): Likewise.
6400 (vmull_lane_u16): Likewise.
6401 (vmull_lane_u32): Likewise.
6402 (vqdmull_lane_s16): Likewise.
6403 (vqdmull_lane_s32): Likewise.
6404 (vqdmulhq_lane_s16): Likewise.
6405 (vqdmulhq_lane_s32): Likewise.
6406 (vqdmulh_lane_s16): Likewise.
6407 (vqdmulh_lane_s32): Likewise.
6408 (vqrdmulhq_lane_s16): Likewise.
6409 (vqrdmulhq_lane_s32): Likewise.
6410 (vqrdmulh_lane_s16): Likewise.
6411 (vqrdmulh_lane_s32): Likewise.
6412 (vmul_n_s16): Likewise.
6413 (vmul_n_s32): Likewise.
6414 (vmul_n_f32): Likewise.
6415 (vmul_n_u16): Likewise.
6416 (vmul_n_u32): Likewise.
6417 (vmulq_n_s16): Likewise.
6418 (vmulq_n_s32): Likewise.
6419 (vmulq_n_f32): Likewise.
6420 (vmulq_n_u16): Likewise.
6421 (vmulq_n_u32): Likewise.
6422 (vmull_n_s16): Likewise.
6423 (vmull_n_s32): Likewise.
6424 (vmull_n_u16): Likewise.
6425 (vmull_n_u32): Likewise.
6426 (vqdmull_n_s16): Likewise.
6427 (vqdmull_n_s32): Likewise.
6428 (vqdmulhq_n_s16): Likewise.
6429 (vqdmulhq_n_s32): Likewise.
6430 (vqdmulh_n_s16): Likewise.
6431 (vqdmulh_n_s32): Likewise.
6432 (vqrdmulhq_n_s16): Likewise.
6433 (vqrdmulhq_n_s32): Likewise.
6434 (vqrdmulh_n_s16): Likewise.
6435 (vqrdmulh_n_s32): Likewise.
6436 (vmla_n_s16): Likewise.
6437 (vmla_n_s32): Likewise.
6438 (vmla_n_f32): Likewise.
6439 (vmla_n_u16): Likewise.
6440 (vmla_n_u32): Likewise.
6441 (vmlaq_n_s16): Likewise.
6442 (vmlaq_n_s32): Likewise.
6443 (vmlaq_n_f32): Likewise.
6444 (vmlaq_n_u16): Likewise.
6445 (vmlaq_n_u32): Likewise.
6446 (vmlal_n_s16): Likewise.
6447 (vmlal_n_s32): Likewise.
6448 (vmlal_n_u16): Likewise.
6449 (vmlal_n_u32): Likewise.
6450 (vqdmlal_n_s16): Likewise.
6451 (vqdmlal_n_s32): Likewise.
6452 (vmls_n_s16): Likewise.
6453 (vmls_n_s32): Likewise.
6454 (vmls_n_f32): Likewise.
6455 (vmls_n_u16): Likewise.
6456 (vmls_n_u32): Likewise.
6457 (vmlsq_n_s16): Likewise.
6458 (vmlsq_n_s32): Likewise.
6459 (vmlsq_n_f32): Likewise.
6460 (vmlsq_n_u16): Likewise.
6461 (vmlsq_n_u32): Likewise.
6462 (vmlsl_n_s16): Likewise.
6463 (vmlsl_n_s32): Likewise.
6464 (vmlsl_n_u16): Likewise.
6465 (vmlsl_n_u32): Likewise.
6466 (vqdmlsl_n_s16): Likewise.
6467 (vqdmlsl_n_s32): Likewise.
6469 2014-11-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
6471 * config/arm/arm.c (arm_new_rtx_costs, case PLUS, MINUS):
6472 Add cost of alu.arith in simple SImode case.
6474 2014-11-18 Jiong Wang <jiong.wang@arm.com>
6476 * lra-eliminations.c (update_reg_eliminate): Relax gcc_assert for fixed
6479 2014-11-18 Marat Zakirov <m.zakirov@samsung.com>
6481 * opts.c (finish_options): Disable aggressive opts for sanitizer.
6482 (common_handle_option): Move code to finish_options.
6484 2014-11-18 Yury Gribov <y.gribov@samsung.com>
6487 * stor-layout.c (min_align_of_type): Respect user alignment
6490 2014-11-18 Ilya Enkovich <ilya.enkovich@intel.com>
6492 * passes.c (remove_cgraph_node_from_order): New.
6493 (do_per_function_toporder): Register cgraph removal
6496 2014-11-17 Terry Guo <terry.guo@arm.com>
6498 * config/arm/arm.c (arm_issue_rate): Return 2 for cortex-m7.
6499 * config/arm/arm.md (generic_sched): Exclude cortex-m7.
6500 (generic_vfp): Likewise.
6501 * config/arm/cortex-m7.md: Pipeline description for cortex-m7.
6503 2014-11-17 Vladimir Makarov <vmakarov@redhat.com>
6505 PR rtl-optimization/63906
6506 * lra-remat.c (operand_to_remat): Check SP and
6507 frame_pointer_required.
6509 2014-11-17 Mircea Namolaru <mircea.namolaru@inria.fr>
6511 * doc/invoke.texi (floop-unroll-and-jam): Document
6512 (loop-unroll-jam-size): Likewise.
6513 (loop-unroll-jam-depth): Likewise.
6514 * graphite-optimize-isl.c (getPrevectorMap_full): Modify comment.
6515 (getScheduleForBandList): Replaced unsafe union_map reuse.
6517 2014-11-17 Andrew Pinski <apinski@cavium.com>
6519 * config/aarch64/thunderx.md: Remove copyright which should not
6522 2014-11-17 Michael Meissner <meissner@linux.vnet.ibm.com>
6523 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6525 * config/rs6000/rs6000.c (RELOAD_REG_AND_M16): Add support for
6526 Altivec style vector loads that ignore the bottom 3 bits of the
6528 (rs6000_debug_addr_mask): New function to print the addr_mask
6529 values if debugging.
6530 (rs6000_debug_print_mode): Call rs6000_debug_addr_mask to print
6532 (rs6000_setup_reg_addr_masks): Add support for Altivec style
6533 vector loads that ignore the bottom 3 bits of the address. Allow
6534 pre-increment and pre-decrement on floating point, even if the
6535 -mupper-regs-{sf,df} options were used.
6536 (rs6000_init_hard_regno_mode_ok): Rework DFmode support if
6537 -mupper-regs-df. Add support for -mupper-regs-sf. Rearrange code
6538 placement for direct move support.
6539 (rs6000_option_override_internal): Add checks for -mupper-regs-df
6540 requiring -mvsx, and -mupper-regs-sf requiring -mpower8-vector.
6541 If -mupper-regs, set both -mupper-regs-sf and -mupper-regs-df,
6542 depending on the underlying cpu.
6543 (rs6000_secondary_reload_fail): Add ATTRIBUTE_NORETURN.
6544 (rs6000_secondary_reload_toc_costs): Helper function to identify
6545 costs of a TOC load for secondary reload support.
6546 (rs6000_secondary_reload_memory): Helper function for secondary
6547 reload, to determine if a particular memory operation is directly
6548 handled by the hardware, or if it needs support from secondary
6549 reload to create a valid address.
6550 (rs6000_secondary_reload): Rework code, to be clearer. If the
6551 appropriate -mupper-regs-{sf,df} is used, use FPR registers to
6552 reload scalar values, since the FPR registers have D-form
6553 addressing. Move most of the code handling memory to the function
6554 rs6000_secondary_reload_memory, and use the reg_addr structure to
6555 determine what type of address modes are supported. Print more
6556 debug information if -mdebug=addr.
6557 (rs6000_secondary_reload_inner): Rework entire function to be more
6558 general. Use the reg_addr bits to determine what type of
6559 addressing is supported.
6560 (rs6000_preferred_reload_class): Rework. Move constant handling
6561 into a single place. Prefer using FLOAT_REGS for scalar floating
6563 (rs6000_secondary_reload_class): Use a FPR register to move a
6564 value from an Altivec register to a GPR, and vice versa. Move VSX
6565 handling above traditional floating point.
6567 * config/rs6000/rs6000.md (mov<mode>_hardfloat, FMOVE32 case):
6568 Delete some spaces in the constraints.
6569 (DF->DF move peephole2): Disable if -mupper-regs-{sf,df} to
6570 allow using FPR registers to load/store an Altivec register for
6571 scalar floating point types.
6572 (SF->SF move peephole2): Likewise.
6573 (DFmode splitter): Add a define_split to move floating point
6574 constants to the constant pool before register allocation.
6575 Normally constants are put into the pool immediately, but
6576 -ffast-math delays putting them into the constant pool for the
6577 reciprocal approximation support.
6578 (SFmode splitter): Likewise.
6580 * config/rs6000/rs6000.opt (-mupper-regs-df): Make option public.
6581 (-mupper-regs-sf): Likewise.
6583 * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define
6584 __UPPER_REGS_DF__ if -mupper-regs-df. Define __UPPER_REGS_SF__ if
6586 (-mupper-regs): New combination option that sets -mupper-regs-sf
6587 and -mupper-regs-df by default if the cpu supports the instructions.
6589 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
6590 -mupper-regs, -mupper-regs-sf, and -mupper-regs-df.
6592 * config/rs6000/predicates.md (memory_fp_constant): New predicate
6593 to return true if the operand is a floating point constant that
6594 must be put into the constant pool, before register allocation
6597 * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Enable
6598 -mupper-regs-df by default.
6599 (ISA_2_7_MASKS_SERVER): Enable -mupper-regs-sf by default.
6600 (POWERPC_MASKS): Add -mupper-regs-{sf,df} as options set by the
6601 various -mcpu=... options.
6602 (power7 cpu): Enable -mupper-regs-df by default.
6604 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
6607 2014-11-17 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
6609 * ira-conflicts.c (build_conflict_bit_table): Add the current
6610 object to OBJECTS_LIVE after traversing OBJECTS_LIVE.
6612 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
6614 * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
6615 (ipa_get_indirect_edge_target): Add SPECULATIVE argument.
6616 (devirtualization_time_bonus): Use it.
6617 (ipcp_discover_new_direct_edges): Likewise.
6618 * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Update.
6619 * ipa-prop.h (ipa_get_indirect_edge_target): Update prototype.
6621 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
6623 * tree.c (free_lang_data_in_decl): Set
6624 DECL_FUNCTION_SPECIFIC_OPTIMIZATION to optimization_default_node.
6626 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
6628 * cgraphunit.c (analyze_functions): Use opt_for_fn.
6629 * cgraph.h (cgraph_node::optimize_for_size_p): Likewise.
6631 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
6633 * cgraph.c (symbol_table::create_edge): Use opt_for_fn.
6634 (cgraph_node::cannot_return_p): Likewise.
6635 (cgraph_edge::cannot_lead_to_return_p): Likewise.
6636 (cgraph_edge::maybe_hot_p): Likewise.
6638 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
6640 * predict.c (maybe_hot_frequency_p): Use opt_for_fn.
6641 (optimize_function_for_size_p): Likewise.
6642 (probably_never_executed): Likewise; replace cfun by fun.
6644 2014-11-17 Alan Lawrence <alan.lawrence@arm.com>
6646 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_set<mode>): Add
6647 variant reading from memory and assembling to ld1.
6649 * config/aarch64/arm_neon.h (vld1_lane_f32, vld1_lane_f64, vld1_lane_p8,
6650 vld1_lane_p16, vld1_lane_s8, vld1_lane_s16, vld1_lane_s32,
6651 vld1_lane_s64, vld1_lane_u8, vld1_lane_u16, vld1_lane_u32,
6652 vld1_lane_u64, vld1q_lane_f32, vld1q_lane_f64, vld1q_lane_p8,
6653 vld1q_lane_p16, vld1q_lane_s8, vld1q_lane_s16, vld1q_lane_s32,
6654 vld1q_lane_s64, vld1q_lane_u8, vld1q_lane_u16, vld1q_lane_u32,
6655 vld1q_lane_u64): Replace asm with vset_lane and pointer dereference.
6657 2014-11-17 Jason Merrill <jason@redhat.com>
6659 * tree-inline.c (copy_fn): New.
6660 * tree-inline.h: Declare it.
6662 2014-11-17 Alan Lawrence <alan.lawrence@arm.com>
6664 * config/aarch64/aarch64-builtins.c (TYPES_CREATE): Remove.
6665 * config/aarch64/aarch64-simd-builtins.def (create): Remove.
6666 * config/aarch64/aarch64-simd.md (aarch64_create<mode>): Remove.
6667 * config/aarch64/arm_neon.h (vcreate_f64, vreinterpret_f64_s64,
6668 vreinterpret_f64_u64): Replace __builtin_aarch64_createv1df with C casts.
6669 * config/aarch64/iterators.md (VD1): Remove.
6671 2014-11-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
6673 * config/aarch64/aarch64-cores.def (cortex-a53): Remove
6674 AARCH64_FL_CRYPTO from feature flags.
6675 (cortex-a57): Likewise.
6676 (cortex-a57.cortex-a53): Likewise.
6678 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
6680 * tree.c (free_lang_data_in_decl): Annotate all functio nbodies with
6681 DECL_FUNCTION_SPECIFIC_TARGET.
6682 * i386.c (ix86_set_current_function): Handle explicit default options.
6684 2014-11-17 Ilya Enkovich <ilya.enkovich@intel.com>
6686 * builtins.c (expand_builtin_memcpy_with_bounds): Use target hook
6688 (expand_builtin_mempcpy_with_bounds): Likewise.
6689 (expand_builtin_memset_with_bounds): Likewise.
6691 2014-11-17 Ilya Enkovich <ilya.enkovich@intel.com>
6693 * tree-ssa-strlen.c: include ipa-chkp.h, cgraph.h,
6694 ipa-ref.h, plugin-api.h.
6695 (get_string_length): Handle calls with bounds.
6696 (adjust_last_stmt): Likewise.
6697 (handle_builtin_strchr): Likewise.
6698 (handle_builtin_strcpy): Likewise.
6699 (handle_builtin_memcpy): Likewise.
6700 (handle_builtin_strcat): Likewise.
6702 2014-11-17 Ilya Enkovich <ilya.enkovich@intel.com>
6704 * tree-chkp-opt.c (chkp_get_nobnd_fndecl): New.
6705 (chkp_get_nochk_fndecl): New.
6706 (chkp_optimize_string_function_calls): New.
6707 (chkp_opt_execute): Call chkp_optimize_string_function_calls.
6708 * tree-cfg.h (insert_cond_bb): New.
6709 * tree-cfg.c (insert_cond_bb): New.
6711 2014-11-17 Ilya Enkovich <ilya.enkovich@intel.com>
6713 * tree-core.h (built_in_class): Add builtin codes to be used
6714 by Pointer Bounds Checker for instrumented builtin functions.
6715 * tree-streamer-in.c: Include ipa-chkp.h.
6716 (streamer_get_builtin_tree): Created instrumented decl if
6718 * ipa-chkp.h (chkp_maybe_clone_builtin_fndecl): New.
6719 * ipa-chkp.c (chkp_build_instrumented_fndecl): Support builtin
6721 (chkp_maybe_clone_builtin_fndecl): New.
6722 (chkp_maybe_create_clone): Support builtin function decls.
6723 (chkp_versioning): Clone builtin functions.
6724 * tree-chkp.c (chkp_instrument_normal_builtin): New.
6725 (chkp_add_bounds_to_call_stmt): Support builtin functions.
6726 (chkp_replace_function_pointer): Likewise.
6727 * builtins.c (expand_builtin_memcpy_args): New.
6728 (expand_builtin_memcpy): Call expand_builtin_memcpy_args.
6729 (expand_builtin_memcpy_with_bounds): New.
6730 (expand_builtin_mempcpy_with_bounds): New.
6731 (expand_builtin_mempcpy_args): Add orig_exp arg. Support
6732 BUILT_IN_CHKP_MEMCPY_NOBND_NOCHK
6733 (expand_builtin_memset_with_bounds): New.
6734 (expand_builtin_memset_args): Support BUILT_IN_CHKP_MEMSET_NOBND_NOCHK.
6735 (expand_builtin_with_bounds): New.
6736 * builtins.h (expand_builtin_with_bounds): New.
6737 * expr.c (expand_expr_real_1): Support instrumented builtin calls.
6739 2014-11-17 Dodji Seketeli <dodji@redhat.com>
6741 * gimple.h (gimple_set_visited, gimple_visited_p)
6742 (gimple_set_plf, gimple_plf, gimple_set_uid, gimple_uid): Add more
6743 comments to these accessors.
6745 2014-11-17 Georg-Johann Lay <avr@gjlay.de>
6747 * config/avr/avr-log.c (avr_log_set_avr_log) [TARGET_ALL_DEBUG]:
6748 Set avr_log_details to "all".
6750 2014-11-17 Richard Biener <rguenther@suse.de>
6753 * match.pd: Guard X / CST -> X * CST' transform against
6756 2014-11-17 Terry Guo <terry.guo@arm.com>
6758 * config/arm/thumb1.md (*addsi3_cbranch_scratch): Updated to UAL
6761 2014-11-17 Zhenqiang Chen <zhenqiang.chen@arm.com>
6763 * ifcvt.c (HAVE_cbranchcc4): Define.
6764 (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
6765 Use HAVE_cbranchcc4.
6767 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
6769 * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
6770 aarch64_convert_mode, aarch64_gen_ccmp_first,
6771 aarch64_gen_ccmp_next): New functions.
6772 (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Define.
6774 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
6776 * config/aarch64/aarch64-protos.h (aarch64_ccmp_mode_to_code): New.
6777 * aarch64.c (aarch64_nzcv_codes): New data.
6778 (aarch64_ccmp_mode_to_code): New.
6779 (aarch64_print_operand): Output nzcv.
6780 config/aarch64/aarch64.md (cbranchcc4, *ccmp_and, *ccmp_ior, cstorecc4):
6782 (cstore<mode>4): Handle ccmp_cc_register.
6783 * config/aarch64/predicates.md (const0_operand): New.
6785 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
6787 * config/aarch64/aarch64-modes.def: Define ccmp CC mode.
6788 * config/aarch64/aarch64.c (aarch64_get_condition_code_1): New function
6789 extacted from aarch64_get_condition_code.
6790 (aarch64_get_condition_code): Call aarch64_get_condition_code_1.
6791 config/aarch64/predicates.md (ccmp_cc_register): New predicate.
6793 014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
6795 * config/aarch64/constraints.md (Usn, aarch64_ccmp_immediate,
6796 aarch64_ccmp_operand): New constraints.
6798 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
6800 * Makefile.in: Add ccmp.o.
6803 * expr.c: include "ccmp.h"
6804 (expand_cond_expr_using_cmove): Handle VOIDmode.
6805 (expand_expr_real_1): Try to expand ccmp.
6807 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
6809 * cfgexpand.c (expand_gimple_cond): Check ccmp.
6810 * expmed.c (emit_cstore): Make it global.
6811 * expmed.h: #include "insn-codes.h"
6812 (emit_cstore): New prototype.
6813 * expr.c (expand_operands): Make it global.
6814 * expr.h (expand_operands): New prototype.
6815 * optabs.c (get_rtx_code): Make it global.
6816 * optabs.h (get_rtx_code): New prototype.
6818 2014-11-17 Zhenqiang Chen <zhenqiang.chen@linaro.org>
6820 * target.def (gen_ccmp_first, gen_ccmp_first): Add two new hooks.
6821 * doc/tm.texi.in (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New.
6822 * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New.
6824 2014-11-16 Patrick Palka <ppalka@gcc.gnu.org>
6827 * tree-ssa-forwprop.c (forward_propagate_into_comparison_1):
6828 Always combine comparisons or conversions from booleans.
6830 2014-11-16 Jan Hubicka <hubicka@ucw.cz>
6832 * ipa-polymorphic-call.c
6833 (ipa_polymorphic_call_context::speculation_consistent_p): Constify.
6834 (ipa_polymorphic_call_context::meet_speculation_with): New function.
6835 (ipa_polymorphic_call_context::combine_with): Handle types in
6836 construction better.
6837 (ipa_polymorphic_call_context::equal_to): Do not bother about useless
6839 (ipa_polymorphic_call_context::meet_with): New function.
6840 * cgraph.h (class ipa_polymorphic_call_context): Add
6841 meet_width, meet_speculation_with; constify speculation_consistent_p.
6842 * ipa-cp.c (ipa_context_from_jfunc): Handle speculation; combine
6843 with incomming context.
6844 (propagate_context_accross_jump_function): Likewise; be more cureful.
6845 about set_contains_variable.
6846 (ipa_get_indirect_edge_target_1): Fix handling of dynamic type changes.
6847 (find_more_scalar_values_for_callers_subset): Fix.
6848 (find_more_contexts_for_caller_subset): Perform meet operation.
6850 2014-11-16 Jan Hubicka <hubicka@ucw.cz>
6852 * passes.c (execute_one_pass): Do not apply all transforms prior
6853 every simple IPA pass.
6854 * cgraphunit.c: Do not include fibheap.h
6855 (expand_thunk): Use get_untransformed_body.
6856 (cgraph_node::expand): Likewise.
6857 * tree-ssa-structalias.c (ipa_pta_execute): Skip inline clones.
6858 * cgraph.c (release_function_body): Do not push cfun when CFG
6860 (cgraph_node::get_untransformed_body): Break out from ...
6861 (cgraph_node::get_body): ... here; add code to apply all transforms.
6862 * cgraph.h (cgraph_node): Add get_untransformed_body.
6863 * ipa-icf.c (sem_function::init): Use get_untransformed_body.
6864 * cgraphclones.c (duplicate_thunk_for_node): Likewise.
6865 * tree-inline.c (expand_call_inline): LIkewise.
6866 * i386.c (ix86_reset_to_default_globals): Break out from ...
6867 (ix86_set_current_function): ... here;
6868 (ix86_reset_previous_fndecl): Use it.
6869 (ix86_simd_clone_adjust): Use ix86_reset_previous_fndecl.
6871 2014-11-16 Eric Botcazou <ebotcazou@adacore.com>
6873 * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Move around.
6874 * doc/tm.texi: Regenerate.
6876 2014-11-16 Uros Bizjak <ubizjak@gmail.com>
6878 * config/sh/sh.c: Do not include algorithm.
6879 (sh_emit_scc_to_t): Replace open-coded swap with std::swap
6881 (sh_emit_compare_and_branch): Ditto.
6882 (sh_emit_compare_and_set): Ditto.
6883 * config/sh/sh.md (replacement peephole2): Ditto.
6884 (cstore4_media): Ditto.
6887 2014-11-15 Vladimir Makarov <vmakarov@redhat.com>
6889 * lra-remat.c (cand_transf_func): Process regno for
6890 rematerialization too.
6891 * lra.c (lra): Switch on rematerialization pass.
6893 2014-11-15 Vladimir Makarov <vmakarov@redhat.com>
6895 * lra.c (lra): Switch off rematerialization pass.
6897 2014-11-15 Marc Glisse <marc.glisse@inria.fr>
6899 * config/i386/xmmintrin.h (_mm_add_ps, _mm_sub_ps, _mm_mul_ps,
6900 _mm_div_ps, _mm_store_ss, _mm_cvtss_f32): Use vector extensions
6901 instead of builtins.
6902 * config/i386/emmintrin.h (__v2du, __v4su, __v8hu, __v16qu): New
6904 (_mm_sqrt_sd): Fix comment.
6905 (_mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
6906 _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
6907 _mm_mullo_epi16, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
6908 _mm_cmplt_epi8, _mm_cmplt_epi16, _mm_cmplt_epi32, _mm_cmpgt_epi8,
6909 _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_and_si128, _mm_or_si128,
6910 _mm_xor_si128, _mm_store_sd, _mm_cvtsd_f64, _mm_storeh_pd,
6911 _mm_cvtsi128_si64, _mm_cvtsi128_si64x, _mm_add_pd, _mm_sub_pd,
6912 _mm_mul_pd, _mm_div_pd, _mm_storel_epi64, _mm_movepi64_pi64):
6913 Use vector extensions instead of builtins.
6914 * config/i386/smmintrin.h (_mm_cmpeq_epi64, _mm_cmpgt_epi64,
6915 _mm_mullo_epi32): Likewise.
6916 * config/i386/avxintrin.h (__v4du, __v8su, __v16hu, __v32qu):
6918 (_mm256_add_pd, _mm256_add_ps, _mm256_div_pd, _mm256_div_ps,
6919 _mm256_mul_pd, _mm256_mul_ps, _mm256_sub_pd, _mm256_sub_ps):
6920 Use vector extensions instead of builtins.
6921 * config/i386/avx2intrin.h (_mm256_cmpeq_epi8, _mm256_cmpeq_epi16,
6922 _mm256_cmpeq_epi32, _mm256_cmpeq_epi64, _mm256_cmpgt_epi8,
6923 _mm256_cmpgt_epi16, _mm256_cmpgt_epi32, _mm256_cmpgt_epi64,
6924 _mm256_and_si256, _mm256_or_si256, _mm256_xor_si256, _mm256_add_epi8,
6925 _mm256_add_epi16, _mm256_add_epi32, _mm256_add_epi64,
6926 _mm256_mullo_epi16, _mm256_mullo_epi32, _mm256_sub_epi8,
6927 _mm256_sub_epi16, _mm256_sub_epi32, _mm256_sub_epi64): Likewise.
6928 * config/i386/avx512fintrin.h (__v8du, __v16su, __v32hu, __v64qu):
6930 (_mm512_or_si512, _mm512_or_epi32, _mm512_or_epi64, _mm512_xor_si512,
6931 _mm512_xor_epi32, _mm512_xor_epi64, _mm512_and_si512,
6932 _mm512_and_epi32, _mm512_and_epi64, _mm512_mullo_epi32,
6933 _mm512_add_epi64, _mm512_sub_epi64, _mm512_add_epi32,
6934 _mm512_sub_epi32, _mm512_add_pd, _mm512_add_ps, _mm512_sub_pd,
6935 _mm512_sub_ps, _mm512_mul_pd, _mm512_mul_ps, _mm512_div_pd,
6936 _mm512_div_ps): Use vector extensions instead of builtins.
6937 * config/i386/avx512bwintrin.h (_mm512_mullo_epi16, _mm512_add_epi8,
6938 _mm512_sub_epi8, _mm512_sub_epi16, _mm512_add_epi16): Likewise.
6939 * config/i386/avx512dqintrin.h (_mm512_mullo_epi64): Likewise.
6940 * config/i386/avx512vldqintrin.h (_mm256_mullo_epi64, _mm_mullo_epi64):
6943 2014-11-15 Jan Hubicka <hubicka@ucw.cz>
6945 * lto-streamer-out.c (hash_tree): Use cl_optimization_hash.
6946 * lto-streamer.h (cl_optimization_stream_out,
6947 cl_optimization_stream_in): Declare.
6948 * optc-save-gen.awk: Generate cl_optimization LTO streaming
6949 and hashing routines.
6950 * opth-gen.awk: Add prototype of cl_optimization_hash.
6951 * tree-streamer-in.c (unpack_ts_optimization): Remove.
6952 (streamer_unpack_tree_bitfields): Use cl_optimization_stream_in.
6953 * tree-streamer-out.c (pack_ts_optimization): Remove.
6954 (streamer_pack_tree_bitfields): Use cl_optimization_stream_out.
6956 2014-11-15 Mircea Namolaru <mircea.namolaru@inria.fr>
6958 * common.opt (flag_loop_unroll_and_jam): New flag.
6959 * params.def (PARAM_LOOP_UNROLL_JAM_SIZE): Parameter for unroll and
6961 (PARAM_LOOP_UNROLL_JAM_DEPTH): Likewise.
6962 * graphite-poly.h (struct poly_bb:map_sepclass): New field
6963 * graphite-poly.c (new_poly_bb): Initialization for new field.
6964 (apply_poly_transforms): Support for unroll and jam flag.
6965 * graphite-isl-ast-to-gimple.c (generate_luj_sepclass): Compute the
6967 (generate_luj_sepclass_opt): Build the separation class option.
6968 (generate_luj_options): Set unroll and jam options.
6969 (set_options): Support for unroll and jam options.
6970 (scop_to_isl_ast): Likewise
6971 * graphite-optimize-isl.c (getPrevectorMap_full): New function for
6972 computing the separating class map.
6973 (optimize_isl): Support for the separating class map.
6974 (apply_schedule_map_to_scop): Likewise.
6975 (getScheduleMap): Likewise.
6976 (getScheduleForBand): Likewise.
6977 (getScheduleForBandList): Likewise.
6978 * graphite.c (gate_graphite_transforms): Add unroll and jam flag.
6979 * toplev.c (process_options) Likewise.
6981 2014-11-15 Eric Botcazou <ebotcazou@adacore.com>
6983 * tree-cfg.c (replace_loop_annotate_in_block): New function extracted
6985 (replace_loop_annotate): ...here. Call it on the header and on the
6986 latch block, if any. Restore proper behavior of final cleanup.
6988 2014-11-15 Eric Botcazou <ebotcazou@adacore.com>
6990 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Add log message
6991 for max-completely-peeled-insns limit.
6993 2014-11-14 Jan Hubicka <hubicka@ucw.cz>
6995 * ipa-prop.h (ipa_known_type_data): Remove.
6996 (ipa_binfo_from_known_type_jfunc): Remove.
6998 2014-11-14 Andrew Pinski <apinski@cavium.com>
7000 * config/aarch64/aarch64-cores.def (thunderx): Change the scheduler
7002 * config/aarch64/aarch64.md: Include thunderx.md.
7003 (generic_sched): Set to no for thunderx.
7004 * config/aarch64/thunderx.md: New file.
7006 2014-11-14 Michael Meissner <meissner@linux.vnet.ibm.com>
7008 * config/rs6000/predicates.md (easy_fp_constant): Delete redunant
7011 * config/rs6000/vector.md (VEC_R): Move secondary reload support
7012 insns to rs6000.md from vector.md.
7013 (reload_<VEC_R:mode>_<P:mptrsize>_store): Likewise.
7014 (reload_<VEC_R:mode>_<P:mptrsize>_load): Likewise.
7015 (vec_reload_and_plus_<mptrsize>): Likewise.
7017 * config/rs6000/rs6000.md (Fa): New mode attribute to give
7018 constraint for the Altivec registers for a type.
7019 (RELOAD): New mode iterator for all of the types that have
7020 secondary reload address support to load up a base register.
7021 (extendsfdf2_fpr): Use correct constraint.
7022 (copysign<mode>3_fcpsgn): For SFmode, use correct xscpsgndp
7024 (floatsi<mode>2_lfiwax): Add support for -mupper-regs-{sf,df}.
7025 Generate the non-VSX instruction if all registers were FPRs. Do
7026 not use the patterns in vsx.md for scalar operations.
7027 (floatsi<mode>2_lfiwax_mem): Likewise.
7028 (floatunssi<mode>2_lfiwzx): Likewise.
7029 (floatunssi<mode>2_lfiwzx_mem): Likewise.
7030 (fix_trunc<mode>di2_fctidz): Likewise.
7031 (fixuns_trunc<mode>di2_fctiduz): Likewise.
7032 (fctiwz_<mode>): Likewise.
7033 (fctiwuz_<mode>): Likewise.
7035 (floatdidf2_fpr): Likewise.
7036 (floatdidf2_mem): Likewise.
7037 (floatunsdidf2): Likewise.
7038 (floatunsdidf2_fcfidu): Likewise.
7039 (floatunsdidf2_mem): Likewise.
7040 (floatdisf2_fcfids): Likewise.
7041 (floatdisf2_mem): Likewise.
7042 (floatdisf2_internal1): Add explicit test for not FCFIDS to make
7043 it more obvious that the code is for pre-ISA 2.06 machines.
7044 (floatdisf2_internal2): Likewise.
7045 (floatunsdisf2_fcfidus): Add support for -mupper-regs-{sf,df}.
7046 Generate the non-VSX instruction if all registers were FPRs. Do
7047 not use the patterns in vsx.md for scalar operations.
7048 (floatunsdisf2_mem): Likewise.
7049 (reload_<RELOAD:mode>_<P:mptrsize>_store): Move the reload
7050 handlers here from vector.md, and expand the types we generate
7051 reload handlers for.
7052 (reload_<RELOAD:mode>_<P:mptrsize>_load): Likewise.
7053 (vec_reload_and_plus_<mptrsize>): Likewise.
7055 * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Only provide the
7056 vector forms of the instructions. Move VSX scalar forms to
7057 rs6000.md, and add support for -mupper-regs-sf.
7058 (vsx_floatuns<VSi><mode>2): Likewise.
7059 (vsx_fix_trunc<mode><VSi>2): Likewise.
7060 (vsx_fixuns_trunc<mode><VSi>2): Likewise.
7061 (vsx_float_fix_<mode>2): Delete DF version, rename to
7062 vsx_float_fix_v2df2.
7063 (vsx_float_fix_v2df2): Likewise.
7065 2014-11-14 Martin Jambor <mjambor@suse.cz>
7067 * ipa-prop.h (jump_func_type): Removed value IPA_JF_KNOWN_TYPE.
7068 (ipa_pass_through_data): Removed field type_preserved.
7069 (ipa_ancestor_jf_data): removed fields type and type_preserved.
7070 (ipa_jump_func): Removed field known_type.
7071 (ipa_get_jf_known_type_offset): Removed.
7072 (ipa_get_jf_known_type_base_type): Likewise.
7073 (ipa_get_jf_known_type_component_type): Likewise.
7074 (ipa_get_jf_ancestor_type): Likewise.
7075 * ipa-cp.c (print_ipcp_constant_value): Removed BINFO handling.
7076 (ipa_get_jf_pass_through_result): Likewise.
7077 (ipa_get_jf_ancestor_result): Always build ptr_node_type accesses.
7078 (values_equal_for_ipcp_p): Removed BINFO handling.
7079 (ipa_get_indirect_edge_target_1): Updated comment.
7080 * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Removed handling
7081 of IPA_JF_KNOWN_TYPE jump functions. Do not print removed fields.
7082 (ipa_set_jf_known_type): Removed.
7083 (ipa_set_jf_simple_pass_through): Do not set removed fields. Update
7085 (ipa_set_jf_arith_pass_through): Likewise.
7086 (ipa_set_ancestor_jf): Likewise.
7087 (ipa_binfo_from_known_type_jfunc): Removed.
7088 (prop_type_change_info): Removed fields known_current_type and
7089 multiple_types_encountered.
7090 (extr_type_from_vtbl_ptr_store): Removed.
7091 (check_stmt_for_type_change): Do not attempt to identify changed type.
7092 (detect_type_change_from_memory_writes): Do not set the removed fields,
7093 always set jfunc to unknown.
7094 (compute_complex_assign_jump_func): Do not detect dynamic type change.
7095 (compute_complex_ancestor_jump_func): Likewise.
7096 (compute_known_type_jump_func): Removed.
7097 (ipa_compute_jump_functions_for_edge): Do not detect dynamic type
7098 change. Do not comute known type jump functions.
7099 (combine_known_type_and_ancestor_jfs): Removed.
7100 (update_jump_functions_after_inlining): Removed handling of
7101 IPA_JF_KNOWN_TYPE jump functions. Do not set removed fields.
7102 (ipa_write_jump_function): Do not stream removed fields or known type
7104 (ipa_read_jump_function): Likewise.
7106 2014-11-14 Vladimir Makarov <vmakarov@redhat.com>
7108 * lra-int.h (lra_create_live_ranges): Add parameter.
7109 * lra-lives.c (temp_bitmap): Move higher.
7110 (initiate_live_solver): Move temp_bitmap initialization into
7111 lra_live_ranges_init.
7112 (finish_live_solver): Move temp_bitmap clearing into
7114 (process_bb_lives): Add parameter. Use it to control live info
7115 update and dead insn elimination. Pass it to mark_regno_live and
7117 (lra_create_live_ranges): Add parameter. Pass it to
7119 (lra_live_ranges_init, lra_live_ranges_finish): See changes in
7120 initiate_live_solver and finish_live_solver.
7121 * lra-remat.c (do_remat): Process insn non-operand hard regs too.
7122 Use temp_bitmap to update avail_cands.
7123 * lra.c (lra): Pass new parameter to lra_create_live_ranges. Move
7124 check with lra_need_for_spill_p after live range pass. Switch on
7125 rematerialization pass.
7127 2014-11-14 Martin Jambor <mjambor@suse.cz>
7129 * ipa-prop.h (ipa_get_jf_pass_through_type_preserved): use
7130 agg_preserved flag instead.
7131 (ipa_get_jf_ancestor_type_preserved): Likewise.
7132 (ipa_node_params): Rename known_vals to known_csts, update all users.
7133 New field known_contexts.
7134 (ipa_get_indirect_edge_target): Update prototype.
7135 (ipcp_poly_ctx_values_pool): Declare.
7136 (ipa_context_from_jfunc): Likewise.
7137 * ipa-inline.h (estimate_ipcp_clone_size_and_time): Updated prototype.
7138 * cgraph.h (ipa_polymorphic_call_context): New method equal_to. New
7139 parameter newline of method dump.
7140 * ipa-cp.c (ctxlat): New field.
7141 (ipcp_values_pool): Renamed to ipcp_cst_values_pool, updated all users.
7142 (ipcp_poly_ctx_values_pool):New variable.
7143 (ipa_get_poly_ctx_lat): New function.
7144 (print_ipcp_constant_value): New overloaded function for contexts.
7145 (print_all_lattices): Also print contexts.
7146 (ipa_topo_info): New field contexts;
7147 (set_all_contains_variable): Also set the flag in the context lattice.
7148 (initialize_node_lattices): Likewise for flag bottom.
7149 (ipa_get_jf_ancestor_result): Removed BINFO handling.
7150 (ipa_value_from_jfunc): Likewise.
7151 (ipa_context_from_jfunc): New function.
7152 (values_equal_for_ipcp_p): New overloaded function for contexts.
7153 (allocate_and_init_ipcp_value): Construct the value.
7154 (allocate_and_init_ipcp_value): New overloaded function for contexts.
7155 (propagate_scalar_accross_jump_function): Removed handling of
7156 KNOWN_TYPE jump functions.
7157 (propagate_context_accross_jump_function): New function.
7158 (propagate_constants_accross_call): Also propagate contexts.
7159 (ipa_get_indirect_edge_target_1): Work on contexts rather than BINFOs.
7160 (ipa_get_indirect_edge_target): Likewise.
7161 (devirtualization_time_bonus): Likewise.
7162 (gather_context_independent_values): Create and populate known_contexts
7163 vector rather than known_binfos.
7164 (perform_estimation_of_a_value): Work on contexts rather than BINFOs.
7165 (estimate_local_effects): Likewise.
7166 (add_all_node_vals_to_toposort): Also add contexts to teir topological
7168 (ipcp_propagate_stage): Also propagate effects of contexts.
7169 (ipcp_discover_new_direct_edges): Receive and pass known_contexts to
7170 ipa_get_indirect_edge_target_1.
7171 (cgraph_edge_brings_value_p): New overloaded function for contexts.
7172 (create_specialized_node): Work on contexts rather than BINFOs.
7173 (find_more_contexts_for_caller_subset): New function.
7174 (known_contexts_useful_p): New function.
7175 (copy_useful_known_contexts): Likewise.
7176 (modify_known_vectors_with_val): Likewise.
7177 (ipcp_val_in_agg_replacements_p): Renamed to
7178 ipcp_val_agg_replacement_ok_p, return true for all offset indicating
7180 (ipcp_val_agg_replacement_ok_p): New overloaded function for contexts.
7181 (decide_about_value): Work on contexts rather than BINFOs.
7182 (decide_whether_version_node): Likewise.
7183 (ipcp_driver): Initialize the new alloc pool.
7184 * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Prettify
7185 printing of edge contexts.
7186 (ipa_set_ancestor_jf): Replace assert with conditional setting of
7187 type_preserved to false.
7188 (update_jump_functions_after_inlining): Use access function instead of
7189 reading agg_preserved directly. Store combined context in the ancestor
7191 (try_make_edge_direct_virtual_call): Work on contexts rather than
7193 (update_indirect_edges_after_inlining): Get context from
7194 ipa_context_from_jfunc.
7195 (ipa_free_node_params_substructures): Free also known_contexts.
7196 (ipa_free_all_structures_after_ipa_cp): Free the new alloc pool.
7197 (ipa_free_all_structures_after_iinln): Likewise.
7198 * ipa-inline-analysis.c (evaluate_properties_for_edge): Work on
7199 contexts rather than BINFOs.
7200 (estimate_edge_devirt_benefit): Likewise.
7201 (estimate_edge_size_and_time): Likewise.
7202 (estimate_calls_size_and_time): Likewise.
7203 (estimate_node_size_and_time): Likewise.
7204 (estimate_ipcp_clone_size_and_time): Likewise.
7205 (do_estimate_edge_time): Likewise.
7206 (do_estimate_edge_size): Likewise.
7207 (do_estimate_edge_hints): Likewise.
7208 * ipa-polymorphic-call.c (ipa_polymorphic_call_context::dump): New
7209 parameter newline, ouput newline only when it is set.
7210 (ipa_polymorphic_call_context::equal_to): New method.
7212 2014-11-14 Martin Jambor <mjambor@suse.cz>
7214 * ipa-cp.c (ipcp_value_source): Converted to a template class. All
7215 users converted to the same specialization as the using class/function
7216 or specialization on tree.
7217 (ipcp_value): Likewise.
7218 (ipcp_lattice): Likewise.
7219 (ipcp_agg_lattice): Now derived from tree specialization of
7221 (values_topo): Moved to new class value_topo_info.
7222 (ipa_lat_is_single_const): Turned into ipcp_lattice::is_single_const.
7223 Updated all callers.
7224 (print_lattice): Turned into ipcp_lattice::print. Updated all
7226 (value_topo_info): New class template.
7227 (ipa_topo_info): New field constants. New constructor.
7228 (build_toporder_info): Do not clear stack_top, only checkign assert
7230 (set_lattice_to_bottom): Turned into ipcp_lattice::set_to_bottom.
7231 Updated all callers.
7232 (set_lattice_contains_variable): Turned into
7233 ipcp_lattice::set_contains_variable. Updated all callers.
7234 (add_value_source): Turned into ipcp_value::add_source. Updated all
7236 (allocate_and_init_ipcp_value): New function.
7237 (add_value_to_lattice): Turned into ipcp_lattice::add_value. Last
7238 parameter got default a value. Updated all callers.
7239 (add_scalar_value_to_lattice): Removed, users converted to using
7240 ipcp_lattice::add_value with default value of the last parameter.
7241 (add_val_to_toposort): Turned to value_topo_info::add_val. Updated
7243 (propagate_effects): Made method of value_topo_info.
7244 (cgraph_edge_brings_value_p): Now a template function.
7245 (get_info_about_necessary_edges): Likewise.
7246 (gather_edges_for_value): Likewise.
7247 (perhaps_add_new_callers): Likewise.
7248 (decide_about_value): Likewise.
7249 * ipa-prop.h (ipcp_lattice): Remove fowrward declaration.
7251 2014-11-14 Jakub Jelinek <jakub@redhat.com>
7253 * doc/install.texi (--with-diagnostics-color=): Document.
7255 * tree-ssa.dce.c (eliminate_unnecessary_stmts): Eliminate
7256 IFN_GOMP_SIMD_LANE without lhs as useless.
7258 * ipa-pure-const.c (struct funct_state_d): Add can_free field.
7259 (varying_state): Add true for can_free.
7260 (check_call): For builtin or internal !nonfreeing_call_p set
7262 (check_stmt): For asm volatile and asm with "memory" set
7264 (analyze_function): Clear local->can_free initially, continue
7265 calling check_stmt until all flags are computed, dump can_free
7267 (pure_const_write_summary): Write can_free flag.
7268 (pure_const_read_summary): Read it back.
7269 (propagate_pure_const): Propagate also can_free flag, set
7270 w->nonfreeing_fn if it is false after propagation.
7271 * cgraph.h (cgraph_node): Add nonfreeing_fn member.
7272 * gimple.c: Include ipa-ref.h, lto-streamer.h and cgraph.h.
7273 (nonfreeing_call_p): Return cgraph nonfreeing_fn flag if set.
7274 Also return true for IFN_ABNORMAL_DISPATCHER.
7275 * cgraph.c (cgraph_node::dump): Dump nonfreeing_fn flag.
7276 * lto-cgraph.c (lto_output_node): Write nonfreeing_fn flag.
7277 (input_overwrite_node): Read it back.
7279 2014-11-14 Jakub Jelinek <jakub@redhat.com>
7280 Marek Polacek <polacek@redhat.com>
7282 * sanopt.c: Include tree-ssa-operands.h.
7283 (struct sanopt_info): Add has_freeing_call_p,
7284 has_freeing_call_computed_p, imm_dom_path_with_freeing_call_p,
7285 imm_dom_path_with_freeing_call_computed_p, freeing_call_events,
7286 being_visited_p fields.
7287 (struct sanopt_ctx): Add asan_check_map field.
7288 (imm_dom_path_with_freeing_call, maybe_optimize_ubsan_null_ifn,
7289 maybe_optimize_asan_check_ifn): New functions.
7290 (sanopt_optimize_walker): Use them, optimize even ASAN_CHECK
7292 (pass_sanopt::execute): Call sanopt_optimize even for
7294 * gimple.c (nonfreeing_call_p): Return true for non-ECF_LEAF
7297 2014-11-14 Alan Lawrence <alan.lawrence@arm.com>
7299 * tree-vect-loop.c (vect_create_epilog_for_reduction): Move code for
7300 'if (extract_scalar_result)' to the only place that it is true.
7302 2014-11-14 H.J. Lu <hongjiu.lu@intel.com>
7304 * config.gcc (default_gnu_indirect_function): Set to yes
7305 for i[34567]86-*-linux* and x86_64-*-linux* if not targeting
7308 2014-11-14 Felix Yang <felix.yang@huawei.com>
7309 Jiji Jiang <jiangjiji@huawei.com>
7311 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): Use
7312 VALL mode iterator instead of VALLDI.
7314 2014-11-14 Jan Hubicka <hubicka@ucw.cz>
7316 * optc-save-gen.awk: Output cl_target_option_eq,
7317 cl_target_option_hash, cl_target_option_stream_out,
7318 cl_target_option_stream_in functions.
7319 * opth-gen.awk: Output prototypes for
7320 cl_target_option_eq and cl_target_option_hash.
7321 * lto-streamer.h (cl_target_option_stream_out,
7322 cl_target_option_stream_in): Declare.
7323 * tree.c (cl_option_hash_hash): Use cl_target_option_hash.
7324 (cl_option_hash_eq): Use cl_target_option_eq.
7325 * tree-streamer-in.c (unpack_value_fields): Stream in
7327 * lto-streamer-out.c (DFS::DFS_write_tree_body): Follow
7328 DECL_FUNCTION_SPECIFIC_TARGET.
7329 (hash_tree): Hash TREE_TARGET_OPTION; visit
7330 DECL_FUNCTION_SPECIFIC_TARGET.
7331 * tree-streamer-out.c (streamer_pack_tree_bitfields): Skip
7333 (streamer_write_tree_body): Output TS_TARGET_OPTION.
7335 2014-11-14 Richard Biener <rguenther@suse.de>
7337 * gimple-fold.h (gimple_fold_stmt_to_constant_1): Add 2nd
7338 valueization hook defaulted to no_follow_ssa_edges.
7339 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Pass
7340 2nd valueization hook to gimple_simplify.
7341 * tree-ssa-ccp.c (valueize_op_1): New function to be
7342 used for gimple_simplify called via gimple_fold_stmt_to_constant_1.
7344 * tree-vrp.c (vrp_valueize_1): New function to be
7345 used for gimple_simplify called via gimple_fold_stmt_to_constant_1.
7346 (vrp_visit_assignment_or_call): Adjust.
7348 2014-11-14 Marek Polacek <polacek@redhat.com>
7350 * fold-const.c (fold_negate_expr): Don't fold INTEGER_CST if
7351 that overflows when SANITIZE_SI_OVERFLOW is on. Guard -(-A)
7352 folding with TYPE_OVERFLOW_SANITIZED.
7354 2014-11-14 Marek Polacek <polacek@redhat.com>
7357 * asan.c (ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST,
7358 ATTR_COLD_CONST_NORETURN_NOTHROW_LEAF_LIST): Define.
7359 * builtin-attrs.def (ATTR_COLD_CONST_NORETURN_NOTHROW_LEAF_LIST):
7361 * builtins.c (fold_builtin_0): Don't include ubsan.h. Don't
7362 instrument BUILT_IN_UNREACHABLE here.
7363 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_BUILTIN_UNREACHABLE): Make
7365 * sanopt.c (pass_sanopt::execute): Instrument BUILT_IN_UNREACHABLE.
7366 * tree-ssa-ccp.c (optimize_unreachable): Bail out if
7367 SANITIZE_UNREACHABLE.
7368 * ubsan.c (ubsan_instrument_unreachable): Rewrite for GIMPLE.
7369 * ubsan.h (ubsan_instrument_unreachable): Adjust declaration.
7371 2014-11-14 Alan Lawrence <alan.lawrence@arm.com>
7373 * config/rs6000/vector.md (vec_shl_<mode>): Remove.
7374 (vec_shr_<mode>): Reverse shift if BYTES_BIG_ENDIAN.
7376 2014-11-14 Alan Lawrence <alan.lawrence@arm.com>
7378 * optabs.c (shift_amt_for_vec_perm_mask): Remove code conditional on
7380 * tree-vect-loop.c (calc_vec_perm_mask_for_shift,
7381 vect_create_epilog_for_reduction): Likewise.
7382 * doc/md.texi (vec_shr_m): Clarify direction of shifting.
7384 2014-11-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7387 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Split out
7388 numerical immediate handling to...
7389 (aarch64_internal_mov_immediate): ...this. New.
7390 (aarch64_rtx_costs): Use aarch64_internal_mov_immediate.
7391 (aarch64_mov_operand_p): Relax predicate.
7392 * config/aarch64/aarch64.md (mov<mode>:GPI): Do not expand CONST_INTs.
7393 (*movsi_aarch64): Turn into define_insn_and_split and new alternative
7395 (*movdi_aarch64): Likewise.
7397 2014-11-14 Richard Biener <rguenther@suse.de>
7399 * match.pd: Implement more binary patterns exercised by
7401 * fold-const.c (sing_bit_p): Export.
7402 (exact_inverse): Likewise.
7403 (fold_binary_loc): Remove patterns here.
7404 (tree_unary_nonnegative_warnv_p): Use CASE_CONVERT.
7405 * fold-const.h (sing_bit_p): Declare.
7406 (exact_inverse): Likewise.
7408 2014-11-14 Marek Polacek <polacek@redhat.com>
7410 * tree.c (build_common_builtin_nodes): Remove doubled ECF_LEAF.
7412 2014-11-14 Richard Biener <rguenther@suse.de>
7414 * genmatch.c (add_operator): Allow CONSTRUCTOR.
7415 (dt_node::gen_kids): Handle CONSTRUCTOR not as GENERIC.
7416 (parser::parse_op): Allow to iterate over predicates.
7418 2014-11-14 Jakub Jelinek <jakub@redhat.com>
7420 * configure.ac (--with-diagnostics-color): New configure
7421 option, default to --with-diagnostics-color=auto.
7422 * toplev.c (process_options): Use DIAGNOSTICS_COLOR_DEFAULT
7423 to determine -fdiagnostics-color= option default.
7424 * doc/invoke.texi (-fdiagnostics-color=): Document new
7426 * configure: Regenerated.
7427 * config.in: Regenerated.
7429 2014-11-13 Teresa Johnson <tejohnson@google.com>
7431 PR tree-optimization/63841
7432 * tree-ssa-strlen.c (strlen_optimize_stmt): Ignore clobbers.
7434 2014-11-14 Bin Cheng <bin.cheng@arm.com>
7436 * timevar.def (TV_SCHED_FUSION): New time var.
7437 * passes.def (pass_sched_fusion): New pass.
7438 * config/arm/arm.c (TARGET_SCHED_FUSION_PRIORITY): New.
7439 (extract_base_offset_in_addr, fusion_load_store): New.
7440 (arm_sched_fusion_priority): New.
7441 (arm_option_override): Disable scheduling fusion by default
7442 on non-armv7 processors or ldrd/strd isn't preferred.
7443 * sched-int.h (struct _haifa_insn_data): New field.
7444 (INSN_FUSION_PRIORITY, FUSION_MAX_PRIORITY, sched_fusion): New.
7445 * sched-rgn.c (rest_of_handle_sched_fusion): New.
7446 (pass_data_sched_fusion, pass_sched_fusion): New.
7447 (make_pass_sched_fusion): New.
7448 * haifa-sched.c (sched_fusion): New.
7449 (insn_cost): Handle sched_fusion.
7450 (priority): Handle sched_fusion by calling target hook.
7451 (enum rfs_decision): New enum value.
7452 (rfs_str): New element for RFS_FUSION.
7453 (rank_for_schedule): Support sched_fusion.
7454 (schedule_insn, max_issue, prune_ready_list): Handle sched_fusion.
7455 (schedule_block, fix_tick_ready): Handle sched_fusion.
7456 * common.opt (flag_schedule_fusion): New.
7457 * tree-pass.h (make_pass_sched_fusion): New.
7458 * target.def (fusion_priority): New.
7459 * doc/tm.texi.in (TARGET_SCHED_FUSION_PRIORITY): New.
7460 * doc/tm.texi: Regenerated.
7461 * doc/invoke.texi (-fschedule-fusion): New.
7463 2014-11-13 Rong Xu <xur@google.com>
7466 * cfgrtl.c (emit_barrier_after_bb): Append the barrier to the
7467 footer, instead of unconditionally overwritten.
7469 2014-11-14 Martin Jambor <mjambor@suse.cz>
7471 * cgraph.h (clear_outer_type): Make public. Fix comment.
7472 * ipa-devirt.c (possible_polymorphic_call_targets): Use
7473 clear_outer_type when resetting the context.
7475 2014-11-13 Dominique Dhumieres <dominiq@lps.ens.fr>
7478 * gcc.c (handle_foffload_option): Replace strchrnul with strchr.
7479 * lto-wrapper.c (parse_env_var, append_offload_options): Likewise.
7481 2014-11-13 Alan Lawrence <alan.lawrence@arm.com>
7483 * fold-const.c (const_binop): Remove code handling VEC_RSHIFT_EXPR.
7484 * tree-cfg.c (verify_gimple_assign_binary): Likewise.
7485 * tree-inline.c (estimate_operator_cost): Likewise.
7486 * tree-pretty-print.c (dump_generic_node, op_code_prio, op_symbol_code):
7489 * tree-vect-generic.c (expand_vector_operations_1): Remove assertion
7490 against VEC_RSHIFT_EXPR.
7492 * optabs.h (expand_vec_shift_expr): Remove.
7493 * optabs.c (optab_for_tree_code): Remove case VEC_RSHIFT_EXPR.
7494 (expand_vec_shift_expr): Remove.
7495 * tree.def (VEC_RSHIFT_EXPR): Remove
7497 2014-11-13 Alan Lawrence <alan.lawrence@arm.com>
7499 * optabs.c (can_vec_perm_p): Update comment, does not consider vec_shr.
7500 (shift_amt_for_vec_perm_mask): New.
7501 (expand_vec_perm_1): Use vec_shr_optab if second vector is const0_rtx
7502 and mask appropriate.
7504 * tree-vect-loop.c (calc_vec_perm_mask_for_shift): New.
7505 (have_whole_vector_shift): New.
7506 (vect_model_reduction_cost): Call have_whole_vector_shift instead of
7507 looking for vec_shr_optab.
7508 (vect_create_epilog_for_reduction): Likewise; also rename local variable
7509 have_whole_vector_shift to reduce_with_shift; output VEC_PERM_EXPRs
7510 instead of VEC_RSHIFT_EXPRs.
7512 * tree-vect-stmts.c (vect_gen_perm_mask_checked): Extend comment.
7514 2014-11-13 Alan Lawrence <alan.lawrence@arm.com>
7516 * tree-vectorizer.h (vect_gen_perm_mask): Remove.
7517 (vect_gen_perm_mask_checked, vect_gen_perm_mask_any): New.
7519 * tree_vec_data_refs.c (vect_permute_load_chain,
7520 vec_permute_store_chain, vec_shift_permute_load_chain): Replace
7521 vect_gen_perm_mask & assert with vect_gen_perm_mask_checked.
7523 * tree-vect-stmts.c (vectorizable_mask_load_store, vectorizable_load):
7525 (vect_gen_perm_mask_checked): New.
7526 (vect_gen_perm_mask): Remove can_vec_perm_p check, rename to...
7527 (vect_gen_perm_mask_any): ...this.
7528 (perm_mask_for_reverse): Call can_vec_perm_p and
7529 vect_gen_perm_mask_checked.
7531 2014-11-13 Felix Yang <felix.yang@huawei.com>
7533 * ipa-utils.h: Fix typo in comments.
7534 * ipa-profile.c: Likewise.
7535 * tree-ssa-loop-ivcanon.c: Fix typo in comments and debugging dumps.
7537 2014-11-13 Teresa Johnson <tejohnson@google.com>
7539 PR tree-optimization/63841
7540 * tree-ssa-strlen.c (strlen_optimize_stmt): Ignore clobbers.
7542 2014-11-13 Teresa Johnson <tejohnson@google.com>
7544 PR tree-optimization/63841
7545 * tree.c (initializer_zerop): A clobber does not zero initialize.
7547 2014-11-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7549 * optabs.c (prepare_operand): Gracefully fail if the mode of X
7550 does not match the operand mode expected by the insn pattern.
7552 2014-11-13 Richard Biener <rguenther@suse.de>
7554 * match.pd: Add tcc_comparison, inverted_tcc_comparison
7555 and inverted_tcc_comparison_with_nans operator lists.
7556 Use tcc_comparison in the truth_valued_p predicate definition.
7557 Restrict logical_inverted_value with bit_xor to integral types.
7558 Build a boolean true for simplifying x |^ !x because of
7559 vector types. Implement patterns from forward_propagate_comparison
7560 * tree-ssa-forwprop.c (forward_propagate_comparison): Remove.
7561 (get_prop_dest_stmt): Likewise.
7562 (pass_forwprop::execute): Do not call it.
7563 * fold-const.c (fold_unary_loc): Remove the pattern here.
7565 2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
7566 Andrey Turetskiy <andrey.turetskiy@intel.com>
7568 * config.gcc (*-intelmic-* | *-intelmicemul-*): Add i386/t-intelmic to
7570 (i[34567]86-*-* | x86_64-*-*): Build mkoffload$(exeext) with the
7571 accelerator compiler.
7572 * config/i386/intelmic-mkoffload.c: New file.
7573 * config/i386/t-intelmic: Ditto.
7575 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
7576 Andrey Turetskiy <andrey.turetskiy@intel.com>
7577 Ilya Verbin <ilya.verbin@intel.com>
7579 * common.opt (foffload, foffload-abi): New options.
7580 * config/i386/i386.c (ix86_offload_options): New static function.
7581 (TARGET_OFFLOAD_OPTIONS): Define.
7582 * coretypes.h (enum offload_abi): New enum.
7583 * doc/tm.texi: Regenerate.
7584 * doc/tm.texi.in (TARGET_OFFLOAD_OPTIONS): Document.
7585 * gcc.c (offload_targets): New static variable.
7586 (handle_foffload_option): New static function.
7587 (driver_handle_option): Handle OPT_foffload_.
7588 (driver::maybe_putenv_OFFLOAD_TARGETS): Set OFFLOAD_TARGET_NAMES
7589 according to offload_targets.
7590 * hooks.c (hook_charptr_void_null): New hook.
7591 * hooks.h (hook_charptr_void_null): Declare.
7592 * lto-opts.c: Include lto-section-names.h.
7593 (lto_write_options): Append options from target offload_options hook and
7594 store them to offload_lto section. Do not store target-specific,
7595 driver and diagnostic options in offload_lto section.
7596 * lto-wrapper.c (merge_and_complain): Handle OPT_foffload_ and
7598 (append_compiler_options, append_linker_options)
7599 (append_offload_options): New static functions.
7600 (compile_offload_image): Add new arguments with options.
7601 Call append_compiler_options and append_offload_options.
7602 (compile_images_for_offload_targets): Add new arguments with options.
7603 (find_and_merge_options): New static function.
7604 (run_gcc): Outline options handling into the new functions:
7605 find_and_merge_options, append_compiler_options, append_linker_options.
7606 * opts.c (common_handle_option): Don't handle OPT_foffload_.
7607 Forbid OPT_foffload_abi_ for non-offload compiler.
7608 * target.def (offload_options): New target hook.
7610 2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
7611 Bernd Schmidt <bernds@codesourcery.com>
7612 Andrey Turetskiy <andrey.turetskiy@intel.com>
7613 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7615 * gcc.c (spec_host_machine, accel_dir_suffix): New variables.
7616 (process_command): Tweak path construction for the possibility
7617 of being configured as an offload compiler.
7618 (driver::maybe_putenv_OFFLOAD_TARGETS): New function.
7619 (driver::main): Call maybe_putenv_OFFLOAD_TARGETS.
7620 (driver::set_up_specs): Tweak path construction for the possibility of
7621 being configured as an offload compiler.
7622 * lto-wrapper.c (OFFLOAD_TARGET_NAMES_ENV): Define.
7623 (offload_names, offloadbegin, offloadend): New static variables.
7624 (free_array_of_ptrs, parse_env_var, access_check, compile_offload_image)
7625 (compile_images_for_offload_targets, copy_file, find_offloadbeginend):
7626 New static functions.
7627 (run_gcc): Determine whether offload sections are present. If so, run
7628 compile_images_for_offload_targets and return the names of new generated
7629 objects to linker. If there are offload sections, but no LTO sections,
7630 then return the copies of input objects without link-time recompilation.
7632 2014-11-13 Richard Biener <rguenther@suse.de>
7634 * genmatch.c (dt_node::gen_kids): Fix placement of break statement.
7636 2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
7637 Bernd Schmidt <bernds@codesourcery.com>
7638 Andrey Turetskiy <andrey.turetskiy@intel.com>
7639 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7641 * Makefile.in (GTFILES): Add omp-low.h to list of GC files.
7642 * cgraphunit.c: Include omp-low.h.
7643 * doc/tm.texi: Regenerate.
7644 * doc/tm.texi.in (TARGET_RECORD_OFFLOAD_SYMBOL): Document.
7645 * gengtype.c (open_base_files): Add omp-low.h to ifiles.
7646 * lto-cgraph.c (output_offload_tables): New function.
7647 (input_offload_tables): Likewise.
7648 * lto-section-in.c (lto_section_name): Add "offload_table".
7649 * lto-section-names.h (OFFLOAD_VAR_TABLE_SECTION_NAME): Define.
7650 (OFFLOAD_FUNC_TABLE_SECTION_NAME): Likewise.
7651 * lto-streamer-out.c (lto_output): Call output_offload_tables.
7652 * lto-streamer.h (lto_section_type): Add LTO_section_offload_table.
7653 (output_offload_tables, input_offload_tables): Declare.
7654 * omp-low.c: Include common/common-target.h and lto-section-names.h.
7655 (offload_funcs, offload_vars): New global <tree, va_gc> vectors.
7656 (expand_omp_target): Add child_fn into offload_funcs vector.
7657 (add_decls_addresses_to_decl_constructor): New function.
7658 (omp_finish_file): Likewise.
7659 * omp-low.h (omp_finish_file, offload_funcs, offload_vars): Declare.
7660 * target.def (record_offload_symbol): New DEFHOOK.
7661 * toplev.c: Include omp-low.h.
7662 (compile_file): Call omp_finish_file.
7663 * varpool.c: Include omp-low.h.
7664 (varpool_node::get_create): Add decl into offload_vars vector.
7666 2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
7667 Ilya Tocar <ilya.tocar@intel.com>
7668 Andrey Turetskiy <andrey.turetskiy@intel.com>
7669 Bernd Schmidt <bernds@codesourcery.com>
7671 * cgraph.c: Include context.h.
7672 (cgraph_node::create): Set node->offloadable and g->have_offload if
7673 decl have "omp declare target" attribute.
7674 * cgraph.h (symtab_node): Add need_lto_streaming and offloadable flags.
7675 * cgraphunit.c: Include lto-section-names.h.
7676 (ipa_passes): Call ipa_write_summaries if there is something to write to
7677 OFFLOAD_SECTION_NAME_PREFIX sections.
7678 (symbol_table::compile): Set flag_generate_lto if there is something to
7680 Replace flag_lto with flag_generate_lto before lto_streamer_hooks_init.
7681 * context.c (gcc::context::context): Initialize have_offload with false.
7682 * context.h (class context): Add have_offload flag.
7683 * ipa-inline-analysis.c (inline_generate_summary): Do not exit under
7685 (inline_free_summary): Always remove hooks.
7686 * lto-cgraph.c (referenced_from_other_partition_p): Ignore references
7687 from non-offloadable nodes while streaming a node into offload section.
7688 (reachable_from_other_partition_p): Likewise.
7689 (select_what_to_stream): New function.
7690 (compute_ltrans_boundary): Do not call
7691 lto_set_symtab_encoder_in_partition if the node should not be streamed.
7692 * lto-section-names.h (OFFLOAD_SECTION_NAME_PREFIX): Define.
7693 (section_name_prefix): Declare.
7694 * lto-streamer.c (section_name_prefix): New variable.
7695 (lto_get_section_name): Use section_name_prefix instead of
7696 LTO_SECTION_NAME_PREFIX.
7697 * lto-streamer.h (select_what_to_stream): Declare.
7698 * omp-low.c: Include context.h.
7699 (is_targetreg_ctx): New function.
7700 (scan_sharing_clauses): Use offloadable flag, instead of an attribute.
7701 (create_omp_child_function, check_omp_nesting_restrictions): Use new
7702 is_targetreg_ctx function. Replace usage of "omp declare target"
7703 attribute with a cgraph_node flag offloadable.
7704 (expand_omp_target): Set mark_force_output for offloadable functions.
7705 (lower_omp_critical): Set offloadable flag for omp critical symbol.
7706 * passes.c (ipa_write_summaries): New argument offload_lto_mode. Call
7707 select_what_to_stream. Do not call lto_set_symtab_encoder_in_partition
7708 if the node should not be streamed out.
7709 * tree-pass.h (ipa_write_summaries): New bool argument.
7710 * varpool.c: Include context.h.
7711 (varpool_node::get_create): Set node->offloadable and g->have_offload if
7712 decl have "omp declare target" attribute.
7714 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
7715 Thomas Schwinge <thomas@codesourcery.com>
7716 Ilya Verbin <ilya.verbin@intel.com>
7717 Andrey Turetskiy <andrey.turetskiy@intel.com>
7719 * Makefile.in (real_target_noncanonical, accel_dir_suffix)
7720 (enable_as_accelerator): New variables substituted by configure.
7721 (libsubdir, libexecsubdir, unlibsubdir): Tweak for the possibility of
7722 being configured as an offload compiler.
7723 (DRIVER_DEFINES): Pass new defines DEFAULT_REAL_TARGET_MACHINE and
7725 (install-cpp, install-common, install_driver, install-gcc-ar): Do not
7726 install for the offload compiler.
7727 * config.in: Regenerate.
7728 * configure: Regenerate.
7729 * configure.ac (real_target_noncanonical, accel_dir_suffix)
7730 (enable_as_accelerator): Compute new variables.
7731 (ACCEL_COMPILER): Define if the compiler is built as the accel compiler.
7732 (OFFLOAD_TARGETS): List of target names suitable for offloading.
7733 (ENABLE_OFFLOADING): Define if list of offload targets is not empty.
7734 * doc/install.texi (Options specification): Document
7735 --enable-as-accelerator-for and --enable-offload-targets.
7737 2014-11-13 H.J. Lu <hongjiu.lu@intel.com>
7739 PR tree-optimization/63828
7740 * ipa-polymorphic-call.c (possible_placement_new): Check
7741 POINTER_SIZE, instead of BITS_PER_WORD, for pointer size.
7743 2014-11-13 Eric Botcazou <ebotcazou@adacore.com>
7745 * doc/tm.texi.in (SELECT_CC_MODE): Update example.
7746 (REVERSIBLE_CC_MODE): Fix example.
7747 (REVERSE_CONDITION): Fix typo.
7748 * doc/tm.texi: Regenerate.
7750 2014-11-13 Tom de Vries <tom@codesourcery.com>
7752 * omp-low.c (pass_data_expand_omp): Set properties_provided to
7754 (pass_expand_omp::gate): Remove function. Move gate expression to ...
7755 (pass_expand_omp::execute): ... here, as new variable gate. Add early
7756 exit if gate is false.
7757 (pass_data pass_data_expand_omp_ssa): New pass_data.
7758 (class pass_expand_omp_ssa): New pass.
7759 (make_pass_expand_omp_ssa): New function.
7760 * passes.def (pass_parallelize_loops): Use PUSH_INSERT_PASSES_WITHIN
7761 instead of NEXT_PASS.
7762 (pass_expand_omp_ssa): Add after pass_parallelize_loops.
7763 * tree-parloops.c (gen_parallel_loop): Remove call to omp_expand_local.
7764 (pass_parallelize_loops::execute): Don't do cleanups TODO_cleanup_cfg
7765 and TODO_rebuild_alias yet. Add TODO_update_ssa. Set
7766 cfun->omp_expand_needed.
7767 * tree-pass.h: Add define PROP_gimple_eomp.
7768 (make_pass_expand_omp_ssa): Declare.
7770 2014-11-13 Marek Polacek <polacek@redhat.com>
7772 * tree.h (TYPE_OVERFLOW_SANITIZED): Define.
7773 * fold-const.c (fold_binary_loc): Use it.
7774 * match.pd: Likewise.
7776 2014-11-14 Kirill Yukhin <kirill.yukhin@intel.com>
7778 * lra-lives.c (struct bb_data): Rename to ...
7779 (struct bb_data_pseudos): ... this.
7780 (initiate_live_solver): Update struct name.
7782 2014-11-13 Richard Biener <rguenther@suse.de>
7784 * match.pd: Implement conditional expression patterns.
7785 * tree-ssa-forwprop.c (forward_propagate_into_cond): Remove
7787 (combine_cond_exprs): Remove.
7788 (pass_forwprop::execute): Do not call combine_cond_exprs.
7789 * fold-const.c (fold_ternary_loc): Remove patterns here.
7790 (pedantic_omit_one_operand_loc): Remove.
7792 2014-12-13 Richard Biener <rguenther@suse.de>
7795 * match.pd: Implement bswap patterns for transforms checked by
7796 gcc.dg/builtin-bswap-8.c.
7798 2014-11-13 Vladimir Makarov <vmakarov@redhat.com>
7800 * lra.c (lra): Switch off rematerialization pass.
7802 2014-11-12 Vladimir Makarov <vmakarov@redhat.com>
7804 * common.opt (flra-remat): New.
7805 * opts.c (default_options_table): Add entry for flra_remat.
7806 * timevar_def (TV_LRA_REMAT): New.
7807 * doc/invoke.texi (-flra-remat): Add description of the new
7809 * doc/passes.texi (-flra-remat): Remove lra-equivs.c and
7810 lra-saves.c. Add lra-remat.c.
7811 * Makefile.in (OBJS): Add lra-remat.o.
7812 * lra-remat.c: New file.
7813 * lra.c: Add info about the rematerialization pass in the top
7815 (collect_non_operand_hard_regs, add_regs_to_insn_regno_info):
7816 Process unallocatable regs too.
7817 (lra_constraint_new_insn_uid_start): Remove.
7818 (lra): Add code for calling rematerialization sub-pass.
7819 * lra-int.h (lra_constraint_new_insn_uid_start): Remove.
7820 (lra_constrain_insn, lra_remat): New prototypes.
7821 (lra_eliminate_regs_1): Add parameter.
7822 * lra-lives.c (make_hard_regno_born, make_hard_regno_dead):
7823 Process unallocatable hard regs too.
7824 (process_bb_lives): Ditto.
7825 * lra-spills.c (remove_pseudos): Add argument to
7826 lra_eliminate_regs_1 call.
7827 * lra-eliminations.c (lra_eliminate_regs_1): Add parameter. Use it
7828 for sp offset calculation.
7829 (lra_eliminate_regs): Add argument for lra_eliminate_regs_1 call.
7830 (eliminate_regs_in_insn): Add parameter. Use it for sp offset
7832 (process_insn_for_elimination): Add argument for
7833 eliminate_regs_in_insn call.
7834 * lra-constraints.c (get_equiv_with_elimination): Add argument
7835 for lra_eliminate_regs_1 call.
7836 (process_addr_reg): Add parameter. Use it.
7837 (process_address_1): Ditto. Add argument for process_addr_reg
7839 (process_address): Ditto.
7840 (curr_insn_transform): Add parameter. Use it. Add argument for
7841 process_address calls.
7842 (lra_constrain_insn): New function.
7843 (lra_constraints): Add argument for curr_insn_transform call.
7845 2014-11-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
7847 * opts-global.c (postpone_unknown_option_warning): Fix spelling.
7848 (print_ignored_options): Fix quoting.
7849 * opts.c (common_handle_option): Likewise.
7850 (set_debug_level): Likewise.
7851 * toplev.c (process_options): Likewise.
7853 2014-11-12 Jakub Jelinek <jakub@redhat.com>
7856 * ipa-pure-const.c (propagate_nothrow): Walk w->indirect_calls
7857 chain instead of node->indirect_calls. Put !can_throw into
7858 conditions of all the loops.
7860 2014-11-12 H.J. Lu <hongjiu.lu@intel.com>
7862 * config/i386/i386.c (x86_output_mi_thunk): Use gen_rtx_REG to
7863 set pic_offset_table_rtx.
7865 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
7867 * common/config/mips/mips-common.c (mips_handle_option): Ensure
7868 that -mfp32, -mfp64 disable -mfpxx and -mfpxx disables -mfp64.
7869 * config.gcc (--with-fp-32): New option.
7870 (--with-odd-spreg-32): Likewise.
7871 * config.in (HAVE_AS_DOT_MODULE): New config define.
7872 * config/mips/mips-protos.h
7873 (mips_secondary_memory_needed): New prototype.
7874 (mips_hard_regno_caller_save_mode): Likewise.
7875 * config/mips/mips.c (mips_get_reg_raw_mode): New static prototype.
7876 (mips_get_arg_info): Assert that V2SFmode is only handled specially
7877 with TARGET_PAIRED_SINGLE_FLOAT.
7878 (mips_return_mode_in_fpr_p): Likewise.
7879 (mips16_call_stub_mode_suffix): Likewise.
7880 (mips_get_reg_raw_mode): New static function.
7881 (mips_return_fpr_pair): O32 return values span two registers.
7882 (mips16_build_call_stub): Likewise.
7883 (mips_function_value_regno_p): Support both FP return registers.
7884 (mips_output_64bit_xfer): Use mthc1 whenever TARGET_HAS_MXHC1. Add
7885 specific cases for TARGET_FPXX to move via memory.
7886 (mips_dwarf_register_span): For TARGET_FPXX pretend that modes larger
7887 than UNITS_PER_FPREG 'span' one register.
7888 (mips_dwarf_frame_reg_mode): New static function.
7889 (mips_file_start): Switch to using .module instead of .gnu_attribute.
7890 No longer support FP ABI 4 (-mips32r2 -mfp64), replace with FP ABI 6.
7891 Add FP ABI 5 (-mfpxx) and FP ABI 7 (-mfp64 -mno-odd-spreg).
7892 (mips_save_reg, mips_restore_reg): Always represent DFmode frame
7893 slots with two CFI directives even for O32 FP64.
7894 (mips_for_each_saved_gpr_and_fpr): Account for fixed_regs when
7895 saving/restoring callee-saved registers.
7896 (mips_hard_regno_mode_ok_p): Implement O32 FP64A extension.
7897 (mips_secondary_memory_needed): New function.
7898 (mips_option_override): ABI check for TARGET_FLOATXX. Disable
7899 odd-numbered single-precision registers when using TARGET_FLOATXX.
7900 Implement -modd-spreg and defaults.
7901 (mips_conditional_register_usage): Redefine O32 FP64 to match O32 FP32
7902 callee-saved behaviour.
7903 (mips_hard_regno_caller_save_mode): Implement.
7904 (TARGET_GET_RAW_RESULT_MODE): Define target hook.
7905 (TARGET_GET_RAW_ARG_MODE): Define target hook.
7906 (TARGET_DWARF_FRAME_REG_MODE): Define target hook.
7907 * config/mips/mips.h (TARGET_FLOAT32): New macro.
7908 (TARGET_O32_FP64A_ABI): Likewise.
7909 (TARGET_CPU_CPP_BUILTINS): TARGET_FPXX is __mips_fpr==0. Add
7910 _MIPS_SPFPSET builtin define.
7911 (MIPS_FPXX_OPTION_SPEC): New macro.
7912 (OPTION_DEFAULT_SPECS): Pass through --with-fp-32=* to -mfp and
7913 --with-odd-spreg-32=* to -m[no-]odd-spreg.
7914 (ISA_HAS_ODD_SPREG): New macro.
7915 (ISA_HAS_MXHC1): True for anything other than -mfp32.
7916 (ASM_SPEC): Pass through mfpxx, mfp64, -mno-odd-spreg and -modd-spreg.
7917 (MIN_FPRS_PER_FMT): Redefine in terms of TARGET_ODD_SPREG.
7918 (HARD_REGNO_CALLER_SAVE_MODE): Define. Implement O32 FPXX extension
7919 (HARD_REGNO_CALL_PART_CLOBBERED): Likewise.
7920 (SECONDARY_MEMORY_NEEDED): Likewise.
7921 (FUNCTION_ARG_REGNO_P): Update for O32 FPXX and FP64 extensions.
7922 * config/mips/mips.md (define_attr enabled): Implement O32 FPXX and
7923 FP64A ABI extensions.
7924 (move_doubleword_fpr<mode>): Use ISA_HAS_MXHC1 instead of
7926 * config/mips/mips.opt (mfpxx): New target option.
7927 (modd-spreg): Likewise.
7928 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Infer FP ABI from arch.
7929 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise and remove
7931 * config/mips/t-mti-elf: Remove fp64 multilib.
7932 * config/mips/t-mti-linux: Likewise.
7933 * configure.ac: Detect .module support.
7934 * configure: Regenerate.
7935 * doc/invoke.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg option.
7936 * doc/install.texi (--with-fp-32, --with-odd-spreg-32): Document new
7939 2014-11-12 H.J. Lu <hongjiu.lu@intel.com>
7942 * config/i386/i386.c (ix86_init_large_pic_reg): New. Extracted
7944 (ix86_init_pic_reg): Here. Use ix86_init_large_pic_reg.
7945 (x86_output_mi_thunk): Set PIC register to %r11. Call
7946 ix86_init_large_pic_reg to initialize PIC register.
7948 2014-11-12 Kai Tietz <ktietz@redhat.com>
7950 * sdbout.c (sdbout_symbol): Eliminate register only
7951 if decl isn't a global variable.
7953 2014-11-12 Alan Lawrence <alan.lawrence@arm.com>
7955 * config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Display indices.
7957 * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers): Add
7958 qualifier_lane_index.
7959 (aarch64_types_ternop_lane_qualifiers, TYPES_TERNOP_LANE): Rename to...
7960 (aarch64_types_quadop_lane_qualifiers, TYPES_QUADOP_LANE): ...these.
7961 (aarch64_types_ternop_lane_qualifiers, TYPES_TERNOP_LANE): New.
7963 (aarch64_types_getlane_qualifiers): Rename to...
7964 (aarch64_types_binop_imm_qualifiers): ...this.
7965 (TYPES_SHIFTIMM): Follow renaming.
7966 (TYPES_GETLANE): Rename to...
7967 (TYPE_GETREG): ...this.
7969 (aarch64_types_setlane_qualifiers): Rename to...
7970 (aarch64_type_ternop_imm_qualifiers): ...this.
7971 (TYPES_SHIFTINSERT, TYPES_SHIFTACC): Follow renaming.
7972 (TYPES_SETLANE): Follow renaming above, and rename self to...
7973 (TYPE_SETREG): ...this.
7975 (enum builtin_simd_arg): Add SIMD_ARG_LANE_INDEX.
7976 (aarch64_simd_expand_args): Add range check and endianness-flip.
7978 (aarch64_simd_expand_builtin): Add mapping for qualifier_lane_index.
7980 * config/aarch64/aarch64-simd.md
7981 (aarch64_sq<r>dmulh_lane<mode>_internal *2): Rename to...
7982 (aarch64_sq<r>dmulh_lane<mode>): ...this, and remove lane bounds check.
7983 (aarch64_sqdmulh_lane<mode> *2, aarch64_sqrdmulh_lane<mode> *2): Delete.
7985 (aarch64_sq<r>dmulh_laneq<mode>_internal): Rename to...
7986 (aarch64_sq<r>dmulh_lane<mode>): ...this.
7988 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal *2): Rename to...
7989 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>): ...this.
7991 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal *2): Rename to...
7992 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>): ...this.
7994 (aarch64_sqdmull_lane<mode>_internal *2): Rename to...
7995 (aarch64_sqdmull_lane<mode>): ...this.
7997 (aarch64_sqdmull_laneq<mode>_internal *2): Rename to...
7998 (aarch64_sqdmull_laneq<mode>): ...this.
8000 (aarch64_sqdmulh_laneq<mode>, aarch64_sqrdmulh_laneq<mode>,
8001 (aarch64_sqdmlal_lane<mode>, aarch64_sqdmlal_laneq<mode>,
8002 aarch64_sqdmlsl_lane<mode>, aarch64_sqdmlsl_laneq<mode>,
8003 aarch64_sqdmull_lane<mode>, aarch64_sqdmull_laneq<mode>): Delete.
8005 (aarch64_sqdmlal2_lane<mode>, aarch64_sqdmlal2_laneq<mode>,
8006 aarch64_sqdmlsl2_lane<mode>, aarch64_sqdmlsl2_laneq<mode>,
8007 aarch64_sqdmull2_lane<mode>, aarch64_sqdmull2_laneq<mode>): Remove
8008 bounds check and lane flip.
8010 * config/aarch64/aarch64-simd-builtins.def (be_checked_get_lane,
8011 get_dregoi, get_dregci, getdregxi, get_qregoi,get_qregci, get_qregxi,
8012 set_qregoi, set_qregci, set_qregxi): Change qualifiers to GETREG.
8014 (sqdmlal_lane, sqdmlsl_lane, sqdmlal_laneq, sqdmlsl_laneq,
8015 sqdmlal2_lane, sqdmlsl2_lane, sqdmlal2_laneq, sqdmlsl2_laneq): Follow
8016 renaming of TERNOP_LANE to QUADOP_LANE.
8018 (sqdmull_lane, sqdmull_laneq, sqdmull2_lane, sqdmull2_laneq,
8019 sqdmulh_lane, sqdmulh_laneq, sqrdmulh_lane, sqrdmulh_laneq): Set
8020 qualifiers to TERNOP_LANE.
8022 2014-11-12 Tobias Burnus <burnus@net-b.de>
8024 * Makefile.in (CLOOGLIBS, CLOOGINC): Remove.
8025 * configure.ac: Ditto.
8026 * graphite-interchange.c: Remove HAVE_CLOOG block.
8027 * config.in: Regenerate.
8028 * configure: Regenerate.
8030 2014-11-12 Jiong Wang <jiong.wang@arm.com>
8032 * config/aarch64/aarch64.h (CALL_USED_REGISTERS): Mark LR as
8034 (EPILOGUE_USES): Guard the check by epilogue_completed.
8035 * config/aarch64/aarch64.c (aarch64_layout_frame): Explictly check for
8037 (aarch64_can_eliminate): Check LR_REGNUM liveness.
8039 2014-11-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8041 * config/arm/arm.c (*<arith_shift_insn>_shiftsi): Fix typo.
8043 2014-11-12 Marek Polacek <polacek@redhat.com>
8045 * fold-const.c (fold_binary_loc): Don't fold if the result
8047 * match.pd (A + (-B) -> A - B, A - (-B) -> A + B,
8048 -(-A) -> A): Likewise.
8050 2014-11-12 Richard Biener <rguenther@suse.de>
8052 Merge from match-and-simplify branch
8053 2014-11-04 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
8055 * genmatch.c (user_id): Add new member is_oper_list.
8056 (user_id::user_id): Add new default argument.
8057 (parser::parse_operator_list): New function.
8058 (parser::parse_for): Allow operator-list.
8059 (parser::parse_pattern): Call parser::parse_operator_list.
8060 (parser::parse_operation): Reject operator-list.
8061 * match-builtin.pd: Define operator lists POWs, CBRTs and SQRTs.
8063 2014-10-31 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
8065 * genmatch.c (parser::parse_c_expr): Mark user-defined ops as used.
8067 2014-10-30 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
8069 * genmatch.c (parser::parse_op): Check if predicate is used in
8072 2014-10-29 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
8074 * genmatch.c (parser::parse_for): Make sure to have a valid
8075 token to report errors at.
8077 2014-10-28 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
8079 * genmatch.c (parser): Add new member parsing_match_operand.
8080 (parser::parse_operation): Check for conditional convert in result
8082 (parser::parse_expr): Check for commutative operator in result operand.
8083 Check for :type in match operand.
8084 (parser::parse_simplify): Set/unset parsing_match_operand.
8085 (parser::parser): Initialize parsing_match_operand.
8087 2014-10-28 Richard Biener <rguenther@suse.de>
8089 * genmatch.c (parser::parse_for): Properly check for already
8092 2014-10-28 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
8094 * genmatch.c (error_cb): Adjust for printing warnings.
8095 (warning_at): New function.
8096 (user_id): Add new member used.
8097 (get_operator): Mark user_id as used.
8098 (parse_for): Warn for unused operators.
8100 2014-11-12 Richard Biener <rguenther@suse.de>
8102 * match.pd: Implement simple complex operations cancelling.
8103 * fold-const.c (fold_unary_loc): Remove them here.
8105 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8107 * cppbuiltin.c (define_builtin_macros_for_compilation_flags):
8108 Define __NO_MATH_ERRNO__ if -fno-math-errno.
8109 * doc/cpp.texi (__NO_MATH_ERRNO__): Document predefined macro.
8111 2014-11-12 Richard Biener <rguenther@suse.de>
8113 * genmatch.c (::gen_transform): Add capture_info and
8114 expand_compares arguments.
8115 (struct expr): Add is_generic flag.
8116 (lower_cond): New functions lowering [VEC_]COND_EXPR
8117 conditions to a GENERIC and a GIMPLE variant.
8118 (lower): Call lower_cond.
8119 (cmp_operand): Also compare the is_generic flag.
8120 (capture_info::cinfo): Add cond_expr_cond_p flag.
8121 (capture_info::capture_info): Pass down whether the
8122 expression argument is a COND_EXPR condition.
8123 (capture_info::walk_match): Likewise, mark captures
8124 capturing COND_EXPR conditions with cond_expr_cond_p.
8125 (expr::gen_transform): Pass down whether we need to
8126 expand compares from COND_EXPR conditions.
8127 (capture::gen_transform): Expand compares substituted
8128 from COND_EXPR conditions into non-COND_EXPR conditions.
8129 (dt_operand::gen_gimple_expr): Handle explicitely marked
8130 GENERIC expressions as generic.
8131 (dt_simplify::gen): Pass whether we need to expand
8132 conditions to gen_transform. Handle capture results
8133 which are from COND_EXPR conditions.
8134 (main): Pass gimple flag down to lower.
8136 2014-11-12 Jakub Jelinek <jakub@redhat.com>
8139 * builtin-attrs.def (ATTR_NOTHROW_TYPEGENERIC_LEAF): New attribute.
8140 * builtins.c (fold_builtin_arith_overflow): New function.
8141 (fold_builtin_3): Use it.
8142 * builtins.def (BUILT_IN_ADD_OVERFLOW, BUILT_IN_SUB_OVERFLOW,
8143 BUILT_IN_MUL_OVERFLOW, BUILT_IN_SADD_OVERFLOW, BUILT_IN_SADDL_OVERFLOW,
8144 BUILT_IN_SADDLL_OVERFLOW, BUILT_IN_SSUB_OVERFLOW,
8145 BUILT_IN_SSUBL_OVERFLOW, BUILT_IN_SSUBLL_OVERFLOW,
8146 BUILT_IN_SMUL_OVERFLOW, BUILT_IN_SMULL_OVERFLOW,
8147 BUILT_IN_SMULLL_OVERFLOW, BUILT_IN_UADDL_OVERFLOW,
8148 BUILT_IN_UADDLL_OVERFLOW, BUILT_IN_USUB_OVERFLOW,
8149 BUILT_IN_USUBL_OVERFLOW, BUILT_IN_USUBLL_OVERFLOW,
8150 BUILT_IN_UMUL_OVERFLOW, BUILT_IN_UMULL_OVERFLOW,
8151 BUILT_IN_UMULLL_OVERFLOW): New built-in functions.
8152 * builtin-types.def (BT_PTR_UINT, BT_PTR_ULONG, BT_PTR_LONGLONG,
8153 BT_FN_BOOL_INT_INT_INTPTR, BT_FN_BOOL_LONG_LONG_LONGPTR,
8154 BT_FN_BOOL_LONGLONG_LONGLONG_LONGLONGPTR, BT_FN_BOOL_UINT_UINT_UINTPTR,
8155 BT_FN_BOOL_ULONG_ULONG_ULONGPTR,
8156 BT_FN_BOOL_ULONGLONG_ULONGLONG_ULONGLONGPTR, BT_FN_BOOL_VAR): New.
8157 * expr.c (write_complex_part): Remove prototype, no longer static.
8158 * expr.h (write_complex_part): New prototype.
8159 * function.c (aggregate_value_p): For internal functions return 0.
8160 * gimple-fold.c (arith_overflowed_p): New functions.
8161 (gimple_fold_call): Fold {ADD,SUB,MUL}_OVERFLOW internal calls.
8162 * gimple-fold.h (arith_overflowed_p): New prototype.
8163 * tree-ssa-dce.c: Include tree-ssa-propagate.h and gimple-fold.h.
8164 (find_non_realpart_uses, maybe_optimize_arith_overflow): New
8166 (eliminate_unnecessary_stmts): Transform {ADD,SUB,MUL}_OVERFLOW
8167 into COMPLEX_CST/COMPLEX_EXPR if IMAGPART_EXPR of the result is
8169 * gimplify.c (gimplify_call_expr): Handle gimplification of
8170 internal calls with lhs.
8171 * internal-fn.c (get_range_pos_neg, get_min_precision,
8172 expand_arith_overflow_result_store): New functions.
8173 (ubsan_expand_si_overflow_addsub_check): Renamed to ...
8174 (expand_addsub_overflow): ... this. Add LOC, LHS, ARG0, ARG1,
8175 UNSR_P, UNS0_P, UNS1_P, IS_UBSAN arguments, remove STMT argument.
8176 Handle ADD_OVERFLOW and SUB_OVERFLOW expansion.
8177 (ubsan_expand_si_overflow_neg_check): Renamed to ...
8178 (expand_neg_overflow): ... this. Add LOC, LHS, ARG1, IS_UBSAN
8179 arguments, remove STMT argument. Handle SUB_OVERFLOW with
8180 0 as first argument expansion.
8181 (ubsan_expand_si_overflow_mul_check): Renamed to ...
8182 (expand_mul_overflow): ... this. Add LOC, LHS, ARG0, ARG1,
8183 UNSR_P, UNS0_P, UNS1_P, IS_UBSAN arguments, remove STMT argument.
8184 Handle MUL_OVERFLOW expansion.
8185 (expand_UBSAN_CHECK_ADD): Use expand_addsub_overflow, prepare
8187 (expand_UBSAN_CHECK_SUB): Use expand_addsub_overflow or
8188 expand_neg_overflow, prepare arguments for it.
8189 (expand_UBSAN_CHECK_MUL): Use expand_mul_overflow, prepare arguments
8191 (expand_arith_overflow, expand_ADD_OVERFLOW, expand_SUB_OVERFLOW,
8192 expand_MUL_OVERFLOW): New functions.
8193 * internal-fn.def (ADD_OVERFLOW, SUB_OVERFLOW, MUL_OVERFLOW): New
8195 * tree-vrp.c (check_for_binary_op_overflow): New function.
8196 (extract_range_basic): Handle {REAL,IMAG}PART_EXPR if the operand
8197 is SSA_NAME set by {ADD,SUB,MUL}_OVERFLOW internal functions.
8198 (simplify_internal_call_using_ranges): Handle {ADD,SUB,MUL}_OVERFLOW
8200 * optabs.def (umulv4_optab): New optab.
8201 * config/i386/i386.md (umulv<mode>4, <u>mulvqi4): New define_expands.
8202 (*umulv<mode>4, *<u>mulvqi4): New define_insns.
8203 * doc/extend.texi (Integer Overflow Builtins): Document
8204 __builtin_*_overflow.
8206 2014-11-12 Richard Biener <rguenther@suse.de>
8208 * genmatch.c (capture_info::capture_info): Add missing
8210 (capture_info::walk_match): Fix COND_EXPR handling.
8211 (capture_info::walk_result): Likewise.
8213 2014-11-12 Richard Biener <rguenther@suse.de>
8216 * match.pd: Add missing conversion to the -(T)-X pattern.
8218 2014-11-12 Richard Biener <rguenther@suse.de>
8221 * hash-table.h: Include ggc.h also for generator programs.
8222 * genmatch.c (ggc_internal_cleared_alloc): Properly define
8223 using MEM_STAT_DECL instead of CXX_MEM_STAT_INFO.
8225 2014-11-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
8227 PR tree-optimization/63761
8228 * tree-ssa-math-opts.c (bswap_replace): Construct gsi from cur_stmt
8229 rather than taking it as a parameter. Add some comments to explain the
8230 gsi_move_before in case of load and why canonicalization of bswap into
8231 a rotation is only done for 16bit values.
8232 (pass_optimize_bswap::execute): Adapt for loop via gsi to make gsi
8233 refer to the statement just before cur_stmt. Ignore 16bit bswap that
8234 are already in canonical form. Adapt bswap_replace to removal of its
8237 2014-11-12 Richard Sandiford <richard.sandiford@arm.com>
8239 * rtl.h (rtx_function, for_each_rtx, for_each_rtx_in_insn): Delete.
8240 * rtlanal.c (non_rtx_starting_operands, for_each_rtx_1, for_each_rtx):
8241 (for_each_rtx_in_insn): Delete.
8242 (init_rtlanal): Remove initialization of non_rtx_starting_operands.
8243 * df-core.c: Remove reference to for_each_rtx in comment.
8245 2014-11-12 Tejas Belagod <tejas.belagod@arm.com>
8247 * Makefile.in (TEXI_GCC_FILES): Remove arm-acle-intrinsics.texi,
8248 arm-neon-intrinsics.texi, aarch64-acle-intrinsics.texi.
8249 * doc/aarch64-acle-intrinsics.texi: Remove.
8250 * doc/arm-acle-intrinsics.texi: Remove.
8251 * doc/arm-neon-intrinsics.texi: Remove.
8252 * doc/extend.texi: Consolidate sections AArch64 intrinsics,
8253 ARM NEON Intrinsics, ARM ACLE Intrinsics into one ARM C Language
8254 Extension section. Add references to public ACLE specification.
8256 2014-11-11 Patrick Palka <ppalka@gcc.gnu.org>
8258 * tree-vrp.c (register_edge_assert_for_2): Change return type to
8259 void and adjust accordingly.
8260 (register_edge_assert_for_1): Likewise.
8261 (register_edge_assert_for): Likewise.
8262 (find_conditional_asserts): Likewise.
8263 (find_switch_asserts): Likewise.
8264 (find_assert_locations_1): Likewise.
8265 (find_assert_locations): Likewise.
8266 (insert_range_insertions): Inspect the need_assert_for bitmap.
8268 2014-11-11 Andrew Pinski <apinski@cavium.com>
8271 * config.gcc (aarch64*-*-*): Set target_gtfiles to include
8273 * config/aarch64/aarch64-builtins.c: Include gt-aarch64-builtins.h
8274 at the end of the file.
8276 2014-11-11 Anthony Brandon <anthony.brandon@gmail.com>
8277 Manuel López-Ibáñez <manu@gcc.gnu.org>
8280 * diagnostic-core.h: Add prototype for fatal_error.
8281 * diagnostic.c (fatal_error): New function fatal_error.
8282 * gcc.c (store_arg): Remove have_o_argbuf_index.
8283 (process_command): Check if input and output files are the same.
8284 * toplev.c (init_asm_output): Check if input and output files are
8287 2014-11-11 Eric Botcazou <ebotcazou@adacore.com>
8289 * reorg.c (fill_slots_from_thread): Do not copy frame-related insns.
8291 2014-11-11 Eric Botcazou <ebotcazou@adacore.com>
8294 * config/sparc/sparc.c (function_arg_vector_value): Deal with vectors
8295 smaller than 8 bytes.
8296 (sparc_function_arg_1): Tweak.
8297 (sparc_function_value_1): Tweak.
8299 2014-11-11 David Malcolm <dmalcolm@redhat.com>
8301 * ChangeLog.jit: New.
8302 * Makefile.in (doc_build_sys): New variable, set to "sphinx" if
8303 sphinx is installed, falling back to "texinfo" otherwise.
8304 (FULL_DRIVER_NAME): New variable, adapted from the
8305 install-driver target. New target, a symlink within the builddir,
8306 linked to "xgcc", for use when running the JIT library from the
8308 (MOSTLYCLEANFILES): Add FULL_DRIVER_NAME.
8309 (install-driver): Use $(FULL_DRIVER_NAME) rather than spelling it
8311 * configure.ac (doc_build_sys): New variable, set to "sphinx" if
8312 sphinx is installed, falling back to "texinfo" otherwise.
8313 (GCC_DRIVER_NAME): Generate a gcc-driver-name.h file containing
8314 GCC_DRIVER_NAME for the benefit of jit/internal-api.c.
8315 * configure: Regenerate.
8316 * doc/install.texi (--enable-host-shared): Specify that this is
8317 required when building libgccjit.
8318 (Tools/packages necessary for modifying GCC): Add Sphinx.
8319 * timevar.def (TV_JIT_REPLAY): New.
8324 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
8327 * configure: Regenerate.
8329 2014-11-11 James Greenhalgh <james.greenhalgh@arm.com>
8331 * config/aarch64/aarch64-simd.md
8332 (aarch64_simd_bsl<mode>_internal): Remove float cases, canonicalize.
8333 (aarch64_simd_bsl<mode>): Add gen_lowpart expressions where we
8334 are punning between float vectors and integer vectors.
8336 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
8338 * config/alpha/alpha.c (alpha_emit_conditional_branch): Replace
8339 open-coded swap with std::swap to swap values.
8340 (alpha_emit_setcc): Ditto.
8341 (alpha_emit_conditional_move): Ditto.
8342 (alpha_split_tmode_pair): Ditto.
8344 2014-11-11 Evgeny Stupachenko <evstupac@gmail.com>
8346 * tree-vect-data-refs.c (vect_shift_permute_load_chain): Extend shift
8347 permutations on power of 2 cases.
8349 2014-11-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8351 * config/aarch64/aarch64.h (MACHMODE): Remove 'enum' keyword.
8352 (CUMULATIVE_ARGS): Guard on !defined(USED_FOR_TARGET).
8354 2014-11-11 Richard Biener <rguenther@suse.de>
8356 * tree-core.h (pedantic_lvalues): Remove.
8357 * fold-const.c (pedantic_lvalues): Likewise.
8358 (pedantic_non_lvalue_loc): Remove conditional non_lvalue_loc call.
8360 2014-11-11 Martin Liska <mliska@suse.cz>
8364 * ipa-icf.c (sem_function::merge): Add new target symbol alias
8366 (sem_variable::merge): Likewise.
8367 * ipa-icf.h (target_supports_symbol_aliases_p): New function.
8369 2014-11-11 Richard Biener <rguenther@suse.de>
8371 * match.pd: Implement patterns from associate_plusminus
8372 and factor in differences from the fold-const.c implementation.
8373 * fold-const.c (fold_binary_loc): Remove patterns here.
8374 * tree-ssa-forwprop.c (associate_plusminus): Remove.
8375 (pass_forwprop::execute): Don't call it.
8376 * tree.c (tree_nop_conversion_p): New function, factored
8377 from tree_nop_conversion.
8378 * tree.h (tree_nop_conversion_p): Declare.
8380 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
8382 * system.h: Include algorithm and utility.
8383 * rtl.h: Do not include utility here.
8384 * wide-int.h: Ditto.
8385 * tree-vect-data-refs.c (swap): Remove template.
8386 (vect_prune_runtime_alias_test_list): Use std::swap instead of swap.
8388 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
8392 * system.h: Include <string> before "safe-ctype.h"
8393 * wide-int.h (wi::smin, wi::smax, wi::umin, wi::umax): Prefix
8394 calls to min/max with wi namespace.
8395 * ipa-chkp.c: Don't include <string>.
8397 2014-11-11 Terry Guo <terry.guo@arm.com>
8399 * doc/invoke.texi (-masm-syntax-unified): Reword and fix typo.
8400 * config/arm/thumb1.md (*thumb_mulsi3): Use movs to move low
8402 (*thumb1_movhf): Likewise.
8404 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
8406 * sreal.c (sreal::to_int): Use INTTYPE_MAXIMUM (int64_t)
8407 instead of INT64_MAX.
8409 2014-11-11 Tobias Burnus <burnus@net-b.de>
8411 * doc/install.texi (Prerequisites): Remove CLooG.
8413 2014-11-10 Trevor Saunders <tsaunders@mozilla.com>
8415 * ipa-inline.c (edge_badness): Adjust.
8416 (inline_small_functions): Likewise.
8417 * predict.c (propagate_freq): Likewise.
8418 (estimate_bb_frequencies): Likewise.
8419 * sreal.c (sreal::dump): Rename from dump_sreal.
8421 (copy): Remove function.
8422 (sreal::shift_right): Rename from sreal_sift_right.
8423 (sreal::normalize): Rename from normalize.
8424 (sreal_init): Remove function.
8425 (sreal::to_int): Rename from sreal_to_int.
8426 (sreal_compare): Remove function.
8427 (sreal::operator+): Rename from sreal_add.
8428 (sreal::operator-): Rename from sreal_sub.
8429 (sreal::operator*): Rename from sreal_mul.
8430 (sreal::operator/): Rename from sreal_div.
8431 * sreal.h (class sreal): Adjust.
8432 (inline sreal &operator+=): New operator.
8433 (inline sreal &operator-=): Likewise.
8434 (inline sreal &operator/=): Likewise.
8435 (inline sreal &operator*=): Likewise.
8436 (inline bool operator!=): Likewise.
8437 (inline bool operator>): Likewise.
8438 (inline bool operator<=): Likewise.
8439 (inline bool operator>=): Likewise.
8441 2014-11-11 Bin Cheng <bin.cheng@arm.com>
8443 * sched-deps.c (sched_analyze_1): Check pending list if it is not
8444 less than MAX_PENDING_LIST_LENGTH.
8445 (sched_analyze_2, sched_analyze_insn, deps_analyze_insn): Ditto.
8447 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
8449 * config/i386/i386.c (ix86_decompose_address): Replace open-coded
8450 swap with std::swap to swap values.
8451 (ix86_fixup_binary_operands): Ditto.
8452 (ix86_binary_operator_ok): Ditto.
8453 (ix86_prepare_fp_compare_args): Ditto.
8454 (ix86_expand_branch): Ditto.
8455 (ix86_expand_carry_flag_compare): Ditto.
8456 (ix86_expand_int_movcc): Ditto.
8457 (ix86_prepare_sse_fp_compare_args): Ditto.
8458 (ix86_expand_sse_fp_minmax): Ditto.
8459 (ix86_expand_int_vcond): Ditto.
8460 (ix86_split_long_move): Ditto.
8461 (ix86_expand_sse_comi): Ditto.
8462 (ix86_expand_sse_compare_and_jump): Ditto.
8463 (ix86_expand_sse_compare_mask): Ditto.
8464 * config/i386/i386.md (*add<mode>_1): Ditto.
8465 (addsi_1_zext): Ditto.
8468 (*add<mode>_2): Ditto.
8469 (*addsi_2_zext): Ditto.
8470 (*add<mode>_3): Ditto.
8471 (*addsi_3_zext): Ditto.
8472 (*add<mode>_5): Ditto.
8473 (absneg splitter): Ditto.
8475 2014-11-11 Uros Bizjak <ubizjak@gmail.com>
8478 2014-10-31 Uros Bizjak <ubizjak@gmail.com>
8481 * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): Declare.
8482 * config/i386/i386.c (ix86_use_pseudo_pic_reg): Export.
8483 * config/i386/i386.md (*pushtf): Allow only CONST_DOUBLEs that won't
8484 be reloaded through memory.
8488 2014-11-11 Jakub Jelinek <jakub@redhat.com>
8489 Martin Liska <mliska@suse.cz>
8491 * ipa-icf-gimple.c (func_checker::compare_bb): Fix comment typo.
8492 (func_checker::compare_gimple_call): Compare gimple_call_fn,
8493 gimple_call_chain, gimple_call_fntype and call flags.
8495 2014-11-10 Vladimir Makarov <vmakarov@redhat.com>
8497 PR rtl-optimization/63620
8498 PR rtl-optimization/63799
8499 * lra-lives.c (process_bb_lives): Do not delete EH_REGION, trapped
8500 and setting PIC pseudo insns.
8501 (lra_create_live_ranges): Fix the typo.
8503 2014-11-10 Patrick Palka <ppalka@gcc.gnu.org>
8506 * tree-ssa-propagate.c (may_propagate_copy): Allow propagating
8507 SSA copies whose source and destination names both occur in
8510 2014-11-10 Roman Gareev <gareevroman@gmail.com>
8512 * Makefile.in: Remove the compilation of graphite-clast-to-gimple.o.
8513 * common.opt: Remove using of fgraphite-code-generator flag.
8514 * flag-types.h: Likewise.
8515 * graphite.c: Remove using of CLooG.
8516 * graphite-blocking.c: Likewise.
8517 * graphite-dependences.c: Likewise.
8518 * graphite-poly.c: Likewise.
8519 * graphite-poly.h: Likewise.
8520 * graphite-scop-detection.c: Likewise.
8521 * graphite-sese-to-poly.c: Likewise.
8522 * graphite-clast-to-gimple.c: Removed.
8523 * graphite-clast-to-gimple.h: Likewise.
8524 * graphite-htab.h: Likewise.
8526 2014-11-10 Paolo Carlini <paolo.carlini@oracle.com>
8528 * doc/invoke.texi ([-Wshift-count-negative, -Wshift-count-overflow]):
8531 2014-11-10 Richard Sandiford <richard.sandiford@arm.com>
8533 * config/frv/frv.c (frv_io_handle_use_1): Delete.
8534 (frv_io_handle_use): Use find_all_hard_regs.
8536 2014-11-10 Richard Sandiford <richard.sandiford@arm.com>
8538 * config/frv/frv.c (frv_registers_conflict_p_1): Take an rtx rather
8539 than an rtx *. Take the regstate_t directly rather than via a void *.
8540 Return a bool rather than an int. Iterate over all subrtxes here.
8541 (frv_registers_conflict_p): Update accordingly.
8543 2014-11-10 Richard Sandiford <richard.sandiford@arm.com>
8545 * config/frv/frv.c: Include rtl-iter.h.
8546 (frv_acc_group_1): Delete.
8547 (frv_acc_group): Use FOR_EACH_SUBRTX.
8549 2014-11-10 Richard Sandiford <richard.sandiford@arm.com>
8551 * config/frv/frv.c: Move include of rtl.h after hard-reg-set.h.
8552 (frv_clear_registers_used): Delete.
8553 (frv_ifcvt_modify_tests): Use find_all_hard_regs.
8555 2014-11-10 Jan Hubicka <hubicka@ucw.cz>
8558 * calls.c (initialize_argument_information): When emitting thunk call
8559 use original memory placement of the argument.
8561 2014-11-10 Renlin Li <renlin.li@arm.com>
8564 * tree-ssa-threadupdate.c (compute_path_counts): Bound path_in_freq.
8566 2014-11-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
8568 * expmed.c (expand_shift_1): Expand 8 bit rotate of 16 bit value to
8569 bswaphi if available.
8571 2014-11-10 Bernd Schmidt <bernds@codesourcery.com>
8573 * config/nvptx/nvptx.c: New file.
8574 * config/nvptx/nvptx.h: New file.
8575 * config/nvptx/nvptx-protos.h: New file.
8576 * config/nvptx/nvptx.md: New file.
8577 * config/nvptx/t-nvptx: New file.
8578 * config/nvptx/nvptx.opt: New file.
8579 * common/config/nvptx/nvptx-common.c: New file.
8580 * config.gcc: Handle nvptx-*-*.
8582 2014-11-10 Richard Biener <rguenther@suse.de>
8584 * tree-ssa-operands.c (finalize_ssa_uses): Properly put
8585 released operands on the free list.
8587 2014-11-10 Richard Biener <rguenther@suse.de>
8589 * match.pd: Implement pattern from simplify_mult.
8590 * tree-ssa-forwprop.c (simplify_mult): Remove.
8591 (pass_forwprop::execute): Do not call simplify_mult.
8593 2014-11-10 Richard Biener <rguenther@suse.de>
8595 PR tree-optimization/63800
8596 * tree-ssa-pre.c (eliminate_push_avail): Push in a way so
8597 we can restore the previous availability in after_dom_children.
8598 (eliminate_dom_walker::after_dom_children): Restore
8599 previous availability.
8601 2014-11-10 Richard Biener <rguenther@suse.de>
8604 * expr.c (expand_expr_real_2): When expanding FMA_EXPRs
8605 properly treat the embedded multiplication as commutative
8606 when looking for feeding negates.
8608 2014-11-10 Joern Rennecke <joern.rennecke@embecosm.com>
8610 * config/avr/avr.h (CPLUSPLUS_CPP_SPEC): Define.
8612 2014-11-10 Martin Liska <mliska@suse.cz>
8614 * gcc.dg/tree-ssa/ldist-19.c: ICF is disabled
8615 for the test because of default char signedness
8616 on powerpc64 target.
8618 2014-11-10 Richard Biener <rguenther@suse.de>
8620 * match.pd: Implement pattern from simplify_conversion_from_bitmask.
8621 * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): Remove.
8622 (pass_forwprop::execute): Do not call simplify_conversion_from_bitmask.
8624 2014-11-10 Richard Biener <rguenther@suse.de>
8626 * match.pd: Move rest of the conversion combining patterns
8627 from tree-ssa-forwprop.c.
8628 * tree-ssa-forwprop.c (combine_conversions): Remove.
8629 (pass_forwprop::execute): Do not call it.
8631 2014-11-10 Eric Botcazou <ebotcazou@adacore.com>
8633 * gimple-low.c (lower_function_body): Clear the location of the first
8634 inserted representative return if it also fills in for the fallthru.
8636 2014-11-10 Yuri Rumyantsev <ysrumyan@gmail.com>
8638 * tree-if-conv.c (add_to_predicate_list): Check unconditionally
8639 that bb is always executed to early exit. Use predicate of
8640 cd-equivalent block for join blocks if it exists.
8641 (if_convertible_loop_p_1): Recompute POST_DOMINATOR tree.
8642 (tree_if_conversion): Free post-dominance information.
8644 2014-11-09 Jason Merrill <jason@redhat.com>
8646 * config/i386/avx512vldqintrin.h (_mm256_broadcast_f32x2): __mmask8.
8647 * config/i386/avx512vlintrin.h (_mm256_mask_cvtepi32_storeu_epi16)
8648 (_mm_mask_cvtusepi32_storeu_epi16)
8649 (_mm_mask_cvtsepi64_storeu_epi32): Return void.
8651 2014-11-09 Joern Rennecke <joern.rennecke@embecosm.com>
8653 * config/avr/predicates.md (low_io_address_operand): Fix typo.
8655 2014-11-09 Vladimir Makarov <vmakarov@redhat.com>
8657 PR rtl-optimization/63620
8658 * lra-constraints.c (substitute_pseudo): Add prefix lra_ to the
8659 name. Move to lra.c. Make it external.
8660 (substitute_pseudo_within_insn): Ditto.
8661 (inherit_reload_reg, split_reg, remove_inheritance_pseudos): Use
8663 (undo_optional_reloads): Ditto.
8664 * lra-int.h (lra_dump_bitmap_with_title, lra_substitute_pseudo):
8666 (lra_substitute_pseudo_within_insn): Ditto.
8667 * lra-lives.c (bb_killed_pseudos, bb_gen_pseudos): New.
8668 (mark_regno_live): Add parameter. Update bb_gen_pseudos.
8669 (mark_regno_dead): Add parameter. Update bb_gen_pseudos and
8671 (struct bb_data, bb_data_t, bb_data): New.
8672 (get_bb_data, get_bb_data_by_index): Ditto.
8673 (all_hard_regs_bitmap): New.
8674 (live_trans_fun, live_con_fun_0, live_con_fun_n, all_blocks): New.
8675 (initiate_live_solver, finish_live_solver): New.
8676 (process_bb_lives): Change return type. Add code updating local
8677 live data and removing dead insns. Pass new argument to
8678 mark_regno_live and mark_regno_dead. Check changing bb pseudo
8679 life info. Return the result.
8680 (lra_create_live_ranges): Add code to do global pseudo live
8682 (lra_live_ranges_init): Call initiate_live_solver.
8683 (lra_live_ranges_finish): Call finish_live_solver.
8684 * lra.c (lra_dump_bitmap_with_title): New.
8685 (lra_substitute_pseudo, lra_substitute_pseudo_within_insn): Move
8686 from lra-constraints.c.
8688 2014-11-09 Richard Biener <rguenther@suse.de>
8690 * match.pd: Add patterns convering two conversions in a row
8692 * fold-const.c (fold_unary_loc): Remove them here.
8693 * tree-ssa-forwprop.c (combine_conversions): Likewise.
8694 * genmatch.c (dt_node::gen_kids): Check whether we may
8695 follow SSA use-def chains.
8697 2014-11-08 Richard Sandiford <richard.sandiford@arm.com>
8699 * config/aarch64/aarch64.c: Include rtl-iter.h.
8700 (aarch64_tls_operand_p_1): Delete.
8701 (aarch64_tls_operand_p): Use FOR_EACH_SUBRTX.
8703 2014-11-08 Richard Sandiford <richard.sandiford@arm.com>
8705 * config/arm/arm.c (arm_note_pic_base): Delete.
8706 (arm_cannot_copy_insn_p): Use FOR_EACH_SUBRTX.
8708 2014-11-08 Richard Sandiford <richard.sandiford@arm.com>
8710 * config/arm/arm.c: Include rtl-iter.h.
8711 (arm_tls_referenced_p_1): Delete.
8712 (arm_tls_referenced_p): Use FOR_EACH_SUBRTX.
8714 2014-11-08 Richard Sandiford <richard.sandiford@arm.com>
8716 * config/arm/aarch-common.c: Include rtl-iter.h.
8717 (search_term, arm_find_sub_rtx_with_search_term): Delete.
8718 (arm_find_sub_rtx_with_code): Use FOR_EACH_SUBRTX_VAR.
8719 (arm_get_set_operands): Pass the insn pattern rather than the
8721 (arm_no_early_store_addr_dep): Likewise.
8723 2014-11-08 Eric Botcazou <ebotcazou@adacore.com>
8725 * config/arm/arm.c (arm_set_return_address): Mark the store as frame
8727 (thumb_set_return_address): Likewise.
8729 2014-11-07 Jeff Law <law@redhat.com>
8731 PR tree-optimization/61515
8732 * tree-ssa-threadedge.c (invalidate_equivalences): Walk the unwinding
8733 stack rather than looking at every SSA_NAME's value.
8735 2014-11-07 Richard Biener <rguenther@suse.de>
8737 PR tree-optimization/63605
8738 * fold-const.c (fold_binary_loc): Properly use element_precision
8739 for types that may not be scalar.
8741 2014-11-07 Evgeny Stupachenko <evstupac@gmail.com>
8744 * config/i386/i386.md (builtin_setjmp_receiver): Use
8745 pic_offset_table_rtx for PIC register.
8746 (nonlocal_goto_receiver): Delete.
8748 2014-11-07 Daniel Hellstrom <daniel@gaisler.com>
8750 * config.gcc (sparc-*-rtems*): Clean away unused t-elf.
8751 * config/sparc/t-rtems: Add leon3v7 and muser-mode multilibs.
8753 2014-11-07 Martin Liska <mliska@suse.cz>
8756 * cgraphunit.c (cgraph_node::create_wrapper):
8757 TREE_ADDRESSABLE is set to false for a newly created thunk.
8759 2014-11-07 Martin Liska <mliska@suse.cz>
8762 * ipa-icf-gimple.c (func_checker::compare_gimple_switch):
8763 Missing checking for CASE_LOW and CASE_HIGH added.
8765 2014-11-07 Martin Liska <mliska@suse.cz>
8768 * cgraphunit.c (cgraph_node::expand_thunk): DECL_BY_REFERENCE
8769 is correctly handled for thunks created by IPA ICF.
8771 2014-11-07 Jiong Wang <jiong.wang@arm.com>
8772 2014-11-07 Richard Biener <rguenther@suse.de>
8774 PR tree-optimization/63676
8775 * gimple-fold.c (fold_gimple_assign): Do not fold node when
8776 TREE_CLOBBER_P be true.
8778 2014-11-07 Richard Biener <rguenther@suse.de>
8781 * match.pd: Guard conflicting GENERIC pattern properly.
8783 2014-11-07 Richard Biener <rguenther@suse.de>
8785 * match.pd: Add patterns for POINTER_PLUS_EXPR association
8786 and special patterns from tree-ssa-forwprop.c
8787 * fold-const.c (fold_binary_loc): Remove them here.
8788 * tree-ssa-forwprop.c (to_purge): New global bitmap.
8789 (fwprop_set_lattice_val): New function.
8790 (fwprop_invalidate_lattice): Likewise.
8791 (remove_prop_source_from_use): Instead of purging dead EH
8792 edges record blocks to do that in to_purge.
8793 (tidy_after_forward_propagate_addr): Likewise.
8794 (forward_propagate_addr_expr): Invalidate the lattice for
8795 SSA names we release.
8796 (simplify_conversion_from_bitmask): Likewise.
8797 (simplify_builtin_call): Likewise.
8798 (associate_pointerplus_align): Remove.
8799 (associate_pointerplus_diff): Likewise.
8800 (associate_pointerplus): Likewise.
8801 (fold_all_stmts): Merge with ...
8802 (pass_forwprop::execute): ... the original loop over all
8803 basic-blocks. Delay purging dead EH edges and invalidate
8804 the lattice for SSA names we release.
8806 2014-11-07 Terry Guo <terry.guo@arm.com>
8808 * config/arm/arm.opt (masm-syntax-unified): New option.
8809 * doc/invoke.texi (-masm-syntax-unified): Document new option.
8810 * config/arm/arm.h (TARGET_UNIFIED_ASM): Also include thumb1.
8811 (ASM_APP_ON): Redefined.
8812 * config/arm/arm.c (arm_option_override): Thumb2 inline assembly
8813 code always use UAL syntax.
8814 (arm_output_mi_thunk): Use UAL syntax for Thumb1 target.
8815 * config/arm/thumb1.md: Likewise.
8817 2014-11-06 John David Anglin <danglin@gcc.gnu.org>
8819 * config/pa/pa.md (trap): New insn. Add "trap" to attribute type.
8820 Don't allow trap insn in in_branch_delay, in_nullified_branch_delay
8823 2014-11-06 Steve Ellcey <sellcey@imgtec.com>
8825 * config.gcc (mips*-mti-linux*): Remove gnu_ld and gas assignments.
8826 Set default_mips_arch and default_mips_abi instead of tm_defines.
8827 (mips*-*-linux*): Set default_mips_arch and default_mips_abi instead
8829 (mips*-*-*): Check with_arch and with_abi. Set tm_defines.
8830 * config/mips/mips.h (STANDARD_STARTFILE_PREFIX_1): Set default
8831 based on MIPS_ABI_DEFAULT.
8832 (STANDARD_STARTFILE_PREFIX_2): Ditto.
8834 2014-11-06 Joseph Myers <joseph@codesourcery.com>
8836 * doc/invoke.texi (-std=c99, -std=c11): Don't refer to corner
8837 cases of extended identifiers.
8839 2014-11-06 Eric Botcazou <ebotcazou@adacore.com>
8841 * tree-cfgcleanup.c (fixup_noreturn_call): Do not perform DCE here.
8843 2014-11-06 DJ Delorie <dj@redhat.com>
8845 * config/m32c/cond.md (movqicc_<code>_<mode>): Remove mode of
8847 (movhicc_<code>_<mode>): Likewise.
8848 * config/m32c/m32c.c (encode_pattern_1): Specialise PSImode
8850 (m32c_eh_return_data_regno): Change to using memregs to avoid
8851 tying up all the compute regs.
8852 (m32c_legitimate_address_p) Subregs are not valid addresses.
8854 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
8856 * function.c (thread_prologue_and_epilogue_insns): No longer static.
8857 * function.h (thread_prologue_and_epilogue_insns): Declare.
8859 * target.def (assemble_undefined_decl): New hooks.
8860 * hooks.c (hook_void_FILEptr_constcharptr_const_tree): New function.
8861 * hooks.h (hook_void_FILEptr_constcharptr_const_tree): Declare.
8862 * doc/tm.texi.in (TARGET_ASM_ASSEMBLE_UNDEFINED_DECL): Add.
8863 * doc/tm.texi: Regenerate.
8864 * output.h (assemble_undefined_decl): Declare.
8865 (get_fnname_from_decl): Declare.
8866 * varasm.c (assemble_undefined_decl): New function.
8867 (get_fnname_from_decl): New function.
8868 * final.c (rest_of_handle_final): Use it.
8869 * varpool.c (varpool_output_variables): Call assemble_undefined_decl
8870 for nodes without a definition.
8872 * target.def (call_args, end_call_args): New hooks.
8873 * hooks.c (hook_void_rtx_tree): New empty function.
8874 * hooks.h (hook_void_rtx_tree): Declare.
8875 * doc/tm.texi.in (TARGET_CALL_ARGS, TARGET_END_CALL_ARGS): Add.
8876 * doc/tm.texi: Regenerate.
8877 * calls.c (expand_call): Slightly rearrange the code. Use the two new
8879 (expand_library_call_value_1): Use the two new hooks.
8881 * expr.c (use_reg_mode): Just return for pseudo registers.
8883 * combine.c (try_combine): Don't allow a call as one of the source
8886 * target.def (decl_end): New hook.
8887 * varasm.c (assemble_variable_contents, assemble_constant_contents):
8889 * doc/tm.texi.in (TARGET_ASM_DECL_END): Add.
8890 * doc/tm.texi: Regenerate.
8892 2014-11-06 Renlin Li <renlin.li@arm.com>
8894 * config/aarch64/aarch64.c (aarch64_architecture_version): New.
8895 (processor): New architecture_version field.
8896 (aarch64_override_options): Initialize aarch64_architecture_version.
8897 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_ARCH,
8898 __ARM_ARCH_PROFILE, aarch64_arch_name macro.
8900 2014-11-06 James Greenhalgh <james.greenhalgh@arm.com>
8902 * params.def (sra-max-scalarization-size-Ospeed): New.
8903 (sra-max-scalarization-size-Osize): Likewise.
8904 * doc/invoke.texi (sra-max-scalarization-size-Ospeed): Document.
8905 (sra-max-scalarization-size-Osize): Likewise.
8906 * toplev.c (process_options): Set default values for new
8908 * tree-sra.c (analyze_all_variable_accesses): Use new parameters.
8909 * targhooks.c (get_move_ratio): Remove static designator.
8910 * target.h (get_move_ratio): Declare.
8912 2014-11-06 Marek Polacek <polacek@redhat.com>
8914 * sanopt.c (sanopt_optimize_walker): Limit removal of the checks.
8915 Remove vector limit.
8917 2014-11-06 Richard Biener <rguenther@suse.de>
8919 * match.pd: Implement bitwise binary and unary simplifications
8920 from tree-ssa-forwprop.c.
8921 * fold-const.c (fold_unary_loc): Remove them here.
8922 (fold_binary_loc): Likewise.
8923 * tree-ssa-forwprop.c (simplify_not_neg_expr): Remove.
8924 (truth_valued_ssa_name): Likewise.
8925 (lookup_logical_inverted_value): Likewise.
8926 (simplify_bitwise_binary_1): Likewise.
8927 (hoist_conversion_for_bitop_p): Likewise.
8928 (simplify_bitwise_binary_boolean): Likewise.
8929 (simplify_bitwise_binary): Likewise.
8930 (pass_forwprop::execute): Remove calls to simplify_not_neg_expr
8931 and simplify_bitwise_binary.
8932 * genmatch.c (dt_node::append_true_op): Use safe_as_a for parent.
8933 (decision_tree::insert): Also insert non-expressions.
8935 2014-11-06 Hale Wang <hale.wang@arm.com>
8937 * config/arm/arm-cores.def: Add support for
8938 -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
8939 cortex-m1.small-multiply.
8940 * config/arm/arm-tables.opt: Regenerate.
8941 * config/arm/arm-tune.md: Regenerate.
8942 * config/arm/arm.c: Update the rtx-costs for MUL.
8943 * config/arm/bpabi.h: Handle
8944 -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
8945 cortex-m1.small-multiply.
8946 * doc/invoke.texi: Document
8947 -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
8948 cortex-m1.small-multiply.
8950 2014-11-06 Hale Wang <hale.wang@arm.com>
8952 * config/arm/arm.c: Add cortex-m7 tune.
8953 * config/arm/arm-cores.def: Use cortex-m7 tune.
8955 2014-11-05 Uros Bizjak <ubizjak@gmail.com>
8958 * config/i386/i386.c (in_large_data_p): Reject automatic variables.
8959 (ix86_encode_section_info): Do not check for non-automatic varibles
8960 when setting SYMBOL_FLAG_FAR_ADDR flag.
8961 (x86_64_elf_select_section): Do not check ix86_cmodel here.
8962 (x86_64_elf_unique_section): Ditto.
8963 (x86_elf_aligned_common): Emit tab before .largecomm.
8965 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8967 PR preprocessor/9449
8968 * doc/cpp.texi (Character sets, Tokenization)
8969 (Implementation-defined behavior): Don't refer to UCNs in
8970 identifiers requiring -fextended-identifiers.
8971 * doc/cppopts.texi (-fextended-identifiers): Document as enabled
8972 by default for C99 and later and C++.
8973 * doc/invoke.texi (-std=c99, -std=c11): Don't refer to extended
8974 identifiers needing -fextended-identifiers.
8976 2014-11-05 Ilya Tocar <ilya.tocar@intel.com>
8978 * config/i386/i386.c (expand_vec_perm_pshufb): Try vpermq/vpermd
8979 for 512-bit wide modes.
8980 (expand_vec_perm_1): Use correct versions of patterns.
8981 * config/i386/sse.md (avx512f_vec_dup<mode>_1): New.
8982 (vashr<mode>3<mask_name>): Split V8HImode and V16QImode.
8984 2014-11-05 Ilya Enkovich <ilya.enkovich@intel.com>
8990 * tree-chkp-opt.c: New.
8993 * Makefile.in (OBJS): Add ipa-chkp.o, rtl-chkp.o, tree-chkp.o
8995 (GTFILES): Add tree-chkp.c.
8996 * mode-classes.def (MODE_POINTER_BOUNDS): New.
8997 * tree.def (POINTER_BOUNDS_TYPE): New.
8998 * genmodes.c (complete_mode): Support MODE_POINTER_BOUNDS.
8999 (POINTER_BOUNDS_MODE): New.
9000 (make_pointer_bounds_mode): New.
9001 * machmode.h (POINTER_BOUNDS_MODE_P): New.
9002 * stor-layout.c (int_mode_for_mode): Support MODE_POINTER_BOUNDS.
9003 (layout_type): Support POINTER_BOUNDS_TYPE.
9004 * tree-pretty-print.c (dump_generic_node): Support POINTER_BOUNDS_TYPE.
9005 * tree-core.h (tree_index): Add TI_POINTER_BOUNDS_TYPE.
9006 * tree.c (build_int_cst_wide): Support POINTER_BOUNDS_TYPE.
9007 (type_contains_placeholder_1): Likewise.
9008 (build_common_tree_nodes): Initialize
9009 pointer_bounds_type_node.
9010 * tree.h (POINTER_BOUNDS_TYPE_P): New.
9011 (pointer_bounds_type_node): New.
9012 (POINTER_BOUNDS_P): New.
9013 (BOUNDED_TYPE_P): New.
9015 (CALL_WITH_BOUNDS_P): New.
9016 * gimple.h (gf_mask): Add GF_CALL_WITH_BOUNDS.
9017 (gimple_call_with_bounds_p): New.
9018 (gimple_call_set_with_bounds): New.
9019 (gimple_return_retbnd): New.
9020 (gimple_return_set_retbnd): New
9021 * gimple.c (gimple_build_return): Increase number of ops
9022 for return statement.
9023 (gimple_build_call_from_tree): Propagate CALL_WITH_BOUNDS_P
9025 * gimple-pretty-print.c (dump_gimple_return): Print second op.
9026 * rtl.h (CALL_EXPR_WITH_BOUNDS_P): New.
9027 * gimplify.c (gimplify_init_constructor): Avoid infinite
9028 loop during gimplification of bounds initializer.
9029 * calls.c: Include tree-chkp.h, rtl-chkp.h, bitmap.h.
9030 (special_function_p): Use original decl name when analyzing
9031 instrumentation clone.
9032 (arg_data): Add fields special_slot, pointer_arg and
9034 (store_bounds): New.
9035 (emit_call_1): Propagate instrumentation flag for CALL.
9036 (initialize_argument_information): Compute pointer_arg,
9037 pointer_offset and special_slot for pointer bounds arguments.
9038 (finalize_must_preallocate): Preallocate when storing bounds
9040 (compute_argument_addresses): Skip pointer bounds.
9041 (expand_call): Store bounds into tables separately. Return
9042 result joined with resulting bounds.
9043 * cfgexpand.c: Include tree-chkp.h, rtl-chkp.h.
9044 (expand_call_stmt): Propagate bounds flag for CALL_EXPR.
9045 (expand_return): Add returned bounds arg. Handle returned bounds.
9046 (expand_gimple_stmt_1): Adjust to new expand_return signature.
9047 (gimple_expand_cfg): Reset rtx bounds map.
9048 * expr.c: Include tree-chkp.h, rtl-chkp.h.
9049 (expand_assignment): Handle returned bounds.
9050 (store_expr_with_bounds): New. Replaces store_expr with new bounds
9051 target argument. Handle bounds returned by calls.
9052 (store_expr): Now wraps store_expr_with_bounds.
9053 * expr.h (store_expr_with_bounds): New.
9054 * function.c: Include tree-chkp.h, rtl-chkp.h.
9055 (bounds_parm_data): New.
9056 (use_register_for_decl): Do not registerize decls used for bounds
9058 (assign_parms_augmented_arg_list): Add bounds of the result
9059 structure pointer as the second argument.
9060 (assign_parm_find_entry_rtl): Mark bounds are never passed on
9062 (assign_parm_is_stack_parm): Likewise.
9063 (assign_parm_load_bounds): New.
9064 (assign_bounds): New.
9065 (assign_parms): Load bounds and determine a location for
9067 (diddle_return_value_1): New.
9068 (diddle_return_value): Handle returned bounds.
9069 * function.h (rtl_data): Add field for returned bounds.
9070 * varasm.c: Include tree-chkp.h.
9071 (output_constant): Support POINTER_BOUNDS_TYPE.
9072 (output_constant_pool_2): Support MODE_POINTER_BOUNDS.
9073 (ultimate_transparent_alias_target): Move up.
9074 (make_decl_rtl): For instrumented function use
9075 name of the original decl.
9076 (assemble_start_function): Mark function as global
9077 in case it is instrumentation clone of the global
9079 (do_assemble_alias): Follow transparent alias chain
9080 for identifier. Check if original alias is public.
9081 (maybe_assemble_visibility): Use visibility of the
9082 original function for instrumented version.
9083 (default_unique_section): Likewise.
9084 * emit-rtl.c (immed_double_const): Support MODE_POINTER_BOUNDS.
9085 (init_emit_once): Build pointer bounds zero constants.
9086 * explow.c (trunc_int_for_mode): Support MODE_POINTER_BOUNDS.
9087 * target.def (builtin_chkp_function): New.
9088 (chkp_bound_type): New.
9089 (chkp_bound_mode): New.
9090 (chkp_make_bounds_constant): New.
9091 (chkp_initialize_bounds): New.
9092 (load_bounds_for_arg): New.
9093 (store_bounds_for_arg): New.
9094 (load_returned_bounds): New.
9095 (store_returned_bounds): New.
9096 (chkp_function_value_bounds): New.
9097 (setup_incoming_vararg_bounds): New.
9098 (function_arg): Update hook description with new possible return
9100 * targhooks.h (default_load_bounds_for_arg): New.
9101 (default_store_bounds_for_arg): New.
9102 (default_load_returned_bounds): New.
9103 (default_store_returned_bounds): New.
9104 (default_chkp_bound_type): New.
9105 (default_chkp_bound_mode): New.
9106 (default_builtin_chkp_function): New.
9107 (default_chkp_function_value_bounds): New.
9108 (default_chkp_make_bounds_constant): New.
9109 (default_chkp_initialize_bounds): New.
9110 (default_setup_incoming_vararg_bounds): New.
9111 * targhooks.c (default_load_bounds_for_arg): New.
9112 (default_store_bounds_for_arg): New.
9113 (default_load_returned_bounds): New.
9114 (default_store_returned_bounds): New.
9115 (default_chkp_bound_type): New.
9116 (default_chkp_bound_mode); New.
9117 (default_builtin_chkp_function): New.
9118 (default_chkp_function_value_bounds): New.
9119 (default_chkp_make_bounds_constant): New.
9120 (default_chkp_initialize_bounds): New.
9121 (default_setup_incoming_vararg_bounds): New.
9122 * builtin-types.def (BT_BND): New.
9123 (BT_FN_PTR_CONST_PTR): New.
9124 (BT_FN_CONST_PTR_CONST_PTR): New.
9125 (BT_FN_BND_CONST_PTR): New.
9126 (BT_FN_CONST_PTR_BND): New.
9127 (BT_FN_PTR_CONST_PTR_SIZE): New.
9128 (BT_FN_PTR_CONST_PTR_CONST_PTR): New.
9129 (BT_FN_VOID_PTRPTR_CONST_PTR): New.
9130 (BT_FN_VOID_CONST_PTR_SIZE): New.
9131 (BT_FN_VOID_PTR_BND): New.
9132 (BT_FN_CONST_PTR_CONST_PTR_CONST_PTR): New.
9133 (BT_FN_BND_CONST_PTR_SIZE): New.
9134 (BT_FN_PTR_CONST_PTR_CONST_PTR_SIZE): New.
9135 (BT_FN_VOID_CONST_PTR_BND_CONST_PTR): New.
9136 * chkp-builtins.def: New.
9137 * builtins.def: include chkp-builtins.def.
9138 (DEF_CHKP_BUILTIN): New.
9139 * builtins.c: Include tree-chkp.h and rtl-chkp.h.
9140 (expand_builtin): Support BUILT_IN_CHKP_INIT_PTR_BOUNDS,
9141 BUILT_IN_CHKP_NULL_PTR_BOUNDS, BUILT_IN_CHKP_COPY_PTR_BOUNDS,
9142 BUILT_IN_CHKP_CHECK_PTR_LBOUNDS, BUILT_IN_CHKP_CHECK_PTR_UBOUNDS,
9143 BUILT_IN_CHKP_CHECK_PTR_BOUNDS, BUILT_IN_CHKP_SET_PTR_BOUNDS,
9144 BUILT_IN_CHKP_NARROW_PTR_BOUNDS, BUILT_IN_CHKP_STORE_PTR_BOUNDS,
9145 BUILT_IN_CHKP_GET_PTR_LBOUND, BUILT_IN_CHKP_GET_PTR_UBOUND,
9146 BUILT_IN_CHKP_BNDMK, BUILT_IN_CHKP_BNDSTX, BUILT_IN_CHKP_BNDCL,
9147 BUILT_IN_CHKP_BNDCU, BUILT_IN_CHKP_BNDLDX, BUILT_IN_CHKP_BNDRET,
9148 BUILT_IN_CHKP_INTERSECT, BUILT_IN_CHKP_NARROW,
9149 BUILT_IN_CHKP_EXTRACT_LOWER, BUILT_IN_CHKP_EXTRACT_UPPER.
9150 (std_expand_builtin_va_start): Init bounds for va_list.
9151 * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Add
9152 __CHKP__ macro when Pointer Bounds Checker is on.
9153 * params.def (PARAM_CHKP_MAX_CTOR_SIZE): New.
9154 * passes.def (pass_ipa_chkp_versioning): New.
9155 (pass_early_local_passes): Renamed to pass_build_ssa_passes.
9156 (pass_fixup_cfg): Moved to pass_chkp_instrumentation_passes.
9157 (pass_chkp_instrumentation_passes): New.
9158 (pass_ipa_chkp_produce_thunks): New.
9159 (pass_local_optimization_passes): New.
9160 (pass_chkp_opt): New.
9161 * tree-pass.h (make_pass_ipa_chkp_versioning): New.
9162 (make_pass_ipa_chkp_produce_thunks): New.
9163 (make_pass_chkp): New.
9164 (make_pass_chkp_opt): New.
9165 (make_pass_early_local_passes): Renamed to ...
9166 (make_pass_build_ssa_passes): This.
9167 (make_pass_chkp_instrumentation_passes): New.
9168 (make_pass_local_optimization_passes): New.
9169 * passes.c (pass_manager::execute_early_local_passes): Execute
9170 early passes in three steps.
9171 (execute_all_early_local_passes): Renamed to ...
9172 (execute_build_ssa_passes): This.
9173 (pass_data_early_local_passes): Renamed to ...
9174 (pass_data_build_ssa_passes): This.
9175 (pass_early_local_passes): Renamed to ...
9176 (pass_build_ssa_passes): This.
9177 (pass_data_chkp_instrumentation_passes): New.
9178 (pass_chkp_instrumentation_passes): New.
9179 (pass_data_local_optimization_passes): New.
9180 (pass_local_optimization_passes): New.
9181 (make_pass_early_local_passes): Renamed to ...
9182 (make_pass_build_ssa_passes): This.
9183 (make_pass_chkp_instrumentation_passes): New.
9184 (make_pass_local_optimization_passes): New.
9185 * c-family/c.opt (fcheck-pointer-bounds): New.
9186 (fchkp-check-incomplete-type): New.
9187 (fchkp-zero-input-bounds-for-main): New.
9188 (fchkp-first-field-has-own-bounds): New.
9189 (fchkp-narrow-bounds): New.
9190 (fchkp-narrow-to-innermost-array): New.
9191 (fchkp-optimize): New.
9192 (fchkp-use-fast-string-functions): New.
9193 (fchkp-use-nochk-string-functions): New.
9194 (fchkp-use-static-bounds): New.
9195 (fchkp-use-static-const-bounds): New.
9196 (fchkp-treat-zero-dynamic-size-as-infinite): New.
9197 (fchkp-check-read): New.
9198 (fchkp-check-write): New.
9199 (fchkp-store-bounds): New.
9200 (fchkp-instrument-calls): New.
9201 (fchkp-instrument-marked-only): New.
9203 * c-family/c-common.c (handle_bnd_variable_size_attribute): New.
9204 (handle_bnd_legacy): New.
9205 (handle_bnd_instrument): New.
9206 (c_common_attribute_table): Add bnd_variable_size, bnd_legacy
9207 and bnd_instrument. Fix documentation.
9208 (c_common_format_attribute_table): Likewsie.
9209 * toplev.c: include tree-chkp.h.
9210 (process_options): Check Pointer Bounds Checker is supported.
9211 (compile_file): Add chkp_finish_file call.
9212 * ipa-cp.c (initialize_node_lattices): Use cgraph_local_p
9213 to handle instrumentation clones properly.
9214 (propagate_constants_accross_call): Do not propagate
9215 through instrumentation thunks.
9216 * ipa-pure-const.c (propagate_pure_const): Support
9218 * ipa-inline.c (early_inliner): Check edge has summary allocated.
9219 * ipa-split.c: Include tree-chkp.h.
9221 (split_part_set_ssa_name_p): New.
9222 (consider_split): Do not split retbnd and retval
9224 (insert_bndret_call_after): new.
9225 (split_function): Propagate Pointer Bounds Checker
9226 instrumentation marks and handle returned bounds.
9227 * tree-ssa-sccvn.h (vn_reference_op_struct): Transform opcode
9228 into bit field and add with_bounds field.
9229 * tree-ssa-sccvn.c (copy_reference_ops_from_call): Set
9230 with_bounds field for instrumented calls.
9231 * tree-ssa-pre.c (create_component_ref_by_pieces_1): Restore
9232 CALL_WITH_BOUNDS_P flag for calls.
9233 * tree-ssa-ccp.c: Include tree-chkp.h.
9234 (insert_clobber_before_stack_restore): Handle
9235 BUILT_IN_CHKP_BNDRET calls.
9236 * tree-ssa-dce.c: Include tree-chkp.h.
9237 (propagate_necessity): For free call fed by alloc check
9238 bounds are also provided by the same alloc.
9239 (eliminate_unnecessary_stmts): Handle BUILT_IN_CHKP_BNDRET
9241 * tree-inline.c: Include tree-chkp.h.
9242 (declare_return_variable): Add arg holding
9243 returned bounds slot. Create and initialize returned bounds var.
9244 (remap_gimple_stmt): Handle returned bounds.
9245 Return sequence of statements instead of a single statement.
9246 (insert_init_stmt): Add declaration.
9247 (remap_gimple_seq): Adjust to new remap_gimple_stmt signature.
9248 (copy_bb): Adjust to changed return type of remap_gimple_stmt.
9249 Properly handle bounds in va_arg_pack and va_arg_pack_len.
9250 (expand_call_inline): Handle returned bounds. Add bounds copy
9251 for generated mem to mem assignments.
9252 * tree-inline.h (copy_body_data): Add fields retbnd and
9254 * value-prof.c: Include tree-chkp.h.
9255 (gimple_ic): Support returned bounds.
9256 * ipa.c (cgraph_build_static_cdtor_1): Support contructors
9257 with "chkp ctor" and "bnd_legacy" attributes.
9258 (symtab_remove_unreachable_nodes): Keep initial values for
9259 pointer bounds to be used for checks eliminations.
9260 (process_references): Handle IPA_REF_CHKP.
9261 (walk_polymorphic_call_targets): Likewise.
9262 * ipa-visibility.c (cgraph_externally_visible_p): Mark
9263 instrumented 'main' as externally visible.
9264 (function_and_variable_visibility): Filter instrumentation
9266 * cgraph.h (cgraph_thunk_info): Add add_pointer_bounds_args
9268 (cgraph_node): Add instrumented_version, orig_decl and
9269 instrumentation_clone fields.
9270 (symtab_node::get_alias_target): Allow IPA_REF_CHKP reference.
9271 (varpool_node): Add need_bounds_init field.
9272 (cgraph_local_p): New.
9273 * cgraph.c: Include tree-chkp.h.
9274 (cgraph_node::remove): Fix instrumented_version
9275 of the referenced node if any.
9276 (cgraph_node::dump): Dump instrumentation_clone and
9277 instrumented_version fields.
9278 (cgraph_node::verify_node): Check correctness of IPA_REF_CHKP
9279 references and instrumentation thunks.
9280 (cgraph_can_remove_if_no_direct_calls_and_refs_p): Keep
9281 all not instrumented instrumentation clones alive.
9282 (cgraph_redirect_edge_call_stmt_to_callee): Support
9284 * cgraphbuild.c (rebuild_cgraph_edges): Rebuild IPA_REF_CHKP
9286 (cgraph_rebuild_references): Likewise.
9287 * cgraphunit.c: Include tree-chkp.h.
9288 (assemble_thunks_and_aliases): Skip thunks calling instrumneted
9290 (varpool_finalize_decl): Register statically initialized decls
9291 in Pointer Bounds Checker.
9292 (walk_polymorphic_call_targets): Do not mark generated call to
9293 __builtin_unreachable as with_bounds.
9294 (output_weakrefs): If there are both instrumented and original
9295 versions, output only one of them.
9296 (cgraph_node::expand_thunk): Set with_bounds flag
9297 for created call statement.
9298 * ipa-ref.h (ipa_ref_use): Add IPA_REF_CHKP.
9299 (ipa_ref): increase size of use field.
9300 * symtab.c (ipa_ref_use_name): Add element for IPA_REF_CHKP.
9301 * varpool.c (dump_varpool_node): Dump need_bounds_init field.
9302 (ctor_for_folding): Do not fold constant bounds vars.
9303 * lto-streamer.h (LTO_minor_version): Change minor version from
9305 * lto-cgraph.c (compute_ltrans_boundary): Keep initial values for
9307 (lto_output_node): Output instrumentation_clone,
9308 thunk.add_pointer_bounds_args and orig_decl field.
9309 (lto_output_ref): Adjust to new ipa_ref::use field size.
9310 (input_overwrite_node): Read instrumentation_clone field.
9311 (input_node): Read thunk.add_pointer_bounds_args and orig_decl
9313 (input_ref): Adjust to new ipa_ref::use field size.
9314 (input_cgraph_1): Compute instrumented_version fields and restore
9315 IDENTIFIER_TRANSPARENT_ALIAS chains.
9316 (lto_output_varpool_node): Output
9317 need_bounds_init value.
9318 (input_varpool_node): Read need_bounds_init value.
9319 * lto-partition.c (add_symbol_to_partition_1): Keep original
9320 and instrumented versions together.
9321 (privatize_symbol_name): Restore transparent alias chain if required.
9322 (add_references_to_partition): Add references to pointer bounds vars.
9323 * dbxout.c (dbxout_type): Ignore POINTER_BOUNDS_TYPE.
9324 * dwarf2out.c (gen_subprogram_die): Ignore bound args.
9325 (gen_type_die_with_usage): Skip pointer bounds.
9326 (dwarf2out_global_decl): Likewise.
9327 (is_base_type): Support POINTER_BOUNDS_TYPE.
9328 (gen_formal_types_die): Skip pointer bounds.
9329 (gen_decl_die): Likewise.
9330 * var-tracking.c (vt_add_function_parameters): Skip
9332 * ipa-icf.c (sem_function::merge): Do not merge when instrumentation
9334 (sem_variable::merge): Reset need_bounds_init flag.
9335 * doc/extend.texi: Document Pointer Bounds Checker built-in functions
9337 * doc/tm.texi.in (TARGET_LOAD_BOUNDS_FOR_ARG): New.
9338 (TARGET_STORE_BOUNDS_FOR_ARG): New.
9339 (TARGET_LOAD_RETURNED_BOUNDS): New.
9340 (TARGET_STORE_RETURNED_BOUNDS): New.
9341 (TARGET_CHKP_FUNCTION_VALUE_BOUNDS): New.
9342 (TARGET_SETUP_INCOMING_VARARG_BOUNDS): New.
9343 (TARGET_BUILTIN_CHKP_FUNCTION): New.
9344 (TARGET_CHKP_BOUND_TYPE): New.
9345 (TARGET_CHKP_BOUND_MODE): New.
9346 (TARGET_CHKP_MAKE_BOUNDS_CONSTANT): New.
9347 (TARGET_CHKP_INITIALIZE_BOUNDS): New.
9348 * doc/tm.texi: Regenerated.
9349 * doc/rtl.texi (MODE_POINTER_BOUNDS): New.
9352 * doc/invoke.texi (-mmpx): New.
9354 (chkp-max-ctor-size): New.
9355 * config/i386/constraints.md (w): New.
9358 * config/i386/i386-c.c (ix86_target_macros_internal): Add __MPX__.
9359 * config/i386/i386-modes.def (BND32): New.
9361 * config/i386/i386-protos.h (ix86_bnd_prefixed_insn_p): New.
9362 * config/i386/i386.c: Include tree-chkp.h, rtl-chkp.h, tree-iterator.h.
9363 (regclass_map): Add bound registers.
9364 (dbx_register_map): Likewise.
9365 (dbx64_register_map): Likewise.
9366 (svr4_dbx_register_map): Likewise.
9367 (isa_opts): Add -mmpx.
9369 (ix86_option_override_internal): Support MPX ISA.
9370 (ix86_conditional_register_usage): Support bound registers.
9371 (ix86_code_end): Add MPX bnd prefix.
9372 (output_set_got): Likewise.
9373 (print_reg): Avoid prefixes for bound registers.
9374 (ix86_print_operand): Add '!' (MPX bnd) print prefix support.
9375 (ix86_print_operand_punct_valid_p): Likewise.
9376 (ix86_print_operand_address): Support UNSPEC_BNDMK_ADDR and
9378 (ix86_output_call_insn): Add MPX bnd prefix to branch instructions.
9379 (ix86_class_likely_spilled_p): Add bound regs support.
9380 (ix86_hard_regno_mode_ok): Likewise.
9381 (x86_order_regs_for_local_alloc): Likewise.
9382 (ix86_bnd_prefixed_insn_p): New.
9383 (ix86_builtins): Add
9384 IX86_BUILTIN_BNDMK, IX86_BUILTIN_BNDSTX,
9385 IX86_BUILTIN_BNDLDX, IX86_BUILTIN_BNDCL,
9386 IX86_BUILTIN_BNDCU, IX86_BUILTIN_BNDRET,
9387 IX86_BUILTIN_BNDNARROW, IX86_BUILTIN_BNDINT,
9388 IX86_BUILTIN_SIZEOF, IX86_BUILTIN_BNDLOWER,
9389 IX86_BUILTIN_BNDUPPER.
9390 (builtin_isa): Add leaf_p and nothrow_p fields.
9391 (def_builtin): Initialize leaf_p and nothrow_p.
9392 (ix86_add_new_builtins): Handle leaf_p and nothrow_p
9395 (bdesc_mpx_const): New.
9396 (ix86_init_mpx_builtins): New.
9397 (ix86_init_builtins): Call ix86_init_mpx_builtins.
9398 (ix86_emit_cmove): New.
9399 (ix86_emit_move_max): New.
9400 (ix86_expand_builtin): Expand IX86_BUILTIN_BNDMK,
9401 IX86_BUILTIN_BNDSTX, IX86_BUILTIN_BNDLDX,
9402 IX86_BUILTIN_BNDCL, IX86_BUILTIN_BNDCU,
9403 IX86_BUILTIN_BNDRET, IX86_BUILTIN_BNDNARROW,
9404 IX86_BUILTIN_BNDINT, IX86_BUILTIN_SIZEOF,
9405 IX86_BUILTIN_BNDLOWER, IX86_BUILTIN_BNDUPPER.
9406 (ix86_function_value_bounds): New.
9407 (ix86_builtin_mpx_function): New.
9408 (ix86_get_arg_address_for_bt): New.
9409 (ix86_load_bounds): New.
9410 (ix86_store_bounds): New.
9411 (ix86_load_returned_bounds): New.
9412 (ix86_store_returned_bounds): New.
9413 (ix86_mpx_bound_mode): New.
9414 (ix86_make_bounds_constant): New.
9415 (ix86_initialize_bounds):
9416 (TARGET_LOAD_BOUNDS_FOR_ARG): New.
9417 (TARGET_STORE_BOUNDS_FOR_ARG): New.
9418 (TARGET_LOAD_RETURNED_BOUNDS): New.
9419 (TARGET_STORE_RETURNED_BOUNDS): New.
9420 (TARGET_CHKP_BOUND_MODE): New.
9421 (TARGET_BUILTIN_CHKP_FUNCTION): New.
9422 (TARGET_CHKP_FUNCTION_VALUE_BOUNDS): New.
9423 (TARGET_CHKP_MAKE_BOUNDS_CONSTANT): New.
9424 (TARGET_CHKP_INITIALIZE_BOUNDS): New.
9425 (ix86_option_override_internal): Do not
9426 support x32 with MPX.
9427 (init_cumulative_args): Init stdarg, bnd_regno, bnds_in_bt
9429 (function_arg_advance_32): Return number of used integer
9431 (function_arg_advance_64): Likewise.
9432 (function_arg_advance_ms_64): Likewise.
9433 (ix86_function_arg_advance): Handle pointer bounds.
9434 (ix86_function_arg): Likewise.
9435 (ix86_function_value_regno_p): Mark fisrt bounds registers as
9436 possible function value.
9437 (ix86_function_value_1): Handle pointer bounds type/mode
9438 (ix86_return_in_memory): Likewise.
9439 (ix86_print_operand): Analyse insn to decide abounf "bnd" prefix.
9440 (ix86_expand_call): Generate returned bounds.
9441 (ix86_setup_incoming_vararg_bounds): New.
9442 (ix86_va_start): Initialize bounds for pointers in va_list.
9443 (TARGET_SETUP_INCOMING_VARARG_BOUNDS): New.
9444 * config/i386/i386.h (TARGET_MPX): New.
9445 (TARGET_MPX_P): New.
9446 (FIRST_PSEUDO_REGISTER): Fix to new value.
9447 (FIXED_REGISTERS): Add bound registers.
9448 (CALL_USED_REGISTERS): Likewise.
9449 (REG_ALLOC_ORDER): Likewise.
9450 (HARD_REGNO_NREGS): Likewise.
9451 (VALID_BND_REG_MODE): New.
9452 (FIRST_BND_REG): New.
9453 (LAST_BND_REG): New.
9454 (reg_class): Add BND_REGS.
9455 (REG_CLASS_NAMES): Likewise.
9456 (REG_CLASS_CONTENTS): Likewise.
9458 (ANY_BND_REG_P): New.
9460 (HI_REGISTER_NAMES): Add bound registers.
9461 (ix86_args): Add bnd_regno, bnds_in_bt, force_bnd_pass and
9463 * config/i386/i386.md (UNSPEC_BNDMK): New.
9464 (UNSPEC_BNDMK_ADDR): New.
9465 (UNSPEC_BNDSTX): New.
9466 (UNSPEC_BNDLDX): New.
9467 (UNSPEC_BNDLDX_ADDR): New.
9468 (UNSPEC_BNDCL): New.
9469 (UNSPEC_BNDCU): New.
9470 (UNSPEC_BNDCN): New.
9471 (UNSPEC_MPX_FENCE): New.
9472 (UNSPEC_SIZEOF): New.
9475 (type): Add mpxmov, mpxmk, mpxchk, mpxld, mpxst.
9476 (length_immediate): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
9477 (prefix_rep): Check for bnd prefix.
9478 (prefix_0f): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
9479 (length_nobnd): New.
9480 (length): Use length_nobnd when specified.
9481 (memory): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
9486 (*jcc_1): Add MPX bnd prefix.
9489 (*indirect_jump): Likewise.
9490 (*tablejump_1): Likewise.
9491 (simple_return_internal): Likewise.
9492 (simple_return_internal_long): Likewise.
9493 (simple_return_pop_internal): Likewise.
9494 (simple_return_indirect_internal): Likewise.
9498 (*mov<mode>_internal_mpx): New.
9499 (<mode>_<bndcheck>): New.
9500 (*<mode>_<bndcheck>): New.
9505 move_size_reloc_<mode>): New.
9506 * config/i386/predicates.md (address_mpx_no_base_operand): New.
9507 (address_mpx_no_index_operand): New.
9508 (bnd_mem_operator): New.
9509 (symbol_operand): New.
9510 (x86_64_immediate_size_operand): New.
9511 * config/i386/i386.opt (mmpx): New.
9512 * config/i386/i386-builtin-types.def (BND): New.
9514 (BND_FTYPE_PCVOID_ULONG): New.
9515 (VOID_FTYPE_BND_PCVOID): New.
9516 (VOID_FTYPE_PCVOID_PCVOID_BND): New.
9517 (BND_FTYPE_PCVOID_PCVOID): New.
9518 (BND_FTYPE_PCVOID): New.
9519 (BND_FTYPE_BND_BND): New.
9520 (PVOID_FTYPE_PVOID_PVOID_ULONG): New.
9521 (PVOID_FTYPE_PCVOID_BND_ULONG): New.
9522 (ULONG_FTYPE_VOID): New.
9523 (PVOID_FTYPE_BND): New.
9525 2014-11-05 Bernd Schmidt <bernds@codesourcery.com>
9527 * passes.def (pass_compute_alignments, pass_duplicate_computed_gotos,
9528 pass_variable_tracking, pass_free_cfg, pass_machine_reorg,
9529 pass_cleanup_barriers, pass_delay_slots,
9530 pass_split_for_shorten_branches, pass_convert_to_eh_region_ranges,
9531 pass_shorten_branches, pass_est_nothrow_function_flags,
9532 pass_dwarf2_frame, pass_final): Move outside of pass_postreload and
9533 into pass_late_compilation.
9534 (pass_late_compilation): Add.
9535 * passes.c (pass_data_late_compilation, pass_late_compilation,
9536 make_pass_late_compilation): New.
9537 * timevar.def (TV_LATE_COMPILATION): New.
9539 * target.def (omit_struct_return_reg): New data hook.
9540 * doc/tm.texi.in: Add @hook TARGET_OMIT_STRUCT_RETURN_REG.
9541 * doc/tm.texi: Regenerate.
9542 * function.c (expand_function_end): Use it.
9544 * target.def (no_register_allocation): New data hook.
9545 * doc/tm.texi.in: Add @hook TARGET_NO_REGISTER_ALLOCATION.
9546 * doc/tm.texi: Regenerate.
9547 * ira.c (gate_ira): New function.
9548 (pass_data_ira): Set has_gate.
9549 (pass_ira): Add a gate function.
9550 (pass_data_reload): Likewise.
9551 (pass_reload): Add a gate function.
9553 * reload1.c (eliminate_regs): If reg_eliminate_is NULL, assert that
9554 no register allocation happens on the target and return.
9555 * final.c (alter_subreg): Ensure register is not a pseudo before
9556 calling simplify_subreg.
9557 (output_operand): Assert that x isn't a pseudo only if doing
9558 register allocation.
9560 * dbxout.c (dbxout_symbol): Don't call eliminate_regs on decls for
9563 * optabs.c (emit_indirect_jump): Test HAVE_indirect_jump and emit a
9566 2014-11-05 Alex Velenko <Alex.Velenko@arm.com>
9568 * simplify-rtx.c (simplify_binary_operation_1): Div check added.
9569 * rtl.h (SUBREG_P): New macro added.
9571 2014-11-05 Tejas Belagod <tejas.belagod@arm.com>
9573 * config/aarch64/aarch64-builtins.c
9574 (aarch64_build_scalar_type): Remove.
9575 (aarch64_scalar_builtin_types, aarch64_simd_type,
9576 aarch64_simd_type, aarch64_mangle_builtin_scalar_type,
9577 aarch64_mangle_builtin_vector_type,
9578 aarch64_mangle_builtin_type, aarch64_simd_builtin_std_type,
9579 aarch64_lookup_simd_builtin_type, aarch64_simd_builtin_type,
9580 aarch64_init_simd_builtin_types,
9581 aarch64_init_simd_builtin_scalar_types): New.
9582 (aarch64_init_simd_builtins): Refactor.
9583 (aarch64_init_crc32_builtins): Fixup with qualifier.
9584 * config/aarch64/aarch64-protos.h
9585 (aarch64_mangle_builtin_type): Export.
9586 * config/aarch64/aarch64-simd-builtin-types.def: New.
9587 * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Remove.
9588 (aarch64_mangle_type): Refactor.
9589 * config/aarch64/arm_neon.h: Declare vector types based on
9591 * config/aarch64/t-aarch64: Update dependency.
9593 2014-11-04 Pat Haugen <pthaugen@us.ibm.com>
9595 * config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl,
9596 atomic_update_decl): Guard declaration with #ifdef.
9598 2014-11-04 Marek Polacek <polacek@redhat.com>
9600 * sanopt.c (sanopt_optimize_walker): Remove unused variables.
9602 2014-11-04 Marek Polacek <polacek@redhat.com>
9604 * Makefile.in (OBJS): Add sanopt.o.
9605 (GTFILES): Add sanopt.c.
9606 * asan.h (asan_expand_check_ifn): Declare.
9607 * asan.c (asan_expand_check_ifn): No longer static.
9608 (class pass_sanopt, pass_sanopt::execute, make_pass_sanopt): Move...
9609 * sanopt.c: ...here. New file.
9611 2014-11-04 Jiong Wang <jiong.wang@arm.com>
9612 Wilco Dijkstra <wilco.dijkstra@arm.com>
9615 * config/aarch64/aarch64.c (aarch64_expand_epiloue): Add barriers before
9618 2014-11-04 Bernd Schmidt <bernds@codesourcery.com>
9620 * combine.c (combine_simplify_rtx): In STORE_FLAG_VALUE == -1 case,
9621 also verify that mode is equal to the mode of op0.
9623 * bb-reorder.c (get_uncond_jump_length): Avoid using delete_insn,
9624 emit into a sequence instead.
9626 2014-11-04 Jan-Benedict Glaw <jbglaw@lug-owl.de>
9628 * config/sh/sh.c (emit_fpu_switch): Drop unused automatic variable.
9630 2014-11-04 Alan Lawrence <alan.lawrence@arm.com>
9632 config/arm/neon.md (reduc_smin_<mode> *2): Rename to...
9633 (reduc_smin_scal_<mode> *2): ...this; extract scalar result.
9634 (reduc_smax_<mode> *2): Rename to...
9635 (reduc_smax_scal_<mode> *2): ...this; extract scalar result.
9636 (reduc_umin_<mode> *2): Rename to...
9637 (reduc_umin_scal_<mode> *2): ...this; extract scalar result.
9638 (reduc_umax_<mode> *2): Rename to...
9639 (reduc_umax_scal_<mode> *2): ...this; extract scalar result.
9641 2014-11-04 Alan Lawrence <alan.lawrence@arm.com>
9643 config/arm/neon.md (reduc_plus_*): Rename to...
9644 (reduc_plus_scal_*): ...this; reduce to temp and extract scalar result.
9646 2014-11-04 Michael Collison <michael.collison@linaro.org>
9648 * config/aarch64/iterators.md (lconst_atomic): New mode attribute
9649 to support constraints for CONST_INT in atomic operations.
9650 * config/aarch64/atomics.md
9651 (atomic_<atomic_optab><mode>): Use lconst_atomic constraint.
9652 (atomic_nand<mode>): Likewise.
9653 (atomic_fetch_<atomic_optab><mode>): Likewise.
9654 (atomic_fetch_nand<mode>): Likewise.
9655 (atomic_<atomic_optab>_fetch<mode>): Likewise.
9656 (atomic_nand_fetch<mode>): Likewise.
9658 2014-11-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9660 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in definition
9661 of __ARM_FEATURE_IDIV.
9663 2014-11-04 Marek Polacek <polacek@redhat.com>
9665 * ubsan.c (instrument_object_size): Optimize [x & CST] array accesses.
9667 2014-11-03 Jan-Benedict Glaw <jbglaw@lug-owl.de>
9669 * config/rx/rx.c (rx_handle_func_attribute): Mark unused argument.
9671 2014-11-04 Zhenqiang Chen <zhenqiang.chen@arm.com>
9674 2014-11-03 Zhenqiang Chen <zhenqiang.chen@arm.com>
9675 * ifcvt.c (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
9676 Allow CC mode if HAVE_cbranchcc4.
9678 2014-11-03 Dominik Vogt <vogt@linux.vnet.ibm.com>
9680 * godump.c (go_format_type): Rewrite RECORD_TYPE nad UNION_TYPE support
9681 with -fdump-go-spec. Anonymous substructures are now flattened and
9682 replaced by their fields (record) or the first named, non-bitfield
9685 2014-11-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
9687 * input.c (expand_location_to_spelling_point): Fix typo.
9688 (expansion_point_location_if_in_system_header): Fix comment.
9690 2014-11-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
9692 * config/avr/gen-avr-mmcu-specs.c: Remove unnecessary format specifier.
9694 2014-11-03 Richard Biener <rguenther@suse.de>
9696 * tree-eh.c (operation_could_trap_helper_p): Handle conversions
9697 like ordinary operations.
9698 * gimplify.c (gimplify_conversion): Gimplify CONVERT_EXPR
9701 2014-11-03 Joseph Myers <joseph@codesourcery.com>
9703 * configure.ac (TARGET_GLIBC_MAJOR, TARGET_GLIBC_MINOR): Define
9705 * configure, config.h.in: Regenerate.
9706 * config/rs6000/linux.h [TARGET_GLIBC_MAJOR > 2 ||
9707 (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 19)]
9708 (RS6000_GLIBC_ATOMIC_FENV): New macro.
9709 * config/rs6000/linux64.h [TARGET_GLIBC_MAJOR > 2 ||
9710 (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 19)]
9711 (RS6000_GLIBC_ATOMIC_FENV): New macro.
9712 * config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl)
9713 (atomic_update_decl): New static variables.
9714 (rs6000_atomic_assign_expand_fenv) [RS6000_GLIBC_ATOMIC_FENV]:
9715 Generate calls to __atomic_feholdexcept, __atomic_feclearexcept
9716 and __atomic_feupdateenv for soft-float and no-FPRs.
9718 2014-11-03 Richard Biener <rguenther@suse.de>
9720 * match.pd: Add two abs patterns. Announce tree_expr_nonnegative_p.
9721 Also drop bogus FLOAT_EXPR and FIX_TRUNC_EXPR.
9722 * fold-const.c (fold_unary_loc): Remove them here.
9723 (tree_unary_nonnegative_warnv_p): Use CASE_CONVERT.
9724 * gimple-fold.c (fold_gimple_assign): Remove now obsolete
9725 GIMPLE_UNARY_RHS case.
9726 (gimple_fold_stmt_to_constant_1): Likewise.
9727 (replace_stmt_with_simplification): Fix inverted comparison.
9729 2014-11-03 Marc Glisse <marc.glisse@inria.fr>
9731 PR tree-optimization/60770
9732 * tree-into-ssa.c (rewrite_update_stmt): Return whether the
9733 statement should be removed.
9734 (maybe_register_def): Likewise. Replace clobbers with default
9736 (rewrite_dom_walker::before_dom_children): Remove statement if
9737 rewrite_update_stmt says so.
9738 * tree-ssa-live.c: Include tree-ssa.h.
9739 (set_var_live_on_entry): Do not mark undefined variables as live.
9740 (verify_live_on_entry): Do not check undefined variables.
9741 * tree-ssa.h (ssa_undefined_value_p): New parameter for the case
9742 of partially undefined variables.
9743 * tree-ssa.c (ssa_undefined_value_p): Likewise.
9744 (execute_update_addresses_taken): Do not drop clobbers.
9746 2014-11-03 Marc Glisse <marc.glisse@inria.fr>
9748 PR tree-optimization/63666
9749 * fold-const.c: Include "optabs.h".
9750 (fold_ternary_loc) <VEC_PERM_EXPR>: Avoid canonicalizing a
9751 can_vec_perm_p permutation to one that is not.
9753 2014-11-03 Zhenqiang Chen <zhenqiang.chen@arm.com>
9755 * ifcvt.c (noce_try_store_flag_mask): Check rtx cost.
9757 2014-11-03 Andrew Pinski <apinski@cavium.com>
9759 * config/mips/mips-cpus.def (octeon3): New cpu.
9760 * config/mips/mips.c (mips_rtx_cost_data): Add octeon3.
9761 (mips_print_operand <case 'T', case 't'>): Fix a bug as the mode
9762 of the comparison no longer matches mode of the operands.
9763 (mips_issue_rate): Handle PROCESSOR_OCTEON3.
9764 * config/mips/mips.h (TARGET_OCTEON): Add Octeon3.
9765 (TARGET_OCTEON2): Likewise.
9766 (TUNE_OCTEON): Add Octeon3.
9767 * config/mips/mips.md (processor): Add octeon3.
9768 * config/mips/octeon.md (octeon_fpu): New automaton and cpu_unit.
9769 (octeon_arith): Add octeon3.
9770 (octeon_condmove): Remove.
9771 (octeon_condmove_o1): New reservation.
9772 (octeon_condmove_o2): New reservation.
9773 (octeon_condmove_o3_int_on_cc): New reservation.
9774 (octeon_load_o2): Add octeon3.
9775 (octeon_cop_o2): Likewise.
9776 (octeon_store): Likewise.
9777 (octeon_brj_o2): Likewise.
9778 (octeon_imul3_o2): Likewise.
9779 (octeon_imul_o2): Likewise.
9780 (octeon_mfhilo_o2): Likewise.
9781 (octeon_imadd_o2): Likewise.
9782 (octeon_idiv_o2_si): Likewise.
9783 (octeon_idiv_o2_di): Likewise.
9784 (octeon_fpu): Add to the automaton.
9785 (octeon_fpu): New cpu unit.
9786 (octeon_condmove_o2): Check for non floating point modes.
9787 (octeon_load_o2): Add prefetchx.
9788 (octeon_cop_o2): Don't check for octeon3.
9789 (octeon3_faddsubcvt): New reservation.
9790 (octeon3_fmul): Likewise.
9791 (octeon3_fmadd): Likewise.
9792 (octeon3_div_sf): Likewise.
9793 (octeon3_div_df): Likewise.
9794 (octeon3_sqrt_sf): Likewise.
9795 (octeon3_sqrt_df): Likewise.
9796 (octeon3_rsqrt_sf): Likewise.
9797 (octeon3_rsqrt_df): Likewise.
9798 (octeon3_fabsnegmov): Likewise.
9799 (octeon_fcond): Likewise.
9800 (octeon_fcondmov): Likewise.
9801 (octeon_fpmtc1): Likewise.
9802 (octeon_fpmfc1): Likewise.
9803 (octeon_fpload): Likewise.
9804 (octeon_fpstore): Likewise.
9805 * config/mips/mips-tables.opt: Regenerate.
9806 * doc/invoke.texi (-march=@var{arch}): Add octeon3.
9808 2014-11-03 Zhenqiang Chen <zhenqiang.chen@arm.com>
9810 * ifcvt.c (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
9811 Allow CC mode if HAVE_cbranchcc4.
9813 2014-11-02 Richard Sandiford <richard.sandiford@arm.com>
9815 * config/arc/arc.c (write_ext_corereg_1): Delete.
9816 (arc_write_ext_corereg): Use FOR_EACH_SUBRTX.
9818 2014-11-02 Richard Sandiford <richard.sandiford@arm.com>
9820 * config/arc/arc.c (arc600_corereg_hazard_1): Delete.
9821 (arc600_corereg_hazard): Use FOR_EACH_SUBRTX.
9823 2014-11-02 Richard Sandiford <richard.sandiford@arm.com>
9825 * config/arc/arc.c (arc_rewrite_small_data_p): Constify argument.
9826 (small_data_pattern_1): Delete.
9827 (small_data_pattern): Use FOR_EACH_SUBRTX.
9829 2014-11-02 Richard Sandiford <richard.sandiford@arm.com>
9831 * config/arc/arc.c: Include rtl-iter.h.
9832 (arc_rewrite_small_data_1): Delete.
9833 (arc_rewrite_small_data): Use FOR_EACH_SUBRTX_PTR.
9835 2014-11-02 Michael Collison <michael.collison@linaro.org>
9837 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO) : Update
9838 to support vector modes.
9839 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
9841 2014-11-01 Andrew MacLeod <amacleod@redhat,com>
9843 * optabs.h: Flatten insn-codes.h to source files. Move some prototypes
9844 and structs to genopinit.c. Adjust protyoptypes to match optabs.c.
9845 * genopinit.c (main): Emit prototypes and structs into insn-opinit.h.
9846 * optabs.c: (gen_move_insn): Move to expr.c.
9847 * expr.h: Move protypes and enums to optabs.h.
9848 * expr.c: (gen_move_insn): Relocate from optabs.c.
9849 * genemit.c (main): Include insn-codes.h.
9850 * gengtype.c (open_base_files): Include insn-codes.h.
9851 * asan.c: Include insn-codes.h.
9852 * bb-reorder.c: Ditto.
9853 * builtins.c: Ditto.
9855 * cfgexpand.c: Ditto.
9856 * cilk-common.c: Ditto.
9863 * function.c: Ditto.
9865 * internal-fn.c: Ditto.
9866 * loop-unroll.c: Ditto.
9868 * modulo-sched.c: Ditto.
9870 * postreload.c: Ditto.
9874 * shrink-wrap.c: Ditto.
9875 * simplify-rtx.c: Ditto.
9877 * target-globals.c: Ditto.
9878 * targhooks.c: Ditto.
9880 * tree-if-conv.c: Ditto.
9881 * tree-ssa-forwprop.c: Ditto.
9882 * tree-ssa-loop-prefetch.c: Ditto.
9883 * tree-ssa-math-opts.c: Ditto.
9884 * tree-ssa-phiopt.c: Ditto.
9885 * tree-ssa-reassoc.c: Ditto.
9886 * tree-switch-conversion.c: Ditto.
9887 * tree-vect-data-refs.c: Ditto.
9888 * tree-vect-generic.c: Ditto.
9889 * tree-vect-loop.c: Ditto.
9890 * tree-vect-patterns.c: Ditto.
9891 * tree-vect-slp.c: Ditto.
9892 * tree-vect-stmts.c: Ditto.
9893 * tree-vrp.c: Ditto.
9894 * value-prof.c: Ditto.
9895 * config/aarch64/aarch64-builtins.c: Ditto.
9896 * config/alpha/alpha.c: Ditto.
9897 * config/arm/arm.c: Ditto.
9898 * config/cris/cris.c: Ditto.
9899 * config/epiphany/epiphany.c: Ditto.
9900 * config/frv/frv.c: Ditto.
9901 * config/h8300/h8300.c: Ditto.
9902 * config/ia64/ia64.c: Ditto.
9903 * config/iq2000/iq2000.c: Ditto.
9904 * config/m32c/m32c.c: Ditto.
9905 * config/mep/mep.c: Ditto.
9906 * config/microblaze/microblaze.c: Ditto.
9907 * config/mips/mips.c: Ditto.
9908 * config/mn10300/mn10300.c: Ditto.
9909 * config/moxie/moxie.c: Ditto.
9910 * config/msp430/msp430.c: Ditto.
9911 * config/nios2/nios2.c: Ditto.
9912 * config/pa/pa.c: Ditto.
9913 * config/rl78/rl78.c: Ditto.
9914 * config/rs6000/rs6000.c: Ditto.
9915 * config/rx/rx.c: Ditto.
9916 * config/s390/s390.c: Ditto.
9917 * config/sh/sh.c: Ditto.
9918 * config/sh/sh_treg_combine.cc: Ditto.
9919 * config/spu/spu.c: Ditto.
9920 * config/stormy16/stormy16.c: Ditto.
9921 * config/tilegx/mul-tables.c: Ditto.
9922 * config/tilegx/tilegx.c: Ditto.
9923 * config/tilepro/mul-tables.c: Ditto.
9924 * config/tilepro/tilepro.c: Ditto.
9925 * config/vax/vax.c: Ditto.
9927 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
9929 * doc/tm.texi.in (MOVE_BY_PIECES_P): Remove.
9930 (CLEAR_BY_PIECES_P): Likewise.
9931 (SET_BY_PIECES_P): Likewise.
9932 (STORE_BY_PIECES_P): Likewise.
9933 * doc/tm.texi: Regenerate.
9934 * system.h: Poison MOVE_BY_PIECES_P, CLEAR_BY_PIECES_P,
9935 SET_BY_PIECES_P, STORE_BY_PIECES_P.
9936 * expr.c (MOVE_BY_PIECES_P): Remove.
9937 (CLEAR_BY_PIECES_P): Likewise.
9938 (SET_BY_PIECES_P): Likewise.
9939 (STORE_BY_PIECES_P): Likewise.
9940 (can_move_by_pieces): Rewrite in terms of
9941 targetm.use_by_pieces_infrastructure_p.
9942 (emit_block_move_hints): Likewise.
9943 (can_store_by_pieces): Likewise.
9944 (store_by_pieces): Likewise.
9945 (clear_storage_hints): Likewise.
9946 (emit_push_insn): Likewise.
9947 (expand_constructor): Likewise.
9949 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
9951 * config/aarch64/aarch64.c
9952 (aarch64_use_by_pieces_infrastructre_p): New.
9953 (TARGET_USE_BY_PIECES_INFRASTRUCTURE): Likewise.
9954 * config/aarch64/aarch64.h (STORE_BY_PIECES_P): Delete.
9956 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
9958 * config/mips/mips.h (MOVE_BY_PIECES_P): Remove.
9959 (STORE_BY_PIECES_P): Likewise.
9960 * config/mips/mips.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
9961 (mips_move_by_pieces_p): Rename to...
9962 (mips_use_by_pieces_infrastructure_p): ...this, use new hook
9963 parameters, use the default hook implementation as a
9966 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
9968 * config/sh/sh.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
9969 (sh_use_by_pieces_infrastructure_p): Likewise.
9970 * config/sh/sh.h (MOVE_BY_PIECES_P): Remove.
9971 (STORE_BY_PIECES_P): Likewise.
9972 (SET_BY_PIECES_P): Likewise.
9974 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
9976 * config/arc/arc.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
9977 (arc_use_by_pieces_infrastructure_p): Likewise.
9978 * confir/arc/arc.h (MOVE_BY_PIECES_P): Delete.
9979 (CAN_MOVE_BY_PIECES): Likewise.
9981 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
9983 * config/s390/s390.c (s390_use_by_pieces_infrastructure_p): New.
9984 (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): Likewise.
9985 * config/s390/s390.h (MOVE_BY_PIECES_P): Remove.
9986 (CLEAR_BY_PIECES): Likewise.
9987 (SET_BY_PIECES): Likewise.
9988 (STORE_BY_PIECES): Likewise.
9990 2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
9992 * target.def (use_by_pieces_infrastructure_p): New.
9993 * doc/tm.texi.in (MOVE_BY_PIECES_P): Describe that this macro
9995 (STORE_BY_PIECES_P): Likewise.
9996 (CLEAR_BY_PIECES_P): Likewise.
9997 (SET_BY_PIECES_P): Likewise.
9998 (TARGET_MOVE_BY_PIECES_PROFITABLE_P): Add hook.
9999 * doc/tm.texi: Regenerate.
10000 * expr.c (MOVE_BY_PIECES_P): Rewrite in terms of
10001 TARGET_USE_BY_PIECES_INFRASTRUCTURE_P.
10002 (STORE_BY_PIECES_P): Likewise.
10003 (CLEAR_BY_PIECES_P): Likewise.
10004 (SET_BY_PIECES_P): Likewise.
10005 (STORE_MAX_PIECES): Move to...
10006 * defaults.h (STORE_MAX_PIECES): ...here.
10007 * targhooks.c (get_move_ratio): New.
10008 (default_use_by_pieces_infrastructure_p): Likewise.
10009 * targhooks.h (default_use_by_pieces_infrastructure_p): New.
10010 * target.h (by_pieces_operation): New.
10012 2014-10-31 Uros Bizjak <ubizjak@gmail.com>
10015 * config/i386/i386.c (ix86_expand_args_builtin): Remove extra
10016 assignment to 'nargs' variable.
10018 2014-10-31 Uros Bizjak <ubizjak@gmail.com>
10021 * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): Declare.
10022 * config/i386/i386.c (ix86_use_pseudo_pic_reg): Export.
10023 * config/i386/i386.md (*pushtf): Allow only CONST_DOUBLEs that won't
10024 be reloaded through memory.
10028 2014-10-31 Jakub Jelinek <jakub@redhat.com>
10030 PR rtl-optimization/63659
10031 * ree.c (update_reg_equal_equiv_notes): New function.
10032 (combine_set_extension, transform_ifelse): Use it.
10034 2014-10-31 Jeff Law <law@redhat.com>
10036 * doc/contrib.texi: Add contribution notes for Balaji Iyer (Cilk+)
10037 and Jonny Grant (collect2).
10039 2014-10-31 Richard Biener <rguenther@suse.de>
10041 * builtins.c (fold_builtin_atomic_always_lock_free): Use
10042 CONVERT_EXPR_P, CONVERT_EXPR_CODE_P and CASE_CONVERT where
10044 (fold_builtin_expect): Likewise.
10045 (integer_valued_real_p): Likewise.
10046 * cfgexpand.c (expand_debug_expr): Likewise.
10047 * ipa-inline-analysis.c (eliminated_by_inlining_prob): Likewise.
10048 (find_foldable_builtin_expect): Likewise.
10049 * trans-mem.c (thread_private_new_memory): Likewise.
10050 * tree-affine.c (aff_combination_expand): Likewise.
10051 * tree-data-ref.c (initialize_matrix_A): Likewise.
10052 * tree-inline.c (copy_bb): Likewise.
10053 * tree-pretty-print.c (dump_function_name): Likewise.
10054 (print_call_name): Likewise.
10055 * tree-ssa-forwprop.c (constant_pointer_difference): Likewise.
10056 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise.
10057 * tree-vect-generic.c (expand_vector_operations_1): Likewise.
10058 * tree-vect-patterns.c (vect_handle_widen_op_by_const): Likewise.
10059 (vect_recog_widen_mult_pattern): Likewise.
10060 (vect_operation_fits_smaller_type): Likewise.
10061 * tree-vrp.c (find_assert_locations_1): Likewise.
10062 * tree-ssa-dom.c (initialize_hash_element): Canonicalize
10063 converts to NOP_EXPR.
10065 2014-10-31 Richard Biener <rguenther@suse.de>
10067 * genmatch.c (expr::gen_transform): Use NOP_EXPRs instead of
10068 CONVERT_EXPRs in generated code.
10069 (dt_simplify::gen): Likewise.
10071 2014-10-31 Evgeny Stupachenko <evstupac@gmail.com>
10074 * config/i386/i386.c (ix86_init_pic_reg): Emit SET_GOT to
10075 REAL_PIC_OFFSET_TABLE_REGNUM for mcount profiling.
10076 (ix86_save_reg): Save REAL_PIC_OFFSET_TABLE_REGNUM when profiling
10077 using mcount in 32bit PIC mode.
10078 (ix86_elim_entry_set_got): New.
10079 (ix86_expand_prologue): For the mcount profiling emit new SET_GOT
10080 in PROLOGUE, delete initial if possible.
10082 2014-10-31 Eric Botcazou <ebotcazou@adacore.com>
10084 * ipa-inline.c (want_inline_small_function_p): Fix typo and formatting.
10085 (want_inline_function_to_all_callers_p): Fix formatting and simplify.
10087 2014-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
10089 PR tree-optimization/63259
10090 * tree-ssa-math-opts.c (bswap_replace): Replace expression by a
10091 rotation left if it is a 16 bit byte swap.
10092 (pass_optimize_bswap::execute): Also consider bswap in LROTATE_EXPR
10093 and RROTATE_EXPR statements if it is a byte rotation.
10095 2014-10-31 Jakub Jelinek <jakub@redhat.com>
10098 * tree-vrp.c (simplify_internal_call_using_ranges): For subcode ==
10099 MINUS_EXPR, check overflow on vr0.min - vr1.max and vr0.max - vr1.min
10100 instead of vr0.min - vr1.min and vr0.max - vr1.max.
10102 2014-10-31 Max Ostapenko <m.ostapenko@partner.samsung.com>
10105 * ipa-icf.c (sem_function::~sem_function): Change free to delete
10106 to avoid alloc-dealloc mismatch with new, called in
10107 ipa_icf::sem_function::init.
10109 2014-10-30 Felix Yang <felix.yang@huawei.com>
10111 * config/xtensa/xtensa.h (TARGET_LOOPS): New Macro.
10112 * config/xtensa/xtensa.c: Include dumpfile.h and hw-doloop.h.
10113 (xtensa_reorg, xtensa_reorg_loops): New.
10114 (xtensa_can_use_doloop_p, xtensa_invalid_within_doloop): New.
10115 (hwloop_optimize, hwloop_fail, hwloop_pattern_reg): New.
10116 (xtensa_emit_loop_end): Emit the zero-overhead loop end label.
10117 (xtensa_doloop_hooks): Define.
10118 * config/xtensa/xtensa.md (doloop_end, loop_end): New
10119 (zero_cost_loop_start): Rewritten.
10120 (zero_cost_loop_end): Likewise.
10122 2014-10-30 Steve Ellcey <sellcey@imgtec.com>
10124 * config.gcc (mips*-*-linux*): Combine 32 and 64 bit cases.
10126 2014-10-30 Richard Biener <rguenther@suse.de>
10128 * genmatch.c: Remove <map>, <utility> and <string> includes.
10129 Include ggc.h and hash-map.h.
10130 (ggc_internal_cleared_alloc): Provide stub definition.
10131 (ggc_free): Likewise.
10132 (struct capture_id_map_hasher): New traits for hash_map.
10133 (cid_map_t): New typedef.
10134 (everywhere else): Replace std::map use with cid_map_t.
10135 * hash-map.h (hash_map::elements): New member function.
10136 * Makefile.in (build/genmatch.o): Add $(HASH_TABLE_H),
10137 hash-map.h and $(GGC_H) as dependency.
10139 2014-10-30 Richard Biener <rguenther@suse.de>
10141 * genmatch.c (capture_info::walk_c_expr): Ignore capture
10142 uses inside TREE_TYPE ().
10143 * gimple-ssa-strength-reduction.c (stmt_cost): Use CASE_CONVERT.
10144 (find_candidates_dom_walker::before_dom_children): Likewise.
10145 (replace_mult_candidate): Use CONVERT_EXPR_CODE_P.
10146 (replace_profitable_candidates): Likewise.
10147 * tree-ssa-dom.c (initialize_hash_element): Canonicalize
10148 CONVERT_EXPR_CODE_P to CONVERT_EXPR.
10149 * convert.c (convert_to_integer): Use CASE_CONVERT.
10151 2014-10-30 Richard Biener <rguenther@suse.de>
10153 * match.pd: Implement more patterns that simplify to a single value.
10154 * fold-const.c (fold_binary_loc): Remove them here.
10155 * tree-ssa-forwprop.c (simplify_bitwise_binary): Likewise.
10156 (fwprop_ssa_val): Remove restriction on single uses.
10158 2014-10-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>
10160 * config/avr/driver-avr.c (avr_set_current_device): Remove.
10162 2014-10-30 Martin Liska <mliska@suse.cz>
10166 * ipa-icf-gimple.c (func_checker::parse_labels): Missing comment added.
10167 (func_checker::compare_gimple_label): Simlified comparison introduced.
10168 * ipa-icf-gimple.h: Missing comment added.
10170 2014-10-30 Jeff Law <law@redhat.com>
10172 * config/pa/pa-protos.h (pa_output_arg_descriptor): Strengthen
10173 argument from rtx to rtx_insn *.
10174 (compute_movmem_length, compute_clrmem_length): Likewise.
10175 (copy_fp_args, length_fp_args): Likewise.
10176 * config/pa/pa.c (legitimize_pic_address): Promote local variable
10177 "insn" from rtx to rtx_insn *.
10178 (legitimize_tls_address, pa_emit_move_sequence): Likewise.
10179 (pa_output_block_move, store_reg, store_reg_modify): Likewise.
10180 (set_reg_plus_d, pa_expand_prologue, hppa_profile_hook): Likewise.
10181 (branch_to_delay_slot_p, branch_needs_nop_p, use_skip_p): Likewise.
10182 (pa_output_arg_descriptor): Strengthen argument to an rtx_insn *.
10183 (compute_movmem_length, compute_clrmem_length): Likewise.
10184 (copy_fp-args, length_fp_args): Likewise.
10186 2014-10-29 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
10188 * config/arm/arm.h (MACHMODE): Treat machine_mode as a
10190 (CUMULATIVE_ARGS): Guard against target includes.
10191 (machine_function): Likewise.
10193 2014-10-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
10195 * config/aarch64/aarch64.c (aarch64_madd_needs_nop): Restore
10196 recog state after aarch64_prev_real_insn call.
10198 2014-10-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
10200 * config/aarch64/aarch64.h (MACHMODE): Add 'enum' to machine_mode.
10202 2014-10-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
10204 * config/arm/arm.h (MACHMODE): Add 'enum' to machine_mode.
10205 (struct machine_function): Gate definition on
10206 !defined(USED_FOR_TARGET).
10208 2014-10-29 DJ Delorie <dj@redhat.com>
10210 * expmed.c (strict_volatile_bitfield_p): Fix off-by-one error.
10212 2014-10-29 Martin Liska <mliska@suse.cz>
10215 * cgraphunit.c (cgraph_node::expand_thunk): Only VAR_DECLs are put
10216 to local declarations.
10217 * function.c (add_local_decl): Implementation moved from header
10218 file, assert introduced for tree type.
10219 * function.h: Likewise.
10221 2014-10-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
10223 * godump.c (go_format_type): Represent "float _Complex" and
10224 "double _Complex" as complex64 or complex128 in Go, as appropriate.
10226 2014-10-29 Richard Biener <rguenther@suse.de>
10228 * match.pd: Implement a first set of conversion patterns.
10229 * fold-const.c (fold_unary_loc): Remove them here.
10230 * tree-ssa-forwprop.c (simplify_vce): Remove.
10231 (pass_forwprop::execute): Do not call simplify_vce.
10233 2014-10-29 Richard Sandiford <richard.sandiford@arm.com>
10235 * addresses.h, alias.c, asan.c, auto-inc-dec.c, bt-load.c, builtins.c,
10236 builtins.h, caller-save.c, calls.c, calls.h, cfgexpand.c, cfgloop.h,
10237 cfgrtl.c, combine.c, compare-elim.c, config/aarch64/aarch64-builtins.c,
10238 config/aarch64/aarch64-protos.h, config/aarch64/aarch64-simd.md,
10239 config/aarch64/aarch64.c, config/aarch64/aarch64.h,
10240 config/aarch64/aarch64.md, config/alpha/alpha-protos.h,
10241 config/alpha/alpha.c, config/arc/arc-protos.h, config/arc/arc.c,
10242 config/arc/arc.h, config/arc/predicates.md,
10243 config/arm/aarch-common-protos.h, config/arm/aarch-common.c,
10244 config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
10245 config/arm/arm.md, config/arm/neon.md, config/arm/thumb2.md,
10246 config/avr/avr-log.c, config/avr/avr-protos.h, config/avr/avr.c,
10247 config/avr/avr.md, config/bfin/bfin-protos.h, config/bfin/bfin.c,
10248 config/c6x/c6x-protos.h, config/c6x/c6x.c, config/c6x/c6x.md,
10249 config/cr16/cr16-protos.h, config/cr16/cr16.c,
10250 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.md,
10251 config/darwin-protos.h, config/darwin.c,
10252 config/epiphany/epiphany-protos.h, config/epiphany/epiphany.c,
10253 config/epiphany/epiphany.md, config/fr30/fr30.c,
10254 config/frv/frv-protos.h, config/frv/frv.c, config/frv/predicates.md,
10255 config/h8300/h8300-protos.h, config/h8300/h8300.c,
10256 config/i386/i386-builtin-types.awk, config/i386/i386-protos.h,
10257 config/i386/i386.c, config/i386/i386.md, config/i386/predicates.md,
10258 config/i386/sse.md, config/i386/sync.md, config/ia64/ia64-protos.h,
10259 config/ia64/ia64.c, config/iq2000/iq2000-protos.h,
10260 config/iq2000/iq2000.c, config/iq2000/iq2000.md,
10261 config/lm32/lm32-protos.h, config/lm32/lm32.c,
10262 config/m32c/m32c-protos.h, config/m32c/m32c.c,
10263 config/m32r/m32r-protos.h, config/m32r/m32r.c,
10264 config/m68k/m68k-protos.h, config/m68k/m68k.c,
10265 config/mcore/mcore-protos.h, config/mcore/mcore.c,
10266 config/mcore/mcore.md, config/mep/mep-protos.h, config/mep/mep.c,
10267 config/microblaze/microblaze-protos.h, config/microblaze/microblaze.c,
10268 config/mips/mips-protos.h, config/mips/mips.c,
10269 config/mmix/mmix-protos.h, config/mmix/mmix.c,
10270 config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
10271 config/moxie/moxie.c, config/msp430/msp430-protos.h,
10272 config/msp430/msp430.c, config/nds32/nds32-cost.c,
10273 config/nds32/nds32-intrinsic.c, config/nds32/nds32-md-auxiliary.c,
10274 config/nds32/nds32-protos.h, config/nds32/nds32.c,
10275 config/nios2/nios2-protos.h, config/nios2/nios2.c,
10276 config/pa/pa-protos.h, config/pa/pa.c, config/pdp11/pdp11-protos.h,
10277 config/pdp11/pdp11.c, config/rl78/rl78-protos.h, config/rl78/rl78.c,
10278 config/rs6000/altivec.md, config/rs6000/rs6000-c.c,
10279 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
10280 config/rs6000/rs6000.h, config/rx/rx-protos.h, config/rx/rx.c,
10281 config/s390/predicates.md, config/s390/s390-protos.h,
10282 config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
10283 config/sh/predicates.md, config/sh/sh-protos.h, config/sh/sh.c,
10284 config/sh/sh.md, config/sparc/predicates.md,
10285 config/sparc/sparc-protos.h, config/sparc/sparc.c,
10286 config/sparc/sparc.md, config/spu/spu-protos.h, config/spu/spu.c,
10287 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
10288 config/tilegx/tilegx-protos.h, config/tilegx/tilegx.c,
10289 config/tilegx/tilegx.md, config/tilepro/tilepro-protos.h,
10290 config/tilepro/tilepro.c, config/v850/v850-protos.h,
10291 config/v850/v850.c, config/v850/v850.md, config/vax/vax-protos.h,
10292 config/vax/vax.c, config/vms/vms-c.c, config/xtensa/xtensa-protos.h,
10293 config/xtensa/xtensa.c, coverage.c, cprop.c, cse.c, cselib.c, cselib.h,
10294 dbxout.c, ddg.c, df-problems.c, dfp.c, dfp.h, doc/md.texi,
10295 doc/rtl.texi, doc/tm.texi, doc/tm.texi.in, dojump.c, dse.c,
10296 dwarf2cfi.c, dwarf2out.c, dwarf2out.h, emit-rtl.c, emit-rtl.h,
10297 except.c, explow.c, expmed.c, expmed.h, expr.c, expr.h, final.c,
10298 fixed-value.c, fixed-value.h, fold-const.c, function.c, function.h,
10299 fwprop.c, gcse.c, gengenrtl.c, genmodes.c, genopinit.c, genoutput.c,
10300 genpreds.c, genrecog.c, gensupport.c, gimple-ssa-strength-reduction.c,
10301 graphite-clast-to-gimple.c, haifa-sched.c, hooks.c, hooks.h, ifcvt.c,
10302 internal-fn.c, ira-build.c, ira-color.c, ira-conflicts.c, ira-costs.c,
10303 ira-emit.c, ira-int.h, ira-lives.c, ira.c, ira.h, jump.c, langhooks.h,
10304 libfuncs.h, lists.c, loop-doloop.c, loop-invariant.c, loop-iv.c,
10305 loop-unroll.c, lower-subreg.c, lower-subreg.h, lra-assigns.c,
10306 lra-constraints.c, lra-eliminations.c, lra-int.h, lra-lives.c,
10307 lra-spills.c, lra.c, lra.h, machmode.h, omp-low.c, optabs.c, optabs.h,
10308 output.h, postreload.c, print-tree.c, read-rtl.c, real.c, real.h,
10309 recog.c, recog.h, ree.c, reg-stack.c, regcprop.c, reginfo.c,
10310 regrename.c, regs.h, reload.c, reload.h, reload1.c, rtl.c, rtl.h,
10311 rtlanal.c, rtlhash.c, rtlhooks-def.h, rtlhooks.c, sched-deps.c,
10312 sel-sched-dump.c, sel-sched-ir.c, sel-sched-ir.h, sel-sched.c,
10313 simplify-rtx.c, stmt.c, stor-layout.c, stor-layout.h, target.def,
10314 targhooks.c, targhooks.h, tree-affine.c, tree-call-cdce.c,
10315 tree-complex.c, tree-data-ref.c, tree-dfa.c, tree-if-conv.c,
10316 tree-inline.c, tree-outof-ssa.c, tree-scalar-evolution.c,
10317 tree-ssa-address.c, tree-ssa-ccp.c, tree-ssa-loop-ivopts.c,
10318 tree-ssa-loop-ivopts.h, tree-ssa-loop-manip.c,
10319 tree-ssa-loop-prefetch.c, tree-ssa-math-opts.c, tree-ssa-reassoc.c,
10320 tree-ssa-sccvn.c, tree-streamer-in.c, tree-switch-conversion.c,
10321 tree-vect-data-refs.c, tree-vect-generic.c, tree-vect-loop.c,
10322 tree-vect-patterns.c, tree-vect-slp.c, tree-vect-stmts.c,
10323 tree-vrp.c, tree.c, tree.h, tsan.c, ubsan.c, valtrack.c,
10324 var-tracking.c, varasm.c: Remove redundant enum from
10326 * gengtype.c (main): Treat machine_mode as a scalar typedef.
10327 * genmodes.c (emit_insn_modes_h): Hide inline functions if
10330 2014-10-29 Richard Sandiford <richard.sandiford@arm.com>
10332 PR rtl-optimization/63340 (part 2)
10333 * rtl.h (invalid_mode_change_p): Delete.
10334 (valid_mode_changes_for_regno): New function.
10335 * reginfo.c (invalid_mode_change_p): Delete.
10336 (valid_mode_changes_for_regno): New function.
10337 * ira-costs.c (setup_regno_cost_classes_by_aclass): Restrict the
10338 classes to registers that are allowed by valid_mode_changes_for_regno.
10339 (setup_regno_cost_classes_by_mode): Likewise.
10340 (print_allocno_costs): Remove invalid_mode_change_p test.
10341 (print_pseudo_costs, find_costs_and_classes): Likewise.
10343 2014-10-29 Richard Sandiford <richard.sandiford@arm.com>
10345 PR rtl-optimization/63340 (part 1)
10346 * ira-costs.c (all_cost_classes): New variable.
10347 (complete_cost_classes): New function, split out from...
10348 (setup_cost_classes): ...here.
10349 (initiate_regno_cost_classes): Set up all_cost_classes.
10350 (restrict_cost_classes): New function.
10351 (setup_regno_cost_classes_by_aclass): Restrict the cost classes to
10352 registers that are valid for the register's mode.
10353 (setup_regno_cost_classes_by_mode): Model the mode cache as a
10354 restriction of all_cost_classes to a particular mode.
10355 (print_allocno_costs): Remove contains_reg_of_mode check.
10356 (print_pseudo_costs, find_costs_and_classes): Likewise.
10358 2014-10-29 Richard Biener <rguenther@suse.de>
10360 PR tree-optimization/63666
10361 * tree-vect-slp.c (vect_get_mask_element): Properly handle
10362 accessing out-of-bound elements.
10364 2014-10-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
10365 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10366 Anna Tikhonova <anna.tikhonova@intel.com>
10367 Ilya Tocar <ilya.tocar@intel.com>
10368 Andrey Turetskiy <andrey.turetskiy@intel.com>
10369 Ilya Verbin <ilya.verbin@intel.com>
10370 Kirill Yukhin <kirill.yukhin@intel.com>
10371 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10373 * config/i386/i386.md
10374 (movhi_internal): Always detect maskmov.
10375 (movqi_internal): Fix target check.
10377 2014-10-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
10378 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10379 Anna Tikhonova <anna.tikhonova@intel.com>
10380 Ilya Tocar <ilya.tocar@intel.com>
10381 Andrey Turetskiy <andrey.turetskiy@intel.com>
10382 Ilya Verbin <ilya.verbin@intel.com>
10383 Kirill Yukhin <kirill.yukhin@intel.com>
10384 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10386 * config/i386/avx512bwintrin.h: Add new intrinsics.
10387 * config/i386/avx512vlbwintrin.h: Ditto.
10388 * config/i386/avx512vlintrin.h: Ditto.
10390 2014-10-28 Dominik Vogt <vogt@linux.vnet.ibm.com>
10392 * godump.c (precision_to_units): New helper function.
10393 (go_append_artificial_name): Ditto.
10394 (go_append_decl_name): Ditto.
10395 (go_append_bitfield): Ditto.
10396 (go_get_uinttype_for_precision): Ditto.
10397 (go_append_padding): Ditto.
10398 (go_force_record_alignment): Ditto.
10399 (go_format_type): Represent unions with an array of uints of the size
10400 of the alignment in go. This fixes the 'random' size of the union's
10401 representation using just the first field.
10402 (go_format_type): Add argument that indicates whether a record is
10403 nested (used for generation of artificial go names).
10404 (go_output_fndecl): Adapt to new go_format_type signature.
10405 (go_output_typedef): Ditto.
10406 (go_output_var): Ditto.
10407 (go_output_var): Prefer to output type as alias (typedef).
10408 (go_format_type): Bitfields in records are simulated as arrays of bytes
10411 * godump.c (go_format_type): Fix handling of arrays with zero elements.
10413 2014-10-28 Andrew MacLeod <amacleod@redhat.com>
10415 * cgraph.h: Flatten. Remove all include files.
10416 (symbol_table::initialize): Move to cgraph.c.
10417 * cgraph.c: Adjust include files.
10418 (symbol_table::initialize): Relocate from cgraph.h.
10419 * gengtype.c (open_base_files): Adjust include files.
10420 * gccplugin.h: Add hash-map.h, is-a.h, plugin-api.h, and ipa-ref.h to
10422 * ipa-inline.h: Remove all include files.
10423 * ipa-prop.h: Ditto.
10424 * ipa-reference.h: Ditto.
10425 * ipa-utils.h: Ditto:
10426 * lto-streamer.h: Remove cgraph.h from include list.
10427 * asan.c: Adjust include files.
10428 * auto-profile.c: Ditto.
10429 * bb-reorder.c: Ditto.
10431 * cfgexpand.c: Ditto.
10432 * cgraphbuild.c: Ditto.
10433 * cgraphclones.c: Ditto.
10434 * cgraphunit.c: Ditto.
10435 * combine.c: Ditto.
10436 * coverage.c: Ditto.
10437 * data-streamer.c: Ditto.
10438 * data-streamer-in.c: Ditto.
10439 * data-streamer-out.c: Ditto.
10441 * dwarf2out.c: Ditto.
10445 * fold-const.c: Ditto.
10446 * ggc-page.c: Ditto.
10447 * gimple-fold.c: Ditto.
10448 * gimple-iterator.c: Ditto.
10449 * gimple-pretty-print.c: Ditto.
10450 * gimple-streamer-in.c: Ditto.
10451 * gimple-streamer-out.c: Ditto.
10452 * gimplify.c: Ditto.
10454 * ipa-comdats.c: Ditto.
10456 * ipa-devirt.c: Ditto.
10457 * ipa-icf.c: Ditto.
10458 * ipa-icf-gimple.c: Ditto.
10459 * ipa-inline-analysis.c: Ditto.
10460 * ipa-inline.c: Ditto.
10461 * ipa-inline-transform.c: Ditto.
10462 * ipa-polymorphic-call.c: Ditto.
10463 * ipa-profile.c: Ditto.
10464 * ipa-prop.c: Ditto.
10465 * ipa-pure-const.c: Ditto.
10466 * ipa-ref.c: Ditto.
10467 * ipa-reference.c: Ditto.
10468 * ipa-split.c: Ditto.
10469 * ipa-utils.c: Ditto.
10470 * ipa-visibility.c: Ditto.
10471 * langhooks.c: Ditto.
10472 * lto-cgraph.c: Ditto.
10473 * lto-compress.c: Ditto.
10474 * lto-opts.c: Ditto.
10475 * lto-section-in.c: Ditto.
10476 * lto-section-out.c: Ditto.
10477 * lto-streamer.c: Ditto.
10478 * lto-streamer-in.c: Ditto.
10479 * lto-streamer-out.c: Ditto.
10480 * omp-low.c: Ditto.
10481 * opts-global.c: Ditto.
10483 * predict.c: Ditto.
10484 * print-tree.c: Ditto.
10485 * profile.c: Ditto.
10487 * stor-layout.c: Ditto.
10490 * trans-mem.c: Ditto.
10492 * tree-cfg.c: Ditto.
10493 * tree-eh.c: Ditto.
10494 * tree-emutls.c: Ditto.
10495 * tree-inline.c: Ditto.
10496 * tree-nested.c: Ditto.
10497 * tree-pretty-print.c: Ditto.
10498 * tree-profile.c: Ditto.
10499 * tree-sra.c: Ditto.
10500 * tree-ssa-alias.c: Ditto.
10501 * tree-ssa-loop-ivcanon.c: Ditto.
10502 * tree-ssa-loop-ivopts.c: Ditto.
10503 * tree-ssa-pre.c: Ditto.
10504 * tree-ssa-structalias.c: Ditto.
10505 * tree-streamer.c: Ditto.
10506 * tree-streamer-in.c: Ditto.
10507 * tree-streamer-out.c: Ditto.
10508 * tree-switch-conversion.c: Ditto.
10509 * tree-tailcall.c: Ditto.
10510 * tree-vect-data-refs.c: Ditto.
10511 * tree-vectorizer.c: Ditto.
10512 * tree-vect-stmts.c: Ditto.
10515 * value-prof.c: Ditto.
10517 * varpool.c: Ditto.
10518 * config/arm/arm.c: Ditto.
10519 * config/bfin/bfin.c: Ditto.
10520 * config/c6x/c6x.c: Ditto.
10521 * config/cris/cris.c: Ditto.
10522 * config/darwin.c: Ditto.
10523 * config/darwin-c.c: Ditto.
10524 * config/i386/i386.c: Ditto.
10525 * config/i386/winnt.c: Ditto.
10526 * config/microblaze/microblaze.c: Ditto.
10527 * config/mips/mips.c: Ditto.
10528 * config/rs6000/rs6000.c: Ditto.
10529 * config/rx/rx.c: Ditto.
10531 2014-10-28 Richard Biener <rguenther@suse.de>
10533 * gimple-fold.h (follow_single_use_edges): Declare.
10534 * gimple-fold.c (follow_single_use_edges): New function.
10535 (gimple_fold_stmt_to_constant_1): Dispatch to gimple_simplify.
10536 * tree-ssa-propagate.c
10537 (substitute_and_fold_dom_walker::before_dom_children): Allow
10538 following single-use edges when folding stmts we propagated into.
10540 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
10541 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10542 Anna Tikhonova <anna.tikhonova@intel.com>
10543 Ilya Tocar <ilya.tocar@intel.com>
10544 Andrey Turetskiy <andrey.turetskiy@intel.com>
10545 Ilya Verbin <ilya.verbin@intel.com>
10546 Kirill Yukhin <kirill.yukhin@intel.com>
10547 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10549 * config/i386/avx512bwintrin.h: New.
10550 * config/i386/avx512dqintrin.h: Ditto.
10551 * config/i386/avx512vlbwintrin.h: Ditto.
10552 * config/i386/avx512vldqintrin.h: Ditto.
10553 * config/i386/avx512vlintrin.h: Ditto.
10554 * config/i386/immintrin.h: Include avx512vlintrin.h, avx512bwintrin.h,
10555 avx512dqintrin.h, avx512vlbwintrin.h, avx512vldqintrin.h.
10557 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
10558 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10559 Anna Tikhonova <anna.tikhonova@intel.com>
10560 Ilya Tocar <ilya.tocar@intel.com>
10561 Andrey Turetskiy <andrey.turetskiy@intel.com>
10562 Ilya Verbin <ilya.verbin@intel.com>
10563 Kirill Yukhin <kirill.yukhin@intel.com>
10564 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10566 * config/i386/i386.c
10567 (ix86_expand_args_builtin): Handle avx_vpermilv4df_mask,
10568 avx_shufpd256_mask, avx_vpermilv2df_mask.
10570 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
10571 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10572 Anna Tikhonova <anna.tikhonova@intel.com>
10573 Ilya Tocar <ilya.tocar@intel.com>
10574 Andrey Turetskiy <andrey.turetskiy@intel.com>
10575 Ilya Verbin <ilya.verbin@intel.com>
10576 Kirill Yukhin <kirill.yukhin@intel.com>
10577 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10579 * config/i386/i386.c
10580 (ix86_init_mmx_sse_builtins):
10581 Define __builtin_ia32_gather3siv2df, __builtin_ia32_gather3siv4df,
10582 __builtin_ia32_gather3div2df, __builtin_ia32_gather3div4df,
10583 __builtin_ia32_gather3siv4sf, __builtin_ia32_gather3siv8sf,
10584 __builtin_ia32_gather3div4sf, __builtin_ia32_gather3div8sf,
10585 __builtin_ia32_gather3siv2di, __builtin_ia32_gather3siv4di,
10586 __builtin_ia32_gather3div2di, __builtin_ia32_gather3div4di,
10587 __builtin_ia32_gather3siv4si, __builtin_ia32_gather3siv8si,
10588 __builtin_ia32_gather3div4si, __builtin_ia32_gather3div8si,
10589 __builtin_ia32_gather3altsiv4df, __builtin_ia32_gather3altdiv8sf,
10590 __builtin_ia32_gather3altsiv4di, __builtin_ia32_gather3altdiv8si,
10591 __builtin_ia32_scattersiv8sf, __builtin_ia32_scattersiv4sf,
10592 __builtin_ia32_scattersiv4df, __builtin_ia32_scattersiv2df,
10593 __builtin_ia32_scatterdiv8sf, __builtin_ia32_scatterdiv4sf,
10594 __builtin_ia32_scatterdiv4df, __builtin_ia32_scatterdiv2df,
10595 __builtin_ia32_scattersiv8si, __builtin_ia32_scattersiv4si,
10596 __builtin_ia32_scattersiv4di, __builtin_ia32_scattersiv2di,
10597 __builtin_ia32_scatterdiv8si, __builtin_ia32_scatterdiv4si,
10598 __builtin_ia32_scatterdiv4di, __builtin_ia32_scatterdiv2di.
10600 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
10601 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10602 Anna Tikhonova <anna.tikhonova@intel.com>
10603 Ilya Tocar <ilya.tocar@intel.com>
10604 Andrey Turetskiy <andrey.turetskiy@intel.com>
10605 Ilya Verbin <ilya.verbin@intel.com>
10606 Kirill Yukhin <kirill.yukhin@intel.com>
10607 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10609 * config/i386/i386.c
10610 (ix86_builtins): Add IX86_BUILTIN_GATHER3ALTSIV4DF,
10611 IX86_BUILTIN_GATHER3ALTDIV8SF, IX86_BUILTIN_GATHER3ALTSIV4DI,
10612 IX86_BUILTIN_GATHER3ALTDIV8SI.
10613 (ix86_expand_builtin):
10614 Handle IX86_BUILTIN_GATHER3ALTDIV8SF, IX86_BUILTIN_GATHER3ALTDIV8SI,
10615 IX86_BUILTIN_SCATTERSIV4DF, IX86_BUILTIN_SCATTERSIV4DI,
10616 IX86_BUILTIN_SCATTERDIV2DF, IX86_BUILTIN_SCATTERDIV4DF,
10617 IX86_BUILTIN_GATHER3ALTSIV4DI, IX86_BUILTIN_GATHER3ALTSIV4DF,
10618 IX86_BUILTIN_SCATTERDIV4DI, IX86_BUILTIN_SCATTERDIV2DI,
10619 IX86_BUILTIN_GATHER3SIV8SI, IX86_BUILTIN_GATHER3DIV8SI,
10620 IX86_BUILTIN_GATHER3SIV4DF, IX86_BUILTIN_GATHER3SIV4DI,
10621 IX86_BUILTIN_GATHER3DIV8SF, IX86_BUILTIN_GATHER3SIV8SF,
10622 IX86_BUILTIN_GATHER3DIV4DF, IX86_BUILTIN_GATHER3DIV2DF,
10623 IX86_BUILTIN_GATHER3DIV2DI, IX86_BUILTIN_GATHER3DIV4DI,
10624 IX86_BUILTIN_SCATTERDIV4SF, IX86_BUILTIN_SCATTERSIV2DI,
10625 IX86_BUILTIN_GATHER3SIV2DI, IX86_BUILTIN_GATHER3SIV4SI,
10626 IX86_BUILTIN_GATHER3SIV4SF, IX86_BUILTIN_GATHER3SIV2DF,
10627 IX86_BUILTIN_SCATTERSIV2DF, IX86_BUILTIN_SCATTERDIV4SI,
10628 IX86_BUILTIN_SCATTERSIV4SF, IX86_BUILTIN_SCATTERSIV4SI,
10629 IX86_BUILTIN_SCATTERDIV8SI, IX86_BUILTIN_GATHER3DIV4SI,
10630 IX86_BUILTIN_SCATTERSIV8SI, IX86_BUILTIN_SCATTERSIV8SF,
10631 IX86_BUILTIN_GATHER3DIV4SF, IX86_BUILTIN_SCATTERDIV8SF.
10632 (ix86_vectorize_builtin_gather): Update V2DFmode, V4DFmode, V2DImode,
10633 V4DImode, V4SFmode, V8SFmode, V4SImode, V8SImode.
10635 2014-10-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
10636 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
10637 Anna Tikhonova <anna.tikhonova@intel.com>
10638 Ilya Tocar <ilya.tocar@intel.com>
10639 Andrey Turetskiy <andrey.turetskiy@intel.com>
10640 Ilya Verbin <ilya.verbin@intel.com>
10641 Kirill Yukhin <kirill.yukhin@intel.com>
10642 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
10644 * config/i386/i386-builtin-types.def
10663 (V4SF_FTYPE_V2DF_V4SF_QI): Ditto.
10664 (V4SF_FTYPE_V4DF_V4SF_QI): Ditto.
10665 (V4SF_FTYPE_V8HI_V4SF_QI): Ditto.
10666 (V8SF_FTYPE_V8HI_V8SF_QI): Ditto.
10667 (V16SF_FTYPE_V16HI): Ditto.
10668 (V16SF_FTYPE_V16HI_V16SF_HI): Ditto.
10669 (V16SF_FTYPE_V16SI): Ditto.
10670 (V4DI_FTYPE_V4DI): Ditto.
10671 (V16SI_FTYPE_V16SF): Ditto.
10672 (V8DI_FTYPE_PV2DI): Ditto.
10673 (V8DF_FTYPE_PV2DF): Ditto.
10674 (V4DI_FTYPE_PV2DI): Ditto.
10675 (V4DF_FTYPE_PV2DF): Ditto.
10676 (V16SI_FTYPE_PV2SI): Ditto.
10677 (V16SF_FTYPE_PV2SF): Ditto.
10678 (V8SF_FTYPE_FLOAT): Ditto.
10679 (V4SF_FTYPE_FLOAT): Ditto.
10680 (V4DF_FTYPE_DOUBLE): Ditto.
10681 (V8SF_FTYPE_PV4SF): Ditto.
10682 (V8SI_FTYPE_PV4SI): Ditto.
10683 (V4SI_FTYPE_PV2SI): Ditto.
10684 (V8SF_FTYPE_PV2SF): Ditto.
10685 (V8SI_FTYPE_PV2SI): Ditto.
10686 (V16SF_FTYPE_PV8SF): Ditto.
10687 (V16SI_FTYPE_PV8SI): Ditto.
10688 (V8DI_FTYPE_V8SF): Ditto.
10689 (V4DI_FTYPE_V4SF): Ditto.
10690 (V2DI_FTYPE_V4SF): Ditto.
10691 (V64QI_FTYPE_QI): Ditto.
10692 (V32HI_FTYPE_HI): Ditto.
10693 (V16UHI_FTYPE_V16UHI): Ditto.
10694 (V32UHI_FTYPE_V32UHI): Ditto.
10695 (V2UDI_FTYPE_V2UDI): Ditto.
10696 (V4UDI_FTYPE_V4UDI): Ditto.
10697 (V8UDI_FTYPE_V8UDI): Ditto.
10698 (V4USI_FTYPE_V4USI): Ditto.
10699 (V16USI_FTYPE_V16USI): Ditto.
10700 (V2DF_FTYPE_V4DF_INT_V2DF_QI): Ditto.
10701 (V2DF_FTYPE_V8DF_INT): Ditto.
10702 (V2DF_FTYPE_V8DF_INT_V2DF_QI): Ditto.
10703 (V2DI_FTYPE_V2DI_INT_V2DI_QI): Ditto.
10704 (V8DF_FTYPE_V8DF_INT): Ditto.
10705 (V4SF_FTYPE_V8SF_INT_V4SF_QI): Ditto.
10706 (V4SI_FTYPE_V2DF_V4SI_QI): Ditto.
10707 (V4SI_FTYPE_V4SI_INT_V4SI_QI): Ditto.
10708 (V4SI_FTYPE_V8HI_V8HI_V4SI_QI): Ditto.
10709 (V4SI_FTYPE_V8SI_INT_V4SI_QI): Ditto.
10710 (V8HI_FTYPE_V16QI_V16QI_V8HI_QI): Ditto.
10711 (V8DI_FTYPE_V8DI_INT): Ditto.
10712 (V8HI_FTYPE_V8SF_INT_V8HI_QI): Ditto.
10713 (V8HI_FTYPE_V4SF_INT_V8HI_QI): Ditto.
10714 (V8SF_FTYPE_V16SF_INT): Ditto.
10715 (V8SF_FTYPE_V16SF_INT_V8SF_QI): Ditto.
10716 (V64QI_FTYPE_V32HI_V32HI): Ditto.
10717 (V32HI_FTYPE_V16SI_V16SI): Ditto.
10718 (V8DF_FTYPE_V8DF_V2DF_INT): Ditto.
10719 (V8DF_FTYPE_V8DF_V2DF_INT_V8DF_QI): Ditto.
10720 (V8DF_FTYPE_V8DF_V8DF_INT): Ditto.
10721 (V8DF_FTYPE_V8DF_V8DF_INT_V8DF_QI_INT): Ditto.
10722 (V8DF_FTYPE_V8DF_V8DF_V8DI_INT): Ditto.
10723 (V8DF_FTYPE_V8DF_V8DF_V8DI_INT_QI): Ditto.
10724 (V4DF_FTYPE_V4DF_V4DF_V4DI_INT_QI): Ditto.
10725 (V2DF_FTYPE_V2DF_V2DF_V2DI_INT_QI): Ditto.
10726 (V16SF_FTYPE_V16SF_V16SF_INT_V16SF_HI_INT): Ditto.
10727 (V8SF_FTYPE_V8SF_V8SF_V8SI_INT_QI): Ditto.
10728 (V16SF_FTYPE_V16SF_V8SF_INT_V16SF_HI): Ditto.
10729 (V32HI_FTYPE_V64QI_V64QI): Ditto.
10730 (V16HI_FTYPE_V32QI_V32QI_V16HI_HI): Ditto.
10731 (V32HI_FTYPE_V64QI_V64QI_V32HI_SI): Ditto.
10732 (V32HI_FTYPE_V32HI_V32HI): Ditto.
10733 (V32HI_FTYPE_V32HI_INT): Ditto.
10734 (V16SI_FTYPE_V16SI_V8SI_INT_V16SI_HI): Ditto.
10735 (V16SI_FTYPE_V32HI_V32HI): Ditto.
10736 (V8SI_FTYPE_V16HI_V16HI_V8SI_QI): Ditto.
10737 (V16SI_FTYPE_V32HI_V32HI_V16SI_HI): Ditto.
10738 (V8SI_FTYPE_V8SI_INT_V8SI_QI): Ditto.
10739 (V8SI_FTYPE_V16SI_INT): Ditto.
10740 (V8SI_FTYPE_V16SI_INT_V8SI_QI): Ditto.
10741 (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI): Ditto.
10742 (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI): Ditto.
10743 (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI): Ditto.
10744 (V8DI_FTYPE_V8DI_V4DI_INT): Ditto.
10745 (V8DI_FTYPE_V8DI_V2DI_INT): Ditto.
10746 (V8DI_FTYPE_V8DI_V2DI_INT_V8DI_QI): Ditto.
10747 (V8DI_FTYPE_V16SI_V16SI): Ditto.
10748 (V8DI_FTYPE_V64QI_V64QI): Ditto.
10749 (V4DI_FTYPE_V4DI_INT_V4DI_QI): Ditto.
10750 (V2DI_FTYPE_V4DI_INT_V2DI_QI): Ditto.
10751 (V2DI_FTYPE_V8DI_INT): Ditto.
10752 (V2DI_FTYPE_V8DI_INT_V2DI_QI): Ditto.
10753 (QI_FTYPE_QI): Ditto.
10754 (SI_FTYPE_SI): Ditto.
10755 (DI_FTYPE_DI): Ditto.
10756 (HI_FTYPE_V16QI): Ditto.
10757 (SI_FTYPE_V32QI): Ditto.
10758 (DI_FTYPE_V64QI): Ditto.
10759 (QI_FTYPE_V8HI): Ditto.
10760 (HI_FTYPE_V16HI): Ditto.
10761 (SI_FTYPE_V32HI): Ditto.
10762 (QI_FTYPE_V4SI): Ditto.
10763 (QI_FTYPE_V8SI): Ditto.
10764 (HI_FTYPE_V16SI): Ditto.
10765 (QI_FTYPE_V2DI): Ditto.
10766 (QI_FTYPE_V4DI): Ditto.
10767 (QI_FTYPE_V8DI): Ditto.
10768 (V16QI_FTYPE_HI): Ditto.
10769 (V32QI_FTYPE_SI): Ditto.
10770 (V64QI_FTYPE_DI): Ditto.
10771 (V8HI_FTYPE_QI): Ditto.
10772 (V16HI_FTYPE_HI): Ditto.
10773 (V32HI_FTYPE_SI): Ditto.
10774 (V4SI_FTYPE_QI): Ditto.
10775 (V4SI_FTYPE_HI): Ditto.
10776 (V8SI_FTYPE_QI): Ditto.
10777 (V8SI_FTYPE_HI): Ditto.
10778 (V2DI_FTYPE_QI): Ditto.
10779 (V4DI_FTYPE_QI): Ditto.
10780 (QI_FTYPE_QI_QI): Ditto.
10781 (SI_FTYPE_SI_SI): Ditto.
10782 (DI_FTYPE_DI_DI): Ditto.
10783 (QI_FTYPE_QI_INT): Ditto.
10784 (SI_FTYPE_SI_INT): Ditto.
10785 (DI_FTYPE_DI_INT): Ditto.
10786 (HI_FTYPE_V16QI_V16QI): Ditto.
10787 (HI_FTYPE_V16QI_V16QI_HI): Ditto.
10788 (HI_FTYPE_V16QI_V16QI_INT_HI): Ditto.
10789 (SI_FTYPE_V32QI_V32QI): Ditto.
10790 (SI_FTYPE_V32QI_V32QI_SI): Ditto.
10791 (SI_FTYPE_V32QI_V32QI_INT_SI): Ditto.
10792 (DI_FTYPE_V64QI_V64QI): Ditto.
10793 (DI_FTYPE_V64QI_V64QI_DI): Ditto.
10794 (DI_FTYPE_V64QI_V64QI_INT_DI): Ditto.
10795 (QI_FTYPE_V8HI_V8HI): Ditto.
10796 (QI_FTYPE_V8HI_V8HI_QI): Ditto.
10797 (QI_FTYPE_V8HI_V8HI_INT_QI): Ditto.
10798 (HI_FTYPE_V16HI_V16HI): Ditto.
10799 (HI_FTYPE_V16HI_V16HI_HI): Ditto.
10800 (HI_FTYPE_V16HI_V16HI_INT_HI): Ditto.
10801 (SI_FTYPE_V32HI_V32HI): Ditto.
10802 (SI_FTYPE_V32HI_V32HI_SI): Ditto.
10803 (SI_FTYPE_V32HI_V32HI_INT_SI): Ditto.
10804 (QI_FTYPE_V4SI_V4SI): Ditto.
10805 (QI_FTYPE_V4SI_V4SI_QI): Ditto.
10806 (QI_FTYPE_V4SI_V4SI_INT_QI): Ditto.
10807 (QI_FTYPE_V8SI_V8SI): Ditto.
10808 (QI_FTYPE_V8SI_V8SI_QI): Ditto.
10809 (QI_FTYPE_V8SI_V8SI_INT_QI): Ditto.
10810 (QI_FTYPE_V2DI_V2DI): Ditto.
10811 (QI_FTYPE_V2DI_V2DI_QI): Ditto.
10812 (QI_FTYPE_V2DI_V2DI_INT_QI): Ditto.
10813 (QI_FTYPE_V4DI_V4DI): Ditto.
10814 (QI_FTYPE_V4DI_V4DI_QI): Ditto.
10815 (QI_FTYPE_V4DI_V4DI_INT_QI): Ditto.
10816 (V32HI_FTYPE_V32HI_V32HI_V32HI): Ditto.
10817 (V4DF_FTYPE_V4DF_V4DI_INT): Ditto.
10818 (V2DF_FTYPE_V2DI_V2DF_V2DF_QI): Ditto.
10819 (V2DF_FTYPE_V2DF_V2DI_V2DF_QI): Ditto.
10820 (V4DF_FTYPE_V4DF_V2DF_INT_V4DF_QI): Ditto.
10821 (V8DI_FTYPE_V8DI_V8DI_INT): Ditto.
10822 (V4SF_FTYPE_V4SI_V4SF_V4SF_QI): Ditto.
10823 (V4SF_FTYPE_V4SF_V4SI_V4SF_QI): Ditto.
10824 (V4SF_FTYPE_V4SF_V4SF_V4SF_QI): Ditto.
10825 (V4SF_FTYPE_V4SF_V2DF_V4SF_QI): Ditto.
10826 (V8SF_FTYPE_V8SF_V4SF_INT_V8SF_QI): Ditto.
10827 (V8SI_FTYPE_V8SI_V4SI_INT_V8SI_QI): Ditto.
10828 (V4DI_FTYPE_V4DI_V2DI_INT_V4DI_QI): Ditto.
10829 (V2DF_FTYPE_V2DF_V2DF_QI): Ditto.
10830 (V2DF_FTYPE_V4SF_V2DF_QI): Ditto.
10831 (V2DF_FTYPE_V4SI_V2DF_QI): Ditto.
10832 (V4DF_FTYPE_V4DF_V4DF_QI): Ditto.
10833 (V4DF_FTYPE_V4SF_V4DF_QI): Ditto.
10834 (V4DF_FTYPE_V4SI_V4DF_QI): Ditto.
10835 (V2DI_FTYPE_V4SI_V2DI_QI): Ditto.
10836 (V2DI_FTYPE_V8HI_V2DI_QI): Ditto.
10837 (V8DI_FTYPE_V8DF_V8DI_QI): Ditto.
10838 (V4DI_FTYPE_V4DF_V4DI_QI): Ditto.
10839 (V2DI_FTYPE_V2DF_V2DI_QI): Ditto.
10840 (V2DI_FTYPE_V2DI_V2DI_V2DI_QI): Ditto.
10841 (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_QI): Ditto.
10842 (V4DI_FTYPE_V4DI_V4DI_V4DI_QI): Ditto.
10843 (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_QI): Ditto.
10844 (V2DI_FTYPE_V16QI_V2DI_QI): Ditto.
10845 (V4DI_FTYPE_V16QI_V4DI_QI): Ditto.
10846 (V4DI_FTYPE_V4DI_V4DI_QI): Ditto.
10847 (V4DI_FTYPE_V4SI_V4DI_QI): Ditto.
10848 (V4DI_FTYPE_V8HI_V4DI_QI): Ditto.
10849 (V4DF_FTYPE_V4DI_V4DF_V4DF_QI): Ditto.
10850 (V4DF_FTYPE_V4DF_V4DI_V4DF_QI): Ditto.
10851 (V4DF_FTYPE_V4DF_V4DF_V4DF_QI): Ditto.
10852 (V16QI_FTYPE_V16QI_V16QI_V16QI_HI): Ditto.
10853 (V16HI_FTYPE_V16HI_V16HI_V16HI_HI): Ditto.
10854 (V32HI_FTYPE_V32HI_V32HI_V32HI_SI): Ditto.
10855 (V64QI_FTYPE_V64QI_V64QI_V64QI_DI): Ditto.
10856 (V32QI_FTYPE_V32QI_V32QI_V32QI_SI): Ditto.
10857 (V8HI_FTYPE_V8HI_V8HI_V8HI_QI): Ditto.
10858 (V4SF_FTYPE_V4SF_V4SF_QI): Ditto.
10859 (V4SF_FTYPE_V4SI_V4SF_QI): Ditto.
10860 (V8SF_FTYPE_V8SF_V8SF_QI): Ditto.
10861 (V8SF_FTYPE_V8SI_V8SF_QI): Ditto.
10862 (V4SI_FTYPE_V16QI_V4SI_QI): Ditto.
10863 (V4SI_FTYPE_V8HI_V4SI_QI): Ditto.
10864 (V8SI_FTYPE_V8SI_V8SI_QI): Ditto.
10865 (V8SI_FTYPE_V8HI_V8SI_QI): Ditto.
10866 (V8SI_FTYPE_V16QI_V8SI_QI): Ditto.
10867 (V4SI_FTYPE_V4SI_V4SI_V4SI_QI): Ditto.
10868 (V4SI_FTYPE_V4SI_V4SI_INT_V4SI_QI): Ditto.
10869 (V8SF_FTYPE_V8SF_V8SF_V8SF_QI): Ditto.
10870 (V8SF_FTYPE_V8SI_V8SF_V8SF_QI): Ditto.
10871 (V8SF_FTYPE_V8SF_V8SI_V8SF_QI): Ditto.
10872 (V8SI_FTYPE_V8SI_V8SI_V8SI_QI): Ditto.
10873 (V8SI_FTYPE_V8SI_V8SI_INT_V8SI_QI): Ditto.
10874 (V16SF_FTYPE_V8SF_V16SF_HI): Ditto.
10875 (V16SI_FTYPE_V8SI_V16SI_HI): Ditto.
10876 (V4SI_FTYPE_V4DF_V4SI_QI): Ditto.
10877 (V8DI_FTYPE_PCCHAR_V8DI_QI): Ditto.
10878 (V8SF_FTYPE_PCFLOAT_V8SF_QI): Ditto.
10879 (V4SF_FTYPE_PCFLOAT_V4SF_QI): Ditto.
10880 (V4DF_FTYPE_PCDOUBLE_V4DF_QI): Ditto.
10881 (V2DF_FTYPE_PCDOUBLE_V2DF_QI): Ditto.
10882 (V8SI_FTYPE_PCCHAR_V8SI_QI): Ditto.
10883 (V4SI_FTYPE_PCCHAR_V4SI_QI): Ditto.
10884 (V4DI_FTYPE_PCCHAR_V4DI_QI): Ditto.
10885 (V2DI_FTYPE_PCCHAR_V2DI_QI): Ditto.
10886 (V16QI_FTYPE_V16SI_V16QI_HI): Ditto.
10887 (V16QI_FTYPE_V8DI_V16QI_QI): Ditto.
10888 (V32HI_FTYPE_V32HI_V32HI_SI): Ditto.
10889 (V32HI_FTYPE_V64QI_V64QI_INT): Ditto.
10890 (V32HI_FTYPE_V32QI_V32HI_SI): Ditto.
10891 (V16HI_FTYPE_V16HI_V16HI_HI): Ditto.
10892 (V16HI_FTYPE_V32QI_V32QI_INT): Ditto.
10893 (V16HI_FTYPE_V16QI_V16HI_HI): Ditto.
10894 (V8HI_FTYPE_V16QI_V8HI_QI): Ditto.
10895 (V8HI_FTYPE_V16QI_V16QI_INT): Ditto.
10896 (V8SF_FTYPE_V4SF_V8SF_QI): Ditto.
10897 (V4DF_FTYPE_V2DF_V4DF_QI): Ditto.
10898 (V8SI_FTYPE_V4SI_V8SI_QI): Ditto.
10899 (V8SI_FTYPE_SI_V8SI_QI): Ditto.
10900 (V4SI_FTYPE_V4SI_V4SI_QI): Ditto.
10901 (V4SI_FTYPE_SI_V4SI_QI): Ditto.
10902 (V4DI_FTYPE_V2DI_V4DI_QI): Ditto.
10903 (V4DI_FTYPE_DI_V4DI_QI): Ditto.
10904 (V2DI_FTYPE_V2DI_V2DI_QI): Ditto.
10905 (V2DI_FTYPE_DI_V2DI_QI): Ditto.
10906 (V64QI_FTYPE_V64QI_V64QI_DI): Ditto.
10907 (V64QI_FTYPE_V16QI_V64QI_DI): Ditto.
10908 (V64QI_FTYPE_QI_V64QI_DI): Ditto.
10909 (V32QI_FTYPE_V32QI_V32QI_SI): Ditto.
10910 (V32QI_FTYPE_V16QI_V32QI_SI): Ditto.
10911 (V32QI_FTYPE_QI_V32QI_SI): Ditto.
10912 (V16QI_FTYPE_V16QI_V16QI_HI): Ditto.
10913 (V16QI_FTYPE_QI_V16QI_HI): Ditto.
10914 (V32HI_FTYPE_V8HI_V32HI_SI): Ditto.
10915 (V32HI_FTYPE_HI_V32HI_SI): Ditto.
10916 (V16HI_FTYPE_V8HI_V16HI_HI): Ditto.
10917 (V16HI_FTYPE_HI_V16HI_HI): Ditto.
10918 (V8HI_FTYPE_V8HI_V8HI_QI): Ditto.
10919 (V8HI_FTYPE_HI_V8HI_QI): Ditto.
10920 (V64QI_FTYPE_PCV64QI_V64QI_DI): Ditto.
10921 (V32HI_FTYPE_PCV32HI_V32HI_SI): Ditto.
10922 (V32QI_FTYPE_PCV32QI_V32QI_SI): Ditto.
10923 (V16SF_FTYPE_PCV8SF_V16SF_HI): Ditto.
10924 (V16SI_FTYPE_PCV8SI_V16SI_HI): Ditto.
10925 (V16HI_FTYPE_PCV16HI_V16HI_HI): Ditto.
10926 (V16QI_FTYPE_PCV16QI_V16QI_HI): Ditto.
10927 (V8DF_FTYPE_PCV2DF_V8DF_QI): Ditto.
10928 (V8SF_FTYPE_PCV8SF_V8SF_QI): Ditto.
10929 (V8SF_FTYPE_PCV4SF_V8SF_QI): Ditto.
10930 (V8DI_FTYPE_PCV2DI_V8DI_QI): Ditto.
10931 (V8SI_FTYPE_PCV8SI_V8SI_QI): Ditto.
10932 (V8SI_FTYPE_PCV4SI_V8SI_QI): Ditto.
10933 (V8HI_FTYPE_PCV8HI_V8HI_QI): Ditto.
10934 (V4DF_FTYPE_PCV2DF_V4DF_QI): Ditto.
10935 (V4DF_FTYPE_PCV4DF_V4DF_QI): Ditto.
10936 (V4SF_FTYPE_PCV4SF_V4SF_QI): Ditto.
10937 (V4DI_FTYPE_PCV4DI_V4DI_QI): Ditto.
10938 (V4DI_FTYPE_PCV2DI_V4DI_QI): Ditto.
10939 (V4SI_FTYPE_PCV4SI_V4SI_QI): Ditto.
10940 (V2DF_FTYPE_PCV2DF_V2DF_QI): Ditto.
10941 (V2DI_FTYPE_PCV2DI_V2DI_QI): Ditto.
10942 (V16QI_FTYPE_V8HI_V16QI_QI): Ditto.
10943 (V16QI_FTYPE_V16HI_V16QI_HI): Ditto.
10944 (V16QI_FTYPE_V4SI_V16QI_QI): Ditto.
10945 (V16QI_FTYPE_V8SI_V16QI_QI): Ditto.
10946 (V8HI_FTYPE_V4SI_V8HI_QI): Ditto.
10947 (V8HI_FTYPE_V8SI_V8HI_QI): Ditto.
10948 (V16QI_FTYPE_V2DI_V16QI_QI): Ditto.
10949 (V16QI_FTYPE_V4DI_V16QI_QI): Ditto.
10950 (V8HI_FTYPE_V2DI_V8HI_QI): Ditto.
10951 (V8HI_FTYPE_V4DI_V8HI_QI): Ditto.
10952 (V4SI_FTYPE_V2DI_V4SI_QI): Ditto.
10953 (V4SI_FTYPE_V4DI_V4SI_QI): Ditto.
10954 (V32QI_FTYPE_V32HI_V32QI_SI): Ditto.
10955 (V2DF_FTYPE_V2DF_INT_V2DF_QI): Ditto.
10956 (V4DF_FTYPE_V4DF_INT_V4DF_QI): Ditto.
10957 (V4SF_FTYPE_V4SF_INT_V4SF_QI): Ditto.
10958 (V8SF_FTYPE_V8SF_INT_V8SF_QI): Ditto.
10959 (V4DF_FTYPE_V4DF_V4DF_INT_V4DF_QI): Ditto.
10960 (V2DF_FTYPE_V2DF_V2DF_INT_V2DF_QI): Ditto.
10961 (V8SF_FTYPE_V8SF_V8SF_INT_V8SF_QI): Ditto.
10962 (V4SF_FTYPE_V4SF_V4SF_INT_V4SF_QI): Ditto.
10963 (VOID_FTYPE_PV8HI_V4DI_QI): Ditto.
10964 (VOID_FTYPE_PV8HI_V2DI_QI): Ditto.
10965 (VOID_FTYPE_PV4SI_V4DI_QI): Ditto.
10966 (VOID_FTYPE_PV4SI_V2DI_QI): Ditto.
10967 (VOID_FTYPE_PV8HI_V8SI_QI): Ditto.
10968 (VOID_FTYPE_PV8HI_V4SI_QI): Ditto.
10969 (VOID_FTYPE_PV4DF_V4DF_QI): Ditto.
10970 (VOID_FTYPE_PV2DF_V2DF_QI): Ditto.
10971 (VOID_FTYPE_PV8SF_V8SF_QI): Ditto.
10972 (VOID_FTYPE_PV4SF_V4SF_QI): Ditto.
10973 (VOID_FTYPE_PV4DI_V4DI_QI): Ditto.
10974 (VOID_FTYPE_PV2DI_V2DI_QI): Ditto.
10975 (VOID_FTYPE_PV16QI_V8SI_QI): Ditto.
10976 (VOID_FTYPE_PV16QI_V4SI_QI): Ditto.
10977 (VOID_FTYPE_PV16QI_V4DI_QI): Ditto.
10978 (VOID_FTYPE_PV16QI_V2DI_QI): Ditto.
10979 (VOID_FTYPE_PV8SI_V8SI_QI): Ditto.
10980 (VOID_FTYPE_PV4SI_V4SI_QI): Ditto.
10981 (VOID_FTYPE_PV32HI_V32HI_SI): Ditto.
10982 (VOID_FTYPE_PV16HI_V16HI_HI): Ditto.
10983 (VOID_FTYPE_PV8HI_V8HI_QI): Ditto.
10984 (VOID_FTYPE_PV64QI_V64QI_DI): Ditto.
10985 (VOID_FTYPE_PV32QI_V32QI_SI): Ditto.
10986 (VOID_FTYPE_PV16QI_V16QI_HI): Ditto.
10987 (V8SI_FTYPE_V8SF_V8SI_QI): Ditto.
10988 (V4SI_FTYPE_V4SF_V4SI_QI): Ditto.
10989 (V8DI_FTYPE_V8SF_V8DI_QI): Ditto.
10990 (V4DI_FTYPE_V4SF_V4DI_QI): Ditto.
10991 (V2DI_FTYPE_V4SF_V2DI_QI): Ditto.
10992 (V8SF_FTYPE_V8DI_V8SF_QI): Ditto.
10993 (V4SF_FTYPE_V4DI_V4SF_QI): Ditto.
10994 (V4SF_FTYPE_V2DI_V4SF_QI): Ditto.
10995 (V8DF_FTYPE_V8DI_V8DF_QI): Ditto.
10996 (V4DF_FTYPE_V4DI_V4DF_QI): Ditto.
10997 (V2DF_FTYPE_V2DI_V2DF_QI): Ditto.
10998 (V32HI_FTYPE_V32HI_INT_V32HI_SI): Ditto.
10999 (V32HI_FTYPE_V32HI_V8HI_V32HI_SI): Ditto.
11000 (V16HI_FTYPE_V16HI_INT_V16HI_HI): Ditto.
11001 (V16HI_FTYPE_V16HI_V8HI_V16HI_HI): Ditto.
11002 (V8HI_FTYPE_V8HI_INT_V8HI_QI): Ditto.
11003 (V32HI_FTYPE_V64QI_V64QI_INT_V32HI_SI): Ditto.
11004 (V16HI_FTYPE_V32QI_V32QI_INT_V16HI_HI): Ditto.
11005 (V8HI_FTYPE_V16QI_V16QI_INT_V8HI_QI): Ditto.
11006 (V64QI_FTYPE_V32HI_V32HI_V64QI_DI): Ditto.
11007 (V32QI_FTYPE_V16HI_V16HI_V32QI_SI): Ditto.
11008 (V16QI_FTYPE_V8HI_V8HI_V16QI_HI): Ditto.
11009 (V32HI_FTYPE_V16SI_V16SI_V32HI_SI): Ditto.
11010 (V16HI_FTYPE_V8SI_V8SI_V16HI_HI): Ditto.
11011 (V8HI_FTYPE_V4SI_V4SI_V8HI_QI): Ditto.
11012 (V8DI_FTYPE_V16SI_V16SI_V8DI_QI): Ditto.
11013 (V4DI_FTYPE_V8SI_V8SI_V4DI_QI): Ditto.
11014 (V2DI_FTYPE_V4SI_V4SI_V2DI_QI): Ditto.
11015 (V8SI_FTYPE_V8SI_V8SI_V8SI_INT_QI): Ditto.
11016 (V4DI_FTYPE_V4DI_V4DI_V4DI_INT_QI): Ditto.
11017 (V4SI_FTYPE_V4SI_V4SI_V4SI_INT_QI): Ditto.
11018 (V2DI_FTYPE_V2DI_V2DI_V2DI_INT_QI): Ditto.
11019 (V2DF_FTYPE_V2DF_V2DI_V2DF): Ditto.
11020 (V4DF_FTYPE_V4DF_V4DI_V4DF): Ditto.
11021 (V4SF_FTYPE_V4SF_V4SI_V4SF): Ditto.
11022 (V8SF_FTYPE_V8SF_V8SI_V8SF): Ditto.
11023 (V8SI_FTYPE_V8SI_V4SI_V8SI_QI): Ditto.
11024 (V4DI_FTYPE_V4DI_V2DI_V4DI_QI): Ditto.
11025 (QI_FTYPE_V8DF_INT): Ditto.
11026 (QI_FTYPE_V4DF_INT): Ditto.
11027 (QI_FTYPE_V4DF_V4DF_INT_QI): Ditto.
11028 (QI_FTYPE_V2DF_INT): Ditto.
11029 (HI_FTYPE_V16SF_INT): Ditto.
11030 (QI_FTYPE_V8SF_INT): Ditto.
11031 (QI_FTYPE_V8SF_V8SF_INT_QI): Ditto.
11032 (QI_FTYPE_V4SF_INT): Ditto.
11033 (QI_FTYPE_V8DF_INT_QI): Ditto.
11034 (QI_FTYPE_V4DF_INT_QI): Ditto.
11035 (QI_FTYPE_V2DF_INT_QI): Ditto.
11036 (HI_FTYPE_V16SF_INT_HI): Ditto.
11037 (QI_FTYPE_V8SF_INT_QI): Ditto.
11038 (QI_FTYPE_V4SF_INT_QI): Ditto.
11039 (V8DI_FTYPE_V8DF_V8DI_QI_INT): Ditto.
11040 (V8DI_FTYPE_V8SF_V8DI_QI_INT): Ditto.
11041 (V8DF_FTYPE_V8DI_V8DF_QI_INT): Ditto.
11042 (V8SF_FTYPE_V8DI_V8SF_QI_INT): Ditto.
11043 (V2DF_FTYPE_V2DF_PCDOUBLE_V4SI_QI_INT): Ditto.
11044 (V4DF_FTYPE_V4DF_PCDOUBLE_V4SI_QI_INT): Ditto.
11045 (V4DF_FTYPE_V4DF_PCDOUBLE_V8SI_QI_INT): Ditto.
11046 (V2DF_FTYPE_V2DF_PCDOUBLE_V2DI_QI_INT): Ditto.
11047 (V4DF_FTYPE_V4DF_PCDOUBLE_V4DI_QI_INT): Ditto.
11048 (V4SF_FTYPE_V4SF_PCFLOAT_V4SI_QI_INT): Ditto.
11049 (V8SF_FTYPE_V8SF_PCFLOAT_V8SI_QI_INT): Ditto.
11050 (V4SF_FTYPE_V4SF_PCFLOAT_V2DI_QI_INT): Ditto.
11051 (V4SF_FTYPE_V4SF_PCFLOAT_V4DI_QI_INT): Ditto.
11052 (V8SF_FTYPE_V8SF_PCFLOAT_V4DI_QI_INT): Ditto.
11053 (V2DI_FTYPE_V2DI_PCINT64_V4SI_QI_INT): Ditto.
11054 (V4DI_FTYPE_V4DI_PCINT64_V4SI_QI_INT): Ditto.
11055 (V4DI_FTYPE_V4DI_PCINT64_V8SI_QI_INT): Ditto.
11056 (V2DI_FTYPE_V2DI_PCINT64_V2DI_QI_INT): Ditto.
11057 (V4DI_FTYPE_V4DI_PCINT64_V4DI_QI_INT): Ditto.
11058 (V4SI_FTYPE_V4SI_PCINT_V4SI_QI_INT): Ditto.
11059 (V8SI_FTYPE_V8SI_PCINT_V8SI_QI_INT): Ditto.
11060 (V4SI_FTYPE_V4SI_PCINT_V2DI_QI_INT): Ditto.
11061 (V4SI_FTYPE_V4SI_PCINT_V4DI_QI_INT): Ditto.
11062 (V8SI_FTYPE_V8SI_PCINT_V4DI_QI_INT): Ditto.
11063 (VOID_FTYPE_PFLOAT_QI_V8SI_V8SF_INT): Ditto.
11064 (VOID_FTYPE_PFLOAT_QI_V4SI_V4SF_INT): Ditto.
11065 (VOID_FTYPE_PDOUBLE_QI_V4SI_V4DF_INT): Ditto.
11066 (VOID_FTYPE_PDOUBLE_QI_V4SI_V2DF_INT): Ditto.
11067 (VOID_FTYPE_PFLOAT_QI_V4DI_V4SF_INT): Ditto.
11068 (VOID_FTYPE_PFLOAT_QI_V2DI_V4SF_INT): Ditto.
11069 (VOID_FTYPE_PDOUBLE_QI_V4DI_V4DF_INT): Ditto.
11070 (VOID_FTYPE_PDOUBLE_QI_V2DI_V2DF_INT): Ditto.
11071 (VOID_FTYPE_PINT_QI_V8SI_V8SI_INT): Ditto.
11072 (VOID_FTYPE_PINT_QI_V4SI_V4SI_INT): Ditto.
11073 (VOID_FTYPE_PLONGLONG_QI_V4SI_V4DI_INT): Ditto.
11074 (VOID_FTYPE_PLONGLONG_QI_V4SI_V2DI_INT): Ditto.
11075 (VOID_FTYPE_PINT_QI_V4DI_V4SI_INT): Ditto.
11076 (VOID_FTYPE_PINT_QI_V2DI_V4SI_INT): Ditto.
11077 (VOID_FTYPE_PLONGLONG_QI_V4DI_V4DI_INT): Ditto.
11078 (VOID_FTYPE_PLONGLONG_QI_V2DI_V2DI_INT): Ditto.
11079 (V8DI_FTYPE_V8DI_INT): Ditto.
11080 (V8DI_FTYPE_V8DI_V8DI_INT): Ditto.
11081 (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI): Ditto.
11082 (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI): Ditto.
11083 (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI): Ditto.
11084 (V2DF_FTYPE_ V2DF_ V2DF_ V2DI_ INT_ QI): Remove.
11085 (V4SF_FTYPE_ V4SF_ V2DF_ V4SF_ QI): Ditto.
11086 (V4SF_FTYPE_ V4SF_ V4SF_ V4SF_ QI): Ditto.
11087 (V2DF_FTYPE_ PCDOUBLE_ V2DF_ QI): Ditto.
11088 (V4SF_FTYPE_ PCFLOAT_ V4SF_ QI): Ditto.
11089 (V16QI_FTYPE_ V16SI_ V16QI_ HI): Ditto.
11090 (V16QI_FTYPE_ V8DI_ V16QI_ QI): Ditto.
11091 (V4SF_FTYPE_ V4SF_ V4SF_ INT_ V4SF_ QI): Ditto.
11092 (V2DF_FTYPE_ V2DF_ V2DF_ INT_ V2DF_ QI): Ditto.
11093 (V8DI_FTYPE_ V16SI_ V16SI_ V8DI_ QI): Ditto.
11094 * config/i386/i386.c (ix86_builtins):
11095 Add IX86_BUILTIN_PMOVUSQD256_MEM, IX86_BUILTIN_PMOVUSQD128_MEM,
11096 IX86_BUILTIN_PMOVSQD256_MEM, IX86_BUILTIN_PMOVSQD128_MEM,
11097 IX86_BUILTIN_PMOVQD256_MEM, IX86_BUILTIN_PMOVQD128_MEM,
11098 IX86_BUILTIN_PMOVUSQW256_MEM, IX86_BUILTIN_PMOVUSQW128_MEM,
11099 IX86_BUILTIN_PMOVSQW256_MEM, IX86_BUILTIN_PMOVSQW128_MEM,
11100 IX86_BUILTIN_PMOVQW256_MEM, IX86_BUILTIN_PMOVQW128_MEM,
11101 IX86_BUILTIN_PMOVUSQB256_MEM, IX86_BUILTIN_PMOVUSQB128_MEM,
11102 IX86_BUILTIN_PMOVSQB256_MEM, IX86_BUILTIN_PMOVSQB128_MEM,
11103 IX86_BUILTIN_PMOVQB256_MEM, IX86_BUILTIN_PMOVQB128_MEM,
11104 IX86_BUILTIN_PMOVUSDW256_MEM, IX86_BUILTIN_PMOVUSDW128_MEM,
11105 IX86_BUILTIN_PMOVSDW256_MEM, IX86_BUILTIN_PMOVSDW128_MEM,
11106 IX86_BUILTIN_PMOVDW256_MEM, IX86_BUILTIN_PMOVDW128_MEM,
11107 IX86_BUILTIN_PMOVUSDB256_MEM, IX86_BUILTIN_PMOVUSDB128_MEM,
11108 IX86_BUILTIN_PMOVSDB256_MEM, IX86_BUILTIN_PMOVSDB128_MEM,
11109 IX86_BUILTIN_PMOVDB256_MEM, IX86_BUILTIN_PMOVDB128_MEM,
11110 IX86_BUILTIN_MOVDQA64LOAD256_MASK, IX86_BUILTIN_MOVDQA64LOAD128_MASK,
11111 IX86_BUILTIN_MOVDQA32LOAD256_MASK, IX86_BUILTIN_MOVDQA32LOAD128_MASK,
11112 IX86_BUILTIN_MOVDQA64STORE256_MASK, IX86_BUILTIN_MOVDQA64STORE128_MASK,
11113 IX86_BUILTIN_MOVDQA32STORE256_MASK, IX86_BUILTIN_MOVDQA32STORE128_MASK,
11114 IX86_BUILTIN_LOADAPD256_MASK, IX86_BUILTIN_LOADAPD128_MASK,
11115 IX86_BUILTIN_LOADAPS256_MASK, IX86_BUILTIN_LOADAPS128_MASK,
11116 IX86_BUILTIN_STOREAPD256_MASK, IX86_BUILTIN_STOREAPD128_MASK,
11117 IX86_BUILTIN_STOREAPS256_MASK, IX86_BUILTIN_STOREAPS128_MASK,
11118 IX86_BUILTIN_LOADUPD256_MASK, IX86_BUILTIN_LOADUPD128_MASK,
11119 IX86_BUILTIN_LOADUPS256_MASK, IX86_BUILTIN_LOADUPS128_MASK,
11120 IX86_BUILTIN_STOREUPD256_MASK, IX86_BUILTIN_STOREUPD128_MASK,
11121 IX86_BUILTIN_STOREUPS256_MASK, IX86_BUILTIN_STOREUPS128_MASK,
11122 IX86_BUILTIN_LOADDQUDI256_MASK, IX86_BUILTIN_LOADDQUDI128_MASK,
11123 IX86_BUILTIN_LOADDQUSI256_MASK, IX86_BUILTIN_LOADDQUSI128_MASK,
11124 IX86_BUILTIN_LOADDQUHI256_MASK, IX86_BUILTIN_LOADDQUHI128_MASK,
11125 IX86_BUILTIN_LOADDQUQI256_MASK, IX86_BUILTIN_LOADDQUQI128_MASK,
11126 IX86_BUILTIN_STOREDQUDI256_MASK, IX86_BUILTIN_STOREDQUDI128_MASK,
11127 IX86_BUILTIN_STOREDQUSI256_MASK, IX86_BUILTIN_STOREDQUSI128_MASK,
11128 IX86_BUILTIN_STOREDQUHI256_MASK, IX86_BUILTIN_STOREDQUHI128_MASK,
11129 IX86_BUILTIN_STOREDQUQI256_MASK, IX86_BUILTIN_STOREDQUQI128_MASK,
11130 IX86_BUILTIN_COMPRESSPDSTORE256, IX86_BUILTIN_COMPRESSPDSTORE128,
11131 IX86_BUILTIN_COMPRESSPSSTORE256, IX86_BUILTIN_COMPRESSPSSTORE128,
11132 IX86_BUILTIN_PCOMPRESSQSTORE256, IX86_BUILTIN_PCOMPRESSQSTORE128,
11133 IX86_BUILTIN_PCOMPRESSDSTORE256, IX86_BUILTIN_PCOMPRESSDSTORE128,
11134 IX86_BUILTIN_EXPANDPDLOAD256, IX86_BUILTIN_EXPANDPDLOAD128,
11135 IX86_BUILTIN_EXPANDPSLOAD256, IX86_BUILTIN_EXPANDPSLOAD128,
11136 IX86_BUILTIN_PEXPANDQLOAD256, IX86_BUILTIN_PEXPANDQLOAD128,
11137 IX86_BUILTIN_PEXPANDDLOAD256, IX86_BUILTIN_PEXPANDDLOAD128,
11138 IX86_BUILTIN_EXPANDPDLOAD256Z, IX86_BUILTIN_EXPANDPDLOAD128Z,
11139 IX86_BUILTIN_EXPANDPSLOAD256Z, IX86_BUILTIN_EXPANDPSLOAD128Z,
11140 IX86_BUILTIN_PEXPANDQLOAD256Z, IX86_BUILTIN_PEXPANDQLOAD128Z,
11141 IX86_BUILTIN_PEXPANDDLOAD256Z, IX86_BUILTIN_PEXPANDDLOAD128Z,
11142 IX86_BUILTIN_PALIGNR256_MASK, IX86_BUILTIN_PALIGNR128_MASK,
11143 IX86_BUILTIN_MOVDQA64_256_MASK, IX86_BUILTIN_MOVDQA64_128_MASK,
11144 IX86_BUILTIN_MOVDQA32_256_MASK, IX86_BUILTIN_MOVDQA32_128_MASK,
11145 IX86_BUILTIN_MOVAPD256_MASK, IX86_BUILTIN_MOVAPD128_MASK,
11146 IX86_BUILTIN_MOVAPS256_MASK, IX86_BUILTIN_MOVAPS128_MASK,
11147 IX86_BUILTIN_MOVDQUHI256_MASK, IX86_BUILTIN_MOVDQUHI128_MASK,
11148 IX86_BUILTIN_MOVDQUQI256_MASK, IX86_BUILTIN_MOVDQUQI128_MASK,
11149 IX86_BUILTIN_MINPS128_MASK, IX86_BUILTIN_MAXPS128_MASK,
11150 IX86_BUILTIN_MINPD128_MASK, IX86_BUILTIN_MAXPD128_MASK,
11151 IX86_BUILTIN_MAXPD256_MASK, IX86_BUILTIN_MAXPS256_MASK,
11152 IX86_BUILTIN_MINPD256_MASK, IX86_BUILTIN_MINPS256_MASK,
11153 IX86_BUILTIN_MULPS128_MASK, IX86_BUILTIN_DIVPS128_MASK,
11154 IX86_BUILTIN_MULPD128_MASK, IX86_BUILTIN_DIVPD128_MASK,
11155 IX86_BUILTIN_DIVPD256_MASK, IX86_BUILTIN_DIVPS256_MASK,
11156 IX86_BUILTIN_MULPD256_MASK, IX86_BUILTIN_MULPS256_MASK,
11157 IX86_BUILTIN_ADDPD128_MASK, IX86_BUILTIN_ADDPD256_MASK,
11158 IX86_BUILTIN_ADDPS128_MASK, IX86_BUILTIN_ADDPS256_MASK,
11159 IX86_BUILTIN_SUBPD128_MASK, IX86_BUILTIN_SUBPD256_MASK,
11160 IX86_BUILTIN_SUBPS128_MASK, IX86_BUILTIN_SUBPS256_MASK,
11161 IX86_BUILTIN_XORPD256_MASK, IX86_BUILTIN_XORPD128_MASK,
11162 IX86_BUILTIN_XORPS256_MASK, IX86_BUILTIN_XORPS128_MASK,
11163 IX86_BUILTIN_ORPD256_MASK, IX86_BUILTIN_ORPD128_MASK,
11164 IX86_BUILTIN_ORPS256_MASK, IX86_BUILTIN_ORPS128_MASK,
11165 IX86_BUILTIN_BROADCASTF32x2_256, IX86_BUILTIN_BROADCASTI32x2_256,
11166 IX86_BUILTIN_BROADCASTI32x2_128, IX86_BUILTIN_BROADCASTF64X2_256,
11167 IX86_BUILTIN_BROADCASTI64X2_256, IX86_BUILTIN_BROADCASTF32X4_256,
11168 IX86_BUILTIN_BROADCASTI32X4_256, IX86_BUILTIN_EXTRACTF32X4_256,
11169 IX86_BUILTIN_EXTRACTI32X4_256, IX86_BUILTIN_DBPSADBW256,
11170 IX86_BUILTIN_DBPSADBW128, IX86_BUILTIN_CVTTPD2QQ256,
11171 IX86_BUILTIN_CVTTPD2QQ128, IX86_BUILTIN_CVTTPD2UQQ256,
11172 IX86_BUILTIN_CVTTPD2UQQ128, IX86_BUILTIN_CVTPD2QQ256,
11173 IX86_BUILTIN_CVTPD2QQ128, IX86_BUILTIN_CVTPD2UQQ256,
11174 IX86_BUILTIN_CVTPD2UQQ128, IX86_BUILTIN_CVTPD2UDQ256_MASK,
11175 IX86_BUILTIN_CVTPD2UDQ128_MASK, IX86_BUILTIN_CVTTPS2QQ256,
11176 IX86_BUILTIN_CVTTPS2QQ128, IX86_BUILTIN_CVTTPS2UQQ256,
11177 IX86_BUILTIN_CVTTPS2UQQ128, IX86_BUILTIN_CVTTPS2DQ256_MASK,
11178 IX86_BUILTIN_CVTTPS2DQ128_MASK, IX86_BUILTIN_CVTTPS2UDQ256,
11179 IX86_BUILTIN_CVTTPS2UDQ128, IX86_BUILTIN_CVTTPD2DQ256_MASK,
11180 IX86_BUILTIN_CVTTPD2DQ128_MASK, IX86_BUILTIN_CVTTPD2UDQ256_MASK,
11181 IX86_BUILTIN_CVTTPD2UDQ128_MASK, IX86_BUILTIN_CVTPD2DQ256_MASK,
11182 IX86_BUILTIN_CVTPD2DQ128_MASK, IX86_BUILTIN_CVTDQ2PD256_MASK,
11183 IX86_BUILTIN_CVTDQ2PD128_MASK, IX86_BUILTIN_CVTUDQ2PD256_MASK,
11184 IX86_BUILTIN_CVTUDQ2PD128_MASK, IX86_BUILTIN_CVTDQ2PS256_MASK,
11185 IX86_BUILTIN_CVTDQ2PS128_MASK, IX86_BUILTIN_CVTUDQ2PS256_MASK,
11186 IX86_BUILTIN_CVTUDQ2PS128_MASK, IX86_BUILTIN_CVTPS2PD256_MASK,
11187 IX86_BUILTIN_CVTPS2PD128_MASK, IX86_BUILTIN_PBROADCASTB256_MASK,
11188 IX86_BUILTIN_PBROADCASTB256_GPR_MASK, IX86_BUILTIN_PBROADCASTB128_MASK,
11189 IX86_BUILTIN_PBROADCASTB128_GPR_MASK, IX86_BUILTIN_PBROADCASTW256_MASK,
11190 IX86_BUILTIN_PBROADCASTW256_GPR_MASK, IX86_BUILTIN_PBROADCASTW128_MASK,
11191 IX86_BUILTIN_PBROADCASTW128_GPR_MASK, IX86_BUILTIN_PBROADCASTD256_MASK,
11192 IX86_BUILTIN_PBROADCASTD256_GPR_MASK, IX86_BUILTIN_PBROADCASTD128_MASK,
11193 IX86_BUILTIN_PBROADCASTD128_GPR_MASK, IX86_BUILTIN_PBROADCASTQ256_MASK,
11194 IX86_BUILTIN_PBROADCASTQ256_GPR_MASK, IX86_BUILTIN_PBROADCASTQ256_MEM_MASK,
11195 IX86_BUILTIN_PBROADCASTQ128_MASK, IX86_BUILTIN_PBROADCASTQ128_GPR_MASK,
11196 IX86_BUILTIN_PBROADCASTQ128_MEM_MASK, IX86_BUILTIN_BROADCASTSS256,
11197 IX86_BUILTIN_BROADCASTSS128, IX86_BUILTIN_BROADCASTSD256,
11198 IX86_BUILTIN_EXTRACTF64X2_256, IX86_BUILTIN_EXTRACTI64X2_256,
11199 IX86_BUILTIN_INSERTF32X4_256, IX86_BUILTIN_INSERTI32X4_256,
11200 IX86_BUILTIN_PMOVSXBW256_MASK, IX86_BUILTIN_PMOVSXBW128_MASK,
11201 IX86_BUILTIN_PMOVSXBD256_MASK, IX86_BUILTIN_PMOVSXBD128_MASK,
11202 IX86_BUILTIN_PMOVSXBQ256_MASK, IX86_BUILTIN_PMOVSXBQ128_MASK,
11203 IX86_BUILTIN_PMOVSXWD256_MASK, IX86_BUILTIN_PMOVSXWD128_MASK,
11204 IX86_BUILTIN_PMOVSXWQ256_MASK, IX86_BUILTIN_PMOVSXWQ128_MASK,
11205 IX86_BUILTIN_PMOVSXDQ256_MASK, IX86_BUILTIN_PMOVSXDQ128_MASK,
11206 IX86_BUILTIN_PMOVZXBW256_MASK, IX86_BUILTIN_PMOVZXBW128_MASK,
11207 IX86_BUILTIN_PMOVZXBD256_MASK, IX86_BUILTIN_PMOVZXBD128_MASK,
11208 IX86_BUILTIN_PMOVZXBQ256_MASK, IX86_BUILTIN_PMOVZXBQ128_MASK,
11209 IX86_BUILTIN_PMOVZXWD256_MASK, IX86_BUILTIN_PMOVZXWD128_MASK,
11210 IX86_BUILTIN_PMOVZXWQ256_MASK, IX86_BUILTIN_PMOVZXWQ128_MASK,
11211 IX86_BUILTIN_PMOVZXDQ256_MASK, IX86_BUILTIN_PMOVZXDQ128_MASK,
11212 IX86_BUILTIN_REDUCEPD256_MASK, IX86_BUILTIN_REDUCEPD128_MASK,
11213 IX86_BUILTIN_REDUCEPS256_MASK, IX86_BUILTIN_REDUCEPS128_MASK,
11214 IX86_BUILTIN_REDUCESD_MASK, IX86_BUILTIN_REDUCESS_MASK,
11215 IX86_BUILTIN_VPERMVARHI256_MASK, IX86_BUILTIN_VPERMVARHI128_MASK,
11216 IX86_BUILTIN_VPERMT2VARHI256, IX86_BUILTIN_VPERMT2VARHI256_MASKZ,
11217 IX86_BUILTIN_VPERMT2VARHI128, IX86_BUILTIN_VPERMT2VARHI128_MASKZ,
11218 IX86_BUILTIN_VPERMI2VARHI256, IX86_BUILTIN_VPERMI2VARHI128,
11219 IX86_BUILTIN_RCP14PD256, IX86_BUILTIN_RCP14PD128,
11220 IX86_BUILTIN_RCP14PS256, IX86_BUILTIN_RCP14PS128,
11221 IX86_BUILTIN_RSQRT14PD256_MASK, IX86_BUILTIN_RSQRT14PD128_MASK,
11222 IX86_BUILTIN_RSQRT14PS256_MASK, IX86_BUILTIN_RSQRT14PS128_MASK,
11223 IX86_BUILTIN_SQRTPD256_MASK, IX86_BUILTIN_SQRTPD128_MASK,
11224 IX86_BUILTIN_SQRTPS256_MASK, IX86_BUILTIN_SQRTPS128_MASK,
11225 IX86_BUILTIN_PADDB128_MASK, IX86_BUILTIN_PADDW128_MASK,
11226 IX86_BUILTIN_PADDD128_MASK, IX86_BUILTIN_PADDQ128_MASK,
11227 IX86_BUILTIN_PSUBB128_MASK, IX86_BUILTIN_PSUBW128_MASK,
11228 IX86_BUILTIN_PSUBD128_MASK, IX86_BUILTIN_PSUBQ128_MASK,
11229 IX86_BUILTIN_PADDSB128_MASK, IX86_BUILTIN_PADDSW128_MASK,
11230 IX86_BUILTIN_PSUBSB128_MASK, IX86_BUILTIN_PSUBSW128_MASK,
11231 IX86_BUILTIN_PADDUSB128_MASK, IX86_BUILTIN_PADDUSW128_MASK,
11232 IX86_BUILTIN_PSUBUSB128_MASK, IX86_BUILTIN_PSUBUSW128_MASK,
11233 IX86_BUILTIN_PADDB256_MASK, IX86_BUILTIN_PADDW256_MASK,
11234 IX86_BUILTIN_PADDD256_MASK, IX86_BUILTIN_PADDQ256_MASK,
11235 IX86_BUILTIN_PADDSB256_MASK, IX86_BUILTIN_PADDSW256_MASK,
11236 IX86_BUILTIN_PADDUSB256_MASK, IX86_BUILTIN_PADDUSW256_MASK,
11237 IX86_BUILTIN_PSUBB256_MASK, IX86_BUILTIN_PSUBW256_MASK,
11238 IX86_BUILTIN_PSUBD256_MASK, IX86_BUILTIN_PSUBQ256_MASK,
11239 IX86_BUILTIN_PSUBSB256_MASK, IX86_BUILTIN_PSUBSW256_MASK,
11240 IX86_BUILTIN_PSUBUSB256_MASK, IX86_BUILTIN_PSUBUSW256_MASK,
11241 IX86_BUILTIN_SHUF_F64x2_256, IX86_BUILTIN_SHUF_I64x2_256,
11242 IX86_BUILTIN_SHUF_I32x4_256, IX86_BUILTIN_SHUF_F32x4_256,
11243 IX86_BUILTIN_PMOVWB128, IX86_BUILTIN_PMOVWB256,
11244 IX86_BUILTIN_PMOVSWB128, IX86_BUILTIN_PMOVSWB256,
11245 IX86_BUILTIN_PMOVUSWB128, IX86_BUILTIN_PMOVUSWB256,
11246 IX86_BUILTIN_PMOVDB128, IX86_BUILTIN_PMOVDB256,
11247 IX86_BUILTIN_PMOVSDB128, IX86_BUILTIN_PMOVSDB256,
11248 IX86_BUILTIN_PMOVUSDB128, IX86_BUILTIN_PMOVUSDB256,
11249 IX86_BUILTIN_PMOVDW128, IX86_BUILTIN_PMOVDW256,
11250 IX86_BUILTIN_PMOVSDW128, IX86_BUILTIN_PMOVSDW256,
11251 IX86_BUILTIN_PMOVUSDW128, IX86_BUILTIN_PMOVUSDW256,
11252 IX86_BUILTIN_PMOVQB128, IX86_BUILTIN_PMOVQB256,
11253 IX86_BUILTIN_PMOVSQB128, IX86_BUILTIN_PMOVSQB256,
11254 IX86_BUILTIN_PMOVUSQB128, IX86_BUILTIN_PMOVUSQB256,
11255 IX86_BUILTIN_PMOVQW128, IX86_BUILTIN_PMOVQW256,
11256 IX86_BUILTIN_PMOVSQW128, IX86_BUILTIN_PMOVSQW256,
11257 IX86_BUILTIN_PMOVUSQW128, IX86_BUILTIN_PMOVUSQW256,
11258 IX86_BUILTIN_PMOVQD128, IX86_BUILTIN_PMOVQD256,
11259 IX86_BUILTIN_PMOVSQD128, IX86_BUILTIN_PMOVSQD256,
11260 IX86_BUILTIN_PMOVUSQD128, IX86_BUILTIN_PMOVUSQD256,
11261 IX86_BUILTIN_RANGEPD256, IX86_BUILTIN_RANGEPD128,
11262 IX86_BUILTIN_RANGEPS256, IX86_BUILTIN_RANGEPS128,
11263 IX86_BUILTIN_GETEXPPS256, IX86_BUILTIN_GETEXPPD256,
11264 IX86_BUILTIN_GETEXPPS128, IX86_BUILTIN_GETEXPPD128,
11265 IX86_BUILTIN_FIXUPIMMPD256_MASK, IX86_BUILTIN_FIXUPIMMPD256_MASKZ,
11266 IX86_BUILTIN_FIXUPIMMPS256_MASK, IX86_BUILTIN_FIXUPIMMPS256_MASKZ,
11267 IX86_BUILTIN_FIXUPIMMPD128_MASK, IX86_BUILTIN_FIXUPIMMPD128_MASKZ,
11268 IX86_BUILTIN_FIXUPIMMPS128_MASK, IX86_BUILTIN_FIXUPIMMPS128_MASKZ,
11269 IX86_BUILTIN_PABSQ256, IX86_BUILTIN_PABSQ128,
11270 IX86_BUILTIN_PABSD256_MASK, IX86_BUILTIN_PABSD128_MASK,
11271 IX86_BUILTIN_PMULHRSW256_MASK, IX86_BUILTIN_PMULHRSW128_MASK,
11272 IX86_BUILTIN_PMULHUW128_MASK, IX86_BUILTIN_PMULHUW256_MASK,
11273 IX86_BUILTIN_PMULHW256_MASK, IX86_BUILTIN_PMULHW128_MASK,
11274 IX86_BUILTIN_PMULLW256_MASK, IX86_BUILTIN_PMULLW128_MASK,
11275 IX86_BUILTIN_PMULLQ256, IX86_BUILTIN_PMULLQ128,
11276 IX86_BUILTIN_ANDPD256_MASK, IX86_BUILTIN_ANDPD128_MASK,
11277 IX86_BUILTIN_ANDPS256_MASK, IX86_BUILTIN_ANDPS128_MASK,
11278 IX86_BUILTIN_ANDNPD256_MASK, IX86_BUILTIN_ANDNPD128_MASK,
11279 IX86_BUILTIN_ANDNPS256_MASK, IX86_BUILTIN_ANDNPS128_MASK,
11280 IX86_BUILTIN_PSLLWI128_MASK, IX86_BUILTIN_PSLLDI128_MASK,
11281 IX86_BUILTIN_PSLLQI128_MASK, IX86_BUILTIN_PSLLW128_MASK,
11282 IX86_BUILTIN_PSLLD128_MASK, IX86_BUILTIN_PSLLQ128_MASK,
11283 IX86_BUILTIN_PSLLWI256_MASK , IX86_BUILTIN_PSLLW256_MASK,
11284 IX86_BUILTIN_PSLLDI256_MASK, IX86_BUILTIN_PSLLD256_MASK,
11285 IX86_BUILTIN_PSLLQI256_MASK, IX86_BUILTIN_PSLLQ256_MASK,
11286 IX86_BUILTIN_PSRADI128_MASK, IX86_BUILTIN_PSRAD128_MASK,
11287 IX86_BUILTIN_PSRADI256_MASK, IX86_BUILTIN_PSRAD256_MASK,
11288 IX86_BUILTIN_PSRAQI128_MASK, IX86_BUILTIN_PSRAQ128_MASK,
11289 IX86_BUILTIN_PSRAQI256_MASK, IX86_BUILTIN_PSRAQ256_MASK,
11290 IX86_BUILTIN_PANDD256, IX86_BUILTIN_PANDD128,
11291 IX86_BUILTIN_PSRLDI128_MASK, IX86_BUILTIN_PSRLD128_MASK,
11292 IX86_BUILTIN_PSRLDI256_MASK, IX86_BUILTIN_PSRLD256_MASK,
11293 IX86_BUILTIN_PSRLQI128_MASK, IX86_BUILTIN_PSRLQ128_MASK,
11294 IX86_BUILTIN_PSRLQI256_MASK, IX86_BUILTIN_PSRLQ256_MASK,
11295 IX86_BUILTIN_PANDQ256, IX86_BUILTIN_PANDQ128,
11296 IX86_BUILTIN_PANDND256, IX86_BUILTIN_PANDND128,
11297 IX86_BUILTIN_PANDNQ256, IX86_BUILTIN_PANDNQ128,
11298 IX86_BUILTIN_PORD256, IX86_BUILTIN_PORD128,
11299 IX86_BUILTIN_PORQ256, IX86_BUILTIN_PORQ128,
11300 IX86_BUILTIN_PXORD256, IX86_BUILTIN_PXORD128,
11301 IX86_BUILTIN_PXORQ256, IX86_BUILTIN_PXORQ128,
11302 IX86_BUILTIN_PACKSSWB256_MASK, IX86_BUILTIN_PACKSSWB128_MASK,
11303 IX86_BUILTIN_PACKUSWB256_MASK, IX86_BUILTIN_PACKUSWB128_MASK,
11304 IX86_BUILTIN_RNDSCALEPS256, IX86_BUILTIN_RNDSCALEPD256,
11305 IX86_BUILTIN_RNDSCALEPS128, IX86_BUILTIN_RNDSCALEPD128,
11306 IX86_BUILTIN_VTERNLOGQ256_MASK, IX86_BUILTIN_VTERNLOGQ256_MASKZ,
11307 IX86_BUILTIN_VTERNLOGD256_MASK, IX86_BUILTIN_VTERNLOGD256_MASKZ,
11308 IX86_BUILTIN_VTERNLOGQ128_MASK, IX86_BUILTIN_VTERNLOGQ128_MASKZ,
11309 IX86_BUILTIN_VTERNLOGD128_MASK, IX86_BUILTIN_VTERNLOGD128_MASKZ,
11310 IX86_BUILTIN_SCALEFPD256, IX86_BUILTIN_SCALEFPS256,
11311 IX86_BUILTIN_SCALEFPD128, IX86_BUILTIN_SCALEFPS128,
11312 IX86_BUILTIN_VFMADDPD256_MASK, IX86_BUILTIN_VFMADDPD256_MASK3,
11313 IX86_BUILTIN_VFMADDPD256_MASKZ, IX86_BUILTIN_VFMADDPD128_MASK,
11314 IX86_BUILTIN_VFMADDPD128_MASK3, IX86_BUILTIN_VFMADDPD128_MASKZ,
11315 IX86_BUILTIN_VFMADDPS256_MASK, IX86_BUILTIN_VFMADDPS256_MASK3,
11316 IX86_BUILTIN_VFMADDPS256_MASKZ, IX86_BUILTIN_VFMADDPS128_MASK,
11317 IX86_BUILTIN_VFMADDPS128_MASK3, IX86_BUILTIN_VFMADDPS128_MASKZ,
11318 IX86_BUILTIN_VFMSUBPD256_MASK3, IX86_BUILTIN_VFMSUBPD128_MASK3,
11319 IX86_BUILTIN_VFMSUBPS256_MASK3, IX86_BUILTIN_VFMSUBPS128_MASK3,
11320 IX86_BUILTIN_VFNMADDPD256_MASK, IX86_BUILTIN_VFNMADDPD128_MASK,
11321 IX86_BUILTIN_VFNMADDPS256_MASK, IX86_BUILTIN_VFNMADDPS128_MASK,
11322 IX86_BUILTIN_VFNMSUBPD256_MASK, IX86_BUILTIN_VFNMSUBPD256_MASK3,
11323 IX86_BUILTIN_VFNMSUBPD128_MASK, IX86_BUILTIN_VFNMSUBPD128_MASK3,
11324 IX86_BUILTIN_VFNMSUBPS256_MASK, IX86_BUILTIN_VFNMSUBPS256_MASK3,
11325 IX86_BUILTIN_VFNMSUBPS128_MASK, IX86_BUILTIN_VFNMSUBPS128_MASK3,
11326 IX86_BUILTIN_VFMADDSUBPD256_MASK, IX86_BUILTIN_VFMADDSUBPD256_MASK3,
11327 IX86_BUILTIN_VFMADDSUBPD256_MASKZ, IX86_BUILTIN_VFMADDSUBPD128_MASK,
11328 IX86_BUILTIN_VFMADDSUBPD128_MASK3, IX86_BUILTIN_VFMADDSUBPD128_MASKZ,
11329 IX86_BUILTIN_VFMADDSUBPS256_MASK, IX86_BUILTIN_VFMADDSUBPS256_MASK3,
11330 IX86_BUILTIN_VFMADDSUBPS256_MASKZ, IX86_BUILTIN_VFMADDSUBPS128_MASK,
11331 IX86_BUILTIN_VFMADDSUBPS128_MASK3, IX86_BUILTIN_VFMADDSUBPS128_MASKZ,
11332 IX86_BUILTIN_VFMSUBADDPD256_MASK3, IX86_BUILTIN_VFMSUBADDPD128_MASK3,
11333 IX86_BUILTIN_VFMSUBADDPS256_MASK3, IX86_BUILTIN_VFMSUBADDPS128_MASK3,
11334 IX86_BUILTIN_INSERTF64X2_256, IX86_BUILTIN_INSERTI64X2_256,
11335 IX86_BUILTIN_PSRAVV16HI, IX86_BUILTIN_PSRAVV8HI,
11336 IX86_BUILTIN_PMADDUBSW256_MASK, IX86_BUILTIN_PMADDUBSW128_MASK,
11337 IX86_BUILTIN_PMADDWD256_MASK, IX86_BUILTIN_PMADDWD128_MASK,
11338 IX86_BUILTIN_PSRLVV16HI, IX86_BUILTIN_PSRLVV8HI,
11339 IX86_BUILTIN_CVTPS2DQ256_MASK, IX86_BUILTIN_CVTPS2DQ128_MASK,
11340 IX86_BUILTIN_CVTPS2UDQ256, IX86_BUILTIN_CVTPS2UDQ128,
11341 IX86_BUILTIN_CVTPS2QQ256, IX86_BUILTIN_CVTPS2QQ128,
11342 IX86_BUILTIN_CVTPS2UQQ256, IX86_BUILTIN_CVTPS2UQQ128,
11343 IX86_BUILTIN_GETMANTPS256, IX86_BUILTIN_GETMANTPS128,
11344 IX86_BUILTIN_GETMANTPD256, IX86_BUILTIN_GETMANTPD128,
11345 IX86_BUILTIN_MOVDDUP256_MASK, IX86_BUILTIN_MOVDDUP128_MASK,
11346 IX86_BUILTIN_MOVSHDUP256_MASK, IX86_BUILTIN_MOVSHDUP128_MASK,
11347 IX86_BUILTIN_MOVSLDUP256_MASK, IX86_BUILTIN_MOVSLDUP128_MASK,
11348 IX86_BUILTIN_CVTQQ2PS256, IX86_BUILTIN_CVTQQ2PS128,
11349 IX86_BUILTIN_CVTUQQ2PS256, IX86_BUILTIN_CVTUQQ2PS128,
11350 IX86_BUILTIN_CVTQQ2PD256, IX86_BUILTIN_CVTQQ2PD128,
11351 IX86_BUILTIN_CVTUQQ2PD256, IX86_BUILTIN_CVTUQQ2PD128,
11352 IX86_BUILTIN_VPERMT2VARQ256, IX86_BUILTIN_VPERMT2VARQ256_MASKZ,
11353 IX86_BUILTIN_VPERMT2VARD256, IX86_BUILTIN_VPERMT2VARD256_MASKZ,
11354 IX86_BUILTIN_VPERMI2VARQ256, IX86_BUILTIN_VPERMI2VARD256,
11355 IX86_BUILTIN_VPERMT2VARPD256, IX86_BUILTIN_VPERMT2VARPD256_MASKZ,
11356 IX86_BUILTIN_VPERMT2VARPS256, IX86_BUILTIN_VPERMT2VARPS256_MASKZ,
11357 IX86_BUILTIN_VPERMI2VARPD256, IX86_BUILTIN_VPERMI2VARPS256,
11358 IX86_BUILTIN_VPERMT2VARQ128, IX86_BUILTIN_VPERMT2VARQ128_MASKZ,
11359 IX86_BUILTIN_VPERMT2VARD128, IX86_BUILTIN_VPERMT2VARD128_MASKZ,
11360 IX86_BUILTIN_VPERMI2VARQ128, IX86_BUILTIN_VPERMI2VARD128,
11361 IX86_BUILTIN_VPERMT2VARPD128, IX86_BUILTIN_VPERMT2VARPD128_MASKZ,
11362 IX86_BUILTIN_VPERMT2VARPS128, IX86_BUILTIN_VPERMT2VARPS128_MASKZ,
11363 IX86_BUILTIN_VPERMI2VARPD128, IX86_BUILTIN_VPERMI2VARPS128,
11364 IX86_BUILTIN_PSHUFB256_MASK, IX86_BUILTIN_PSHUFB128_MASK,
11365 IX86_BUILTIN_PSHUFHW256_MASK, IX86_BUILTIN_PSHUFHW128_MASK,
11366 IX86_BUILTIN_PSHUFLW256_MASK, IX86_BUILTIN_PSHUFLW128_MASK,
11367 IX86_BUILTIN_PSHUFD256_MASK, IX86_BUILTIN_PSHUFD128_MASK,
11368 IX86_BUILTIN_SHUFPD256_MASK, IX86_BUILTIN_SHUFPD128_MASK,
11369 IX86_BUILTIN_SHUFPS256_MASK, IX86_BUILTIN_SHUFPS128_MASK,
11370 IX86_BUILTIN_PROLVQ256, IX86_BUILTIN_PROLVQ128,
11371 IX86_BUILTIN_PROLQ256, IX86_BUILTIN_PROLQ128,
11372 IX86_BUILTIN_PRORVQ256, IX86_BUILTIN_PRORVQ128,
11373 IX86_BUILTIN_PRORQ256, IX86_BUILTIN_PRORQ128,
11374 IX86_BUILTIN_PSRAVQ128, IX86_BUILTIN_PSRAVQ256,
11375 IX86_BUILTIN_PSLLVV4DI_MASK, IX86_BUILTIN_PSLLVV2DI_MASK,
11376 IX86_BUILTIN_PSLLVV8SI_MASK, IX86_BUILTIN_PSLLVV4SI_MASK,
11377 IX86_BUILTIN_PSRAVV8SI_MASK, IX86_BUILTIN_PSRAVV4SI_MASK,
11378 IX86_BUILTIN_PSRLVV4DI_MASK, IX86_BUILTIN_PSRLVV2DI_MASK,
11379 IX86_BUILTIN_PSRLVV8SI_MASK, IX86_BUILTIN_PSRLVV4SI_MASK,
11380 IX86_BUILTIN_PSRAWI256_MASK, IX86_BUILTIN_PSRAW256_MASK,
11381 IX86_BUILTIN_PSRAWI128_MASK, IX86_BUILTIN_PSRAW128_MASK,
11382 IX86_BUILTIN_PSRLWI256_MASK, IX86_BUILTIN_PSRLW256_MASK,
11383 IX86_BUILTIN_PSRLWI128_MASK, IX86_BUILTIN_PSRLW128_MASK,
11384 IX86_BUILTIN_PRORVD256, IX86_BUILTIN_PROLVD256,
11385 IX86_BUILTIN_PRORD256, IX86_BUILTIN_PROLD256,
11386 IX86_BUILTIN_PRORVD128, IX86_BUILTIN_PROLVD128,
11387 IX86_BUILTIN_PRORD128, IX86_BUILTIN_PROLD128,
11388 IX86_BUILTIN_FPCLASSPD256, IX86_BUILTIN_FPCLASSPD128,
11389 IX86_BUILTIN_FPCLASSSD, IX86_BUILTIN_FPCLASSPS256,
11390 IX86_BUILTIN_FPCLASSPS128, IX86_BUILTIN_FPCLASSSS,
11391 IX86_BUILTIN_CVTB2MASK128, IX86_BUILTIN_CVTB2MASK256,
11392 IX86_BUILTIN_CVTW2MASK128, IX86_BUILTIN_CVTW2MASK256,
11393 IX86_BUILTIN_CVTD2MASK128, IX86_BUILTIN_CVTD2MASK256,
11394 IX86_BUILTIN_CVTQ2MASK128, IX86_BUILTIN_CVTQ2MASK256,
11395 IX86_BUILTIN_CVTMASK2B128, IX86_BUILTIN_CVTMASK2B256,
11396 IX86_BUILTIN_CVTMASK2W128, IX86_BUILTIN_CVTMASK2W256,
11397 IX86_BUILTIN_CVTMASK2D128, IX86_BUILTIN_CVTMASK2D256,
11398 IX86_BUILTIN_CVTMASK2Q128, IX86_BUILTIN_CVTMASK2Q256,
11399 IX86_BUILTIN_PCMPEQB128_MASK, IX86_BUILTIN_PCMPEQB256_MASK,
11400 IX86_BUILTIN_PCMPEQW128_MASK, IX86_BUILTIN_PCMPEQW256_MASK,
11401 IX86_BUILTIN_PCMPEQD128_MASK, IX86_BUILTIN_PCMPEQD256_MASK,
11402 IX86_BUILTIN_PCMPEQQ128_MASK, IX86_BUILTIN_PCMPEQQ256_MASK,
11403 IX86_BUILTIN_PCMPGTB128_MASK, IX86_BUILTIN_PCMPGTB256_MASK,
11404 IX86_BUILTIN_PCMPGTW128_MASK, IX86_BUILTIN_PCMPGTW256_MASK,
11405 IX86_BUILTIN_PCMPGTD128_MASK, IX86_BUILTIN_PCMPGTD256_MASK,
11406 IX86_BUILTIN_PCMPGTQ128_MASK, IX86_BUILTIN_PCMPGTQ256_MASK,
11407 IX86_BUILTIN_PTESTMB128, IX86_BUILTIN_PTESTMB256,
11408 IX86_BUILTIN_PTESTMW128, IX86_BUILTIN_PTESTMW256,
11409 IX86_BUILTIN_PTESTMD128, IX86_BUILTIN_PTESTMD256,
11410 IX86_BUILTIN_PTESTMQ128, IX86_BUILTIN_PTESTMQ256,
11411 IX86_BUILTIN_PTESTNMB128, IX86_BUILTIN_PTESTNMB256,
11412 IX86_BUILTIN_PTESTNMW128, IX86_BUILTIN_PTESTNMW256,
11413 IX86_BUILTIN_PTESTNMD128, IX86_BUILTIN_PTESTNMD256,
11414 IX86_BUILTIN_PTESTNMQ128, IX86_BUILTIN_PTESTNMQ256,
11415 IX86_BUILTIN_PBROADCASTMB128, IX86_BUILTIN_PBROADCASTMB256,
11416 IX86_BUILTIN_PBROADCASTMW128, IX86_BUILTIN_PBROADCASTMW256,
11417 IX86_BUILTIN_COMPRESSPD256, IX86_BUILTIN_COMPRESSPD128,
11418 IX86_BUILTIN_COMPRESSPS256, IX86_BUILTIN_COMPRESSPS128,
11419 IX86_BUILTIN_PCOMPRESSQ256, IX86_BUILTIN_PCOMPRESSQ128,
11420 IX86_BUILTIN_PCOMPRESSD256, IX86_BUILTIN_PCOMPRESSD128,
11421 IX86_BUILTIN_EXPANDPD256, IX86_BUILTIN_EXPANDPD128,
11422 IX86_BUILTIN_EXPANDPS256, IX86_BUILTIN_EXPANDPS128,
11423 IX86_BUILTIN_PEXPANDQ256, IX86_BUILTIN_PEXPANDQ128,
11424 IX86_BUILTIN_PEXPANDD256, IX86_BUILTIN_PEXPANDD128,
11425 IX86_BUILTIN_EXPANDPD256Z, IX86_BUILTIN_EXPANDPD128Z,
11426 IX86_BUILTIN_EXPANDPS256Z, IX86_BUILTIN_EXPANDPS128Z,
11427 IX86_BUILTIN_PEXPANDQ256Z, IX86_BUILTIN_PEXPANDQ128Z,
11428 IX86_BUILTIN_PEXPANDD256Z, IX86_BUILTIN_PEXPANDD128Z,
11429 IX86_BUILTIN_PMAXSD256_MASK, IX86_BUILTIN_PMINSD256_MASK,
11430 IX86_BUILTIN_PMAXUD256_MASK, IX86_BUILTIN_PMINUD256_MASK,
11431 IX86_BUILTIN_PMAXSD128_MASK, IX86_BUILTIN_PMINSD128_MASK,
11432 IX86_BUILTIN_PMAXUD128_MASK, IX86_BUILTIN_PMINUD128_MASK,
11433 IX86_BUILTIN_PMAXSQ256_MASK, IX86_BUILTIN_PMINSQ256_MASK,
11434 IX86_BUILTIN_PMAXUQ256_MASK, IX86_BUILTIN_PMINUQ256_MASK,
11435 IX86_BUILTIN_PMAXSQ128_MASK, IX86_BUILTIN_PMINSQ128_MASK,
11436 IX86_BUILTIN_PMAXUQ128_MASK, IX86_BUILTIN_PMINUQ128_MASK,
11437 IX86_BUILTIN_PMINSB256_MASK, IX86_BUILTIN_PMINUB256_MASK,
11438 IX86_BUILTIN_PMAXSB256_MASK, IX86_BUILTIN_PMAXUB256_MASK,
11439 IX86_BUILTIN_PMINSB128_MASK, IX86_BUILTIN_PMINUB128_MASK,
11440 IX86_BUILTIN_PMAXSB128_MASK, IX86_BUILTIN_PMAXUB128_MASK,
11441 IX86_BUILTIN_PMINSW256_MASK, IX86_BUILTIN_PMINUW256_MASK,
11442 IX86_BUILTIN_PMAXSW256_MASK, IX86_BUILTIN_PMAXUW256_MASK,
11443 IX86_BUILTIN_PMINSW128_MASK, IX86_BUILTIN_PMINUW128_MASK,
11444 IX86_BUILTIN_PMAXSW128_MASK, IX86_BUILTIN_PMAXUW128_MASK,
11445 IX86_BUILTIN_VPCONFLICTQ256, IX86_BUILTIN_VPCONFLICTD256,
11446 IX86_BUILTIN_VPCLZCNTQ256, IX86_BUILTIN_VPCLZCNTD256,
11447 IX86_BUILTIN_UNPCKHPD256_MASK, IX86_BUILTIN_UNPCKHPD128_MASK,
11448 IX86_BUILTIN_UNPCKHPS256_MASK, IX86_BUILTIN_UNPCKHPS128_MASK,
11449 IX86_BUILTIN_UNPCKLPD256_MASK, IX86_BUILTIN_UNPCKLPD128_MASK,
11450 IX86_BUILTIN_UNPCKLPS256_MASK, IX86_BUILTIN_VPCONFLICTQ128,
11451 IX86_BUILTIN_VPCONFLICTD128, IX86_BUILTIN_VPCLZCNTQ128,
11452 IX86_BUILTIN_VPCLZCNTD128, IX86_BUILTIN_UNPCKLPS128_MASK,
11453 IX86_BUILTIN_ALIGND256, IX86_BUILTIN_ALIGNQ256,
11454 IX86_BUILTIN_ALIGND128, IX86_BUILTIN_ALIGNQ128,
11455 IX86_BUILTIN_CVTPS2PH256_MASK, IX86_BUILTIN_CVTPS2PH_MASK,
11456 IX86_BUILTIN_CVTPH2PS_MASK, IX86_BUILTIN_CVTPH2PS256_MASK,
11457 IX86_BUILTIN_PUNPCKHDQ128_MASK, IX86_BUILTIN_PUNPCKHDQ256_MASK,
11458 IX86_BUILTIN_PUNPCKHQDQ128_MASK, IX86_BUILTIN_PUNPCKHQDQ256_MASK,
11459 IX86_BUILTIN_PUNPCKLDQ128_MASK, IX86_BUILTIN_PUNPCKLDQ256_MASK,
11460 IX86_BUILTIN_PUNPCKLQDQ128_MASK, IX86_BUILTIN_PUNPCKLQDQ256_MASK,
11461 IX86_BUILTIN_PUNPCKHBW128_MASK, IX86_BUILTIN_PUNPCKHBW256_MASK,
11462 IX86_BUILTIN_PUNPCKHWD128_MASK, IX86_BUILTIN_PUNPCKHWD256_MASK,
11463 IX86_BUILTIN_PUNPCKLBW128_MASK, IX86_BUILTIN_PUNPCKLBW256_MASK,
11464 IX86_BUILTIN_PUNPCKLWD128_MASK, IX86_BUILTIN_PUNPCKLWD256_MASK,
11465 IX86_BUILTIN_PSLLVV16HI, IX86_BUILTIN_PSLLVV8HI,
11466 IX86_BUILTIN_PACKSSDW256_MASK, IX86_BUILTIN_PACKSSDW128_MASK,
11467 IX86_BUILTIN_PACKUSDW256_MASK, IX86_BUILTIN_PACKUSDW128_MASK,
11468 IX86_BUILTIN_PAVGB256_MASK, IX86_BUILTIN_PAVGW256_MASK,
11469 IX86_BUILTIN_PAVGB128_MASK, IX86_BUILTIN_PAVGW128_MASK,
11470 IX86_BUILTIN_VPERMVARSF256_MASK, IX86_BUILTIN_VPERMVARDF256_MASK,
11471 IX86_BUILTIN_VPERMDF256_MASK, IX86_BUILTIN_PABSB256_MASK,
11472 IX86_BUILTIN_PABSB128_MASK, IX86_BUILTIN_PABSW256_MASK,
11473 IX86_BUILTIN_PABSW128_MASK, IX86_BUILTIN_VPERMILVARPD_MASK,
11474 IX86_BUILTIN_VPERMILVARPS_MASK, IX86_BUILTIN_VPERMILVARPD256_MASK,
11475 IX86_BUILTIN_VPERMILVARPS256_MASK, IX86_BUILTIN_VPERMILPD_MASK,
11476 IX86_BUILTIN_VPERMILPS_MASK, IX86_BUILTIN_VPERMILPD256_MASK,
11477 IX86_BUILTIN_VPERMILPS256_MASK, IX86_BUILTIN_BLENDMQ256,
11478 IX86_BUILTIN_BLENDMD256, IX86_BUILTIN_BLENDMPD256,
11479 IX86_BUILTIN_BLENDMPS256, IX86_BUILTIN_BLENDMQ128,
11480 IX86_BUILTIN_BLENDMD128, IX86_BUILTIN_BLENDMPD128,
11481 IX86_BUILTIN_BLENDMPS128, IX86_BUILTIN_BLENDMW256,
11482 IX86_BUILTIN_BLENDMB256, IX86_BUILTIN_BLENDMW128,
11483 IX86_BUILTIN_BLENDMB128, IX86_BUILTIN_PMULLD256_MASK,
11484 IX86_BUILTIN_PMULLD128_MASK, IX86_BUILTIN_PMULUDQ256_MASK,
11485 IX86_BUILTIN_PMULDQ256_MASK, IX86_BUILTIN_PMULDQ128_MASK,
11486 IX86_BUILTIN_PMULUDQ128_MASK, IX86_BUILTIN_CVTPD2PS256_MASK,
11487 IX86_BUILTIN_CVTPD2PS_MASK, IX86_BUILTIN_VPERMVARSI256_MASK,
11488 IX86_BUILTIN_VPERMVARDI256_MASK, IX86_BUILTIN_VPERMDI256_MASK,
11489 IX86_BUILTIN_CMPQ256, IX86_BUILTIN_CMPD256,
11490 IX86_BUILTIN_UCMPQ256, IX86_BUILTIN_UCMPD256,
11491 IX86_BUILTIN_CMPB256, IX86_BUILTIN_CMPW256,
11492 IX86_BUILTIN_UCMPB256, IX86_BUILTIN_UCMPW256,
11493 IX86_BUILTIN_CMPPD256_MASK, IX86_BUILTIN_CMPPS256_MASK,
11494 IX86_BUILTIN_CMPQ128, IX86_BUILTIN_CMPD128,
11495 IX86_BUILTIN_UCMPQ128, IX86_BUILTIN_UCMPD128,
11496 IX86_BUILTIN_CMPB128, IX86_BUILTIN_CMPW128,
11497 IX86_BUILTIN_UCMPB128, IX86_BUILTIN_UCMPW128,
11498 IX86_BUILTIN_CMPPD128_MASK, IX86_BUILTIN_CMPPS128_MASK,
11499 IX86_BUILTIN_GATHER3SIV8SF, IX86_BUILTIN_GATHER3SIV4SF,
11500 IX86_BUILTIN_GATHER3SIV4DF, IX86_BUILTIN_GATHER3SIV2DF,
11501 IX86_BUILTIN_GATHER3DIV8SF, IX86_BUILTIN_GATHER3DIV4SF,
11502 IX86_BUILTIN_GATHER3DIV4DF, IX86_BUILTIN_GATHER3DIV2DF,
11503 IX86_BUILTIN_GATHER3SIV8SI, IX86_BUILTIN_GATHER3SIV4SI,
11504 IX86_BUILTIN_GATHER3SIV4DI, IX86_BUILTIN_GATHER3SIV2DI,
11505 IX86_BUILTIN_GATHER3DIV8SI, IX86_BUILTIN_GATHER3DIV4SI,
11506 IX86_BUILTIN_GATHER3DIV4DI, IX86_BUILTIN_GATHER3DIV2DI,
11507 IX86_BUILTIN_SCATTERSIV8SF, IX86_BUILTIN_SCATTERSIV4SF,
11508 IX86_BUILTIN_SCATTERSIV4DF, IX86_BUILTIN_SCATTERSIV2DF,
11509 IX86_BUILTIN_SCATTERDIV8SF, IX86_BUILTIN_SCATTERDIV4SF,
11510 IX86_BUILTIN_SCATTERDIV4DF, IX86_BUILTIN_SCATTERDIV2DF,
11511 IX86_BUILTIN_SCATTERSIV8SI, IX86_BUILTIN_SCATTERSIV4SI,
11512 IX86_BUILTIN_SCATTERSIV4DI, IX86_BUILTIN_SCATTERSIV2DI,
11513 IX86_BUILTIN_SCATTERDIV8SI, IX86_BUILTIN_SCATTERDIV4SI,
11514 IX86_BUILTIN_SCATTERDIV4DI, IX86_BUILTIN_SCATTERDIV2DI,
11515 IX86_BUILTIN_RANGESD128, IX86_BUILTIN_RANGESS128,
11516 IX86_BUILTIN_KUNPCKWD, IX86_BUILTIN_KUNPCKDQ,
11517 IX86_BUILTIN_BROADCASTF32x2_512, IX86_BUILTIN_BROADCASTI32x2_512,
11518 IX86_BUILTIN_BROADCASTF64X2_512, IX86_BUILTIN_BROADCASTI64X2_512,
11519 IX86_BUILTIN_BROADCASTF32X8_512, IX86_BUILTIN_BROADCASTI32X8_512,
11520 IX86_BUILTIN_EXTRACTF64X2_512, IX86_BUILTIN_EXTRACTF32X8,
11521 IX86_BUILTIN_EXTRACTI64X2_512, IX86_BUILTIN_EXTRACTI32X8,
11522 IX86_BUILTIN_REDUCEPD512_MASK, IX86_BUILTIN_REDUCEPS512_MASK,
11523 IX86_BUILTIN_PMULLQ512, IX86_BUILTIN_XORPD512,
11524 IX86_BUILTIN_XORPS512, IX86_BUILTIN_ORPD512,
11525 IX86_BUILTIN_ORPS512, IX86_BUILTIN_ANDPD512,
11526 IX86_BUILTIN_ANDPS512, IX86_BUILTIN_ANDNPD512,
11527 IX86_BUILTIN_ANDNPS512, IX86_BUILTIN_INSERTF32X8,
11528 IX86_BUILTIN_INSERTI32X8, IX86_BUILTIN_INSERTF64X2_512,
11529 IX86_BUILTIN_INSERTI64X2_512, IX86_BUILTIN_FPCLASSPD512,
11530 IX86_BUILTIN_FPCLASSPS512, IX86_BUILTIN_CVTD2MASK512,
11531 IX86_BUILTIN_CVTQ2MASK512, IX86_BUILTIN_CVTMASK2D512,
11532 IX86_BUILTIN_CVTMASK2Q512, IX86_BUILTIN_CVTPD2QQ512,
11533 IX86_BUILTIN_CVTPS2QQ512, IX86_BUILTIN_CVTPD2UQQ512,
11534 IX86_BUILTIN_CVTPS2UQQ512, IX86_BUILTIN_CVTQQ2PS512,
11535 IX86_BUILTIN_CVTUQQ2PS512, IX86_BUILTIN_CVTQQ2PD512,
11536 IX86_BUILTIN_CVTUQQ2PD512, IX86_BUILTIN_CVTTPS2QQ512,
11537 IX86_BUILTIN_CVTTPS2UQQ512, IX86_BUILTIN_CVTTPD2QQ512,
11538 IX86_BUILTIN_CVTTPD2UQQ512, IX86_BUILTIN_RANGEPS512,
11539 IX86_BUILTIN_RANGEPD512, IX86_BUILTIN_PACKUSDW512,
11540 IX86_BUILTIN_PACKSSDW512, IX86_BUILTIN_LOADDQUHI512_MASK,
11541 IX86_BUILTIN_LOADDQUQI512_MASK, IX86_BUILTIN_PSLLDQ512,
11542 IX86_BUILTIN_PSRLDQ512, IX86_BUILTIN_STOREDQUHI512_MASK,
11543 IX86_BUILTIN_STOREDQUQI512_MASK, IX86_BUILTIN_PALIGNR512,
11544 IX86_BUILTIN_PALIGNR512_MASK, IX86_BUILTIN_MOVDQUHI512_MASK,
11545 IX86_BUILTIN_MOVDQUQI512_MASK, IX86_BUILTIN_PSADBW512,
11546 IX86_BUILTIN_DBPSADBW512, IX86_BUILTIN_PBROADCASTB512,
11547 IX86_BUILTIN_PBROADCASTB512_GPR, IX86_BUILTIN_PBROADCASTW512,
11548 IX86_BUILTIN_PBROADCASTW512_GPR, IX86_BUILTIN_PMOVSXBW512_MASK,
11549 IX86_BUILTIN_PMOVZXBW512_MASK, IX86_BUILTIN_VPERMVARHI512_MASK,
11550 IX86_BUILTIN_VPERMT2VARHI512, IX86_BUILTIN_VPERMT2VARHI512_MASKZ,
11551 IX86_BUILTIN_VPERMI2VARHI512, IX86_BUILTIN_PAVGB512,
11552 IX86_BUILTIN_PAVGW512, IX86_BUILTIN_PADDB512,
11553 IX86_BUILTIN_PSUBB512, IX86_BUILTIN_PSUBSB512,
11554 IX86_BUILTIN_PADDSB512, IX86_BUILTIN_PSUBUSB512,
11555 IX86_BUILTIN_PADDUSB512, IX86_BUILTIN_PSUBW512,
11556 IX86_BUILTIN_PADDW512, IX86_BUILTIN_PSUBSW512,
11557 IX86_BUILTIN_PADDSW512, IX86_BUILTIN_PSUBUSW512,
11558 IX86_BUILTIN_PADDUSW512, IX86_BUILTIN_PMAXUW512,
11559 IX86_BUILTIN_PMAXSW512, IX86_BUILTIN_PMINUW512,
11560 IX86_BUILTIN_PMINSW512, IX86_BUILTIN_PMAXUB512,
11561 IX86_BUILTIN_PMAXSB512, IX86_BUILTIN_PMINUB512,
11562 IX86_BUILTIN_PMINSB512, IX86_BUILTIN_PMOVWB512,
11563 IX86_BUILTIN_PMOVSWB512, IX86_BUILTIN_PMOVUSWB512,
11564 IX86_BUILTIN_PMULHRSW512_MASK, IX86_BUILTIN_PMULHUW512_MASK,
11565 IX86_BUILTIN_PMULHW512_MASK, IX86_BUILTIN_PMULLW512_MASK,
11566 IX86_BUILTIN_PSLLWI512_MASK, IX86_BUILTIN_PSLLW512_MASK,
11567 IX86_BUILTIN_PACKSSWB512, IX86_BUILTIN_PACKUSWB512,
11568 IX86_BUILTIN_PSRAVV32HI, IX86_BUILTIN_PMADDUBSW512_MASK,
11569 IX86_BUILTIN_PMADDWD512_MASK, IX86_BUILTIN_PSRLVV32HI,
11570 IX86_BUILTIN_PUNPCKHBW512, IX86_BUILTIN_PUNPCKHWD512,
11571 IX86_BUILTIN_PUNPCKLBW512, IX86_BUILTIN_PUNPCKLWD512,
11572 IX86_BUILTIN_PSHUFB512, IX86_BUILTIN_PSHUFHW512,
11573 IX86_BUILTIN_PSHUFLW512, IX86_BUILTIN_PSRAWI512,
11574 IX86_BUILTIN_PSRAW512, IX86_BUILTIN_PSRLWI512,
11575 IX86_BUILTIN_PSRLW512, IX86_BUILTIN_CVTB2MASK512,
11576 IX86_BUILTIN_CVTW2MASK512, IX86_BUILTIN_CVTMASK2B512,
11577 IX86_BUILTIN_CVTMASK2W512, IX86_BUILTIN_PCMPEQB512_MASK,
11578 IX86_BUILTIN_PCMPEQW512_MASK, IX86_BUILTIN_PCMPGTB512_MASK,
11579 IX86_BUILTIN_PCMPGTW512_MASK, IX86_BUILTIN_PTESTMB512,
11580 IX86_BUILTIN_PTESTMW512, IX86_BUILTIN_PTESTNMB512,
11581 IX86_BUILTIN_PTESTNMW512, IX86_BUILTIN_PSLLVV32HI,
11582 IX86_BUILTIN_PABSB512, IX86_BUILTIN_PABSW512,
11583 IX86_BUILTIN_BLENDMW512, IX86_BUILTIN_BLENDMB512,
11584 IX86_BUILTIN_CMPB512, IX86_BUILTIN_CMPW512,
11585 IX86_BUILTIN_UCMPB512, IX86_BUILTIN_UCMPW512.
11586 (bdesc_special_args):
11587 Add __builtin_ia32_loaddquhi512_mask, __builtin_ia32_loaddquqi512_mask,
11588 __builtin_ia32_storedquhi512_mask, __builtin_ia32_storedquqi512_mask,
11589 __builtin_ia32_loaddquhi256_mask, __builtin_ia32_loaddquhi128_mask,
11590 __builtin_ia32_loaddquqi256_mask, __builtin_ia32_loaddquqi128_mask,
11591 __builtin_ia32_movdqa64load256_mask, __builtin_ia32_movdqa64load128_mask,
11592 __builtin_ia32_movdqa32load256_mask, __builtin_ia32_movdqa32load128_mask,
11593 __builtin_ia32_movdqa64store256_mask, __builtin_ia32_movdqa64store128_mask,
11594 __builtin_ia32_movdqa32store256_mask, __builtin_ia32_movdqa32store128_mask,
11595 __builtin_ia32_loadapd256_mask, __builtin_ia32_loadapd128_mask,
11596 __builtin_ia32_loadaps256_mask, __builtin_ia32_loadaps128_mask,
11597 __builtin_ia32_storeapd256_mask, __builtin_ia32_storeapd128_mask,
11598 __builtin_ia32_storeaps256_mask, __builtin_ia32_storeaps128_mask,
11599 __builtin_ia32_loadupd256_mask, __builtin_ia32_loadupd128_mask,
11600 __builtin_ia32_loadups256_mask, __builtin_ia32_loadups128_mask,
11601 __builtin_ia32_storeupd256_mask, __builtin_ia32_storeupd128_mask,
11602 __builtin_ia32_storeups256_mask, __builtin_ia32_storeups128_mask,
11603 __builtin_ia32_loaddqudi256_mask, __builtin_ia32_loaddqudi128_mask,
11604 __builtin_ia32_loaddqusi256_mask, __builtin_ia32_loaddqusi128_mask,
11605 __builtin_ia32_storedqudi256_mask, __builtin_ia32_storedqudi128_mask,
11606 __builtin_ia32_storedqusi256_mask, __builtin_ia32_storedqusi128_mask,
11607 __builtin_ia32_storedquhi256_mask, __builtin_ia32_storedquhi128_mask,
11608 __builtin_ia32_storedquqi256_mask, __builtin_ia32_storedquqi128_mask,
11609 __builtin_ia32_compressstoredf256_mask, __builtin_ia32_compressstoredf128_mask,
11610 __builtin_ia32_compressstoresf256_mask, __builtin_ia32_compressstoresf128_mask,
11611 __builtin_ia32_compressstoredi256_mask, __builtin_ia32_compressstoredi128_mask,
11612 __builtin_ia32_compressstoresi256_mask, __builtin_ia32_compressstoresi128_mask,
11613 __builtin_ia32_expandloaddf256_mask, __builtin_ia32_expandloaddf128_mask,
11614 __builtin_ia32_expandloadsf256_mask, __builtin_ia32_expandloadsf128_mask,
11615 __builtin_ia32_expandloaddi256_mask, __builtin_ia32_expandloaddi128_mask,
11616 __builtin_ia32_expandloadsi256_mask, __builtin_ia32_expandloadsi128_mask,
11617 __builtin_ia32_expandloaddf256_maskz, __builtin_ia32_expandloaddf128_maskz,
11618 __builtin_ia32_expandloadsf256_maskz, __builtin_ia32_expandloadsf128_maskz,
11619 __builtin_ia32_expandloaddi256_maskz, __builtin_ia32_expandloaddi128_maskz,
11620 __builtin_ia32_expandloadsi256_maskz, __builtin_ia32_expandloadsi128_maskz,
11621 __builtin_ia32_pmovqd256mem_mask, __builtin_ia32_pmovqd128mem_mask,
11622 __builtin_ia32_pmovsqd256mem_mask, __builtin_ia32_pmovsqd128mem_mask,
11623 __builtin_ia32_pmovusqd256mem_mask, __builtin_ia32_pmovusqd128mem_mask,
11624 __builtin_ia32_pmovqw256mem_mask, __builtin_ia32_pmovqw128mem_mask,
11625 __builtin_ia32_pmovsqw256mem_mask, __builtin_ia32_pmovsqw128mem_mask,
11626 __builtin_ia32_pmovusqw256mem_mask, __builtin_ia32_pmovusqw128mem_mask,
11627 __builtin_ia32_pmovqb256mem_mask, __builtin_ia32_pmovqb128mem_mask,
11628 __builtin_ia32_pmovsqb256mem_mask, __builtin_ia32_pmovsqb128mem_mask,
11629 __builtin_ia32_pmovusqb256mem_mask, __builtin_ia32_pmovusqb128mem_mask,
11630 __builtin_ia32_pmovdb256mem_mask, __builtin_ia32_pmovdb128mem_mask,
11631 __builtin_ia32_pmovsdb256mem_mask, __builtin_ia32_pmovsdb128mem_mask,
11632 __builtin_ia32_pmovusdb256mem_mask, __builtin_ia32_pmovusdb128mem_mask,
11633 __builtin_ia32_pmovdw256mem_mask, __builtin_ia32_pmovdw128mem_mask,
11634 __builtin_ia32_pmovsdw256mem_mask, __builtin_ia32_pmovsdw128mem_mask,
11635 __builtin_ia32_pmovusdw256mem_mask, __builtin_ia32_pmovusdw128mem_mask,
11636 __builtin_ia32_palignr256_mask, __builtin_ia32_palignr128_mask,
11637 __builtin_ia32_movdqa64_256_mask, __builtin_ia32_movdqa64_128_mask,
11638 __builtin_ia32_movdqa32_256_mask, __builtin_ia32_movdqa32_128_mask,
11639 __builtin_ia32_movapd256_mask, __builtin_ia32_movapd128_mask,
11640 __builtin_ia32_movaps256_mask, __builtin_ia32_movaps128_mask,
11641 __builtin_ia32_movdquhi256_mask, __builtin_ia32_movdquhi128_mask,
11642 __builtin_ia32_movdquqi256_mask, __builtin_ia32_movdquqi128_mask,
11643 __builtin_ia32_minps_mask, __builtin_ia32_maxps_mask,
11644 __builtin_ia32_minpd_mask, __builtin_ia32_maxpd_mask,
11645 __builtin_ia32_maxpd256_mask, __builtin_ia32_maxps256_mask,
11646 __builtin_ia32_minpd256_mask, __builtin_ia32_minps256_mask,
11647 __builtin_ia32_mulps_mask, __builtin_ia32_divps_mask,
11648 __builtin_ia32_mulpd_mask, __builtin_ia32_divpd_mask,
11649 __builtin_ia32_divpd256_mask, __builtin_ia32_divps256_mask,
11650 __builtin_ia32_mulpd256_mask, __builtin_ia32_mulps256_mask,
11651 __builtin_ia32_addpd128_mask, __builtin_ia32_addpd256_mask,
11652 __builtin_ia32_addps128_mask, __builtin_ia32_addps256_mask,
11653 __builtin_ia32_subpd128_mask, __builtin_ia32_subpd256_mask,
11654 __builtin_ia32_subps128_mask, __builtin_ia32_subps256_mask,
11655 __builtin_ia32_xorpd256_mask, __builtin_ia32_xorpd128_mask,
11656 __builtin_ia32_xorps256_mask, __builtin_ia32_xorps128_mask,
11657 __builtin_ia32_orpd256_mask, __builtin_ia32_orpd128_mask,
11658 __builtin_ia32_orps256_mask, __builtin_ia32_orps128_mask,
11659 __builtin_ia32_broadcastf32x2_256_mask, __builtin_ia32_broadcasti32x2_256_mask,
11660 __builtin_ia32_broadcasti32x2_128_mask, __builtin_ia32_broadcastf64x2_256_mask,
11661 __builtin_ia32_broadcasti64x2_256_mask, __builtin_ia32_broadcastf32x4_256_mask,
11662 __builtin_ia32_broadcasti32x4_256_mask, __builtin_ia32_extractf32x4_256_mask,
11663 __builtin_ia32_extracti32x4_256_mask, __builtin_ia32_dbpsadbw256_mask,
11664 __builtin_ia32_dbpsadbw128_mask, __builtin_ia32_cvttpd2qq256_mask,
11665 __builtin_ia32_cvttpd2qq128_mask, __builtin_ia32_cvttpd2uqq256_mask,
11666 __builtin_ia32_cvttpd2uqq128_mask, __builtin_ia32_cvtpd2qq256_mask,
11667 __builtin_ia32_cvtpd2qq128_mask, __builtin_ia32_cvtpd2uqq256_mask,
11668 __builtin_ia32_cvtpd2uqq128_mask, __builtin_ia32_cvtpd2udq256_mask,
11669 __builtin_ia32_cvtpd2udq128_mask, __builtin_ia32_cvttps2qq256_mask,
11670 __builtin_ia32_cvttps2qq128_mask, __builtin_ia32_cvttps2uqq256_mask,
11671 __builtin_ia32_cvttps2uqq128_mask, __builtin_ia32_cvttps2dq256_mask,
11672 __builtin_ia32_cvttps2dq128_mask, __builtin_ia32_cvttps2udq256_mask,
11673 __builtin_ia32_cvttps2udq128_mask, __builtin_ia32_cvttpd2dq256_mask,
11674 __builtin_ia32_cvttpd2dq128_mask, __builtin_ia32_cvttpd2udq256_mask,
11675 __builtin_ia32_cvttpd2udq128_mask, __builtin_ia32_cvtpd2dq256_mask,
11676 __builtin_ia32_cvtpd2dq128_mask, __builtin_ia32_cvtdq2pd256_mask,
11677 __builtin_ia32_cvtdq2pd128_mask, __builtin_ia32_cvtudq2pd256_mask,
11678 __builtin_ia32_cvtudq2pd128_mask, __builtin_ia32_cvtdq2ps256_mask,
11679 __builtin_ia32_cvtdq2ps128_mask, __builtin_ia32_cvtudq2ps256_mask,
11680 __builtin_ia32_cvtudq2ps128_mask, __builtin_ia32_cvtps2pd256_mask,
11681 __builtin_ia32_cvtps2pd128_mask, __builtin_ia32_pbroadcastb256_mask,
11682 __builtin_ia32_pbroadcastb256_gpr_mask, __builtin_ia32_pbroadcastb128_mask,
11683 __builtin_ia32_pbroadcastb128_gpr_mask, __builtin_ia32_pbroadcastw256_mask,
11684 __builtin_ia32_pbroadcastw256_gpr_mask, __builtin_ia32_pbroadcastw128_mask,
11685 __builtin_ia32_pbroadcastw128_gpr_mask, __builtin_ia32_pbroadcastd256_mask,
11686 __builtin_ia32_pbroadcastd256_gpr_mask, __builtin_ia32_pbroadcastd128_mask,
11687 __builtin_ia32_pbroadcastd128_gpr_mask, __builtin_ia32_pbroadcastq256_mask,
11688 __builtin_ia32_pbroadcastq256_gpr_mask, __builtin_ia32_pbroadcastq256_mem_mask,
11689 __builtin_ia32_pbroadcastq128_mask, __builtin_ia32_pbroadcastq128_gpr_mask,
11690 __builtin_ia32_pbroadcastq128_mem_mask, __builtin_ia32_broadcastss256_mask,
11691 __builtin_ia32_broadcastss128_mask, __builtin_ia32_broadcastsd256_mask,
11692 __builtin_ia32_extractf64x2_256_mask, __builtin_ia32_extracti64x2_256_mask,
11693 __builtin_ia32_insertf32x4_256_mask, __builtin_ia32_inserti32x4_256_mask,
11694 __builtin_ia32_pmovsxbw256_mask, __builtin_ia32_pmovsxbw128_mask,
11695 __builtin_ia32_pmovsxbd256_mask, __builtin_ia32_pmovsxbd128_mask,
11696 __builtin_ia32_pmovsxbq256_mask, __builtin_ia32_pmovsxbq128_mask,
11697 __builtin_ia32_pmovsxwd256_mask, __builtin_ia32_pmovsxwd128_mask,
11698 __builtin_ia32_pmovsxwq256_mask, __builtin_ia32_pmovsxwq128_mask,
11699 __builtin_ia32_pmovsxdq256_mask, __builtin_ia32_pmovsxdq128_mask,
11700 __builtin_ia32_pmovzxbw256_mask, __builtin_ia32_pmovzxbw128_mask,
11701 __builtin_ia32_pmovzxbd256_mask, __builtin_ia32_pmovzxbd128_mask,
11702 __builtin_ia32_pmovzxbq256_mask, __builtin_ia32_pmovzxbq128_mask,
11703 __builtin_ia32_pmovzxwd256_mask, __builtin_ia32_pmovzxwd128_mask,
11704 __builtin_ia32_pmovzxwq256_mask, __builtin_ia32_pmovzxwq128_mask,
11705 __builtin_ia32_pmovzxdq256_mask, __builtin_ia32_pmovzxdq128_mask,
11706 __builtin_ia32_reducepd256_mask, __builtin_ia32_reducepd128_mask,
11707 __builtin_ia32_reduceps256_mask, __builtin_ia32_reduceps128_mask,
11708 __builtin_ia32_reducesd, __builtin_ia32_reducess,
11709 __builtin_ia32_permvarhi256_mask, __builtin_ia32_permvarhi128_mask,
11710 __builtin_ia32_vpermt2varhi256_mask, __builtin_ia32_vpermt2varhi256_maskz,
11711 __builtin_ia32_vpermt2varhi128_mask, __builtin_ia32_vpermt2varhi128_maskz,
11712 __builtin_ia32_vpermi2varhi256_mask, __builtin_ia32_vpermi2varhi128_mask,
11713 __builtin_ia32_rcp14pd256_mask, __builtin_ia32_rcp14pd128_mask,
11714 __builtin_ia32_rcp14ps256_mask, __builtin_ia32_rcp14ps128_mask,
11715 __builtin_ia32_rsqrt14pd256_mask, __builtin_ia32_rsqrt14pd128_mask,
11716 __builtin_ia32_rsqrt14ps256_mask, __builtin_ia32_rsqrt14ps128_mask,
11717 __builtin_ia32_sqrtpd256_mask, __builtin_ia32_sqrtpd128_mask,
11718 __builtin_ia32_sqrtps256_mask, __builtin_ia32_sqrtps128_mask,
11719 __builtin_ia32_paddb128_mask, __builtin_ia32_paddw128_mask,
11720 __builtin_ia32_paddd128_mask, __builtin_ia32_paddq128_mask,
11721 __builtin_ia32_psubb128_mask, __builtin_ia32_psubw128_mask,
11722 __builtin_ia32_psubd128_mask, __builtin_ia32_psubq128_mask,
11723 __builtin_ia32_paddsb128_mask, __builtin_ia32_paddsw128_mask,
11724 __builtin_ia32_psubsb128_mask, __builtin_ia32_psubsw128_mask,
11725 __builtin_ia32_paddusb128_mask, __builtin_ia32_paddusw128_mask,
11726 __builtin_ia32_psubusb128_mask, __builtin_ia32_psubusw128_mask,
11727 __builtin_ia32_paddb256_mask, __builtin_ia32_paddw256_mask,
11728 __builtin_ia32_paddd256_mask, __builtin_ia32_paddq256_mask,
11729 __builtin_ia32_paddsb256_mask, __builtin_ia32_paddsw256_mask,
11730 __builtin_ia32_paddusb256_mask, __builtin_ia32_paddusw256_mask,
11731 __builtin_ia32_psubb256_mask, __builtin_ia32_psubw256_mask,
11732 __builtin_ia32_psubd256_mask, __builtin_ia32_psubq256_mask,
11733 __builtin_ia32_psubsb256_mask, __builtin_ia32_psubsw256_mask,
11734 __builtin_ia32_psubusb256_mask, __builtin_ia32_psubusw256_mask,
11735 __builtin_ia32_shuf_f64x2_256_mask, __builtin_ia32_shuf_i64x2_256_mask,
11736 __builtin_ia32_shuf_i32x4_256_mask, __builtin_ia32_shuf_f32x4_256_mask,
11737 __builtin_ia32_pmovwb128_mask, __builtin_ia32_pmovwb256_mask,
11738 __builtin_ia32_pmovswb128_mask, __builtin_ia32_pmovswb256_mask,
11739 __builtin_ia32_pmovuswb128_mask, __builtin_ia32_pmovuswb256_mask,
11740 __builtin_ia32_pmovdb128_mask, __builtin_ia32_pmovdb256_mask,
11741 __builtin_ia32_pmovsdb128_mask, __builtin_ia32_pmovsdb256_mask,
11742 __builtin_ia32_pmovusdb128_mask, __builtin_ia32_pmovusdb256_mask,
11743 __builtin_ia32_pmovdw128_mask, __builtin_ia32_pmovdw256_mask,
11744 __builtin_ia32_pmovsdw128_mask, __builtin_ia32_pmovsdw256_mask,
11745 __builtin_ia32_pmovusdw128_mask, __builtin_ia32_pmovusdw256_mask,
11746 __builtin_ia32_pmovqb128_mask, __builtin_ia32_pmovqb256_mask,
11747 __builtin_ia32_pmovsqb128_mask, __builtin_ia32_pmovsqb256_mask,
11748 __builtin_ia32_pmovusqb128_mask, __builtin_ia32_pmovusqb256_mask,
11749 __builtin_ia32_pmovqw128_mask, __builtin_ia32_pmovqw256_mask,
11750 __builtin_ia32_pmovsqw128_mask, __builtin_ia32_pmovsqw256_mask,
11751 __builtin_ia32_pmovusqw128_mask, __builtin_ia32_pmovusqw256_mask,
11752 __builtin_ia32_pmovqd128_mask, __builtin_ia32_pmovqd256_mask,
11753 __builtin_ia32_pmovsqd128_mask, __builtin_ia32_pmovsqd256_mask,
11754 __builtin_ia32_pmovusqd128_mask, __builtin_ia32_pmovusqd256_mask,
11755 __builtin_ia32_rangepd256_mask, __builtin_ia32_rangepd128_mask,
11756 __builtin_ia32_rangeps256_mask, __builtin_ia32_rangeps128_mask,
11757 __builtin_ia32_getexpps256_mask, __builtin_ia32_getexppd256_mask,
11758 __builtin_ia32_getexpps128_mask, __builtin_ia32_getexppd128_mask,
11759 __builtin_ia32_fixupimmpd256, __builtin_ia32_fixupimmpd256_mask,
11760 __builtin_ia32_fixupimmpd256_maskz, __builtin_ia32_fixupimmps256,
11761 __builtin_ia32_fixupimmps256_mask, __builtin_ia32_fixupimmps256_maskz,
11762 __builtin_ia32_fixupimmpd128, __builtin_ia32_fixupimmpd128_mask,
11763 __builtin_ia32_fixupimmpd128_maskz, __builtin_ia32_fixupimmps128,
11764 __builtin_ia32_fixupimmps128_mask, __builtin_ia32_fixupimmps128_maskz,
11765 __builtin_ia32_pabsq256_mask, __builtin_ia32_pabsq128_mask,
11766 __builtin_ia32_pabsd256_mask, __builtin_ia32_pabsd128_mask,
11767 __builtin_ia32_pmulhrsw256_mask, __builtin_ia32_pmulhrsw128_mask,
11768 __builtin_ia32_pmulhuw128_mask, __builtin_ia32_pmulhuw256_mask,
11769 __builtin_ia32_pmulhw256_mask, __builtin_ia32_pmulhw128_mask,
11770 __builtin_ia32_pmullw256_mask, __builtin_ia32_pmullw128_mask,
11771 __builtin_ia32_pmullq256_mask, __builtin_ia32_pmullq128_mask,
11772 __builtin_ia32_andpd256_mask, __builtin_ia32_andpd128_mask,
11773 __builtin_ia32_andps256_mask, __builtin_ia32_andps128_mask,
11774 __builtin_ia32_andnpd256_mask, __builtin_ia32_andnpd128_mask,
11775 __builtin_ia32_andnps256_mask, __builtin_ia32_andnps128_mask,
11776 __builtin_ia32_psllwi128_mask, __builtin_ia32_pslldi128_mask,
11777 __builtin_ia32_psllqi128_mask, __builtin_ia32_psllw128_mask,
11778 __builtin_ia32_pslld128_mask, __builtin_ia32_psllq128_mask,
11779 __builtin_ia32_psllwi256_mask, __builtin_ia32_psllw256_mask,
11780 __builtin_ia32_pslldi256_mask, __builtin_ia32_pslld256_mask,
11781 __builtin_ia32_psllqi256_mask, __builtin_ia32_psllq256_mask,
11782 __builtin_ia32_psradi128_mask, __builtin_ia32_psrad128_mask,
11783 __builtin_ia32_psradi256_mask, __builtin_ia32_psrad256_mask,
11784 __builtin_ia32_psraqi128_mask, __builtin_ia32_psraq128_mask,
11785 __builtin_ia32_psraqi256_mask, __builtin_ia32_psraq256_mask,
11786 __builtin_ia32_pandd256_mask, __builtin_ia32_pandd128_mask,
11787 __builtin_ia32_psrldi128_mask, __builtin_ia32_psrld128_mask,
11788 __builtin_ia32_psrldi256_mask, __builtin_ia32_psrld256_mask,
11789 __builtin_ia32_psrlqi128_mask, __builtin_ia32_psrlq128_mask,
11790 __builtin_ia32_psrlqi256_mask, __builtin_ia32_psrlq256_mask,
11791 __builtin_ia32_pandq256_mask, __builtin_ia32_pandq128_mask,
11792 __builtin_ia32_pandnd256_mask, __builtin_ia32_pandnd128_mask,
11793 __builtin_ia32_pandnq256_mask, __builtin_ia32_pandnq128_mask,
11794 __builtin_ia32_pord256_mask, __builtin_ia32_pord128_mask,
11795 __builtin_ia32_porq256_mask, __builtin_ia32_porq128_mask,
11796 __builtin_ia32_pxord256_mask, __builtin_ia32_pxord128_mask,
11797 __builtin_ia32_pxorq256_mask, __builtin_ia32_pxorq128_mask,
11798 __builtin_ia32_packsswb256_mask, __builtin_ia32_packsswb128_mask,
11799 __builtin_ia32_packuswb256_mask, __builtin_ia32_packuswb128_mask,
11800 __builtin_ia32_rndscaleps_256_mask, __builtin_ia32_rndscalepd_256_mask,
11801 __builtin_ia32_rndscaleps_128_mask, __builtin_ia32_rndscalepd_128_mask,
11802 __builtin_ia32_pternlogq256_mask, __builtin_ia32_pternlogq256_maskz,
11803 __builtin_ia32_pternlogd256_mask, __builtin_ia32_pternlogd256_maskz,
11804 __builtin_ia32_pternlogq128_mask, __builtin_ia32_pternlogq128_maskz,
11805 __builtin_ia32_pternlogd128_mask, __builtin_ia32_pternlogd128_maskz,
11806 __builtin_ia32_scalefpd256_mask, __builtin_ia32_scalefps256_mask,
11807 __builtin_ia32_scalefpd128_mask, __builtin_ia32_scalefps128_mask,
11808 __builtin_ia32_vfmaddpd256_mask, __builtin_ia32_vfmaddpd256_mask3,
11809 __builtin_ia32_vfmaddpd256_maskz, __builtin_ia32_vfmaddpd128_mask,
11810 __builtin_ia32_vfmaddpd128_mask3, __builtin_ia32_vfmaddpd128_maskz,
11811 __builtin_ia32_vfmaddps256_mask, __builtin_ia32_vfmaddps256_mask3,
11812 __builtin_ia32_vfmaddps256_maskz, __builtin_ia32_vfmaddps128_mask,
11813 __builtin_ia32_vfmaddps128_mask3, __builtin_ia32_vfmaddps128_maskz,
11814 __builtin_ia32_vfmsubpd256_mask3, __builtin_ia32_vfmsubpd128_mask3,
11815 __builtin_ia32_vfmsubps256_mask3, __builtin_ia32_vfmsubps128_mask3,
11816 __builtin_ia32_vfnmaddpd256_mask, __builtin_ia32_vfnmaddpd128_mask,
11817 __builtin_ia32_vfnmaddps256_mask, __builtin_ia32_vfnmaddps128_mask,
11818 __builtin_ia32_vfnmsubpd256_mask, __builtin_ia32_vfnmsubpd256_mask3,
11819 __builtin_ia32_vfnmsubpd128_mask, __builtin_ia32_vfnmsubpd128_mask3,
11820 __builtin_ia32_vfnmsubps256_mask, __builtin_ia32_vfnmsubps256_mask3,
11821 __builtin_ia32_vfnmsubps128_mask, __builtin_ia32_vfnmsubps128_mask3,
11822 __builtin_ia32_vfmaddsubpd256_mask, __builtin_ia32_vfmaddsubpd256_mask3,
11823 __builtin_ia32_vfmaddsubpd256_maskz, __builtin_ia32_vfmaddsubpd128_mask,
11824 __builtin_ia32_vfmaddsubpd128_mask3, __builtin_ia32_vfmaddsubpd128_maskz,
11825 __builtin_ia32_vfmaddsubps256_mask, __builtin_ia32_vfmaddsubps256_mask3,
11826 __builtin_ia32_vfmaddsubps256_maskz, __builtin_ia32_vfmaddsubps128_mask,
11827 __builtin_ia32_vfmaddsubps128_mask3, __builtin_ia32_vfmaddsubps128_maskz,
11828 __builtin_ia32_vfmsubaddpd256_mask3, __builtin_ia32_vfmsubaddpd128_mask3,
11829 __builtin_ia32_vfmsubaddps256_mask3, __builtin_ia32_vfmsubaddps128_mask3,
11830 __builtin_ia32_insertf64x2_256_mask, __builtin_ia32_inserti64x2_256_mask,
11831 __builtin_ia32_psrav16hi_mask, __builtin_ia32_psrav8hi_mask,
11832 __builtin_ia32_pmaddubsw256_mask, __builtin_ia32_pmaddubsw128_mask,
11833 __builtin_ia32_pmaddwd256_mask, __builtin_ia32_pmaddwd128_mask,
11834 __builtin_ia32_psrlv16hi_mask, __builtin_ia32_psrlv8hi_mask,
11835 __builtin_ia32_cvtps2dq256_mask, __builtin_ia32_cvtps2dq128_mask,
11836 __builtin_ia32_cvtps2udq256_mask, __builtin_ia32_cvtps2udq128_mask,
11837 __builtin_ia32_cvtps2qq256_mask, __builtin_ia32_cvtps2qq128_mask,
11838 __builtin_ia32_cvtps2uqq256_mask, __builtin_ia32_cvtps2uqq128_mask,
11839 __builtin_ia32_getmantps256_mask, __builtin_ia32_getmantps128_mask,
11840 __builtin_ia32_getmantpd256_mask, __builtin_ia32_getmantpd128_mask,
11841 __builtin_ia32_movddup256_mask, __builtin_ia32_movddup128_mask,
11842 __builtin_ia32_movshdup256_mask, __builtin_ia32_movshdup128_mask,
11843 __builtin_ia32_movsldup256_mask, __builtin_ia32_movsldup128_mask,
11844 __builtin_ia32_cvtqq2ps256_mask, __builtin_ia32_cvtqq2ps128_mask,
11845 __builtin_ia32_cvtuqq2ps256_mask, __builtin_ia32_cvtuqq2ps128_mask,
11846 __builtin_ia32_cvtqq2pd256_mask, __builtin_ia32_cvtqq2pd128_mask,
11847 __builtin_ia32_cvtuqq2pd256_mask, __builtin_ia32_cvtuqq2pd128_mask,
11848 __builtin_ia32_vpermt2varq256_mask, __builtin_ia32_vpermt2varq256_maskz,
11849 __builtin_ia32_vpermt2vard256_mask, __builtin_ia32_vpermt2vard256_maskz,
11850 __builtin_ia32_vpermi2varq256_mask, __builtin_ia32_vpermi2vard256_mask,
11851 __builtin_ia32_vpermt2varpd256_mask, __builtin_ia32_vpermt2varpd256_maskz,
11852 __builtin_ia32_vpermt2varps256_mask, __builtin_ia32_vpermt2varps256_maskz,
11853 __builtin_ia32_vpermi2varpd256_mask, __builtin_ia32_vpermi2varps256_mask,
11854 __builtin_ia32_vpermt2varq128_mask, __builtin_ia32_vpermt2varq128_maskz,
11855 __builtin_ia32_vpermt2vard128_mask, __builtin_ia32_vpermt2vard128_maskz,
11856 __builtin_ia32_vpermi2varq128_mask, __builtin_ia32_vpermi2vard128_mask,
11857 __builtin_ia32_vpermt2varpd128_mask, __builtin_ia32_vpermt2varpd128_maskz,
11858 __builtin_ia32_vpermt2varps128_mask, __builtin_ia32_vpermt2varps128_maskz,
11859 __builtin_ia32_vpermi2varpd128_mask, __builtin_ia32_vpermi2varps128_mask,
11860 __builtin_ia32_pshufb256_mask, __builtin_ia32_pshufb128_mask,
11861 __builtin_ia32_pshufhw256_mask, __builtin_ia32_pshufhw128_mask,
11862 __builtin_ia32_pshuflw256_mask, __builtin_ia32_pshuflw128_mask,
11863 __builtin_ia32_pshufd256_mask, __builtin_ia32_pshufd128_mask,
11864 __builtin_ia32_shufpd256_mask, __builtin_ia32_shufpd128_mask,
11865 __builtin_ia32_shufps256_mask, __builtin_ia32_shufps128_mask,
11866 __builtin_ia32_prolvq256_mask, __builtin_ia32_prolvq128_mask,
11867 __builtin_ia32_prolq256_mask, __builtin_ia32_prolq128_mask,
11868 __builtin_ia32_prorvq256_mask, __builtin_ia32_prorvq128_mask,
11869 __builtin_ia32_prorq256_mask, __builtin_ia32_prorq128_mask,
11870 __builtin_ia32_psravq128_mask, __builtin_ia32_psravq256_mask,
11871 __builtin_ia32_psllv4di_mask, __builtin_ia32_psllv2di_mask,
11872 __builtin_ia32_psllv8si_mask, __builtin_ia32_psllv4si_mask,
11873 __builtin_ia32_psrav8si_mask, __builtin_ia32_psrav4si_mask,
11874 __builtin_ia32_psrlv4di_mask, __builtin_ia32_psrlv2di_mask,
11875 __builtin_ia32_psrlv8si_mask, __builtin_ia32_psrlv4si_mask,
11876 __builtin_ia32_psrawi256_mask, __builtin_ia32_psraw256_mask,
11877 __builtin_ia32_psrawi128_mask, __builtin_ia32_psraw128_mask,
11878 __builtin_ia32_psrlwi256_mask, __builtin_ia32_psrlw256_mask,
11879 __builtin_ia32_psrlwi128_mask, __builtin_ia32_psrlw128_mask,
11880 __builtin_ia32_prorvd256_mask, __builtin_ia32_prolvd256_mask,
11881 __builtin_ia32_prord256_mask, __builtin_ia32_prold256_mask,
11882 __builtin_ia32_prorvd128_mask, __builtin_ia32_prolvd128_mask,
11883 __builtin_ia32_prord128_mask, __builtin_ia32_prold128_mask,
11884 __builtin_ia32_fpclasspd256_mask, __builtin_ia32_fpclasspd128_mask,
11885 __builtin_ia32_fpclasssd, __builtin_ia32_fpclassps256_mask,
11886 __builtin_ia32_fpclassps128_mask, __builtin_ia32_fpclassss,
11887 __builtin_ia32_cvtb2mask128, __builtin_ia32_cvtb2mask256,
11888 __builtin_ia32_cvtw2mask128, __builtin_ia32_cvtw2mask256,
11889 __builtin_ia32_cvtd2mask128, __builtin_ia32_cvtd2mask256,
11890 __builtin_ia32_cvtq2mask128, __builtin_ia32_cvtq2mask256,
11891 __builtin_ia32_cvtmask2b128, __builtin_ia32_cvtmask2b256,
11892 __builtin_ia32_cvtmask2w128, __builtin_ia32_cvtmask2w256,
11893 __builtin_ia32_cvtmask2d128, __builtin_ia32_cvtmask2d256,
11894 __builtin_ia32_cvtmask2q128, __builtin_ia32_cvtmask2q256,
11895 __builtin_ia32_pcmpeqb128_mask, __builtin_ia32_pcmpeqb256_mask,
11896 __builtin_ia32_pcmpeqw128_mask, __builtin_ia32_pcmpeqw256_mask,
11897 __builtin_ia32_pcmpeqd128_mask, __builtin_ia32_pcmpeqd256_mask,
11898 __builtin_ia32_pcmpeqq128_mask, __builtin_ia32_pcmpeqq256_mask,
11899 __builtin_ia32_pcmpgtb128_mask, __builtin_ia32_pcmpgtb256_mask,
11900 __builtin_ia32_pcmpgtw128_mask, __builtin_ia32_pcmpgtw256_mask,
11901 __builtin_ia32_pcmpgtd128_mask, __builtin_ia32_pcmpgtd256_mask,
11902 __builtin_ia32_pcmpgtq128_mask, __builtin_ia32_pcmpgtq256_mask,
11903 __builtin_ia32_ptestmb128, __builtin_ia32_ptestmb256,
11904 __builtin_ia32_ptestmw128, __builtin_ia32_ptestmw256,
11905 __builtin_ia32_ptestmd128, __builtin_ia32_ptestmd256,
11906 __builtin_ia32_ptestmq128, __builtin_ia32_ptestmq256,
11907 __builtin_ia32_ptestnmb128, __builtin_ia32_ptestnmb256,
11908 __builtin_ia32_ptestnmw128, __builtin_ia32_ptestnmw256,
11909 __builtin_ia32_ptestnmd128, __builtin_ia32_ptestnmd256,
11910 __builtin_ia32_ptestnmq128, __builtin_ia32_ptestnmq256,
11911 __builtin_ia32_broadcastmb128, __builtin_ia32_broadcastmb256,
11912 __builtin_ia32_broadcastmw128, __builtin_ia32_broadcastmw256,
11913 __builtin_ia32_compressdf256_mask, __builtin_ia32_compressdf128_mask,
11914 __builtin_ia32_compresssf256_mask, __builtin_ia32_compresssf128_mask,
11915 __builtin_ia32_compressdi256_mask, __builtin_ia32_compressdi128_mask,
11916 __builtin_ia32_compresssi256_mask, __builtin_ia32_compresssi128_mask,
11917 __builtin_ia32_expanddf256_mask, __builtin_ia32_expanddf128_mask,
11918 __builtin_ia32_expandsf256_mask, __builtin_ia32_expandsf128_mask,
11919 __builtin_ia32_expanddi256_mask, __builtin_ia32_expanddi128_mask,
11920 __builtin_ia32_expandsi256_mask, __builtin_ia32_expandsi128_mask,
11921 __builtin_ia32_expanddf256_maskz, __builtin_ia32_expanddf128_maskz,
11922 __builtin_ia32_expandsf256_maskz, __builtin_ia32_expandsf128_maskz,
11923 __builtin_ia32_expanddi256_maskz, __builtin_ia32_expanddi128_maskz,
11924 __builtin_ia32_expandsi256_maskz, __builtin_ia32_expandsi128_maskz,
11925 __builtin_ia32_pmaxsd256_mask, __builtin_ia32_pminsd256_mask,
11926 __builtin_ia32_pmaxud256_mask, __builtin_ia32_pminud256_mask,
11927 __builtin_ia32_pmaxsd128_mask, __builtin_ia32_pminsd128_mask,
11928 __builtin_ia32_pmaxud128_mask, __builtin_ia32_pminud128_mask,
11929 __builtin_ia32_pmaxsq256_mask, __builtin_ia32_pminsq256_mask,
11930 __builtin_ia32_pmaxuq256_mask, __builtin_ia32_pminuq256_mask,
11931 __builtin_ia32_pmaxsq128_mask, __builtin_ia32_pminsq128_mask,
11932 __builtin_ia32_pmaxuq128_mask, __builtin_ia32_pminuq128_mask,
11933 __builtin_ia32_pminsb256_mask, __builtin_ia32_pminub256_mask,
11934 __builtin_ia32_pmaxsb256_mask, __builtin_ia32_pmaxub256_mask,
11935 __builtin_ia32_pminsb128_mask, __builtin_ia32_pminub128_mask,
11936 __builtin_ia32_pmaxsb128_mask, __builtin_ia32_pmaxub128_mask,
11937 __builtin_ia32_pminsw256_mask, __builtin_ia32_pminuw256_mask,
11938 __builtin_ia32_pmaxsw256_mask, __builtin_ia32_pmaxuw256_mask,
11939 __builtin_ia32_pminsw128_mask, __builtin_ia32_pminuw128_mask,
11940 __builtin_ia32_pmaxsw128_mask, __builtin_ia32_pmaxuw128_mask,
11941 __builtin_ia32_vpconflictdi_256_mask, __builtin_ia32_vpconflictsi_256_mask,
11942 __builtin_ia32_vplzcntq_256_mask, __builtin_ia32_vplzcntd_256_mask,
11943 __builtin_ia32_unpckhpd256_mask, __builtin_ia32_unpckhpd128_mask,
11944 __builtin_ia32_unpckhps256_mask, __builtin_ia32_unpckhps128_mask,
11945 __builtin_ia32_unpcklpd256_mask, __builtin_ia32_unpcklpd128_mask,
11946 __builtin_ia32_unpcklps256_mask, __builtin_ia32_vpconflictdi_128_mask,
11947 __builtin_ia32_vpconflictsi_128_mask, __builtin_ia32_vplzcntq_128_mask,
11948 __builtin_ia32_vplzcntd_128_mask, __builtin_ia32_unpcklps128_mask,
11949 __builtin_ia32_alignd256_mask, __builtin_ia32_alignq256_mask,
11950 __builtin_ia32_alignd128_mask, __builtin_ia32_alignq128_mask,
11951 __builtin_ia32_vcvtps2ph256_mask, __builtin_ia32_vcvtps2ph_mask,
11952 __builtin_ia32_vcvtph2ps_mask, __builtin_ia32_vcvtph2ps256_mask,
11953 __builtin_ia32_punpckhdq128_mask, __builtin_ia32_punpckhdq256_mask,
11954 __builtin_ia32_punpckhqdq128_mask, __builtin_ia32_punpckhqdq256_mask,
11955 __builtin_ia32_punpckldq128_mask, __builtin_ia32_punpckldq256_mask,
11956 __builtin_ia32_punpcklqdq128_mask, __builtin_ia32_punpcklqdq256_mask,
11957 __builtin_ia32_punpckhbw128_mask, __builtin_ia32_punpckhbw256_mask,
11958 __builtin_ia32_punpckhwd128_mask, __builtin_ia32_punpckhwd256_mask,
11959 __builtin_ia32_punpcklbw128_mask, __builtin_ia32_punpcklbw256_mask,
11960 __builtin_ia32_punpcklwd128_mask, __builtin_ia32_punpcklwd256_mask,
11961 __builtin_ia32_psllv16hi_mask, __builtin_ia32_psllv8hi_mask,
11962 __builtin_ia32_packssdw256_mask, __builtin_ia32_packssdw128_mask,
11963 __builtin_ia32_packusdw256_mask, __builtin_ia32_packusdw128_mask,
11964 __builtin_ia32_pavgb256_mask, __builtin_ia32_pavgw256_mask,
11965 __builtin_ia32_pavgb128_mask, __builtin_ia32_pavgw128_mask,
11966 __builtin_ia32_permvarsf256_mask, __builtin_ia32_permvardf256_mask,
11967 __builtin_ia32_permdf256_mask, __builtin_ia32_pabsb256_mask,
11968 __builtin_ia32_pabsb128_mask, __builtin_ia32_pabsw256_mask,
11969 __builtin_ia32_pabsw128_mask, __builtin_ia32_vpermilvarpd_mask,
11970 __builtin_ia32_vpermilvarps_mask, __builtin_ia32_vpermilvarpd256_mask,
11971 __builtin_ia32_vpermilvarps256_mask, __builtin_ia32_vpermilpd_mask,
11972 __builtin_ia32_vpermilps_mask, __builtin_ia32_vpermilpd256_mask,
11973 __builtin_ia32_vpermilps256_mask, __builtin_ia32_blendmq_256_mask,
11974 __builtin_ia32_blendmd_256_mask, __builtin_ia32_blendmpd_256_mask,
11975 __builtin_ia32_blendmps_256_mask, __builtin_ia32_blendmq_128_mask,
11976 __builtin_ia32_blendmd_128_mask, __builtin_ia32_blendmpd_128_mask,
11977 __builtin_ia32_blendmps_128_mask, __builtin_ia32_blendmw_256_mask,
11978 __builtin_ia32_blendmb_256_mask, __builtin_ia32_blendmw_128_mask,
11979 __builtin_ia32_blendmb_128_mask, __builtin_ia32_pmulld256_mask,
11980 __builtin_ia32_pmulld128_mask, __builtin_ia32_pmuludq256_mask,
11981 __builtin_ia32_pmuldq256_mask, __builtin_ia32_pmuldq128_mask,
11982 __builtin_ia32_pmuludq128_mask, __builtin_ia32_cvtpd2ps256_mask,
11983 __builtin_ia32_cvtpd2ps_mask, __builtin_ia32_permvarsi256_mask,
11984 __builtin_ia32_permvardi256_mask, __builtin_ia32_permdi256_mask,
11985 __builtin_ia32_cmpq256_mask, __builtin_ia32_cmpd256_mask,
11986 __builtin_ia32_ucmpq256_mask, __builtin_ia32_ucmpd256_mask,
11987 __builtin_ia32_cmpb256_mask, __builtin_ia32_cmpw256_mask,
11988 __builtin_ia32_ucmpb256_mask, __builtin_ia32_ucmpw256_mask,
11989 __builtin_ia32_cmppd256_mask, __builtin_ia32_cmpps256_mask,
11990 __builtin_ia32_cmpq128_mask, __builtin_ia32_cmpd128_mask,
11991 __builtin_ia32_ucmpq128_mask, __builtin_ia32_ucmpd128_mask,
11992 __builtin_ia32_cmpb128_mask, __builtin_ia32_cmpw128_mask,
11993 __builtin_ia32_ucmpb128_mask, __builtin_ia32_ucmpw128_mask,
11994 __builtin_ia32_cmppd128_mask, __builtin_ia32_cmpps128_mask,
11995 __builtin_ia32_broadcastf32x2_512_mask, __builtin_ia32_broadcasti32x2_512_mask,
11996 __builtin_ia32_broadcastf64x2_512_mask, __builtin_ia32_broadcasti64x2_512_mask,
11997 __builtin_ia32_broadcastf32x8_512_mask, __builtin_ia32_broadcasti32x8_512_mask,
11998 __builtin_ia32_extractf64x2_512_mask, __builtin_ia32_extractf32x8_mask,
11999 __builtin_ia32_extracti64x2_512_mask, __builtin_ia32_extracti32x8_mask,
12000 __builtin_ia32_reducepd512_mask, __builtin_ia32_reduceps512_mask,
12001 __builtin_ia32_pmullq512_mask, __builtin_ia32_xorpd512_mask,
12002 __builtin_ia32_xorps512_mask, __builtin_ia32_orpd512_mask,
12003 __builtin_ia32_orps512_mask, __builtin_ia32_andpd512_mask,
12004 __builtin_ia32_andps512_mask, __builtin_ia32_andnpd512_mask,
12005 __builtin_ia32_andnps512_mask, __builtin_ia32_insertf32x8_mask,
12006 __builtin_ia32_inserti32x8_mask, __builtin_ia32_insertf64x2_512_mask,
12007 __builtin_ia32_inserti64x2_512_mask, __builtin_ia32_fpclasspd512_mask,
12008 __builtin_ia32_fpclassps512_mask, __builtin_ia32_cvtd2mask512,
12009 __builtin_ia32_cvtq2mask512, __builtin_ia32_cvtmask2d512,
12010 __builtin_ia32_cvtmask2q512, __builtin_ia32_kunpcksi,
12011 __builtin_ia32_kunpckdi, __builtin_ia32_packusdw512_mask,
12012 __builtin_ia32_pslldq512, __builtin_ia32_psrldq512,
12013 __builtin_ia32_packssdw512_mask, __builtin_ia32_palignr512,
12014 __builtin_ia32_palignr512_mask, __builtin_ia32_movdquhi512_mask,
12015 __builtin_ia32_movdquqi512_mask, __builtin_ia32_psadbw512,
12016 __builtin_ia32_dbpsadbw512_mask, __builtin_ia32_pbroadcastb512_mask,
12017 __builtin_ia32_pbroadcastb512_gpr_mask, __builtin_ia32_pbroadcastw512_mask,
12018 __builtin_ia32_pbroadcastw512_gpr_mask, __builtin_ia32_pmovsxbw512_mask,
12019 __builtin_ia32_pmovzxbw512_mask, __builtin_ia32_permvarhi512_mask,
12020 __builtin_ia32_vpermt2varhi512_mask, __builtin_ia32_vpermt2varhi512_maskz,
12021 __builtin_ia32_vpermi2varhi512_mask, __builtin_ia32_pavgb512_mask,
12022 __builtin_ia32_pavgw512_mask, __builtin_ia32_paddb512_mask,
12023 __builtin_ia32_psubb512_mask, __builtin_ia32_psubsb512_mask,
12024 __builtin_ia32_paddsb512_mask, __builtin_ia32_psubusb512_mask,
12025 __builtin_ia32_paddusb512_mask, __builtin_ia32_psubw512_mask,
12026 __builtin_ia32_paddw512_mask, __builtin_ia32_psubsw512_mask,
12027 __builtin_ia32_paddsw512_mask, __builtin_ia32_psubusw512_mask,
12028 __builtin_ia32_paddusw512_mask, __builtin_ia32_pmaxuw512_mask,
12029 __builtin_ia32_pmaxsw512_mask, __builtin_ia32_pminuw512_mask,
12030 __builtin_ia32_pminsw512_mask, __builtin_ia32_pmaxub512_mask,
12031 __builtin_ia32_pmaxsb512_mask, __builtin_ia32_pminub512_mask,
12032 __builtin_ia32_pminsb512_mask, __builtin_ia32_pmovwb512_mask,
12033 __builtin_ia32_pmovswb512_mask, __builtin_ia32_pmovuswb512_mask,
12034 __builtin_ia32_pmulhrsw512_mask, __builtin_ia32_pmulhuw512_mask,
12035 __builtin_ia32_pmulhw512_mask, __builtin_ia32_pmullw512_mask,
12036 __builtin_ia32_psllwi512_mask, __builtin_ia32_psllw512_mask,
12037 __builtin_ia32_packsswb512_mask, __builtin_ia32_packuswb512_mask,
12038 __builtin_ia32_psrav32hi_mask, __builtin_ia32_pmaddubsw512_mask,
12039 __builtin_ia32_pmaddwd512_mask, __builtin_ia32_psrlv32hi_mask,
12040 __builtin_ia32_punpckhbw512_mask, __builtin_ia32_punpckhwd512_mask,
12041 __builtin_ia32_punpcklbw512_mask, __builtin_ia32_punpcklwd512_mask,
12042 __builtin_ia32_pshufb512_mask, __builtin_ia32_pshufhw512_mask,
12043 __builtin_ia32_pshuflw512_mask, __builtin_ia32_psrawi512_mask,
12044 __builtin_ia32_psraw512_mask, __builtin_ia32_psrlwi512_mask,
12045 __builtin_ia32_psrlw512_mask, __builtin_ia32_cvtb2mask512,
12046 __builtin_ia32_cvtw2mask512, __builtin_ia32_cvtmask2b512,
12047 __builtin_ia32_cvtmask2w512, __builtin_ia32_pcmpeqb512_mask,
12048 __builtin_ia32_pcmpeqw512_mask, __builtin_ia32_pcmpgtb512_mask,
12049 __builtin_ia32_pcmpgtw512_mask, __builtin_ia32_ptestmb512,
12050 __builtin_ia32_ptestmw512, __builtin_ia32_ptestnmb512,
12051 __builtin_ia32_ptestnmw512, __builtin_ia32_psllv32hi_mask,
12052 __builtin_ia32_pabsb512_mask, __builtin_ia32_pabsw512_mask,
12053 __builtin_ia32_blendmw_512_mask, __builtin_ia32_blendmb_512_mask,
12054 __builtin_ia32_cmpb512_mask, __builtin_ia32_cmpw512_mask,
12055 __builtin_ia32_ucmpb512_mask, __builtin_ia32_ucmpw512_mask,
12056 __builtin_ia32_rangesd128_round, __builtin_ia32_rangess128_round,
12057 __builtin_ia32_cvtpd2qq512_mask, __builtin_ia32_cvtps2qq512_mask,
12058 __builtin_ia32_cvtpd2uqq512_mask, __builtin_ia32_cvtps2uqq512_mask,
12059 __builtin_ia32_cvtqq2ps512_mask, __builtin_ia32_cvtuqq2ps512_mask,
12060 __builtin_ia32_cvtqq2pd512_mask, __builtin_ia32_cvtuqq2pd512_mask,
12061 __builtin_ia32_cvttps2qq512_mask, __builtin_ia32_cvttps2uqq512_mask,
12062 __builtin_ia32_cvttpd2qq512_mask, __builtin_ia32_cvttpd2uqq512_mask,
12063 __builtin_ia32_rangeps512_mask, __builtin_ia32_rangepd512_mask.
12064 (ix86_expand_args_builtin): Handle HI_FTYPE_V16QI, SI_FTYPE_V32QI,
12065 DI_FTYPE_V64QI, V16QI_FTYPE_HI, V32QI_FTYPE_SI, V64QI_FTYPE_DI,
12066 V8HI_FTYPE_QI, V16HI_FTYPE_HI, V32HI_FTYPE_SI, V4SI_FTYPE_QI,
12067 V8SI_FTYPE_QI, V4SI_FTYPE_HI, V8SI_FTYPE_HI, QI_FTYPE_V8HI,
12068 HI_FTYPE_V16HI, SI_FTYPE_V32HI, QI_FTYPE_V4SI, QI_FTYPE_V8SI,
12069 HI_FTYPE_V16SI, QI_FTYPE_V2DI, QI_FTYPE_V4DI, QI_FTYPE_V8DI,
12070 V2DI_FTYPE_QI, V4DI_FTYPE_QI, V8DI_FTYPE_V64QI_V64QI,
12071 SI_FTYPE_SI_SI,DI_FTYPE_DI_DI, V8DI_FTYPE_V8DI_INT_CONVERT,
12072 QI_FTYPE_V4SF_INT, QI_FTYPE_V2DF_INT,
12073 V8SF_FTYPE_V4SF_V8SF_QI, V4DF_FTYPE_V2DF_V4DF_QI,
12074 V8SI_FTYPE_V4SI_V8SI_QI, V8SI_FTYPE_SI_V8SI_QI,
12075 V4SI_FTYPE_V4SI_V4SI_QI, V4SI_FTYPE_SI_V4SI_QI,
12076 V4DI_FTYPE_V2DI_V4DI_QI, V4DI_FTYPE_DI_V4DI_QI,
12077 V2DI_FTYPE_V2DI_V2DI_QI, V2DI_FTYPE_DI_V2DI_QI,
12078 V64QI_FTYPE_V64QI_V64QI_DI, V64QI_FTYPE_V16QI_V64QI_DI,
12079 V64QI_FTYPE_QI_V64QI_DI, V32QI_FTYPE_V32QI_V32QI_SI,
12080 V32QI_FTYPE_V16QI_V32QI_SI, V32QI_FTYPE_QI_V32QI_SI,
12081 V16QI_FTYPE_V16QI_V16QI_HI, V16QI_FTYPE_QI_V16QI_HI,
12082 V32HI_FTYPE_V8HI_V32HI_SI, V32HI_FTYPE_HI_V32HI_SI,
12083 V16HI_FTYPE_V8HI_V16HI_HI, V16HI_FTYPE_HI_V16HI_HI,
12084 V8HI_FTYPE_V8HI_V8HI_QI, V8HI_FTYPE_HI_V8HI_QI,
12085 V8SF_FTYPE_V8HI_V8SF_QI, V4SF_FTYPE_V8HI_V4SF_QI,
12086 V8SI_FTYPE_V8SF_V8SI_QI, V4SI_FTYPE_V4SF_V4SI_QI,
12087 V8DI_FTYPE_V8SF_V8DI_QI, V4DI_FTYPE_V4SF_V4DI_QI,
12088 V2DI_FTYPE_V4SF_V2DI_QI, V8SF_FTYPE_V8DI_V8SF_QI,
12089 V4SF_FTYPE_V4DI_V4SF_QI, V4SF_FTYPE_V2DI_V4SF_QI,
12090 V8DF_FTYPE_V8DI_V8DF_QI, V4DF_FTYPE_V4DI_V4DF_QI,
12091 V2DF_FTYPE_V2DI_V2DF_QI, V16QI_FTYPE_V8HI_V16QI_QI,
12092 V16QI_FTYPE_V16HI_V16QI_HI, V16QI_FTYPE_V4SI_V16QI_QI,
12093 V16QI_FTYPE_V8SI_V16QI_QI, V8HI_FTYPE_V4SI_V8HI_QI,
12094 V8HI_FTYPE_V8SI_V8HI_QI, V16QI_FTYPE_V2DI_V16QI_QI,
12095 V16QI_FTYPE_V4DI_V16QI_QI, V8HI_FTYPE_V2DI_V8HI_QI,
12096 V8HI_FTYPE_V4DI_V8HI_QI, V4SI_FTYPE_V2DI_V4SI_QI,
12097 V4SI_FTYPE_V4DI_V4SI_QI, V32QI_FTYPE_V32HI_V32QI_SI,
12098 HI_FTYPE_V16QI_V16QI_HI, SI_FTYPE_V32QI_V32QI_SI,
12099 DI_FTYPE_V64QI_V64QI_DI, QI_FTYPE_V8HI_V8HI_QI,
12100 HI_FTYPE_V16HI_V16HI_HI, SI_FTYPE_V32HI_V32HI_SI,
12101 QI_FTYPE_V4SI_V4SI_QI, QI_FTYPE_V8SI_V8SI_QI,
12102 QI_FTYPE_V2DI_V2DI_QI, QI_FTYPE_V4DI_V4DI_QI,
12103 V4SF_FTYPE_V2DF_V4SF_QI, V4SF_FTYPE_V4DF_V4SF_QI,
12104 V2DI_FTYPE_V4SI_V2DI_QI, V2DI_FTYPE_V8HI_V2DI_QI,
12105 V2DI_FTYPE_V16QI_V2DI_QI, V4DI_FTYPE_V4DI_V4DI_QI,
12106 V4DI_FTYPE_V4SI_V4DI_QI, V4DI_FTYPE_V8HI_V4DI_QI,
12107 V4DI_FTYPE_V16QI_V4DI_QI, V8DI_FTYPE_V8DF_V8DI_QI,
12108 V4DI_FTYPE_V4DF_V4DI_QI, V2DI_FTYPE_V2DF_V2DI_QI,
12109 V4SI_FTYPE_V4DF_V4SI_QI, V4SI_FTYPE_V2DF_V4SI_QI,
12110 V4SI_FTYPE_V8HI_V4SI_QI, V4SI_FTYPE_V16QI_V4SI_QI,
12111 V8SI_FTYPE_V8SI_V8SI_V8SI, V8SF_FTYPE_V8SF_V8SF_QI,
12112 V8SF_FTYPE_V8SI_V8SF_QI, V4DF_FTYPE_V4DF_V4DF_QI,
12113 V4SF_FTYPE_V4SF_V4SF_QI, V2DF_FTYPE_V2DF_V2DF_QI,
12114 V2DF_FTYPE_V4SF_V2DF_QI, V2DF_FTYPE_V4SI_V2DF_QI,
12115 V4SF_FTYPE_V4SI_V4SF_QI, V4DF_FTYPE_V4SF_V4DF_QI,
12116 V4DF_FTYPE_V4SI_V4DF_QI, V8SI_FTYPE_V8SI_V8SI_QI,
12117 V8SI_FTYPE_V8HI_V8SI_QI, V8SI_FTYPE_V16QI_V8SI_QI,
12118 V16SF_FTYPE_V8SF_V16SF_HI, V16SI_FTYPE_V8SI_V16SI_HI,
12119 V16HI_FTYPE_V16HI_V16HI_HI, V8HI_FTYPE_V16QI_V8HI_QI,
12120 V16HI_FTYPE_V16QI_V16HI_HI, V32HI_FTYPE_V32HI_V32HI_SI,
12121 V32HI_FTYPE_V32QI_V32HI_SI, V8DI_FTYPE_V8DI_V8DI_INT_CONVERT,
12122 V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI_CONVERT, QI_FTYPE_V8DF_INT_QI,
12123 QI_FTYPE_V4DF_INT_QI, QI_FTYPE_V2DF_INT_QI,
12124 HI_FTYPE_V16SF_INT_HI, QI_FTYPE_V8SF_INT_QI,
12125 QI_FTYPE_V4SF_INT_QI, V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI_CONVERT,
12126 V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI_CONVERT, V32QI_FTYPE_V32QI_V32QI_V32QI_SI,
12127 V32HI_FTYPE_V32HI_V32HI_V32HI_SI, V32HI_FTYPE_V64QI_V64QI_V32HI_SI,
12128 V16SI_FTYPE_V32HI_V32HI_V16SI_HI, V64QI_FTYPE_V64QI_V64QI_V64QI_DI,
12129 V32HI_FTYPE_V32HI_V8HI_V32HI_SI, V16HI_FTYPE_V16HI_V8HI_V16HI_HI,
12130 V8SI_FTYPE_V8SI_V4SI_V8SI_QI, V4DI_FTYPE_V4DI_V2DI_V4DI_QI,
12131 V64QI_FTYPE_V32HI_V32HI_V64QI_DI, V32QI_FTYPE_V16HI_V16HI_V32QI_SI,
12132 V16QI_FTYPE_V8HI_V8HI_V16QI_HI, V32HI_FTYPE_V16SI_V16SI_V32HI_SI,
12133 V16HI_FTYPE_V8SI_V8SI_V16HI_HI, V8HI_FTYPE_V4SI_V4SI_V8HI_QI,
12134 V4DF_FTYPE_V4DF_V4DI_V4DF_QI, V8SF_FTYPE_V8SF_V8SI_V8SF_QI,
12135 V4SF_FTYPE_V4SF_V4SI_V4SF_QI, V2DF_FTYPE_V2DF_V2DI_V2DF_QI,
12136 V2DI_FTYPE_V4SI_V4SI_V2DI_QI, V4DI_FTYPE_V8SI_V8SI_V4DI_QI,
12137 V4DF_FTYPE_V4DI_V4DF_V4DF_QI, V8SF_FTYPE_V8SI_V8SF_V8SF_QI,
12138 V2DF_FTYPE_V2DI_V2DF_V2DF_QI, V4SF_FTYPE_V4SI_V4SF_V4SF_QI,
12139 V8HI_FTYPE_V8HI_V8HI_V8HI_QI, V8SI_FTYPE_V8SI_V8SI_V8SI_QI,
12140 V4SI_FTYPE_V4SI_V4SI_V4SI_QI, V8SF_FTYPE_V8SF_V8SF_V8SF_QI,
12141 V16QI_FTYPE_V16QI_V16QI_V16QI_HI, V16HI_FTYPE_V16HI_V16HI_V16HI_HI,
12142 V2DI_FTYPE_V2DI_V2DI_V2DI_QI, V4DI_FTYPE_V4DI_V4DI_V4DI_QI,
12143 V4DF_FTYPE_V4DF_V4DF_V4DF_QI, V8HI_FTYPE_V16QI_V16QI_V8HI_QI,
12144 V16HI_FTYPE_V32QI_V32QI_V16HI_HI, V8SI_FTYPE_V16HI_V16HI_V8SI_QI,
12145 V4SI_FTYPE_V8HI_V8HI_V4SI_QI, QI_FTYPE_V4DI_V4DI_INT_QI,
12146 QI_FTYPE_V8SI_V8SI_INT_QI, QI_FTYPE_V4DF_V4DF_INT_QI,
12147 QI_FTYPE_V8SF_V8SF_INT_QI, QI_FTYPE_V2DI_V2DI_INT_QI,
12148 QI_FTYPE_V4SI_V4SI_INT_QI, DI_FTYPE_V64QI_V64QI_INT_DI,
12149 SI_FTYPE_V32QI_V32QI_INT_SI, HI_FTYPE_V16QI_V16QI_INT_HI,
12150 SI_FTYPE_V32HI_V32HI_INT_SI, HI_FTYPE_V16HI_V16HI_INT_HI,
12151 QI_FTYPE_V8HI_V8HI_INT_QI, V8SF_FTYPE_V8SF_INT_V8SF_QI,
12152 V4SF_FTYPE_V4SF_INT_V4SF_QI, V2DF_FTYPE_V4DF_INT_V2DF_QI,
12153 V2DI_FTYPE_V4DI_INT_V2DI_QI, V8SF_FTYPE_V16SF_INT_V8SF_QI,
12154 V8SI_FTYPE_V16SI_INT_V8SI_QI, V2DF_FTYPE_V8DF_INT_V2DF_QI,
12155 V2DI_FTYPE_V8DI_INT_V2DI_QI, V4SF_FTYPE_V8SF_INT_V4SF_QI,
12156 V4SI_FTYPE_V8SI_INT_V4SI_QI, V8HI_FTYPE_V8SF_INT_V8HI_QI,
12157 V8HI_FTYPE_V4SF_INT_V8HI_QI, V32HI_FTYPE_V32HI_INT_V32HI_SI,
12158 V16HI_FTYPE_V16HI_INT_V16HI_HI, V8HI_FTYPE_V8HI_INT_V8HI_QI,
12159 V4DI_FTYPE_V4DI_INT_V4DI_QI, V2DI_FTYPE_V2DI_INT_V2DI_QI,
12160 V8SI_FTYPE_V8SI_INT_V8SI_QI, V4SI_FTYPE_V4SI_INT_V4SI_QI,
12161 V4DF_FTYPE_V4DF_INT_V4DF_QI, V2DF_FTYPE_V2DF_INT_V2DF_QI,
12162 V4DF_FTYPE_V4DF_V4DF_INT_V4DF_QI, V8SF_FTYPE_V8SF_V8SF_INT_V8SF_QI,
12163 V8DF_FTYPE_V8DF_V2DF_INT_V8DF_QI, V8DI_FTYPE_V8DI_V2DI_INT_V8DI_QI,
12164 V8SI_FTYPE_V8SI_V8SI_INT_V8SI_QI, V4DI_FTYPE_V4DI_V4DI_INT_V4DI_QI,
12165 V4SI_FTYPE_V4SI_V4SI_INT_V4SI_QI, V2DI_FTYPE_V2DI_V2DI_INT_V2DI_QI,
12166 V32HI_FTYPE_V64QI_V64QI_INT_V32HI_SI, V16HI_FTYPE_V32QI_V32QI_INT_V16HI_HI,
12167 V8HI_FTYPE_V16QI_V16QI_INT_V8HI_QI, V16SF_FTYPE_V16SF_V8SF_INT_V16SF_HI,
12168 V16SI_FTYPE_V16SI_V8SI_INT_V16SI_HI, V8SF_FTYPE_V8SF_V4SF_INT_V8SF_QI,
12169 V8SI_FTYPE_V8SI_V4SI_INT_V8SI_QI, V4DI_FTYPE_V4DI_V2DI_INT_V4DI_QI,
12170 V4DF_FTYPE_V4DF_V2DF_INT_V4DF_QI, V8SF_FTYPE_V8SF_V8SF_V8SI_INT_QI,
12171 V8SI_FTYPE_V8SI_V8SI_V8SI_INT_QI, V4DF_FTYPE_V4DF_V4DF_V4DI_INT_QI,
12172 V4DI_FTYPE_V4DI_V4DI_V4DI_INT_QI, V4SI_FTYPE_V4SI_V4SI_V4SI_INT_QI,
12173 V2DI_FTYPE_V2DI_V2DI_V2DI_INT_QI, V8DI_FTYPE_V8DF_V8DI_QI_INT,
12174 V8SF_FTYPE_V8DI_V8SF_QI_INT, V8DF_FTYPE_V8DI_V8DF_QI_INT,
12175 V8DI_FTYPE_V8SF_V8DI_QI_INT, V16SF_FTYPE_V16SF_V16SF_INT_V16SF_HI_INT,
12176 V8DF_FTYPE_V8DF_V8DF_INT_V8DF_QI_INT, VOID_FTYPE_PV4DI_V4DI_QI,
12177 VOID_FTYPE_PV2DI_V2DI_QI, VOID_FTYPE_PV8SI_V8SI_QI,
12178 VOID_FTYPE_PV4SI_V4SI_QI, VOID_FTYPE_PV4SI_V4DI_QI,
12179 VOID_FTYPE_PV4SI_V2DI_QI, VOID_FTYPE_PV8HI_V4DI_QI,
12180 VOID_FTYPE_PV8HI_V2DI_QI, VOID_FTYPE_PV8HI_V8SI_QI,
12181 VOID_FTYPE_PV8HI_V4SI_QI, VOID_FTYPE_PV16QI_V4DI_QI,
12182 VOID_FTYPE_PV16QI_V2DI_QI, VOID_FTYPE_PV16QI_V8SI_QI,
12183 VOID_FTYPE_PV16QI_V4SI_QI, VOID_FTYPE_PV8HI_V8HI_QI,
12184 VOID_FTYPE_PV16HI_V16HI_HI, VOID_FTYPE_PV32HI_V32HI_SI,
12185 VOID_FTYPE_PV16QI_V16QI_HI, VOID_FTYPE_PV32QI_V32QI_SI,
12186 VOID_FTYPE_PV64QI_V64QI_DI, VOID_FTYPE_PV4DF_V4DF_QI,
12187 VOID_FTYPE_PV2DF_V2DF_QI, VOID_FTYPE_PV8SF_V8SF_QI,
12188 VOID_FTYPE_PV4SF_V4SF_QI, V4SF_FTYPE_PCV4SF_V4SF_QI,
12189 V8SF_FTYPE_PCV8SF_V8SF_QI, V4SI_FTYPE_PCV4SI_V4SI_QI,
12190 V8SI_FTYPE_PCV8SI_V8SI_QI, V2DF_FTYPE_PCV2DF_V2DF_QI,
12191 V4DF_FTYPE_PCV4DF_V4DF_QI, V2DI_FTYPE_PCV2DI_V2DI_QI,
12192 V4DI_FTYPE_PCV4DI_V4DI_QI, V8HI_FTYPE_PCV8HI_V8HI_QI,
12193 V16HI_FTYPE_PCV16HI_V16HI_HI, V32HI_FTYPE_PCV32HI_V32HI_SI,
12194 V16QI_FTYPE_PCV16QI_V16QI_HI, V32QI_FTYPE_PCV32QI_V32QI_SI,
12195 V64QI_FTYPE_PCV64QI_V64QI_DI, do not handle V8USI_FTYPE_V8USI.
12197 2014-10-28 Jakub Jelinek <jakub@redhat.com>
12199 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Use uint64_t
12200 type for the left shift in CASE_CONVERT case.
12202 2014-10-28 Max Ostapenko <m.ostapenko@partner.samsung.com>
12204 * asan.h (asan_intercepted_p): New function.
12205 * asan.c (asan_mem_ref_hasher::hash): Remove MEM_REF access size from
12206 hash value construction. Call iterative_hash_expr instead of explicit
12208 (asan_mem_ref_hasher::equal): Change condition.
12209 (has_mem_ref_been_instrumented): Likewise.
12210 (update_mem_ref_hash_table): Likewise.
12211 (maybe_update_mem_ref_hash_table): New function.
12212 (instrument_strlen_call): Removed.
12213 (get_mem_refs_of_builtin_call): Handle new parameter.
12214 (instrument_builtin_call): Call maybe_update_mem_ref_hash_table instead
12215 of instrument_mem_region_access if intercepted_p is true.
12216 (instrument_mem_region_access): Instrument only base with len instead of
12217 base and end with 1.
12218 (build_check_stmt): Remove start_instrumented and end_instrumented
12220 (enum asan_check_flags): Remove ASAN_CHECK_START_INSTRUMENTED and
12221 ASAN_CHECK_END_INSTRUMENTED. Change ASAN_CHECK_LAST.
12222 (asan_expand_check_ifn): Remove start_instrumented and end_instrumented.
12223 * builtins.c (expand_builtin): Include asan.h. Don't expand
12224 string/memory builtin functions that have interceptors if ASan is
12227 2014-10-28 Richard Biener <rguenther@suse.de>
12229 PR middle-end/63665
12230 * fold-const.c (fold_comparison): Properly guard simplifying
12231 against INT_MAX/INT_MIN with !TYPE_OVERFLOW_WRAPS.
12233 2014-10-28 Alan Lawrence <alan.lawrence@arm.com>
12235 * expr.c (expand_expr_real_2): Remove code handling VEC_LSHIFT_EXPR.
12236 * fold-const.c (const_binop): Likewise.
12237 * cfgexpand.c (expand_debug_expr): Likewise.
12238 * tree-inline.c (estimate_operator_cost): Likewise.
12239 * tree-vect-generic.c (expand_vector_operations_1): Likewise.
12240 * optabs.c (optab_for_tree_code): Likewise.
12241 (expand_vec_shift_expr): Likewise, update comment.
12242 * tree.def: Delete VEC_LSHIFT_EXPR, remove comment.
12243 * optabs.h (expand_vec_shift_expr): Remove comment re. VEC_LSHIFT_EXPR.
12244 * optabs.def: Remove vec_shl_optab.
12245 * doc/md.texi: Remove references to vec_shr_m.
12247 2014-10-28 Yury Gribov <y.gribov@samsung.com>
12249 * asan.c (report_error_func): Add noabort path.
12250 (check_func): Ditto. Formatting.
12251 (asan_expand_check_ifn): Handle noabort path.
12252 * common.opt (flag_sanitize_recover): Add SANITIZE_KERNEL_ADDRESS
12254 * doc/invoke.texi (-fsanitize-recover=): Mention KASan.
12255 * opts.c (finish_options): Reword comment.
12256 * sanitizer.def: Add noabort ASan builtins.
12258 2014-10-28 Yury Gribov <y.gribov@samsung.com>
12260 * asan.c (set_asan_shadow_offset): New function.
12261 (asan_shadow_offset): Likewise.
12262 (asan_emit_stack_protection): Call asan_shadow_offset.
12263 (build_shadow_mem_access): Likewise.
12264 * asan.h (set_asan_shadow_offset): Declare.
12265 * common.opt (fasan-shadow-offset): New option.
12266 (frandom-seed): Fixed parameter name.
12267 * doc/invoke.texi (fasan-shadow-offset): Describe new option.
12268 (frandom-seed): Fixed parameter name.
12269 * opts-global.c (handle_common_deferred_options): Handle
12270 -fasan-shadow-offset.
12271 * opts.c (common_handle_option): Likewise.
12273 2014-10-27 Jiong Wang <jiong.wang@arm.com>
12276 * optabs.c (prepare_cmp_insn): Use "ret_mode" instead of "word_mode".
12278 2014-10-27 DJ Delorie <dj@redhat.com>
12280 * tree.c (build_common_tree_nodes): Don't even store the
12281 __int128 types if they're not supported.
12283 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12285 * config/i386/i386.c (ix86_loop_memcount): Delete.
12286 (ix86_loop_unroll_adjust): Use FOR_EACH_SUBRTX.
12288 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12290 * config/i386/i386.c (find_constant_1): Delete.
12291 (find_constant): Use FOR_EACH_SUBRTX.
12293 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12295 * config/i386/i386.c (extended_reg_mentioned_1): Delete.
12296 (x86_extended_reg_mentioned_p): Use FOR_EACH_SUBRTX.
12298 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12300 * config/i386/i386.c: Include rtl-iter.h
12301 (ix86_check_avx256_register): Take a const_rtx and return a bool.
12302 (ix86_check_avx256_stores): Update call accordingly.
12303 (ix86_avx_u128_mode_entry, ix86_avx_u128_mode_exit): Likewise.
12304 (ix86_avx_u128_mode_needed): Likewise. Use FOR_EACH_SUBRTX.
12306 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12308 * config/alpha/alpha-protos.h (some_small_symbolic_operand_int):
12309 Take an rtx and return a bool.
12310 * config/alpha/alpha.c (some_small_symbolic_operand_int): Likewise.
12311 Use FOR_EACH_SUBRTX_VAR.
12312 * config/alpha/predicates.md (some_small_symbolic_operand): Update
12315 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12317 * config/alpha/alpha-protos.h (alpha_find_lo_sum_using_gp): Return
12319 * config/alpha/alpha.c (find_lo_sum_using_gp): Delete.
12320 (alpha_find_lo_sum_using_gp): Use FOR_EACH_SUBRTX. Return a bool.
12322 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12324 * config/alpha/alpha.c (alpha_set_memflags_1): Delete.
12325 (alpha_set_memflags): Use FOR_EACH_SUBRTX_VAR.
12327 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12329 * config/alpha/alpha.c: Include rtl-iter.h.
12330 (split_small_symbolic_operand_1): Delete.
12331 (split_small_symbolic_operand): Use FOR_EACH_SUBRTX_PTR.
12333 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12335 * config/s390/s390.c: Include rtl-iter.h.
12336 (check_dpu): Delete.
12337 (s390_loop_unroll_adjust): Only iterate over patterns.
12338 Use FOR_EACH_SUBRTX.
12340 2014-10-27 Richard Sandiford <richard.sandiford@arm.com>
12342 * config/spu/spu.c: Include rtl-iter.h
12343 (ea_symbol_ref): Replace with...
12344 (ea_symbol_ref_p): ...this new function.
12345 (spu_legitimate_address_p): Update call accordingly.
12346 (spu_legitimate_constant_p): Likewise. Use FOR_EACH_SUBRTX.
12348 2014-10-27 Phil Muldoon <pmuldoon@redhat.com>
12349 Tom Tromey <tromey@redhat.com>
12351 * aclocal.m4, configure: Rebuild.
12352 * Makefile.in (aclocal_deps): Add gcc-plugin.m4.
12353 * configure.ac: Use GCC_ENABLE_PLUGINS.
12354 * stor-layout.c (finish_bitfield_layout): Now public. Change
12355 argument type to 'tree'.
12356 (finish_record_layout): Update.
12357 * stor-layout.h (finish_bitfield_layout): Declare.
12359 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
12361 * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define again.
12362 * config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
12363 Restore, enable for bigendian, update to use __builtin..._scal...
12365 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
12367 * config/aarch64/aarch64-simd-builtins.def (reduc_smax_, reduc_smin_,
12368 reduc_umax_, reduc_umin_, reduc_smax_nan_, reduc_smin_nan_): Remove.
12369 (reduc_smax_scal_, reduc_smin_scal_, reduc_umax_scal_,
12370 reduc_umin_scal_, reduc_smax_nan_scal_, reduc_smin_nan_scal_): New.
12372 * config/aarch64/aarch64-simd.md
12373 (reduc_<maxmin_uns>_<mode>): Rename VDQV_S variant to...
12374 (reduc_<maxmin_uns>_internal<mode>): ...this.
12375 (reduc_<maxmin_uns>_<mode>): New (VDQ_BHSI).
12376 (reduc_<maxmin_uns>_scal_<mode>): New (*2).
12378 (reduc_<maxmin_uns>_v2si): Combine with below, renaming...
12379 (reduc_<maxmin_uns>_<mode>): Combine V2F with above, renaming...
12380 (reduc_<maxmin_uns>_internal_<mode>): ...to this (VDQF).
12382 * config/aarch64/arm_neon.h (vmaxv_f32, vmaxv_s8, vmaxv_s16,
12383 vmaxv_s32, vmaxv_u8, vmaxv_u16, vmaxv_u32, vmaxvq_f32, vmaxvq_f64,
12384 vmaxvq_s8, vmaxvq_s16, vmaxvq_s32, vmaxvq_u8, vmaxvq_u16, vmaxvq_u32,
12385 vmaxnmv_f32, vmaxnmvq_f32, vmaxnmvq_f64, vminv_f32, vminv_s8,
12386 vminv_s16, vminv_s32, vminv_u8, vminv_u16, vminv_u32, vminvq_f32,
12387 vminvq_f64, vminvq_s8, vminvq_s16, vminvq_s32, vminvq_u8, vminvq_u16,
12388 vminvq_u32, vminnmv_f32, vminnmvq_f32, vminnmvq_f64): Update to use
12389 __builtin_aarch64_reduc_..._scal; remove vget_lane wrapper.
12391 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
12393 * config/aarch64/aarch64-simd-builtins.def
12394 (reduc_splus_<mode>/VDQF, reduc_uplus_<mode>/VDQF, reduc_splus_v4sf):
12396 (reduc_plus_scal_<mode>, reduc_plus_scal_v4sf): New.
12398 * config/aarch64/aarch64-simd.md (reduc_<sur>plus_mode): Remove.
12399 (reduc_splus_<mode>, reduc_uplus_<mode>, reduc_plus_scal_<mode>): New.
12401 (reduc_<sur>plus_mode): Change SUADDV -> UNSPEC_ADDV, rename to...
12402 (aarch64_reduc_plus_internal<mode>): ...this.
12404 (reduc_<sur>plus_v2si): Change SUADDV -> UNSPEC_ADDV, rename to...
12405 (aarch64_reduc_plus_internalv2si): ...this.
12407 (reduc_splus_<mode>/V2F): Rename to...
12408 (aarch64_reduc_plus_internal<mode>): ...this.
12410 * config/aarch64/iterators.md
12411 (UNSPEC_SADDV, UNSPEC_UADDV, SUADDV): Remove.
12412 (UNSPEC_ADDV): New.
12413 (sur): Remove elements for UNSPEC_SADDV and UNSPEC_UADDV.
12415 * config/aarch64/arm_neon.h (vaddv_s8, vaddv_s16, vaddv_s32, vaddv_u8,
12416 vaddv_u16, vaddv_u32, vaddvq_s8, vaddvq_s16, vaddvq_s32, vaddvq_s64,
12417 vaddvq_u8, vaddvq_u16, vaddvq_u32, vaddvq_u64, vaddv_f32, vaddvq_f32,
12418 vaddvq_f64): Change __builtin_aarch64_reduc_[us]plus_... to
12419 __builtin_aarch64_reduc_plus_scal, remove vget_lane wrapper.
12421 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
12423 PR tree-optimization/61114
12424 * doc/md.texi (Standard Names): Add reduc_(plus,[us](min|max))|scal
12425 optabs, and note in reduc_[us](plus|min|max) to prefer the former.
12427 * expr.c (expand_expr_real_2): Use reduc_..._scal if available, fall
12428 back to old reduc_... + BIT_FIELD_REF only if not.
12430 * optabs.c (optab_for_tree_code): for REDUC_(MAX,MIN,PLUS)_EXPR,
12431 return the reduce-to-scalar (reduc_..._scal) optab.
12432 (scalar_reduc_to_vector): New.
12434 * optabs.def (reduc_smax_scal_optab, reduc_smin_scal_optab,
12435 reduc_plus_scal_optab, reduc_umax_scal_optab, reduc_umin_scal_optab):
12438 * optabs.h (scalar_reduc_to_vector): Declare.
12440 * tree-vect-loop.c (vectorizable_reduction): Look for optabs reducing
12441 to either scalar or vector.
12443 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
12445 PR tree-optimization/61114
12446 * expr.c (expand_expr_real_2): For REDUC_{MIN,MAX,PLUS}_EXPR, add
12447 extract_bit_field around optab result.
12449 * fold-const.c (fold_unary_loc): For REDUC_{MIN,MAX,PLUS}_EXPR, produce
12452 * tree-cfg.c (verify_gimple_assign_unary): Check result vs operand type
12453 for REDUC_{MIN,MAX,PLUS}_EXPR.
12455 * tree-vect-loop.c (vect_analyze_loop): Update comment.
12456 (vect_create_epilog_for_reduction): For direct vector reduction, use
12457 result of tree code directly without extract_bit_field.
12459 * tree.def (REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR): Update
12462 2014-10-27 Andrew MacLeod <amacleod@redhat.com>
12464 * basic-block.h: Remove all includes.
12465 (enum profile_status_d, struct control_flow_graph): Move to cfg.h
12466 * cfg.h (profile_status_d, struct control_flow_graph): Relocate here.
12467 * Makefile.in (GTFILES): Add cfg.h to list.
12468 * cgraph.h (symbol_table::create_empty): Move to cgraph.c.
12469 * cgraph.c (symbol_table::create_empty): Relocate from cgraph.h.
12470 * genconditions.c (write_header): Add predict.h and basic-block.h to
12472 * genemit.c (main): Ditto.
12473 * genpreds.c (write_insn_preds_c): Ditto.
12474 * genrecog.c (write_header): Ditto.
12475 * gengtype.c (open_base_files): Add predict.h, basic-block.h, and cfg.h
12476 to list of includes.
12477 * alias.c: Adjust include files.
12479 * auto-inc-dec.c: Ditto.
12480 * auto-profile.c: Ditto.
12481 * bb-reorder.c: Ditto.
12482 * bt-load.c: Ditto.
12483 * builtins.c: Ditto.
12484 * caller-save.c: Ditto.
12487 * cfganal.c: Ditto.
12488 * cfgbuild.c: Ditto.
12489 * cfgcleanup.c: Ditto.
12490 * cfgexpand.c: Ditto.
12491 * cfghooks.c: Ditto.
12492 * cfgloop.c: Ditto.
12493 * cfgloopanal.c: Ditto.
12494 * cfgloopmanip.c: Ditto.
12496 * cgraphbuild.c: Ditto.
12497 * cgraphclones.c: Ditto.
12498 * cgraphunit.c: Ditto.
12499 * combine-stack-adj.c: Ditto.
12500 * combine.c: Ditto.
12501 * compare-elim.c: Ditto.
12502 * coverage.c: Ditto.
12506 * data-streamer-in.c: Ditto.
12507 * data-streamer-out.c: Ditto.
12508 * data-streamer.c: Ditto.
12512 * df-core.c: Ditto.
12513 * df-problems.c: Ditto.
12514 * df-scan.c: Ditto.
12517 * dominance.c: Ditto.
12518 * domwalk.c: Ditto.
12520 * dwarf2cfi.c: Ditto.
12521 * emit-rtl.c: Ditto.
12522 * et-forest.c: Ditto.
12527 * fold-const.c: Ditto.
12528 * function.c: Ditto.
12530 * gcc-plugin.h: Ditto.
12532 * generic-match-head.c: Ditto.
12533 * ggc-page.c: Ditto.
12534 * gimple-builder.c: Ditto.
12535 * gimple-expr.c: Ditto.
12536 * gimple-fold.c: Ditto.
12537 * gimple-iterator.c: Ditto.
12538 * gimple-low.c: Ditto.
12539 * gimple-match-head.c: Ditto.
12540 * gimple-pretty-print.c: Ditto.
12541 * gimple-ssa-isolate-paths.c: Ditto.
12542 * gimple-ssa-strength-reduction.c: Ditto.
12543 * gimple-streamer-in.c: Ditto.
12544 * gimple-streamer-out.c: Ditto.
12545 * gimple-streamer.h: Ditto.
12546 * gimple-walk.c: Ditto.
12548 * gimplify-me.c: Ditto.
12549 * gimplify.c: Ditto.
12551 * graphite-blocking.c: Ditto.
12552 * graphite-clast-to-gimple.c: Ditto.
12553 * graphite-dependences.c: Ditto.
12554 * graphite-interchange.c: Ditto.
12555 * graphite-isl-ast-to-gimple.c: Ditto.
12556 * graphite-optimize-isl.c: Ditto.
12557 * graphite-poly.c: Ditto.
12558 * graphite-scop-detection.c: Ditto.
12559 * graphite-sese-to-poly.c: Ditto.
12560 * graphite.c: Ditto.
12561 * haifa-sched.c: Ditto.
12562 * hw-doloop.c: Ditto.
12564 * init-regs.c: Ditto.
12565 * internal-fn.c: Ditto.
12567 * ipa-devirt.c: Ditto.
12568 * ipa-icf-gimple.c: Ditto.
12569 * ipa-icf.c: Ditto.
12570 * ipa-inline-analysis.c: Ditto.
12571 * ipa-inline.c: Ditto.
12572 * ipa-polymorphic-call.c: Ditto.
12573 * ipa-profile.c: Ditto.
12574 * ipa-prop.c: Ditto.
12575 * ipa-pure-const.c: Ditto.
12576 * ipa-reference.c: Ditto.
12577 * ipa-split.c: Ditto.
12578 * ipa-utils.c: Ditto.
12580 * ira-build.c: Ditto.
12581 * ira-color.c: Ditto.
12582 * ira-conflicts.c: Ditto.
12583 * ira-costs.c: Ditto.
12584 * ira-emit.c: Ditto.
12585 * ira-lives.c: Ditto.
12589 * loop-doloop.c: Ditto.
12590 * loop-init.c: Ditto.
12591 * loop-invariant.c: Ditto.
12592 * loop-iv.c: Ditto.
12593 * loop-unroll.c: Ditto.
12594 * lower-subreg.c: Ditto.
12595 * lra-assigns.c: Ditto.
12596 * lra-coalesce.c: Ditto.
12597 * lra-constraints.c: Ditto.
12598 * lra-eliminations.c: Ditto.
12599 * lra-lives.c: Ditto.
12600 * lra-spills.c: Ditto.
12602 * lto-cgraph.c: Ditto.
12603 * lto-compress.c: Ditto.
12604 * lto-opts.c: Ditto.
12605 * lto-section-in.c: Ditto.
12606 * lto-section-out.c: Ditto.
12607 * lto-streamer-in.c: Ditto.
12608 * lto-streamer-out.c: Ditto.
12609 * lto-streamer.c: Ditto.
12611 * mode-switching.c: Ditto.
12612 * modulo-sched.c: Ditto.
12613 * omp-low.c: Ditto.
12615 * opts-global.c: Ditto.
12617 * postreload-gcse.c: Ditto.
12618 * postreload.c: Ditto.
12619 * predict.c: Ditto.
12620 * print-rtl.c: Ditto.
12621 * profile.c: Ditto.
12624 * reg-stack.c: Ditto.
12625 * regcprop.c: Ditto.
12626 * regcprop.h: Ditto.
12627 * reginfo.c: Ditto.
12628 * regrename.c: Ditto.
12629 * regstat.c: Ditto.
12631 * reload1.c: Ditto.
12633 * resource.c: Ditto.
12634 * rtlanal.c: Ditto.
12635 * sched-deps.c: Ditto.
12636 * sched-ebb.c: Ditto.
12637 * sched-int.h: Ditto.
12638 * sched-rgn.c: Ditto.
12639 * sched-vis.c: Ditto.
12640 * sel-sched-dump.c: Ditto.
12641 * sel-sched-ir.c: Ditto.
12642 * sel-sched-ir.h: Ditto.
12643 * sel-sched.c: Ditto.
12645 * shrink-wrap.c: Ditto.
12646 * stack-ptr-mod.c: Ditto.
12648 * store-motion.c: Ditto.
12652 * trans-mem.c: Ditto.
12653 * tree-affine.c: Ditto.
12654 * tree-call-cdce.c: Ditto.
12655 * tree-cfg.c: Ditto.
12656 * tree-cfgcleanup.c: Ditto.
12657 * tree-chrec.c: Ditto.
12658 * tree-complex.c: Ditto.
12659 * tree-data-ref.c: Ditto.
12660 * tree-dfa.c: Ditto.
12661 * tree-eh.c: Ditto.
12662 * tree-emutls.c: Ditto.
12663 * tree-if-conv.c: Ditto.
12664 * tree-inline.c: Ditto.
12665 * tree-into-ssa.c: Ditto.
12666 * tree-loop-distribution.c: Ditto.
12667 * tree-nested.c: Ditto.
12668 * tree-nrv.c: Ditto.
12669 * tree-object-size.c: Ditto.
12670 * tree-outof-ssa.c: Ditto.
12671 * tree-parloops.c: Ditto.
12672 * tree-phinodes.c: Ditto.
12673 * tree-predcom.c: Ditto.
12674 * tree-pretty-print.c: Ditto.
12675 * tree-profile.c: Ditto.
12676 * tree-scalar-evolution.c: Ditto.
12677 * tree-sra.c: Ditto.
12678 * tree-ssa-address.c: Ditto.
12679 * tree-ssa-alias.c: Ditto.
12680 * tree-ssa-ccp.c: Ditto.
12681 * tree-ssa-coalesce.c: Ditto.
12682 * tree-ssa-copy.c: Ditto.
12683 * tree-ssa-copyrename.c: Ditto.
12684 * tree-ssa-dce.c: Ditto.
12685 * tree-ssa-dom.c: Ditto.
12686 * tree-ssa-dse.c: Ditto.
12687 * tree-ssa-forwprop.c: Ditto.
12688 * tree-ssa-ifcombine.c: Ditto.
12689 * tree-ssa-live.c: Ditto.
12690 * tree-ssa-loop-ch.c: Ditto.
12691 * tree-ssa-loop-im.c: Ditto.
12692 * tree-ssa-loop-ivcanon.c: Ditto.
12693 * tree-ssa-loop-ivopts.c: Ditto.
12694 * tree-ssa-loop-manip.c: Ditto.
12695 * tree-ssa-loop-niter.c: Ditto.
12696 * tree-ssa-loop-prefetch.c: Ditto.
12697 * tree-ssa-loop-unswitch.c: Ditto.
12698 * tree-ssa-loop.c: Ditto.
12699 * tree-ssa-math-opts.c: Ditto.
12700 * tree-ssa-operands.c: Ditto.
12701 * tree-ssa-phiopt.c: Ditto.
12702 * tree-ssa-phiprop.c: Ditto.
12703 * tree-ssa-pre.c: Ditto.
12704 * tree-ssa-propagate.c: Ditto.
12705 * tree-ssa-reassoc.c: Ditto.
12706 * tree-ssa-sccvn.c: Ditto.
12707 * tree-ssa-sink.c: Ditto.
12708 * tree-ssa-strlen.c: Ditto.
12709 * tree-ssa-structalias.c: Ditto.
12710 * tree-ssa-tail-merge.c: Ditto.
12711 * tree-ssa-ter.c: Ditto.
12712 * tree-ssa-threadedge.c: Ditto.
12713 * tree-ssa-threadupdate.c: Ditto.
12714 * tree-ssa-uncprop.c: Ditto.
12715 * tree-ssa-uninit.c: Ditto.
12716 * tree-ssa.c: Ditto.
12717 * tree-ssanames.c: Ditto.
12718 * tree-stdarg.c: Ditto.
12719 * tree-streamer-in.c: Ditto.
12720 * tree-streamer-out.c: Ditto.
12721 * tree-streamer.c: Ditto.
12722 * tree-switch-conversion.c: Ditto.
12723 * tree-tailcall.c: Ditto.
12724 * tree-vect-data-refs.c: Ditto.
12725 * tree-vect-generic.c: Ditto.
12726 * tree-vect-loop-manip.c: Ditto.
12727 * tree-vect-loop.c: Ditto.
12728 * tree-vect-patterns.c: Ditto.
12729 * tree-vect-slp.c: Ditto.
12730 * tree-vect-stmts.c: Ditto.
12731 * tree-vectorizer.c: Ditto.
12732 * tree-vrp.c: Ditto.
12736 * valtrack.c: Ditto.
12737 * valtrack.h: Ditto.
12738 * value-prof.c: Ditto.
12739 * var-tracking.c: Ditto.
12741 * varpool.c: Ditto.
12742 * vtable-verify.c: Ditto.
12744 * config/aarch64/aarch64-builtins.c: Ditto.
12745 * config/aarch64/aarch64.c: Ditto.
12746 * config/alpha/alpha.c: Ditto.
12747 * config/arc/arc.c: Ditto.
12748 * config/arm/arm.c: Ditto.
12749 * config/avr/avr.c: Ditto.
12750 * config/bfin/bfin.c: Ditto.
12751 * config/c6x/c6x.c: Ditto.
12752 * config/cr16/cr16.c: Ditto.
12753 * config/cris/cris.c: Ditto.
12754 * config/darwin-c.c: Ditto.
12755 * config/darwin.c: Ditto.
12756 * config/epiphany/epiphany.c: Ditto.
12757 * config/epiphany/mode-switch-use.c: Ditto.
12758 * config/epiphany/resolve-sw-modes.c: Ditto.
12759 * config/fr30/fr30.c: Ditto.
12760 * config/frv/frv.c: Ditto.
12761 * config/h8300/h8300.c: Ditto.
12762 * config/i386/i386.c: Ditto.
12763 * config/i386/winnt.c: Ditto.
12764 * config/ia64/ia64.c: Ditto.
12765 * config/iq2000/iq2000.c: Ditto.
12766 * config/lm32/lm32.c: Ditto.
12767 * config/m32c/m32c.c: Ditto.
12768 * config/m32r/m32r.c: Ditto.
12769 * config/m68k/m68k.c: Ditto.
12770 * config/mcore/mcore.c: Ditto.
12771 * config/mep/mep.c: Ditto.
12772 * config/microblaze/microblaze.c: Ditto.
12773 * config/mips/mips.c: Ditto.
12774 * config/mmix/mmix.c: Ditto.
12775 * config/mn10300/mn10300.c: Ditto.
12776 * config/moxie/moxie.c: Ditto.
12777 * config/msp430/msp430.c: Ditto.
12778 * config/nds32/nds32-cost.c: Ditto.
12779 * config/nds32/nds32-fp-as-gp.c: Ditto.
12780 * config/nds32/nds32-intrinsic.c: Ditto.
12781 * config/nds32/nds32-isr.c: Ditto.
12782 * config/nds32/nds32-md-auxiliary.c: Ditto.
12783 * config/nds32/nds32-memory-manipulation.c: Ditto.
12784 * config/nds32/nds32-pipelines-auxiliary.c: Ditto.
12785 * config/nds32/nds32-predicates.c: Ditto.
12786 * config/nds32/nds32.c: Ditto.
12787 * config/nios2/nios2.c: Ditto.
12788 * config/pa/pa.c: Ditto.
12789 * config/pdp11/pdp11.c: Ditto.
12790 * config/rl78/rl78.c: Ditto.
12791 * config/rs6000/rs6000.c: Ditto.
12792 * config/rx/rx.c: Ditto.
12793 * config/s390/s390.c: Ditto.
12794 * config/sh/sh-mem.cc: Ditto.
12795 * config/sh/sh.c: Ditto.
12796 * config/sh/sh_optimize_sett_clrt.cc: Ditto.
12797 * config/sh/sh_treg_combine.cc: Ditto.
12798 * config/sparc/sparc.c: Ditto.
12799 * config/spu/spu.c: Ditto.
12800 * config/stormy16/stormy16.c: Ditto.
12801 * config/tilegx/tilegx.c: Ditto.
12802 * config/tilepro/tilepro.c: Ditto.
12803 * config/v850/v850.c: Ditto.
12804 * config/vax/vax.c: Ditto.
12805 * config/xtensa/xtensa.c: Ditto.
12807 2014-10-27 Alan Lawrence <alan.lawrence@arm.com>
12809 * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Comment out.
12810 * config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
12811 Remove using preprocessor directives.
12813 2014-10-27 Richard Biener <rguenther@suse.de>
12815 * match.pd (0 % X): Properly use the iterator iterating over
12816 all modulo operators.
12819 2014-10-27 Richard Biener <rguenther@suse.de>
12821 * tree-ssa-forwprop.c: Include tree-cfgcleanup.h and tree-into-ssa.h.
12822 (lattice): New global.
12823 (fwprop_ssa_val): New function.
12824 (fold_all_stmts): Likewise.
12825 (pass_forwprop::execute): Finally fold all stmts.
12827 2014-10-26 Manuel López-Ibáñez <manu@gcc.gnu.org>
12830 * doc/invoke.texi (fmessage-length): Update text to match reality.
12832 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12834 * config/microblaze/microblaze.c: Include rtl-iter.h.
12835 (microblaze_tls_referenced_p_1): Delete.
12836 (microblaze_tls_referenced_p): Use FOR_EACH_SUBRTX.
12838 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12840 * config/mips/mips.c (mips_at_reg_p): Delete.
12841 (mips_need_noat_wrapper_p): Use FOR_EACH_SUBRTX.
12843 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12845 * config/mips/mips.c (mips_record_lo_sum): Replace with...
12846 (mips_record_lo_sums): ...this new function.
12847 (mips_reorg_process_insns): Update accordingly.
12849 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12851 * config/mips/mips.c (mips_sim_insn): Update comment.
12852 (mips_sim_wait_regs_2): Delete.
12853 (mips_sim_wait_regs_1): Use FOR_EACH_SUBRTX_VAR.
12855 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12857 * config/mips/mips.c (r10k_needs_protection_p_call): Take a const_rtx
12858 and return a bool. Iterate over all subrtxes here.
12859 (r10k_needs_protection_p): Update accordingly.
12861 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12863 * config/mips/mips.c (r10k_needs_protection_p_1): Take an rtx
12864 rather than an rtx pointer. Change type of insn from "void *"
12865 to its real type. Return bool rather than int. Iterate over
12867 (r10k_needs_protection_p_store): Update accordingly.
12868 (r10k_needs_protection_p): Likewise.
12870 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12872 * config/mips/mips.c (mips16_rewrite_pool_refs_info): Delete.
12873 (mips16_rewrite_pool_refs): Take the insn and constant pool as
12874 parameters. Iterate over the instruction's pattern and return void.
12875 (mips16_lay_out_constants): Update accordingly.
12877 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12879 * config/mips/mips.c (mips_kernel_reg_p): Replace with...
12880 (mips_refers_to_kernel_reg_p): ...this new function.
12881 (mips_expand_prologue): Update accordingly.
12883 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12885 * config/mips/mips.c (mips_rewrite_small_data_1): Take the context
12886 as a parameter instead of the containing MEM. Iterate over all
12887 subrtxes. Don't return a value.
12888 (mips_rewrite_small_data): Update call accordingly.
12890 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12892 * config/mips/mips.c: Include rtl-iter.h.
12893 (mips_small_data_pattern_1): Take an rtx rather than an rtx pointer.
12894 Take the context as a parameter instead of the containing MEM.
12895 Iterate over all subrtxes.
12896 (mips_small_data_pattern_p): Update call accordingly.
12898 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12900 * config/mep/mep.c (mep_mul_hilo_bypass_1): Delete.
12901 (mep_mul_hilo_bypass_p): Use FOR_EACH_SUBRTX.
12903 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12905 * config/mep/mep.c (mep_store_find_set): Take a const_rtx and
12906 return a bool. Replace "void *" with specific type. Iterate
12908 (mep_store_data_bypass_1): Update calls accordingly.
12910 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12912 * config/mep/mep.c: Include rtl-iter.h.
12913 (global_reg_mentioned_p_1): Take a const_rtx and return a bool.
12914 (xtensa_tls_referenced_p): Return a bool. Use FOR_EACH_SUBRTX.
12916 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12918 * config/xtensa/xtensa.c: Include rtl-iter.h.
12919 (xtensa_tls_referenced_p_1): Delete.
12920 (xtensa_tls_referenced_p): Use FOR_EACH_SUBRTX.
12922 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12924 * config/sh/sh.c (sh_contains_memref_p_1): Delete.
12925 (sh_contains_memref_p): Use FOR_EACH_SUBRTX.
12927 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12929 * config/sh/sh-protos.h (shmedia_cleanup_truncate): Take an
12930 rtx as argument and return the number of changes.
12931 * config/sh/sh.c: Include rtl-iter.h.
12932 (shmedia_cleanup_truncate): Take an rtx as argument and iterate
12933 over all subrtxes. Return the number of changes made.
12934 * config/sh/sh.md: Update caller accordingly.
12936 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12938 * config/m68k/m68k.c (m68k_tls_reference_p_1): Delete.
12939 (m68k_tls_reference_p): Use FOR_EACH_SUBRTX_VAR.
12941 2014-10-26 Richard Sandiford <richard.sandiford@arm.com>
12943 * config/m68k/m68k.c: Include rtl-iter.h.
12944 (m68k_final_prescan_insn_1): Delete.
12945 (m68k_final_prescan_insn): Use FOR_EACH_SUBRTX_VAR.
12947 2014-10-25 Jakub Jelinek <jakub@redhat.com>
12949 PR tree-optimization/63641
12950 * tree-ssa-reassoc.c (optimize_range_tests_to_bit_test): Set high
12951 to low + prec - 1 - clz (mask) instead of low + prec - clz (mask).
12953 2014-10-25 Alan Modra <amodra@gmail.com>
12955 PR rtl-optimization/63615
12956 * simplify-rtx.c (simplify_plus_minus): Set "canonicalized" on
12957 decomposing PLUS or MINUS if operands are not placed adjacent
12958 in the "ops" array.
12960 2014-10-25 Joseph Myers <joseph@codesourcery.com>
12962 * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Do
12963 not allow e500 double in registers not satisyfing
12966 2014-10-24 Aldy Hernandez <aldyh@redhat.com>
12968 * dwarf2out.c (declare_in_namespace): Only emit external
12969 declarations in the local scope once.
12971 2014-10-24 Jonathan Wakely <jwakely@redhat.com>
12973 * ginclude/stdbool.h: Do not define bool, true or false in C++11.
12975 2014-10-24 Charles Baylis <charles.baylis@linaro.org>
12977 * config/aarch64/arm_neon.h (__LD2_LANE_FUNC): Rewrite using builtins,
12978 update uses to use new macro arguments.
12979 (__LD3_LANE_FUNC): Likewise.
12980 (__LD4_LANE_FUNC): Likewise.
12982 2014-10-24 Charles Baylis <charles.baylis@linaro.org>
12984 * config/aarch64/aarch64-builtins.c
12985 (aarch64_types_loadstruct_lane_qualifiers): Define.
12986 * config/aarch64/aarch64-simd-builtins.def (ld2_lane, ld3_lane,
12987 ld4_lane): New builtins.
12988 * config/aarch64/aarch64-simd.md (aarch64_vec_load_lanesoi_lane<mode>):
12990 (aarch64_vec_load_lanesci_lane<mode>): Likewise.
12991 (aarch64_vec_load_lanesxi_lane<mode>): Likewise.
12992 (aarch64_ld2_lane<mode>): New expand.
12993 (aarch64_ld3_lane<mode>): Likewise.
12994 (aarch64_ld4_lane<mode>): Likewise.
12995 * config/aarch64/aarch64.md (define_c_enum "unspec"): Add
12996 UNSPEC_LD2_LANE, UNSPEC_LD3_LANE, UNSPEC_LD4_LANE.
12998 2014-10-24 Georg-Johann Lay <avr@gjlay.de>
13000 * avr-protos.h (avr_out_sign_extend): New.
13001 * avr.c (avr_adjust_insn_length) [ADJUST_LEN_SEXT]: Handle.
13002 (avr_out_sign_extend): New function.
13003 * avr.md (extendqihi2, extendqipsi2, extendqisi2, extendhipsi2)
13004 (extendhisi2, extendpsisi2): Use it.
13005 (adjust_len) [sext]: New.
13007 2014-10-24 Martin Liska <mliska@suse.cz>
13009 * ipa-icf.c (sem_function::compare_phi_node): PHI result comparison
13012 2014-10-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13014 * config/aarch64/aarch64-elf-raw.h (CA53_ERR_835769_SPEC): Define.
13015 (LINK_SPEC): Include CA53_ERR_835769_SPEC.
13016 * config/aarch64/aarch64-linux.h (CA53_ERR_835769_SPEC): Define.
13017 (LINK_SPEC): Include CA53_ERR_835769_SPEC.
13019 2014-10-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13021 * config/aarch64/aarch64.h (ADJUST_INSN_LENGTH): Wrap definition in
13023 * config/aarch64/aarch64.c (is_mem_p): Delete.
13024 (is_memory_op): Rename to...
13025 (has_memory_op): ... This. Use FOR_EACH_SUBRTX.
13026 (dep_between_memop_and_curr): Assert that the input is a SET.
13027 (aarch64_madd_needs_nop): Add comment. Do not call
13028 dep_between_memop_and_curr on NULL body.
13029 (aarch64_final_prescan_insn): Add comment.
13030 Include rtl-iter.h.
13032 2014-10-24 Richard Biener <rguenther@suse.de>
13034 * Makefile.in (BUILD_CPPLIB): Move $(LIBINTL) $(LIBICONV)
13035 to genmatch BUILD_LIBS instead.
13037 2014-10-24 Richard Biener <rguenther@suse.de>
13039 * genmatch.c (expr::gen_transform): Use fold_buildN_loc
13040 and build_call_expr_loc.
13041 (dt_simplify::gen): Drop non_lvalue for GIMPLE, use
13042 non_lvalue_loc to build it for GENERIC.
13043 (decision_tree::gen_generic): Add location argument to
13044 generic_simplify prototype.
13045 (capture_info): New class.
13046 (capture_info::capture_info): New constructor.
13047 (capture_info::walk_match): New method.
13048 (capture_info::walk_result): New method.
13049 (capture_info::walk_c_expr): New method.
13050 (dt_simplify::gen): Handle preserving side-effects for
13051 GENERIC code generation.
13052 (decision_tree::gen_generic): Do not reject operands
13053 with TREE_SIDE_EFFECTS.
13054 * generic-match.h: New file.
13055 * generic-match-head.c: Include generic-match.h, not gimple-match.h.
13056 * match.pd: Add some constant folding patterns from fold-const.c.
13057 * fold-const.c: Include generic-match.h.
13058 (fold_unary_loc): Dispatch to generic_simplify.
13059 (fold_ternary_loc): Likewise.
13060 (fold_binary_loc): Likewise. Remove patterns now implemented
13061 by generic_simplify.
13062 * gimple-fold.c (replace_stmt_with_simplification): New function.
13063 (fold_stmt_1): Add valueize parameter, dispatch to gimple_simplify.
13064 (no_follow_ssa_edges): New function.
13065 (fold_stmt): New overload with valueization hook. Use
13066 no_follow_ssa_edges for the overload without hook.
13067 (fold_stmt_inplace): Likewise.
13068 * gimple-fold.h (no_follow_ssa_edges): Declare.
13070 2014-10-24 Felix Yang <felix.yang@huawei.com>
13071 Jiji Jiang <jiangjiji@huawei.com>
13074 * config/aarch64/arm_neon.h (__LD2R_FUNC): Remove macro.
13075 (__LD3R_FUNC): Ditto.
13076 (__LD4R_FUNC): Ditto.
13077 (vld2_dup_s8, vld2_dup_s16, vld2_dup_s32, vld2_dup_f32, vld2_dup_f64,
13078 vld2_dup_u8, vld2_dup_u16, vld2_dup_u32, vld2_dup_p8, vld2_dup_p16
13079 vld2_dup_s64, vld2_dup_u64, vld2q_dup_s8, vld2q_dup_p8,
13080 vld2q_dup_s16, vld2q_dup_p16, vld2q_dup_s32, vld2q_dup_s64,
13081 vld2q_dup_u8, vld2q_dup_u16, vld2q_dup_u32, vld2q_dup_u64
13082 vld2q_dup_f32, vld2q_dup_f64): Rewrite using builtin functions.
13083 (vld3_dup_s64, vld3_dup_u64, vld3_dup_f64, vld3_dup_s8
13084 vld3_dup_p8, vld3_dup_s16, vld3_dup_p16, vld3_dup_s32
13085 vld3_dup_u8, vld3_dup_u16, vld3_dup_u32, vld3_dup_f32
13086 vld3q_dup_s8, vld3q_dup_p8, vld3q_dup_s16, vld3q_dup_p16
13087 vld3q_dup_s32, vld3q_dup_s64, vld3q_dup_u8, vld3q_dup_u16
13088 vld3q_dup_u32, vld3q_dup_u64, vld3q_dup_f32, vld3q_dup_f64): Likewise.
13089 (vld4_dup_s64, vld4_dup_u64, vld4_dup_f64, vld4_dup_s8
13090 vld4_dup_p8, vld4_dup_s16, vld4_dup_p16, vld4_dup_s32
13091 vld4_dup_u8, vld4_dup_u16, vld4_dup_u32, vld4_dup_f32
13092 vld4q_dup_s8, vld4q_dup_p8, vld4q_dup_s16, vld4q_dup_p16
13093 vld4q_dup_s32, vld4q_dup_s64, vld4q_dup_u8, vld4q_dup_u16
13094 vld4q_dup_u32, vld4q_dup_u64, vld4q_dup_f32, vld4q_dup_f64): Likewise.
13095 * config/aarch64/aarch64.md (define_c_enum "unspec"): Add
13096 UNSPEC_LD2_DUP, UNSPEC_LD3_DUP, UNSPEC_LD4_DUP.
13097 * config/aarch64/aarch64-simd-builtins.def (ld2r, ld3r, ld4r): New
13099 * config/aarch64/aarch64-simd.md (aarch64_simd_ld2r<mode>): New pattern.
13100 (aarch64_simd_ld3r<mode>): Likewise.
13101 (aarch64_simd_ld4r<mode>): Likewise.
13102 (aarch64_ld2r<mode>): New expand.
13103 (aarch64_ld3r<mode>): Likewise.
13104 (aarch64_ld4r<mode>): Likewise.
13106 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13108 * rtlanal.c (get_base_term): Handle SCRATCH.
13110 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13112 * haifa-sched.c (sched_init): Disable max_issue when scheduling for
13115 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13117 * haifa-sched.c (cached_first_cycle_multipass_dfa_lookahead,)
13118 (cached_issue_rate): Remove. Use dfa_lookahead and issue_rate instead.
13119 (max_issue, choose_ready, sched_init): Update.
13121 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13123 * sched-int.h (struct _haifa_insn_data:last_rfs_win): New field.
13124 * haifa-sched.c (INSN_LAST_RFS_WIN): New access macro.
13125 (rfs_result): Set INSN_LAST_RFS_WIN. Update signature.
13126 (rank_for_schedule): Update calls to rfs_result to pass new parameters.
13127 (print_rank_for_schedule_stats): Print out elements of ready list that
13128 ended up on their respective places due to each of the sorting
13130 (ready_sort): Update.
13131 (debug_ready_list_1): Improve printout for SCHED_PRESSURE_MODEL.
13132 (schedule_block): Update.
13134 2014-10-24 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13136 * haifa-sched.c (sched_class_regs_num, call_used_regs_num): New static
13137 arrays. Use sched_class_regs_num instead of ira_class_hard_regs_num.
13138 (print_curr_reg_pressure, setup_insn_reg_pressure_info,)
13139 (model_update_pressure, model_spill_cost): Use sched_class_regs_num.
13140 (model_start_schedule): Update.
13141 (sched_pressure_start_bb): New static function. Calculate
13142 sched_class_regs_num.
13143 (schedule_block): Use it.
13144 (alloc_global_sched_pressure_data): Calculate call_used_regs_num.
13146 2014-10-24 Richard Biener <rguenther@suse.de>
13148 * Makefile.in (BUILD_CPPLIB): When in stage2+ use the
13149 host library and make sure to pull in the required libintl
13150 and libiconv dependencies.
13152 2014-10-24 Richard Biener <rguenther@suse.de>
13154 * fold-const.c (fold_binary_loc): Fix copy-and-pasto.
13156 2014-10-24 Markus Trippelsdorf <markus@trippelsdorf.de>
13159 * collect2.c (main): Filter out -fno-lto.
13161 2014-10-24 Martin Liska <mliska@suse.cz>
13163 * ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes): Guard
13164 division by zero in dumps.
13165 (sem_item_optimizer::merge_classes): Ditto.
13167 2014-10-23 John David Anglin <danglin@gcc.gnu.org>
13169 * config/pa/pa.c (pa_can_combine_p): Fix typo in last change.
13171 2014-10-23 Ian Lance Taylor <iant@google.com>
13173 * tree-vrp.c (extract_range_from_assert): Fix typo in comment.
13175 2014-10-23 Ian Lance Taylor <iant@google.com>
13177 * config/mep/mep.h (TARGET_HAS_F_SETLKW): Don't undefine.
13179 2014-10-23 Jakub Jelinek <jakub@redhat.com>
13182 * var-tracking.c (stack_adjust_offset_pre_post_cb): New function.
13183 (stack_adjust_offset_pre_post): Use it through for_each_inc_dec,
13184 instead of only handling autoinc in dest if it is a MEM.
13185 (vt_stack_adjustments): Fix up formatting.
13187 2014-10-23 DJ Delorie <dj@redhat.com>
13189 * config/msp430/msp430.c (msp430_print_operand): 'x' modifier is
13190 independend of -mlarge.
13191 * config/msp430/constraints.md (Ys): Update comment.
13193 2014-10-23 Evgeny Stupachenko <evstupac@gmail.com>
13197 * cse.c (delete_trivially_dead_insns): Consider PIC register is used
13198 while it is pseudo.
13199 * dse.c (deletable_insn_p): Likewise.
13201 2014-10-23 Georg-Johann Lay <avr@gjlay.de>
13203 * config/avr/avr.c: Fix GNU coding rules and typos.
13204 * config/avr/avr.h: Dito.
13205 * config/avr/avr-c.c: Dito.
13206 * config/avr/avr.md: Dito.
13208 2014-10-23 Kirill Yukhin <kirill.yukhin@intel.com>
13210 * config/i386/sse.md (define_mode_iterator VI1248_AVX512VL_AVX512BW):
13212 (define_insn "*abs<mode>2"): Use VI1248_AVX512VL_AVX512BW mode
13214 (define_expand "abs<mode>2"): Ditto.
13216 2014-10-23 Kirill Yukhin <kirill.yukhin@intel.com>
13218 * tree-core.h (tree_var_decl): Extend `function_code' field
13219 by one bit, move `regdecl_flag' field to ...
13220 (tree_decl_with_vis): Here.
13221 * tree.h (DECL_STATIC_CHAIN): Update struct name.
13223 2014-10-23 Richard Biener <rguenther@suse.de>
13225 * Makefile.in (BUILD_CPPLIB): Add.
13226 (build/genmatch$(build_exeext)): Use BUILD_CPPLIB, not CPPLIB.
13229 2014-10-23 Richard Biener <rguenther@suse.de>
13231 * fold-const.c (fold_binary_loc): Preserve side-effects of
13232 X - X when simplifying to 0.
13233 * stor-layout.c (finish_bitfield_representative): Strip
13234 side-effects of evaluating the difference of two DECL_FIELD_OFFSET.
13236 2014-10-22 Richard Biener <rguenther@suse.de>
13237 Tobias Burnus <burnus@net-b.de>
13240 * gcc.c (LINK_COMMAND_SPEC): Add %{fno-lto}.
13242 2014-10-22 Dehao Chen <dehao@google.com>
13244 * auto-profile.c: Change order of header files.
13246 2014-10-22 Guozhi Wei <carrot@google.com>
13248 PR tree-optimization/63530
13249 tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Set
13250 pointer alignment according to DR_MISALIGNMENT.
13252 2014-10-22 David Malcolm <dmalcolm@redhat.com>
13254 * ipa-icf.c (ipa_icf_driver): Set optimizer to NULL when done.
13256 2014-10-22 Andrew MacLeod <amacleod@redhat.com>
13258 * cfgbuild.h: New. Add prototypes for cfgbuild.c.
13259 * cfgcleanup.h: New. Add prototypes for cfgcleanup.c.
13260 * cfgloopmanip.h: New. Add prototypes for cfgloopmanip.c.
13261 * dominance.h: New. Add prototypes for dominance.c.
13262 * cfgloop.h: Move some prototypes/enum to cfgloopmanip.h and include it.
13263 * cfghooks.h: (struct profile_record) Relocate here.
13264 Relocate 2 prototypes from basic-block.h.
13265 * basic-block.h: Move prototypes and struct to new header files.
13266 Include cfgbuild.h, cfgcleanup.h, and dominance.h.
13267 * rtl.h: Move a few prototypes to new header files.
13268 * cfgcleanup.c (merge_memattrs): Make static.
13269 * genopinit.c (main): Add predict.h to list of includes.
13270 * predict.h: Update prototype list to match predict.c.
13271 * predict.c (maybe_hot_count_p): Export.
13272 (cgraph_edge::maybe_hot_p): Move to cgraph.c.
13273 (cgraph_node::optimize_for_size_p): Move to cgraph.h.
13274 * cgraph.h (cgraph_node::optimize_for_size_p): Relocate here.
13275 * cgraph.c (cgraph_edge::maybe_hot_p): Relocate here.
13276 * profile.h: Adjust prototypes.
13277 * ifcvt.h: New. Relocate struct ce_if_block here.
13278 * ifcvt.c: Include ifcvt.h.
13279 * config/frv/frv.c: Include ifcvt.h.
13280 * config/frv/frv-protos.h: Add 'struct' to ce_if_block * parameters.
13282 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
13284 * lra.c (lra): Remove call to recog_init.
13285 * config/i386/i386.md (preferred_for_speed): New attribute
13286 (*float<SWI48:mode><MODEF:mode>2_sse): Override it instead of
13287 "enabled". Remove check for sched1.
13289 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
13291 * recog.h (recog_data_d): Remove enabled_alternatives.
13292 * recog.c (extract_insn): Don't set it.
13293 * reload.c (find_reloads): Call get_enabled_alternatives.
13295 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
13297 * recog.h (constrain_operands): Add an alternative_mask parameter.
13298 (constrain_operands_cached): Likewise.
13299 (get_preferred_alternatives): Declare new form.
13300 * recog.c (get_preferred_alternatives): New bb-taking instance.
13301 (constrain_operands): Take the set of available alternatives as
13303 (check_asm_operands, insn_invalid_p, extract_constrain_insn)
13304 (extract_constrain_insn_cached): Update calls to constrain_operands.
13305 * caller-save.c (reg_save_code): Likewise.
13306 * ira.c (setup_prohibited_mode_move_regs): Likewise.
13307 * postreload-gcse.c (eliminate_partially_redundant_load): Likewise.
13308 * ree.c (combine_reaching_defs): Likewise.
13309 * reload.c (can_reload_into): Likewise.
13310 * reload1.c (reload, reload_as_needed, inc_for_reload): Likewise.
13311 (gen_reload_chain_without_interm_reg_p, emit_input_reload_insns)
13312 (emit_insn_if_valid_for_reload): Likewise.
13313 * reorg.c (fill_slots_from_thread): Likewise.
13314 * config/i386/i386.c (ix86_attr_length_address_default): Likewise.
13315 * config/pa/pa.c (pa_can_combine_p): Likewise.
13316 * config/rl78/rl78.c (insn_ok_now): Likewise.
13317 * config/sh/sh.md (define_peephole2): Likewise.
13318 * final.c (final_scan_insn): Update call to constrain_operands_cached.
13320 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
13322 * doc/md.texi: Document "preferred_for_size" and "preferred_for_speed"
13324 * genattr.c (main): Handle "preferred_for_size" and
13325 "preferred_for_speed" in the same way as "enabled".
13326 * recog.h (bool_attr): New enum.
13327 (target_recog): Replace x_enabled_alternatives with x_bool_attr_masks.
13328 (get_preferred_alternatives, check_bool_attrs): Declare.
13329 * recog.c (have_bool_attr, get_bool_attr, get_bool_attr_mask_uncached)
13330 (get_bool_attr_mask, get_preferred_alternatives, check_bool_attrs):
13332 (get_enabled_alternatives): Use get_bool_attr_mask.
13333 * ira-costs.c (record_reg_classes): Use get_preferred_alternatives
13334 instead of recog_data.enabled_alternatives.
13335 * ira.c (ira_setup_alts): Likewise.
13336 * postreload.c (reload_cse_simplify_operands): Likewise.
13337 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
13338 * ira-lives.c (preferred_alternatives): New variable.
13339 (process_bb_node_lives): Set it.
13340 (check_and_make_def_conflict, make_early_clobber_and_input_conflicts)
13341 (single_reg_class, ira_implicitly_set_insn_hard_regs): Use it instead
13342 of recog_data.enabled_alternatives.
13343 * lra-int.h (lra_insn_recog_data): Replace enabled_alternatives
13344 to preferred_alternatives.
13345 * lra-constraints.c (process_alt_operands): Update accordingly.
13346 * lra.c (lra_set_insn_recog_data): Likewise.
13347 (lra_update_insn_recog_data): Assert check_bool_attrs.
13349 2014-10-22 Richard Sandiford <richard.sandiford@arm.com>
13351 * recog.h (extract_constrain_insn): Declare.
13352 * recog.c (extract_constrain_insn): New function.
13353 * lra.c (check_rtl): Use it.
13354 * postreload.c (reload_cse_simplify_operands): Likewise.
13355 * reg-stack.c (check_asm_stack_operands): Likewise.
13356 (subst_asm_stack_regs): Likewise.
13357 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
13358 * regrename.c (build_def_use): Likewise.
13359 * sel-sched.c (get_reg_class): Likewise.
13360 * config/arm/arm.c (note_invalid_constants): Likewise.
13361 * config/s390/predicates.md (execute_operation): Likewise.
13363 2014-10-22 Jakub Jelinek <jakub@redhat.com>
13364 Yury Gribov <y.gribov@samsung.com>
13366 * common.opt (flag_sanitize_recover): New variable.
13367 (fsanitize-recover): Remove Var/Init, deprecate.
13368 (fsanitize-recover=): New option.
13369 * doc/invoke.texi (fsanitize-recover): Update docs.
13370 * opts.c (finish_options): Use opts->x_flag_sanitize
13371 instead of flag_sanitize. Prohibit -fsanitize-recover
13372 for anything besides UBSan. Formatting.
13373 (common_handle_option): Handle OPT_fsanitize_recover_
13374 and OPT_fsanitize_recover. Use opts->x_flag_sanitize
13375 instead of flag_sanitize.
13376 * asan.c (pass_sanopt::execute): Fix up formatting.
13377 * ubsan.c (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn,
13378 ubsan_expand_objsize_ifn, ubsan_build_overflow_builtin,
13379 instrument_bool_enum_load, ubsan_instrument_float_cast,
13380 instrument_nonnull_arg, instrument_nonnull_return): Check
13381 bits in flag_sanitize_recover bitmask instead of
13382 flag_sanitize_recover as bool flag.
13384 2014-10-22 Jiong Wang <jiong.wang@arm.com>
13386 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add missing '\'.
13388 2014-10-22 Renlin Li <renlin.li@arm.com>
13390 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define
13391 __ARM_FEATURE_IDIV__.
13393 2014-10-22 Richard Biener <rguenther@suse.de>
13395 * Makefile.in (s-match): Adjust dependencies to only catch
13398 2014-10-22 Richard Biener <rguenther@suse.de>
13399 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
13401 * Makefile.in (OBJS): Add gimple-match.o and generic-match.o.
13402 (MOSTLYCLEANFILES): Add gimple-match.c and generic-match.c.
13403 (gimple-match.c): Generate by triggering s-match.
13404 (generic-match.c): Likewise.
13405 (s-match): Rule to build gimple-match.c and generic-match.c
13406 by running the genmatch generator program.
13407 (build/hash-table.o): Dependencies to build hash-table.c for the host.
13408 (build/genmatch.o): Dependencies to build genmatch.
13409 (genprog): Add match.
13410 (build/genmatch): Likewise.
13411 (TEXI_GCCINT_FILES): Add match-and-simplify.texi.
13412 * generic-match-head.c: New file.
13413 * gimple-match-head.c: Likewise.
13414 * gimple-match.h: Likewise.
13415 * genmatch.c: Likewise.
13416 * match.pd: Likewise.
13417 * builtins.h (fold_builtin_n): Export.
13418 * builtins.c (fold_builtin_n): Likewise.
13419 * gimple-fold.h (gimple_build): Declare various overloads.
13420 (gimple_simplify): Likewise.
13421 (gimple_convert): Re-implement in terms of gimple_build.
13422 * gimple-fold.c (gimple_convert): Remove.
13423 (gimple_build): New functions.
13424 * doc/match-and-simplify.texi: New file.
13425 * doc/gccint.texi: Add menu item Match and Simplify and include
13426 match-and-simplify.texi.
13428 2014-10-22 Jakub Jelinek <jakub@redhat.com>
13431 * config/i386/i386.c (ix86_expand_vector_init_duplicate): For
13432 V{8HI,16QI,16HI,32QI}mode call ix86_vector_duplicate_value
13433 even for just TARGET_AVX2, not only for
13434 TARGET_AVX512VL && TARGET_AVX512BW. For V{32HI,64QI}mode,
13435 call ix86_vector_duplicate_value only if TARGET_AVX512BW,
13436 otherwise build it using concatenation of 256-bit
13438 * config/i386/sse.md (AVX_VEC_DUP_MODE): Moved after
13439 avx512 broadcast patterns.
13440 (vec_dup<mode>): Likewise. For avx2 use
13441 v<sseintprefix>broadcast<bcstscalarsuff> instead of
13442 vbroadcast<ssescalarmodesuffix>.
13443 (AVX2_VEC_DUP_MODE): New mode iterator.
13444 (*vec_dup<mode>): New TARGET_AVX2 define_insn with
13445 AVX2_VEC_DUP_MODE iterator, add a splitter for that.
13448 * config/i386/i386.c (ix86_pic_register_p): Also return
13449 true if x is a hard register with ORIGINAL_REGNO equal to
13450 pic_offset_table_rtx pseudo REGNO.
13451 (ix86_delegitimize_address): For ix86_use_pseudo_pic_reg ()
13452 after reload, subtract GOT_SYMBOL_NAME symbol if possible.
13454 2014-10-22 Alan Modra <amodra@gmail.com>
13456 * gengtype.h (obstack_chunk_alloc, obstack_chunk_free): Remove cast.
13457 * coretypes.h (obstack_chunk_alloc, obstack_chunk_free): Likewise.
13458 (gcc_obstack_init): Use obstack_specify_allocation in place of
13460 * genautomata.c (next_sep_el): Cast result of obstack_base to (char *).
13461 (regexp_representation): Likewise.
13462 * godump.c (go_output_type): Likewise.
13464 2014-10-21 John David Anglin <danglin@gcc.gnu.org>
13466 * config.gcc: Remove MASK_JUMP_IN_DELAY from target_cpu_default2.
13467 * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_JUMP_IN_DELAY.
13468 * config/pa/pa.opt (mjump-in-delay): Ignore option. Update comment.
13470 2014-10-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
13472 * doc/invoke.texi (pedantic-errors): Explain better.
13474 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
13475 Vidya Praveen <vidya.praveen@atmel.com>
13476 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
13477 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
13478 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
13480 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Don't define
13481 __MEMX for avrtiny.
13482 * config/avr/avr.c (avr_insert_attributes): Reject __memx for avrtiny.
13483 (avr_nonconst_pointer_addrspace): Likewise.
13484 * config/avr/avr.h (AVR_HAVE_LPM): Define.
13486 Added AVRTINY architecture to avr target.
13487 * config/avr/avr-arch.h (avr_arch): Added AVRTINY architecture.
13488 (base_arch_s): member added for AVRTINY architecture.
13489 * config/avr/avr.c: Added TINY_ADIW, TINY_SBIW macros as AVRTINY
13490 alternate for adiw/sbiw instructions. Added AVR_TMP_REGNO and
13491 AVR_ZERO_REGNO macros for tmp and zero registers. Replaced TMP_REGNO
13492 and ZERO_REGNO occurrences by AVR_TMP_REGNO and AVR_ZERO_REGNO
13493 respectively. LAST_CALLEE_SAVED_REG macro added for the last register
13494 in callee saved register list.
13495 (avr_option_override): CCP address updated for AVRTINY.
13496 (avr_init_expanders): tmp and zero rtx initialized as per arch.
13497 Reset avr_have_dimode if AVRTINY.
13498 (sequent_regs_live): Use LAST_CALLEE_SAVED_REG instead magic number.
13499 (emit_push_sfr): Use AVR_TMP_REGNO for tmp register number.
13500 (avr_prologue_setup_frame): Don't minimize prologue if AVRTINY.
13501 Use LAST_CALLEE_SAVED_REG to refer last callee saved register.
13502 (expand_epilogue): Likewise.
13503 (avr_print_operand): Print CCP address in case of AVRTINY also.
13505 (function_arg_regno_p): Check different register list for arguments
13507 (init_cumulative_args): Check for AVRTINY to update number of argument
13509 (tiny_valid_direct_memory_access_range): New function. Return false if
13510 direct memory access range is not in accepted range for AVRTINY.
13511 (avr_out_movqi_r_mr_reg_disp_tiny): New function to handle register
13512 indirect load (with displacement) for AVRTINY.
13513 (out_movqi_r_mr): Updated instruction length for AVRTINY. Call
13514 avr_out_movqi_r_mr_reg_disp_tiny for load from reg+displacement.
13515 (avr_out_movhi_r_mr_reg_no_disp_tiny): New function to handle register
13516 indirect load (no displacement) for AVRTINY.
13517 (avr_out_movhi_r_mr_reg_disp_tiny): New function to handle register
13518 indirect load (with displacement) for AVRTINY.
13519 (avr_out_movhi_r_mr_pre_dec_tiny): New function to handle register
13520 indirect load for pre-decrement address.
13521 (out_movhi_r_mr): In case of AVRTINY, call tiny register indirect load
13522 functions. Update instruction length for AVRTINY.
13523 (avr_out_movsi_r_mr_reg_no_disp_tiny): New function. Likewise, for
13525 (avr_out_movsi_r_mr_reg_disp_tiny): New function. Likewise, for SImode.
13526 (out_movsi_r_mr): Likewise, for SImode.
13527 (avr_out_movsi_mr_r_reg_no_disp_tiny): New function to handle register
13528 indirect store (no displacement) for AVRTINY.
13529 (avr_out_movsi_mr_r_reg_disp_tiny): New function to handle register
13530 indirect store (with displacement) for AVRTINY.
13531 (out_movsi_mr_r): Emit out insn for IO address store. Update store
13532 instruction's size for AVRTINY. For AVRTINY, call tiny SImode indirect
13534 (avr_out_load_psi_reg_no_disp_tiny): New function to handle register
13535 indirect load (no displacement) for PSImode in AVRTINY.
13536 (avr_out_load_psi_reg_disp_tiny): New function to handle register
13537 indirect load (with displacement) for PSImode in AVRTINY.
13538 (avr_out_load_psi): Call PSImode register indirect load functions for
13539 AVRTINY. Update instruction length for AVRTINY.
13540 (avr_out_store_psi_reg_no_disp_tiny): New function to handle register
13541 indirect store (no displacement) for PSImode in AVRTINY.
13542 (avr_out_store_psi_reg_disp_tiny): New function to handle register
13543 indirect store (with displacement) for PSImode in AVRTINY.
13544 (avr_out_store_psi): Update instruction length for AVRTINY. Call tiny
13545 register indirect store functions for AVRTINY.
13546 (avr_out_movqi_mr_r_reg_disp_tiny): New function to handle QImode
13547 register indirect store (with displacement) for AVRTINY.
13548 (out_movqi_mr_r): Update instruction length for AVRTINY. Call tiny
13549 register indirect store function for QImode in AVRTINY.
13550 (avr_out_movhi_mr_r_xmega): Update instruction length for AVRTINY.
13551 (avr_out_movhi_mr_r_reg_no_disp_tiny): New function to handle register
13552 indirect store (no displacement) for HImode in AVRTINY.
13553 (avr_out_movhi_mr_r_reg_disp_tiny): New function to handle register
13554 indirect store (with displacement) for HImode in AVRTINY.
13555 (avr_out_movhi_mr_r_post_inc_tiny): New function to handle register
13556 indirect store for post-increment address in HImode.
13557 (out_movhi_mr_r): Update instruction length for AVRTINY. Call tiny
13558 register indirect store function for HImode in AVRTINY.
13559 (avr_out_compare): Use TINY_SBIW/ TINY_ADIW in place of sbiw/adiw
13560 in case of AVRTINY.
13561 (order_regs_for_local_alloc): Updated register allocation order for
13563 (avr_conditional_register_usage): New function. It is a target hook
13564 (TARGET_CONDITIONAL_REGISTER_USAGE) function which updates fixed, call
13565 used registers list and register allocation order for AVRTINY.
13566 (avr_return_in_memory): Update return value size for AVRTINY.
13567 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Added builtin macros
13568 for AVRTINY arch and tiny program memory base address.
13569 * config/avr/avr-devices.c (avr_arch_types): Added AVRTINY arch.
13570 (avr_texinfo): Added description for AVRTINY arch.
13571 * config/avr/avr.h: Added macro to identify AVRTINY arch. Updated
13572 STATIC_CHAIN_REGNUM for AVRTINY.
13573 * config/avr/avr-mcus.def: Added AVRTINY arch devices.
13574 * config/avr/avr.md: Added constants for tmp/ zero registers in
13575 AVRTINY. Attributes for AVRTINY added.
13576 (mov<mode>): Move src/ dest address to register if it is not in AVRTINY
13577 memory access range.
13578 (mov<mode>_insn): Avoid QImode direct load for AVRTINY if address not
13579 in AVRTINY memory access range.
13580 (*mov<mode>): Likewise for HImode and SImode.
13581 (*movsf): Likewise for SFmode.
13582 (delay_cycles_2): Updated instructions to be emitted as AVRTINY does
13584 * config/avr/avr-protos.h: Added function prototype for
13585 tiny_valid_direct_memory_access_range.
13586 * config/avr/avr-tables.opt: Regenerate.
13587 * gcc/config/avr/t-multilib: Regenerate.
13588 * doc/avr-mmcu.texi: Regenerate.
13590 2014-10-21 Andrew Pinski <apinski@cavium.com>
13592 * doc/invoke.texi (AARCH64/mtune): Document thunderx as an
13593 available option also.
13594 * config/aarch64/aarch64-cost-tables.h: New file.
13595 * config/aarch64/aarch64-cores.def (thunderx): New core.
13596 * config/aarch64/aarch64-tune.md: Regenerate.
13597 * config/aarch64/aarch64.c: Include aarch64-cost-tables.h instead
13598 of config/arm/aarch-cost-tables.h.
13599 (thunderx_regmove_cost): New variable.
13600 (thunderx_tunings): New variable.
13602 2014-10-21 Dehao Chen <dehao@google.com>
13604 * auto-profile.c: New file.
13605 * auto-profile.h: New file.
13606 * basic-block.h (maybe_hot_count_p): New export func.
13607 (add_working_set): New export func.
13608 * gcov-io.h (GCOV_TAG_AFDO_FILE_NAMES): New tag.
13609 (GCOV_TAG_AFDO_FUNCTION): Likewise.
13610 (GCOV_TAG_AFDO_WORKING_SET): Likewise.
13611 * opts.c (enable_fdo_optimizations): New func.
13612 (common_handle_option): Handle -fauto-profile flag.
13613 * ipa-inline.c (want_early_inline_function_p): Iterative-einline.
13614 (class pass_early_inline): Export early_inliner.
13615 (early_inliner): Likewise.
13616 (pass_early_inline::execute): Likewise.
13617 * ipa-inline.h (early_inliner): Likewise.
13618 * predict.c (maybe_hot_count_p): New export func.
13619 (counts_to_freqs): AutoFDO logic.
13620 (rebuild_frequencies): Likewise.
13621 * tree-profile.c (pass_ipa_tree_profile::gate): Likewise.
13622 * profile.c (add_working_set): New func.
13623 * Makefile.in (auto-profile.o): New object file.
13624 * passes.def (pass_ipa_auto_profile): New pass.
13625 * tree-ssa-live.c (remove_unused_scope_block_p): AutoFDO logic.
13626 * tree-pass.h (make_pass_ipa_auto_profile): New pass.
13627 * toplev.c (compile_file): AutoFDO logic.
13628 * doc/invoke.texi (-fauto-profile): New doc.
13629 * coverage.c (coverage_init): AutoFDO logic.
13630 * common.opt (-fauto-profile): New flag.
13631 * timevar.def (TV_IPA_AUTOFDO): New tag.
13632 * value-prof.c (gimple_alloc_histogram_value): New export func.
13633 (check_ic_target): Likewise.
13634 * value-prof.h (gimple_alloc_histogram_value): Likewise.
13635 (check_ic_target): Likewise.
13637 2014-10-21 David Malcolm <dmalcolm@redhat.com>
13639 * cgraph.c (cgraph_c_finalize): New function.
13640 * cgraph.h (cgraph_c_finalize): New prototype.
13641 (cgraphunit_c_finalize): New prototype.
13642 * cgraphunit.c (first_analyzed): Move from analyze_functions
13644 (first_analyzed_var): Likewise.
13645 (analyze_functions): Move static variables into file-scope.
13646 (cgraphunit_c_finalize): New function.
13647 * diagnostic.c (diagnostic_finish): Free the memory for
13648 context->classify_diagnostic and context->printer, running the
13649 destructor for the latter.
13650 (bt_stop): Use toplev::main.
13651 * dwarf2out.c (dwarf2out_finalize): New function.
13652 * dwarf2out.h (dwarf2out_c_finalize): New prototype.
13653 * gcse.c (gcse_c_finalize): New function.
13654 * gcse.h (gcse_c_finalize): New prototype.
13655 * ggc-page.c (init_ggc): Make idempotent.
13656 * input.c (input_location): Initialize to UNKNOWN_LOCATION.
13657 * ipa-cp.c (ipa_cp_c_finalize): New function.
13658 * ipa-prop.h (ipa_cp_c_finalize): New prototype.
13659 * ipa-pure-const.c (function_insertion_hook_holder): Move to be
13660 a field of class pass_ipa_pure_const.
13661 (node_duplication_hook_holder): Likewise.
13662 (node_removal_hook_holder): Likewise.
13663 (register_hooks): Convert to method...
13664 (pass_ipa_pure_const::register_hooks): ...here, converting
13665 static variable init_p into...
13666 (pass_ipa_pure_const::init_p): ...new field.
13667 (pure_const_generate_summary): Update invocation of
13668 register_hooks to invoke as a method of current_pass.
13669 (pure_const_read_summary): Likewise.
13670 (propagate): Convert to...
13671 (pass_ipa_pure_const::execute): ...method.
13672 * ipa-reference.c (ipa_init): Move static bool init_p from here
13674 (ipa_init_p): New file-scope variable, so that it can be reset
13675 when repeatedly invoking the compiler within one process by...
13676 (ipa_reference_c_finalize): New function.
13677 * ipa-reference.h (ipa_reference_c_finalize): New.
13678 * main.c (main): Replace invocation of toplev_main with
13679 construction of a toplev instance, and call its "main" method.
13680 * params.c (global_init_params): Add an assert that
13681 params_finished is false.
13682 (params_c_finalize): New.
13683 * params.h (params_c_finalize): New.
13684 * passes.c (execute_ipa_summary_passes): Set "current_pass" before
13685 invoking generate_summary, for the benefit of pass_ipa_pure_const.
13686 (ipa_write_summaries_2): Assign "pass" to "current_pass" global
13687 before calling write_summary hook.
13688 (ipa_write_optimization_summaries_1): Likewise when calling
13689 write_optimization_summary hook.
13690 (ipa_read_summaries_1): Likewise for read_summary hook.
13691 (ipa_read_optimization_summaries_1): Likewise for
13692 read_optimization_summary hook.
13693 (execute_ipa_stmt_fixups): Likewise.
13694 * stringpool.c (init_stringpool): Clean up if we're called more
13696 * timevar.c (timevar_init): Ignore repeated calls.
13697 * toplev.c: Include "dwarf2out.h", "ipa-reference.h", "gcse.h",
13699 (general_init): Reset "input_location" to UNKNOWN_LOCATION.
13700 (initialize_rtl): Move static local "initialized_once"
13701 into file scope, and rename to...
13702 (rtl_initialized): New variable.
13703 (do_compile): Move timevar initialization from here to
13704 toplev::start_timevars.
13705 (toplev::toplev, toplev::~toplev, toplev::start_timevars,
13706 toplev::finalize): New functions.
13707 (toplev_main): Rename to...
13708 (toplev::main): ...this.
13709 * toplev.h (class toplev): New class.
13711 2014-10-21 Andrew MacLeod <amacleod@redhat.com>
13713 * loop-doloop.c: Include loop-unroll.h.
13715 2014-10-21 Andrew MacLeod <amacleod@redhat.com>
13717 * cfg.h: New. Header file for cfg.c.
13718 * cfganal.h: New. Header file for cfganal.c.
13719 * lcm.h: New. Header file for lcm.c.
13720 * loop-unroll.h: New. Header file for loop-unroll.h.
13721 * cfgloop.h: (unroll_loops): Remove prototype.
13722 * basic-block.h: Move prototypes and structs to new header files.
13723 Include cfg.h, cfganal.h, and lcm.h.
13724 * loop-init.c: Include loop-unroll.h.
13725 * loop-unroll.c: (referenced_in_one_insn_in_loop_p): Make static.
13726 * modulo-sched.c: Include loop-unroll.h.
13728 2014-10-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
13730 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Fix creation of
13731 MARKER_BYTE_UNKNOWN markers when handling casts.
13733 2014-10-21 Richard Biener <rguenther@suse.de>
13735 * tree-ssa-phiopt.c (value_replacement): Properly verify we
13736 are the non-singleton PHI.
13738 2014-10-21 Jakub Jelinek <jakub@redhat.com>
13740 PR tree-optimization/63563
13741 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Bail out
13742 if either dra or drb stmts are not normal loads/stores.
13744 2014-10-21 Ilya Tocar <ilya.tocar@intel.com>
13746 * config/i386/i386.c (expand_vec_perm_1): Fix
13747 expand_vec_perm_palignr case.
13748 * config/i386/sse.md (<ssse3_avx2>_palignr<mode>_mask): Use
13751 2014-10-21 Zhenqiang Chen <zhenqiang.chen@arm.com>
13753 * cfgloopanal.c (seq_cost): Delete.
13754 * rtl.h (seq_cost): New prototype.
13755 * rtlanal.c (seq_cost): New function.
13756 * tree-ssa-loop-ivopts.c (seq_cost): Delete.
13758 2014-10-20 Andrew MacLeod <amacleod@redhat.com>
13760 * cfgrtl.h: New. Add prototypes for cfgrtl.c.
13761 * basic-block.h: Remove prototypes for cfgrtl.c.
13762 * cfghooks.h (cfg_layout_initialize, cfg_layout_finalize): Move
13763 prototypes to cfgrtl.h.
13764 * profile.h (profile_info): Add extern export declaration.
13765 * rtl.h: Remove prototypes for cfgrtl.h.
13766 * tree-cfg.h (gt_ggc_mx, gt_pch_nx): Move prototypes to here.
13767 * ipa-inline.c: Include profile.h.
13768 * loop-unroll.c: Ditto.
13769 * modulo-sched.c: Ditto.
13770 * postreload-gcse.c: Ditto.
13771 * predict.c: Ditto.
13772 * sched-ebb.c: Ditto.
13773 * sched-rgn.c: Ditto.
13775 * tree-ssa-loop-ivcanon.c: Ditto.
13777 2014-10-20 Richard Biener <rguenther@suse.de>
13779 * tree-vect-slp.c (vect_get_and_check_slp_defs): Try swapping
13780 operands to get a def operand kind match. Signal mismatches
13781 to the parent so we can try swapping its operands.
13782 (vect_build_slp_tree): Try swapping operands if they have
13783 a mismatched operand kind.
13785 2014-10-20 Alan Modra <amodra@gmail.com>
13788 * simplify-rtx.c (simplify_plus_minus): Delete unused "input_ops".
13789 Increase "ops" array size. Correct array size tests. Init
13790 n_constants in loop. Break out of innermost loop when finding
13791 a trivial CONST expression.
13793 2014-10-20 Martin Liska <mliska@suse.cz>
13796 * ipa-icf-gimple.c (func_checker::compare_gimple_asm):
13797 Gimple tempate string is compared.
13799 2014-10-20 Uros Bizjak <ubizjak@gmail.com>
13801 * varasm.c (const_alias_set): Remove.
13802 (init_varasm_once): Remove initialization of const_alias_set.
13803 (build_constant_desc): Do not set alias set to const_alias_set.
13805 2014-10-19 Ilya Verbin <ilya.verbin@intel.com>
13807 * configure: Regenerate.
13808 * configure.ac: Move the test for section attribute specifier "e" in GAS
13809 out to all i[34567]86-*-* | x86_64-*-* targets and add --fatal-warnings.
13810 * langhooks.c (lhd_begin_section): Set SECTION_EXCLUDE flag.
13811 * varasm.c (default_elf_asm_named_section): Guard SECTION_EXCLUDE with
13812 ifdef HAVE_GAS_SECTION_EXCLUDE.
13814 2014-10-19 Andreas Schwab <schwab@linux-m68k.org>
13816 * doc/md.texi (RTL Template) [match_scratch]: Correct equivalent
13817 match_operand expression.
13819 2014-10-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13820 David Edelsohn <dje.gcc@gmail.com>
13822 * config/rs6000/rs6000.c (rs6000_atomic_assign_expand_fenv): New
13824 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
13826 2014-10-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
13828 * doc/invoke.texi (Options to Request or Suppress Warnings):
13829 Explain options precedence.
13830 (Wtrampolines): Do not indent paragraph.
13832 2014-10-18 John David Anglin <danglin@gcc.gnu.org>
13834 * doc/invoke.texi: Update documentation of hppa -mjump-in-delay option.
13835 * config/pa/pa-protos.h (pa_following_call): Delete declaration.
13836 (pa_jump_in_call_delay): Likewise.
13837 * config/pa/pa.c (pa_option_override): Remove jump in call delay
13839 (pa_output_millicode_call): Remove support for jump in call delay.
13840 (pa_output_call): Likewise.
13841 (pa_jump_in_call_delay): Delete.
13842 (pa_following_call): Likewise.
13843 * config/pa/pa.md (in_call_delay): Remove jump in delay check.
13844 (uncond_branch): Remove following call check from attribute length.
13846 2014-10-18 Oleg Endo <olegendo@gcc.gnu.org>
13849 * config/sh/sh-modes.def (PSI): Remove.
13850 * config/sh/sh-protos.h (get_fpscr_rtx): Remove.
13851 * config/sh/sh.c (fpscr_rtx, get_fpscr_rtx): Remove.
13852 (sh_reorg): Remove commented out FPSCR code.
13853 (fpscr_set_from_mem): Use SImode instead of PSImode. Emit lds_fpscr
13854 insn instead of move insn.
13855 (sh_hard_regno_mode_ok): Return SImode for FPSCR.
13856 (sh_legitimate_address_p, sh_legitimize_reload_address): Remove PSImode
13858 (sh_emit_mode_set): Emit lds_fpscr and sts_fpscr insns.
13859 (sh1_builtin_p): Uncomment.
13860 (SH_BLTIN_UV 25, SH_BLTIN_VU 26): New macros.
13861 (bdesc): Add __builtin_sh_get_fpscr and __builtin_sh_set_fpscr.
13862 * config/sh/sh/predicates.md (fpscr_operand): Simplify.
13863 (fpscr_movsrc_operand, fpscr_movdst_operand): New predicates.
13864 (general_movsrc_operand, general_movdst_operand): Disallow
13866 * config/sh/sh.md (FPSCR_FR): New constant.
13867 (push_fpscr): Emit sts_fpscr insn.
13868 (pop_fpscr): Emit lds_fpscr_insn.
13869 (movsi_ie): Disallow FPSCR operands.
13870 (fpu_switch, unnamed related split, extend_psi_si,
13871 truncate_si_psi): Remove insns.
13872 (lds_fpscr, sts_fpscr): New insns.
13873 (toggle_sz, toggle_pr): Use SImode for FPSCR_REG instead of PSImode.
13875 2014-10-17 Eric Botcazou <ebotcazou@adacore.com>
13877 * ipa-inline-transform.c (master_clone_with_noninline_clones_p): New.
13878 (clone_inlined_nodes): Do not overwrite the clone if above predicate
13881 2014-10-17 Ilya Tocar <ilya.tocar@intel.com>
13883 * config/i386/i386.c (MAX_VECT_LEN): Move earlier.
13884 (expand_vec_perm_d): Ditto.
13885 (ix86_expand_vec_perm_vpermi2): Handle V8HImode, V16HImode, V32HImode,
13886 V32HImode, V4SImode, V8SImode, V4SFmode, V8SFmode, V2DImode, V4DImode,
13888 (ix86_expand_vec_perm): Update call to ix86_expand_vec_perm_vpermi2.
13889 (ix86_expand_sse_unpack): Handle V64QImode.
13890 (expand_vec_perm_blend): Update conditions for TARGET, handle
13891 V8DFmode, V16SFmode, V32HImode, V64QImode, V16SImode, V8DImode.
13892 (expand_vec_perm_pshufb): Handle V64QImode.
13893 (expand_vec_perm_1): Handle V64QImode, V32HImode, V16SImode, V16SFmode,
13894 V8DFmode, V8DImode, V4DFmode, V2DFmode, V8SFmode, V4SFmode.
13895 (ix86_expand_vec_perm_const_1): Call ix86_expand_vec_perm_vpermi2.
13896 (ix86_vectorize_vec_perm_const_ok): Handle V32HImode, V64QImode.
13897 (ix86_expand_vecop_qihi): Handle V64QImode.
13898 * config/i386/sse.md (define_mode_iterator VI1_AVX512): New.
13899 (define_mode_iterator VEC_PERM_AVX2): Add V32HI.
13900 (define_mode_iterator VEC_PERM_CONST): Add V32HI.
13901 (define_insn "<ssse3_avx2>_pshufb<mode>3<mask_name>"): Add masking.
13902 (mul<mode>3): Use VI1_AVX512.
13903 (<sse2_avx2>_packsswb): Ditto.
13904 (<sse2_avx2>_packuswb): Ditto.
13905 (<ssse3_avx2>_pshufb<mode>3): Ditto.
13906 (<shift_insn><mode>3): Ditto.
13908 2014-10-17 Kirill Yukhin <kirill.yukhin@intel.com>
13910 * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Refactor
13911 conditions to fix bootstrap.
13913 2014-10-17 Andrew MacLeod <amacleod@redhat.com>
13915 gcc-plugin.h: Add tm.h and flattened includes from function.h.
13917 2014-10-17 Alexander Ivchenko <alexander.ivchenko@intel.com>
13918 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13919 Anna Tikhonova <anna.tikhonova@intel.com>
13920 Ilya Tocar <ilya.tocar@intel.com>
13921 Andrey Turetskiy <andrey.turetskiy@intel.com>
13922 Ilya Verbin <ilya.verbin@intel.com>
13923 Kirill Yukhin <kirill.yukhin@intel.com>
13924 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13926 * config/i386/i386.c (ix86_expand_vector_init_duplicate): Handle V64QI
13927 and V32HI modes, update V8HI, V16QI, V32QI modes handling.
13928 (ix86_expand_vector_init_general): Handle V64QI and V32HI modes.
13929 * config/i386/sse.md (define_mode_iterator VI48F_512): Rename to ...
13930 (define_mode_iterator VF48_I1248): ... this. Extend to AVX-512 modes.
13931 (define_expand "vec_init<mode>"): Use VF48_I1248.
13933 2014-10-17 Alexander Ivchenko <alexander.ivchenko@intel.com>
13934 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13935 Anna Tikhonova <anna.tikhonova@intel.com>
13936 Ilya Tocar <ilya.tocar@intel.com>
13937 Andrey Turetskiy <andrey.turetskiy@intel.com>
13938 Ilya Verbin <ilya.verbin@intel.com>
13939 Kirill Yukhin <kirill.yukhin@intel.com>
13940 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13942 * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Extend
13943 expand_sse2_mulvxdi3.
13945 2014-10-17 Richard Biener <rguenther@suse.de>
13947 * fold-const.c (fold_comparison): Remove redundant constant
13948 folding and operand swapping.
13949 (fold_binary_loc): Do comparison operand swapping here.
13950 (fold_ternary_loc): Canonicalize operand order for
13951 commutative ternary operations.
13952 * tree.c (commutative_ternary_tree_code): Add DOT_PROD_EXPR
13955 2014-10-17 Jakub Jelinek <jakub@redhat.com>
13957 PR tree-optimization/63464
13958 * gimple.h (gimple_seq_discard): New prototype.
13959 * gimple.c: Include stringpool.h and tree-ssanames.h.
13960 (gimple_seq_discard): New function.
13961 * optabs.h (lshift_cheap_p): New prototype.
13962 * optabs.c (lshift_cheap_p): New function, moved from...
13963 * tree-switch-conversion.c (lshift_cheap_p): ... here.
13964 * tree-ssa-reassoc.c: Include gimplify.h and optabs.h.
13965 (reassoc_branch_fixups): New variable.
13966 (update_range_test): Add otherrangep and seq arguments.
13967 Unshare exp. If otherrange is NULL, use for other ranges
13968 array of pointers pointed by otherrangep instead.
13969 Emit seq before gimplified statements for tem.
13970 (optimize_range_tests_diff): Adjust update_range_test
13972 (optimize_range_tests_xor): Likewise. Fix up comment.
13973 (extract_bit_test_mask, optimize_range_tests_to_bit_test): New
13975 (optimize_range_tests): Adjust update_range_test caller.
13976 Call optimize_range_tests_to_bit_test.
13977 (branch_fixup): New function.
13978 (execute_reassoc): Call branch_fixup.
13980 PR tree-optimization/63302
13981 * tree-ssa-reassoc.c (optimize_range_tests_xor,
13982 optimize_range_tests_diff): Use !integer_pow2p () instead of
13985 2014-10-17 Martin Liska <mliska@suse.cz>
13987 * ipa-icf.c (sem_function::merge): Local flags are set to false
13988 to enforce equal calling convention to be used.
13989 * opts.c (common_handle_option): Indentation fix.
13991 2014-10-17 Marc Glisse <marc.glisse@inria.fr>
13993 * tree-into-ssa.c (is_old_name): Replace "new" with "old".
13995 2014-10-17 Tom de Vries <tom@codesourcery.com>
13997 PR rtl-optimization/61605
13998 * regcprop.c (copyprop_hardreg_forward_1): Use
13999 regs_invalidated_by_this_call instead of regs_invalidated_by_call.
14001 2014-10-17 Tom de Vries <tom@codesourcery.com>
14003 PR rtl-optimization/61605
14004 * regcprop.c (copyprop_hardreg_forward_1): Add copy_p and noop_p.
14005 Don't notice stores for noops. Don't regard noops as copies.
14007 2014-10-17 Uros Bizjak <ubizjak@gmail.com>
14009 * config/i386/cpuid.h (__cpuid): Remove definitions that handle %ebx
14010 register in a special way.
14011 (__cpuid_count): Ditto.
14012 * config/i386/driver-i386.h: Protect with
14013 "#if defined(__GNUC__) && (__GNUC__ >= 5 || !defined(__PIC__))".
14014 (host_detect_local_cpu): Mention that GCC with non-fixed %ebx
14015 is required to compile the function.
14017 2014-10-16 DJ Delorie <dj@redhat.com>
14019 * flag-types.h (sanitize_code): Don't assume targets have 32-bit
14022 * config/rs6000/rs6000-c.c (rid_int128): New.
14023 (rs6000_macro_to_expand): Use instead of RID_INT128.
14025 2014-10-16 Andrew MacLeod <amacleod@redhat.com>
14027 * function.h: Flatten file. Remove includes, adjust prototypes to
14028 reflect only what is in function.h.
14029 (enum direction, struct args_size, struct locate_and_pad_arg_data,
14030 ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Relocate
14032 (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Relocate from rtl.h.
14033 (optimize_function_for_size_p, optimize_function_for_speed_p): Move
14034 prototypes to predict.h.
14035 (init_varasm_status): Move prototype to varasm.h.
14036 * expr.h: Adjust include files.
14037 (enum direction, struct args_size, struct locate_and_pad_arg_data,
14038 ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Move
14040 (locate_and_pad_parm): Move prototype to function.h.
14041 * rtl.h: (assign_stack_local, ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD,
14042 assign_stack_local_1, assign_stack_temp, assign_stack_temp_for_type,
14043 assign_temp, reposition_prologue_and_epilogue_notes,
14044 prologue_epilogue_contains, sibcall_epilogue_contains,
14045 update_temp_slot_address, maybe_copy_prologue_epilogue_insn,
14046 set_return_jump_label): Move prototypes to function.h.
14047 * predict.h (optimize_function_for_size_p,
14048 optimize_function_for_speed_p): Relocate prototypes from function.h.
14049 * shrink-wrap.h (emit_return_into_block, active_insn_between,
14050 convert_jumps_to_returns, emit_return_for_exit): Move prototypes to
14052 * varasm.h (init_varasm_status): Relocate prototype from function.h.
14053 * genattrtab.c (write_header): Add predict.h to include list.
14054 * genconditions.c (write_header): Add predict.h to include list.
14055 * genemit.c (main): Adjust header file includes.
14056 * gengtype.c (ifiles): Add flattened function.h header files.
14057 * genoutput.c (output_prologue): Add predict.h to include list.
14058 * genpreds.c (write_insn_preds_c): Adjust header file includes.
14059 * genrecog.c (write_header): Add flattened function.h header files.
14060 * alias.c: Adjust include files.
14061 * auto-inc-dec.c: Likewise.
14062 * basic-block.h: Likewise.
14063 * bb-reorder.c: Likewise.
14064 * bt-load.c: Likewise.
14065 * builtins.c: Likewise.
14066 * caller-save.c: Likewise.
14067 * calls.c: Likewise.
14068 * cfgbuild.c: Likewise.
14069 * cfgcleanup.c: Likewise.
14070 * cfgexpand.c: Likewise.
14071 * cfgloop.c: Likewise.
14072 * cfgloop.h: Likewise.
14073 * cfgrtl.c: Likewise.
14074 * cgraph.h: Likewise.
14075 * cgraphclones.c: Likewise.
14076 * cgraphunit.c: Likewise.
14077 * combine-stack-adj.c: Likewise.
14078 * combine.c: Likewise.
14079 * coverage.c: Likewise.
14080 * cprop.c: Likewise.
14082 * cselib.c: Likewise.
14083 * dbxout.c: Likewise.
14085 * df-core.c: Likewise.
14086 * df-problems.c: Likewise.
14087 * df-scan.c: Likewise.
14088 * dojump.c: Likewise.
14089 * dwarf2cfi.c: Likewise.
14090 * dwarf2out.c: Likewise.
14091 * emit-rtl.c: Likewise.
14092 * except.c: Likewise.
14093 * explow.c: Likewise.
14094 * expr.c: Likewise.
14095 * final.c: Likewise.
14096 * function.c: Likewise.
14097 * gcse.c: Likewise.
14098 * gimple-fold.c: Likewise.
14099 * gimple-low.c: Likewise.
14100 * gimple-streamer.h: Likewise.
14101 * haifa-sched.c: Likewise.
14102 * ifcvt.c: Likewise.
14104 * jump.c: Likewise.
14106 * loop-invariant.c: Likewise.
14107 * lra-assigns.c: Likewise.
14108 * lra-coalesce.c: Likewise.
14109 * lra-constraints.c: Likewise.
14110 * lra-eliminations.c: Likewise.
14111 * lra-lives.c: Likewise.
14112 * lra-spills.c: Likewise.
14114 * lto-cgraph.c: Likewise.
14115 * lto-section-in.c: Likewise.
14116 * lto-section-out.c: Likewise.
14117 * lto-streamer-in.c: Likewise.
14118 * lto-streamer-out.c: Likewise.
14119 * mode-switching.c: Likewise.
14120 * modulo-sched.c: Likewise.
14121 * omp-low.c: Likewise.
14122 * optabs.c: Likewise.
14123 * passes.c: Likewise.
14124 * postreload-gcse.c: Likewise.
14125 * postreload.c: Likewise.
14126 * predict.c: Likewise.
14127 * profile.c: Likewise.
14128 * recog.c: Likewise.
14130 * reg-stack.c: Likewise.
14131 * regcprop.c: Likewise.
14132 * reginfo.c: Likewise.
14133 * regrename.c: Likewise.
14134 * reload.c: Likewise.
14135 * reload1.c: Likewise.
14136 * reorg.c: Likewise.
14137 * resource.c: Likewise.
14138 * rtlanal.c: Likewise.
14139 * sched-deps.c: Likewise.
14140 * sched-ebb.c: Likewise.
14141 * sched-rgn.c: Likewise.
14142 * sel-sched-dump.c: Likewise.
14143 * sel-sched-ir.c: Likewise.
14144 * sel-sched.c: Likewise.
14145 * shrink-wrap.c: Likewise.
14146 * simplify-rtx.c: Likewise.
14147 * statistics.c: Likewise.
14148 * stmt.c: Likewise.
14149 * stor-layout.c: Likewise.
14150 * store-motion.c: Likewise.
14151 * symtab.c: Likewise.
14152 * targhooks.c: Likewise.
14153 * toplev.c: Likewise.
14154 * trans-mem.c: Likewise.
14155 * tree-cfg.c: Likewise.
14156 * tree-cfgcleanup.c: Likewise.
14157 * tree-dfa.c: Likewise.
14158 * tree-eh.c: Likewise.
14159 * tree-inline.c: Likewise.
14160 * tree-into-ssa.c: Likewise.
14161 * tree-nested.c: Likewise.
14162 * tree-nrv.c: Likewise.
14163 * tree-profile.c: Likewise.
14164 * tree-ssa-alias.c: Likewise.
14165 * tree-ssa-ccp.c: Likewise.
14166 * tree-ssa-copy.c: Likewise.
14167 * tree-ssa-copyrename.c: Likewise.
14168 * tree-ssa-dom.c: Likewise.
14169 * tree-ssa-operands.c: Likewise.
14170 * tree-ssa-propagate.c: Likewise.
14171 * tree-ssa-structalias.c: Likewise.
14172 * tree-ssa-tail-merge.c: Likewise.
14173 * tree-ssa-threadedge.c: Likewise.
14174 * tree-ssa-threadupdate.c: Likewise.
14175 * tree-ssa-uncprop.c: Likewise.
14176 * tree-ssa-uninit.c: Likewise.
14177 * tree-ssa.c: Likewise.
14178 * tree-stdarg.c: Likewise.
14179 * tree-tailcall.c: Likewise.
14180 * tree.c: Likewise.
14181 * tsan.c: Likewise.
14182 * valtrack.c: Likewise.
14183 * varasm.c: Likewise.
14184 * vmsdbgout.c: Likewise.
14186 * config/aarch64/aarch64.c: Add flattened includes from function.h.
14187 * config/alpha/alpha.c: Likewise.
14188 * config/arc/arc.c: Likewise.
14189 * config/arm/arm.c: Likewise.
14190 * config/avr/avr-log.c: Likewise.
14191 * config/avr/avr.c: Likewise.
14192 * config/bfin/bfin.c: Likewise.
14193 * config/c6x/c6x.c: Likewise.
14194 * config/cr16/cr16.c: Likewise.
14195 * config/cris/cris.c: Likewise.
14196 * config/darwin.c: Likewise.
14197 * config/epiphany/epiphany.c: Likewise.
14198 * config/epiphany/mode-switch-use.c: Likewise.
14199 * config/epiphany/resolve-sw-modes.c: Likewise.
14200 * config/fr30/fr30.c: Likewise.
14201 * config/frv/frv.c: Likewise.
14202 * config/h8300/h8300.c: Likewise.
14203 * config/i386/i386.c: Likewise.
14204 * config/ia64/ia64.c: Likewise.
14205 * config/iq2000/iq2000.c: Likewise.
14206 * config/lm32/lm32.c: Likewise.
14207 * config/m32c/m32c.c: Likewise.
14208 * config/m32r/m32r.c: Likewise.
14209 * config/m68k/m68k.c: Likewise.
14210 * config/mcore/mcore.c: Likewise.
14211 * config/mep/mep-pragma.c: Likewise.
14212 * config/mep/mep.c: Likewise.
14213 * config/microblaze/microblaze.c: Likewise.
14214 * config/mips/mips.c: Likewise.
14215 * config/mmix/mmix.c: Likewise.
14216 * config/mn10300/mn10300.c: Likewise.
14217 * config/moxie/moxie.c: Likewise.
14218 * config/msp430/msp430.c: Likewise.
14219 * config/nds32/nds32-cost.c: Likewise.
14220 * config/nds32/nds32-fp-as-gp.c: Likewise.
14221 * config/nds32/nds32-intrinsic.c: Likewise.
14222 * config/nds32/nds32-isr.c: Likewise.
14223 * config/nds32/nds32-md-auxiliary.c: Likewise.
14224 * config/nds32/nds32-memory-manipulation.c: Likewise.
14225 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
14226 * config/nds32/nds32-predicates.c: Likewise.
14227 * config/nds32/nds32.c: Likewise.
14228 * config/nios2/nios2.c: Likewise.
14229 * config/pa/pa.c: Likewise.
14230 * config/pdp11/pdp11.c: Likewise.
14231 * config/rl78/rl78.c: Likewise.
14232 * config/rs6000/rs6000.c: Likewise.
14233 * config/rx/rx.c: Likewise.
14234 * config/s390/s390.c: Likewise.
14235 * config/score/score.c: Likewise.
14236 * config/sh/sh.c: Likewise.
14237 * config/sparc/sparc.c: Likewise.
14238 * config/spu/spu.c: Likewise.
14239 * config/stormy16/stormy16.c: Likewise.
14240 * config/tilegx/tilegx.c: Likewise.
14241 * config/tilepro/tilepro.c: Likewise.
14242 * config/v850/v850.c: Likewise.
14243 * config/vax/vax.c: Likewise.
14244 * config/xtensa/xtensa.c: Likewise.
14246 2014-10-16 Richard Earnshaw <rearnsha@arm.com>
14248 * config/aarch64/aarch64.c (aarch64_legitimize_address): New function.
14249 (TARGET_LEGITIMIZE_ADDRESS): Redefine.
14251 2014-10-16 Oleg Endo <olegendo@gcc.gnu.org>
14253 * config/sh/sh-protos.h (fldi_ok): Remove.
14254 * config/sh/sh.c (fldi_ok): Likewise.
14255 (sh_secondary_reload): Don't use fldi_ok.
14256 * config/sh/constraints.md (G constraint, H constraint): Don't use
14259 2014-10-16 Martin Liska <mliska@suse.cz>
14261 * ipa-icf.c (sem_item_optimizer::process_cong_reduction):
14262 Cast to unsigned long.
14263 (sem_item_optimizer::dump_cong_classes): Likewise.
14265 2014-10-16 Tom de Vries <tom@codesourcery.com>
14267 * tree-into-ssa.c (update_ssa): Assert that there's no ssa use operand
14268 with SSA_NAME_IN_FREELIST.
14270 2014-10-16 Richard Biener <rguenther@suse.de>
14272 PR middle-end/63554
14273 * builtins.c (fold_builtin_4): Do not call fold_builtin_strncat_chk.
14274 (fold_builtin_strncat_chk): Move ...
14275 * gimple-fold.c (gimple_fold_builtin_strncat_chk): ... here.
14276 (gimple_fold_builtin): Call gimple_fold_builtin_strncat_chk.
14278 2014-10-16 Oleg Endo <olegendo@gcc.gnu.org>
14281 * config/sh/sh.h (CALL_REALLY_USED_REGISTERS): Expand macro and set
14284 2014-10-16 Alexander Ivchenko <alexander.ivchenko@intel.com>
14285 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14286 Anna Tikhonova <anna.tikhonova@intel.com>
14287 Ilya Tocar <ilya.tocar@intel.com>
14288 Andrey Turetskiy <andrey.turetskiy@intel.com>
14289 Ilya Verbin <ilya.verbin@intel.com>
14290 Kirill Yukhin <kirill.yukhin@intel.com>
14291 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14293 * config/i386/i386.c (ix86_expand_mul_widen_hilo): Handle V32HI, V16SI,
14296 2014-10-16 Alexander Ivchenko <alexander.ivchenko@intel.com>
14297 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14298 Anna Tikhonova <anna.tikhonova@intel.com>
14299 Ilya Tocar <ilya.tocar@intel.com>
14300 Andrey Turetskiy <andrey.turetskiy@intel.com>
14301 Ilya Verbin <ilya.verbin@intel.com>
14302 Kirill Yukhin <kirill.yukhin@intel.com>
14303 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14305 * config/i386/i386.c (ix86_expand_vector_set): Handle V8DF, V8DI, V16SF,
14306 V16SI, V32HI, V64QI modes.
14308 2014-10-16 Oleg Endo <olegendo@gcc.gnu.org>
14311 * config/sh/sh-protos.h (emit_sf_insn, emit_df_insn, expand_sf_unop,
14312 expand_sf_binop, expand_df_unop, expand_df_binop): Remove.
14314 * config/sh/sh.c (sh_emit_set_t_insn): Adjust generated insn pattern
14315 to match fp insn patterns.
14316 (calc_live_regs): Add FPSCR_MODES_REG and FPSCR_STAT_REG to the ignore
14318 (emit_sf_insn, emit_df_insn, expand_sf_unop, expand_sf_binop,
14319 expand_df_unop, expand_df_binop): Remove.
14320 (sh_conditional_register_usage): Mark FPSCR_MODES_REG and
14321 FPSCR_STAT_REG as not call clobbered.
14322 (sh_emit_mode_set): Emit fpscr store-modify-load sequence instead of
14323 invoking fpscr_set_from_mem.
14325 * config/sh/sh.h (MAX_REGISTER_NAME_LENGTH): Increase to 6.
14326 (SH_REGISTER_NAMES_INITIALIZER): Add names for FPSCR_MODES_REG and
14328 (REGISTER_NAMES): Adjust.
14329 (SPECIAL_REGISTER_P): Add FPSCR_MODES_REG and FPSCR_STAT_REG.
14330 (FIRST_PSEUDO_REGISTER): Increase to 156.
14331 (DWARF_FRAME_REGISTERS): Define as 153 to keep the original value.
14332 (FIXED_REGISTERS, CALL_USED_REGISTERS): Add FPSCR_MODES_REG and
14334 (REG_CLASS_CONTENTS): Adjust ALL_REGS bit mask to include
14335 FPSCR_MODES_REG and FPSCR_STAT_REG.
14336 (REG_ALLOC_ORDER): Add FPSCR_MODES_REG and FPSCR_STAT_REG.
14338 * config/sh/sh.md (FPSCR_MODES_REG, FPSCR_STAT_REG, FPSCR_PR,
14339 FPSCR_SZ): Add new constants.
14340 (UNSPECV_FPSCR_MODES, UNSPECV_FPSCR_STAT): Add new unspecv constants.
14342 (movpsi): Use TARGET_FPU_ANY condition, invoke gen_fpu_switch.
14343 (fpu_switch): Add use and set of FPSCR_STAT_REG and FPSCR_MODES_REG.
14344 Use TARGET_FPU_ANY condition.
14345 (fpu_switch peephole2): Remove.
14346 (fpu_switch split): Use simple_mem_operand to capture the mem and
14347 adjust split implementation.
14348 (extend_psi_si, truncate_si_psi): New insns.
14349 (toggle_sz, toggle_pr): Use FPSCR_SZ, FPSCR_PR constants. Add
14350 set of FPSCR_MODES_REG.
14352 (push_e, push_4, pop_e, pop_4, movdf_i4, reload_indf__frn, movsf_ie,
14353 reload_insf__frn, force_mode_for_call, calli, calli_tbr_rel,
14354 calli_pcrel, call_pcrel, call_compact, call_compact_rettramp,
14355 call_valuei, call_valuei_tbr_rel, call_valuei_pcrel, call_value_pcrel,
14356 call_value_compact, call_value_compact_rettramp, call,
14357 call_pop_compact, call_pop_compact_rettramp, call_value, sibcalli,
14358 sibcalli_pcrel, sibcalli_thunk, sibcall_pcrel, sibcall_compact,
14359 sibcall, sibcall_valuei, sibcall_valuei_pcrel, sibcall_value_pcrel,
14360 sibcall_value_compact, sibcall_value, call_value_pop_compact,
14361 call_value_pop_compact_rettramp, various unnamed splits):
14362 Replace use of FPSCR_REG with use of FPSCR_MODES_REG. Adjust gen_*
14365 (floatsisf2_i4, *floatsisf2_ie): Merge into floatsisf2_i4.
14366 (fix_truncsfsi2_i4, *fixsfsi): Merge into fix_truncsfsi2_i4.
14367 (cmpgtsf_t, cmpgtsf_t_i4): Merge into cmpgtsf_t.
14368 (cmpeqsf_t, cmpeqsf_t_i4): Merge into cmpeqsf_t.
14369 (ieee_ccmpeqsf_t, *ieee_ccmpeqsf_t_4): Merge into ieee_ccmpeqsf_t.
14371 (udivsi3_i4, divsi3_i4, addsf3_i, subsf3_i, mulsf3_i, fmasf4_i,
14372 *fmasf4, divsf3_i, floatsisf2_i4, fix_truncsfsi2_i4, cmpgtsf_t,
14373 cmpeqsf_t, ieee_ccmpeqsf_t, sqrtsf2_i, rsqrtsf2, fsca, adddf3_i,
14374 subdf3_i, muldf3_i, divdf3_i, floatsidf2_i, fix_truncdfsi2_i,
14375 cmpgtdf_t, cmpeqdf_t, *ieee_ccmpeqdf_t, sqrtdf2_i, extendsfdf2_i4,
14376 truncdfsf2_i4): Replace use of FPSCR_REG with clobber of FPSCR_STAT_REG
14377 and use of FPSCR_MODES_REG. Adjust gen_* function uses.
14379 2014-10-16 Martin Liska <mliska@suse.cz>
14380 Jan Hubicka <hubicka@ucw.cz>
14382 * Makefile.in: New object files included.
14383 * cgraph.c (cgraph_node::dump): New cgraph_node flag icf_merged
14385 (verify_edge_corresponds_to_fndecl): More sensitive verification
14386 of nodes that are merged by IPA ICF.
14387 * cgraph.h (cgraph_node::num_references): New function.
14388 * cgraphunit.c (cgraph_node::expand_thunk): White space fixed.
14389 * common.opt: New options ipa-icf, ipa-icf-functions and
14390 ipa-icf-variables introduced.
14391 * doc/invoke.texi: Documentation of new options introduced.
14392 * ipa-icf-gimple.c: New file.
14393 * ipa-icf-gimple.h: New file.
14394 * ipa-icf.c: New file.
14395 * ipa-icf.h: New file.
14396 * lto-cgraph.c (lto_output_node): Streaming of icf_merged flag added.
14397 (input_overwrite_node): Likewise.
14398 * lto-section-in.c: New icf section added.
14399 * lto-streamer.h (enum lto_section_type): Likewise.
14400 * opts.c (common_handle_option): New option added.
14401 * passes.def: New pass included.
14402 * timevar.def: Time variable for IPA ICF added.
14403 * tree-pass.h: New IPA ICF pass entry point added.
14405 2014-10-16 Richard Biener <rguenther@suse.de>
14407 PR tree-optimization/63168
14408 * tree-cfg.c (gimple_can_merge_blocks_p): Only protect
14409 latches if after merging they are no longer simple.
14410 * cfghooks.c (merge_blocks): Handle merging a latch block
14411 into another block.
14413 2014-10-16 Alexander Ivchenko <alexander.ivchenko@intel.com>
14414 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14415 Anna Tikhonova <anna.tikhonova@intel.com>
14416 Ilya Tocar <ilya.tocar@intel.com>
14417 Andrey Turetskiy <andrey.turetskiy@intel.com>
14418 Ilya Verbin <ilya.verbin@intel.com>
14419 Kirill Yukhin <kirill.yukhin@intel.com>
14420 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14422 * config/i386/sse.md
14423 (define_expand "floatuns<sseintvecmodelower><mode>2"): Extend to
14424 support AVX-512VL instructions.
14426 2014-10-16 DJ Delorie <dj@redhat.com>
14428 * tree-core.h: Fix comment to not assume pointers are multiples of
14431 2014-10-15 Tom Tromey <tromey@redhat.com>
14433 * timevar.h (class auto_timevar): New class.
14435 2014-10-15 Uros Bizjak <ubizjak@gmail.com>
14438 * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
14439 Remove the second alternative.
14440 (regprefix): Remove mode attribute.
14441 (atomic_compare_and_swap<mode>): Do not fixup operand 2.
14442 * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): Remove.
14445 2013-11-05 Ian Lance Taylor <iant@google.com>
14447 * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
14448 If possible, add .cfi directives to record change to bx.
14449 * config/i386/i386.c (ix86_emit_cfi): New function.
14450 * config/i386/i386-protos.h (ix86_emit_cfi): Declare.
14452 2014-10-15 Jan Hubicka <hubicka@ucw.cz>
14455 * cgraphclones.c (duplicate_thunk_for_node): Get body to have args
14457 * lto-streamer-out.c (lto_output): Handle correctly thunks that was
14460 2014-10-15 Vladimir Makarov <vmakarov@redhat.com>
14462 PR rtl-optimization/63448
14463 * lra-int.h (LRA_MAX_CONSTRAINT_ITERATION_NUMBER): Remove.
14464 (LRA_MAX_ASSIGNMENT_ITERATION_NUMBER): New.
14465 (LRA_MAX_INHERITANCE_PASSES): Use it.
14466 (lra_constraint_iter_after_spill): Remove.
14467 (lra_assignment_iter): New.
14468 (lra_assignment_iter_after_spill): New.
14469 * lra-assigns.c (lra_assignment_iter): New.
14470 (lra_assignment_iter_after_spill): New.
14471 (former_reload_pseudo_spill_p): New.
14472 (spill_for): Set up former_reload_pseudo_spill_p.
14473 (setup_live_pseudos_and_spill_after_risky): Ditto.
14474 (assign_by_spills): Ditto.
14475 (lra_assign): Increment lra_assignment_iter. Print the iteration
14476 number. Reset former_reload_pseudo_spill_p. Check
14477 lra_assignment_iter_after_spill.
14478 * lra.c (lra): Remove lra_constraint_iter_after_spill. Initialize
14479 lra_assignment_iter and lra_assignment_iter_after_spill.
14480 * lra-constraints.c (lra_constraint_iter_after_spill): Remove.
14481 (lra_constraints): Remove code with
14482 lra_assignment_iter_after_spill.
14484 2014-10-15 Teresa Johnson <tejohnson@google.com>
14487 * tree-ssa-threadupdate.c (recompute_probabilities): Better
14490 2014-10-15 Renlin Li <renlin.li@arm.com>
14492 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
14493 __ARM_BIG_ENDIAN, __ARM_SIZEOF_MINIMAL_ENUM. Add __ARM_64BIT_STATE,
14494 __ARM_ARCH_ISA_A64, __ARM_FEATURE_CLZ, __ARM_FEATURE_IDIV,
14495 __ARM_FEATURE_UNALIGNED, __ARM_PCS_AAPCS64, __ARM_SIZEOF_WCHAR_T.
14497 2014-10-15 Richard Biener <rguenther@suse.de>
14499 * gimple-fold.c (gimple_fold_call): Properly keep virtual
14500 SSA form up-to-date when devirtualizing a call to
14501 __builtin_unreachable and avoid fixing up EH info here.
14503 2014-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
14504 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14505 Anna Tikhonova <anna.tikhonova@intel.com>
14506 Ilya Tocar <ilya.tocar@intel.com>
14507 Andrey Turetskiy <andrey.turetskiy@intel.com>
14508 Ilya Verbin <ilya.verbin@intel.com>
14509 Kirill Yukhin <kirill.yukhin@intel.com>
14510 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14512 * config/i386/sse.md (define_mode_iterator VI_AVX2): Extend
14513 to support AVX-512BW.
14514 (define_mode_iterator VI124_AVX2_48_AVX512F): Remove.
14515 (define_expand "<plusminus_insn><mode>3"): Remove masking support.
14516 (define_insn "*<plusminus_insn><mode>3"): Ditto.
14517 (define_expand "<plusminus_insn><VI48_AVX512VL:mode>3_mask"): New.
14518 (define_expand "<plusminus_insn><VI12_AVX512VL:mode>3_mask"): Ditto.
14519 (define_insn "*<plusminus_insn><VI48_AVX512VL:mode>3_mask"): Ditto.
14520 (define_insn "*<plusminus_insn><VI12_AVX512VL:mode>3_mask"): Ditto.
14521 (define_expand "<sse2_avx2>_andnot<mode>3"): Remove masking support.
14522 (define_insn "*andnot<mode>3"): Ditto.
14523 (define_expand "<sse2_avx2>_andnot<VI48_AVX512VL:mode>3_mask"): New.
14524 (define_expand "<sse2_avx2>_andnot<VI12_AVX512VL:mode>3_mask"): Ditto.
14525 (define_insn "*andnot<VI48_AVX512VL:mode>3<mask_name>"): Ditto.
14526 (define_insn "*andnot<VI12_AVX512VL:mode>3<mask_name>"): Ditto.
14527 (define_insn "*abs<mode>2"): Remove masking support.
14528 (define_insn "abs<VI48_AVX512VL:mode>2_mask"): New.
14529 (define_insn "abs<VI12_AVX512VL:mode>2_mask"): Ditto.
14530 (define_expand "abs<mode>2"): Use VI_AVX2 mode iterator.
14532 2014-10-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
14533 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14534 Anna Tikhonova <anna.tikhonova@intel.com>
14535 Ilya Tocar <ilya.tocar@intel.com>
14536 Andrey Turetskiy <andrey.turetskiy@intel.com>
14537 Ilya Verbin <ilya.verbin@intel.com>
14538 Kirill Yukhin <kirill.yukhin@intel.com>
14539 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14541 * config/i386/predicates.md (define_predicate "constm1_operand"): New.
14542 * config/i386/sse.md
14543 (define_c_enum "unspec"): Add UNSPEC_CVTINT2MASK.
14544 (define_insn "<avx512>_cvt<ssemodesuffix>2mask<VI12_AVX512VL:mode>"): New.
14545 (define_insn "<avx512>_cvt<ssemodesuffix>2mask<VI48_AVX512VL:mode>"): Ditto.
14546 (define_expand "<avx512>_cvtmask2<ssemodesuffix><VI12_AVX512VL:mode>"): Ditto.
14547 (define_insn "*<avx512>_cvtmask2<ssemodesuffix><VI12_AVX512VL:mode>"): Ditto.
14548 (define_expand "<avx512>_cvtmask2<ssemodesuffix><VI48_AVX512VL:mode>"): Ditto.
14549 (define_insn "*<avx512>_cvtmask2<ssemodesuffix><VI48_AVX512VL:mode>"): Ditto.
14551 2014-10-15 Renlin Li <renlin.li@arm.com>
14553 * config/aarch64/aarch64.h (ARM_DEFAULT_PCS, arm_pcs_variant): Delete.
14555 2014-10-15 Jakub Jelinek <jakub@redhat.com>
14557 * tree-ssa-reassoc.c (optimize_range_tests_diff): Perform
14558 MINUS_EXPR in unsigned type to avoid undefined behavior.
14560 2014-10-15 Eric Botcazou <ebotcazou@adacore.com>
14562 * stor-layout.c (self_referential_size): Do not promote arguments.
14564 2014-10-15 Marek Polacek <polacek@redhat.com>
14566 * doc/invoke.texi: Update to reflect that GNU11 is the default
14568 * c-common.h (c_language_kind): Update comment.
14570 2014-10-15 Richard Biener <rguenther@suse.de>
14572 * hash-table.c: Include bconfig.h if building for the host.
14573 * hash-table.h: Do not include ggc.h on the host but just declare
14574 a few ggc allocation templates.
14576 2014-10-15 Joern Rennecke <joern.rennecke@embecosm.com>
14577 Jeff Law <law@redhat.com>
14579 * caller-save.c (replace_reg_with_saved_mem): If saved_mode covers
14580 multiple hard registers, use smaller mode derived from MODE.
14582 2014-10-15 Andreas Schwab <schwab@suse.de>
14584 * explow.c (convert_memory_address_addr_space_1): Mark in_const
14585 as ATTRIBUTE_UNUSED.
14587 2014-10-14 Jan Hubicka <hubicka@ucw.cz>
14589 * loop-unroll.c (decide_unrolling_and_peeling): Rename to
14590 (decide_unrolling): ... this one.
14591 (peel_loops_completely): Remove.
14592 (decide_peel_simple): Remove.
14593 (decide_peel_once_rolling): Remove.
14594 (decide_peel_completely): Remove.
14595 (peel_loop_simple): Remove.
14596 (peel_loop_completely): Remove.
14597 (unroll_and_peel_loops): Rename to ...
14598 (unroll_loops): ... this one; handle only unrolling.
14599 * cfgloop.h (lpt_dec): Remove LPT_PEEL_COMPLETELY and LPT_PEEL_SIMPLE.
14600 (UAP_PEEL): Remove.
14601 (unroll_and_peel_loops): Remove.
14602 (unroll_loops): New.
14603 * passes.def: Replace pass_rtl_unroll_and_peel_loops
14604 by pass_rtl_unroll_loops.
14605 * loop-init.c (gate_rtl_unroll_and_peel_loops,
14606 rtl_unroll_and_peel_loops): Rename to ...
14607 (gate_rtl_unroll_loops, rtl_unroll_loops): ... these; update.
14608 (pass_rtl_unroll_and_peel_loops): Rename to ...
14609 (pass_rtl_unroll_loops): ... this one.
14610 * tree-pass.h (make_pass_rtl_unroll_and_peel_loops): Remove.
14611 (make_pass_rtl_unroll_loops): New.
14612 * tree-ssa-loop-ivcanon.c (estimated_peeled_sequence_size,
14613 try_peel_loop): New.
14614 (canonicalize_loop_induction_variables): Update.
14616 2014-10-14 Max Filippov <jcmvbkbc@gmail.com>
14618 * config/xtensa/xtensa.h (TARGET_HARD_FLOAT_POSTINC): new macro.
14619 * config/xtensa/xtensa.md (*lsiu, *ssiu): add dependency on
14620 !TARGET_HARD_FLOAT_POSTINC.
14621 (*lsip, *ssip): new instructions.
14623 2014-10-14 Max Filippov <jcmvbkbc@gmail.com>
14625 * config/xtensa/xtensa.md (divsf3, *recipsf2, sqrtsf2, *rsqrtsf2):
14628 2014-10-14 Andrew Pinski <apinski@cavium.com>
14630 * explow.c (convert_memory_address_addr_space): Rename to ...
14631 (convert_memory_address_addr_space_1): This. Add in_const argument.
14632 Inside a CONST RTL, permute the conversion and addition of constant
14633 for zero and sign extended pointers.
14634 (convert_memory_address_addr_space): New function.
14636 2014-10-14 Andrew Pinski <apinski@cavium.com>
14639 2011-08-19 H.J. Lu <hongjiu.lu@intel.com>
14641 PR middle-end/49721
14642 * explow.c (convert_memory_address_addr_space): Also permute the
14643 conversion and addition of constant for zero-extend.
14645 2014-10-14 DJ Delorie <dj@redhat.com>
14647 * config/msp430/msp430-modes.def (PSI): Add.
14649 * config/msp430/msp430-protos.h (msp430_hard_regno_nregs_has_padding):
14651 (msp430_hard_regno_nregs_with_padding): New.
14652 * config/msp430/msp430.c (msp430_scalar_mode_supported_p): New.
14653 (msp430_hard_regno_nregs_has_padding): New.
14654 (msp430_hard_regno_nregs_with_padding): New.
14655 (msp430_unwind_word_mode): Use PSImode instead of SImode.
14656 (msp430_addr_space_legitimate_address_p): New.
14657 (msp430_asm_integer): New.
14658 (msp430_init_dwarf_reg_sizes_extra): New.
14659 (msp430_print_operand): Use X suffix for PSImode even in small model.
14660 * config/msp430/msp430.h (POINTER_SIZE): Use 20 bits, not 32.
14661 (PTR_SIZE): ...but 4 bytes for EH.
14662 (SIZE_TYPE): Use __int20.
14663 (PTRDIFF_TYPE): Likewise.
14664 (INCOMING_FRAME_SP_OFFSET): Adjust.
14665 * config/msp430/msp430.md (movqi_topbyte): New.
14666 (movpsi): Use fixed suffixes.
14667 (movsipsi2): Enable for 430X, not large model.
14668 (extendhipsi2): Likewise.
14669 (zero_extendhisi2): Likewise.
14670 (zero_extendhisipsi2): Likewise.
14671 (extend_and_shift1_hipsi2): Likewise.
14672 (extendpsisi2): Likewise.
14673 (*bitbranch<mode>4_z): Fix suffix logic.
14675 2014-10-14 Eric Botcazou <ebotcazou@adacore.com>
14678 * tree-eh.c (tree_could_trap) <FUNCTION_DECL>: Revamp and really
14679 do not choke on null node.
14680 <VAR_DECL>: Likewise.
14682 2014-10-14 DJ Delorie <dj@redhat.com>
14684 * machmode.h (int_n_data_t): New.
14685 (int_n_enabled_p): New.
14687 * tree.c (int_n_enabled_p): New.
14688 (int_n_trees): New.
14689 (make_or_reuse_type): Check for all __intN types, not just __int128.
14690 (build_common_tree_nodes): Likewise. Also fill in integer_typs[]
14692 * tree.h (int128_integer_type_node): Remove.
14693 (int128_unsigned_type_node): Remove.
14694 (int_n_trees_t): New.
14695 (int_n_enabled_p): New.
14696 (int_n_trees): New.
14697 * toplev.c (standard_type_bitsize): New.
14698 (do_compile): Check which __intN types are enabled for the current run.
14699 * builtin-types.def (BT_INT128): Remove.
14700 (BT_UINT128): Remove.
14701 * machmode.def: Add macro to create __int128 for all targets.
14702 * stor-layout.c (mode_for_size): Support __intN types.
14703 (smallest_mode_for_size): Likewise.
14704 (initialize_sizetypes): Support __intN types.
14705 * genmodes.c (struct mode_data): Add int_n field.
14706 (blank_mode): Likewise.
14709 (emit_insn_modes_h): Count __intN entries and define NUM_INT_N_ENTS.
14710 (emit_mode_int_n): New.
14711 (emit_insn_modes_c): Call it.
14712 * gimple.c (gimple_signed_or_unsigned_type): Check for all __intN
14713 types, not just __int128.
14714 * tree-core.h (integer_type_kind): Remove __int128-specific
14715 entries, reserve spots for __intN entries.
14717 * config/msp430/msp430-modes.def (PSI): Add.
14719 2014-10-14 Kito Cheng <kito@0xlab.org>
14721 * ira.c: Fix typo in comment.
14723 * ira-build.c: Ditto.
14724 * ira-color.c: Ditto.
14725 * ira-emit.c: Ditto.
14726 * ira-int.h: Ditto.
14727 * ira-lives.c: Ditto.
14729 2014-10-14 Uros Bizjak <ubizjak@gmail.com>
14731 PR rtl-optimization/63475
14732 * alias.c (true_dependence_1): Always use get_addr to extract
14733 true address operands from x_addr and mem_addr. Use extracted
14734 address operands to check for references with alignment ANDs.
14735 Use extracted address operands with find_base_term and
14736 base_alias_check. For noncanonicalized operands call canon_rtx with
14737 extracted address operand.
14738 (write_dependence_1): Ditto.
14739 (may_alias_p): Ditto. Remove unused calls to canon_rtx.
14741 2014-10-14 Evgeny Stupachenko <evstupac@gmail.com>
14744 * config/i386/i386.c (ix86_expand_split_stack_prologue): Make
14747 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14748 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14749 Anna Tikhonova <anna.tikhonova@intel.com>
14750 Ilya Tocar <ilya.tocar@intel.com>
14751 Andrey Turetskiy <andrey.turetskiy@intel.com>
14752 Ilya Verbin <ilya.verbin@intel.com>
14753 Kirill Yukhin <kirill.yukhin@intel.com>
14754 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14756 * config/i386/i386.c
14757 (ix86_expand_sse_movcc): Handle V64QI and V32HI mode.
14758 (ix86_expand_int_vcond): Ditto.
14760 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14761 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14762 Anna Tikhonova <anna.tikhonova@intel.com>
14763 Ilya Tocar <ilya.tocar@intel.com>
14764 Andrey Turetskiy <andrey.turetskiy@intel.com>
14765 Ilya Verbin <ilya.verbin@intel.com>
14766 Kirill Yukhin <kirill.yukhin@intel.com>
14767 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14769 * config/i386/i386.c
14770 (emit_reduc_half): Handle V64QI and V32HI mode.
14771 * config/i386/sse.md
14772 (define_mode_iterator VI_AVX512BW): New.
14773 (define_expand "reduc_<code>_<mode>"): Use VI512_48F_12BW.
14775 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14776 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14777 Anna Tikhonova <anna.tikhonova@intel.com>
14778 Ilya Tocar <ilya.tocar@intel.com>
14779 Andrey Turetskiy <andrey.turetskiy@intel.com>
14780 Ilya Verbin <ilya.verbin@intel.com>
14781 Kirill Yukhin <kirill.yukhin@intel.com>
14782 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14784 * config/i386/sse.md
14785 (define_mode_iterator REDUC_SMINMAX_MODE): Add V64QI and V32HI modes.
14787 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14788 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14789 Anna Tikhonova <anna.tikhonova@intel.com>
14790 Ilya Tocar <ilya.tocar@intel.com>
14791 Andrey Turetskiy <andrey.turetskiy@intel.com>
14792 Ilya Verbin <ilya.verbin@intel.com>
14793 Kirill Yukhin <kirill.yukhin@intel.com>
14794 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14796 * config/i386/i386.c
14797 (ix86_expand_vector_logical_operator): Handle V16SF and V8DF modes.
14798 * config/i386/sse.md
14799 (define_mode_iterator VI): Add V64QI and V32HI modes.
14801 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14802 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14803 Anna Tikhonova <anna.tikhonova@intel.com>
14804 Ilya Tocar <ilya.tocar@intel.com>
14805 Andrey Turetskiy <andrey.turetskiy@intel.com>
14806 Ilya Verbin <ilya.verbin@intel.com>
14807 Kirill Yukhin <kirill.yukhin@intel.com>
14808 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14810 * config/i386/sse.md (define_mode_attr avx2_avx512f): Remove.
14812 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14813 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14814 Anna Tikhonova <anna.tikhonova@intel.com>
14815 Ilya Tocar <ilya.tocar@intel.com>
14816 Andrey Turetskiy <andrey.turetskiy@intel.com>
14817 Ilya Verbin <ilya.verbin@intel.com>
14818 Kirill Yukhin <kirill.yukhin@intel.com>
14819 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14821 * config/i386/sse.md
14822 (define_insn "*sse4_1_<code><mode>3<mask_name>"): Add masking.
14823 (define_insn "*sse4_1_<code><mode>3<mask_name>"): Ditto.
14825 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14826 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14827 Anna Tikhonova <anna.tikhonova@intel.com>
14828 Ilya Tocar <ilya.tocar@intel.com>
14829 Andrey Turetskiy <andrey.turetskiy@intel.com>
14830 Ilya Verbin <ilya.verbin@intel.com>
14831 Kirill Yukhin <kirill.yukhin@intel.com>
14832 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14834 * config/i386/sse.md
14835 (define_insn "avx512bw_umulhrswv32hi3<mask_name>"): New.
14836 (define_expand "<ssse3_avx2>_pmulhrsw<mode>3_mask"): Ditto.
14838 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14839 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14840 Anna Tikhonova <anna.tikhonova@intel.com>
14841 Ilya Tocar <ilya.tocar@intel.com>
14842 Andrey Turetskiy <andrey.turetskiy@intel.com>
14843 Ilya Verbin <ilya.verbin@intel.com>
14844 Kirill Yukhin <kirill.yukhin@intel.com>
14845 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14847 * config/i386/sse.md
14848 (define_c_enum "unspec"): Add UNSPEC_PMADDWD512.
14849 (define_mode_iterator VI2_AVX2): Add V32HI mode.
14850 (define_expand "mul<mode>3<mask_name>"): Add masking.
14851 (define_insn "*mul<mode>3<mask_name>"): Ditto.
14852 (define_expand "<s>mul<mode>3_highpart<mask_name>"): Ditto.
14853 (define_insn "*<s>mul<mode>3_highpart<mask_name>"): Ditto.
14854 (define_insn "avx512bw_pmaddwd512<mode><mask_name>"): New.
14855 (define_mode_attr SDOT_PMADD_SUF): Ditto.
14856 (define_expand "sdot_prod<mode>"): Add <SDOT_PMADD_SUF>.
14857 (define_insn "<sse2_avx2>_packssdw<mask_name>"): Add masking.
14858 (define_insn "*<ssse3_avx2>_pmulhrsw<mode>3<mask_name>"): Ditto.
14859 (define_insn "avx2_packusdw"): Delete.
14860 (define_insn "sse4_1_packusdw"): Ditto.
14861 (define_insn "<sse4_1_avx2>_packusdw<mask_name>"): New.
14863 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14864 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14865 Anna Tikhonova <anna.tikhonova@intel.com>
14866 Ilya Tocar <ilya.tocar@intel.com>
14867 Andrey Turetskiy <andrey.turetskiy@intel.com>
14868 Ilya Verbin <ilya.verbin@intel.com>
14869 Kirill Yukhin <kirill.yukhin@intel.com>
14870 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14872 * config/i386/sse.md
14873 (define_insn "vec_dup<mode>"): Update constraints.
14875 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14876 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14877 Anna Tikhonova <anna.tikhonova@intel.com>
14878 Ilya Tocar <ilya.tocar@intel.com>
14879 Andrey Turetskiy <andrey.turetskiy@intel.com>
14880 Ilya Verbin <ilya.verbin@intel.com>
14881 Kirill Yukhin <kirill.yukhin@intel.com>
14882 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14884 * config/i386/sse.md
14885 (define_mode_iterator SSESCALARMODE): Add V4TI mode.
14886 (define_insn "<ssse3_avx2>_palignr<mode>_mask"): New.
14887 (define_insn "<ssse3_avx2>_palignr<mode>"): Add EVEX version.
14889 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14890 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14891 Anna Tikhonova <anna.tikhonova@intel.com>
14892 Ilya Tocar <ilya.tocar@intel.com>
14893 Andrey Turetskiy <andrey.turetskiy@intel.com>
14894 Ilya Verbin <ilya.verbin@intel.com>
14895 Kirill Yukhin <kirill.yukhin@intel.com>
14896 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14898 * config/i386/sse.md
14899 (define_expand "mul<mode>3<mask_name>"): Add masking.
14901 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14902 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14903 Anna Tikhonova <anna.tikhonova@intel.com>
14904 Ilya Tocar <ilya.tocar@intel.com>
14905 Andrey Turetskiy <andrey.turetskiy@intel.com>
14906 Ilya Verbin <ilya.verbin@intel.com>
14907 Kirill Yukhin <kirill.yukhin@intel.com>
14908 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14910 * config/i386/sse.md
14911 (define_insn "<sse2_avx2>_packsswb<mask_name>"): Add masking.
14912 (define_insn "<sse2_avx2>_packuswb<mask_name>"): Ditto.
14914 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14915 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14916 Anna Tikhonova <anna.tikhonova@intel.com>
14917 Ilya Tocar <ilya.tocar@intel.com>
14918 Andrey Turetskiy <andrey.turetskiy@intel.com>
14919 Ilya Verbin <ilya.verbin@intel.com>
14920 Kirill Yukhin <kirill.yukhin@intel.com>
14921 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14923 * config/i386/sse.md
14924 (define_c_enum "unspec"): Add UNSPEC_DBPSADBW, UNSPEC_PMADDUBSW512.
14925 (define_insn "avx512bw_pmaddubsw512<mode><mask_name>"): New.
14926 (define_insn "<mask_codefor>avx512bw_dbpsadbw<mode><mask_name>"):
14929 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14930 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14931 Anna Tikhonova <anna.tikhonova@intel.com>
14932 Ilya Tocar <ilya.tocar@intel.com>
14933 Andrey Turetskiy <andrey.turetskiy@intel.com>
14934 Ilya Verbin <ilya.verbin@intel.com>
14935 Kirill Yukhin <kirill.yukhin@intel.com>
14936 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14938 * config/i386/sse.md
14939 (define_insn "<sse>_andnot<VF_128_256:mode>3<mask_name>"): Add masking,
14940 use VF_128_256 mode iterator and update assembler emit code.
14941 (define_insn "<sse>_andnot<VF_512:mode>3<mask_name>"): New.
14942 (define_expand "<any_logic:code><VF_128_256:mode>3<mask_name>"):
14943 Add masking, use VF_128_256 mode iterator.
14944 (define_expand "<any_logic:code><VF_512:mode>3<mask_name>"): New.
14945 (define_insn "*<any_logic:code><VF_128_256:mode>3<mask_name>"):
14946 Add masking, use VF_128_256 mode iterator and update assembler emit
14948 (define_insn "*<any_logic:code><VF_512:mode>3<mask_name>"): New.
14949 (define_mode_attr avx512flogicsuff): Delete.
14950 (define_insn "avx512f_<logic><mode>"): Ditto.
14951 (define_insn "*andnot<mode>3<mask_name>"): Update MODE_XI, MODE_OI,
14953 (define_insn "<mask_codefor><code><mode>3<mask_name>"): Ditto.
14955 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14956 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14957 Anna Tikhonova <anna.tikhonova@intel.com>
14958 Ilya Tocar <ilya.tocar@intel.com>
14959 Andrey Turetskiy <andrey.turetskiy@intel.com>
14960 Ilya Verbin <ilya.verbin@intel.com>
14961 Kirill Yukhin <kirill.yukhin@intel.com>
14962 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14964 * config/i386/sse.md
14965 (define_mode_iterator VI128_128 [V16QI V8HI V2DI]): Delete.
14966 (define_expand "vashr<mode>3<mask_name>"): Add masking,
14967 use VI12_128 mode iterator.
14968 (define_expand "ashrv2di3<mask_name>"): New.
14970 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14971 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14972 Anna Tikhonova <anna.tikhonova@intel.com>
14973 Ilya Tocar <ilya.tocar@intel.com>
14974 Andrey Turetskiy <andrey.turetskiy@intel.com>
14975 Ilya Verbin <ilya.verbin@intel.com>
14976 Kirill Yukhin <kirill.yukhin@intel.com>
14977 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14979 * config/i386/i386.c
14980 (ix86_expand_args_builtin): Handle CODE_FOR_avx512vl_cmpv4di3_mask,
14981 CODE_FOR_avx512vl_cmpv8si3_mask, CODE_FOR_avx512vl_ucmpv4di3_mask,
14982 CODE_FOR_avx512vl_ucmpv8si3_mask, CODE_FOR_avx512vl_cmpv2di3_mask,
14983 CODE_FOR_avx512vl_cmpv4si3_mask, CODE_FOR_avx512vl_ucmpv2di3_mask,
14984 CODE_FOR_avx512vl_ucmpv4si3_mask.
14985 * config/i386/sse.md
14986 (define_insn "avx512f_ucmp<mode>3<mask_scalar_merge_name>"): Delete.
14987 "<avx512>_ucmp<VI12_AVX512VL:mode>3<mask_scalar_merge_name>"):New.
14989 "<avx512>_ucmp<VI48_AVX512VL:mode>3<mask_scalar_merge_name>"):Ditto.
14990 (define_expand "<avx512>_eq<mode>3<mask_scalar_merge_name>"): Ditto.
14991 (define_insn "<avx512>_eq<mode>3<mask_scalar_merge_name>_1"): Ditto.
14992 (define_insn "<avx512>_gt<mode>3<mask_scalar_merge_name>"): Ditto.
14993 (define_insn "<avx512>_testm<mode>3<mask_scalar_merge_name>"): Ditto.
14994 (define_insn "<avx512>_testnm<mode>3<mask_scalar_merge_name>"): Ditto.
14996 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
14997 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14998 Anna Tikhonova <anna.tikhonova@intel.com>
14999 Ilya Tocar <ilya.tocar@intel.com>
15000 Andrey Turetskiy <andrey.turetskiy@intel.com>
15001 Ilya Verbin <ilya.verbin@intel.com>
15002 Kirill Yukhin <kirill.yukhin@intel.com>
15003 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
15005 * config/i386/sse.md
15006 (define_expand "vec_widen_umult_even_v8si<mask_name>"): Add masking.
15007 (define_insn "*vec_widen_umult_even_v8si<mask_name>"): Ditto.
15008 (define_expand "vec_widen_umult_even_v4si<mask_name>"): Ditto.
15009 (define_insn "*vec_widen_umult_even_v4si<mask_name>"): Ditto.
15010 (define_expand "vec_widen_smult_even_v8si<mask_name>"): Ditto.
15011 (define_insn "*vec_widen_smult_even_v8si<mask_name>"): Ditto.
15012 (define_expand "sse4_1_mulv2siv2di3<mask_name>"): Ditto.
15013 (define_insn "*sse4_1_mulv2siv2di3<mask_name>"): Ditto.
15014 (define_insn "avx512dq_mul<mode>3<mask_name>"): New.
15016 2014-10-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
15017 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
15018 Anna Tikhonova <anna.tikhonova@intel.com>
15019 Ilya Tocar <ilya.tocar@intel.com>
15020 Andrey Turetskiy <andrey.turetskiy@intel.com>
15021 Ilya Verbin <ilya.verbin@intel.com>
15022 Kirill Yukhin <kirill.yukhin@intel.com>
15023 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
15025 * config/i386/sse.md
15026 (define_insn "avx512f_blendm<mode>"): Delete.
15027 (define_insn "<avx512>_blendm<VI48_AVX512VL:mode>"): New.
15028 (define_insn "<avx512>_blendm<VI12_AVX512VL:mode>"): Ditto..
15029 (define_mode_attr cmp_imm_predicate): Add V8SF, V4DF, V8SI, V4DI, V4SF,
15030 V2DF, V4SI, V2DI, V32HI, V64QI, V16HI, V32QI, V8HI, V16QI modes.
15032 "avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>"):
15035 "<avx512>_cmp<VI48_AVX512VL:mode>3<mask_scalar_merge_name><round_saeonly_name>"):
15038 "<avx512>_cmp<VI12_AVX512VL:mode>3<mask_scalar_merge_name><round_saeonly_name>"):
15040 (define_insn "<mask_codefor>avx512f_vec_dup<mode><mask_name>"): Delete.
15041 (define_insn "<avx512>_vec_dup<V48_AVX512VL:mode><mask_name>"): New.
15042 (define_insn "<avx512>_vec_dup<V12_AVX512VL:mode><mask_name>"): Ditto.
15043 (define_insn "<mask_codefor>avx512f_vec_dup_gpr<mode><mask_name>"):
15046 "<mask_codefor><avx512>_vec_dup_gpr<VI48_AVX512VL:mode><mask_name>"):
15049 "<mask_codefor><avx512>_vec_dup_gpr<VI12_AVX512VL:mode><mask_name>"):
15051 (define_insn·"<mask_codefor>avx512f_vec_dup_mem<mode><mask_name>"):
15054 "<mask_codefor><avx512>_vec_dup_mem<VI48_AVX512VL:mode><mask_name>"):
15057 "<mask_codefor><avx512>_vec_dup_mem<VI12_AVX512VL:mode><mask_name>"):
15060 2014-10-14 Richard Biener <rguenther@suse.de>
15062 PR tree-optimization/63512
15063 * tree-ssa-pre.c (create_expression_by_pieces): Mark stmts
15066 2014-10-14 Oleg Endo <olegendo@gcc.gnu.org>
15069 * config/sh/sh.md (negsf2, negsf2_i, negdf2, negdf2_i, abssf2,
15070 abssf2_i, absdf2, absdf2_i): Remove fp_mode attribute. Remove use
15072 (negsf2_i): Rename to *negsf2_i.
15073 (abssf2_i): Rename to *abssf2_i.
15074 (negdf2_i): Rename to *negdf2_i.
15075 (absdf2_i): Rename to *absdf2_i.
15077 2014-10-14 Felix Yang <felix.yang@huawei.com>
15078 Jeff Law <law@redhat.com>
15080 * ira.c (struct equivalence): Change member "is_arg_equivalence" and
15081 "replace" into boolean bitfields; turn member "loop_depth" into a short
15082 integer; add new member "no_equiv" and "reserved".
15083 (no_equiv): Set no_equiv of struct equivalence if register is marked
15084 as having no known equivalence.
15085 (update_equiv_regs): Check all definitions for a multiple-set
15086 register to make sure that the RHS have the same value.
15088 2014-10-13 Richard Henderson <rth@redhat.com>
15090 * combine-stack-adj.c (no_unhandled_cfa): New.
15091 (maybe_merge_cfa_adjust): New.
15092 (combine_stack_adjustments_for_block): Use them.
15094 2014-10-13 Aldy Hernandez <aldyh@redhat.com>
15096 * Makefile.in (TAGS): Tag ../include files.
15098 2014-10-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15100 * config/rs6000/rs6000.h (DBX_REGISTER_NUMBER): Pass format argument
15101 to rs6000_dbx_register_number.
15102 (DWARF_FRAME_REGNUM): Redefine as identity map.
15103 (DWARF2_FRAME_REG_OUT): Call rs6000_dbx_register_number.
15104 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Update.
15105 * config/rs6000/rs6000.c (rs6000_dbx_register_number): Add format
15106 argument to handle .debug_frame and .eh_frame directly. Always
15107 translate SPE high register numbers. Add special treatment for CR,
15108 but only in .debug_frame. Respect RS6000_USE_DWARF_NUMBERING.
15110 * config/rs6000/sysv.h (DBX_REGISTER_NUMBER): Do not undefine.
15111 * config/rs6000/freebsd.h (DBX_REGISTER_NUMBER): Remove.
15112 (RS6000_USE_DWARF_NUMBERING): Define.
15113 * config/rs6000/freebsd64.h (DBX_REGISTER_NUMBER): Remove.
15114 (RS6000_USE_DWARF_NUMBERING): Define.
15115 * config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Remove.
15116 (RS6000_USE_DWARF_NUMBERING): Define.
15117 * config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Remove.
15118 (RS6000_USE_DWARF_NUMBERING): Define.
15119 * config/rs6000/aix.h (RS6000_USE_DWARF_NUMBERING): Define.
15120 * config/rs6000/darwin.h (RS6000_USE_DWARF_NUMBERING): Define.
15122 2014-10-13 Evgeny Stupachenko <evstupac@gmail.com>
15124 * config/i386/i386.c (ix86_address_cost): Lower cost for
15125 when address contains GOT register.
15127 2014-10-13 Ilya Enkovich <ilya.enkovich@intel.com>
15128 Vladimir Makarov <vmakarov@redhat.com>
15131 PR middle-end/47602
15132 PR rtl-optimization/55458
15133 * config/i386/i386.c (ix86_use_pseudo_pic_reg): New.
15134 (ix86_init_pic_reg): New.
15135 (ix86_select_alt_pic_regnum): Add check on pseudo register.
15136 (ix86_save_reg): Likewise.
15137 (ix86_expand_prologue): Remove PIC register initialization
15138 now performed in ix86_init_pic_reg.
15139 (ix86_output_function_epilogue): Add check on pseudo register.
15140 (set_pic_reg_ever_alive): New.
15141 (legitimize_pic_address): Replace df_set_regs_ever_live with new
15142 set_pic_reg_ever_alive.
15143 (legitimize_tls_address): Likewise.
15144 (ix86_pic_register_p): New check.
15145 (ix86_delegitimize_address): Add check on pseudo register.
15146 (ix86_expand_call): Insert move from pseudo PIC register to ABI
15147 defined REAL_PIC_OFFSET_TABLE_REGNUM.
15148 (TARGET_INIT_PIC_REG): New.
15149 (TARGET_USE_PSEUDO_PIC_REG): New.
15150 * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Return INVALID_REGNUM
15151 if pic_offset_table_rtx exists.
15152 * doc/tm.texi.in (TARGET_USE_PSEUDO_PIC_REG, TARGET_INIT_PIC_REG):
15154 * doc/tm.texi: Regenerate.
15155 * function.c (assign_parms): Generate pseudo register for PIC.
15156 * init-regs.c (initialize_uninitialized_regs): Ignor pseudo PIC
15158 * ira-color.c (color_pass): Add check on pseudo register.
15159 * ira-emit.c (change_loop): Don't create copies for PIC pseudo
15161 * ira.c (split_live_ranges_for_shrink_wrap): Add check on pseudo
15163 (ira): Add target specific PIC register initialization.
15164 (do_reload): Keep PIC pseudo register.
15165 * lra-assigns.c (spill_for): Add checks on pseudo register.
15166 * lra-constraints.c (contains_symbol_ref_p): New.
15167 (lra_constraints): Enable lra risky transformations when PIC is pseudo
15169 * shrink-wrap.c (try_shrink_wrapping): Add check on pseudo register.
15170 * target.def (use_pseudo_pic_reg): New.
15171 (init_pic_reg): New.
15173 2014-10-13 Evgeny Stupachenko <evstupac@gmail.com>
15175 * config/i386/x86-tune.def (X86_TUNE_SSE_PARTIAL_REG_DEPENDENCY):
15176 Remove m_SILVERMONT and m_INTEL from the tune.
15178 2014-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
15180 PR libfortran/63471
15181 * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT
15182 when _HPUX_SOURCE is defined.
15184 2014-10-13 Jan Hubicka <hubicka@ucw.cz>
15186 PR tree-optimization/62127
15187 * tree.c (remap_type_1): When remapping array, remap
15190 2014-10-13 Christophe Lyon <christophe.lyon@linaro.org>
15192 * Makefile.in: (check-%): Update comment, as RUNTESTFLAGS no
15193 longer impact parallelization.
15195 2014-10-13 Jan Hubicka <hubicka@ucw.cz>
15198 * ipa-polymorphic-call.c (extr_type_from_vtbl_ptr_store): Fix pasto.
15200 2014-10-13 Marat Zakirov <m.zakirov@samsung.com>
15202 * asan.c (instrument_derefs): BIT_FIELD_REF added.
15204 2014-10-13 Richard Biener <rguenther@suse.de>
15206 PR tree-optimization/63419
15207 * gimple-fold.h (gimple_convert): New function.
15208 * gimple-fold.c (gimple_convert): Likewise.
15209 * tree-ssa-pre.c (create_expression_by_pieces): Use gimple_convert
15210 to split out required conversions early.
15212 2014-10-13 Richard Sandiford <richard.sandiford@arm.com>
15214 * rtlanal.c (generic_subrtx_iterator <T>::add_subrtxes_to_queue):
15215 Add the parts of an insn in reverse order, with the pattern at
15216 the top of the queue. Detect when we're iterating over a SEQUENCE
15217 pattern and in that case just consider patterns of subinstructions.
15219 2014-10-12 Oleg Endo <olegendo@gcc.gnu.org>
15222 * config/sh/sh-protos (sh_find_equiv_gbr_addr): Use rtx_insn* instead
15224 * config/sh/sh.c (sh_find_equiv_gbr_addr): Use def chains instead of
15226 (sh_find_equiv_gbr_addr): Do nothing if input mem is already a GBR
15227 address. Use def chains to handle GBR clobbering call insns.
15229 2014-10-12 Trevor Saunders <tsaunders@mozilla.com>
15231 * asan.c, cfgloop.c, cfgloop.h, cgraph.c, cgraph.h,
15232 config/darwin.c, config/m32c/m32c.c, config/mep/mep.c,
15233 config/mips/mips.c, config/rs6000/rs6000.c, dwarf2out.c,
15234 function.c, function.h, gimple-ssa.h, libfuncs.h, optabs.c,
15235 output.h, rtl.h, sese.c, symtab.c, tree-cfg.c, tree-dfa.c,
15236 tree-ssa.c, varasm.c: Use hash-table instead of hashtab.
15237 * doc/gty.texi (for_user): Document new option.
15238 * gengtype.c (create_user_defined_type): Don't try to get a struct for
15240 (walk_type): Don't error out on for_user option.
15241 (write_func_for_structure): Emit user marking routines if requested by
15243 (write_local_func_for_structure): Likewise.
15244 (main): Mark types with for_user option as used.
15245 * ggc.h (gt_pch_nx): Add overload for unsigned int.
15246 * hash-map.h (hash_map::hash_entry::pch_nx_helper): AddOverloads.
15247 * hash-table.h (ggc_hasher): New struct.
15248 (hash_table::create_ggc): New function.
15249 (gt_pch_nx): New overload for hash_table.
15251 2014-10-11 Oleg Endo <olegendo@gcc.gnu.org>
15253 * config/sh/sh.h (TARGET_SH4A_ARCH): Remove macro.
15254 * config/sh/sh.h: Replace uses of TARGET_SH4A_ARCH with TARGET_SH4A.
15255 * config/sh/sh.c: Likewise.
15256 * config/sh/sh-mem.cc: Likewise.
15257 * config/sh/sh.md: Likewise.
15258 * config/sh/predicates.md: Likewise.
15259 * config/sh/sync.md: Likewise.
15261 2014-10-11 Martin Liska <mliska@suse.cz>
15263 PR middle-end/63376
15264 * cgraphunit.c (symbol_table::process_new_functions): Missing call
15265 for call_cgraph_insertion_hooks added.
15267 2014-10-10 Jakub Jelinek <jakub@redhat.com>
15270 * stor-layout.c (min_align_of_type): Don't decrease alignment
15271 through BIGGEST_FIELD_ALIGNMENT or ADJUST_FIELD_ALIGN if
15272 TYPE_USER_ALIGN is set.
15274 2014-10-10 Uros Bizjak <ubizjak@gmail.com>
15276 PR rtl-optimization/63483
15277 * alias.c (true_dependence_1): Do not exit early for MEM_READONLY_P
15278 references when alignment ANDs are involved.
15279 (write_dependence_p): Ditto.
15280 (may_alias_p): Ditto.
15282 2014-10-10 Marek Polacek <polacek@redhat.com>
15284 * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_OBJECT_SIZE.
15285 * doc/invoke.texi: Document -fsanitize=object-size.
15286 * flag-types.h (enum sanitize_code): Add SANITIZE_OBJECT_SIZE and
15287 or it into SANITIZE_UNDEFINED.
15288 * gimple-fold.c (gimple_fold_call): Optimize IFN_UBSAN_OBJECT_SIZE.
15289 * internal-fn.c (expand_UBSAN_OBJECT_SIZE): New function.
15290 * internal-fn.def (UBSAN_OBJECT_SIZE): Define.
15291 * opts.c (common_handle_option): Handle -fsanitize=object-size.
15292 * ubsan.c: Include tree-object-size.h.
15293 (ubsan_type_descriptor): Call tree_to_uhwi instead of tree_to_shwi.
15294 (ubsan_expand_bounds_ifn): Use false instead of 0.
15295 (ubsan_expand_objsize_ifn): New function.
15296 (instrument_object_size): New function.
15297 (pass_ubsan::execute): Add object size instrumentation.
15298 * ubsan.h (ubsan_expand_objsize_ifn): Declare.
15300 2014-10-10 Richard Henderson <rth@redhat.com>
15303 * shrink-wrap.c (move_insn_for_shrink_wrap): Don't use single_set.
15304 Restrict the set of expressions we're willing to move.
15306 2014-10-10 Jeff Law <law@redhat.com>
15308 * ira.c (struct equivalence): Promote INIT_INSNs field to
15309 an rtx_insn_list. Add comments.
15310 (no_equiv): Promote LIST to an rtx_insn_list. Update
15311 testing for and creating the special marker. Use methods
15312 to extract the insn and next pointers. Promote INSN to an
15314 (update_equiv_regs): Update test for special marker in the
15317 2014-10-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15319 * configure.ac: Add --enable-fix-cortex-a53-835769 option.
15320 * configure: Regenerate.
15321 * config/aarch64/aarch64.c (aarch64_override_options): Handle
15322 TARGET_FIX_ERR_A53_835769_DEFAULT.
15323 * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): Set Init
15325 * doc/install.texi (aarch64*-*-*): Document
15326 new --enable-fix-cortex-a53-835769 option.
15328 2014-10-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15329 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
15331 * config/aarch64/aarch64.h (FINAL_PRESCAN_INSN): Define.
15332 (ADJUST_INSN_LENGTH): Define.
15333 * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): New option.
15334 * config/aarch64/aarch64.c (is_mem_p): New function.
15335 (is_memory_op): Likewise.
15336 (aarch64_prev_real_insn): Likewise.
15337 (is_madd_op): Likewise.
15338 (dep_between_memop_and_curr): Likewise.
15339 (aarch64_madd_needs_nop): Likewise.
15340 (aarch64_final_prescan_insn): Likewise.
15341 * doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-835769
15342 and -mno-fix-cortex-a53-835769 options.
15344 2014-10-10 Jakub Jelinek <jakub@redhat.com>
15346 PR tree-optimization/63464
15347 * tree-switch-conversion.c (struct case_bit_test): Remove
15348 hi and lo fields, add wide_int mask field.
15349 (emit_case_bit_tests): Add MAXVAL argument, rewrite uses of
15350 hi/lo fields into wide_int mask operations, optimize by pretending
15351 minval to be 0 if maxval is small enough.
15352 (process_switch): Adjust caller.
15354 2014-10-10 Richard Biener <rguenther@suse.de>
15356 PR tree-optimization/63379
15357 * tree-vect-slp.c (vect_get_constant_vectors): Do not compute
15358 a neutral operand for min/max when it is not a reduction chain.
15360 2014-10-10 Richard Biener <rguenther@suse.de>
15362 PR tree-optimization/63476
15363 * tree-ssa-pre.c (struct bb_bitmap_sets): Add vop_on_exit member.
15364 (BB_LIVE_VOP_ON_EXIT): New define.
15365 (create_expression_by_pieces): Assign VUSEs to stmts.
15366 (compute_avail): Track BB_LIVE_VOP_ON_EXIT.
15367 (pass_pre::execute): Assert virtual SSA form is up-to-date
15370 2014-10-10 Eric Botcazou <ebotcazou@adacore.com>
15372 * lra-assigns.c (assign_by_spills): Error out on spill failure.
15374 2014-10-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15376 * pa-polymorphic-call.c (check_stmt_for_type_change): Move
15379 2014-10-09 Richard Biener <rguenther@suse.de>
15381 PR tree-optimization/63380
15382 * tree-ssa-tail-merge.c (stmt_local_def): Exclude stmts that
15385 2014-10-09 Joern Rennecke <joern.rennecke@embecosm.com>
15387 * config/avr/avr.opt (mmcu=): Change to have a string value.
15388 (mn-flash=, mskip-bug, march=, mrmw): New options.
15389 (HeaderInclude): New.
15390 (mmcu=): Remove Var / Init clauses.
15391 * config/avr/avr.h (DRIVER_SELF_SPECS): Translate -mmcu into a
15393 (SYMBOL_FLAG_IO, SYMBOL_FLAG_ADDRESS): Define.
15394 (ASM_OUTPUT_ALIGNED_BSS): Use avr_asm_asm_output_aligned_bss.
15395 (SYMBOL_FLAG_IO_LOW): Define.
15396 (avr_device_to_as, avr_device_to_ld): Don't declare.
15397 (avr_device_to_data_start, avr_device_to_startfiles): Likewise.
15398 (avr_device_to_devicelib, avr_device_to_sp8): Likewise.
15399 (EXTRA_SPEC_FUNCTIONS): Don't define.
15400 (ASM_SPEC): Translate -arch= option to -mmcu= option.
15401 (LINK_SPEC): Translate -arch= option to -m= option.
15402 Don't use device_to_ld / device_to_data_start.
15403 (STARTFILE_SPEC): Now empty.
15404 (ASM_SPEC): Add -%{mrelax: --mlink-relax}.
15405 * config/avr/gen-avr-mmcu-specs.c: New file.
15406 * config/avr/t-avr (gen-avr-mmcu-specs$(build_exeext)): New rule.
15407 (s-device-specs): Likewise.
15408 (GCC_PASSES): Add s-device-specs.
15409 (install-driver): Depend on install-device-specs.
15410 (install-device-specs): New rule.
15411 * config/avr/avr.c (avr_option_override): Look up mcu arch by
15412 avr_arch_index and provide fallback initialization for avr_n_flash.
15413 (varasm.h): #include.
15414 (avr_print_operand) <i>: Allow SYMBOL_REF with SYMBOL_FLAG_IO;
15415 (avr_handle_addr_attribute, avr_eval_addr_attrib): New functions.
15416 (avr_attribute_table): Add "io", "address" and "io_low".
15417 (avr_asm_output_aligned_decl_common): Change type of decl to tree.
15418 Add special handling for symbols with "io" and/or "address" attributes.
15419 (avr_asm_asm_output_aligned_bss): New function.
15420 (avr_encode_section_info): Set SYMBOL_FLAG_IO and SYMBOL_FLAG_ADDRESS
15421 as appropriate. Handle io_low attribute.
15422 (avr_out_sbxx_branch): Handle symbolic io addresses.
15423 (avr_xload_libgcc_p, avr_nonconst_pointer_addrspace): Use
15424 avr_n_flash instead of avr_current_device->n_flash.
15425 (avr_pgm_check_var_decl, avr_insert_attributes): Likewise.
15426 (avr_emit_movmemhi): Likewise.
15427 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Likewise.
15428 Use TARGET_RMW instead of avr_current_device->dev_attributes.
15429 Don't define avr_current_device->macro (that's the specfile's job).
15430 Use TARGET_SKIP_BUG instead of avr_current_device->errata_skip.
15431 * config/avr/avr.c (avr_2word_insn_p): Likewise.
15432 * config/avr/avr.md (*cpse.ne): Likewise.
15433 (mov<mode>): Use avr_eval_addr_attrib.
15434 (cbi): Change constraint for low_io_address_operand operand to "i".
15435 (sbi, sbix_branch, sbix_branch_bit7, insv.io, insv.not.io): Likewise.
15436 * config/avr/predicates.md (io_address_operand):
15437 Allow SYMBOL_REF with SYMBOL_FLAG_IO.
15438 (low_io_address_operand): Allow SYMBOL_REF with SYMBOL_FLAG_IO_LOW.
15439 * config/avr/avr-protos.h (avr_asm_output_aligned_decl_common):
15441 (avr_eval_addr_attrib, avr_asm_asm_output_aligned_bss): Prototype.
15442 * config/avr/genmultilib.awk: Use -march=.
15443 Remove Multilib matches processing.
15444 * config/avr/t-multilib, config/avr/avr-tables.opt: Regenerate.
15445 * config/avr/avr-arch.h: Add double include guard.
15446 (avr_mcu_t) <library_name>: Update comment.
15447 * config/avr/driver-avr.c (avr_device_to_as): Delete.
15448 (avr_device_to_ld, avr_device_to_data_start): Likewise.
15449 (avr_device_to_startfiles, avr_device_to_devicelib): Likewise.
15450 (avr_device_to_sp8): Likewise.
15451 * config/avr/genopt.sh: Instead avr_mcu, emit an Enum for avr_arch.
15453 * doc/extend.texi (io, address): Document new AVR variable attributes.
15454 (io_low): Likewise.
15456 2014-10-09 Marek Polacek <polacek@redhat.com>
15458 * doc/invoke.texi: Document -fsanitize=bool and -fsanitize=enum.
15460 2014-10-08 Richard Biener <rguenther@suse.de>
15462 PR tree-optimization/61969
15463 * tree-nrv.c (pass_nrv::execute): Properly test for automatic
15466 2014-10-09 Richard Biener <rguenther@suse.de>
15468 PR tree-optimization/63445
15469 * tree-vrp.c (simplify_cond_using_ranges): Only warn about
15470 overflow for non-equality compares.
15472 2014-10-09 Uros Bizjak <ubizjak@gmail.com>
15474 PR rtl-optimization/57003
15475 * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg,
15476 also check CALL_INSN_FUNCTION_USAGE for clobbers again after
15477 killing regs_invalidated_by_call.
15479 2014-10-08 Teresa Johnson <tejohnson@google.com>
15481 PR bootstrap/63432.
15482 * tree-ssa-threadupdate.c (estimated_freqs_path): New function.
15483 (ssa_fix_duplicate_block_edges): Invoke it.
15484 (mark_threaded_blocks): Make two passes to avoid ordering dependences.
15486 2014-10-08 Oleg Endo <olegendo@gcc.gnu.org>
15489 * config/sh/sync.md (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
15490 atomic_fetch_<fetchop_name>si_hard,
15491 atomic_fetch_<fetchop_name><mode>_hard, atomic_fetch_nandsi_hard,
15492 atomic_fetch_nand<mode>_hard, atomic_<fetchop_name>_fetchsi_hard,
15493 atomic_<fetchop_name>_fetch<mode>_hard, atomic_nand_fetchsi_hard,
15494 atomic_nand_fetch<mode>_hard): Add missing set of T_REG.
15496 2014-10-08 Rong Xu <xur@google.com>
15498 * gcov-tool.c (profile_overlap): New driver function
15499 to compute profile overlap.
15500 (print_overlap_usage_message): New.
15501 (overlap_usage): New.
15503 (print_usage): Add calls to overlap function.
15505 * doc/gcov-tool.texi: Add documentation.
15507 2014-10-08 Steve Ellcey <sellcey@mips.com>
15509 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Change
15510 LINUX64_DRIVER_SELF_SPECS to LINUX_DRIVER_SELF_SPECS
15512 2014-10-08 Jan Hubicka <hubicka@ucw.cz>
15514 * ipa-polymorphic-call.c (extr_type_from_vtbl_store): Do better
15515 pattern matching of MEM_REF.
15516 (check_stmt_for_type_change): Update.
15518 2014-10-08 Steve Ellcey <sellcey@mips.com>
15520 * config/mips/linux64.h: Remove.
15521 * config/mips/gnu-user64.h: Remove.
15522 * gcc.config (mips*-*-*): Remove references to linux64.h and
15524 * config/mips/gnu-user.h (GNU_USER_TARGET_LINK_SPEC): Replace
15525 with modified version from gnu-user64.h.
15526 (LINUX_DRIVER_SELF_SPECS): Update parts from gnu-user64.h.
15527 (LOCAL_LABEL_PREFIX): Copy from gnu-user64.h.
15528 * config/mips/linux.h (GNU_USER_LINK_EMULATION32): Copy from
15530 (GNU_USER_LINK_EMULATION64): Ditto.
15531 (GNU_USER_LINK_EMULATIONN32): Ditto.
15532 (GLIBC_DYNAMIC_LINKER32): Ditto.
15533 (GLIBC_DYNAMIC_LINKER64): Ditto.
15534 (GLIBC_DYNAMIC_LINKERN32): Ditto.
15535 (UCLIBC_DYNAMIC_LINKER32): Ditto.
15536 (UCLIBC_DYNAMIC_LINKER64): Ditto.
15537 (UCLIBC_DYNAMIC_LINKERN32): Ditto.
15538 (BIONIC_DYNAMIC_LINKERN32): Ditto.
15539 (GNU_USER_DYNAMIC_LINKERN32): Ditto.
15540 (GLIBC_DYNAMIC_LINKER): Delete.
15541 (UCLIBC_DYNAMIC_LINKER): Delete.
15543 2014-10-08 Joern Rennecke <joern.rennecke@embecosm.com>
15544 Richard Biener <rguenther@suse.de>
15546 * cfgexpand.c (expand_debug_expr) <TARGET_MEM_REF>:
15547 Get address space from operand 0 (BASE).
15549 2014-10-07 Iain Sandoe <iain@codesourcery.com>
15552 * config/i386/i386.c (x86_output_mi_thunk): Fix darwin fallout.
15554 2014-10-07 Aldy Hernandez <aldyh@redhat.com>
15556 * dwarf2out.c: Remove current_function_has_inlines.
15557 (gen_subprogram_die): Same.
15558 (gen_inlined_subroutine_die): Same.
15560 2014-10-07 Ilya Tocar <ilya.tocar@intel.com>
15562 * config/i386/adxintrin.h (_subborrow_u64): Use long long for param
15564 (_addcarry_u64): Ditto.
15565 (_addcarryx_u64): Ditto.
15567 2014-10-07 Eric Botcazou <ebotcazou@adacore.com>
15569 * cgraph.h (cgraph_node::get_fun): Declare.
15570 * cgraph.c (cgraph_node::get_fun): New method.
15571 * ipa-inline.c (can_inline_edge_p): Use it.
15573 2014-10-07 Eric Botcazou <ebotcazou@adacore.com>
15575 * lto-opts.c (lto_write_options): Handle -fmath-errno, -fsigned-zeros
15576 and -ftrapping-math.
15577 * lto-wrapper.c (merge_and_complain): Likewise.
15578 (run_gcc): Likewise.
15580 2014-10-06 Rong Xu <xur@google.com>
15582 * params.def (PARAM_INDIR_CALL_TOPN_PROFILE): New param.
15583 * tree-profile.c: (params.h): New include.
15584 (init_ic_make_global_vars): Make __gcov_indirect_call_topn_callee
15585 and __gcov_indirect_call_topn_counters for
15586 indirect_call_topn_profile.
15587 (gimple_init_edge_profiler): New decls for
15588 __gcov_indirect_call_topn_profiler.
15589 (gimple_gen_ic_profiler): Generate the correct profiler call.
15590 (gimple_gen_ic_func_profiler): Fix format.
15591 * value-prof.c (params.h): New include.
15592 (dump_histogram_value): Hanlde indirect_call_topn counters.
15593 (stream_in_histogram_value): Ditto.
15594 (gimple_indirect_call_to_profile): Use indirect_call_topn
15595 profile when PARAM_INDIR_CALL_TOPN_PROFILE is set.
15596 (gimple_find_values_to_profile): Hanlde indirect_call_topn
15598 * value-prof.h (enum hist_type): Histrogram type for
15599 indirect_call_topn counters.
15600 * profile.c (instrument_values): Instrument
15601 indirect_call_topn counters.
15603 2014-10-06 Rong Xu <xur@google.com>
15605 * Makefile.in: Fix dependence.
15606 * gcov-counter.def (GCOV_COUNTER_ICALL_TOPNV): Add
15607 indirect call topn profiler.
15608 * gcov-io.h: Ditto.
15610 2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
15612 * calls.c (expand_call): Do not use the target as the return slot if
15613 it is not sufficiently aligned.
15615 2014-10-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
15617 * config/rs6000/rs6000.c (analyze_swaps commentary): Add
15618 discussion of permutes and why we don't handle them.
15620 2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
15622 * config/sparc/predicates.md (int_register_operand): Delete.
15624 2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
15626 * dwarf2cfi.c (create_pseudo_cfg): Fix trace numbering.
15628 2014-10-06 Jakub Jelinek <jakub@redhat.com>
15630 * ubsan.h (ubsan_get_source_location): New prototype.
15631 * ubsan.c (ubsan_source_location_type): New variable.
15632 Function renamed to ...
15633 (ubsan_get_source_location_type): ... this. Cache
15634 return value in ubsan_source_location_type variable.
15635 (ubsan_source_location, ubsan_create_data): Use
15636 ubsan_get_source_location_type instead of
15637 ubsan_source_location_type.
15638 * asan.c (asan_protect_global): Don't protect globals
15639 with ubsan_get_source_location_type () type.
15640 (asan_add_global): Provide global decl location info
15643 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
15645 * ipa-prop.c (try_make_edge_direct_virtual_call): Remove overactive
15648 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
15650 * ipa-polymorphic-call.c (possible_placement_new): Fix condition
15652 (ipa_polymorphic_call_context::restrict_to_inner_type): Do not walk
15654 (ipa_polymorphic_call_context::dump): Fix formating.
15655 (walk_ssa_copies): Add logic avoiding loops; update uses.
15656 * ipa-prop.c (ipa_analyze_call_uses): Compute vptr_changed.
15658 2014-10-02 Mark Wielaard <mjw@redhat.com>
15661 * dwarf2out.c (gen_subprogram_die): When a member function is
15662 explicitly deleted then add a DW_AT_GNU_deleted attribute.
15663 * langhooks.h (struct lang_hooks_for_decls): Add
15664 function_decl_deleted_p langhook.
15665 * langhooks-def.h (LANG_HOOKS_FUNCTION_DECL_DELETED_P): Define.
15666 (LANG_HOOKS_DECLS): Add LANG_HOOKS_FUNCTION_DECL_DELETED_P.
15668 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
15670 * ipa-polymorphic-call.c (walk_ssa_copies): Recognize
15671 NULL pointer checks.
15672 (ipa_polymorphic_call_context::get_dynamic_type): Return true
15673 if type doesn't change.
15674 * cgraph.h (cgraph_indirect_call_info): New flag.
15675 * cgraph.c (cgraph_node::create_indirect_edge): Initialize it.
15676 (cgraph_node::dump): Dump it.
15677 * ipa-prop.c (ipa_analyze_call_uses): Ignore return valud
15678 of context.get_dynamic_type.
15679 (ipa_make_edge_direct_to_target): Do not speculate
15680 edge that is already speuclative.
15681 (try_make_edge_direct_virtual_call): Use VPTR_CHANGED; Do not
15682 speculate to __builtin_unreachable
15683 (ipa_write_indirect_edge_info, ipa_read_indirect_edge_info): Stream
15685 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use vptr_changed.
15687 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
15689 * ipa-prop.c (ipa_compute_jump_functions_for_edge): Call
15690 get_dynamic_type; drop TODO.
15691 * ipa-polymorphic-call.c
15692 (ipa_polymorphic_call_context::get_dynamic_type): Be ready
15693 for otr_type to be unknown.
15695 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
15697 * common/config/score/score-common.c: Remove.
15698 * config.gcc: Remove support for score-*.
15699 * config/score/constraints.md: Remove.
15700 * config/score/elf.h: Remove.
15701 * config/score/predicates.md: Remove.
15702 * config/score/score-conv.h: Remove.
15703 * config/score/score-generic.md: Remove.
15704 * config/score/score-modes.def: Remove.
15705 * config/score/score-protos.h: Remove.
15706 * config/score/score.c: Remove.
15707 * config/score/score.h: Remove.
15708 * config/score/score.md: Remove.
15709 * config/score/score.opt: Remove.
15710 * doc/md.texi: Don't document score-*.
15712 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
15715 * genconditions.c: Directly include ggc.h before rtl.h.
15717 2014-10-03 Jan Hubicka <hubicka@ucw.cz>
15719 * ipa-polymorphic-call.c
15720 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Fix
15721 code determining speculative type.
15722 (ipa_polymorphic_call_context::combine_with): Fix speculation merge.
15724 2014-10-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
15726 * altivec.md (altivec_lvsl): New define_expand.
15727 (altivec_lvsl_direct): Rename define_insn from altivec_lvsl.
15728 (altivec_lvsr): New define_expand.
15729 (altivec_lvsr_direct): Rename define_insn from altivec_lvsr.
15730 * rs6000.c (rs6000_expand_builtin): Change to use
15731 altivec_lvs[lr]_direct; remove commented-out code.
15733 2014-10-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
15735 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
15736 Issue a warning message when vec_lvsl or vec_lvsr is used with a
15737 little endian target.
15739 2014-10-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
15741 * tree-pretty-print.c (dump_location): Make it extern. Dump also
15743 * tree-pretty-print.h (dump_location): Declare.
15744 * gimple-pretty-print.c (dump_gimple_phi): Use dump_location.
15745 (pp_gimple_stmt_1): Likewise.
15746 (dump_implicit_edges): Likewise.
15747 * gimplify.c (gimplify_call_expr): Use LOCATION_FILE and
15751 2014-10-03 David Malcolm <dmalcolm@redhat.com>
15753 * gcc.c (driver::global_initializations): Remove "const" so
15754 that GCC_DRIVER_HOST_INITIALIZATION can modify decoded_options
15755 and decoded_options_count.
15757 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
15759 * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Remove
15761 * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Handle
15762 TARGET_E500_DOUBLE case here.
15764 2014-10-03 Marc Glisse <marc.glisse@inria.fr>
15769 * doc/extend.texi (Vector Extensions): Document &&, ||, ! in C++.
15771 2014-10-03 Jan Hubicka <hubicka@ucw.cz>
15773 * cgraph.h (struct indirect_call_info): Add IN_POLYMORPHIC_CDTOR
15774 * lto-cgraph.c (lto_output_edge, input_edge): Stream
15775 in_polymorphic_cdtor
15776 * cgraph.c (symbol_table::create_edge): Compute in_polymorphic_cdtor.
15777 (cgraph_edge::make_speculative): Copy in_polymorphic_cdtor.
15778 * cgraphclones.c (cgraph_edge::clone): Likewise.
15779 * ipa-prop.c (update_jump_functions_after_inlining,
15780 try_make_edge_direct_virtual_call): Pass in_polymorphic_cdtor
15781 to possible_dynamic_type_change.
15782 (decl_maybe_in_construction_p): Allow empty OUTER_TYPE and BASE.
15783 (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
15784 IN_POLY_CDOTR argument.
15786 * ipa-polymorphic-call.c (decl_maybe_in_construction_p): Be ready
15787 for BASE and OUTER_TYPE being NULL.
15788 (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
15789 in_poly_cdtor parameter.
15791 2014-10-03 Jakub Jelinek <jakub@redhat.com>
15793 * config/i386/i386.c (ix86_expand_vec_perm_vpermi2): Fix up formatting.
15794 (ix86_expand_vec_perm): Only call ix86_expand_vec_perm_vpermi2 if
15796 (expand_vec_perm_1): Likewise.
15798 2014-10-03 Jakub Jelinek <jakub@redhat.com>
15799 Uros Bizjak <ubizjak@gmail.com>
15801 PR tree-optimization/61403
15802 * config/i386/i386.c (expand_vec_perm_palignr): Fix a spelling
15803 error in comment. Also optimize 256-bit vectors for AVX2
15804 or AVX (floating vectors only), provided the first permutation
15805 can be performed in one insn.
15807 2014-10-03 David Malcolm <dmalcolm@redhat.com>
15809 * gcc.c (class driver): New class.
15810 (main): Reimplement in terms of driver::main, moving most of the
15811 locals to be locals within individual methods of class driver.
15812 The remaining locals "explicit_link_files", "decoded_options" and
15813 "decoded_options_count" are used by multiple driver:: methods, and
15814 so become member data. Doing so isolates the argc/argv reads and
15815 writes. Replace "goto out" with a special exit code from
15816 new method driver::prepare_infiles. Split out the old
15817 implementation of main into the following...
15818 (driver::main): New function, corresponding to the old "main"
15820 (driver::set_progname): New function, taken from the old
15821 "main" implementation.
15822 (driver::expand_at_files): Likewise.
15823 (driver::decode_argv): Likewise.
15824 (driver::global_initializations): Likewise.
15825 (driver::build_multilib_strings): Likewise.
15826 (driver::set_up_specs): Likewise.
15827 (driver::putenv_COLLECT_GCC): Likewise.
15828 (driver::maybe_putenv_COLLECT_LTO_WRAPPER): Likewise.
15829 (driver::handle_unrecognized_options): Likewise.
15830 (driver::maybe_print_and_exit): Likewise.
15831 (driver::prepare_infiles): Likewise.
15832 (driver::do_spec_on_infiles): Likewise.
15833 (driver::maybe_run_linker): Likewise.
15834 (driver::final_actions): Likewise.
15835 (driver::get_exit_code): Likewise.
15837 2014-10-03 Yury Gribov <y.gribov@samsung.com>
15839 * asan.c (asan_finish_file): Disable __asan_init calls for KASan;
15840 don't emit empty ctors.
15842 2014-10-03 Eric Botcazou <ebotcazou@adacore.com>
15844 * convert.c (convert_to_integer): Do not introduce useless conversions
15845 between integral types.
15847 2014-10-03 David Sherwood <david.sherwood@arm.com>
15849 * ira-int.h (ira_allocno): Mark hard_regno as signed.
15851 2014-10-03 Ilya Enkovich <ilya.enkovich@intel.com>
15853 * lra-constraints.c (inherit_in_ebb): Handle calls with
15854 multiple return values.
15855 * caller-save.c (save_call_clobbered_regs): Likewise.
15857 2014-10-03 Jakub Jelinek <jakub@redhat.com>
15859 * tree-vect-data-refs.c (vect_permute_load_chain,
15860 vect_shift_permute_load_chain): Fix a typo in temporary var names,
15861 suffle3 to shuffle3.
15864 * omp-low.c (taskreg_contexts): New variable.
15865 (scan_omp_parallel): Push newly created context into taskreg_contexts
15866 vector and move record layout code to finish_taskreg_scan.
15867 (scan_omp_task): Likewise.
15868 (finish_taskreg_scan): New function.
15869 (execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts
15870 vector elements and release it.
15873 * config/i386/i386.c (expand_vec_perm_palignr): If op1, op0 order
15874 of palignr arguments can't be used due to min 0 or max - min
15875 too high, try also op0, op1 order of palignr arguments.
15877 2014-10-02 Jan Hubicka <hubicka@ucw.cz>
15879 * cgraph.h (ipa_polymorphic_call_context):
15880 Turn bools into bitfields; add DYNAMIC; make MAKE_SPECULATIVE
15881 private, add POSSIBLE_DYNAMIC_TYPE_CHANGE.
15882 * ipa-polymorphic-call.c
15883 (ipa_polymorphic_call_context::restrict_to_inner_class): Allow accesses
15884 past end of dynamic types.
15885 (ipa_polymorphic_call_context::stream_out,
15886 speculative_outer_type): Stream dynamic flag.
15887 (ipa_polymorphic_call_context::set_by_decl): Clear DYNAMIC.
15888 (ipa_polymorphic_call_context::ipa_polymorphic_call_context):
15890 (ipa_polymorphic_call_context::get_dynamic_type): Use DYNAMIC;
15892 (ipa_polymorphic_call_context::combine_with): Propagate dynamic.
15893 * ipa-prop.c (update_jump_functions_after_inlining,
15894 try_make_edge_direct_virtual_call): Use possible_dynamic_type_change.
15896 2014-10-02 Teresa Johnson <tejohnson@google.com>
15898 * tree-ssa-threadupdate.c (freqs_to_counts_path): Scale frequencies
15899 up when synthesizing counts to avoid rounding errors.
15901 2014-10-02 Teresa Johnson <tejohnson@google.com>
15903 PR middle-end/63422
15904 * tree-ssa-threadupdate.c (freqs_to_counts_path): Remove
15905 asserts to handle incoming insanities.
15907 2014-10-02 Martin Jambor <mjambor@suse.cz>
15909 PR tree-optimization/63375
15910 * tree-sra.c (build_access_from_expr_1): Disqualify volatile
15913 2014-10-02 Olivier Hainque <hainque@adacore.com>
15915 * Makefile.in (CROSS): Define, to @CROSS.
15917 2014-10-02 Jakub Jelinek <jakub@redhat.com>
15920 * config/i386/i386.c (expand_vec_perm_1): Try expand_vec_perm_palignr
15921 if it expands to a single insn only.
15922 (expand_vec_perm_palignr): Add SINGLE_INSN_ONLY_P argument. If true,
15923 fail unless in_order is true. Add forward declaration.
15924 (expand_vec_perm_vperm2f128): Fix up comment about which permutation
15925 is useful for one_operand_p.
15926 (ix86_expand_vec_perm_const_1): Adjust expand_vec_perm_palignr caller.
15928 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
15930 * cgraphclones.c (build_function_type_skip_args): Do not make new
15931 type variant of old.
15933 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
15935 * ipa-prop.h (ipa_get_controlled_uses): Add hack to avoid ICE
15936 when speculation is added.
15937 (ipa_edge_args): Add polymorphic_call_contexts.
15938 (ipa_get_ith_polymorhic_call_context): New accesor.
15939 (ipa_make_edge_direct_to_target): Add SPECULATIVE parameter.
15940 * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Print contexts.
15941 (ipa_compute_jump_functions_for_edge): Compute contexts.
15942 (update_jump_functions_after_inlining): Update contexts.
15943 (ipa_make_edge_direct_to_target): Add SPECULATIVE argument;
15944 update dumping; add speculative edge creation.
15945 (try_make_edge_direct_virtual_call): Add CTX_PTR parameter; handle
15947 (update_indirect_edges_after_inlining): Pass down context.
15948 (ipa_edge_duplication_hook): Duplicate contexts.
15949 (ipa_write_node_info): Stream out contexts.
15950 (ipa_read_node_info): Stream in contexts.
15951 * ipa-devirt.c (type_all_derivations_known_p): Avoid ICE on non-ODR
15953 (try_speculative_devirtualization): New function.
15954 * ipa-utils.h (try_speculative_devirtualization): Declare.
15956 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
15958 * ipa.c (walk_polymorphic_call_targets): Avoid ICE when
15959 dumping during WPA.
15961 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
15963 * ipa-prop.c (ipa_modify_formal_parameters): Do not merge
15966 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
15968 * ipa-polymorphic-call.c
15969 (ipa_polymorphic_call_context::restrict_to_inner_class):
15970 Rename EXPECTED_TYPE to OTR_TYPE; Validate speculation late;
15971 use speculation_consistent_p to do so; Add CONSDER_BASES
15972 and CONSIDER_PLACEMENT_NEW parameters.
15973 (contains_type_p): Add CONSDER_PLACEMENT_NEW and CONSIDER_BASES;
15974 short circuit obvious cases.
15975 (ipa_polymorphic_call_context::dump): Improve formatting.
15976 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Use
15977 combine_speculation_with to record speculations; Do not ICE when
15978 object is located in pointer type decl; do not ICE for methods
15979 of UNION_TYPE; do not record nonpolymorphic types.
15980 (ipa_polymorphic_call_context::speculation_consistent_p): New method.
15981 (ipa_polymorphic_call_context::combine_speculation_with): New method.
15982 (ipa_polymorphic_call_context::combine_with): New method.
15983 (ipa_polymorphic_call_context::make_speculative): Move here; use
15984 combine speculation.
15985 * cgraph.h (ipa_polymorphic_call_context): Update
15986 restrict_to_inner_class prototype; add offset_by, make_speculative,
15987 combine_with, useless_p, combine_speculation_with and
15988 speculation_consistent_p methods.
15989 (ipa_polymorphic_call_context::offset_by): New method.
15990 (ipa_polymorphic_call_context::useless_p): New method.
15992 2014-10-01 Segher Boessenkool <segher@kernel.crashing.org>
15994 PR rtl-optimization/62151
15995 * combine.c (can_combine_p): Allow the destination register of INSN
15996 to be clobbered in I3.
15997 (subst): Do not substitute into clobbers of registers.
15999 2014-10-01 Jakub Jelinek <jakub@redhat.com>
16002 * dwarf2out.c (loc_list_from_tree): Handle MEM_REF with non-zero
16003 offset, TARGET_MEM_REF and SSA_NAME.
16005 * config/i386/i386.c (expand_vec_perm_palignr): Handle
16006 256-bit vectors for TARGET_AVX2.
16008 * config/i386/i386.c (expand_vec_perm_vperm2f128): Canonicalize
16009 dfirst permutation.
16012 * config/i386/i386.c (expand_vec_perm_pshufb): Fix up rperm[0]
16013 argument to avx2_permv2ti.
16015 2014-10-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16017 * config/arm/arm.md (*store_minmaxsi): Disable for arm_restrict_it.
16019 2014-09-30 Uros Bizjak <ubizjak@gmail.com>
16021 * config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only.
16022 (fmod<mode>3): Ditto.
16023 (fpremxf4_i387): Ditto.
16024 (reminderxf3): Ditto.
16025 (reminder<mode>3): Ditto.
16026 (fprem1xf4_i387): Ditto.
16028 2014-09-30 Teresa Johnson <tejohnson@google.com>
16030 * tree-ssa-threadupdate.c (struct ssa_local_info_t): New
16031 duplicate_blocks bitmap.
16032 (remove_ctrl_stmt_and_useless_edges): Ditto.
16033 (create_block_for_threading): Ditto.
16034 (compute_path_counts): New function.
16035 (update_profile): Ditto.
16036 (recompute_probabilities): Ditto.
16037 (update_joiner_offpath_counts): Ditto.
16038 (freqs_to_counts_path): Ditto.
16039 (clear_counts_path): Ditto.
16040 (ssa_fix_duplicate_block_edges): Update profile info.
16041 (ssa_create_duplicates): Pass new parameter.
16042 (ssa_redirect_edges): Remove old profile update.
16043 (thread_block_1): New duplicate_blocks bitmap,
16044 remove old profile update.
16045 (thread_single_edge): Pass new parameter.
16047 2014-09-30 Ilya Tocar <ilya.tocar@intel.com>
16049 PR middle-end/62120
16050 * varasm.c (decode_reg_name_and_count): Check availability for
16051 registers from ADDITIONAL_REGISTER_NAMES.
16053 2014-09-30 David Malcolm <dmalcolm@redhat.com>
16056 * Makefile.in (PRETTY_PRINT_H): Add wide-int-print.h.
16057 (PLUGIN_HEADERS): Add pass-instances.def.
16059 2014-09-30 James Greenhalgh <james.greenhalgh@arm.com>
16061 * config/aarch64/aarch64-simd-builtins.def (sqdmull_laneq): Expand
16063 * config/aarch64/aarch64-simd.md
16064 (aarch64_sqdmull_laneq<mode>): Expand iterator.
16065 * config/aarch64/arm_neon.h (vqdmullh_laneq_s16): New.
16066 (vqdmulls_lane_s32): Fix return type.
16067 (vqdmulls_laneq_s32): New.
16069 2014-09-30 Jakub Jelinek <jakub@redhat.com>
16071 PR inline-asm/63282
16072 * ifcvt.c (dead_or_predicable): Don't call redirect_jump_1
16073 or invert_jump_1 if jump isn't any_condjump_p.
16075 2014-09-30 Terry Guo <terry.guo@arm.com>
16077 * config/arm/arm-cores.def (cortex-m7): New core name.
16078 * config/arm/arm-fpus.def (fpv5-sp-d16): New fpu name.
16080 * config/arm/arm-tables.opt: Regenerated.
16081 * config/arm/arm-tune.md: Regenerated.
16082 * config/arm/arm.h (TARGET_VFP5): New macro.
16083 * config/arm/bpabi.h (BE8_LINK_SPEC): Include cortex-m7.
16084 * config/arm/vfp.md (<vrint_pattern><SDF:mode>2,
16085 smax<mode>3, smin<mode>3): Enabled for FPU FPv5.
16086 * doc/invoke.texi: Document new cpu and fpu names.
16088 2014-09-30 Jiong Wang <jiong.wang@arm.com>
16090 * shrink-wrap.c (move_insn_for_shrink_wrap): Check "can_throw_internal"
16091 before sinking insn.
16093 2014-09-30 David Sherwood <david.sherwood@arm.com>
16095 * ira-int.h (ira_allocno): Add "wmode" field.
16096 * ira-build.c (create_insn_allocnos): Add new "parent" function
16098 * ira-conflicts.c (ira_build_conflicts): Add conflicts for registers
16099 that cannot be accessed in wmode.
16101 2014-09-30 Markus Trippelsdorf <markus@trippelsdorf.de>
16103 * data-streamer.c (bp_unpack_var_len_int): Avoid signed
16106 2014-09-29 Andi Kleen <ak@linux.intel.com>
16108 * opts.c (print_filtered_help): Print --param min/max/default
16111 2014-09-29 Kaz Kojima <kkojima@gcc.gnu.org>
16113 * config/sh/sh.md: Use define_c_enum for "unspec" and "unspecv".
16115 2014-09-29 Eric Botcazou <ebotcazou@adacore.com>
16117 * tree-vrp.c (get_single_symbol): New function.
16118 (build_symbolic_expr): Likewise.
16119 (symbolic_range_based_on_p): New predicate.
16120 (extract_range_from_binary_expr_1): Deal with single-symbolic ranges
16121 for PLUS and MINUS. Do not drop symbolic ranges at the end.
16122 (extract_range_from_binary_expr): Try harder for PLUS and MINUS if
16123 operand is symbolic and based on the other operand.
16125 2014-09-29 Chen Gang <gang.chen.5i5j@gmail.com>
16127 * config/microblaze/microblaze.md (call_internal1): Use VOID
16128 instead of SI to fix "((void (*)(void)) 0)()" issue
16130 2014-09-29 Nick Clifton <nickc@redhat.com>
16132 * config/msp430/msp430.c (msp430_expand_prologue): Return a
16133 CLOBBER rtx for naked functions.
16134 (msp430_expand_epilogue): Likewise.
16135 (msp430_use_f5_series_hwmult): Cache result.
16136 (use_32bit_hwmult): Cache result.
16137 (msp430_no_hwmult): New function.
16138 (msp430_output_labelref): Use it.
16140 2014-09-29 Jakub Jelinek <jakub@redhat.com>
16142 PR middle-end/63247
16143 * omp-low.c (lower_omp_target): For OMP_CLAUSE_MAP_POINTER
16144 of ARRAY_TYPE, if not OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION
16145 use the alignment of avar rather than ovar.
16147 2014-09-28 John David Anglin <danglin@gcc.gnu.org>
16149 * config/pa/pa.c (pa_output_function_epilogue): Only update
16150 last_address when a nonnote insn is found.
16152 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
16155 * ipa-devirt.c (possible_polymorphic_call_targets): Silence
16158 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
16161 * ipa-polymorphic-call.c
16162 (ipa_polymorphic_call_context::restrict_to_inner_class): Fix pasto
16163 in checking array size.
16165 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
16167 PR middle-end/35545
16168 * passes.def (pass_tracer): Move before last dominator pass.
16170 2014-09-26 Thomas Schwinge <thomas@codesourcery.com>
16172 * gcc.c (try_generate_repro): Remove argument "prog". Change all
16174 (run_attempt): Handle errors of "pex_run" invocation.
16176 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
16178 * config/aarch64/aarch64-linux.h (ASAN_CC1_SPEC): Define.
16179 (CC1_SPEC): Define.
16180 * config/aarch64/aarch64.c (aarch64_asan_shadow_offset): New function.
16181 (TARGET_ASAN_SHADOW_OFFSET): Define.
16183 2014-09-26 Martin Liska <mliska@suse.cz>
16185 * cgraph.c (cgraph_node::release_body): New argument keep_arguments
16187 * cgraph.h: Likewise.
16188 * cgraphunit.c (cgraph_node::create_wrapper): Usage of new
16189 argument introduced.
16190 * ipa-utils.h (polymorphic_type_binfo_p): Safe check for binfos
16192 * tree-ssa-alias.c (ao_ref_base_alias_set): Static function
16193 transformed to global.
16194 * tree-ssa-alias.h: Likewise.
16196 2014-09-26 Jakub Jelinek <jakub@redhat.com>
16197 Max Ostapenko <m.ostapenko@partner.samsung.com>
16199 * common.opt: New option.
16200 * doc/invoke.texi: Describe new option.
16201 * gcc.c (execute): Don't free first string early, but at the end
16202 of the function. Call retry_ice if compiler exited with
16204 (main): Factor out common code.
16205 (print_configuration): New function.
16206 (files_equal_p): Likewise.
16207 (check_repro): Likewise.
16208 (run_attempt): Likewise.
16209 (do_report_bug): Likewise.
16210 (append_text): Likewise.
16211 (try_generate_repro): Likewise
16213 2014-09-25 Andi Kleen <ak@linux.intel.com>
16215 * config/i386/i386.c (x86_print_call_or_nop): New function.
16216 (x86_function_profiler): Support -mnop-mcount and
16218 * config/i386/i386.opt (-mnop-mcount, -mrecord-mcount): Add
16219 * doc/invoke.texi: Document -mnop-mcount, -mrecord-mcount.
16221 2014-09-25 Jan Hubicka <hubicka@ucw.cz>
16223 * ipa-prop.c (ipa_intraprocedural_devirtualization): Remove.
16224 * ipa-prop.h (ipa_intraprocedural_devirtualization): Remove.
16225 * tree-ssa-prop.c (eliminate_dom_walker::before_dom_children):
16228 2014-09-25 Jan Hubicka <hubicka@ucw.cz>
16230 * ipa-utils.h (subbinfo_with_vtable_at_offset,
16231 type_all_derivations_known_p, type_known_to_have_no_deriavations_p,
16232 types_must_be_same_for_odr, types_odr_comparable): Declare.
16233 (polymorphic_type_binfo_p): Move here from ipa-devirt.c
16234 * ipa-polymorphic-call.c: New file.
16235 (contains_polymorphic_type_p, possible_placement_new,
16236 ipa_polymorphic_call_context::restrict_to_inner_class,
16237 contains_type_p, decl_maybe_in_construction_p,
16238 ipa_polymorphic_call_context::stream_out,
16239 ipa_polymorphic_call_context::debug,
16240 ipa_polymorphic_call_context::stream_in,
16241 ipa_polymorphic_call_context::set_by_decl,
16242 ipa_polymorphic_call_context::set_by_invariant,
16244 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
16245 type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
16246 extr_type_from_vtbl_ptr_store, record_known_type
16247 check_stmt_for_type_change,
16248 ipa_polymorphic_call_context::get_dynamic_type): Move here from
16250 * ipa-devirt.c: No longer include data-streamer.h, lto-streamer.h
16251 and streamer-hooks.h
16252 (contains_polymorphic_type_p, possible_placement_new,
16253 ipa_polymorphic_call_context::restrict_to_inner_class,
16254 contains_type_p, decl_maybe_in_construction_p,
16255 ipa_polymorphic_call_context::stream_out,
16256 ipa_polymorphic_call_context::debug,
16257 ipa_polymorphic_call_context::stream_in,
16258 ipa_polymorphic_call_context::set_by_decl,
16259 ipa_polymorphic_call_context::set_by_invariant,
16261 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
16262 type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
16263 extr_type_from_vtbl_ptr_store, record_known_type
16264 check_stmt_for_type_change,
16265 ipa_polymorphic_call_context::get_dynamic_type): Move to
16266 ipa-polymorphic-call.c
16267 (type_all_derivations_known_p, types_odr_comparable,
16268 types_must_be_same_for_odr): Export.
16269 (type_known_to_have_no_deriavations_p): New function.
16270 * Makefile.in: Add ipa-polymorphic-call.c
16272 2014-09-25 Jan Hubicka <hubicka@ucw.cz>
16274 * ipa-devirt.c (polymorphic_call_target_d): Add SPECULATIVE; reorder
16275 for better storage.
16276 (polymorphic_call_target_hasher::hash): Hash SPECULATIVE.
16277 (possible_polymorphic_call_targets): Instead of computing both
16278 speculative and non-speculative answers, do just one at a time.
16279 Replace NONSPECULATIVE_TARGETSP parameter with SPECULATIVE flag.
16280 (dump_targets): Break out from ...
16281 (dump_possible_polymorphic_call_targets): ... here; dump both
16282 speculative and non-speculative lists.
16283 (ipa_devirt): Update for new possible_polymorphic_call_targets API.
16284 * ipa-utils.h (possible_polymorphic_call_targets): Update.
16286 2014-09-25 Uros Bizjak <ubizjak@gmail.com>
16288 PR rtl-optimization/63348
16289 * emit-rtl.c (try_split): Do not emit extra barrier.
16291 2014-09-25 James Greenhalgh <james.greenhalgh@arm.com>
16293 * config/aarch64/aarch64-protos.h (aarch64_simd_const_bounds): Delete.
16294 * config/aarch64/aarch64-simd.md (aarch64_<sur>q<r>shl<mode>): Use
16296 (aarch64_<sur>shll2_n<mode>): Likewise.
16297 (aarch64_<sur>shr_n<mode>): Likewise.
16298 (aarch64_<sur>sra_n<mode>: Likewise.
16299 (aarch64_<sur>s<lr>i_n<mode>): Likewise.
16300 (aarch64_<sur>qshl<u>_n<mode>): Likewise.
16301 * config/aarch64/aarch64.c (aarch64_simd_const_bounds): Delete.
16302 * config/aarch64/iterators.md (ve_mode): New.
16303 (offsetlr): Remap to infix text for use in new predicates.
16304 * config/aarch64/predicates.md (aarch64_simd_shift_imm_qi): New.
16305 (aarch64_simd_shift_imm_hi): Likewise.
16306 (aarch64_simd_shift_imm_si): Likewise.
16307 (aarch64_simd_shift_imm_di): Likewise.
16308 (aarch64_simd_shift_imm_offset_qi): Likewise.
16309 (aarch64_simd_shift_imm_offset_hi): Likewise.
16310 (aarch64_simd_shift_imm_offset_si): Likewise.
16311 (aarch64_simd_shift_imm_offset_di): Likewise.
16312 (aarch64_simd_shift_imm_bitsize_qi): Likewise.
16313 (aarch64_simd_shift_imm_bitsize_hi): Likewise.
16314 (aarch64_simd_shift_imm_bitsize_si): Likewise.
16315 (aarch64_simd_shift_imm_bitsize_di): Likewise.
16317 2014-09-25 Jiong Wang <jiong.wang@arm.com>
16319 * shrink-wrap.c (move_insn_for_shrink_wrap): Initialize the live-in of
16320 new created BB as the intersection of live-in from "old_dest" and
16321 live-out from "bb".
16323 2014-09-25 Felix Yang <felix.yang@huawei.com>
16325 * lra.c (lra_set_insn_recog_data): Fix typo in comment.
16326 * genautomata.c (merge_states): Ditto.
16328 2014-09-25 Oleg Endo <olegendo@gcc.gnu.org>
16331 * config/sh/sync.md (atomic_test_and_set_soft_imask): Fix typo
16332 in instruction sequence.
16334 2014-09-25 Nick Clifton <nickc@redhat.com>
16337 * config/sh/sync.md (atomic_fetch_nand<mode>_soft_imask): Fix typo
16338 in instruction sequence.
16340 2014-09-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16343 * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin):
16344 Exclude VSX_BUILTIN_XVCMPGEDP_P from special handling.
16346 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
16347 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16348 Anna Tikhonova <anna.tikhonova@intel.com>
16349 Ilya Tocar <ilya.tocar@intel.com>
16350 Andrey Turetskiy <andrey.turetskiy@intel.com>
16351 Ilya Verbin <ilya.verbin@intel.com>
16352 Kirill Yukhin <kirill.yukhin@intel.com>
16353 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16355 * config/i386/sse.md
16356 (define_expand "<avx2_avx512f>_perm<mode>"): Rename to ...
16357 (define_expand "<avx2_avx512>_perm<mode>"): ... this.
16358 (define_expand "avx512f_perm<mode>_mask"): Rename to ...
16359 (define_expand "<avx512>_perm<mode>_mask"): ... this.
16360 Use VI8F_256_512 mode iterator.
16361 (define_insn "<avx2_avx512f>_perm<mode>_1<mask_name>"): Rename to ...
16362 (define_insn "<avx2_avx512bw>_perm<mode>_1<mask_name>"): ... this.
16364 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
16365 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16366 Anna Tikhonova <anna.tikhonova@intel.com>
16367 Ilya Tocar <ilya.tocar@intel.com>
16368 Andrey Turetskiy <andrey.turetskiy@intel.com>
16369 Ilya Verbin <ilya.verbin@intel.com>
16370 Kirill Yukhin <kirill.yukhin@intel.com>
16371 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16373 * config/i386/sse.md
16374 (define_insn "avx_movshdup256<mask_name>"): Add masking.
16375 (define_insn "sse3_movshdup<mask_name>"): Ditto.
16376 (define_insn "avx_movsldup256<mask_name>"): Ditto.
16377 (define_insn "sse3_movsldup<mask_name>"): Ditto.
16378 (define_insn "vec_dupv2df<mask_name>"): Ditto.
16379 (define_insn "*vec_concatv2df"): Add EVEX version.
16381 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
16382 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16383 Anna Tikhonova <anna.tikhonova@intel.com>
16384 Ilya Tocar <ilya.tocar@intel.com>
16385 Andrey Turetskiy <andrey.turetskiy@intel.com>
16386 Ilya Verbin <ilya.verbin@intel.com>
16387 Kirill Yukhin <kirill.yukhin@intel.com>
16388 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16390 * config/i386/sse.md
16391 (define_insn "vec_set<mode>_0"): Add EVEX version.
16393 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
16394 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16395 Anna Tikhonova <anna.tikhonova@intel.com>
16396 Ilya Tocar <ilya.tocar@intel.com>
16397 Andrey Turetskiy <andrey.turetskiy@intel.com>
16398 Ilya Verbin <ilya.verbin@intel.com>
16399 Kirill Yukhin <kirill.yukhin@intel.com>
16400 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16402 * config/i386/sse.md
16404 "<fixsuffix>fix_trunc<mode><sselongvecmodelower>2<mask_name><round_saeonly_name>"):
16406 (define_insn "<fixsuffix>fix_truncv2sfv2di2<mask_name>"): Ditto.
16407 (define_insn "ufix_trunc<mode><sseintvecmodelower>2<mask_name>"): Ditto.
16408 (define_insn "sse2_cvtss2sd<round_saeonly_name>"): Change
16409 "nonimmediate_operand" to "<round_saeonly_nimm_predicate>".
16410 (define_insn "avx_cvtpd2ps256<mask_name>"): Add masking.
16411 (define_expand "sse2_cvtpd2ps_mask): New.
16412 (define_insn "*sse2_cvtpd2ps<mask_name>"): Add masking.
16413 (define_insn "sse2_cvtps2pd<mask_name>"): Add masking.
16415 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
16416 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16417 Anna Tikhonova <anna.tikhonova@intel.com>
16418 Ilya Tocar <ilya.tocar@intel.com>
16419 Andrey Turetskiy <andrey.turetskiy@intel.com>
16420 Ilya Verbin <ilya.verbin@intel.com>
16421 Kirill Yukhin <kirill.yukhin@intel.com>
16422 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16424 * config/i386/i386.c
16425 (avx512f_ufix_notruncv8dfv8si_mask_round): Rename to ...
16426 (ufix_notruncv8dfv8si2_mask_round): ... this.
16427 * config/i386/sse.md
16428 (define_insn "avx512f_cvtdq2pd512_2): Update TARGET check.
16429 (define_insn "avx_cvtdq2pd256_2"): Add EVEX version.
16430 (define_insn "sse2_cvtdq2pd<mask_name>"): Add masking.
16431 (define_insn "avx_cvtpd2dq256<mask_name>"): Ditto.
16432 (define_expand "sse2_cvtpd2dq"): Delete.
16433 (define_insn "sse2_cvtpd2dq<mask_name>"): Add masking and
16434 make 2nd operand const0 vector.
16435 (define_insn "avx512f_ufix_notruncv8dfv8si<mask_name><round_name>"):
16437 (define_mode_attr pd2udqsuff): New.
16439 "ufix_notrunc<mode><si2dfmodelower>2<mask_name><round_name>"): Ditto.
16440 (define_insn "ufix_notruncv2dfv2si2<mask_name>"): Ditto.
16441 (define_insn "*avx_cvttpd2dq256_2"): Delete.
16442 (define_expand "sse2_cvttpd2dq"): Ditto.
16443 (define_insn "sse2_cvttpd2dq<mask_name>"): Add masking and
16444 make 2nd operand const0 vector.
16446 2014-09-25 Jakub Jelinek <jakub@redhat.com>
16448 PR tree-optimization/63341
16449 * tree-vectorizer.h (vect_create_data_ref_ptr,
16450 vect_create_addr_base_for_vector_ref): Add another tree argument
16451 defaulting to NULL_TREE.
16452 * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add byte_offset
16453 argument, pass it down to vect_create_addr_base_for_vector_ref.
16454 (vect_create_addr_base_for_vector_ref): Add byte_offset argument,
16455 add that to base_offset too if non-NULL.
16456 * tree-vect-stmts.c (vectorizable_load): Add byte_offset variable,
16457 for dr_explicit_realign_optimized set it to vector byte size
16458 - 1 instead of setting offset, pass byte_offset down to
16459 vect_create_data_ref_ptr.
16461 2014-09-24 Jan Hubicka <hubicka@ucw.cz>
16463 * ipa-devirt.c (possible_polymorphic_call_targets): Remove
16464 forgotten debug output; canonicalize querries more wtih LTO.
16466 2014-09-24 Jan Hubicka <hubicka@ucw.cz>
16468 * cgraph.h (class ipa_polymorphic_call_context): Move here from
16469 ipa-utils.h; add stream_int and stream_out methods.
16470 (cgraph_indirect_call_info): Remove SPECILATIVE_OFFSET,
16471 OUTER_TYPE, SPECULATIVE_OUTER_TYPE, MAYBE_IN_CONSTRUCTION
16472 MAYBE_DERIVED_TYPE and SPECULATIEVE_MAYBE_DERIVED_TYPE;
16474 (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
16475 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
16476 ipa_polymorphic_call_context::clear_speculation,
16477 ipa_polymorphic_call_context::clear_outer_type): Move here from
16479 * ipa-utils.h (class ipa_polymorphic_call_context): Move to cgraph.h
16480 (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
16481 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
16482 ipa_polymorphic_call_context::clear_speculation,
16483 ipa_polymorphic_call_context::clear_outer_type): Likewise.
16484 * ipa-devirt.c: Include data-streamer.h, lto-streamer.h and
16486 (ipa_polymorphic_call_context::stream_out): New method.
16487 (ipa_polymorphic_call_context::stream_in): New method.
16488 (noncall_stmt_may_be_vtbl_ptr_store): Add forgotten static.
16489 * ipa-prop.c (ipa_analyze_indirect_call_uses): Do not care about
16491 (ipa_analyze_call_uses): Simplify.
16492 (update_indirect_edges_after_inlining): Do not care about outer_type.
16493 (ipa_write_indirect_edge_info): Update.
16494 (ipa_write_indirect_edge_info): Likewise.
16495 * cgraph.c (cgraph_node::create_indirect_edge): Simplify.
16496 (dump_edge_flags): Break out from ...
16497 (cgraph_node::dump): ... here; dump indirect edges.
16499 2014-09-24 Jan Hubicka <hubicka@ucw.cz>
16501 * ipa-utils.h (polymorphic_call_context): Add
16502 metdhos dump, debug and clear_outer_type.
16503 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
16504 (ipa_polymorphic_call_context::clear_outer_type): New method.
16505 * ipa-prop.c (ipa_analyze_call_uses): Do not overwrite offset.
16506 * ipa-devirt.c (types_odr_comparable): New function.
16507 (types_must_be_same_for_odr): New function.
16508 (odr_subtypes_equivalent_p): Simplify.
16509 (possible_placement_new): Break out from ...
16510 (ipa_polymorphic_call_context::restrict_to_inner_type): ... here;
16511 be more cuatious about returning false in cases the context may be
16512 valid in derived type or via placement new.
16513 (contains_type_p): Clear maybe_derived_type
16514 (ipa_polymorphic_call_context::dump): New method.
16515 (ipa_polymorphic_call_context::debug): New method.
16516 (ipa_polymorphic_call_context::set_by_decl): Cleanup comment.
16517 (ipa_polymorphic_call_context::set_by_invariant): Simplify.
16518 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
16519 (possible_polymorphic_call_targets): Trust
16520 context.restrict_to_inner_class to suceed on all valid cases;
16521 remove confused sanity check.
16522 (dump_possible_polymorphic_call_targets): Simplify.
16524 2014-09-24 Aldy Hernandez <aldyh@redhat.com>
16526 * cgraph.h, dbxout.c, dwarfout2.c, gimple-fold.c,
16527 lto-streamer-out.c, print-tree.c, symtab.c, tree-inline.c,
16528 tree-streamer-in.c, tree-streamer-out.c, tree.c, tree.h,
16529 varpool.c: Rename all instances of DECL_ABSTRACT to
16532 2014-09-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16534 * config/rs6000/rs6000.c (insn_is_swappable_p): Don't provide
16535 special handling for stores whose SET_SRC is an UNSPEC (such as
16538 2014-09-24 Jiong Wang <jiong.wang@arm.com>
16540 * shrink-wrap.c (move_insn_for_shrink_wrap): Add further check when
16541 !REG_P (src) to release more instruction sink opportunities.
16543 2014-09-24 Wilco Dijkstra <wilco.dijkstra@arm.com>
16545 * config/aarch64/aarch64.c (aarch64_register_move_cost): Add register
16546 move costs for 128-bit types.
16548 2014-09-24 Martin Jambor <mjambor@suse.cz>
16550 * ipa-prop.c (ipa_edge_duplication_hook): Update controlled_use_count
16551 when duplicating a PASS_THROUGH jump function when creating a
16554 2014-09-24 Marek Polacek <polacek@redhat.com>
16558 * asan.c (maybe_instrument_call): Add default case.
16559 * ipa-pure-const.c (special_builtin_state): Likewise.
16560 * predict.c (expr_expected_value_1): Likewise.
16561 * lto-streamer-out.c (write_symbol): Initialize variable.
16563 2014-09-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16565 * config/aarch64/arm_neon.h (vmuld_lane_f64): Use macro for getting
16567 (vmuld_laneq_f64): Likewise.
16568 (vmuls_lane_f32): Likewise.
16569 (vmuls_laneq_f32): Likewise.
16571 2014-09-24 Kirill Yukhin <kirill.yukhin@intel.com>
16574 * varpool.c (varpool_node::add): Pass decl attributes
16575 to lookup_attribute.
16577 2014-09-24 Jakub Jelinek <jakub@redhat.com>
16580 * asan.c (asan_expand_check_ifn): Fix up align >= 8 optimization.
16582 2014-09-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
16584 PR tree-optimization/63266
16585 * tree-ssa-math-opts.c (struct symbolic_number): Add comment about
16586 marker for unknown byte value.
16587 (MARKER_MASK): New macro.
16588 (MARKER_BYTE_UNKNOWN): New macro.
16589 (HEAD_MARKER): New macro.
16590 (do_shift_rotate): Mark bytes with unknown values due to sign
16591 extension when doing an arithmetic right shift. Replace hardcoded
16592 mask for marker by new MARKER_MASK macro.
16593 (find_bswap_or_nop_1): Likewise and adjust ORing of two symbolic
16594 numbers accordingly.
16596 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
16597 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16598 Anna Tikhonova <anna.tikhonova@intel.com>
16599 Ilya Tocar <ilya.tocar@intel.com>
16600 Andrey Turetskiy <andrey.turetskiy@intel.com>
16601 Ilya Verbin <ilya.verbin@intel.com>
16602 Kirill Yukhin <kirill.yukhin@intel.com>
16603 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16605 * config/i386/sse.md
16607 "<sse2_avx_avx512f>_fix_notrunc<sf2simodelower><mode><mask_name>"):
16609 (define_insn "fix_truncv8sfv8si2<mask_name>"): Ditto.
16610 (define_insn "fix_truncv4sfv4si2<mask_name>"): Ditto.
16612 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
16613 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16614 Anna Tikhonova <anna.tikhonova@intel.com>
16615 Ilya Tocar <ilya.tocar@intel.com>
16616 Andrey Turetskiy <andrey.turetskiy@intel.com>
16617 Ilya Verbin <ilya.verbin@intel.com>
16618 Kirill Yukhin <kirill.yukhin@intel.com>
16619 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16621 * config/i386/sse.md
16622 (define_c_enum "unspec"): Add UNSPEC_PSHUFHW, UNSPEC_PSHUFLW.
16623 (define_insn "<mask_codefor>avx512bw_pshuflwv32hi<mask_name>"): New.
16624 (define_expand "avx512vl_pshuflwv3_mask"): Ditto.
16625 (define_insn "avx2_pshuflw_1<mask_name>"): Add masking.
16626 (define_expand "avx512vl_pshuflw_mask"): New.
16627 (define_insn "sse2_pshuflw_1<mask_name>"): Add masking.
16628 (define_insn "<mask_codefor>avx512bw_pshufhwv32hi<mask_name>"): New.
16629 (define_expand "avx512vl_pshufhwv3_mask"): Ditto.
16630 (define_insn "avx2_pshufhw_1<mask_name>"): Add masking.
16631 (define_expand "avx512vl_pshufhw_mask"): New.
16632 (define_insn "sse2_pshufhw_1<mask_name>"): Add masking.
16634 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
16635 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16636 Anna Tikhonova <anna.tikhonova@intel.com>
16637 Ilya Tocar <ilya.tocar@intel.com>
16638 Andrey Turetskiy <andrey.turetskiy@intel.com>
16639 Ilya Verbin <ilya.verbin@intel.com>
16640 Kirill Yukhin <kirill.yukhin@intel.com>
16641 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16643 * config/i386/i386.c
16644 (ix86_expand_args_builtin): Handle CODE_FOR_sse2_shufpd,
16645 CODE_FOR_sse2_sse2_shufpd_mask, CODE_FOR_sse2_avx512dq_shuf_f64x2_mask,
16646 CODE_FOR_sse2_avx512dq_shuf_i64x2_mask,
16647 CODE_FOR_sse2_avx512vl_shuf_i32x4_mask and
16648 CODE_FOR_sse2_avx512vl_shuf_f32x4_mask.
16649 * config/i386/sse.md
16650 (define_expand "avx512dq_shuf_<shuffletype>64x2_mask"): New.
16652 "<mask_codefor>avx512dq_shuf_<shuffletype>64x2_1<mask_name>"): Ditto.
16653 (define_expand "avx512vl_shuf_<shuffletype>32x4_mask"): Ditto.
16655 "<mask_codefor>avx512vl_shuf_<shuffletype>32x4_1<mask_name>"): Ditto.
16656 (define_expand "avx512vl_pshufdv3_mask"): Ditto.
16657 (define_insn "avx2_pshufd_1<mask_name>"): Add masking.
16658 (define_expand "avx512vl_pshufd_mask"): New.
16659 (define_insn "sse2_pshufd_1<mask_name>"): Add masking.
16661 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
16662 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16663 Anna Tikhonova <anna.tikhonova@intel.com>
16664 Ilya Tocar <ilya.tocar@intel.com>
16665 Andrey Turetskiy <andrey.turetskiy@intel.com>
16666 Ilya Verbin <ilya.verbin@intel.com>
16667 Kirill Yukhin <kirill.yukhin@intel.com>
16668 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16670 * config/i386/i386.c
16671 (CODE_FOR_avx2_extracti128): Rename to ...
16672 (CODE_FOR_avx_vextractf128v4di): this.
16673 (CODE_FOR_avx2_inserti128): Rename to ...
16674 (CODE_FOR_avx_vinsertf128v4di): this.
16675 (ix86_expand_args_builtin): Handle CODE_FOR_avx_vinsertf128v4di,
16676 CODE_FOR_avx_vextractf128v4di.
16677 (ix86_expand_args_builtin): Handle CODE_FOR_avx512dq_vinsertf32x8_mask,
16678 CODE_FOR_avx512dq_vinserti32x8_mask, CODE_FOR_avx512vl_vinsertv4df,
16679 CODE_FOR_avx512vl_vinsertv4di, CODE_FOR_avx512vl_vinsertv8sf,
16680 CODE_FOR_avx512vl_vinsertv8si.
16681 * config/i386/sse.md
16683 "<extract_type>_vinsert<shuffletype><extract_suf>_mask"): Use
16684 AVX512_VEC mode iterator.
16686 "<mask_codefor><extract_type>_vinsert<shuffletype><extract_suf>_1<mask_name>"):
16689 "<extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask"): Use
16690 AVX512_VEC_2 mode iterator.
16691 (define_insn "vec_set_lo_<mode><mask_name>"): New.
16692 (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
16693 (define_expand "avx512vl_vinsert<mode>"): Ditto.
16694 (define_insn "avx2_vec_set_lo_v4di"): Delete.
16695 (define_insn "avx2_vec_set_hi_v4di"): Ditto.
16696 (define_insn "vec_set_lo_<mode><mask_name>"): Add masking.
16697 (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
16698 (define_insn "vec_set_lo_<mode><mask_name>"): Ditto.
16699 (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
16700 (define_expand "avx2_extracti128"): Delete.
16701 (define_expand "avx2_inserti128"): Ditto.
16703 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
16704 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16705 Anna Tikhonova <anna.tikhonova@intel.com>
16706 Ilya Tocar <ilya.tocar@intel.com>
16707 Andrey Turetskiy <andrey.turetskiy@intel.com>
16708 Ilya Verbin <ilya.verbin@intel.com>
16709 Kirill Yukhin <kirill.yukhin@intel.com>
16710 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16712 * config/i386/sse.md
16713 (define_insn "avx2_<code>v16qiv16hi2<mask_name>"): Add masking.
16714 (define_insn "avx512bw_<code>v32qiv32hi2<mask_name>"): New.
16715 (define_insn "sse4_1_<code>v8qiv8hi2<mask_name>"): Add masking.
16716 (define_insn "avx2_<code>v8qiv8si2<mask_name>"): Ditto.
16717 (define_insn "sse4_1_<code>v4qiv4si2<mask_name>"): Ditto.
16718 (define_insn "avx2_<code>v8hiv8si2<mask_name>"): Ditto.
16719 (define_insn "sse4_1_<code>v4hiv4si2<mask_name>"): Ditto.
16720 (define_insn "avx2_<code>v4qiv4di2<mask_name>"): Ditto.
16721 (define_insn "sse4_1_<code>v2qiv2di2<mask_name>"): Ditto.
16722 (define_insn "avx2_<code>v4hiv4di2<mask_name>"): Ditto.
16723 (define_insn "sse4_1_<code>v2hiv2di2<mask_name>"): Ditto.
16724 (define_insn "avx2_<code>v4siv4di2<mask_name>"): Ditto.
16725 (define_insn "sse4_1_<code>v2siv2di2<mask_name>"): Ditto.
16727 2014-09-24 Zhenqiang Chen <zhenqiang.chen@arm.com>
16729 PR rtl-optimization/63210
16730 * ira-color.c (assign_hard_reg): Ignore conflict cost if the
16731 HARD_REGNO is not available for CONFLICT_A.
16733 2014-09-23 Andi Kleen <ak@linux.intel.com>
16735 * cgraph.h (symtab_node): Add no_reorder attribute.
16736 (symbol_table::output_asm_statements): Remove.
16737 * cgraphclones.c (cgraph_node::create_clone): Copy no_reorder.
16738 (cgraph_node::create_version_clone): Dito.
16739 (symbol_table::output_asm_statements): Remove.
16740 * trans-mem.c (ipa_tm_create_version_alias): Dito.
16741 * cgraphunit.c (varpool_node::finalize_decl): Check no_reorder.
16742 (output_in_order): Add no_reorder flag. Only handle no_reorder
16744 (symbol_table::compile): Add separate pass for no_reorder nodes.
16745 (process_common_attributes): Set no_reorder flag in symtab node.
16747 (process_function_and_variable_attributes): Pass symtab nodes to
16748 process_common_attributes.
16749 * doc/extend.texi (no_reorder): Document no_reorder attribute.
16750 * lto-cgraph.c (lto_output_node): Serialize no_reorder.
16751 (lto_output_varpool_node): Dito.
16752 (input_overwrite_node): Dito.
16753 (input_varpool_node): Dito.
16754 * varpool.c (varpool_node::add): Set no_reorder attribute.
16755 (symbol_table::remove_unreferenced_decls): Handle no_reorder.
16756 (symbol_table::output_variables): Dito.
16757 * symtab.c (symtab_node::dump_base): Print no_reorder.
16759 2014-09-23 Jiong Wang <jiong.wang@arm.com>
16761 * shrink-wrap.c (try_shrink_wrapping): Check PIC_OFFSET_TABLE_REGNUM
16762 not be INVALID_REGNUM.
16764 2014-09-23 Thomas Schwinge <thomas@codesourcery.com>
16766 * configure: Regenerate.
16768 2014-09-23 Alan Lawrence <alan.lawrence@arm.com>
16770 * combine.c (simplify_shift_const_1): Allow commuting (ashiftrt (xor))
16771 when result_mode == shift_mode.
16773 2014-09-23 Kostya Serebryany <kcc@google.com>
16775 Update to match the changed asan API.
16776 * asan.c (asan_global_struct): Update the __asan_global definition
16777 to match the new API.
16778 (asan_add_global): Ditto.
16779 * sanitizer.def (BUILT_IN_ASAN_INIT): Rename __asan_init_v3
16782 2014-09-23 Michael Meissner <meissner@linux.vnet.ibm.com>
16784 * config/rs6000/rs6000.md (f32_vsx): New mode attributes to
16785 refine the constraints used on 32/64-bit floating point moves.
16786 (f32_av): Likewise.
16787 (f64_vsx): Likewise.
16788 (f64_dm): Likewise.
16789 (f64_av): Likewise.
16790 (BOOL_REGS_OUTPUT): Use wt constraint for TImode instead of wa.
16791 (BOOL_REGS_OP1): Likewise.
16792 (BOOL_REGS_OP2): Likewise.
16793 (BOOL_REGS_UNARY): Likewise.
16794 (mov<mode>_hardfloat, SFmode/SDmode): Tighten down constraints for
16795 32/64-bit floating point moves. Do not use wa, instead use ww/ws
16796 for moves involving VSX registers. Do not use constraints that
16797 target VSX registers for decimal types.
16798 (mov<mode>_hardfloat32, DFmode/DDmode): Likewise.
16799 (mov<mode>_hardfloat64, DFmode/DDmode): Likewise.
16801 2014-09-23 Jan Hubicka <hubicka@ucw.cz>
16803 * tree.h (int_bit_position): Turn into inline function;
16804 implement using wide int.
16805 * tree.c (int_bit_position): Remove.
16807 2014-09-23 Richard Sandiford <richard.sandiford@arm.com>
16810 * target-globals.c (target_globals::~target_globals): Fix location
16811 of ira_int destruction.
16813 2014-09-23 Renlin Li <renlin.li@arm.com>
16815 * config/aarch64/aarch64.md (return): New.
16816 (simple_return): Likewise.
16817 * config/aarch64/aarch64.c (aarch64_use_return_insn_p): New.
16818 * config/aarch64/aarch64-protos.h (aarch64_use_return_insn_p): New.
16820 2014-09-23 Wilco Dijkstra <wdijkstr@arm.com>
16822 * common/config/aarch64/aarch64-common.c:
16823 (default_options aarch_option_optimization_table):
16824 Default to -fsched-pressure.
16826 2014-09-23 Ilya Enkovich <ilya.enkovich@intel.com>
16828 * cfgcleanup.c (try_optimize_cfg): Do not remove label
16829 with LABEL_PRESERVE_P flag set.
16831 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
16832 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16833 Anna Tikhonova <anna.tikhonova@intel.com>
16834 Ilya Tocar <ilya.tocar@intel.com>
16835 Andrey Turetskiy <andrey.turetskiy@intel.com>
16836 Ilya Verbin <ilya.verbin@intel.com>
16837 Kirill Yukhin <kirill.yukhin@intel.com>
16838 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16840 * config/i386/sse.md
16841 (define_expand "avx_shufpd256<mask_expand4_name>"): Add masking.
16842 (define_insn "avx_shufpd256_1<mask_name>"): Ditto.
16843 (define_expand "sse2_shufpd<mask_expand4_name>"): Ditto.
16844 (define_insn "sse2_shufpd_v2df_mask"): New.
16846 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
16847 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16848 Anna Tikhonova <anna.tikhonova@intel.com>
16849 Ilya Tocar <ilya.tocar@intel.com>
16850 Andrey Turetskiy <andrey.turetskiy@intel.com>
16851 Ilya Verbin <ilya.verbin@intel.com>
16852 Kirill Yukhin <kirill.yukhin@intel.com>
16853 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16855 * config/i386/sse.md
16856 (define_expand "avx_shufps256<mask_expand4_name>"): Add masking.
16857 (define_insn "avx_shufps256_1<mask_name>"): Ditto.
16858 (define_expand "sse_shufps<mask_expand4_name>"): Ditto.
16859 (define_insn "sse_shufps_v4sf_mask"): New.
16861 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
16862 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16863 Anna Tikhonova <anna.tikhonova@intel.com>
16864 Ilya Tocar <ilya.tocar@intel.com>
16865 Andrey Turetskiy <andrey.turetskiy@intel.com>
16866 Ilya Verbin <ilya.verbin@intel.com>
16867 Kirill Yukhin <kirill.yukhin@intel.com>
16868 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16870 * config/i386/sse.md
16871 (define_insn "avx_unpckhps256<mask_name>"): Add masking.
16872 (define_insn "vec_interleave_highv4sf<mask_name>"): Ditto.
16873 (define_insn "avx_unpcklps256<mask_name>"): Ditto.
16874 (define_insn "unpcklps128_mask"): New.
16876 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
16877 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
16878 Anna Tikhonova <anna.tikhonova@intel.com>
16879 Ilya Tocar <ilya.tocar@intel.com>
16880 Andrey Turetskiy <andrey.turetskiy@intel.com>
16881 Ilya Verbin <ilya.verbin@intel.com>
16882 Kirill Yukhin <kirill.yukhin@intel.com>
16883 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
16885 * config/i386/sse.md
16886 (define_insn "avx_unpckhpd256<mask_name>"): Add masking.
16887 (define_insn "avx512vl_unpckhpd128_mask"): New.
16888 (define_expand "avx_movddup256<mask_name>"): Add masking.
16889 (define_expand "avx_unpcklpd256<mask_name>"): Ditto.
16890 (define_insn "*avx_unpcklpd256<mask_name>"): Ditto.
16891 (define_insn "avx512vl_unpcklpd128_mask"): New.
16893 2014-09-22 Joseph Myers <joseph@codesourcery.com>
16895 * doc/tm.texi.in (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16896 * doc/tm.texi: Regenerate.
16897 * system.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Poison.
16898 * config/alpha/alpha.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16899 * config/i386/i386-interix.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
16901 * config/i386/i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16902 * config/i386/rtemself.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16903 * config/ia64/ia64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16904 * config/m68k/m68k.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16905 * config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
16907 * config/mips/mips.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16908 * config/mips/n32-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16909 * config/msp430/msp430.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16910 * config/rl78/rl78.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16911 * config/rs6000/rs6000.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16912 * config/rx/rx.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16913 * config/s390/s390.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16914 * config/sparc/freebsd.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16915 * config/sparc/linux.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16916 * config/sparc/linux64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
16917 * config/sparc/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
16920 2014-09-22 Jan Hubicka <hubicka@ucw.cz>
16922 * tree-ssa-ccp.c (prop_value_d): Rename to ...
16923 (ccp_prop_value_t): ... this one to avoid ODR violation; update uses.
16924 * ipa-prop.c (struct type_change_info): Rename to ...
16925 (prop_type_change_info): ... this; update uses.
16926 * ggc-page.c (globals): Rename to ...
16927 (static struct ggc_globals): ... this; update uses.
16928 * tree-ssa-loop-im.c (mem_ref): Rename to ...
16929 (im_mem_ref): ... this; update uses.
16930 * ggc-common.c (loc_descriptor): Rename to ...
16931 (ggc_loc_descriptor): ... this; update uses.
16932 * lra-eliminations.c (elim_table): Rename to ...
16933 (lra_elim_table): ... this; update uses.
16934 * bitmap.c (output_info): Rename to ...
16935 (bitmap_output_info): ... this; update uses.
16936 * gcse.c (expr): Rename to ...
16937 (gcse_expr) ... this; update uses.
16938 (occr): Rename to ...
16939 (gcse_occr): .. this; update uses.
16940 * tree-ssa-copy.c (prop_value_d): Rename to ...
16941 (prop_value_t): ... this.
16942 * predict.c (block_info_def): Rename to ...
16943 (block_info): ... this; update uses.
16944 (edge_info_def): Rename to ...
16945 (edge_info): ... this; update uses.
16946 * profile.c (bb_info): Rename to ...
16947 (bb_profile_info): ... this; update uses.
16948 * alloc-pool.c (output_info): Rename to ...
16949 (pool_output_info): ... this; update uses.
16950 * ipa-cp.c (topo_info): Rename to ..
16951 (ipa_topo_info): ... this; update uses.
16952 * tree-nrv.c (nrv_data): Rename to ...
16953 (nrv_data_t): ... this; update uses.
16954 * ipa-split.c (bb_info): Rename to ...
16955 (split_bb_info): ... this one.
16956 * profile.h (edge_info): Rename to ...
16957 (edge_profile_info): ... this one; update uses.
16958 * dse.c (bb_info): Rename to ...
16959 (dse_bb_info): ... this one; update uses.
16960 * cprop.c (occr): Rename to ...
16961 (cprop_occr): ... this one; update uses.
16962 (expr): Rename to ...
16963 (cprop_expr): ... this one; update uses.
16965 2014-09-22 Jason Merrill <jason@redhat.com>
16967 * Makefile.in (check-parallel-%): Add @.
16969 2014-09-22 James Greenhalgh <james.greenhalgh@arm.com>
16971 * config/aarch64/geniterators.sh: New.
16972 * config/aarch64/iterators.md (VDQF_DF): New.
16973 * config/aarch64/t-aarch64: Generate aarch64-builtin-iterators.h.
16974 * config/aarch64/aarch64-builtins.c (BUILTIN_*) Remove.
16976 2014-09-22 Peter A. Bigot <pab@pabigot.com>
16978 * config/msp430/msp430.h (LIB_SPEC): Remove automatic addition of
16979 -lnosys when -msim absent.
16981 2014-09-22 Alan Lawrence <alan.lawrence@arm.com>
16983 * fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs.
16985 2014-09-22 Richard Biener <rguenther@suse.de>
16987 * gimplify.c (gimplify_init_constructor): Do not leave
16988 non-GIMPLE vector constructors around.
16989 * tree-cfg.c (verify_gimple_assign_single): Verify that
16990 CONSTRUCTORs have gimple elements.
16992 2014-09-22 Jakub Jelinek <jakub@redhat.com>
16995 * omp-low.c (ipa_simd_modify_stmt_ops): For debug stmts
16996 insert a debug source bind stmt setting DEBUG_EXPR_DECL
16997 instead of a normal gimple assignment stmt.
16999 2014-09-22 James Greenhalgh <james.greenhalgh@arm.com>
17001 * config/bfin/bfin.md: Fix use of constraints in define_split.
17003 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
17005 * config/i386/i386.c (ix86_cannot_change_mode_class): Remove
17006 GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test.
17008 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
17010 * hard-reg-set.h: Include hash-table.h.
17011 (target_hard_regs): Add a finalize method and a x_simplifiable_subregs
17013 * target-globals.c (target_globals::~target_globals): Call
17014 hard_regs->finalize.
17015 * rtl.h (subreg_shape): New structure.
17016 (shape_of_subreg): New function.
17017 (simplifiable_subregs): Declare.
17018 * reginfo.c (simplifiable_subreg): New structure.
17019 (simplifiable_subregs_hasher): Likewise.
17020 (simplifiable_subregs): New function.
17021 (invalid_mode_changes): Delete.
17022 (alid_mode_changes, valid_mode_changes_obstack): New variables.
17023 (record_subregs_of_mode): Remove subregs_of_mode parameter.
17024 Record valid mode changes in valid_mode_changes.
17025 (find_subregs_of_mode): Remove subregs_of_mode parameter.
17026 Update calls to record_subregs_of_mode.
17027 (init_subregs_of_mode): Remove invalid_mode_changes and bitmap
17028 handling. Initialize new variables. Update call to
17029 find_subregs_of_mode.
17030 (invalid_mode_change_p): Check new variables instead of
17031 invalid_mode_changes.
17032 (finish_subregs_of_mode): Finalize new variables instead of
17033 invalid_mode_changes.
17034 (target_hard_regs::finalize): New function.
17035 * ira-costs.c (print_allocno_costs): Call invalid_mode_change_p
17036 even when CLASS_CANNOT_CHANGE_MODE is undefined.
17038 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
17040 * combine.c (subst): Use simplify_subreg_regno rather than
17041 REG_CANNOT_CHANGE_MODE_P to detect invalid mode changes.
17043 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
17045 * rtl.h (subreg_info): Expand commentary
17046 * rtlanal.c (subreg_get_info): Likewise.
17048 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
17050 * hard-reg-set.h (COPY_HARD_REG_SET, COMPL_HARD_REG_SET)
17051 (AND_HARD_REG_SET, AND_COMPL_HARD_REG_SET, IOR_HARD_REG_SET)
17052 (IOR_COMPL_HARD_REG_SET): Allow the "from" set to be constant.
17054 2014-09-22 Zhenqiang Chen <zhenqiang.chen@arm.com>
17056 * config/arm/arm.c: #include "tm-constrs.h"
17057 (thumb1_size_rtx_costs): Adjust rtx costs.
17059 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
17061 * configure.ac (target_header_dir): Move block defining
17062 this to before the block setting inhibit_libc.
17063 (inhibit_libc): When considering $with_headers, just
17064 check it it's explicitly "no". If not, also check if
17065 $target_header_dir/stdio.h is present. If not, set
17067 * configure: Regenerate.
17069 2014-09-21 Patrick Oppenlander <pattyo.lists@gmail.com>
17071 * config/rs6000/t-spe (MULTILIB_EXCEPTIONS): Allow isel without SPE.
17073 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
17075 * config/rs6000/rs6000.md (div<mode>3): Fix comment. Use a different
17076 insn for divides by integer powers of two.
17077 (div<mode>3_sra, *div<mode>3_sra_dot, *div<mode>3_sra_dot2): New.
17078 (mod<mode>3): Fix formatting.
17079 (three anonymous define_insn and two define_split): Delete.
17081 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
17083 * config/rs6000/rs6000.md (ashr<mode>3, *ashr<mode>3, *ashrsi3_64,
17084 *ashr<mode>3_dot, *ashr<mode>3_dot2): Clobber CA_REGNO.
17085 (floatdisf2_internal2): Ditto.
17086 (ashrdi3_no_power): Ditto. Fix formatting.
17088 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
17090 * config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,
17091 popcntb<mode>2, popcntd<mode>2, parity<mode>2, parity<mode>2_cmpb):
17094 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
17096 * config/rs6000/rs6000.md (strlensi): Don't use subsi3 with a
17097 constant, use addsi3 directly.
17098 (three anonymous define_insn, two define_split): Delete.
17099 (sub<mode>3): Move. Do not allow constant second operand.
17100 Generate different insn for constant first operand.
17101 (*subf<mode>3, *subf<mode>3_dot, *subf<mode>3_dot2): New.
17102 (subf<mode>3_imm): New.
17103 (ctz<mode>2, ffs<mode>2): Clobber CA_REGNO where required.
17104 (*plus_ltu<mode>): Only handle registers.
17105 (*plus_ltu<mode>_1): New. Handle integer third operand.
17106 (*plus_gtu<mode>): Only handle registers.
17107 (*plus_gtu<mode>_1): New. Handle integer third operand.
17109 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
17111 * config/rs6000/rs6000.md (iorxor): New code_iterator.
17112 (iorxor): New code_attr.
17113 (IORXOR): New code_attr.
17114 (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): Delete.
17115 (ior<mode>3, xor<mode>3): Delete.
17116 (<iorxor><mode>3): New.
17117 (splitter for "big" integer ior, xor): New.
17118 (*bool<mode>3): Move. Also handle AND.
17119 (*bool<mode>3_dot, *bool<mode>3_dot2): Also handle AND.
17120 (splitter for "big" integer ior, xor): Delete.
17122 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
17124 * config/rs6000/rs6000.md (*neg<mode>2_internal): Delete.
17125 (two anonymous define_insn and two define_split): Delete.
17126 (*neg<mode>2, *neg<mode>2_dot, *neg<mode>2_dot2): New.
17128 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
17130 * config/rs6000/rs6000.md (*one_cmpl<mode>2): Generate "not" insn.
17131 (two anonymous define_insn and two define_split): Delete.
17132 (*one_cmpl<mode>2_dot, *one_cmpl<mode>2_dot2): New.
17134 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
17136 * config/rs6000/rs6000.c (rs6000_rtx_costs) <NE>: New.
17138 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
17140 * config/rs6000/predicates.md (ca_operand): Allow subregs.
17141 (input_operand): Do not allow ca_operand.
17142 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): For the
17143 carry bit, allow SImode and Pmode.
17144 (rs6000_init_hard_regno_mode_ok): Make the carry bit class NO_REGS.
17146 2014-09-21 Uros Bizjak <ubizjak@gmail.com>
17148 * config/i386/i386.c (ix86_expand_call): Generate MS->SYSV extra
17149 clobbered registers using clobber_reg. Remove UNSPEC decoration.
17150 * config/i386/i386.md (unspec) <UNSPEC_MS_TO_SYSV_CALL>: Remove.
17151 (*call_rex64_ms_sysv): Remove.
17152 (*call_value_rex64_ms_sysv): Ditto.
17153 * config/i386/predicates.md (call_rex64_ms_sysv_operation): Remove.
17155 2014-09-20 Joern Rennecke <joern.rennecke@embecosm.com>
17157 * config/epiphany/epiphany.md (sub_f_add_imm): Change constraint of
17158 operand 3 to "CnL".
17160 2014-09-20 Andreas Schwab <schwab@suse.de>
17162 * config/ia64/ia64.md: Remove constraints from define_split
17165 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
17167 * ipa-utils.h (ipa_polymorphic_call_context): Turn into class;
17169 (possible_polymorphic_call_targets,
17170 dump_possible_polymorphic_call_targets,
17171 possible_polymorphic_call_target_p,
17172 possible_polymorphic_call_target_p): Simplify.
17173 (get_dynamic_type): Remove.
17174 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
17175 (clear_speculation): Bring to ipa-deivrt.h
17176 (get_class_context): Rename to ...
17177 (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
17178 (contains_type_p): Update.
17179 (get_dynamic_type): Rename to ...
17180 ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
17181 (possible_polymorphic_call_targets): UPdate.
17182 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
17183 * ipa-prop.c (ipa_analyze_call_uses): Update.
17185 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
17187 * ipa-visibility.c (varpool_node::externally_visible_p): Do not
17188 privatize dynamic TLS variables.
17190 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
17192 * diagnostic.c (warning_n): New function.
17193 * diagnostic-core.h (warning_n): Declare.
17194 * ipa-devirt.c (ipa_devirt): Handle singulars correctly;
17195 output dynamic counts when available.
17197 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
17199 PR tree-optimization/63255
17200 * ipa.c (symbol_table::remove_unreachable_nodes): Fix ordering
17201 issue in setting body_removed flag.
17203 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
17206 * c-family/c-common.c (handle_alias_ifunc_attribute): Check
17207 that visibility change is possible
17208 (handle_weakref_attribute): Likewise.
17209 * cgraph.h (symtab_node): Add method get_create and
17210 field refuse_visibility_changes.
17211 (symtab_node::get_create): New method.
17212 * fold-const.c (tree_single_nonzero_warnv_p): Use get_create.
17213 * varasm.c (mark_weak): Verify that visibility change is possible.
17215 2014-09-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17217 * config/rs6000/predicates.md (fusion_gpr_mem_load): Move testing
17218 for base_reg_operand to be common between LO_SUM and PLUS.
17219 (fusion_gpr_mem_combo): New predicate to match a fused address
17220 that combines the addis and memory offset address.
17222 * config/rs6000/rs6000-protos.h (fusion_gpr_load_p): Change
17224 (emit_fusion_gpr_load): Likewise.
17226 * config/rs6000/rs6000.c (fusion_gpr_load_p): Change calling
17227 signature to pass each argument separately, rather than
17228 using an operands array. Rewrite the insns found by peephole2 to
17229 be a single insn, rather than hoping the insns will still be
17230 together when the peephole pass is done. Drop being called via a
17232 (emit_fusion_gpr_load): Change calling signature to be called from
17233 the fusion_gpr_load_<mode> insns with a combined memory address
17234 instead of the peephole pass passing the addis and offset
17237 * config/rs6000/rs6000.md (UNSPEC_FUSION_GPR): New unspec for GPR
17239 (power8 fusion peephole): Drop support for doing power8 via a
17240 normal peephole that was created by the peephole2 pass.
17241 (power8 fusion peephole2): Create a new insn with the fused
17242 address, so that the fused operation is kept together after
17243 register allocation is done.
17244 (fusion_gpr_load_<mode>): Likewise.
17246 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
17249 * tree.c (need_assembler_name_p): Do not mangle variadic types.
17251 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17253 * recog.c (scratch_operand): Do not simply allow all hard registers:
17254 only allow those that are allocatable.
17256 2014-09-19 Felix Yang <felix.yang@huawei.com>
17258 * cfgrtl.c ira.c ira-color.c ira-conflicts ira-lives.c: Update
17259 comments and fix spacing to conform to coding style.
17261 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
17263 * genrecog.c (validate_pattern): Allow empty constraints in
17266 2014-09-19 Aldy Hernandez <aldyh@redhat.com>
17268 * dwarf2out.c (decl_ultimate_origin): Update comment.
17269 * tree.c (block_ultimate_origin): Same.
17271 2014-09-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17273 * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
17274 Update GCC version name to GCC 5.
17275 (rs6000_function_arg_boundary): Likewise.
17276 (rs6000_function_arg): Likewise.
17278 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
17280 * config/sh/sh.md: Fix use of constraints in define_split.
17282 2014-09-19 Markus Trippelsdorf <markus@trippelsdorf.de>
17285 * ipa-devirt.c (ipa_devirt): Bail out if odr_types_ptr is NULL.
17287 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
17289 * doc/md.texi (Modifiers): Consistently use "read/write"
17290 nomenclature rather than "input/output".
17291 * genrecog.c (constraints_supported_in_insn_p): New.
17292 (validate_pattern): If needed, also check constraints on
17293 MATCH_SCRATCH operands.
17294 * genoutput.c (validate_insn_alternatives): Catch earlyclobber
17295 operands with no '=' or '+' modifier.
17297 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
17299 * config/aarch64/aarch64.md (stack_protect_test_<mode>): Mark
17300 scratch register as written.
17302 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17304 * config/s390/s390.c (s390_emit_epilogue): Remove bogus
17307 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17309 * config/s390/s390.md ("trunctdsd2", "extendsdtd2"): New
17312 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17315 * config/s390/s390.c (s390_emit_epilogue): When doing the return
17316 address load optimization force s390_optimize_prologue to leave it
17317 that way. Only do the optimization if we already decided to push
17318 r14 into a stack slot.
17320 2014-09-19 Marat Zakirov <m.zakirov@samsung.com>
17322 * asan.c (build_check_stmt): Alignment arg was added.
17323 (asan_expand_check_ifn): Optimization for alignment >= 8.
17325 2014-09-19 Olivier Hainque <hainque@adacore.com>
17327 * config/i386/vxworksae.h: Remove obsolete definitions.
17328 (STACK_CHECK_PROTECT): Define.
17329 * config/i386/vx-common.h: Remove. Merge contents within
17330 config/i386/vxworks.h.
17331 * config.gcc (i?86-vxworks*): Use i386/vxworks.h instead of
17334 2014-09-19 Olivier Hainque <hainque@adacore.com>
17336 * config.gcc (powerpc-wrs-vxworksmils): New configuration.
17337 * config/rs6000/t-vxworksmils: New file.
17338 * config/rs6000/vxworksmils.h: New file.
17340 2014-09-19 Olivier Hainque <hainque@adacore.com>
17342 * varasm.c (default_section_type_flags): Flag .persistent.bss
17343 sections as SECTION_BSS.
17345 2014-09-19 Nick Clifton <nickc@redhat.com>
17347 * config/rl78/rl78.c (rl78_expand_epilogue): Generate a USE of the
17348 pop'ed registers so that DCE does not eliminate them.
17350 2014-09-18 Jan Hubicka <hubicka@ucw.cz>
17353 * ipa-devirt.c (odr_subtypes_equivalent_p): Fix thinko in a condition.
17355 2014-09-18 Joseph Myers <joseph@codesourcery.com>
17357 * system.h (LIBGCC2_TF_CEXT): Poison.
17358 * config/i386/cygming.h (LIBGCC2_TF_CEXT): Remove.
17359 * config/i386/darwin.h (LIBGCC2_TF_CEXT): Likewise.
17360 * config/i386/dragonfly.h (LIBGCC2_TF_CEXT): Likewise.
17361 * config/i386/freebsd.h (LIBGCC2_TF_CEXT): Likewise.
17362 * config/i386/gnu-user-common.h (LIBGCC2_TF_CEXT): Likewise.
17363 * config/i386/openbsdelf.h (LIBGCC2_TF_CEXT): Likewise.
17364 * config/i386/sol2.h (LIBGCC2_TF_CEXT): Likewise.
17365 * config/ia64/ia64.h (LIBGCC2_TF_CEXT): Likewise.
17366 * config/ia64/linux.h (LIBGCC2_TF_CEXT): Likewise.
17368 2014-09-19 Kito Cheng <kito@0xlab.org>
17370 * except.h: Fix header guard.
17371 * addresses.h: Add missing header guard.
17372 * cfghooks.h: Likewise.
17373 * collect-utils.h: Likewise.
17374 * collect2-aix.h: Likewise.
17375 * conditions.h: Likewise.
17376 * cselib.h: Likewise.
17377 * dwarf2asm.h: Likewise.
17378 * graphds.h: Likewise.
17379 * graphite-scop-detection.h: Likewise.
17380 * gsyms.h: Likewise.
17381 * hw-doloop.h: Likewise.
17382 * incpath.h: Likewise.
17383 * ipa-inline.h: Likewise.
17384 * ipa-ref.h: Likewise.
17385 * ira-int.h: Likewise.
17387 * lra-int.h: Likewise.
17389 * lto-section-names.h: Likewise.
17390 * read-md.h: Likewise.
17391 * reload.h: Likewise.
17392 * rtl-error.h: Likewise.
17393 * sdbout.h: Likewise.
17394 * targhooks.h: Likewise.
17395 * tree-affine.h: Likewise.
17396 * xcoff.h: Likewise.
17397 * xcoffout.h: Likewise.
17399 2014-09-18 Vladimir Makarov <vmakarov@redhat.com>
17402 * haifa-sched.c (schedule_block): Advance cycle at the end of BB
17405 2014-09-18 Vladimir Makarov <vmakarov@redhat.com>
17408 * lra.c (lra): Call recog_init.
17410 2014-09-18 Jakub Jelinek <jakub@redhat.com>
17413 * asan.c (transform_statements): Don't instrument clobber statements.
17415 2014-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
17417 * config/arm/neon.md (*movmisalign<mode>_neon_load): Change type
17418 to neon_load1_1reg<q>.
17420 2014-09-17 Jakub Jelinek <jakub@redhat.com>
17423 * tree-cfgcleanup.c (fixup_noreturn_call): Don't split block
17424 if there are only debug stmts after the noreturn call, instead
17425 remove the debug stmts.
17427 2014-09-17 Jan Hubicka <hubicka@ucw.cz>
17429 * ipa-devirt.c (type_pair, default_hashset_traits): New types.
17430 (odr_types_equivalent_p): Use pair hash.
17431 (odr_subtypes_equivalent_p): Likewise, do structural compare
17432 on ODR types that may be mismatched.
17433 (warn_odr): Support warning when only one field is given.
17434 (odr_types_equivalent_p): Strenghten comparsions made;
17436 (add_type_duplicate): Update VISITED hash set.
17438 2014-09-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
17440 * config.gcc (*-*-rtems*): Default to 'rtems' thread model.
17441 Enable selection of 'posix' or no thread model.
17443 2014-09-17 Andrew Stubbs <ams@codesourcery.com>
17445 * config/arm/arm.c (arm_option_override): Reject -mfpu=neon
17446 when architecture is older than ARMv7.
17448 2014-09-16 John David Anglin <danglin@gcc.gnu.org>
17451 * config/pa/pa.c (pa_function_value): Directly handle aggregates
17452 that fit exactly in a word or double word.
17454 2014-09-16 Ilya Tocar <ilya.tocar@intel.com>
17456 * config/i386/driver-i386.c (host_detect_local_cpu): Detect lack of
17457 zmm/k regs support.
17459 2014-09-16 Alexander Ivchenko <alexander.ivchenko@intel.com>
17460 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
17461 Anna Tikhonova <anna.tikhonova@intel.com>
17462 Ilya Tocar <ilya.tocar@intel.com>
17463 Andrey Turetskiy <andrey.turetskiy@intel.com>
17464 Ilya Verbin <ilya.verbin@intel.com>
17465 Kirill Yukhin <kirill.yukhin@intel.com>
17466 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
17468 * config/i386/i386.c
17469 (ix86_expand_vector_extract): Handle V32HI and V64QI modes.
17470 * config/i386/sse.md
17471 (define_mode_iterator VI48F_256): New.
17472 (define_mode_attr extract_type): Ditto.
17473 (define_mode_attr extract_suf): Ditto.
17474 (define_mode_iterator AVX512_VEC): Ditto.
17476 "<extract_type>_vextract<shuffletype><extract_suf>_mask"): Use
17478 (define_insn "avx512dq_vextract<shuffletype>64x2_1_maskm"): New.
17480 "<mask_codefor>avx512dq_vextract<shuffletype>64x2_1<mask_name>"):
17482 (define_mode_attr extract_type_2): Ditto.
17483 (define_mode_attr extract_suf_2): Ditto.
17484 (define_mode_iterator AVX512_VEC_2): Ditto.
17486 "<extract_type_2>_vextract<shuffletype><extract_suf_2>_mask"): Use
17487 AVX512_VEC_2 mode iterator.
17488 (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
17489 (define_expand "avx512vl_vextractf128<mode>"): Ditto.
17490 (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
17491 (define_insn "vec_extract_lo_<mode><mask_name>"): New.
17492 (define_split for V16FI mode): Ditto.
17493 (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
17494 (define_insn "vec_extract_lo_<mode><mask_name>"): New.
17495 (define_split for VI8F_256 mode): Ditto.
17496 (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
17497 (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
17498 (define_insn "vec_extract_lo_<mode><mask_name>"): New.
17499 (define_split for VI4F_256 mode): Ditto.
17500 (define_insn "vec_extract_lo_<mode>_maskm"): Ditto.
17501 (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
17502 (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
17503 (define_mode_iterator VEC_EXTRACT_MODE): Add V64QI and V32HI modes.
17504 (define_insn "vcvtph2ps<mask_name>"): Fix pattern condition.
17505 (define_insn "avx512f_vextract<shuffletype>32x4_1_maskm"): Ditto.
17506 (define_insn "<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>"):
17507 Update `type' attribute, remove explicit `memory' attribute calculation.
17509 2014-09-16 Kito Cheng <kito@0xlab.org>
17511 * ira.c (ira): Don't initialize ira_spilled_reg_stack_slots and
17512 ira_spilled_reg_stack_slots_num if using lra.
17513 (do_reload): Remove release ira_spilled_reg_stack_slots part.
17514 * ira-color.c (ira_sort_regnos_for_alter_reg): Add assertion to
17515 make sure not using lra.
17516 (ira_reuse_stack_slot): Likewise.
17517 (ira_mark_new_stack_slot): Likewise.
17519 2014-09-15 Andi Kleen <ak@linux.intel.com>
17521 * function.c (allocate_struct_function): Force
17522 DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT to one when
17523 profiling is disabled.
17525 2014-09-15 Trevor Saunders <tsaunders@mozilla.com>
17527 * cfgrtl.c, combine.c, config/arc/arc.c, config/mcore/mcore.c,
17528 config/rs6000/rs6000.c, config/sh/sh.c, cprop.c, dwarf2out.c,
17529 emit-rtl.c, final.c, function.c, gcse.c, jump.c, reg-stack.c,
17530 reload1.c, reorg.c, resource.c, sel-sched-ir.c: Replace INSN_DELETED_P
17531 macro with statically checked member functions.
17532 * rtl.h (rtx_insn::deleted): New method.
17533 (rtx_insn::set_deleted): Likewise.
17534 (rtx_insn::set_undeleted): Likewise.
17535 (INSN_DELETED_P): Remove.
17537 2014-09-15 Trevor Saunders <tsaunders@mozilla.com>
17539 * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Assign the
17540 result of emit_jump_insn_before to a new variable.
17541 * jump.c (mark_jump_label): Change the type of insn to rtx_insn *.
17542 (mark_jump_label_1): Likewise.
17543 (mark_jump_label_asm): Likewise.
17544 * reload1.c (gen_reload): Change type of tem to rtx_insn *.
17545 * rtl.h (mark_jump_label): Adjust.
17547 2014-09-15 Jakub Jelinek <jakub@redhat.com>
17549 * Makefile.in (dg_target_exps): Remove.
17550 (check_gcc_parallelize): Change to just an upper bound number.
17551 (check-%-subtargets): Always print the non-parallelized goals.
17552 (check_p_vars, check_p_comma, check_p_subwork): Remove.
17553 (check_p_count, check_p_numbers0, check_p_numbers1, check_p_numbers2,
17554 check_p_numbers3, check_p_numbers4, check_p_numbers5,
17555 check_p_numbers6): New variables.
17556 (check_p_numbers): Set to sequence from 1 to 9999.
17557 (check_p_subdirs): Set to sequence from 1 to minimum of
17558 $(check_p_count) and either GCC_TEST_PARALLEL_SLOTS env var if set,
17560 (check-%, check-parallel-%): Rewritten so that for parallelized
17561 testing each job runs all the *.exp files, with
17562 GCC_RUNTEST_PARALLELIZE_DIR set in environment.
17564 2014-09-15 David Malcolm <dmalcolm@redhat.com>
17566 * config/arc/arc-protos.h (arc_attr_type): Strengthen param from
17568 (arc_sets_cc_p): Likewise.
17569 * config/arc/arc.c (arc_print_operand): Use methods of
17570 "final_sequence" for clarity, and to enable strengthening of
17571 locals "jump" and "delay" from rtx to rtx_insn *.
17572 (arc_adjust_insn_length): Strengthen local "prev" from rtx to
17573 rtx_insn *; use method of rtx_sequence for typesafety.
17574 (arc_get_insn_variants): Use insn method of rtx_sequence for
17576 (arc_pad_return): Likewise.
17577 (arc_attr_type): Strengthen param from rtx to rtx_insn *.
17578 (arc_sets_cc_p): Likewise. Also, convert a GET_CODE check to a
17579 dyn_cast to rtx_sequence *, using insn method for typesafety.
17580 * config/arc/arc.h (ADJUST_INSN_LENGTH): Add checked casts to
17581 rtx_sequence * and use insn method when invoking get_attr_length.
17582 * config/bfin/bfin.c (type_for_anomaly): Strengthen param from rtx
17583 to rtx_insn *. Replace a GET_CODE check with a dyn_cast to
17584 rtx_sequence *, introducing a local "seq", using its insn method
17585 from typesafety and clarity.
17586 (add_sched_insns_for_speculation): Strengthen local "next" from
17588 * config/c6x/c6x.c (get_insn_side): Likewise for param "insn".
17589 (predicate_insn): Likewise.
17590 * config/cris/cris-protos.h (cris_notice_update_cc): Likewise for
17592 * config/cris/cris.c (cris_notice_update_cc): Likewise.
17593 * config/epiphany/epiphany-protos.h
17594 (extern void epiphany_insert_mode_switch_use): Likewise for param
17596 (get_attr_sched_use_fpu): Likewise for param.
17597 * config/epiphany/epiphany.c (epiphany_insert_mode_switch_use):
17598 Likewise for param "insn".
17599 * config/epiphany/mode-switch-use.c (insert_uses): Likewise for
17600 param "insn" of "target_insert_mode_switch_use" callback.
17601 * config/frv/frv.c (frv_insn_unit): Likewise for param "insn".
17602 (frv_issues_to_branch_unit_p): Likewise.
17603 (frv_pack_insn_p): Likewise.
17604 (frv_compare_insns): Strengthen locals "insn1" and "insn2" from
17605 const rtx * (i.e. mutable rtx_def * const *) to
17606 rtx_insn * const *.
17607 * config/i386/i386-protos.h (standard_sse_constant_opcode):
17608 Strengthen first param from rtx to rtx_insn *.
17609 (output_fix_trunc): Likewise.
17610 * config/i386/i386.c (standard_sse_constant_opcode): Likewise.
17611 (output_fix_trunc): Likewise.
17612 (core2i7_first_cycle_multipass_filter_ready_try): Likewise for
17614 (min_insn_size): Likewise for param "insn".
17615 (get_mem_group): Likewise.
17616 (is_cmp): Likewise.
17617 (get_insn_path): Likewise.
17618 (get_insn_group): Likewise.
17619 (count_num_restricted): Likewise.
17620 (fits_dispatch_window): Likewise.
17621 (add_insn_window): Likewise.
17622 (add_to_dispatch_window): Likewise.
17623 (debug_insn_dispatch_info_file): Likewise.
17624 * config/m32c/m32c-protos.h (m32c_output_compare): Likewise for
17626 * config/m32c/m32c.c (m32c_compare_redundant): Likewise for param
17627 "cmp" and local "prev".
17628 (m32c_output_compare): Likewise for param "insn".
17629 * config/m32r/predicates.md (define_predicate "small_insn_p"): Add
17630 a checked cast to rtx_insn * on "op" after we know it's an INSN_P.
17631 (define_predicate "large_insn_p"): Likewise.
17632 * config/m68k/m68k-protos.h (m68k_sched_attr_size): Strengthen
17633 param from rtx to rtx_insn *.
17634 (attr_op_mem m68k_sched_attr_op_mem): Likewise.
17635 * config/m68k/m68k.c (sched_get_attr_size_int): Likewise.
17636 (m68k_sched_attr_size): Likewise.
17637 (sched_get_opxy_mem_type): Likewise for param "insn".
17638 (m68k_sched_attr_op_mem): Likewise.
17639 (sched_mem_operand_p): Likewise.
17640 * config/mep/mep-protos.h (mep_multi_slot): Likewise for param.
17641 * config/mep/mep.c (mep_multi_slot): Likewise.
17642 * config/mips/mips-protos.h (mips_output_sync_loop): Likewise for
17644 (mips_sync_loop_insns): Likewise.
17645 * config/mips/mips.c (mips_print_operand_punctuation): Use insn
17646 method of "final_sequence" for typesafety.
17647 (mips_process_sync_loop): Strengthen param "insn" from rtx to
17649 (mips_output_sync_loop): Likewise.
17650 (mips_sync_loop_insns): Likewise.
17651 (mips_74k_agen_init): Likewise.
17652 (mips_sched_init): Use NULL rather than NULL_RTX when working with
17654 * config/nds32/nds32-fp-as-gp.c (nds32_symbol_load_store_p):
17655 Strengthen param "insn" from rtx to rtx_insn *.
17656 * config/nds32/nds32.c (nds32_target_alignment): Likewise for
17658 * config/pa/pa-protos.h (pa_insn_refs_are_delayed): Likewise for param.
17659 * config/pa/pa.c (pa_output_function_epilogue): Likewise for local
17660 "insn". Use method of rtx_sequence for typesafety.
17661 (branch_to_delay_slot_p): Strengthen param "insn" from rtx to
17663 (branch_needs_nop_p): Likewise.
17664 (use_skip_p): Likewise.
17665 (pa_insn_refs_are_delayed): Likewise.
17666 * config/rl78/rl78.c (rl78_propogate_register_origins): Likewise
17667 for locals "insn", "ninsn".
17668 * config/rs6000/rs6000.c (is_microcoded_insn): Likewise for param
17670 (is_cracked_insn): Likewise.
17671 (is_branch_slot_insn): Likewise.
17672 (is_nonpipeline_insn): Likewise.
17673 (insn_terminates_group_p): Likewise.
17674 (insn_must_be_first_in_group): Likewise.
17675 (insn_must_be_last_in_group): Likewise.
17676 (force_new_group): Likewise for param "next_insn".
17677 * config/s390/s390.c (s390_get_sched_attrmask): Likewise for param
17679 (s390_sched_score): Likewise.
17680 * config/sh/sh-protos.h (output_branch): Likewise for param 2.
17681 (rtx sfunc_uses_reg): Likewise for sole param.
17682 * config/sh/sh.c (sh_print_operand): Use insn method of
17683 final_sequence for typesafety.
17684 (output_branch): Strengthen param "insn" from rtx to rtx_insn *.
17685 Use insn method of final_sequence for typesafety.
17686 (sfunc_uses_reg): Strengthen param "insn" from rtx to rtx_insn *.
17687 * config/sparc/sparc-protos.h (eligible_for_call_delay): Likewise
17689 (eligible_for_return_delay): Likewise.
17690 (eligible_for_sibcall_delay): Likewise.
17691 * config/sparc/sparc.c (eligible_for_call_delay): Likewise.
17692 (eligible_for_return_delay): Likewise.
17693 (eligible_for_sibcall_delay): Likewise.
17694 * config/stormy16/stormy16-protos.h
17695 (xstormy16_output_cbranch_hi): Likewise for final param.
17696 (xstormy16_output_cbranch_si): Likewise.
17697 * config/stormy16/stormy16.c (xstormy16_output_cbranch_hi): LIkewise.
17698 (xstormy16_output_cbranch_si): Likewise.
17699 * config/v850/v850-protos.h (notice_update_cc): Likewise.
17700 * config/v850/v850.c (notice_update_cc): Likewise.
17702 * final.c (get_attr_length_1): Strengthen param "insn" and param
17703 of "fallback_fn" from rtx to rtx_insn *, eliminating a checked cast.
17704 (get_attr_length): Strengthen param "insn" from rtx to rtx_insn *.
17705 (get_attr_min_length): Likewise.
17706 (shorten_branches): Likewise for signature of locals "length_fun"
17707 and "inner_length_fun". Introduce local rtx_sequence * "seqn"
17708 from a checked cast and use its methods for clarity and to enable
17709 strengthening local "inner_insn" from rtx to rtx_insn *.
17710 * genattr.c (gen_attr): When writing out the prototypes of the
17711 various generated "get_attr_" functions, strengthen the params of
17712 the non-const functions from rtx to rtx_insn *.
17713 Similarly, strengthen the params of insn_default_length,
17714 insn_min_length, insn_variable_length_p, insn_current_length.
17715 (main): Similarly, strengthen the param of num_delay_slots,
17716 internal_dfa_insn_code, insn_default_latency, bypass_p,
17717 insn_latency, min_issue_delay, print_reservation,
17718 insn_has_dfa_reservation_p and of the "internal_dfa_insn_code" and
17719 "insn_default_latency" callbacks. Rename hook_int_rtx_unreachable
17720 to hook_int_rtx_insn_unreachable.
17721 * genattrtab.c (write_attr_get): When writing out the generated
17722 "get_attr_" functions, strengthen the param "insn" from rtx to
17723 rtx_insn *, eliminating a checked cast.
17724 (make_automaton_attrs): When writing out prototypes of
17725 "internal_dfa_insn_code_", "insn_default_latency_" functions
17726 and the "internal_dfa_insn_code" and "insn_default_latency"
17727 callbacks, strengthen their params from rtx to rtx_insn *
17728 * genautomata.c (output_internal_insn_code_evaluation): When
17729 writing out code, add a checked cast from rtx to rtx_insn * when
17730 invoking DFA_INSN_CODE_FUNC_NAME aka dfa_insn_code.
17731 (output_dfa_insn_code_func): Strengthen param of generated
17732 function "dfa_insn_code_enlarge" from rtx to rtx_insn *.
17733 (output_trans_func): Likewise for generated function
17734 "state_transition".
17735 (output_internal_insn_latency_func): When writing out generated
17736 function "internal_insn_latency", rename params from "insn" and
17737 "insn2" to "insn_or_const0" and "insn2_or_const0". Reintroduce
17738 locals "insn" and "insn2" as rtx_insn * with checked casts once
17739 we've proven that we're not dealing with const0_rtx.
17740 (output_insn_latency_func): Strengthen param of generated
17741 function "insn_latency" from rtx to rtx_insn *.
17742 (output_print_reservation_func): Likewise for generated function
17743 "print_reservation".
17744 (output_insn_has_dfa_reservation_p): Likewise for generated
17745 function "insn_has_dfa_reservation_p".
17746 * hooks.c (hook_int_rtx_unreachable): Rename to...
17747 (hook_int_rtx_insn_unreachable): ...this, and strengthen param
17748 from rtx to rtx_insn *.
17749 * hooks.h (hook_int_rtx_unreachable): Likewise.
17750 (extern int hook_int_rtx_insn_unreachable): Likewise.
17751 * output.h (get_attr_length): Strengthen param from rtx to rtx_insn *.
17752 (get_attr_min_length): Likewise.
17753 * recog.c (get_enabled_alternatives): Likewise.
17754 * recog.h (alternative_mask get_enabled_alternatives): Likewise.
17755 * reorg.c (find_end_label): Introduce local rtx "pat" and
17756 strengthen local "insn" from rtx to rtx_insn *.
17757 (redundant_insn): Use insn method of "seq" rather than element for
17758 typesafety; strengthen local "control" from rtx to rtx_insn *.
17759 * resource.c (mark_referenced_resources): Add checked cast to
17760 rtx_insn * within INSN/JUMP_INSN case.
17761 (mark_set_resources): Likewise.
17762 * sel-sched.c (estimate_insn_cost): Strengthen param "insn" from
17765 2014-09-15 David Malcolm <dmalcolm@redhat.com>
17767 * config/rs6000/rs6000.c (rs6000_loop_align_max_skip): Strengthen
17768 param "label" from rtx to rtx_insn *.
17769 * config/rx/rx.c (rx_max_skip_for_label): Likewise for param "lab"
17771 * doc/tm.texi (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Autogenerated changes.
17772 (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Likewise.
17773 (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Likewise.
17774 (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Likewise.
17775 * final.c (default_label_align_after_barrier_max_skip): Strengthen
17776 param from rtx to rtx_insn *.
17777 (default_loop_align_max_skip): Likewise.
17778 (default_label_align_max_skip): Likewise.
17779 (default_jump_align_max_skip): Likewise.
17780 * target.def (label_align_after_barrier_max_skip): Likewise.
17781 (loop_align_max_skip): Likewise.
17782 (label_align_max_skip): Likewise.
17783 (jump_align_max_skip): Likewise.
17784 * targhooks.h (default_label_align_after_barrier_max_skip): Likewise.
17785 (default_loop_align_max_skip): Likewise.
17786 (default_label_align_max_skip): Likewise.
17787 (default_jump_align_max_skip): Likewise.
17789 2014-09-15 David Malcolm <dmalcolm@redhat.com>
17791 * config/arc/arc.c (arc_can_follow_jump): Strengthen both params
17792 from const_rtx to const rtx_insn *. Update union members from rtx
17794 * doc/tm.texi (TARGET_CAN_FOLLOW_JUMP): Autogenerated change.
17795 * hooks.c (hook_bool_const_rtx_const_rtx_true): Rename to...
17796 (hook_bool_const_rtx_insn_const_rtx_insn_true): ...this, and
17797 strengthen both params from const_rtx to const rtx_insn *.
17798 * hooks.h (hook_bool_const_rtx_const_rtx_true): Likewise.
17799 (hook_bool_const_rtx_insn_const_rtx_insn_true): Likewise.
17800 * reorg.c (follow_jumps): Strengthen param "jump" from rtx to
17802 * target.def (can_follow_jump): Strengthen both params from
17803 const_rtx to const rtx_insn *, and update default implementation
17804 from hook_bool_const_rtx_const_rtx_true to
17805 hook_bool_const_rtx_insn_const_rtx_insn_true.
17807 2014-09-15 David Malcolm <dmalcolm@redhat.com>
17809 * sched-deps.c (deps_start_bb): Strengthen param "head" and local
17810 "insn" from rtx to rtx_insn *.
17811 * sched-int.h (deps_start_bb): Likewise for 2nd param.
17813 2014-09-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
17814 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
17815 Anna Tikhonova <anna.tikhonova@intel.com>
17816 Ilya Tocar <ilya.tocar@intel.com>
17817 Andrey Turetskiy <andrey.turetskiy@intel.com>
17818 Ilya Verbin <ilya.verbin@intel.com>
17819 Kirill Yukhin <kirill.yukhin@intel.com>
17820 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
17822 * config/i386/sse.md
17823 (define_insn "vcvtph2ps<mask_name>"): Add masking.
17824 (define_insn "*vcvtph2ps_load<mask_name>"): Ditto.
17825 (define_insn "vcvtph2ps256<mask_name>"): Ditto.
17826 (define_expand "vcvtps2ph_mask"): New.
17827 (define_insn "*vcvtps2ph<mask_name>"): Add masking.
17828 (define_insn "*vcvtps2ph_store<mask_name>"): Ditto.
17829 (define_insn "vcvtps2ph256<mask_name>"): Ditto.
17831 2014-09-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
17832 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
17833 Anna Tikhonova <anna.tikhonova@intel.com>
17834 Ilya Tocar <ilya.tocar@intel.com>
17835 Andrey Turetskiy <andrey.turetskiy@intel.com>
17836 Ilya Verbin <ilya.verbin@intel.com>
17837 Kirill Yukhin <kirill.yukhin@intel.com>
17838 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
17840 * config/i386/sse.md (define_mode_iterator VI248_AVX512BW_AVX512VL):
17842 (define_mode_iterator VI24_AVX512BW_1): Ditto.
17843 (define_insn "<mask_codefor>ashr<mode>3<mask_name>"): Ditto.
17844 (define_insn "<mask_codefor>ashrv2di3<mask_name>"): Ditto.
17845 (define_insn "ashr<VI248_AVX512BW_AVX512VL:mode>3<mask_name>"): Enable
17846 also for TARGET_AVX512VL.
17847 (define_expand "ashrv2di3"): Update to enable TARGET_AVX512VL.
17849 2014-09-15 Markus Trippelsdorf <markus@trippelsdorf.de>
17851 * doc/install.texi (Options specification): add
17852 --disable-libsanitizer item.
17854 2014-09-14 James Clarke <jrtc27@jrtc27.com>
17855 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
17858 * config/darwin-c.c (version_as_macro): Added extra 0 for OS X 10.10
17860 * config/darwin-driver.c (darwin_find_version_from_kernel): Removed
17861 kernel version check to avoid incrementing it after every major OS X
17863 (darwin_default_min_version): Avoid static memory buffer.
17865 2014-09-13 Jan Hubicka <hubicka@ucw.cz>
17867 * tree.c (need_assembler_name_p): Store C++ type mangling only
17870 2014-09-13 Marek Polacek <polacek@redhat.com>
17872 * tree.c (protected_set_expr_location): Don't check whether T is
17875 2014-09-12 DJ Delorie <dj@redhat.com>
17877 * config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
17878 (extend_and_shift1_hipsi2): Likewise.
17879 (extend_and_shift2_hipsi2): Likewise.
17881 2014-09-12 David Malcolm <dmalcolm@redhat.com>
17883 * config/alpha/alpha.c (alpha_ra_ever_killed): Replace NULL_RTX
17884 with NULL when dealing with an insn.
17885 * config/sh/sh.c (sh_reorg): Strengthen local "last_float_move"
17886 from rtx to rtx_insn *.
17887 * rtl.h (reg_set_between_p): Strengthen params 2 and 3 from
17888 const_rtx to const rtx_insn *.
17889 * rtlanal.c (reg_set_between_p): Likewise, removing a checked cast.
17891 2014-09-12 Trevor Saunders <tsaunders@mozilla.com>
17893 * hash-table.h (gt_pch_nx): Don't call gt_pch_note_object within an
17896 2014-09-12 Joseph Myers <joseph@codesourcery.com>
17898 * target.def (libgcc_floating_mode_supported_p): New hook.
17899 * targhooks.c (default_libgcc_floating_mode_supported_p): New
17901 * targhooks.h (default_libgcc_floating_mode_supported_p): Declare.
17902 * doc/tm.texi.in (LIBGCC2_HAS_DF_MODE, LIBGCC2_HAS_XF_MODE)
17903 (LIBGCC2_HAS_TF_MODE): Remove.
17904 (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): New @hook.
17905 * doc/tm.texi: Regenerate.
17906 * genmodes.c (emit_insn_modes_h): Define HAVE_%smode for each
17908 * system.h (LIBGCC2_HAS_SF_MODE, LIBGCC2_HAS_DF_MODE)
17909 (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE): Poison.
17910 * config/i386/cygming.h (LIBGCC2_HAS_TF_MODE): Remove.
17911 * config/i386/darwin.h (LIBGCC2_HAS_TF_MODE): Remove.
17912 * config/i386/djgpp.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
17913 * config/i386/dragonfly.h (LIBGCC2_HAS_TF_MODE): Remove.
17914 * config/i386/freebsd.h (LIBGCC2_HAS_TF_MODE): Remove.
17915 * config/i386/gnu-user-common.h (LIBGCC2_HAS_TF_MODE): Remove.
17916 * config/i386/i386-interix.h (IX86_NO_LIBGCC_TFMODE): Define.
17917 * config/i386/i386.c (ix86_libgcc_floating_mode_supported_p): New
17919 (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define.
17920 * config/i386/i386elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
17921 * config/i386/lynx.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
17922 * config/i386/netbsd-elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
17923 * config/i386/netbsd64.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
17924 * config/i386/nto.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
17925 * config/i386/openbsd.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
17926 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE): Remove.
17927 * config/i386/rtemself.h (IX86_NO_LIBGCC_TFMODE): Define.
17928 * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Remove.
17929 * config/i386/vx-common.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
17930 * config/ia64/elf.h (IA64_NO_LIBGCC_TFMODE): Define.
17931 * config/ia64/freebsd.h (IA64_NO_LIBGCC_TFMODE): Define.
17932 * config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE):
17934 * config/ia64/ia64.c (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P):
17936 (ia64_libgcc_floating_mode_supported_p): New function.
17937 * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): Remove.
17938 * config/ia64/vms.h (IA64_NO_LIBGCC_XFMODE)
17939 (IA64_NO_LIBGCC_TFMODE): Define.
17940 * config/msp430/msp430.h (LIBGCC2_HAS_DF_MODE): Remove.
17941 * config/pdp11/pdp11.c (TARGET_SCALAR_MODE_SUPPORTED_P): New macro.
17942 (pdp11_scalar_mode_supported_p): New function.
17943 * config/rl78/rl78.h (LIBGCC2_HAS_DF_MODE): Remove.
17944 * config/rx/rx.h (LIBGCC2_HAS_DF_MODE): Remove.
17946 2014-09-12 Richard Biener <rguenther@suse.de>
17948 PR middle-end/63237
17949 * gimple-fold.c (get_maxval_strlen): Gimplify string length.
17951 2014-09-12 Marc Glisse <marc.glisse@inria.fr>
17953 * tree.c (integer_each_onep): New function.
17954 * tree.h (integer_each_onep): Declare it.
17955 * fold-const.c (fold_binary_loc): Use it for ~A + 1 to -A and
17956 -A - 1 to ~A. Disable (X & 1) ^ 1, (X ^ 1) & 1 and ~X & 1 to
17957 (X & 1) == 0 for vector and complex.
17959 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
17961 * gcc/config/aarch64/aarch64.c (cortexa57_regmove_cost): New cost table
17963 (cortexa53_regmove_cost): New cost table for A53. Increase GP2FP/FP2GP
17964 cost to spilling from integer to FP registers.
17966 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
17968 * config/aarch64/aarch64.c (aarch64_register_move_cost): Fix Q register
17970 (generic_regmove_cost): Undo raised FP2FP move cost as Q register moves
17971 are now handled correctly.
17973 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
17975 * config/aarch64/aarch64.c (aarch64_register_move_cost): Add cost
17976 handling of CALLER_SAVE_REGS and POINTER_REGS.
17978 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
17980 * gcc/ree.c (combine_reaching_defs): Ensure inserted copy don't change
17981 the number of hard registers.
17983 2014-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
17984 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
17985 Anna Tikhonova <anna.tikhonova@intel.com>
17986 Ilya Tocar <ilya.tocar@intel.com>
17987 Andrey Turetskiy <andrey.turetskiy@intel.com>
17988 Ilya Verbin <ilya.verbin@intel.com>
17989 Kirill Yukhin <kirill.yukhin@intel.com>
17990 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
17992 * config/i386/sse.md
17993 (define_mode_iterator VI48_AVX512VL): New.
17994 (define_expand "<avx512>_vternlog<mode>_maskz"): Rename from
17995 "avx512f_vternlog<mode>_maskz" and update mode iterator.
17996 (define_insn "<avx512>_vternlog<mode><sd_maskz_name>"): Rename
17997 from "avx512f_vternlog<mode><sd_maskz_name>" and update mode iterator.
17998 (define_insn "<avx512>_vternlog<mode>_mask"): Rename from
17999 "avx512f_vternlog<mode>_mask" and update mode iterator.
18000 (define_insn "<mask_codefor><avx512>_align<mode><mask_name>"): Rename
18001 from "<mask_codefor>avx512f_align<mode><mask_name>" and update mode
18003 (define_insn "<avx512>_<rotate>v<mode><mask_name>"): Rename from
18004 "avx512f_<rotate>v<mode><mask_name>" and update mode iterator.
18005 (define_insn "<avx512>_<rotate><mode><mask_name>"): Rename from
18006 "avx512f_<rotate><mode><mask_name>" and update mode iterator.
18007 (define_insn "clz<mode>2<mask_name>"): Use VI48_AVX512VL mode iterator.
18008 (define_insn "<mask_codefor>conflict<mode><mask_name>"): Ditto.
18010 2014-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
18011 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
18012 Anna Tikhonova <anna.tikhonova@intel.com>
18013 Ilya Tocar <ilya.tocar@intel.com>
18014 Andrey Turetskiy <andrey.turetskiy@intel.com>
18015 Ilya Verbin <ilya.verbin@intel.com>
18016 Kirill Yukhin <kirill.yukhin@intel.com>
18017 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
18019 * config/i386/sse.md (VI128_256): Delete.
18020 (define_mode_iterator VI124_256): New.
18021 (define_mode_iterator VI124_256_AVX512F_AVX512BW): Ditto.
18022 (define_expand "<code><mode>3<mask_name><round_name>"): Delete.
18023 (define_expand "<code><VI124_256_AVX512F_AVX512BW:mode>3"): New.
18024 (define_insn "*avx2_<code><VI124_256:mode>3"): Rename from
18025 "*avx2_<code><mode>3<mask_name><round_name>" and update mode iterator.
18026 (define_expand "<code><VI48_AVX512VL:mode>3_mask"): New.
18027 (define_insn "*avx512bw_<code><VI48_AVX512VL:mode>3<mask_name>"): Ditto.
18028 (define_insn "<mask_codefor><code><mode>3<mask_name>"): Update mode
18030 (define_expand "<code><VI8_AVX2:mode>3"): Update pettern generation
18031 in presence of AVX-512.
18033 2014-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
18034 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
18035 Anna Tikhonova <anna.tikhonova@intel.com>
18036 Ilya Tocar <ilya.tocar@intel.com>
18037 Andrey Turetskiy <andrey.turetskiy@intel.com>
18038 Ilya Verbin <ilya.verbin@intel.com>
18039 Kirill Yukhin <kirill.yukhin@intel.com>
18040 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
18042 * config/i386/sse.md
18043 (define_expand "<avx512>_gathersi<mode>"): Rename from
18044 "avx512f_gathersi<mode>".
18045 (define_insn "*avx512f_gathersi<mode>"): Use VI48F.
18046 (define_insn "*avx512f_gathersi<mode>_2"): Ditto.
18047 (define_expand "<avx512>_gatherdi<mode>"): Rename from
18048 "avx512f_gatherdi<mode>".
18049 (define_insn "*avx512f_gatherdi<mode>"): Use VI48F.
18050 (define_insn "*avx512f_gatherdi<mode>_2"): Use VI48F, add 128/256-bit
18052 (define_expand "<avx512>_scattersi<mode>"): Rename from
18053 "avx512f_scattersi<mode>".
18054 (define_insn "*avx512f_scattersi<mode>"): Use VI48F.
18055 (define_expand "<avx512>_scatterdi<mode>"): Rename from
18056 "avx512f_scatterdi<mode>".
18057 (define_insn "*avx512f_scatterdi<mode>"): Use VI48F.
18059 2014-09-12 Richard Sandiford <richard.sandiford@arm.com>
18061 * ira.h (ira_finish_once): Delete.
18062 * ira-int.h (target_ira_int::~target_ira_int): Declare.
18063 (target_ira_int::free_ira_costs): Likewise.
18064 (target_ira_int::free_register_move_costs): Likewise.
18065 (ira_finish_costs_once): Delete.
18066 * ira.c (free_register_move_costs): Replace with...
18067 (target_ira_int::free_register_move_costs): ...this new function.
18068 (target_ira_int::~target_ira_int): Define.
18069 (ira_init): Call free_register_move_costs as a member function rather
18070 than a global function.
18071 (ira_finish_once): Delete.
18072 * ira-costs.c (free_ira_costs): Replace with...
18073 (target_ira_int::free_ira_costs): ...this new function.
18074 (ira_init_costs): Call free_ira_costs as a member function rather
18075 than a global function.
18076 (ira_finish_costs_once): Delete.
18077 * target-globals.c (target_globals::~target_globals): Call the
18078 target_ira_int destructor.
18079 * toplev.c: Include lra.h.
18080 (finalize): Call lra_finish_once rather than ira_finish_once.
18082 2014-09-11 Jan Hubicka <hubicka@ucw.cz>
18084 * common.opt (flto-odr-type-merging): New flag.
18085 * ipa-deivrt.c (hash_type_name): Use ODR names for hasing if availale.
18086 (types_same_for_odr): Likewise.
18087 (odr_subtypes_equivalent_p): Likewise.
18088 (add_type_duplicate): Do not walk type variants.
18089 (register_odr_type): New function.
18090 * ipa-utils.h (register_odr_type): Declare.
18091 (odr_type_p): New function.
18092 * langhooks.c (lhd_set_decl_assembler_name): Do not compute
18094 * doc/invoke.texi (-flto-odr-type-merging): Document.
18095 * tree.c (need_assembler_name_p): Compute ODR names when asked
18097 * tree.h (DECL_ASSEMBLER_NAME): Update comment.
18099 2014-09-11 H.J. Lu <hongjiu.lu@intel.com>
18102 * config/i386/i386.c (ix86_option_override_internal): Also turn
18103 off OPTION_MASK_ABI_X32 for -m16.
18105 2014-09-11 Segher Boessenkool <segher@kernel.crashing.org>
18107 * config/rs6000/rs6000.md (rs6000_mftb_<mode>): Use mode iterator
18110 2014-09-11 Marc Glisse <marc.glisse@inria.fr>
18113 * ginclude/float.h (FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN):
18114 Directly forward to __*_DENORM_MIN__.
18116 2014-09-11 David Malcolm <dmalcolm@redhat.com>
18118 * rtl.h (LABEL_REF_LABEL): New macro.
18120 * alias.c (rtx_equal_for_memref_p): Use LABEL_REF_LABEL in place
18121 of XEXP (, 0), where we know that we have a LABEL_REF.
18122 * cfgbuild.c (make_edges): Likewise.
18123 (purge_dead_tablejump_edges): Likewise.
18124 * cfgexpand.c (convert_debug_memory_address): Likewise.
18125 * cfgrtl.c (patch_jump_insn): Likewise.
18126 * combine.c (distribute_notes): Likewise.
18127 * cse.c (hash_rtx_cb): Likewise.
18128 (exp_equiv_p): Likewise.
18129 (fold_rtx): Likewise.
18130 (check_for_label_ref): Likewise.
18131 * cselib.c (rtx_equal_for_cselib_1): Likewise.
18132 (cselib_hash_rtx): Likewise.
18133 * emit-rtl.c (mark_label_nuses): Likewise.
18134 * explow.c (convert_memory_address_addr_space): Likewise.
18135 * final.c (output_asm_label): Likewise.
18136 (output_addr_const): Likewise.
18137 * gcse.c (add_label_notes): Likewise.
18138 * genconfig.c (walk_insn_part): Likewise.
18139 * genrecog.c (validate_pattern): Likewise.
18140 * ifcvt.c (cond_exec_get_condition): Likewise.
18141 (noce_emit_store_flag): Likewise.
18142 (noce_get_alt_condition): Likewise.
18143 (noce_get_condition): Likewise.
18144 * jump.c (maybe_propagate_label_ref): Likewise.
18145 (mark_jump_label_1): Likewise.
18146 (redirect_exp_1): Likewise.
18147 (rtx_renumbered_equal_p): Likewise.
18148 * lra-constraints.c (operands_match_p): Likewise.
18149 * reload.c (operands_match_p): Likewise.
18150 (find_reloads): Likewise.
18151 * reload1.c (set_label_offsets): Likewise.
18152 * reorg.c (get_branch_condition): Likewise.
18153 * rtl.c (rtx_equal_p_cb): Likewise.
18154 (rtx_equal_p): Likewise.
18155 * rtlanal.c (reg_mentioned_p): Likewise.
18156 (rtx_referenced_p): Likewise.
18157 (get_condition): Likewise.
18158 * sched-vis.c (print_value): Likewise.
18159 * varasm.c (const_hash_1): Likewise.
18160 (compare_constant): Likewise.
18161 (const_rtx_hash_1): Likewise.
18162 (output_constant_pool_1): Likewise.
18164 2014-09-11 Segher Boessenkool <segher@kernel.crashing.org>
18166 * config/rs6000/htm.md (tabort, tabortdc, tabortdci, tabortwc,
18167 tabortwci, tbegin, tcheck, tend, trechkpt, treclaim, tsr): Use xor
18169 * config/rs6000/vector.md (cr6_test_for_zero_reverse,
18170 cr6_test_for_lt_reverse): Ditto.
18172 2014-09-11 Paolo Carlini <paolo.carlini@oracle.com>
18175 * doc/invoke.texi ([-Wmissing-field-initializers]): Update.
18177 2014-09-11 Alan Lawrence <alan.lawrence@arm.com>
18179 * config/aarch64/aarch64-builtins.c (aarch64_types_unop_su_qualifiers,
18180 TYPES_REINTERP_SU, aarch64_types_unop_sp_qualifiers, TYPE_REINTERP_SP,
18181 aarch64_types_unop_us_qualifiers, TYPES_REINTERP_US,
18182 aarch64_types_unop_ps_qualifiers, TYPES_REINTERP_PS, BUILTIN_VD):
18185 (aarch64_fold_builtin): Remove all reinterpret cases.
18187 * config/aarch64/aarch64-protos.h (aarch64_simd_reinterpret): Delete.
18189 * config/aarch64/aarch64-simd-builtins.def (reinterpret*) : Delete.
18191 * config/aarch64/aarch64-simd.md (aarch64_reinterpretv8qi<mode>,
18192 aarch64_reinterpretv4hi<mode>, aarch64_reinterpretv2si<mode>,
18193 aarch64_reinterpretv2sf<mode>, aarch64_reinterpretdi<mode>,
18194 aarch64_reinterpretv1df<mode>, aarch64_reinterpretv16qi<mode>,
18195 aarch64_reinterpretv8hi<mode>, aarch64_reinterpretv4si<mode>,
18196 aarch64_reinterpretv4sf<mode>, aarch64_reinterpretv2di<mode>,
18197 aarch64_reinterpretv2df<mode>): Delete.
18199 * config/aarch64/aarch64.c (aarch64_simd_reinterpret): Delete.
18201 * config/aarch64/arm_neon.h (vreinterpret_p8_f64,
18202 vreinterpret_p16_f64, vreinterpret_f32_f64, vreinterpret_f64_f32,
18203 vreinterpret_f64_p8, vreinterpret_f64_p16, vreinterpret_f64_s8,
18204 vreinterpret_f64_s16, vreinterpret_f64_s32, vreinterpret_f64_u8,
18205 vreinterpret_f64_u16, vreinterpret_f64_u32, vreinterpret_s64_f64,
18206 vreinterpret_u64_f64, vreinterpret_s8_f64, vreinterpret_s16_f64,
18207 vreinterpret_s32_f64, vreinterpret_u8_f64, vreinterpret_u16_f64,
18208 vreinterpret_u32_f64): Use cast.
18210 * config/aarch64/iterators.md (VD_RE): Delete.
18212 2014-09-11 Alan Lawrence <alan.lawrence@arm.com>
18214 * config/aarch64/arm_neon.h (aarch64_vset_lane_any): New (*2).
18215 (vset_lane_f32, vset_lane_f64, vset_lane_p8, vset_lane_p16,
18216 vset_lane_s8, vset_lane_s16, vset_lane_s32, vset_lane_s64,
18217 vset_lane_u8, vset_lane_u16, vset_lane_u32, vset_lane_u64,
18218 vsetq_lane_f32, vsetq_lane_f64, vsetq_lane_p8, vsetq_lane_p16,
18219 vsetq_lane_s8, vsetq_lane_s16, vsetq_lane_s32, vsetq_lane_s64,
18220 vsetq_lane_u8, vsetq_lane_u16, vsetq_lane_u32, vsetq_lane_u64):
18221 Replace inline assembler with __aarch64_vset_lane_any.
18223 2014-09-11 James Greenhalgh <james.greenhalgh@arm.com>
18225 * config/aarch64/arm_neon.h (vmull_high_lane_s16): Fix argument
18227 (vmull_high_lane_s32): Likewise.
18228 (vmull_high_lane_u16): Likewise.
18229 (vmull_high_lane_u32): Likewise.
18231 2014-09-11 Jason Merrill <jason@redhat.com>
18234 * ipa-devirt.c (ipa_devirt): Don't check DECL_COMDAT.
18236 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
18239 * config/avr/avr.md (*tablejump.3byte-pc): New insn.
18240 (*tablejump): Restrict to !AVR_HAVE_EIJMP_EICALL. Add void clobber.
18241 (casesi): Expand to *tablejump.3byte-pc if AVR_HAVE_EIJMP_EICALL.
18243 2014-09-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
18244 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
18245 Anna Tikhonova <anna.tikhonova@intel.com>
18246 Ilya Tocar <ilya.tocar@intel.com>
18247 Andrey Turetskiy <andrey.turetskiy@intel.com>
18248 Ilya Verbin <ilya.verbin@intel.com>
18249 Kirill Yukhin <kirill.yukhin@intel.com>
18250 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
18252 * config/i386/sse.md
18253 (define_expand "<avx512>_vpermi2var<VI48F:mode>3_maskz"): Rename from
18254 "avx512f_vpermi2var<mode>3_maskz" and update mode iterator.
18255 (define_expand "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_maskz"):
18257 (define_insn "<avx512>_vpermi2var<VI48F:mode>3<sd_maskz_name>"): Rename
18258 from "avx512f_vpermi2var<mode>3<sd_maskz_name>" and update mode
18260 (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
18262 (define_insn "<avx512>_vpermi2var<VI48F:mode>3_mask"): Rename from
18263 "avx512f_vpermi2var<mode>3_mask" and update mode iterator.
18264 (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_mask"): New.
18265 (define_expand "<avx512>_vpermt2var<VI48F:mode>3_maskz"): Rename from
18266 "avx512f_vpermt2var<mode>3_maskz" and update mode iterator.
18267 (define_expand "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_maskz"): New.
18268 (define_insn "<avx512>_vpermt2var<VI48F:mode>3<sd_maskz_name>"): Rename
18269 from "avx512f_vpermt2var<mode>3<sd_maskz_name>" and update mode
18271 (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
18273 (define_insn "<avx512>_vpermt2var<VI48F:mode>3_mask"): Rename from
18274 "avx512f_vpermt2var<mode>3_mask" and update mode iterator.
18275 (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_mask"): New.
18277 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
18279 * varpool.c (varpool_node::ctor_useable_for_folding_p): Do not try
18280 to access removed nodes.
18282 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
18284 PR tree-optimization/63186
18285 * ipa-split.c (test_nonssa_use): Skip nonforced labels.
18286 (mark_nonssa_use): Likewise.
18287 (verify_non_ssa_vars): Verify all header blocks for label
18290 2014-09-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
18291 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
18292 Anna Tikhonova <anna.tikhonova@intel.com>
18293 Ilya Tocar <ilya.tocar@intel.com>
18294 Andrey Turetskiy <andrey.turetskiy@intel.com>
18295 Ilya Verbin <ilya.verbin@intel.com>
18296 Kirill Yukhin <kirill.yukhin@intel.com>
18297 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
18299 * config/i386/sse.md
18300 (define_mode_attr avx2_avx512): Rename from avx2_avx512bw.
18301 (define_mode_iterator VI48F_256_512): Extend to AVX-512VL.
18302 (define_insn "<avx2_avx512>_permvar<mode><mask_name>"): Rename from
18303 "<avx2_avx512f>_permvar<mode><mask_name>".
18304 (define_insn "<avx512>_permvar<mode><mask_name>"): New.
18305 (define_insn "<avx2_avx512>_ashrv<VI48_AVX512F_AVX512VL:mode><mask_name>"):
18306 Rename from "<avx2_avx512f>_ashrv<mode><mask_name>".
18307 (define_insn "<avx2_avx512>_ashrv<VI2_AVX512VL:mode><mask_name>"):
18309 (define_insn "<avx2_avx512>_<shift_insn>v<VI48_AVX512F:mode><mask_name>"):
18310 Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
18311 (define_insn "<avx2_avx512>_<shift_insn>v<VI2_AVX512VL:mode><mask_name>"):
18312 Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
18314 2014-09-10 Michael Meissner <meissner@linux.vnet.ibm.com>
18316 * config/rs6000/vsx.md (vsx_fmav4sf4): Use correct constraints for
18317 V2DF, V4SF, DF, and DI modes.
18318 (vsx_fmav2df2): Likewise.
18319 (vsx_float_fix_<mode>2): Likewise.
18320 (vsx_reduc_<VEC_reduc_name>_v2df_scalar): Likewise.
18322 2014-09-10 Xinliang David Li <davidxl@google.com>
18325 * config/arm/arm.md (movcond_addsi): Handle case where source
18326 and target operands are the same.
18328 2014-09-10 David Malcolm <dmalcolm@redhat.com>
18330 * final.c (this_is_asm_operands): Strengthen this variable from
18331 rtx to const rtx_insn *.
18332 * output.h (this_is_asm_operands): Likewise.
18333 * rtl-error.c (location_for_asm): Strengthen param "insn" from
18334 const_rtx to const rtx_insn *.
18335 (diagnostic_for_asm): Likewise.
18336 * rtl-error.h (error_for_asm): Likewise.
18337 (warning_for_asm): Likewise.
18339 2014-09-10 David Malcolm <dmalcolm@redhat.com>
18341 * genextract.c (print_header): When writing out insn_extract to
18342 insn-extract.c, strengthen the param "insn" from rtx to rtx_insn *.
18343 * recog.h (insn_extract): Strengthen the param from rtx to
18346 2014-09-10 Mike Stump <mikestump@comcast.net>
18348 * doc/install.texi (Prerequisites): Note Tcl 8.6 bug fixed in
18351 2014-09-10 Martin Jambor <mjambor@suse.cz>
18353 * cgraphunit.c (expand_thunk): If not expanding, set analyzed flag.
18354 (analyze): Do not set analyze flag if expand_thunk returns false;.
18355 (create_wrapper): Likewise.
18356 * cgraphclones.c (duplicate_thunk_for_node): Likewise.
18358 2014-09-10 Martin Jambor <mjambor@suse.cz>
18361 * cgraphclones.c (duplicate_thunk_for_node): Copy arguments of the
18362 new decl properly. Analyze the new thunk if it is expanded.
18364 2014-09-10 Andreas Schwab <schwab@suse.de>
18366 * coretypes.h (struct _dont_use_rtx_insn_here_, rtx_insn)
18367 [USED_FOR_TARGET]: Define.
18369 2014-09-10 Matthew Fortune <matthew.fortune@imgtec.com>
18371 * config/mips/mips.c (mips_secondary_reload_class): Handle
18374 2014-09-10 Robert Suchanek <robert.suchanek@imgtec.com>
18376 * lra-lives.c (process_bb_lives): Replace assignment with bitwise OR
18379 2014-09-10 Jakub Jelinek <jakub@redhat.com>
18381 * flag-types.h (enum sanitize_code): Add SANITIZE_NONNULL_ATTRIBUTE
18382 and SANITIZE_RETURNS_NONNULL_ATTRIBUTE, or them into SANITIZE_UNDEFINED.
18383 * opts.c (common_handle_option): Handle SANITIZE_NONNULL_ATTRIBUTE and
18384 SANITIZE_RETURNS_NONNULL_ATTRIBUTE and disable
18385 flag_delete_null_pointer_checks for them.
18386 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_NONNULL_ARG,
18387 BUILT_IN_UBSAN_HANDLE_NONNULL_ARG_ABORT,
18388 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
18389 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): New.
18390 * ubsan.c (instrument_bool_enum_load): Set *gsi back to
18392 (instrument_nonnull_arg, instrument_nonnull_return): New functions.
18393 (pass_ubsan::gate): Return true even for SANITIZE_NONNULL_ATTRIBUTE
18394 or SANITIZE_RETURNS_NONNULL_ATTRIBUTE.
18395 (pass_ubsan::execute): Call instrument_nonnull_{arg,return}.
18396 * doc/invoke.texi (-fsanitize=nonnull-attribute,
18397 -fsanitize=returns-nonnull-attribute): Document.
18399 * ubsan.h (struct ubsan_mismatch_data): Removed.
18400 (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
18401 * ubsan.c (ubsan_source_location): For unknown locations,
18402 pass { NULL, 0, 0 } instead of { "<unknown>", x, y }.
18403 (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
18404 Allow more than one location and arbitrary extra arguments passed
18405 in ... instead of through MISMATCH pointer.
18406 (ubsan_instrument_unreachable, ubsan_expand_bounds_ifn,
18407 ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
18408 instrument_bool_enum_load, ubsan_instrument_float_cast): Adjust
18411 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
18412 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
18413 Anna Tikhonova <anna.tikhonova@intel.com>
18414 Ilya Tocar <ilya.tocar@intel.com>
18415 Andrey Turetskiy <andrey.turetskiy@intel.com>
18416 Ilya Verbin <ilya.verbin@intel.com>
18417 Kirill Yukhin <kirill.yukhin@intel.com>
18418 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
18420 * config/i386/sse.md
18421 (define_mode_iterator VI48F): New.
18422 (define_insn "<avx512>_compress<mode>_mask"): Rename from
18423 "avx512f_compress<mode>_mask" and update mode iterator.
18424 (define_insn "<avx512>_compressstore<mode>_mask"): Rename from
18425 "avx512f_compressstore<mode>_mask" and update mode iterator.
18426 (define_expand "<avx512>_expand<mode>_maskz"): Rename from
18427 "avx512f_expand<mode>_maskz" and update mode iterator.
18428 (define_insn "<avx512>_expand<mode>_mask"): Rename from
18429 "avx512f_expand<mode>_mask" and update mode iterator.
18431 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
18432 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
18433 Anna Tikhonova <anna.tikhonova@intel.com>
18434 Ilya Tocar <ilya.tocar@intel.com>
18435 Andrey Turetskiy <andrey.turetskiy@intel.com>
18436 Ilya Verbin <ilya.verbin@intel.com>
18437 Kirill Yukhin <kirill.yukhin@intel.com>
18438 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
18440 * config/i386/i386.c
18441 (ix86_expand_args_builtin): Handle avx512dq_rangepv8df_mask_round,
18442 avx512dq_rangepv16sf_mask_round, avx512dq_rangepv4df_mask,
18443 avx512dq_rangepv8sf_mask, avx512dq_rangepv2df_mask,
18444 avx512dq_rangepv4sf_mask.
18445 * config/i386/sse.md
18446 (define_c_enum "unspec"): Add UNSPEC_REDUCE, UNSPEC_FPCLASS,
18448 (define_insn "<mask_codefor>reducep<mode><mask_name>"): New.
18449 (define_insn "reduces<mode>"): Ditto.
18450 (define_insn "avx512dq_rangep<mode><mask_name><round_saeonly_name>"):
18452 (define_insn "avx512dq_ranges<mode><round_saeonly_name>"): Ditto.
18453 (define_insn "avx512dq_fpclass<mode><mask_scalar_merge_name>"): Ditto.
18454 (define_insn "avx512dq_vmfpclass<mode>"): Ditto..
18456 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
18457 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
18458 Anna Tikhonova <anna.tikhonova@intel.com>
18459 Ilya Tocar <ilya.tocar@intel.com>
18460 Andrey Turetskiy <andrey.turetskiy@intel.com>
18461 Ilya Verbin <ilya.verbin@intel.com>
18462 Kirill Yukhin <kirill.yukhin@intel.com>
18463 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
18465 * config/i386/i386.c
18466 (avx512f_vgetmantv2df_round): Rename from "avx512f_getmantv2df_round".
18467 (avx512f_vgetmantv4sf_round): Rename from "avx512f_vgetmantv4sf_round".
18468 (ix86_expand_args_builtin): Handle avx512vl_getmantv8sf_mask,
18469 avx512vl_getmantv4df_mask, avx512vl_getmantv4sf_mask,
18470 avx512vl_getmantv2df_mask.
18471 (ix86_expand_round_builtin): Handle avx512f_vgetmantv2df_round,
18472 avx512f_vgetmantv4sf_round.
18473 * config/i386/sse.md
18474 (define_insn "<avx512>_storeu<ssemodesuffix><avxsizesuffix>_mask"):
18475 Rename from "avx512f_storeu<ssemodesuffix>512_mask" and update
18477 (define_insn "<mask_codefor>rcp14<mode><mask_name>"): Use VF_AVX512VL.
18478 (define_insn "<mask_codefor>rsqrt14<mode><mask_name>"): Ditto.
18479 (define_insn "<avx512>_scalef<mode><mask_name><round_name>"): Rename
18480 from "avx512f_scalef<mode><mask_name><round_name>" and update mode
18482 (define_insn "<avx512>_getexp<mode><mask_name><round_saeonly_name>"):
18483 Rename from "avx512f_getexp<mode><mask_name><round_saeonly_name>" and
18484 update mode iterator.
18486 "<avx512>_fixupimm<mode>_maskz<round_saeonly_expand_name>"): Rename from
18487 "avx512f_fixupimm<mode>_maskz<round_saeonly_expand_name>" and update
18490 "<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>"): Rename
18491 from "avx512f_fixupimm<mode><sd_maskz_name><round_saeonly_name>" and
18492 update mode iterator.
18493 (define_insn "<avx512>_fixupimm<mode>_mask<round_saeonly_name>"): Rename
18494 from "avx512f_fixupimm<mode>_mask<round_saeonly_name>" and update mode
18497 "<avx512>_rndscale<mode><mask_name><round_saeonly_name>"): rename from
18498 "avx512f_rndscale<mode><mask_name><round_saeonly_name>" and update
18500 (define_insn "<avx512>_getmant<mode><mask_name><round_saeonly_name>"):
18501 Rename from "avx512f_getmant<mode><mask_name><round_saeonly_name>" and
18502 update mode iterator.
18503 (define_insn "avx512f_vgetmant<mode><round_saeonly_name>"): Rename from
18504 "avx512f_getmant<mode><round_saeonly_name>".
18506 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
18509 * ipa-prop.c (compute_known_type_jump_func): Fix conditional.
18511 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
18512 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
18513 Anna Tikhonova <anna.tikhonova@intel.com>
18514 Ilya Tocar <ilya.tocar@intel.com>
18515 Andrey Turetskiy <andrey.turetskiy@intel.com>
18516 Ilya Verbin <ilya.verbin@intel.com>
18517 Kirill Yukhin <kirill.yukhin@intel.com>
18518 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
18520 * config/i386/sse.md (define_mode_iterator VF_AVX512VL): New.
18521 (define_mode_iterator FMAMODEM): Allow 128/256bit EVEX version.
18522 (define_mode_iterator FMAMODE_AVX512): New.
18523 (define_mode_iterator FMAMODE): Remove conditions.
18524 (define_expand "fma4i_fmadd_<mode>"): Use FMAMODE_AVX512 mode iterator.
18525 (define_expand "<avx512>_fmadd_<mode>_maskz<round_expand_name>"): Rename
18526 from "<avx512>_fmadd_<mode>_maskz<round_expand_name>" and use VF_AVX512VL
18528 (define_mode_iterator FMAMODE_NOVF512): Remove.
18529 (define_insn "*fma_fmadd_<mode>"): Rename from
18530 "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>" and use
18531 FMAMODE mode iterator.
18532 (define_mode_iterator VF_SF_AVX512VL): New.
18533 (define_insn "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>"):
18534 Use VF_SF_AVX512VL mode iterator.
18535 (define_insn "<avx512>_fmadd_<mode>_mask<round_name>"): Rename from
18536 "avx512f_fmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
18538 (define_insn "<avx512>_fmadd_<mode>_mask3<round_name>"): Rename from
18539 "avx512f_fmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
18541 (define_insn "*fma_fmsub_<mode>"): Rename from
18542 "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>" and use
18543 FMAMODE mode iterator.
18544 (define_insn "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>"):
18545 Use VF_SF_AVX512VL mode iterator.
18546 (define_insn "<avx512>_fmsub_<mode>_mask<round_name>"): Rename from
18547 "avx512f_fmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
18549 (define_insn "<avx512>_fmsub_<mode>_mask3<round_name>"): Rename from
18550 "avx512f_fmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
18552 (define_insn "*fma_fnmadd_<mode>"): Rename from
18553 "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>" and
18554 use FMAMODE mode iterator.
18555 (define_insn "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>"):
18556 Use VF_SF_AVX512VL mode iterator.
18557 (define_insn "<avx512>_fnmadd_<mode>_mask<round_name>"): Rename from
18558 "avx512f_fnmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
18560 (define_insn "<avx512>_fnmadd_<mode>_mask3<round_name>"): Rename from
18561 "avx512f_fnmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
18563 (define_insn "*fma_fnmsub_<mode>"): Rename from
18564 "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>" and use
18565 FMAMODE mode iterator.
18566 (define_insn "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>"):
18567 Use VF_SF_AVX512VL mode iterator.
18568 (define_insn "<avx512>_fnmsub_<mode>_mask<round_name>"): Rename from
18569 "avx512f_fnmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
18571 (define_insn "<avx512>_fnmsub_<mode>_mask3<round_name>"): Rename from
18572 "avx512f_fnmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
18574 (define_expand "<avx512>_fmaddsub_<mode>_maskz<round_expand_name>"):
18575 Rename from "avx512f_fmaddsub_<mode>_maskz<round_expand_name>" and
18576 use VF_AVX512VL mode iterator.
18577 (define_insn "*fma_fmaddsub_<mode>"): Rename from
18578 "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>" and
18579 remove subst usage.
18580 (define_insn "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>"):
18581 Use VF_SF_AVX512VL mode iterator.
18582 (define_insn "<avx512>_fmaddsub_<mode>_mask<round_name>"): Rename from
18583 "avx512f_fmaddsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
18585 (define_insn "<avx512>_fmaddsub_<mode>_mask3<round_name>"): Rename from
18586 "avx512f_fmaddsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
18588 (define_insn "*fma_fmsubadd_<mode>"): Rename from
18589 "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>" and
18590 remove usage of subst.
18591 (define_insn "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>"):
18592 Use VF_SF_AVX512VL mode iterator.
18593 (define_insn "<avx512>_fmsubadd_<mode>_mask<round_name>"): Rename from
18594 "avx512f_fmsubadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
18596 (define_insn "<avx512>_fmsubadd_<mode>_mask3<round_name>"): Rename from
18597 "avx512f_fmsubadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
18600 2014-09-10 Kugan Vivekanandarajah <kuganv@linaro.org>
18603 * calls.c (precompute_arguments): Check
18604 promoted_for_signed_and_unsigned_p and set the promoted mode.
18605 (promoted_for_signed_and_unsigned_p): New function.
18606 (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
18607 and set the promoted mode.
18608 * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
18609 * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
18610 SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
18612 2014-09-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
18614 * opth-gen.awk: Generate mapping from cpp message reasons to the
18615 options that enable them.
18616 * doc/options.texi (CppReason): Document.
18618 2014-09-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
18620 * doc/invoke.texi (Wnormalized=): Update.
18622 2014-09-09 Segher Boessenkool <segher@kernel.crashing.org>
18625 * config/rs6000/rs6000.md (*bool<mode>3): Allow only register
18626 operands. Split off the constant operand alternative to ...
18627 (*bool<mode>3_imm): New.
18629 2014-09-09 David Malcolm <dmalcolm@redhat.com>
18631 * rtl.h (single_set_2): Strengthen first param from const_rtx to
18632 const rtx_insn *, and move prototype to above...
18633 (single_set): ...this. Convert this from a macro to an inline
18634 function, enforcing the requirement that the param is a const
18636 (find_args_size_adjust): Strengthen param from rtx to rtx_insn *.
18638 * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
18639 Strengthen both params from rtx to rtx_insn *.
18640 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
18641 Likewise; introduce locals "producer_set", "consumer_set", using
18642 them in place of "producer" and "consumer" when dealing with SET
18644 * config/avr/avr.c (avr_out_plus): Add checked cast to rtx_insn *
18645 when invoking single_set in region guarded by INSN_P.
18646 (avr_out_bitop): Likewise.
18647 (_reg_unused_after): Introduce local rtx_sequence * "seq" in
18648 region guarded by GET_CODE check, using methods to strengthen
18649 local "this_insn" from rtx to rtx_insn *, and for clarity.
18650 * config/avr/avr.md (define_insn_and_split "xload8<mode>_A"):
18651 Strengthen local "insn" from rtx to rtx_insn *.
18652 (define_insn_and_split "xload<mode>_A"): Likewise.
18653 * config/bfin/bfin.c (trapping_loads_p): Likewise for param
18655 (find_load): Likewise for return type.
18656 (workaround_speculation): Likewise for both locals named
18658 * config/cris/cris.c (cris_cc0_user_requires_cmp): Likewise for
18660 * config/cris/cris.md (define_peephole2 ; moversideqi): Likewise
18662 * config/h8300/h8300-protos.h (notice_update_cc): Likewise for
18664 * config/h8300/h8300.c (notice_update_cc): Likewise.
18665 * config/i386/i386.c (ix86_flags_dependent): Likewise for params
18666 "insn" and "dep_insn".
18667 (exact_store_load_dependency): Likewise for both params.
18668 (ix86_macro_fusion_pair_p): Eliminate local named "single_set"
18669 since this now clashes with inline function. Instead, delay
18670 calling single_set until the point where its needed, and then
18671 assign the result to "compare_set" and rework the conditional that
18673 * config/ia64/ia64.md (define_expand "tablejump"): Strengthen
18674 local "last" from rtx to rtx_insn *.
18675 * config/mips/mips-protos.h (mips_load_store_insns): Likewise for
18677 (mips_store_data_bypass_p): Likewise for both params.
18678 * config/mips/mips.c (mips_load_store_insns): Likewise for second
18680 (mips_store_data_bypass_p): Likewise for both params.
18681 (mips_orphaned_high_part_p): Likewise for param "insn".
18682 * config/mn10300/mn10300.c (extract_bundle): Likewise.
18683 (mn10300_bundle_liw): Likewise for locals "r", "insn1", "insn2".
18684 Introduce local rtx "insn2_pat".
18685 * config/rl78/rl78.c (move_elim_pass): Likewise for locals "insn",
18687 (rl78_remove_unused_sets): Likewise for locals "insn", "ninsn".
18688 Introduce local rtx "set", using it in place of "insn" for the
18689 result of single_set. This appears to fix a bug, since the call
18690 to find_regno_note on a SET does nothing.
18691 * config/rs6000/rs6000.c (set_to_load_agen): Strengthen both
18692 params from rtx to rtx_insn *.
18693 (set_to_load_agen): Likewise.
18694 * config/s390/s390.c (s390_label_align): Likewise for local
18695 "prev_insn". Introduce new rtx locals "set" and "src", using
18696 them in place of "prev_insn" for the results of single_set
18697 and SET_SRC respectively.
18698 (s390_swap_cmp): Strengthen local "jump" from rtx to rtx_insn *.
18699 Introduce new rtx local "set" using in place of "jump" for the
18700 result of single_set. Use SET_SRC (set) rather than plain
18702 * config/sh/sh.c (noncall_uses_reg): Strengthen param 2from
18704 (noncall_uses_reg): Likewise.
18705 (reg_unused_after): Introduce local rtx_sequence * "seq" in region
18706 guarded by GET_CODE check, using its methods for clarity, and to
18707 enable strengthening local "this_insn" from rtx to rtx_insn *.
18708 * config/sh/sh.md (define_expand "mulhisi3"): Strengthen local
18709 "insn" from rtx to rtx_insn *.
18710 (define_expand "umulhisi3"): Likewise.
18711 (define_expand "smulsi3_highpart"): Likewise.
18712 (define_expand "umulsi3_highpart"): Likewise.
18713 * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
18714 local "after". Replace GET_CODE check with a dyn_cast,
18715 introducing new local rtx_sequence * "seq", using insn method for
18718 * dwarf2cfi.c (dwarf2out_frame_debug): Strengthen param "insn"
18719 from rtx to rtx_insn *. Introduce local rtx "pat", using it in
18720 place of "insn" once we're dealing with patterns rather than the
18722 (scan_insn_after): Strengthen param "insn" from rtx to rtx_insn *.
18723 (scan_trace): Likewise for local "elt", updating lookups within
18724 sequence to use insn method rather than element method.
18725 * expr.c (find_args_size_adjust): Strengthen param "insn" from rtx
18727 * gcse.c (gcse_emit_move_after): Likewise for local "new_rtx".
18728 * ifcvt.c (noce_try_abs): Likewise for local "insn".
18729 * ira.c (fix_reg_equiv_init): Add checked cast to rtx_insn * when
18730 invoking single_set.
18731 * lra-constraints.c (insn_rhs_dead_pseudo_p): Strengthen param
18732 "insn" from rtx to rtx_insn *.
18733 (skip_usage_debug_insns): Likewise for return type, adding a
18735 (check_secondary_memory_needed_p): Likewise for local "insn".
18736 (inherit_reload_reg): Likewise.
18737 * modulo-sched.c (sms_schedule): Likewise for local "count_init".
18738 * recog.c (peep2_attempt): Likewise for local "old_insn", adding
18740 (store_data_bypass_p): Likewise for both params.
18741 (if_test_bypass_p): Likewise.
18742 * recog.h (store_data_bypass_p): Likewise for both params.
18743 (if_test_bypass_p): Likewise.
18744 * reload.c (find_equiv_reg): Likewise for local "where".
18745 * reorg.c (delete_jump): Likewise for param "insn".
18746 * rtlanal.c (single_set_2): Strenghen param "insn" from const_rtx
18747 to const rtx_insn *.
18748 * store-motion.c (replace_store_insn): Likewise for param "del".
18749 (delete_store): Strengthen local "i" from rtx to rtx_insn_list *,
18750 and use its methods for clarity, and to strengthen local "del"
18751 from rtx to rtx_insn *.
18752 (build_store_vectors): Use insn method of "st" when calling
18753 replace_store_insn for typesafety and clarity.
18755 2014-09-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
18757 * config/rs6000/rs6000.c (rtx_is_swappable_p): Add
18758 UNSPEC_VSX_CVDPSPN as an unswappable operand, and add commentary
18759 on how to make it legal in future.
18761 2014-09-09 David Malcolm <dmalcolm@redhat.com>
18763 * caller-save.c (rtx saveinsn): Strengthen this variable from rtx
18765 (restinsn): Likewise.
18766 * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_move):
18767 Likewise for param.
18768 * config/aarch64/aarch64.c (aarch64_simd_attr_length_move):
18770 * config/arc/arc-protos.h (arc_adjust_insn_length): Likewise for
18772 (arc_hazard): Likewise for both params.
18773 * config/arc/arc.c (arc600_corereg_hazard): Likewise, adding
18774 checked casts to rtx_sequence * and uses of the insn method for
18776 (arc_hazard): Strengthen both params from rtx to rtx_insn *.
18777 (arc_adjust_insn_length): Likewise for param "insn".
18778 (struct insn_length_parameters_s): Likewise for first param of
18779 "get_variants" callback field.
18780 (arc_get_insn_variants): Likewise for first param and local
18781 "inner". Replace a check of GET_CODE with a dyn_cast to
18782 rtx_sequence *, using methods for type-safety and clarity.
18783 * config/arc/arc.h (ADJUST_INSN_LENGTH): Use casts to
18784 rtx_sequence * and uses of the insn method for type-safety when
18785 invoking arc_adjust_insn_length.
18786 * config/arm/arm-protos.h (arm_attr_length_move_neon): Likewise
18788 (arm_address_offset_is_imm): Likewise.
18789 (struct tune_params): Likewise for params 1 and 3 of the
18790 "sched_adjust_cost" callback field.
18791 * config/arm/arm.c (cortex_a9_sched_adjust_cost): Likewise for
18792 params 1 and 3 ("insn" and "dep").
18793 (xscale_sched_adjust_cost): Likewise.
18794 (fa726te_sched_adjust_cost): Likewise.
18795 (cortexa7_older_only): Likewise for param "insn".
18796 (cortexa7_younger): Likewise.
18797 (arm_attr_length_move_neon): Likewise.
18798 (arm_address_offset_is_imm): Likewise.
18799 * config/avr/avr-protos.h (avr_notice_update_cc): Likewise.
18800 * config/avr/avr.c (avr_notice_update_cc): Likewise.
18801 * config/bfin/bfin.c (hwloop_pattern_reg): Likewise.
18802 (workaround_speculation): Likewise for local "last_condjump".
18803 * config/c6x/c6x.c (shadow_p): Likewise for param "insn".
18804 (shadow_or_blockage_p): Likewise.
18805 (get_unit_reqs): Likewise.
18806 (get_unit_operand_masks): Likewise.
18807 (c6x_registers_update): Likewise.
18808 (returning_call_p): Likewise.
18809 (can_use_callp): Likewise.
18810 (convert_to_callp): Likewise.
18811 (find_last_same_clock): Likwise for local "t".
18812 (reorg_split_calls): Likewise for local "shadow".
18813 (hwloop_pattern_reg): Likewise for param "insn".
18814 * config/frv/frv-protos.h (frv_final_prescan_insn): Likewise.
18815 * config/frv/frv.c (frv_final_prescan_insn): Likewise.
18816 (frv_extract_membar): Likewise.
18817 (frv_optimize_membar_local): Strengthen param "last_membar" from
18818 rtx * to rtx_insn **.
18819 (frv_optimize_membar_global): Strengthen param "membar" from rtx
18821 (frv_optimize_membar): Strengthen local "last_membar" from rtx *
18823 * config/ia64/ia64-protos.h (ia64_st_address_bypass_p): Strengthen
18824 both params from rtx to rtx_insn *.
18825 (ia64_ld_address_bypass_p): Likewise.
18826 * config/ia64/ia64.c (ia64_safe_itanium_class): Likewise for param
18828 (ia64_safe_type): Likewise.
18829 (group_barrier_needed): Likewise.
18830 (safe_group_barrier_needed): Likewise.
18831 (ia64_single_set): Likewise.
18832 (is_load_p): Likewise.
18833 (record_memory_reference): Likewise.
18834 (get_mode_no_for_insn): Likewise.
18835 (important_for_bundling_p): Likewise.
18836 (unknown_for_bundling_p): Likewise.
18837 (ia64_st_address_bypass_p): Likewise for both params.
18838 (ia64_ld_address_bypass_p): Likewise.
18839 (expand_vselect): Introduce new local rtx_insn * "insn", using it
18840 in place of rtx "x" after the emit_insn call.
18841 * config/i386/i386-protos.h (x86_extended_QIreg_mentioned_p):
18842 Strengthen param from rtx to rtx_insn *.
18843 (ix86_agi_dependent): Likewise for both params.
18844 (ix86_attr_length_immediate_default): Likewise for param 1.
18845 (ix86_attr_length_address_default): Likewise for param.
18846 (ix86_attr_length_vex_default): Likewise for param 1.
18847 * config/i386/i386.c (ix86_attr_length_immediate_default):
18848 Likewise for param "insn".
18849 (ix86_attr_length_address_default): Likewise.
18850 (ix86_attr_length_vex_default): Likewise.
18851 (ix86_agi_dependent): Likewise for both params.
18852 (x86_extended_QIreg_mentioned_p): Likewise for param "insn".
18853 (vselect_insn): Likewise for this variable.
18854 * config/m68k/m68k-protos.h (m68k_sched_attr_opx_type): Likewise
18856 (m68k_sched_attr_opy_type): Likewise.
18857 * config/m68k/m68k.c (sched_get_operand): Likewise.
18858 (sched_attr_op_type): Likewise.
18859 (m68k_sched_attr_opx_type): Likewise.
18860 (m68k_sched_attr_opy_type): Likewise.
18861 (sched_get_reg_operand): Likewise.
18862 (sched_get_mem_operand): Likewise.
18863 (m68k_sched_address_bypass_p): Likewise for both params.
18864 (sched_get_indexed_address_scale): Likewise.
18865 (m68k_sched_indexed_address_bypass_p): Likewise.
18866 * config/m68k/m68k.h (m68k_sched_address_bypass_p): Likewise.
18867 (m68k_sched_indexed_address_bypass_p): Likewise.
18868 * config/mep/mep.c (mep_jmp_return_reorg): Strengthen locals
18869 "label", "ret" from rtx to rtx_insn *, adding a checked cast and
18871 * config/mips/mips-protos.h (mips_linked_madd_p): Strengthen both
18872 params from rtx to rtx_insn *.
18873 (mips_fmadd_bypass): Likewise.
18874 * config/mips/mips.c (mips_fmadd_bypass): Likewise.
18875 (mips_linked_madd_p): Likewise.
18876 (mips_macc_chains_last_hilo): Likewise for this variable.
18877 (mips_macc_chains_record): Likewise for param.
18878 (vr4130_last_insn): Likewise for this variable.
18879 (vr4130_swap_insns_p): Likewise for both params.
18880 (mips_ls2_variable_issue): Likewise for param.
18881 (mips_need_noat_wrapper_p): Likewise for param "insn".
18882 (mips_expand_vselect): Add a new local rtx_insn * "insn", using it
18883 in place of "x" after the emit_insn.
18884 * config/pa/pa-protos.h (pa_fpstore_bypass_p): Strengthen both
18885 params from rtx to rtx_insn *.
18886 * config/pa/pa.c (pa_fpstore_bypass_p): Likewise.
18887 (pa_combine_instructions): Introduce local "par" for result of
18888 gen_rtx_PARALLEL, moving decl and usage of new_rtx for after call
18890 (pa_can_combine_p): Strengthen param "new_rtx" from rtx to rtx_insn *.
18891 * config/rl78/rl78.c (insn_ok_now): Likewise for param "insn".
18892 (rl78_alloc_physical_registers_op1): Likewise.
18893 (rl78_alloc_physical_registers_op2): Likewise.
18894 (rl78_alloc_physical_registers_ro1): Likewise.
18895 (rl78_alloc_physical_registers_cmp): Likewise.
18896 (rl78_alloc_physical_registers_umul): Likewise.
18897 (rl78_alloc_address_registers_macax): Likewise.
18898 (rl78_alloc_physical_registers): Likewise for locals "insn", "curr".
18899 * config/s390/predicates.md (execute_operation): Likewise for
18901 * config/s390/s390-protos.h (s390_agen_dep_p): Likewise for both
18903 * config/s390/s390.c (s390_safe_attr_type): Likewise for param.
18904 (addr_generation_dependency_p): Likewise for param "insn".
18905 (s390_agen_dep_p): Likewise for both params.
18906 (s390_fpload_toreg): Likewise for param "insn".
18907 * config/sh/sh-protos.h (sh_loop_align): Likewise for param.
18908 * config/sh/sh.c (sh_loop_align): Likewise for param and local
18910 * config/sh/sh.md (define_peephole2): Likewise for local "insn2".
18911 * config/sh/sh_treg_combine.cc
18912 (sh_treg_combine::make_inv_ccreg_insn): Likewise for return type
18914 (sh_treg_combine::try_eliminate_cstores): Likewise for local "i".
18915 * config/stormy16/stormy16.c (combine_bnp): Likewise for locals
18916 "and_insn", "load", "shift".
18917 * config/tilegx/tilegx.c (match_pcrel_step2): Likewise for param
18919 * final.c (final_scan_insn): Introduce local rtx_insn * "other"
18920 for XEXP (note, 0) of the REG_CC_SETTER note.
18921 (cleanup_subreg_operands): Strengthen param "insn" from rtx to
18922 rtx_insn *, eliminating a checked cast made redundant by this.
18923 * gcse.c (process_insert_insn): Strengthen local "insn" from rtx
18925 * genattr.c (main): When writing out the prototype to
18926 const_num_delay_slots, strengthen the param from rtx to
18928 * genattrtab.c (write_const_num_delay_slots): Likewise when
18929 writing out the implementation of const_num_delay_slots.
18930 * hw-doloop.h (struct hw_doloop_hooks): Strengthen the param
18931 "insn" of callback field "end_pattern_reg" from rtx to rtx_insn *.
18932 * ifcvt.c (noce_emit_store_flag): Eliminate local rtx "tmp" in
18933 favor of new rtx locals "src" and "set" and new local rtx_insn *
18935 (noce_emit_move_insn): Strengthen locals "seq" and "insn" from rtx
18937 (noce_emit_cmove): Eliminate local rtx "tmp" in favor of new rtx
18938 locals "cond", "if_then_else", "set" and new rtx_insn * locals
18940 (noce_try_cmove_arith): Strengthen locals "insn_a" and "insn_b",
18941 "last" from rtx to rtx_insn *. Likewise for a local "tmp",
18942 renaming to "tmp_insn". Eliminate the other local rtx "tmp" from
18943 the top-level scope, replacing with new more tightly-scoped rtx
18944 locals "reg", "pat", "mem" and rtx_insn * "insn", "copy_of_a",
18945 "new_insn", "copy_of_insn_b", and make local rtx "set" more
18947 * ira-int.h (ira_setup_alts): Strengthen param "insn" from rtx to
18949 * ira.c (setup_prohibited_mode_move_regs): Likewise for local
18951 (ira_setup_alts): Likewise for param "insn".
18952 * lra-constraints.c (emit_inc): Likewise for local "add_insn".
18953 * lra.c (emit_add3_insn): Split local rtx "insn" in two, an rtx
18955 (lra_emit_add): Eliminate top-level local rtx "insn" in favor of
18956 new more-tightly scoped rtx locals "add3_insn", "insn",
18957 "add2_insn" and rtx_insn * "move_insn".
18958 * postreload-gcse.c (eliminate_partially_redundant_load): Add
18959 checked cast on result of gen_move_insn when invoking
18961 * recog.c (insn_invalid_p): Strengthen param "insn" from rtx to
18963 (verify_changes): Add a checked cast on "object" when invoking
18965 (extract_insn_cached): Strengthen param "insn" from rtx to
18967 (extract_constrain_insn_cached): Likewise.
18968 (extract_insn): Likewise.
18969 * recog.h (insn_invalid_p): Likewise for param 1.
18970 (recog_memoized): Likewise for param.
18971 (extract_insn): Likewise.
18972 (extract_constrain_insn_cached): Likewise.
18973 (extract_insn_cached): Likewise.
18974 * reload.c (can_reload_into): Likewise for local "test_insn".
18975 * reload.h (cleanup_subreg_operands): Likewise for param.
18976 * reload1.c (emit_insn_if_valid_for_reload): Rename param from
18977 "insn" to "pat", reintroducing "insn" as an rtx_insn * on the
18978 result of emit_insn. Remove a checked cast made redundant by this
18980 * sel-sched-ir.c (sel_insn_rtx_cost): Strengthen param "insn" from
18982 * sel-sched.c (get_reg_class): Likewise.
18984 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
18985 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
18987 * config/aarch64/aarch64-elf-raw.h (ENDFILE_SPEC): Add crtfastmath.o.
18988 * config/aarch64/aarch64-linux.h (GNU_USER_TARGET_MATH_ENDFILE_SPEC):
18990 (ENDFILE_SPEC): Define and use GNU_USER_TARGET_MATH_ENDFILE_SPEC.
18992 2014-09-09 David Malcolm <dmalcolm@redhat.com>
18994 * rtl.h (INSN_LOCATION): Strengthen param from const_rtx to
18995 const rtx_insn *, and from rtx to rtx_insn * for the other
18996 overloaded variant.
18997 (RTL_LOCATION): Add a checked cast to rtx_insn * when invoking
18998 INSN_LOCATION, since we know INSN_P holds.
18999 (insn_line): Strengthen param from const_rtx to const rtx_insn *.
19000 (insn_file): Likewise.
19001 (insn_scope): Likewise.
19002 (insn_location): Likewise.
19004 * config/mips/mips.c (mips16_gp_pseudo_reg): Strengthen local
19005 "insn" from rtx to rtx_insn *, introducing a new local rtx "set"
19006 for the result of gen_load_const_gp.
19007 * config/rs6000/rs6000-protos.h (output_call): Strengthen first
19008 param from rtx to rtx_insn *.
19009 * config/rs6000/rs6000.c (output_call): Likewise.
19010 * dwarf2out.c (dwarf2out_var_location): Likewise for local "prev",
19011 introducing a checked cast to rtx_sequence * and use of the insn
19013 * emit-rtl.c (emit_copy_of_insn_after): Strengthen both params
19014 from rtx to rtx_insn *.
19015 (insn_scope): Strengthen param from const_rtx to const rtx_insn *.
19016 (insn_line): Likewise.
19017 (insn_file): Likewise.
19018 (insn_location): Likewise.
19019 * emit-rtl.h (emit_copy_of_insn_after): Strengthen both params
19020 from rtx to rtx_insn *.
19021 * print-rtl.c (print_rtx): Introduce local "in_insn" via a checked
19022 cast, using it for calls to INSN_HAS_LOCATION and insn_location.
19023 * recog.c (peep2_attempt): Introduce local rtx_insn * "peepinsn"
19024 via a checked cast.
19025 * reorg.c (relax_delay_slots): Strengthen locals named "after"
19026 from rtx to rtx_insn *; use methods of "pat" for type-safety.
19028 2014-09-09 David Malcolm <dmalcolm@redhat.com>
19030 * combine.c (try_combine): Eliminate checked cast on result of
19032 * emit-rtl.c (gen_rtx_INSN): New function, improving over the prior
19033 autogenerated one by strengthening the return type and params 2 and 3
19034 from rtx to rtx_insn *, and by naming the params.
19035 * gengenrtl.c (special_rtx): Add INSN to those that are
19037 * rtl.h (gen_rtx_INSN): New prototype.
19039 2014-09-09 David Malcolm <dmalcolm@redhat.com>
19041 * ira.c (ira_update_equiv_info_by_shuffle_insn): Use NULL rather
19043 (no_equiv): Likewise.
19044 (update_equiv_regs): Likewise.
19045 (setup_reg_equiv): Likewise. Strengthen locals "elem",
19046 "prev_elem", "next_elem" from rtx to rtx_insn_list *, and "insn"
19047 from rtx to rtx_insn *. Use methods of "elem" for typesafety and
19049 * ira.h (struct ira_reg_equiv_s): Strengthen field "init_insns"
19050 from rtx to rtx_insn_list *.
19051 * lra-assigns.c (spill_for): Strengthen local "x" from rtx to
19052 rtx_insn_list * and use methods for clarity and typesafety.
19053 * lra-constraints.c (contains_deleted_insn_p): Likewise for param
19055 (init_insn_rhs_dead_pseudo_p): Likewise for local "insns". Remove
19056 redundant check on INSN_P (insns): this cannot hold, as "insns" is
19057 an INSN_LIST, not an insn.
19058 (reverse_equiv_p): Strengthen local "insns" from rtx to
19059 rtx_insn_list * and use methods for clarity and typesafety.
19060 (contains_reloaded_insn_p): Likewise for local "list".
19062 2014-09-09 Jiong Wang <jiong.wang@arm.com>
19064 * config/arm/arm.c (NEON_COPYSIGNF): New enum.
19065 (arm_init_neon_builtins): Support NEON_COPYSIGNF.
19066 (arm_builtin_vectorized_function): Likewise.
19067 * config/arm/arm_neon_builtins.def: New macro for copysignf.
19068 * config/arm/neon.md (neon_copysignf<mode>): New pattern for
19071 2014-09-09 Richard Sandiford <richard.sandiford@arm.com>
19073 * bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
19074 * builtins.h (default_target_builtins): Likewise.
19075 * gcse.h (default_target_gcse): Likewise.
19076 * target-globals.h (target_globals): Add a destructor. Convert
19077 void-pointer fields back to their real type and change from
19078 GTY((atomic)) to GTY((skip)).
19079 (restore_target_globals): Remove casts accordingly.
19080 * target-globals.c (save_target_globals): Use XCNEW rather than
19081 ggc_internal_cleared_alloc to allocate non-GC structures.
19082 Use ggc_cleared_alloc to allocate the target_globals structure
19084 (target_globals::~target_globals): Define.
19086 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19088 * config/arm/arm.md (vfp_pop_multiple_with_writeback): Use vldm
19089 mnemonic instead of fldmfdd.
19090 * config/arm/arm.c (vfp_output_fstmd): Rename to...
19091 (vfp_output_vstmd): ... This. Convert output to UAL syntax.
19092 Output vpush when address register is SP.
19093 * config/arm/arm-protos.h (vfp_output_fstmd): Rename to...
19094 (vfp_output_vstmd): ... This.
19095 * config/arm/vfp.md (push_multi_vfp): Update call to
19098 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19100 * config/arm/vfp.md (*movcc_vfp): Use UAL syntax.
19102 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19104 * config/arm/vfp.md (*sqrtsf2_vfp): Use UAL assembly syntax.
19105 (*sqrtdf2_vfp): Likewise.
19106 (*cmpsf_vfp): Likewise.
19107 (*cmpsf_trap_vfp): Likewise.
19108 (*cmpdf_vfp): Likewise.
19109 (*cmpdf_trap_vfp): Likewise.
19111 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19113 * config/arm/vfp.md (*extendsfdf2_vfp): Use UAL assembly syntax.
19114 (*truncdfsf2_vfp): Likewise.
19115 (*truncsisf2_vfp): Likewise.
19116 (*truncsidf2_vfp): Likewise.
19117 (fixuns_truncsfsi2): Likewise.
19118 (fixuns_truncdfsi2): Likewise.
19119 (*floatsisf2_vfp): Likewise.
19120 (*floatsidf2_vfp): Likewise.
19121 (floatunssisf2): Likewise.
19122 (floatunssidf2): Likewise.
19124 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19126 * config/arm/vfp.md (*mulsf3_vfp): Use UAL assembly syntax.
19127 (*muldf3_vfp): Likewise.
19128 (*mulsf3negsf_vfp): Likewise.
19129 (*muldf3negdf_vfp): Likewise.
19130 (*mulsf3addsf_vfp): Likewise.
19131 (*muldf3adddf_vfp): Likewise.
19132 (*mulsf3subsf_vfp): Likewise.
19133 (*muldf3subdf_vfp): Likewise.
19134 (*mulsf3negsfaddsf_vfp): Likewise.
19135 (*fmuldf3negdfadddf_vfp): Likewise.
19136 (*mulsf3negsfsubsf_vfp): Likewise.
19137 (*muldf3negdfsubdf_vfp): Likewise.
19139 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19141 * config/arm/vfp.md (*abssf2_vfp): Use UAL assembly syntax.
19142 (*absdf2_vfp): Likewise.
19143 (*negsf2_vfp): Likewise.
19144 (*negdf2_vfp): Likewise.
19145 (*addsf3_vfp): Likewise.
19146 (*adddf3_vfp): Likewise.
19147 (*subsf3_vfp): Likewise.
19148 (*subdf3_vfp): Likewise.
19149 (*divsf3_vfp): Likewise.
19150 (*divdf3_vfp): Likewise.
19152 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19154 * config/arm/arm.c (output_move_vfp): Use UAL syntax for load/store
19156 (arm_print_operand): Don't convert real values to decimal
19157 representation in default case.
19158 (fp_immediate_constant): Delete.
19159 * config/arm/arm-protos.h (fp_immediate_constant): Likewise.
19160 * config/arm/vfp.md (*arm_movsi_vfp): Convert to VFP moves to UAL
19162 (*thumb2_movsi_vfp): Likewise.
19163 (*movdi_vfp): Likewise.
19164 (*movdi_vfp_cortexa8): Likewise.
19165 (*movhf_vfp_neon): Likewise.
19166 (*movhf_vfp): Likewise.
19167 (*movsf_vfp): Likewise.
19168 (*thumb2_movsf_vfp): Likewise.
19169 (*movdf_vfp): Likewise.
19170 (*thumb2_movdf_vfp): Likewise.
19171 (*movsfcc_vfp): Likewise.
19172 (*thumb2_movsfcc_vfp): Likewise.
19173 (*movdfcc_vfp): Likewise.
19174 (*thumb2_movdfcc_vfp): Likewise.
19176 2014-09-09 James Greenhalgh <james.greenhalgh@arm.com>
19178 * doc/invoke.texi (-march): Use GNU/Linux rather than Linux.
19179 (-mtune): Likewise.
19182 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19185 * config/aarch64/aarch64-builtins.c (aarch64_types_quadop_qualifiers):
19186 Use qualifier_immediate for last operand. Rename to...
19187 (aarch64_types_ternop_lane_qualifiers): ... This.
19188 (TYPES_QUADOP): Rename to...
19189 (TYPES_TERNOP_LANE): ... This.
19190 (aarch64_simd_expand_args): Return const0_rtx when encountering user
19191 error. Change return of 0 to return of NULL_RTX.
19192 (aarch64_crc32_expand_builtin): Likewise.
19193 (aarch64_expand_builtin): Return NULL_RTX instead of 0.
19194 ICE when expanding unknown builtin.
19195 * config/aarch64/aarch64-simd-builtins.def (sqdmlal_lane): Use
19196 TERNOP_LANE qualifiers.
19197 (sqdmlsl_lane): Likewise.
19198 (sqdmlal_laneq): Likewise.
19199 (sqdmlsl_laneq): Likewise.
19200 (sqdmlal2_lane): Likewise.
19201 (sqdmlsl2_lane): Likewise.
19202 (sqdmlal2_laneq): Likewise.
19203 (sqdmlsl2_laneq): Likewise.
19205 2014-09-09 Nick Clifton <nickc@redhat.com>
19207 * doc/invoke.texi (Optimization Options): Add missing @gol to the
19209 (S/390 and zSeries Options): Remove superfluous word from the
19210 description of the -mhotpatch option.
19212 2014-09-09 Zhenqiang Chen <zhenqiang.chen@arm.com>
19214 * shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.
19215 * ira.c: #include "shrink-wrap.h"
19216 (split_live_ranges_for_shrink_wrap): Use SHRINK_WRAPPING_ENABLED.
19217 * ifcvt.c: #include "shrink-wrap.h"
19218 (dead_or_predicable): Use SHRINK_WRAPPING_ENABLED.
19220 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
19222 * common/config/picochip/picochip-common.c: Remove.
19223 * config.gcc: Remove support for picochip.
19224 * config/picochip/constraints.md: Remove.
19225 * config/picochip/dfa_space.md: Remove.
19226 * config/picochip/dfa_speed.md: Remove.
19227 * config/picochip/picochip-protos.h: Remove.
19228 * config/picochip/picochip.c: Remove.
19229 * config/picochip/picochip.h: Remove.
19230 * config/picochip/picochip.md: Remove.
19231 * config/picochip/picochip.opt: Remove.
19232 * config/picochip/predicates.md: Remove.
19233 * config/picochip/t-picochip: Remove.
19234 * doc/md.texi: Don't document picochi.
19236 2014-09-08 David Malcolm <dmalcolm@redhat.com>
19238 * basic-block.h (control_flow_insn_p): Strengthen param from
19239 const_rtx to const rtx_insn *.
19240 * cfgbuild.c (control_flow_insn_p): Likewise.
19242 2014-09-08 David Malcolm <dmalcolm@redhat.com>
19244 * gcse.c (modify_mem_list): Strengthen this variable from
19245 vec<rtx> * to vec<rtx_insn *> *.
19246 (vec_rtx_heap): Strengthen this typedef from vec<rtx> to
19248 (load_killed_in_block_p): Strengthen local "list" from vec<rtx> to
19249 vec<rtx_insn *>, and local "setter" from rtx to rtx_insn *.
19250 (record_last_mem_set_info): Strengthen param "insn" from rtx to
19252 (record_last_set_info): Likewise for local "last_set_insn".
19254 2014-09-08 DJ Delorie <dj@redhat.com>
19256 * doc/invoke.texi (MSP430 Options): Add -minrt.
19258 2014-09-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
19260 * config/rs6000/rs6000.c (special_handling_values): Add SH_SPLAT.
19261 (rtx_is_swappable_p): Convert UNSPEC cascading ||s to a switch
19262 statement; allow optimization of UNSPEC_VSPLT_DIRECT with special
19264 (adjust_extract): Fix test for VEC_DUPLICATE case; fix adjustment
19266 (adjust_splat): New function.
19267 (handle_special_swappables): Call adjust_splat for SH_SPLAT.
19268 (dump_swap_insn_table): Add case for SH_SPLAT.
19270 2014-09-08 Richard Biener <rguenther@suse.de>
19273 * tree-inline.c (copy_loops): The source loop header should
19274 always be non-NULL.
19275 (tree_function_versioning): If loops need fixup after removing
19276 unreachable blocks fix them.
19277 * omp-low.c (simd_clone_adjust): Do not add incr block to
19278 loop under construction.
19280 2014-09-08 Alan Lawrence <alan.lawrence@arm.com>
19282 * config/aarch64/aarch64-builtins.c
19283 (aarch64_types_cmtst_qualifiers, TYPES_TST): Remove as unused.
19285 2014-09-08 Joseph Myers <joseph@codesourcery.com>
19287 * config/i386/cygming.h (TF_SIZE): Remove.
19288 * config/i386/darwin.h (TF_SIZE): Remove.
19289 * config/i386/dragonfly.h (TF_SIZE): Remove.
19290 * config/i386/freebsd.h (TF_SIZE): Remove.
19291 * config/i386/gnu-user-common.h (TF_SIZE): Remove.
19292 * config/i386/openbsdelf.h (TF_SIZE): Remove.
19293 * config/i386/sol2.h (TF_SIZE): Remove.
19294 * config/ia64/hpux.h (XF_SIZE, TF_SIZE): Remove.
19295 * config/ia64/linux.h (TF_SIZE): Remove.
19296 * doc/tm.texi.in (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Remove.
19297 * doc/tm.texi: Regenerate.
19298 * system.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Poison.
19300 2014-09-08 Joseph Myers <joseph@codesourcery.com>
19302 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
19304 * doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL):
19306 * doc/tm.texi: Regenerate.
19307 * system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
19309 * config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove.
19310 * config/cris/cris.h (__make_dp): Remove.
19312 2014-09-08 Richard Biener <rguenther@suse.de>
19315 * cfgloop.c (mark_loop_for_removal): Track former header
19317 * cfgloop.h (struct loop): Add former_header member unconditionally.
19318 * loop-init.c (fix_loop_structure): Enable bogus loop removal
19319 diagnostic unconditionally.
19321 2014-09-07 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19324 * config/aarch64/aarch64.md (stack_protect_test_<mode>) Add register
19325 constraint for operand0 and remove write only modifier from operand3.
19327 2014-09-07 Richard Sandiford <richard.sandiford@arm.com>
19329 PR rtl-optimization/62208
19330 * simplify-rtx.c (simplify_relational_operation_1): Use CONST0_RTX
19331 rather than const0_rtx in eq/ne-xor simplifications.
19333 2014-09-06 Joern Rennecke <joern.rennecke@embecosm.com>
19335 * config/arc/arc.c (arc_print_operand): Fix format for HOST_WIDE_INT.
19336 (arc_output_mi_thunk): Likewise.
19338 * config/arc/arc.c (arc_predicate_delay_insns): Swap comparison
19339 arguments to silence bogus warning.
19341 2014-09-06 Richard Sandiford <richard.sandiford@arm.com>
19343 PR middle-end/63171
19344 * rtlanal.c (tls_referenced_p): Don't skip constant subrtxes.
19346 2014-09-06 Tom de Vries <tom@codesourcery.com>
19348 * ira-costs.c (ira_tune_allocno_costs): Don't conditionalize
19349 IRA_HARD_REGNO_ADD_COST_MULTIPLIER code on
19350 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
19352 2014-09-05 Dominique Dhumieres <dominiq@lps.ens.fr>
19355 * config/darwin.h (INIT_SECTION_ASM_OP): Define to "".
19356 * config/pa/pa64-hpux.h (INIT_SECTION_ASM_OP): Likewise.
19358 2014-09-05 Easwaran Raman <eraman@google.com>
19360 PR rtl-optimization/62146
19361 * ifcvt.c (dead_or_predicable): Make removal of REG_EQUAL note of
19362 hoisted instruction unconditional.
19364 2014-09-05 Segher Boessenkool <segher@kernel.crashing.org>
19367 * config/rs6000/rs6000.md (*and<mode>3_imm_dot, *and<mode>3_imm_dot2):
19368 Do not allow any_mask_operand for operands[2].
19369 (*and<mode>3_imm_mask_dot, *and<mode>3_imm_mask_dot2): New.
19371 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19373 * config/arc/arc.c (arc_print_operand): Use insn method of
19374 final_sequence for type-safety.
19375 * config/bfin/bfin.c (bfin_hardware_loop): Strengthen param
19376 "insn" from rtx to rtx_insn *.
19377 * config/frv/frv.c (frv_print_operand_jump_hint): Likewise.
19378 * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
19379 Likewise for locals "branch", "label".
19380 * config/h8300/h8300.c (same_cmp_preceding_p): Likewise for
19381 locals "i1", "i2". Use NULL rather than NULL_RTX in comparisons.
19382 (same_cmp_following_p): Likewise for locals "i2", "i3".
19383 * config/sh/sh_optimize_sett_clrt.cc
19384 (sh_optimize_sett_clrt::sh_cbranch_ccreg_value): Likewise for
19385 param "cbranch_insn".
19386 * function.c (convert_jumps_to_returns): Likewis for local "jump".
19387 * ifcvt.c (cond_exec_get_condition): Likewise for param "jump".
19388 * jump.c (simplejump_p): Strengthen param "insn" from const_rtx to
19390 (condjump_p): Likewise.
19391 (condjump_in_parallel_p): Likewise.
19392 (pc_set): Likewise.
19393 (any_uncondjump_p): Likewise.
19394 (any_condjump_p): Likewise.
19395 (condjump_label): Likewise.
19396 (returnjump_p): Strengthen param "insn" from rtx to
19398 (onlyjump_p): Strengthen param "insn" from const_rtx to
19400 (jump_to_label_p): Likewise.
19401 (invert_jump_1): Strengthen param "jump" from rtx to rtx_insn *.
19402 (invert_jump): Likewise.
19403 * reorg.c (simplejump_or_return_p): Add checked cast when calling
19405 (get_jump_flags): Strengthen param "insn" from rtx to
19407 (get_branch_condition): Likewise.
19408 (condition_dominates_p): Likewise.
19409 (make_return_insns): Move declaration of local "pat" earlier, to
19410 after we've handled NONJUMP_INSN_P and non-sequences, using its
19411 methods to simplify the code and for type-safety.
19412 * rtl.h (find_constant_src): Strengthen param from const_rtx to
19414 (jump_to_label_p): Strengthen param from rtx to const rtx_insn *.
19415 (condjump_p): Strengthen param from const_rtx to
19417 (any_condjump_p): Likewise.
19418 (any_uncondjump_p): Likewise.
19419 (pc_set): Likewise.
19420 (condjump_label): Likewise.
19421 (simplejump_p): Likewise.
19422 (returnjump_p): Likewise.
19423 (onlyjump_p): Likewise.
19424 (invert_jump_1): Strengthen param 1 from rtx to rtx_insn *.
19425 (invert_jump): Likewise.
19426 (condjump_in_parallel_p): Strengthen param from const_rtx to
19428 * rtlanal.c (find_constant_src): Strengthen param from const_rtx
19429 to const rtx_insn *.
19430 * sel-sched-ir.c (fallthru_bb_of_jump): Strengthen param from rtx
19431 to const rtx_insn *.
19432 * sel-sched-ir.h (fallthru_bb_of_jump): Likewise.
19434 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19436 * reorg.c (relax_delay_slots): Move declaration of "trial_seq"
19437 above the conditional, and convert the check on GET_CODE to a
19438 dyn_cast, so that "trial_seq" is available as an rtx_sequence * in
19439 the conditional. Simplify the conditional by using methods of
19442 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19444 * haifa-sched.c (check_clobbered_conditions): Strengthen local
19445 "link" from rtx to rtx_insn_list *, and use its methods for
19446 clarity and type-safety.
19447 (toggle_cancelled_flags): Likewise.
19448 (restore_last_backtrack_point): Likewise.
19449 (queue_to_ready): Use insn method of "link" in one place.
19450 (schedule_block): Strengthen local "link" from rtx to
19451 rtx_insn_list *, and use its methods for clarity and type-safety.
19453 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19455 * sched-deps.c (sched_get_condition_with_rev_uncached): Strengthen
19456 param "insn" from const_rtx to const rtx_insn *.
19457 (sched_get_reverse_condition_uncached): Likewise.
19458 (sched_get_condition_with_rev): Likewise.
19459 (sched_has_condition_p): Likewise.
19460 (sched_insns_conditions_mutex_p): Likewise for both params.
19461 (sched_insn_is_legitimate_for_speculation_p): Likewise for param
19462 "insn"; conver use of CONST_CAST_RTX to CONST_CAST_RTX_INSN.
19463 (setup_insn_reg_uses): Move local "list" to be more tightly
19464 scoped, strengthening it from an rtx to an rtx_insn_list *. Use
19465 its methods for clarity and type-safety.
19466 (sched_analyze_1): Strengthen local "pending" from rtx to
19467 rtx_insn_list *, and local "pending_mem" from rtx to
19468 rtx_expr_list *. Use methods of each for clarity and type-safety.
19469 (sched_analyze_2): Likewise.
19470 (sched_analyze_insn): Likewise.
19472 * sched-int.h (sched_get_reverse_condition_uncached): Strengthen
19473 param from const_rtx to const rtx_insn *.
19474 (sched_insns_conditions_mutex_p): Likewise for both params.
19475 (sched_insn_is_legitimate_for_speculation_p): Likewise for first
19478 * system.h (CONST_CAST_RTX_INSN): New macro.
19480 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19482 * recog.c (peep2_attempt): Strengthen return type from rtx to
19484 (peep2_update_life): Likewise for params "last", "prev", removing
19485 a checked cast made redundant by this.
19486 (peephole2_optimize): Likewise for local "last".
19488 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19490 * basic-block.h (set_block_for_insn): Eliminate this macro in
19492 * rtl.h (set_block_for_insn): New inline function, imposing the
19493 requirement that the "insn" param is an rtx_insn *.
19495 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19497 * caller-save.c (setup_save_areas): Strengthen local "insn" from
19499 * final.c (get_call_reg_set_usage): Likewise for first param,
19500 eliminating a checked cast.
19501 * regs.h (get_call_reg_set_usage): Likewise for first param.
19502 * resource.c (mark_set_resources): Introduce local rtx_call_insn *
19503 "call_insn" for the case of a MARK_SRC_DEST_CALL via a checked
19504 cast, replacing references to "x" with "call_insn" where
19506 (mark_target_live_regs): Strengthen local "real_insn" from rtx to
19507 rtx_insn *, adding a checked cast.
19509 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19511 * output.h (final_scan_insn): Strengthen first param from rtx to
19514 * final.c (final_scan_insn): Likewise, renaming it back from
19515 "uncast_insn" to "insn", eliminating the checked cast.
19517 * config/h8300/h8300.md (define_insn "jump"): Replace local rtx
19518 "vec" with an rtx_sequence * "seq", taking a copy of
19519 "final_sequence", and using methods of "seq" for clarity, and for
19520 type-safety in the calls to final_scan_insn.
19521 * config/mips/mips.c (mips_output_conditional_branch): Use methods
19522 of "final_sequence" for clarity, and for type-safety in the call to
19524 * config/sh/sh.c (print_slot): Strengthen param from rtx to
19525 rtx_sequence * and rename from "insn" to "seq".
19527 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19529 * jump.c (delete_related_insns): Introduce a new local "table" by
19530 replacing JUMP_TABLE_DATA_P with a dyn_cast, then use the
19531 get_labels method of "table" to simplify access to the labels in
19534 2014-09-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19536 * config/arm/cortex-a53.md (cortex_a53_fpalu): Add f_rints, f_rintd,
19537 f_minmaxs, f_minmaxd types.
19539 2014-09-05 Richard Biener <rguenther@suse.de>
19541 * cfgloop.c (mark_loop_for_removal): Record former header
19542 when ENABLE_CHECKING.
19543 * cfgloop.h (strut loop): Add former_header member when
19545 * loop-init.c (fix_loop_structure): Sanity check loops
19546 marked for removal if they re-appeared.
19548 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
19550 * config/aarch64/arm_neon.h (int32x1_t, int16x1_t, int8x1_t,
19551 uint32x1_t, uint16x1_t, uint8x1_t): Remove typedefs.
19553 (vqabsb_s8, vqabsh_s16, vqabss_s32, vqaddb_s8, vqaddh_s16, vqadds_s32,
19554 vqaddb_u8, vqaddh_u16, vqadds_u32, vqdmlalh_s16, vqdmlalh_lane_s16,
19555 vqdmlals_s32, vqdmlslh_s16, vqdmlslh_lane_s16, vqdmlsls_s32,
19556 vqdmulhh_s16, vqdmulhh_lane_s16, vqdmulhs_s32, vqdmulhs_lane_s32,
19557 vqdmullh_s16, vqdmullh_lane_s16, vqdmulls_s32, vqdmulls_lane_s32,
19558 vqmovnh_s16, vqmovns_s32, vqmovnd_s64, vqmovnh_u16, vqmovns_u32,
19559 vqmovnd_u64, vqmovunh_s16, vqmovuns_s32, vqmovund_s64, vqnegb_s8,
19560 vqnegh_s16, vqnegs_s32, vqrdmulhh_s16, vqrdmulhh_lane_s16,
19561 vqrdmulhs_s32, vqrdmulhs_lane_s32, vqrshlb_s8, vqrshlh_s16,
19562 vqrshls_s32, vqrshlb_u8, vqrshlh_u16, vqrshls_u32, vqrshrnh_n_s16,
19563 vqrshrns_n_s32, vqrshrnd_n_s64, vqrshrnh_n_u16, vqrshrns_n_u32,
19564 vqrshrnd_n_u64, vqrshrunh_n_s16, vqrshruns_n_s32, vqrshrund_n_s64,
19565 vqshlb_s8, vqshlh_s16, vqshls_s32, vqshlb_u8, vqshlh_u16, vqshls_u32,
19566 vqshlb_n_s8, vqshlh_n_s16, vqshls_n_s32, vqshlb_n_u8, vqshlh_n_u16,
19567 vqshls_n_u32, vqshlub_n_s8, vqshluh_n_s16, vqshlus_n_s32,
19568 vqshrnh_n_s16, vqshrns_n_s32, vqshrnd_n_s64, vqshrnh_n_u16,
19569 vqshrns_n_u32, vqshrnd_n_u64, vqshrunh_n_s16, vqshruns_n_s32,
19570 vqshrund_n_s64, vqsubb_s8, vqsubh_s16, vqsubs_s32, vqsubb_u8,
19571 vqsubh_u16, vqsubs_u32, vsqaddb_u8, vsqaddh_u16, vsqadds_u32,
19572 vuqaddb_s8, vuqaddh_s16, vuqadds_s32): Replace all int{32,16,8}x1_t
19573 with int{32,16,8}_t.
19575 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
19577 * config/aarch64/arm_neon.h (__GET_HIGH): New macro.
19578 (vget_high_f32, vget_high_f64, vget_high_p8, vget_high_p16,
19579 vget_high_s8, vget_high_s16, vget_high_s32, vget_high_s64,
19580 vget_high_u8, vget_high_u16, vget_high_u32, vget_high_u64):
19581 Remove temporary __asm__ and reimplement.
19583 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
19585 * config/aarch64/aarch64-builtins.c (aarch64_fold_builtin): Remove code
19586 handling cmge, cmgt, cmeq, cmtst.
19588 * config/aarch64/aarch64-simd-builtins.def (cmeq, cmge, cmgt, cmle,
19589 cmlt, cmgeu, cmgtu, cmtst): Remove.
19591 * config/aarch64/arm_neon.h (vceq_*, vceqq_*, vceqz_*, vceqzq_*,
19592 vcge_*, vcgeq_*, vcgez_*, vcgezq_*, vcgt_*, vcgtq_*, vcgtz_*,
19593 vcgtzq_*, vcle_*, vcleq_*, vclez_*, vclezq_*, vclt_*, vcltq_*,
19594 vcltz_*, vcltzq_*, vtst_*, vtstq_*): Use gcc vector extensions.
19596 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
19598 * config/aarch64/aarch64-builtins.c (aarch64_types_cmtst_qualifiers,
19599 TYPES_TST): Define.
19600 (aarch64_fold_builtin): Update pattern for cmtst.
19602 * config/aarch64/aarch64-protos.h (aarch64_const_vec_all_same_int_p):
19605 * config/aarch64/aarch64-simd-builtins.def (cmtst): Update qualifiers.
19607 * config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode><mode>):
19608 Switch operands, separate out more cases, refactor.
19610 (aarch64_cmtst<mode>): Rewrite pattern to match (plus ... -1).
19612 * config/aarch64.c (aarch64_const_vec_all_same_int_p): Take single
19613 argument; rename old version to...
19614 (aarch64_const_vec_all_same_in_range_p): ...this.
19615 (aarch64_print_operand, aarch64_simd_shift_imm_p): Follow renaming.
19617 * config/aarch64/predicates.md (aarch64_simd_imm_minus_one): Define.
19619 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
19621 * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
19622 Remove qualifier_const_pointer, update comment.
19624 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
19626 * config/aarch64/aarch64.md (adddi3_aarch64): set type to neon_add.
19628 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
19630 * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Replace
19631 varargs with pointer parameter.
19632 (aarch64_simd_expand_builtin): pass pointer into previous.
19634 2014-09-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19636 * config/arm/cortex-a53.md (cortex_a53_alu_shift): Add alu_ext,
19639 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
19641 * config/aarch64/aarch64-simd.md (aarch64_rbit<mode>): New pattern.
19642 * config/aarch64/aarch64-simd-builtins.def (rbit): New builtin.
19643 * config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, vrbitq_u8):
19644 Replace temporary asm with call to builtin.
19645 (vrbit_p8, vrbitq_p8): New functions.
19647 2014-09-05 Richard Biener <rguenther@suse.de>
19649 * cfgloop.c (mark_loop_for_removal): New function.
19650 * cfgloop.h (mark_loop_for_removal): Declare.
19651 * cfghooks.c (delete_basic_block): Use mark_loop_for_removal.
19652 (merge_blocks): Likewise.
19653 (duplicate_block): Likewise.
19654 * except.c (sjlj_emit_dispatch_table): Likewise.
19655 * tree-eh.c (cleanup_empty_eh_merge_phis): Likewise.
19656 * tree-ssa-threadupdate.c (ssa_redirect_edges): Likewise.
19657 (thread_through_loop_header): Likewise.
19659 2014-09-05 Richard Biener <rguenther@suse.de>
19661 PR middle-end/63148
19662 * fold-const.c (try_move_mult_to_index): Remove.
19663 (fold_binary_loc): Do not call it.
19664 * tree-data-ref.c (dr_analyze_indices): Strip conversions
19665 from the base object again.
19667 2014-09-05 James Greenhalgh <james.greenhalgh@arm.com>
19669 * config/aarch64/aarch64.md (sibcall_value_insn): Give operand 1
19672 2014-09-05 Bin Cheng <bin.cheng@arm.com>
19675 * config/arm/arm.md (setmem): New pattern.
19676 * config/arm/arm-protos.h (struct tune_params): New fields.
19677 (arm_gen_setmem): New prototype.
19678 * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
19679 (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
19680 (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
19681 (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
19682 (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
19683 (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
19684 (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
19685 (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
19686 (arm_const_inline_cost): New function.
19687 (arm_block_set_max_insns): New function.
19688 (arm_block_set_non_vect_profit_p): New function.
19689 (arm_block_set_vect_profit_p): New function.
19690 (arm_block_set_unaligned_vect): New function.
19691 (arm_block_set_aligned_vect): New function.
19692 (arm_block_set_unaligned_non_vect): New function.
19693 (arm_block_set_aligned_non_vect): New function.
19694 (arm_block_set_vect, arm_gen_setmem): New functions.
19696 2014-09-05 Bin Cheng <bin.cheng@arm.com>
19698 * config/arm/arm.md (arm_movqi_insn): Use Uh instead of m constraint.
19700 2014-09-05 Bin Cheng <bin.cheng@arm.com>
19702 * config/arm/arm.c (output_move_neon): Handle REG explicitly.
19704 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
19706 * valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of
19708 * valtrack.h: Adjust.
19710 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
19712 * emit-rtl.c (emit_insn_before_noloc): Take an rtx_insn * instead of
19714 (emit_jump_insn_before_noloc): Likewise.
19715 (emit_call_insn_before_noloc): Likewise.
19716 (emit_label_before): Likewise.
19717 (emit_label_after): Likewise.
19718 (emit_insn_before_setloc): Likewise.
19719 (emit_jump_insn_before_setloc): Likewise.
19720 (emit_call_insn_before_setloc): Likewise.
19721 (emit_call_insn_before): Likewise.
19724 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19726 * cse.c (cse_insn): Strengthen local "new_rtx" from rtx to
19727 rtx_insn *, eliminating a checked cast.
19729 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19731 * rtl.h (modified_between_p): Strengthen params 2 and 3 from
19732 const_rtx to const rtx_insn *.
19733 * rtlanal.c (modified_between_p): Likewise, eliminating a checked
19736 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19738 * emit-rtl.c (try_split): Update NULL_RTX to NULL in call to
19739 fixup_args_size_notes.
19740 * expr.c (fixup_args_size_notes): Strengthen first two params from
19741 rtx to rtx_insn *, eliminating a checked cast.
19742 * rtl.h (fixup_args_size_notes): Strengthen first two params from
19745 2014-09-05 David Malcolm <dmalcolm@redhat.com>
19747 * haifa-sched.c (get_ready_element): Strengthen return type from
19749 * sched-int.h (get_ready_element): Likewise.
19751 2014-09-04 Segher Boessenkool <segher@kernel.crashing.org>
19754 * config/rs6000/rs6000.md (floatsi<mode>2_lfiwax_mem): Use
19755 indexed_or_indirect_operand instead of memory_operand.
19756 (floatsi<mode>2_lfiwzx_mem): Ditto.
19758 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
19760 * config/bfin/bfin.c, config/c6x/c6x.c, config/m32c/m32c.c,
19761 config/mn10300/mn10300.c, config/s390/s390.c, config/sh/sh.c,
19762 ifcvt.c, reorg.c: Change types of variables from rtx to rtx_insn *.
19764 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
19766 * emit-rtl.c (get_first_nonnote_insn): Return rtx_insn * instead of
19768 (get_last_nonnote_insn): Likewise.
19769 (next_nonnote_insn_bb): Take rtx_insn * instead of rtx.
19770 * resource.c (find_basic_block): Likewise.
19772 * rtlanal.c (keep_with_call_p): Take const rtx_insn * instead of
19775 2014-09-04 David Malcolm <dmalcolm@redhat.com>
19777 * genattr.c (main): Within the prototype of insn_latency written
19778 out to insn-attr.h, strengthen both params from rtx to rtx_insn *.
19779 * genautomata.c (output_internal_maximal_insn_latency_func):
19780 Within the implementation of insn_latency written out to
19781 insn-automata.c, strengthen both params from rtx to rtx_insn *,
19782 eliminating a pair of checked casts.
19784 2014-09-04 David Malcolm <dmalcolm@redhat.com>
19786 * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to
19789 * rtl.h (eh_returnjump_p): Likewise.
19791 2014-09-04 Aldy Hernandez <aldyh@redhat.com>
19793 * Makefile.in (TAGS): Handle constructs in timevar.def.
19795 2014-09-04 Guozhi Wei <carrot@google.com>
19798 * config/aarch64/iterators.md (VQ_NO2E, VQ_2E): New iterators.
19799 * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): Split
19800 it into two patterns.
19801 (move_lo_quad_internal_be_<mode>): Likewise.
19803 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
19805 * doc/options.texi: Document that Var and Init are required if CPP
19807 * optc-gen.awk: Require Var and Init if CPP is given.
19808 * common.opt (Wpedantic): Use Init.
19810 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
19812 * config/rs6000/rs6000.c (special_handling_values): Add
19814 (rtx_is_swappable_p): Look for patterns with a VEC_SELECT, perhaps
19815 wrapped in a VEC_DUPLICATE, representing an extract. Mark these
19816 as swappable with special handling SH_EXTRACT. Remove
19817 UNSPEC_VSX_XXSPLTW from the list of disallowed unspecs for the
19819 (adjust_extract): New function.
19820 (handle_special_swappables): Add default to case statement; add
19821 case for SH_EXTRACT that calls adjust_extract.
19822 (dump_swap_insn_table): Handle SH_EXTRACT.
19824 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
19826 * config/rs6000/vsx.md (*vsx_extract_<mode>_load): Always match
19827 selection of 0th memory doubleword, regardless of endianness.
19829 2014-09-04 Jan-Benedict Glaw <jbglaw@lug-owl.de>
19831 * config/rx/rx.h (HARD_REGNO_MODE_OK): Add braces.
19833 2014-09-04 Alan Modra <amodra@gmail.com>
19836 * dwarf2out.c (mem_loc_descriptor <PLUS>): Return NULL if addend
19839 2014-09-03 Matthew Fortune <matthew.fortune@imgtec.com>
19841 * target.def (TARGET_DWARF_FRAME_REG_MODE): New target hook.
19842 * targhooks.c (default_dwarf_frame_reg_mode): New function.
19843 * targhooks.h (default_dwarf_frame_reg_mode): New prototype.
19844 * doc/tm.texi.in (TARGET_DWARF_FRAME_REG_MODE): Document.
19845 * doc/tm.texi: Regenerate.
19846 * dwarf2cfi.c (expand_builtin_init_dwarf_reg_sizes): Abstract mode
19847 selection logic to default_dwarf_frame_reg_mode.
19849 2014-09-03 Marek Polacek <polacek@redhat.com>
19851 * doc/invoke.texi: Document that -Wlogical-not-parentheses is enabled
19854 2014-09-03 Richard Sandiford <richard.sandiford@arm.com>
19856 * doc/rtl.texi (RTX_AUTOINC): Document that the first operand is
19857 the automodified register.
19859 2014-09-03 Richard Sandiford <richard.sandiford@arm.com>
19861 * output.h (get_some_local_dynamic_name): Declare.
19862 * final.c (some_local_dynamic_name): New variable.
19863 (get_some_local_dynamic_name): New function.
19864 (final_end_function): Clear some_local_dynamic_name.
19865 * config/alpha/alpha.c (machine_function): Remove some_ld_name.
19866 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
19867 (print_operand): Report an error if '%&' is used inappropriately.
19868 * config/i386/i386.c (get_some_local_dynamic_name): Delete.
19869 (get_some_local_dynamic_name_1): Delete.
19870 * config/rs6000/rs6000.c (machine_function): Remove some_ld_name.
19871 (rs6000_get_some_local_dynamic_name): Delete.
19872 (rs6000_get_some_local_dynamic_name_1): Delete.
19873 (print_operand): Report an error if '%&' is used inappropriately.
19874 * config/s390/s390.c (machine_function): Remove some_ld_name.
19875 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
19876 (print_operand): Assert that get_some_local_dynamic_name is nonnull.
19877 * config/sparc/sparc.c: Include rtl-iter.h.
19878 (machine_function): Remove some_ld_name.
19879 (sparc_print_operand): Report an error if '%&' is used inappropriately.
19880 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
19882 2014-09-03 Richard Henderson <rth@redhat.com>
19884 * config/aarch64/aarch64.c (aarch64_popwb_single_reg): Remove.
19885 (aarch64_popwb_pair_reg): Remove.
19886 (aarch64_set_frame_expr): Remove.
19887 (aarch64_restore_callee_saves): Add CFI_OPS argument; fill it with
19888 the restore ops performed by the insns generated.
19889 (aarch64_expand_epilogue): Attach CFI_OPS to the stack deallocation
19890 insn. Perform the calls_eh_return addition later; do not attempt to
19891 preserve the CFA in that case. Don't use aarch64_set_frame_expr.
19892 (aarch64_expand_prologue): Use REG_CFA_ADJUST_CFA directly, or no
19893 special markup at all. Load cfun->machine->frame.hard_fp_offset
19894 into a local variable.
19895 (aarch64_frame_pointer_required): Don't check calls_alloca.
19897 2014-09-03 Richard Biener <rguenther@suse.de>
19899 * opts.c (default_options_optimization): Adjust
19900 max-combine-insns to 2 for -Og.
19902 2014-09-03 Martin Jambor <mjambor@suse.cz>
19905 * ipa-cp.c (intersect_aggregates_with_edge): Handle impermissible
19906 pass-trough jump functions correctly.
19908 2014-09-03 Martin Jambor <mjambor@suse.cz>
19911 * ipa-cp.c (find_aggregate_values_for_callers_subset): Chain
19912 created replacements in ascending order of offsets.
19913 (known_aggs_to_agg_replacement_list): Likewise.
19915 2014-09-03 Martin Liska <mliska@suse.cz>
19917 * tree-ssa-sccvn.c (vn_reference_lookup_call): default (NULL) value
19918 is set to set uninitialized value for vnresult.
19920 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
19922 * config/nds32/nds32.c (nds32_must_pass_in_stack): New implementation
19923 for TARGET_MUST_PASS_IN_STACK.
19925 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
19927 * config/nds32/nds32.c (nds32_arg_partial_bytes): New implementation
19928 for TARGET_ARG_PARTIAL_BYTES.
19930 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
19932 * config/nds32/nds32.c (nds32_expand_prologue): Emit stack push
19933 instructions for varargs implementation.
19934 (nds32_expand_epilogue): Emit stack adjustment instructions for
19935 varargs implementation.
19937 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
19939 * config/nds32/nds32.c (nds32_expand_prologue): Suppress fp-as-gp
19940 optimization detection.
19942 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
19944 * config/nds32/nds32.c (nds32_function_arg): Deal with nameless
19946 (nds32_function_arg_advance): Deal with nameless arguments.
19947 * config/nds32/nds32.h (NDS32_ARG_PASS_IN_REG_P): Split it into ...
19948 (NDS32_ARG_ENTIRE_IN_GPR_REG_P): ... this one and ...
19949 (NDS32_ARG_PARTIAL_IN_GPR_REG_P): ... this one.
19951 2014-09-03 Richard Biener <rguenther@suse.de>
19953 * tree-ssa-pre.c (alloc_expression_id): Use quick_grow_cleared.
19954 (struct bb_bitmap_sets): Remove deferred member.
19955 (BB_DEFERRED): Remove.
19956 (defer_or_phi_translate_block): Remove.
19957 (compute_antic_aux): Remove deferring of blocks, assert
19958 proper iteration order.
19959 (compute_antic): Do not set BB_DEFERRED.
19960 (eliminate): Allocate el_avail of proper size initially.
19962 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
19964 * config/nds32/nds32.h (FIRST_PARM_OFFSET): Set proper location
19965 according to the value of crtl->args.pretend_args_size.
19967 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
19969 * config/nds32/nds32.c (nds32_compute_stack_frame): Prepare necessary
19970 varargs information.
19972 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
19974 * config/nds32/nds32.c (nds32_setup_incoming_varargs): New
19975 implementation for TARGET_SETUP_INCOMING_VARARGS.
19976 (nds32_strict_argument_naming): Refine comment.
19977 * config/nds32/nds32.h (TARGET_SOFT_FLOAT, TARGET_HARD_FLOAT):
19978 Define for future implementation.
19980 2014-09-03 Ilya Tocar <ilya.tocar@intel.com>
19982 * config/i386/adxintrin.h (_subborrow_u32): New.
19983 (_addcarry_u32): Ditto.
19984 (_subborrow_u64): Ditto.
19985 (_addcarry_u64): Ditto.
19986 * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_SBB32,
19987 IX86_BUILTIN_SBB64.
19988 (ix86_init_mmx_sse_builtins): Handle __builtin_ia32_sbb_u32,
19989 __builtin_ia32_sbb_u64
19991 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
19993 * config/nds32/nds32.c (nds32_function_arg): Define and rename some
19994 GPR-specific stuff.
19995 (nds32_function_arg_advance): Likewise.
19996 (nds32_init_cumulative_args): Likewise.
19997 * config/nds32/nds32.h (NDS32_MAX_GPR_REGS_FOR_ARGS): Define.
19998 (NDS32_FIRST_GPR_REGNUM): Define.
19999 (NDS32_LAST_GPR_REGNUM): Define.
20000 (NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG): Define.
20001 (NDS32_ARG_PASS_IN_REG_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
20002 (FUNCTION_ARG_REGNO_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
20003 (machine_function): Use GRP-specific stuff.
20005 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
20007 * config/nds32/nds32.c (nds32_expand_prologue): Remove unused variables.
20008 (nds32_expand_epilogue): Likewise.
20009 (nds32_expand_prologue_v3push): Likewise.
20010 (nds32_expand_epilogue_v3pop): Likewise.
20012 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
20014 * config/nds32/nds32.c (nds32_compute_stack_frame): Do not use
20015 v3push/v3pop for variadic function.
20016 * config/nds32/nds32.md (prologue, epilogue): Likewise.
20018 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
20020 * config/nds32/nds32-md-auxiliary.c (nds32_output_stack_push):
20021 Check rtx for varargs implementation.
20022 (nds32_output_stack_pop): Likewise.
20023 * config/nds32/nds32-protos.h: Have a rtx argument for
20024 nds32_output_stack_push and nds32_output_stack_pop.
20025 * config/nds32/nds32.md: Likewise.
20027 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
20029 * config/nds32/nds32-isr.c (nds32_isr_function_p): Define new function
20030 to check if FUNC is an interrupt service routine.
20031 * config/nds32/nds32-protos.h (nds32_isr_function_p): Declaration.
20033 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
20035 * config/nds32/nds32.h (machine_function): Add some fields for variadic
20036 arguments implementation.
20038 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
20040 * config/nds32/nds32-predicates.c
20041 (nds32_valid_stack_push_pop): Rename to ...
20042 (nds32_valid_stack_push_pop_p): ... this.
20043 * config/nds32/nds32-protos.h: Likewise.
20044 * config/nds32/predicates.md: Likewise.
20046 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
20048 * config/nds32/nds32.c (nds32_gen_stack_v3push): Rename to ...
20049 (nds32_emit_stack_v3push): ... this.
20050 (nds32_gen_stack_v3pop): Rename to ...
20051 (nds32_emit_stack_v3pop): ... this and consider CFA restore
20054 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
20056 * config/nds32/nds32.c (nds32_gen_stack_push_multiple): Rename to ...
20057 (nds32_emit_stack_push_multiple): ... this.
20058 (nds32_gen_stack_pop_multiple): Rename to ...
20059 (nds32_emit_stack_pop_multiple): ... this and consider CFA restore
20062 2014-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20065 * config/s390/s390.md ("*negdi2_31"): Add s390_split_ok_p check
20066 and add a second splitter to handle the remaining cases.
20068 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
20070 * config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define.
20072 2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
20074 * cfgexpand.c (label_rtx_for_bb): Change type to
20075 hash_map<basic_block, rtx_code_label *> *.
20076 (expand_gimple_basic_block): Adjust.
20077 (pass_expand::execute): Likewise.
20079 2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
20081 * asan.c, cfgexpand.c, config/alpha/alpha.md, config/arm/arm.c,
20082 config/epiphany/epiphany.md, config/h8300/h8300.c, config/i386/i386.md,
20083 config/m32r/m32r.c, config/mcore/mcore.md, config/mips/mips.c,
20084 config/mips/mips.md, config/nios2/nios2.c, config/pa/pa.c,
20085 config/s390/s390.c, config/s390/s390.md, config/sh/sh-mem.cc,
20086 config/sh/sh.c, config/sparc/sparc.c, dojump.c, function.c, optabs.c,
20087 stmt.c: Assign the result of gen_label_rtx to rtx_code_label * instead
20090 2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
20092 * alloc-pool.c: Include coretypes.h.
20093 * cgraph.h, dbxout.c, dwarf2out.c, except.c, except.h, function.c,
20094 function.h, symtab.c, tree-cfg.c, tree-eh.c: Use hash_map and
20095 hash_set instead of htab.
20096 * ggc-page.c (in_gc): New variable.
20097 (ggc_free): Do nothing if a collection is taking place.
20098 (ggc_collect): Set in_gc appropriately.
20099 * ggc.h (gt_ggc_mx(const char *)): New function.
20100 (gt_pch_nx(const char *)): Likewise.
20101 (gt_ggc_mx(int)): Likewise.
20102 (gt_pch_nx(int)): Likewise.
20103 * hash-map.h (hash_map::hash_entry::ggc_mx): Likewise.
20104 (hash_map::hash_entry::pch_nx): Likewise.
20105 (hash_map::hash_entry::pch_nx_helper): Likewise.
20106 (hash_map::hash_map): Adjust.
20107 (hash_map::create_ggc): New function.
20108 (gt_ggc_mx): Likewise.
20109 (gt_pch_nx): Likewise.
20110 * hash-set.h (default_hashset_traits::ggc_mx): Likewise.
20111 (default_hashset_traits::pch_nx): Likewise.
20112 (hash_set::hash_entry::ggc_mx): Likewise.
20113 (hash_set::hash_entry::pch_nx): Likewise.
20114 (hash_set::hash_entry::pch_nx_helper): Likewise.
20115 (hash_set::hash_set): Adjust.
20116 (hash_set::create_ggc): New function.
20117 (hash_set::elements): Likewise.
20118 (gt_ggc_mx): Likewise.
20119 (gt_pch_nx): Likewise.
20120 * hash-table.h (hash_table::hash_table): Adjust.
20121 (hash_table::m_ggc): New member.
20122 (hash_table::~hash_table): Adjust.
20123 (hash_table::expand): Likewise.
20124 (hash_table::empty): Likewise.
20125 (gt_ggc_mx): New function.
20126 (hashtab_entry_note_pointers): Likewise.
20127 (gt_pch_nx): Likewise.
20129 2014-09-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20131 * config/rs6000/rs6000-builtin.def (XVCVSXDDP_SCALE): New
20132 built-in definition.
20133 (XVCVUXDDP_SCALE): Likewise.
20134 (XVCVDPSXDS_SCALE): Likewise.
20135 (XVCVDPUXDS_SCALE): Likewise.
20136 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
20137 entries for VSX_BUILTIN_XVCVSXDDP_SCALE,
20138 VSX_BUILTIN_XVCVUXDDP_SCALE, VSX_BUILTIN_XVCVDPSXDS_SCALE, and
20139 VSX_BUILTIN_XVCVDPUXDS_SCALE.
20140 * config/rs6000/rs6000-protos.h (rs6000_scale_v2df): New
20142 * config/rs6000/rs6000.c (real.h): New include.
20143 (rs6000_scale_v2df): New function.
20144 * config/rs6000/vsx.md (UNSPEC_VSX_XVCVSXDDP): New unspec.
20145 (UNSPEC_VSX_XVCVUXDDP): Likewise.
20146 (UNSPEC_VSX_XVCVDPSXDS): Likewise.
20147 (UNSPEC_VSX_XVCVDPUXDS): Likewise.
20148 (vsx_xvcvsxddp_scale): New define_expand.
20149 (vsx_xvcvsxddp): New define_insn.
20150 (vsx_xvcvuxddp_scale): New define_expand.
20151 (vsx_xvcvuxddp): New define_insn.
20152 (vsx_xvcvdpsxds_scale): New define_expand.
20153 (vsx_xvcvdpsxds): New define_insn.
20154 (vsx_xvcvdpuxds_scale): New define_expand.
20155 (vsx_xvcvdpuxds): New define_insn.
20156 * doc/extend.texi (vec_ctf): Add new prototypes.
20157 (vec_cts): Likewise.
20158 (vec_ctu): Likewise.
20159 (vec_splat): Likewise.
20160 (vec_div): Likewise.
20161 (vec_mul): Likewise.
20163 2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
20166 * config/arm/neon.md
20167 (neon_vcvt<NEON_VCVT:nvrint_variant><su_optab><VCVTF:mode>
20168 <v_cmp_result>): New pattern.
20169 * config/arm/iterators.md (NEON_VCVT): New int iterator.
20170 * config/arm/arm_neon_builtins.def (vcvtav2sf, vcvtav4sf, vcvtauv2sf,
20171 vcvtauv4sf, vcvtpv2sf, vcvtpv4sf, vcvtpuv2sf, vcvtpuv4sf, vcvtmv2sf,
20172 vcvtmv4sf, vcvtmuv2sf, vcvtmuv4sf): New builtin definitions.
20173 * config/arm/arm.c (arm_builtin_vectorized_function): Handle
20174 BUILT_IN_LROUNDF, BUILT_IN_LFLOORF, BUILT_IN_LCEILF.
20176 2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
20179 * config/arm/iterators.md (FIXUORS): New code iterator.
20180 (VCVT): New int iterator.
20181 (su_optab): New code attribute.
20183 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): New pattern.
20185 2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
20187 * config/aarch64/predicates.md (aarch64_comparison_operation):
20188 New special predicate.
20189 * config/aarch64/aarch64.md (*csinc2<mode>_insn): Use
20190 aarch64_comparison_operation instead of matching an operator.
20191 Update operand numbers.
20192 (csinc3<mode>_insn): Likewise.
20193 (*csinv3<mode>_insn): Likewise.
20194 (*csneg3<mode>_insn): Likewise.
20195 (ffs<mode>2): Update gen_csinc3<mode>_insn callsite.
20196 * config/aarch64/aarch64.c (aarch64_get_condition_code):
20197 Return -1 instead of aborting on invalid condition codes.
20198 (aarch64_print_operand): Update aarch64_get_condition_code callsites
20199 to assert that the returned condition code is valid.
20200 * config/aarch64/aarch64-protos.h (aarch64_get_condition_code): Export.
20202 2014-09-02 Aldy Hernandez <aldyh@redhat.com>
20204 * Makefile.in (TAGS): Handle constructs in common.opt, rtl.def,
20205 tree.def, and gimple.def
20207 2014-09-02 Jakub Jelinek <jakub@redhat.com>
20208 Balaji V. Iyer <balaji.v.iyer@intel.com>
20209 Igor Zamyatin <igor.zamyatin@intel.com>
20211 * cilk-builtins.def (__cilkrts_cilk_for_32): New.
20212 (__cilkrts_cilk_for_64): Likewise.
20213 * cilk-common.c (declare_cilk_for_builtin): New function.
20214 (cilk_init_builtins): Declare __cilkrts_cilk_for_32 and
20215 __cilkrts_cilk_for_64 bultins.
20216 * cilk.h (enum cilk_tree_index): Added CILK_TI_F_LOOP_32 and
20218 (cilk_for_32_fndecl): New define.
20219 (cilk_for_64_fndecl): Likewise.
20220 * gimple-pretty-print.c (dump_gimple_omp_for): Correct hadling of
20221 GF_OMP_FOR_KIND_CILKFOR cases; Added NE_EXPR case.
20222 * gimple.h (enum gf_mask): Added GF_OMP_FOR_KIND_CILKFOR; adjusted
20223 GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_SIMD, GF_OMP_FOR_COMBINED,
20224 GF_OMP_FOR_COMBINED_INTO.
20225 * gimplify.c (gimplify_scan_omp_clauses): Added
20226 OMP_CLAUSE__CILK_FOR_COUNT_ case.
20227 (gimplify_adjust_omp_clauses): Ditto.
20228 (gimplify_omp_for): Added CILK_FOR case.
20229 (gimplify_expr): Ditto.
20230 * omp-low.c: Include cilk.h.
20231 (extract_omp_for_data): Set appropriate kind for
20232 GF_OMP_FOR_KIND_CILKFOR; added check for GF_OMP_FOR_KIND_CILKFOR.
20233 (scan_sharing_clauses): Added OMP_CLAUSE__CILK_FOR_COUNT_ cases.
20234 (create_omp_child_function_name): Added second argument to handle
20236 (cilk_for_check_loop_diff_type): New function.
20237 (expand_cilk_for_call): Likewise.
20238 (expand_cilk_for): Likewise.
20239 (create_omp_child_function): Set cilk_for_count; handle the cases when
20240 it is true; call create_omp_child_function_name with second argument.
20241 (expand_omp_taskreg): Set is_cilk_for and handle cases when it's true.
20242 (expand_omp_for): Handle case of GF_OMP_FOR_KIND_CILKFOR.
20243 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__CILK_FOR_COUNT_.
20244 * tree-nested.c (convert_nonlocal_omp_clauses): Added
20245 OMP_CLAUSE__CILK_FOR_COUNT_ case.
20246 (convert_local_omp_clauses): Ditto.
20247 * tree-pretty-print.c (dump_omp_clause): Added
20248 OMP_CLAUSE__CILK_FOR_COUNT_ and OMP_CLAUSE_SCHEDULE_CILKFOR cases.
20249 (dump_generic_node): Added CILK_FOR case.
20250 * tree.c (omp_clause_num_ops): New element
20251 OMP_CLAUSE__CILK_FOR_COUNT_ (1).
20252 (omp_clause_code_name): New element _Cilk_for_count_.
20253 (walk_tree_1): Added OMP_CLAUSE__CILK_FOR_COUNT_ case.
20254 * tree.def: Add tree code for CILK_FOR.
20256 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
20258 * config/rs6000/40x.md (ppc403-integer): Move "exts" to "no dot".
20259 (ppc403-compare): Add "exts with dot" case.
20260 * config/rs6000/440.md (ppc440-integer, ppc440-compare): As above.
20261 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Ditto.
20262 * config/rs6000/601.md (ppc601-integer, ppc601-compare): Ditto.
20263 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Ditto.
20264 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Ditto.
20265 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Ditto.
20266 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Ditto.
20267 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
20268 cell-cmp-microcoded): Similarly.
20269 * config/rs6000/e300c2c3.md (ppce300c3_iu, ppce300c3_cmp): As before.
20270 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Ditto.
20271 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Ditto.
20272 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Ditto.
20273 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Ditto.
20274 * config/rs6000/power4.md (power4-integer, power4-compare): Ditto.
20275 * config/rs6000/power5.md (power5-integer, power5-compare): Ditto.
20276 * config/rs6000/power6.md (power6-exts): Add "no dot" condition.
20277 (power6-compare): Add "exts with dot" case.
20278 * config/rs6000/power7.md (power7-integer, power7-compare): As before.
20279 * config/rs6000/power8.md (power8-1cyc, power8-compare): Ditto.
20280 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Ditto.
20282 * config/rs6000/predicates.md (lwa_operand): Don't allow memory
20283 if avoiding Cell microcode.
20284 * config/rs6000/rs6000.c (rs6000_adjust_cost): Handle exts+dot case.
20285 (is_cracked_insn): Ditto.
20286 (insn_must_be_first_in_group): Ditto.
20287 * config/rs6000/rs6000.md (dot): Adjust comment.
20288 (cell_micro): Handle exts+dot.
20289 (extendqidi2, extendhidi2, extendsidi2, *extendsidi2_lfiwax,
20290 *extendsidi2_nocell, *extendsidi2_nocell, extendqisi2, extendqihi2,
20291 extendhisi2, 16 anonymous instructions, and 12 splitters): Delete.
20292 (extendqi<mode>2, *extendqi<mode>2_dot, *extendqi<mode>2_dot2,
20293 extendhi<mode>2, *extendhi<mode>2, *extendhi<mode>2_noload,
20294 *extendhi<mode>2_dot, *extendhi<mode>2_dot2, extendsi<mode>2,
20295 *extendsi<mode>2_dot, *extendsi<mode>2_dot2): New.
20297 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
20299 * config/rs6000/rs6000.md (QHSI): Delete.
20300 (EXTQI, EXTHI, EXTSI): New mode iterators.
20301 (zero_extend<mode>di2, *zero_extend<mode>di2_internal1,
20302 *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
20303 *zero_extendsidi2_lfiwzx, zero_extendqisi2, zero_extendhisi2,
20304 9 anonymous instructions, and 8 splitters): Delete.
20305 (zero_extendqi<mode>2, *zero_extendqi<mode>2_dot,
20306 *zero_extendqi<mode>2_dot2, zero_extendhi<mode>2,
20307 *zero_extendhi<mode>2_dot, *zero_extendhi<mode>2_dot2,
20308 zero_extendsi<mode>2, *zero_extendsi<mode>2_dot,
20309 *zero_extendsi<mode>2_dot2): New.
20311 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
20313 * config/rs6000/rs6000.md (any_extend): New code iterator.
20314 (u, su): New code attributes.
20315 (dmode, DMODE): New mode attributes.
20316 (<su>mul<mode>3_highpart): New.
20317 (*<su>mul<mode>3_highpart): New.
20318 (<su>mulsi3_highpart_le): New.
20319 (<su>muldi3_highpart_le): New.
20320 (<su>mulsi3_highpart_64): New.
20321 (<u>mul<mode><dmode>3): New.
20322 (mulsidi3, umulsidi3, smulsi3_highpart, umulsi3_highpart, and two
20323 splitters): Delete.
20324 (mulditi3, umulditi3, smuldi3_highpart, umuldi3_highpart, and two
20325 splitters): Delete.
20327 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
20329 * config/rs6000/rs6000.md (mulsi3, *mulsi3_internal1,
20330 *mulsi3_internal2, and two splitters): Delete.
20331 (muldi3, *muldi3_internal1, *muldi3_internal2, and two splitters):
20333 (mul<mode>3, mul<mode>3_dot, mul<mode>3_dot2): New.
20335 2014-09-02 Richard Biener <rguenther@suse.de>
20337 PR tree-optimization/62695
20338 * tree-ssa-structalias.c (find_func_clobbers): Add missing
20341 2014-09-01 Oleg Endo <olegendo@gcc.gnu.org>
20344 * config/sh/sh.md (*cmp_div0s_0): Add missing constraints.
20346 2014-09-01 Andi Kleen <ak@linux.intel.com>
20348 * file-find.c (add_prefix_begin): Add.
20349 (do_add_prefix): Rename from add_prefix with first argument.
20350 (add_prefix): Add new wrapper.
20351 * file-find.h (add_prefix_begin): Add.
20352 * gcc-ar.c (main): Support -B option.
20354 2014-09-01 Segher Boessenkool <segher@kernel.crashing.org>
20356 * genemit.c: Include dumpfile.h.
20357 (gen_split): Print name of splitter function to dump file.
20359 2014-09-01 Richard Biener <rguenther@suse.de>
20361 * tree-ssa-struct-aliases.c (find_func_aliases_for_builtin_call):
20362 Use stack auto_vecs for constraint expressions.
20363 (find_func_aliases_for_call): Likewise.
20364 (find_func_aliases): Likewise.
20365 (find_func_clobbers): Likewise.
20367 2014-09-01 Richard Biener <rguenther@suse.de>
20369 * tree-ssa-pre.c (phi_translate_1): Avoid re-allocating the
20370 operands vector in most cases. Remove redundant code.
20372 2014-09-01 Olivier Hainque <hainque@adacore.com>
20374 * config/vxworksae.h (VXWORKSAE_TARGET_DIR): Rely on
20375 $WIND_BASE instead of designating a harcoded arbitrary home dir.
20376 (VXWORKS_ADDITIONAL_CPP_SPEC): Adjust callers.
20378 2014-09-01 Richard Biener <rguenther@suse.de>
20380 * tree-ssa-sccvn.h (copy_reference_ops_from_ref,
20381 copy_reference_ops_from_call, vn_nary_op_compute_hash,
20382 vn_reference_compute_hash, vn_reference_insert): Remove.
20383 (vn_reference_lookup_call): New function.
20384 * tree-ssa-sccvn.c (vn_reference_compute_hash,
20385 copy_reference_ops_from_ref, copy_reference_ops_from_call,
20386 vn_reference_insert, vn_nary_op_compute_hash): Make static.
20387 (create_reference_ops_from_call): Remove.
20388 (vn_reference_lookup_3): Properly update shared_lookup_references.
20389 (vn_reference_lookup_pieces): Assert that we updated
20390 shared_lookup_references properly.
20391 (vn_reference_lookup): Likewise.
20392 (vn_reference_lookup_call): New function.
20393 (visit_reference_op_call): Use it. Avoid re-building the
20395 (visit_reference_op_load): Remove redundant lookup.
20396 (visit_reference_op_store): Perform special tail-merging work
20397 only when possibly doing tail-merging.
20398 (visit_use): Likewise.
20399 * tree-ssa-pre.c (compute_avail): Use vn_reference_lookup_call.
20401 2014-09-01 Jakub Jelinek <jakub@redhat.com>
20404 * sched-deps.c (add_or_update_dep_1): If ask_dependency_caches
20405 returned DEP_PRESENT, make sure to set DEP_MULTIPLE on present_dep.
20406 (find_inc): Revert 2014-08-13 change.
20408 2014-09-01 Marek Polacek <polacek@redhat.com>
20410 PR middle-end/61903
20411 * expmed.c (store_fixed_bit_field_1): Shift UHWI 1 instead of HWI 1.
20412 Change the type of V to unsigned HOST_WIDE_INT.
20414 2014-09-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
20416 * tree-ssa-math-opts.c (struct symbolic_number): Clarify comment about
20417 the size of byte markers.
20418 (do_shift_rotate): Fix confusion between host, target and marker byte
20420 (verify_symbolic_number_p): Likewise.
20421 (find_bswap_or_nop_1): Likewise.
20422 (find_bswap_or_nop): Likewise.
20424 2014-09-01 Olivier Hainque <hainque@adacore.com>
20426 * Makefile.in (FLAGS_TO_PASS): Propagate INSTALL, INSTALL_DATA,
20427 INSTALL_SCRIPT and INSTALL_PROGRAM as well.
20429 2014-09-01 Jakub Jelinek <jakub@redhat.com>
20431 * config/gnu-user.h (LIBLSAN_EARLY_SPEC): Define.
20432 * gcc.c (LIBLSAN_SPEC, LIBLSAN_EARLY_SPEC): Follow LIBTSAN*_SPEC.
20433 (SANITIZER_EARLY_SPEC): Include LIBLSAN_EARLY_SPEC for -fsanitize=leak.
20435 2014-09-01 Yury Gribov <y.gribov@samsung.com>
20439 * asan.c (asan_mem_ref_get_end): Handle non-ptroff_t lengths.
20440 (build_check_stmt): Likewise.
20441 (instrument_strlen_call): Likewise.
20442 (asan_expand_check_ifn): Likewise and fix types.
20443 (maybe_cast_to_ptrmode): New function.
20445 2014-09-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
20447 * config/mcore/mcore.c (try_constant_tricks): Fix declaration.
20449 2014-08-31 Gerald Pfeifer <gerald@pfeifer.com>
20451 * doc/generic.texi (Deficiencies): Add note on exemplary mistakes.
20453 2014-08-30 John David Anglin <danglin@gcc.gnu.org>
20455 * config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation
20456 prefix to function labels when generating fast indirect calls.
20458 2014-08-30 David Malcolm <dmalcolm@redhat.com>
20462 * gcc/reorg.c (skip_consecutive_labels): Convert return type and
20463 param back from rtx_insn * to rtx. Rename param from "label" to
20464 "label_or_return", reintroducing "label" as an rtx_insn * after
20465 we've ensured it's not a RETURN.
20466 (first_active_target_insn): Likewise for return type and param;
20467 add a checked cast to rtx_insn * once we've ensured "insn" is not
20469 (steal_delay_list_from_target): Convert param "pnew_thread" back
20470 from rtx_insn ** to rtx *. Replace use of JUMP_LABEL_AS_INSN
20472 (own_thread_p): Convert param "thread" back from an rtx_insn * to
20473 an rtx. Introduce local rtx_insn * "thread_insn" with a checked
20474 cast once we've established we're not dealing with a RETURN,
20475 renaming subsequent uses of "thread" to "thread_insn".
20476 (fill_simple_delay_slots): Convert uses of JUMP_LABEL_AS_INSN back
20478 (follow_jumps): Convert return type and param "label" from
20479 rtx_insn * back to rtx. Move initialization of "value" to after
20480 the handling for ANY_RETURN_P, adding a checked cast there to
20481 rtx_insn *. Convert local rtx_insn * "this_label" to an rtx and
20482 rename to "this_label_or_return", reintroducing "this_label" as
20483 an rtx_insn * once we've handled the case where it could be an
20485 (fill_slots_from_thread): Rename param "thread" to
20486 "thread_or_return", converting from an rtx_insn * back to an rtx.
20487 Reintroduce name "thread" as an rtx_insn * local with a checked
20488 cast once we've handled the case of it being an ANY_RETURN_P.
20489 Convert local "new_thread" from an rtx_insn * back to an rtx.
20490 Add a checked cast when assigning to "trial" from "new_thread".
20491 Convert use of JUMP_LABEL_AS_INSN back to JUMP_LABEL. Add a
20492 checked cast to rtx_insn * from "new_thread" when invoking
20494 (fill_eager_delay_slots): Convert locals "target_label",
20495 "insn_at_target" from rtx_insn * back to rtx.
20496 Convert uses of JUMP_LABEL_AS_INSN back to JUMP_LABEL.
20497 (relax_delay_slots): Convert locals "trial", "target_label" from
20498 rtx_insn * back to rtx. Convert uses of JUMP_LABEL_AS_INSN back
20499 to JUMP_LABEL. Add a checked cast to rtx_insn * on "trial" when
20500 invoking update_block.
20501 (dbr_schedule): Convert use of JUMP_LABEL_AS_INSN back to
20502 JUMP_LABEL; this removes all JUMP_LABEL_AS_INSN from reorg.c.
20504 * resource.h (mark_target_live_regs): Undo erroneous conversion
20505 of second param of r214693, converting it back from rtx_insn * to
20506 rtx, since it could be a RETURN.
20508 * resource.c (find_dead_or_set_registers): Similarly, convert
20509 param "jump_target" back from an rtx_insn ** to an rtx *, as we
20510 could be writing back a RETURN. Rename local rtx_insn * "next" to
20511 "next_insn", and introduce "lab_or_return" as a local rtx,
20512 handling the case where JUMP_LABEL (this_jump_insn) is a RETURN.
20513 (mark_target_live_regs): Undo erroneous conversion
20514 of second param of r214693, converting it back from rtx_insn * to
20515 rtx, since it could be a RETURN. Rename it from "target" to
20516 "target_maybe_return", reintroducing the name "target" as a local
20517 rtx_insn * with a checked cast, after we've handled the case of
20520 2014-08-29 DJ Delorie <dj@redhat.com>
20522 * cppbuiltin.c (define_builtin_macros_for_type_sizes): Round
20523 pointer size up to a power of two.
20524 * defaults.h (DWARF2_ADDR_SIZE): Round up.
20525 (POINTER_SIZE_UNITS): New, rounded up value.
20526 * dwarf2asm.c (size_of_encoded_value): Use it.
20527 (dw2_output_indirect_constant_1): Likewise.
20528 * expmed.c (init_expmed_one_conv): We now know the sizes of
20530 * loop-iv.c (iv_number_of_iterations): Use precision, not size.
20531 * optabs.c (expand_float): Use precision, not size.
20532 (expand_fix): Likewise.
20533 * simplify-rtx (simplify_unary_operation_1): Likewise.
20534 * tree-dfa.c (get_ref_base_and_extent): Likewise.
20535 * varasm.c (assemble_addr_to_section): Round up pointer sizes.
20536 (default_assemble_integer) Likewise.
20537 (dump_tm_clone_pairs): Likewise.
20538 * dwarf2out.c (mem_loc_descriptor): Allow partial-int modes also.
20539 * var-tracking.c (adjust_mems): Allow partial-int modes also.
20540 (prepare_call_arguments): Likewise.
20541 * stor-layout.c (finalize_type_size): Preserve precision.
20542 (layout_type): Use precision, not size.
20544 * expr.c (convert_move): If the target has an explicit converter,
20547 2014-08-29 David Malcolm <dmalcolm@redhat.com>
20549 * gdbinit.in: Skip various inline functions in rtl.h when
20552 2014-08-29 Richard Sandiford <richard.sandiford@arm.com>
20555 * rtlanal.c (rtx_referenced_p): Fix typo in LABEL_P call.
20557 2014-08-29 Richard Biener <rguenther@suse.de>
20559 PR tree-optimization/62291
20560 * tree-ssa-pre.c (sorted_array_from_bitmap_set): Reserve
20561 exactly the vector size needed and use quick_push.
20562 (phi_translate_1): Adjust comment.
20563 (valid_in_sets): Remove block argument and remove pointless
20565 (dependent_clean): Adjust for removal of block argument.
20567 (compute_antic_aux): Likewise.
20568 (compute_partial_antic_aux): Likewise.
20570 2014-08-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
20571 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
20572 Anna Tikhonova <anna.tikhonova@intel.com>
20573 Ilya Tocar <ilya.tocar@intel.com>
20574 Andrey Turetskiy <andrey.turetskiy@intel.com>
20575 Ilya Verbin <ilya.verbin@intel.com>
20576 Kirill Yukhin <kirill.yukhin@intel.com>
20577 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
20579 * config/i386/sse.md
20580 (define_insn "avx2_interleave_highv4di<mask_name>"): Add masking.
20581 (define_insn "vec_interleave_highv2di<mask_name>"): Ditto.
20582 (define_insn "avx2_interleave_lowv4di<mask_name>"): Ditto.
20583 (define_insn "vec_interleave_lowv2di<mask_name>"): Ditto.
20585 2014-08-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
20586 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
20587 Anna Tikhonova <anna.tikhonova@intel.com>
20588 Ilya Tocar <ilya.tocar@intel.com>
20589 Andrey Turetskiy <andrey.turetskiy@intel.com>
20590 Ilya Verbin <ilya.verbin@intel.com>
20591 Kirill Yukhin <kirill.yukhin@intel.com>
20592 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
20594 * config/i386/i386-modes.def: Add V12QI, V14QI, V6HI modes.
20595 * config/i386/sse.md
20596 (define_mode_iterator VI4_128_8_256): New.
20597 (define_mode_iterator VI2_128_4_256): Ditto.
20598 (define_mode_iterator PMOV_DST_MODE): Rename into
20599 (define_mode_iterator PMOV_DST_MODE_1): this.
20600 (define_insn "*avx512f_<code><pmov_src_lower><mode>2"):
20601 Use PMOV_DST_MODE_1 mode iterator.
20602 (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
20604 (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
20606 (define_insn "*avx512bw_<code>v32hiv32qi2"): New.
20607 (define_insn "avx512bw_<code>v32hiv32qi2_mask"): Ditto.
20608 (define_expand "avx512bw_<code>v32hiv32qi2_store_mask"): Ditto.
20609 (define_mode_iterator PMOV_DST_MODE_2): New.
20610 (define_insn "*avx512vl_<code><ssedoublemodelower><mode>2"): Ditto.
20611 (define_insn "<avx512>_<code><ssedoublemodelower><mode>2_mask"): Ditto.
20612 (define_expand "<avx512>_<code><ssedoublemodelower><mode>2_store_mask"):
20614 (define_mode_iterator PMOV_SRC_MODE_3): Ditto.
20615 (define_mode_attr pmov_dst_3): Ditto.
20616 (define_mode_attr pmov_dst_zeroed_3): Ditto.
20617 (define_mode_attr pmov_suff_3): Ditto.
20618 (define_insn "*avx512vl_<code><mode>v<ssescalarnum>qi2"): Ditto.
20619 (define_insn "*avx512vl_<code>v2div2qi2_store"): Ditto.
20620 (define_insn "avx512vl_<code>v2div2qi2_mask"): Ditto.
20621 (define_insn "avx512vl_<code>v2div2qi2_store_mask"): Ditto.
20622 (define_insn "*avx512vl_<code><mode>v4qi2_store"): Ditto.
20623 (define_insn "avx512vl_<code><mode>v4qi2_mask"): Ditto.
20624 (define_insn "avx512vl_<code><mode>v4qi2_store_mask"): Ditto.
20625 (define_insn "*avx512vl_<code><mode>v8qi2_store"): Ditto.
20626 (define_insn "avx512vl_<code><mode>v8qi2_mask"): Ditto.
20627 (define_insn "avx512vl_<code><mode>v8qi2_store_mask"): Ditto.
20628 (define_mode_iterator PMOV_SRC_MODE_4): Ditto.
20629 (define_mode_attr pmov_dst_4): Ditto.
20630 (define_mode_attr pmov_dst_zeroed_4): Ditto.
20631 (define_mode_attr pmov_suff_4): Ditto.
20632 (define_insn "*avx512vl_<code><mode>v<ssescalarnum>hi2"): Ditto.
20633 (define_insn "*avx512vl_<code><mode>v4hi2_store"): Ditto.
20634 (define_insn "avx512vl_<code><mode>v4hi2_mask"): Ditto.
20635 (define_insn "avx512vl_<code><mode>v4hi2_store_mask"): Ditto.
20636 (define_insn "*avx512vl_<code>v2div2hi2_store"): Ditto.
20637 (define_insn "avx512vl_<code>v2div2hi2_mask"): Ditto.
20638 (define_insn "avx512vl_<code>v2div2hi2_store_mask"): Ditto.
20639 (define_insn "*avx512vl_<code>v2div2si2"): Ditto.
20640 (define_insn "*avx512vl_<code>v2div2si2_store"): Ditto.
20641 (define_insn "avx512vl_<code>v2div2si2_mask"): Ditto.
20642 (define_insn "avx512vl_<code>v2div2si2_store_mask"): Ditto.
20644 2014-08-29 Richard Biener <rguenther@suse.de>
20646 * tree-cfg.c (verify_gimple_assign_unary): Do not allow
20647 NON_LVALUE_EXPR in gimple.
20649 2014-08-29 Richard Biener <rguenther@suse.de>
20651 PR middle-end/62292
20652 * gimple-fold.c (gimple_fold_builtin_strcpy): Fix error
20653 from previous refactoring.
20654 (gimple_fold_builtin_strncpy): Likewise.
20656 2014-08-29 David Malcolm <dmalcolm@redhat.com>
20659 * function.c (assign_parm_setup_reg): Remove erroneous checked
20660 cast to rtx_insn * on result of gen_extend_insn in favor of
20661 introducing a new local rtx "pat".
20663 2014-08-29 Jan-Benedict Glaw <jbglaw@lug-owl.de>
20665 * config/mep/mep-pragma.c (mep_pragma_coprocessor_subclass): Rework
20666 to silence warning.
20667 * config/mep/mep.c (VECTOR_TYPE_P): Remove duplicate definition.
20669 2014-08-28 David Malcolm <dmalcolm@redhat.com>
20671 * rtl.h (previous_insn): Strengthen param from rtx to rtx_insn *.
20672 (next_insn): Likewise.
20673 * emit-rtl.c (next_insn): Likewise.
20674 (previous_insn): Likewise.
20675 * config/pa/pa.c (remove_useless_addtr_insns): Strenghten locals
20676 "insn" and "next" from rtx to rtx_insn *.
20677 * config/picochip/picochip.c (picochip_reorg): Likewise for locals
20678 "insn", "insn1", "vliw_start", "prologue_end_note",
20679 "last_insn_in_packet".
20681 2014-08-28 David Malcolm <dmalcolm@redhat.com>
20683 * shrink-wrap.h (active_insn_between): Strengthen both params from
20685 * function.c (active_insn_between): Likewise.
20687 2014-08-28 David Malcolm <dmalcolm@redhat.com>
20689 * genattr.c (main): When writing out insn-attr.h, strengthen param
20690 of dfa_clear_single_insn_cache from rtx to rtx_insn *.
20691 * genautomata.c (output_dfa_clean_insn_cache_func): Likewise when
20692 writing out the definition of dfa_clear_single_insn_cache to the
20693 generated insn-automata.c
20695 2014-08-28 David Malcolm <dmalcolm@redhat.com>
20697 * resource.h (clear_hashed_info_for_insn): Strengthen param from
20699 (incr_ticks_for_insn): Likewise.
20700 (init_resource_info): Likewise.
20702 * resource.c (init_resource_info): Likewise.
20703 (clear_hashed_info_for_insn): Likewise.
20704 (incr_ticks_for_insn): Likewise.
20706 * reorg.c (delete_scheduled_jump): Strengthen param "insn" from
20708 (steal_delay_list_from_target): Use methods of "seq".
20709 (try_merge_delay_insns): Use methods of "merged_insns".
20710 (update_block): Strengthen param "insn" from rtx to rtx_insn *.
20711 (reorg_redirect_jump): Likewise for param "jump".
20713 2014-08-28 David Malcolm <dmalcolm@redhat.com>
20715 * insn-addr.h (insn_addresses_new): Strengthen param "insn" from
20717 * config/s390/s390.c (s390_split_branches): Eliminate top-level
20718 local rtx "tmp", in favor of new local rtx "mem" and rtx_insn *
20720 (s390_mainpool_finish): In three places, split out a local rtx
20721 "insn" into a local rtx - "set" or "pat" - and a rtx_insn *
20722 "insn". Strengthen local "pool_end" from rtx to rtx_code_label *
20723 and split another local rtx "insn" out into rtx "pat" and
20725 * config/sh/sh.c (output_branchy_insn): Rather than working
20726 directly on operands[9], introduce local rtx_code_label *
20727 variables named "lab" in two places, working on them, and then
20728 assigning them to operands[9], so that the intervening operations
20729 are known by the type system to be on insns.
20731 2014-08-28 David Malcolm <dmalcolm@redhat.com>
20733 * rtl.h (INSN_HAS_LOCATION): Strengthen param from const_rtx to
20736 * print-rtl.c (print_rtx): Add checked cast to const rtx_insn *
20737 in invocation of INSN_HAS_LOCATION.
20739 2014-08-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20741 * config/rs6000/altivec.h (vec_xl): New #define.
20742 (vec_xst): Likewise.
20743 * config/rs6000/rs6000-builtin.def (XXSPLTD_V2DF): New built-in.
20744 (XXSPLTD_V2DI): Likewise.
20745 (DIV_V2DI): Likewise.
20746 (UDIV_V2DI): Likewise.
20747 (MUL_V2DI): Likewise.
20748 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
20749 entries for VSX_BUILTIN_XVRDPI, VSX_BUILTIN_DIV_V2DI,
20750 VSX_BUILTIN_UDIV_V2DI, VSX_BUILTIN_MUL_V2DI,
20751 VSX_BUILTIN_XXSPLTD_V2DF, and VSX_BUILTIN_XXSPLTD_V2DI).
20752 * config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTD): New unspec.
20753 (UNSPEC_VSX_DIVSD): Likewise.
20754 (UNSPEC_VSX_DIVUD): Likewise.
20755 (UNSPEC_VSX_MULSD): Likewise.
20756 (vsx_mul_v2di): New insn-and-split.
20757 (vsx_div_v2di): Likewise.
20758 (vsx_udiv_v2di): Likewise.
20759 (vsx_xxspltd_<mode>): New insn.
20761 2014-08-28 David Malcolm <dmalcolm@redhat.com>
20763 * rtl.h (RTX_PREV): Added checked casts to uses of PREV_INSN and
20765 (PREV_INSN): Strengthen param from const_rtx to const rtx_insn *.
20766 (NEXT_INSN): Likewise.
20767 (JUMP_LABEL_AS_INSN): Add a "const" modifier to param.
20768 (reg_used_between_p): Strengthen params 2 and 3 from const_rtx to
20770 (no_labels_between_p): Likewise for both params.
20772 * config/aarch64/aarch64.c (aarch64_output_casesi): Add a checked
20773 cast when using NEXT_INSN on operands[2].
20774 * config/alpha/alpha.c (alpha_set_memflags): Strengthen local
20775 "insn" from rtx to rtx_insn *, adding a checked cast.
20776 (alpha_handle_trap_shadows): Strengthen locals "i", "n" from rtx to
20778 * config/arc/arc-protos.h (arc_ccfsm_record_condition): Likewise
20780 (arc_text_label): Likewise for param "insn".
20781 * config/arc/arc.c (arc_expand_epilogue): Likewise for local
20783 (arc_ccfsm_record_condition): Likewise for param "jump".
20784 (arc_text_label): Likewise for local "label".
20785 * config/arc/arc.md (doloop_begin_i): Likewise for local "scan".
20786 Introduce a local "seq" via a dyn_cast to rtx_sequence *, and use
20787 a method for typesafety. Add a checked cast.
20788 * config/arc/constraints.md (Clb): Add a checked cast when getting
20789 the CODE_LABEL from a LABEL_REF.
20790 * config/arm/arm.c (require_pic_register): Strengthen locals
20791 "seq", "insn" from rtx to rtx_insn *.
20792 (create_fix_barrier): Likewise for locals "selected", "next".
20793 (thumb1_reorg): Likewise for locals "prev", "insn".
20794 (arm_expand_prologue): Likewise for local "last".
20795 (thumb1_output_casesi): Add a checked cast when using NEXT_INSN on
20797 (thumb2_output_casesi): Likewise for operands[2].
20798 * config/avr/avr-log.c (avr_log_vadump): Within 'L' case,
20799 strengthen local "insn" from rtx to rtx_insn *.
20800 * config/bfin/bfin.c (find_next_insn_start): Likewise for return
20801 type and param "insn".
20802 (find_prev_insn_start): Likewise.
20803 (hwloop_optimize): Likewise for locals "insn", "last_insn",
20805 (gen_one_bundle): Likewise for loal "t".
20806 (find_load): Likewise for param "insn".
20807 (workaround_speculation): Likewise for locals "insn", "next",
20808 "target", "next_tgt".
20809 * config/c6x/c6x.c (assign_reservations): Likewise for both params
20810 and for locals "insn", "within", "last".
20811 (count_unit_reqs): Likewise for params "head", "tail" and local
20813 (try_rename_operands): Likewise for params "head", "tail".
20814 (reshuffle_units): Likewise for locals "head", "tail", "insn".
20815 (struct c6x_sched_context): Likewise for fields
20816 "last_scheduled_insn", "last_scheduled_iter0".
20817 (init_sched_state): Replace NULL_RTX with NULL.
20818 (reorg_split_calls): Strengthen local "new_cycle_first" from rtx
20820 (undo_split_delayed_nonbranch): Likewise for param and for local
20822 (conditionalize_after_sched): Likewise for local "insn".
20823 (bb_earliest_end_cycle): Likewise.
20824 (filter_insns_above): Likewise for locals "insn", "next".
20825 (hwloop_optimize): Remove redundant checked cast.
20826 (hwloop_fail): Strengthen local "t" from rtx to rtx_insn *.
20827 * config/cris/cris.c (cris_initial_frame_pointer_offset): Replace
20828 NULL_RTX with NULL.
20829 (cris_simple_epilogue): Likewise.
20830 (cris_expand_prologue): Likewise.
20831 (cris_expand_epilogue): Likewise.
20832 * config/frv/frv.c (frv_function_contains_far_jump): Strengthen
20833 local "insn" from rtx to rtx_insn *.
20834 (frv_ifcvt_modify_tests): Likewise for locals "last_insn", "insn".
20835 (struct frv_packet_group): Likewise for the elements within array
20836 fields "insns", "sorted", and for field "nop".
20837 (frv_packet): Likewise for the elements within array field
20839 (frv_add_insn_to_packet): Likewise for param "insn".
20840 (frv_insert_nop_in_packet): Likewise for param "insn" and local
20842 (frv_for_each_packet): Likewise for locals "insn", "next_insn".
20843 (frv_sort_insn_group_1): Likewise for local "insn".
20844 (frv_optimize_membar_local): Likewise.
20845 (frv_align_label): Likewise for locals "x", "last", "barrier",
20847 * config/ia64/ia64.c (last_scheduled_insn): Likewise for this
20849 (ia64_sched_init): Likewise for local "insn".
20850 (scheduled_good_insn): Likewise for param "last".
20851 (struct _ia64_sched_context): Likewise for field
20852 "last_scheduled_insn".
20853 (ia64_init_sched_context): Replace NULL_RTX with NULL.
20854 (struct bundle_state): Likewise for field "insn".
20855 (issue_nops_and_insn): Likewise for param "insn".
20856 (get_next_important_insn): Likewise for return type and both
20858 (ia64_add_bundle_selector_before): Likewise for param "insn".
20859 (bundling): Likewise for params "prev_head_insn", "tail" and
20860 locals "insn", "next_insn", "b". Eliminate top-level local rtx
20861 "nop" in favor of new locals rtx "nop_pat" and rtx_insn *nop;
20862 * config/iq2000/iq2000-protos.h (iq2000_fill_delay_slot):
20863 Strengthen final param from rtx to rtx_insn *.
20864 (iq2000_move_1word): Likewise for second param.
20865 * config/iq2000/iq2000.c (iq2000_fill_delay_slot): Likewise for
20866 param "cur_insn" and local "next_insn".
20867 (iq2000_move_1word): Likewise for param "insn".
20868 * config/iq2000/iq2000.md (insn before ADDR_DIFF_VEC): Add checked
20869 casts when using NEXT_INSN on operands[1].
20870 * config/m32c/m32c.c (m32c_function_needs_enter): Strengthen local
20871 "insn" from rtx to rtx_insn *.
20872 * config/m68k/m68k.c (m68k_jump_table_ref_p): Split out uses of
20873 "x", introducing local rtx_insn * "insn" for when working with the
20874 CODE_LABEL of the LABEL_REF.
20875 (m68k_sched_md_init_global): Strengthen local "insn" from rtx to
20877 * config/mcore/mcore-protos.h (mcore_is_dead): Likewise for first
20879 * config/mcore/mcore.c (emit_new_cond_insn): Likewise for return
20881 (conditionalize_block): Likewise for return type and param.
20882 (mcore_is_dead): Likewise for param "first" and local "insn".
20883 (emit_new_cond_insn): Likewise for return type.
20884 (conditionalize_block): Likewise for return type, param, and
20885 locals "insn", "blk_1_br", "end_blk_2_insn", "start_blk_3_lab",
20887 (conditionalize_optimization): Likewise for local "insn".
20888 * config/mep/mep.c (mep_jmp_return_reorg): Add checked cast when
20890 * config/microblaze/microblaze.md: Add checked casts when using
20892 * config/mips/mips.c (mips_expand_prologue): Eliminate top-level
20893 rtx "insn" in favor of various more tightly-scoped rtx "insn" and
20894 and rtx_insn * "insn".
20895 * config/mips/mips.md (casesi_internal_mips16_<mode>): Add a
20896 checked cast when using NEXT_INSN on operands[2].
20897 * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Strengthen
20898 local "insn" from rtx to rtx_insn *.
20899 * config/nds32/nds32-fp-as-gp.c (nds32_fp_as_gp_check_available):
20901 * config/nds32/nds32-md-auxiliary.c (nds32_output_casesi_pc_relative):
20902 Add a checked cast when using NEXT_INSN on operands[1].
20903 * config/pa/pa-protos.h (pa_following_call): Strengthen param from
20905 (pa_output_cbranch): Likewise for final param.
20906 (pa_output_lbranch): Likewise for second param.
20907 (pa_output_bb): Likewise for third param.
20908 (pa_output_bvb): Likewise.
20909 (pa_output_dbra): Likewise for second param.
20910 (pa_output_movb): Likewise.
20911 (pa_output_parallel_movb): Likewise.
20912 (pa_output_parallel_addb): Likewise.
20913 (pa_output_millicode_call): Likewise for first param.
20914 (pa_output_mul_insn): Likewise for second param.
20915 (pa_output_div_insn): Likewise for third param.
20916 (pa_output_mod_insn): Likewise for second param.
20917 (pa_jump_in_call_delay): Likewise for param.
20918 * config/pa/pa.c (pa_output_mul_insn): Likewise for param "insn".
20919 (pa_output_div_insn): Likewise.
20920 (pa_output_mod_insn): Likewise.
20921 (pa_output_cbranch): Likewise.
20922 (pa_output_lbranch): Likewise.
20923 (pa_output_bb): Likewise.
20924 (pa_output_bvb): Likewise.
20925 (pa_output_dbra): Likewise.
20926 (pa_output_movb): Likewise.
20927 (pa_output_millicode_call): Likewise; use method of rtx_sequence *
20928 to simplify and for typesafety.
20929 (pa_output_call): Use method of rtx_sequence *.
20930 (forward_branch_p): Strengthen param "insn" from rtx to rtx_insn *.
20931 (pa_jump_in_call_delay): Likewise.
20932 (pa_output_parallel_movb): Likewise.
20933 (pa_output_parallel_addb): Likewise.
20934 (pa_following_call): Likewise.
20935 (pa_combine_instructions): Likewise for locals "anchor",
20937 (pa_can_combine_p): Likewise for params "anchor", "floater" and
20938 locals "start", "end".
20939 * config/picochip/picochip.c (picochip_reset_vliw): Likewise for
20940 param "insn" and local "local_insn".
20941 (picochip_final_prescan_insn): Likewise for local "local_insn".
20942 * config/rs6000/rs6000.c (compute_save_world_info): Likewise for
20944 (uses_TOC): Likewise.
20945 * config/s390/s390.c (get_some_local_dynamic_name): Likewise.
20946 (s390_mainpool_finish): Eliminate top-level local rtx "insn",
20947 splitting out to more tightly-scoped locals, 3 as rtx and one as
20949 (s390_optimize_nonescaping_tx): Strengthen local "tmp" from rtx
20951 (s390_emit_prologue): Introduce a local "insn" to be an rtx_insn *
20953 * config/sh/sh-protos.h (barrier_align): Strenghten param from rtx
20955 (fixup_addr_diff_vecs): Likewise.
20956 (reg_unused_after): Likewise for param 2.
20957 (sh_can_redirect_branch): Likewise for both params.
20958 (check_use_sfunc_addr): Likewise for param 1.
20959 * config/sh/sh.c (fixup_mova): Likewise for local "worker".
20960 (find_barrier): Likewise for local "last_got".
20961 (gen_block_redirect): Likewise for return type, param "jump" and
20962 locals "prev", "scan", "next", "insn".
20963 (struct far_branch): Likewise for fields "near_label",
20964 "insert_place", "far_label".
20965 (gen_far_branch): Likewise for local "jump".
20966 (fixup_addr_diff_vecs): Likewise for param "first" and locals
20968 (barrier_align): Likewise for param and for locals "prev", "x".
20969 Introduce local rtx_sequence * "prev_seq" and use insn method for
20970 typesafety and clarity.
20971 (sh_reorg): Strengthen local "scan" from rtx to rtx_insn *.
20972 (get_dest_uid): Likewise for local "dest".
20973 (split_branches): Likewise for locals "next", "beyond", "label",
20974 "block", "far_label". Add checked casts when assigning to
20975 bp->far_label and "far_label".
20976 (reg_unused_after): Strengthen param "scan" from rtx to rtx_insn *.
20977 (sequence_insn_p): Likewise.
20978 (mark_constant_pool_use): Likewise for locals "insn", "lab". Add a
20979 more loop-scoped rtx "insn" when walking LABEL_REFS.
20980 (sh_can_redirect_branch): Strengthen both params from rtx to
20982 (check_use_sfunc_addr): Likewise for param "insn". Introduce a
20983 new local rtx_sequence * "seq" via a dyn_cast, and use a method
20984 for clarity and typesafety.
20985 * config/sh/sh.md (define_expand "epilogue"): Strengthen local
20986 "insn" from rtx to rtx_insn *.
20987 (define_insn "casesi_worker_1"): Add a checked cast to rtx_insn *
20988 when using NEXT_INSN on the CODE_LABEL in operands[2].
20989 (define_insn "casesi_worker_2"): Likewise.
20990 (define_insn "casesi_shift_media"): Likewise.
20991 (define_insn "casesi_load_media"): Likewise for the CODE_LABEL in
20993 * config/sh/sh_optimize_sett_clrt.cc (struct ccreg_value):
20994 Strengthen field "insn" from rtx to rtx_insn *.
20995 (sh_optimize_sett_clrt::execute): Likewise for locals "next_i", "i".
20996 (sh_optimize_sett_clrt::find_last_ccreg_values): Likewise for
20997 param "start_insn" and local "start_insn".
20998 * config/sh/sh_treg_combine.cc (struct set_of_reg): Likewise for
21000 (find_set_of_reg_bb): Likewise for param "insn".
21001 (trace_reg_uses_1): Likewise for param "start_insn" and local "i".
21002 (trace_reg_uses): Likewise for param "start_insn".
21003 (sh_treg_combine::cbranch_trace): Likewise for field
21005 (sh_treg_combine::cbranch_trace::cbranch_trace): Likewise for
21007 (sh_treg_combine::record_set_of_reg): Likewise for param
21008 "start_insn" and local "i".
21009 (sh_treg_combine::can_remove_cstore): Likewise for local
21011 (sh_treg_combine::try_optimize_cbranch): Likewise for param
21013 (sh_treg_combine::execute): Likewise for local "i".
21014 * config/sparc/sparc-protos.h (empty_delay_slot): Likewise for
21016 (sparc_check_64): Likewise for second param.
21017 * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
21018 locals "insn", "next". Introduce local rtx_sequence * "seq" via a
21019 dyn_cast, using its insn method for typesafety and clarity.
21020 (empty_delay_slot): Strengthen param "insn" from rtx to
21022 (set_extends): Likewise.
21023 (sparc_check_64): Likewise.
21024 * config/stormy16/stormy16.c (xstormy16_split_cbranch): Likewise
21025 for locals "seq", "last_insn".
21026 (combine_bnp): Likewise for param "insn".
21027 (xstormy16_reorg): Likewise for local "insn".
21028 * config/v850/v850.c (substitute_ep_register): Likewise for params
21029 "first_insn", "last_insn" and local "insn".
21030 (v850_reorg): Likewise for fields "first_insn", "last_insn" within
21031 elements of "regs" array, and local "insn".
21032 * except.c (emit_note_eh_region_end): Likewise for param "insn".
21033 * final.c (final_sequence): Strengthen this global from rtx to
21035 (shorten_branches): Strenthen locals "rel_lab", "prev" from rtx to
21037 (final_scan_insn): Update assignment to "final_sequence" to be
21038 from "seq", the cast version of "body", for type-safety.
21039 * function.c (assign_parm_setup_reg): Strengthen locals "insn",
21040 "insns" from rtx to rtx_insn *.
21041 (thread_prologue_and_epilogue_insns): Likewise for local "seq".
21042 * genattr.c (main): When writing out generated insn-attr.h,
21043 strengthen params 1 and 3 of eligible_for_delay,
21044 eligible_for_annul_true, eligible_for_annul_false from rtx to
21046 * genattrtab.c (write_eligible_delay): Likewise when writing out
21047 generated insn-attrtab.c; also local "insn" the generated
21049 * hw-doloop.c (discover_loops): Strengthen local "insn" from rtx
21051 * hw-doloop.h (struct GTY hwloop_info_d): Strengthen field
21052 "start_label" from rtx to rtx_insn *.
21053 * ira.c (decrease_live_ranges_number): Likewise for local "p".
21054 (ira_update_equiv_info_by_shuffle_insn): Likewise for param
21055 "insns" and local "insn".
21056 (validate_equiv_mem): Likewise for param "start" and local "insn".
21057 (memref_used_between_p): Likewise for params "start", "end" and
21059 * ira.h (ira_update_equiv_info_by_shuffle_insn): Likewise for
21061 * loop-doloop.c (doloop_optimize): Within region guarded by
21062 INSN_P (doloop_pat), introduce a new local rtx_insn *
21063 "doloop_insn" via a checked cast, and use it for typesafety,
21064 eventually writing the value back into doloop_pat.
21065 * output.h (final_sequence): Strengthen this global from rtx to
21067 * recog.c (peep2_attempt): Rename param "insn" to "uncast_insn",
21068 reintroducing "insn" as an rtx_insn * via a checked cast.
21069 Strengthen param "attempt" and local "new_insn"from rtx to
21071 (peephole2_optimize): Strengthen locals "insn", "attempt" from rtx
21073 * ree.c (emit_note_eh_region_end): Likewise for local "insn".
21074 * reload1.c (reload_as_needed): Eliminate top-level locals "x" and
21075 "p" in favor of more tightly-scoped replacements, sometimes rtx
21076 and sometimes rtx_insn *, as appropriate.
21077 (delete_output_reload): Eliminate top-level rtx "i1", splitting
21078 into two loop-scoped locals, one an rtx, the other an rtx_insn *.
21079 * reorg.c (delete_scheduled_jump): Add checked cast. Strengthen
21080 local "trial" from rtx to rtx_insn *.
21081 (redirect_with_delay_slots_safe_p): Strengthen param "jump" from
21082 rtx to rtx_insn *. Strenghten local "pat" from rtx to
21083 rtx_sequence * and use methods for clarity and typesafety.
21084 (redirect_with_delay_list_safe_p): Strengthen param "jump" from
21085 rtx to rtx_insn *. Strenghten local "li" from rtx to
21086 rtx_insn_list * and use its methods for clarity and typesafety.
21087 (steal_delay_list_from_target): Strengthen param "insn" from rtx
21089 (steal_delay_list_from_fallthrough): Likewise.
21090 (try_merge_delay_insns): Likewise for param "thread" and locals
21091 "trial", "next_trial", "delay_insn".
21092 (redundant_insn): Likewise for param "target" and local "trial".
21093 (own_thread_p): Likewise for param "thread" and locals
21094 "active_insn", "insn".
21095 (get_label_before): Likewise for param "insn".
21096 (fill_simple_delay_slots): Likewise for local "new_label"; use
21097 JUMP_LABEL_AS_INSN as necessary when calling own_thread_p.
21098 (label_before_next_insn): Strengthen return type and local "insn"
21099 from rtx to rtx_insn *.
21100 (relax_delay_slots): Likewise for locals "other", "tmp".
21101 (make_return_insns): Likewise for param "first" and locals "insn",
21102 "jump_insn", "prev". Move declaration of "pat" to its assignment
21103 and strengthen from rtx to rtx_sequence *. Use its methods for
21104 clarity and typesafety.
21105 * rtlanal.c (no_labels_between_p): Strengthen params from
21106 const_rtx to const rtx_insn *. Strengthen local "p" from rtx to
21108 (reg_used_between_p): Strengthen params "from_insn", "to_insn"
21109 from const_rtx to const rtx_insn *.
21110 (reg_set_between_p): Rename param "from_insn" to
21111 "uncast_from_insn", and reintroduce "from_insn" as a
21112 const rtx_insn * via a checked cast.
21113 (modified_between_p): Likewise for param "start" as "uncast_start".
21114 (tablejump_p): Add a cast when invoking NEXT_INSN on "label".
21115 * sel-sched-ir.c (get_seqno_by_preds): Strengthen param and locals
21116 "tmp", head" from rtx to rtx_insn *.
21117 (recompute_rev_top_order): Likewise for local "insn".
21118 * sel-sched-ir.h (get_seqno_by_preds): Likewise for param.
21119 * store-motion.c (build_store_vectors): Likewise for local "insn".
21120 Strengthen local "st" from rtx to rtx_insn_list * and use methods
21121 for clarity and typesafety.
21122 * tree-ssa-loop-ivopts.c (seq_cost): Strengthen param "seq" from
21124 (computation_cost): Likewise for local "seq".
21125 (get_address_cost): Likewise.
21127 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21129 * rtl.h (tablejump_p): Strengthen first param from const_rtx to
21131 (label_is_jump_target_p): Likewise for second param.
21133 * rtlanal.c (tablejump_p): Likewise for param "insn".
21134 (label_is_jump_target_p): Likewise for param "jump_insn".
21136 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21138 * rtl.h (find_first_parameter_load): Strengthen return type and
21139 both params from rtx to rtx_insn *.
21140 * rtlanal.c (find_first_parameter_load): Strengthen return type,
21141 both params and locals "before", "first_set" from rtx to
21142 rtx_insn *. Remove now-redundant cast.
21143 * except.c (sjlj_mark_call_sites): Use NULL rather than NULL_RTX.
21145 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21147 * rtl.h (find_last_value): Delete.
21148 * rtlanal.c (find_last_value): Delete.
21150 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21152 * cfgexpand.c (pass_expand::execute): Strengthen local "after"
21153 from rtx to rtx_insn *.
21154 * cfgrtl.c (force_nonfallthru_and_redirect): Replace use of local
21155 rtx "note" with new local rtx_insn * "new_head" when calculating
21156 head insn of new basic block.
21157 * combine.c (combine_split_insns): Strengthen return type and local
21158 "ret" from rtx to rtx_insn *.
21159 (likely_spilled_retval_p): Likewise for locals "use" and "p".
21160 (try_combine): Eliminate local "m_split", splitting into new
21161 locals "m_split_insn" and "m_split_pat".
21162 (find_split_point): Strengthen local "seq" from rtx into
21164 * config/spu/spu.c (spu_machine_dependent_reorg): Likewise for
21165 locals "label", "branch".
21166 * config/spu/spu.md (define_expand "smulsi3_highpart"): Likewise
21168 (define_expand "umulsi3_highpart"): Likewise for local "insn".
21169 * dse.c (note_add_store_info): Likewise for fields "first",
21171 (note_add_store): Likewise for local "insn".
21172 (emit_inc_dec_insn_before): Likewise for locals "insn",
21174 (find_shift_sequence): Likewise for locals "shift_seq", "insn".
21175 (replace_read): Likewise for locals "insns", "this_insn".
21176 * dwarf2cfi.c (dw_trace_info): Likewise for field "eh_head".
21177 (notice_eh_throw): Likewise for param "insn".
21178 (before_next_cfi_note): Likewise for return type, param, and local
21180 (connect_traces): Likewise for local "note".
21181 * emit-rtl.c (reset_all_used_flags): Likewise for local "p".
21182 (verify_rtl_sharing): Likewise.
21183 (unshare_all_rtl_in_chain): Likewise for param "insn".
21184 (get_first_nonnote_insn): Likewise for local "insn".
21185 (get_last_nonnote_insn): Likewise. Introduce local rtx_sequence *
21186 "seq" and use its methods to clarify things.
21187 (next_insn): Strengthen return type from rtx to rtx_insn *.
21188 Rename param "insn" to "uncast_insn" and reintroduce "insn" as a
21189 local rtx_insn * using a checked cast, dropping a checked cast
21190 made redundant by this change. Use a cast to and method of
21191 rtx_sequence to clarify the code.
21192 (previous_insn): Rename param "insn" to "uncast_insn" and
21193 reintroduce "insn" as a local rtx_insn * using a checked cast,
21194 dropping a checked cast made redundant by this change. Use a cast
21195 to and method of rtx_sequence to clarify the code.
21196 (next_nonnote_insn): Rename param "insn" to "uncast_insn" and
21197 reintroduce "insn" as a local rtx_insn * using a checked cast,
21198 dropping a checked cast made redundant by this change.
21199 (next_nonnote_insn_bb): Likewise.
21200 (prev_nonnote_insn): Likewise.
21201 (prev_nonnote_insn_bb): Likewise.
21202 (next_nondebug_insn): Likewise.
21203 (prev_nondebug_insn): Likewise.
21204 (next_nonnote_nondebug_insn): Likewise.
21205 (prev_nonnote_nondebug_insn): Likewise.
21206 (next_real_insn): Likewise.
21207 (prev_real_insn): Likewise.
21208 (next_active_insn): Likewise.
21209 (prev_active_insn): Likewise.
21210 (next_cc0_user): Likewise. Use rtx_sequence and a method for
21212 (prev_cc0_setter): Likewise.
21213 (try_split): Rename param "trial" to "uncast_trial" and
21214 reintroduce "insn" as a local rtx_insn * using a checked cast,
21215 dropping checked casts made redundant by this change.
21216 Strengthen locals "seq", "tem", "insn_last", "insn", "next" from
21218 (remove_insn): Rename param "insn" to "uncast_insn" and
21219 reintroduce "insn" as a local rtx_insn * using a checked cast.
21220 (emit_pattern_after_setloc): Likewise for param "after", as
21222 (emit_pattern_after): Likewise. Strengthen local "prev" from
21224 (emit_pattern_before_setloc): Rename param "before" to
21225 "uncast_before" and reintroduce "before" as a local rtx_insn *
21226 using a checked cast. Strengthen locals "first", "last" from
21228 (emit_pattern_before): Likewise rename/cast param "before" to
21229 "uncast_before". Strengthen local "next" from rtx to rtx_insn *.
21230 * except.c (copy_reg_eh_region_note_forward): Strengthen param
21231 "first" and local "insn" from rtx to rtx_insn *.
21232 (copy_reg_eh_region_note_backward): Likewise for param "last"
21234 * expr.c (fixup_args_size_notes): Rename param "last" to
21235 "uncast_last" and reintroduce "last" as a local rtx_insn *
21236 using a checked cast. Strengthen local "insn" from rtx to
21238 * function.c (set_insn_locations): Strengthen param "insn" from
21240 (record_insns): Likewise for param "insns" and local "tmp".
21241 (active_insn_between): Rename param "tail" to
21242 "uncast_tail" and reintroduce "tail" as a local rtx_insn *
21243 using a checked cast.
21244 (thread_prologue_and_epilogue_insns): Split out top-level local
21245 rtx "seq" into three different rtx_insn * locals. Strengthen
21246 local "prologue_seq" from rtx to rtx_insn *.
21247 * gcse.c (insert_insn_end_basic_block): Strenghen local "insn"
21248 from rtx to rtx_insn *.
21249 * haifa-sched.c (initiate_bb_reg_pressure_info): Likewise.
21250 (priority): Likewise for locals "prev_first", "twin".
21251 (setup_insn_max_reg_pressure): Likewise for param "after".
21252 (sched_setup_bb_reg_pressure_info): Likewise.
21253 (no_real_insns_p): Strengthen params from const_rtx to
21255 (schedule_block): Strengthen local "next_tail" from rtx to
21257 * ifcvt.c (find_active_insn_before): Strengthen return type and
21258 param "insn" from rtx to rtx_insn *.
21259 (find_active_insn_after): Likewise.
21260 (cond_exec_process_insns): Likewise for param "start" and local "insn".
21261 (cond_exec_process_if_block): Likewise for locals "then_start",
21262 "then_end", "else_start", "else_end", "insn", "start", "end", "from".
21263 (noce_process_if_block): Likewise for local "jump".
21264 (merge_if_block): Likewise for two locals named "end".
21265 (cond_exec_find_if_block): Likewise for local "last_insn".
21266 * jump.c (delete_related_insns): Rename param "insn" to
21267 "uncast_insn" and reintroduce "insn" as a local rtx_insn * using a
21268 checked cast. Strengthen local "p" from rtx to rtx_insn *.
21269 * lra-constraints.c (inherit_reload_reg): Replace NULL_RTX with
21271 (split_reg): Likewise.
21272 * lra.c (lra_process_new_insns): Likewise.
21273 * modulo-sched.c (permute_partial_schedule): Strengthen param
21274 "last" from rtx to rtx_insn *.
21275 * optabs.c (add_equal_note): Likewise for param "insns" and local
21277 (expand_binop_directly): Add checked casts to rtx_insn * within
21278 NEXT_INSN (pat) uses.
21279 (expand_unop_direct): Likewise.
21280 (maybe_emit_unop_insn): Likewise.
21281 * recog.c (peep2_attempt): Strengthen locals "last",
21282 "before_try", "x" from rtx to rtx_insn *.
21283 * reorg.c (optimize_skip): Strengthen return type and local
21284 "delay_list" from rtx to rtx_insn_list *. Strengthen param "insn"
21285 and locals "trial", "next_trial" from rtx to rtx_insn *.
21286 * resource.c (next_insn_no_annul): Strengthen return type and
21287 param "insn" from rtx to rtx_insn *. Use a cast to and method of
21288 rtx_sequence to clarify the code.
21289 (mark_referenced_resources): Add a checked cast to rtx_insn *
21290 within PREV_INSN (x).
21291 (find_dead_or_set_registers): Strengthen return type, param
21292 "target", locals "insn", "next", "jump_insn", "this_jump_insn"
21293 from rtx to rtx_insn *. Strengthen param "jump_target" from rtx *
21295 (mark_target_live_regs): Strengthen params "insns" and "target",
21296 locals "insn", "jump_target", "start_insn", "stop_insn" from rtx
21297 to rtx_insn *. Use cast to and method of rtx_sequence to clarify
21299 * resource.h (mark_target_live_regs): Strengthen params 1 and 2
21300 from rtx to rtx_insn *.
21301 * rtl.h (copy_reg_eh_region_note_forward): Strengthen second param
21302 from rtx to rtx_insn *.
21303 (copy_reg_eh_region_note_backward): Likewise.
21304 (unshare_all_rtl_in_chain): Likewise for sole param.
21305 (dump_rtl_slim): Strengthen second and third params from const_rtx
21306 to const rtx_insn *.
21307 * sched-deps.c (sched_free_deps): Strengthen params "head" and
21308 "tail" and locals "insn", "next_tail" from rtx to rtx_insn *.
21309 * sched-ebb.c (init_ready_list): Strengthen locals "prev_head",
21310 "next_tail" from rtx to rtx_insn *.
21311 (begin_move_insn): Likewise for local "next".
21312 * sched-int.h (sched_free_deps): Likewise for first and second
21314 (no_real_insns_p): Strengthen both params from const_rtx to
21316 (sched_setup_bb_reg_pressure_info): Strengthen second params from
21318 * sched-rgn.c (init_ready_list): Likewise for locals "prev_head",
21320 * sched-vis.c (dump_rtl_slim): Strengthen params "first", "last"
21321 and locals "insn", "tail" from const_rtx to const rtx_insn *.
21322 (rtl_dump_bb_for_graph): Strengthen local "insn" from rtx to
21324 (debug_rtl_slim): Strengthen params "first" and "last" from
21325 const_rtx to const rtx_insn *.
21326 * shrink-wrap.c (try_shrink_wrapping): Strengthen param
21327 "prologue_seq" and locals "seq", "p_insn" from rtx to rtx_insn *.
21328 (convert_to_simple_return): Likewise for param "returnjump".
21329 * shrink-wrap.h (try_shrink_wrapping): Likewise for param
21331 (convert_to_simple_return): Likewise for param "returnjump".
21332 * valtrack.c (propagate_for_debug): Likewise for params
21334 * valtrack.h (propagate_for_debug): Likewise for second param.
21336 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21338 * output.h (insn_current_reference_address): Strengthen param
21339 from rtx to rtx_insn *.
21340 * final.c (insn_current_reference_address): Likewise.
21342 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21344 * basic-block.h (inside_basic_block_p): Strengthen param from
21345 const_rtx to const rtx_insn *.
21346 * cfgbuild.c (inside_basic_block_p): Likewise.
21348 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21350 * dwarf2cfi.c (dw_trace_info): Strengthen field "head" from rtx to
21352 (get_trace_info): Likewise for param "insn".
21353 (save_point_p): Likewise.
21354 (maybe_record_trace_start): Likewise for both params.
21355 (maybe_record_trace_start_abnormal): Likewise.
21356 (create_trace_edges): Likewise for sole param and for three of the
21357 locals named "lab".
21358 (scan_trace): Strengthen local "prev", "insn", "control" from rtx
21359 to rtx_insn *, and update a call to pat->element to pat->insn.
21361 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21363 * function.h (struct expr_status): Convert field "x_forced_labels"
21364 from rtx_expr_list * to rtx_insn_list *.
21366 * cfgbuild.c (make_edges): Convert local "x" from an
21367 rtx_expr_list * to an rtx_insn_list *, replacing use of
21368 "element" method with "insn" method.
21369 * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
21370 * except.c (sjlj_emit_dispatch_table): Replace use of
21371 gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending to
21373 * jump.c (rebuild_jump_labels_1): Convert local "insn" from an
21374 rtx_expr_list * to an rtx_insn_list *, replacing use of
21375 "element" method with "insn" method.
21376 * reload1.c (set_initial_label_offsets): Likewise for local "x".
21377 * stmt.c (label_rtx): Strengthen local "ref" from rtx to
21378 rtx_insn *, adding a checked cast. Replace use of
21379 gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending it to
21381 (expand_label): Likewise for local "label_r".
21383 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21385 * function.h (struct rtl_data): Convert field
21386 "x_nonlocal_goto_handler_labels" from rtx_expr_list * to
21388 * rtl.h (remove_node_from_insn_list): New prototype.
21390 * builtins.c (expand_builtin): When prepending to
21391 nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
21393 * cfgbuild.c (make_edges): Convert local "x" from rtx_expr_list *
21394 to rtx_insn_list *, and use its "insn" method rather than
21396 * cfgrtl.c (delete_insn): Use new function
21397 remove_node_from_insn_list rather than
21398 remove_node_from_expr_list.
21399 (cfg_layout_initialize): Convert local "x" from rtx_expr_list *
21400 to rtx_insn_list *, and use its "insn" method rather than
21402 * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
21403 * reload1.c (set_initial_label_offsets): Likewise for local "x".
21404 * rtlanal.c (remove_node_from_insn_list): New function, adapted
21405 from remove_node_from_expr_list.
21406 * stmt.c (expand_label): When prepending to
21407 nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
21410 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21412 * function.h (struct rtl_data): Strengthen fields "x_return_label"
21413 and "x_naked_return_label" from rtx to rtx_code_label *.
21415 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21417 * rtl.h (SET_PREV_INSN): Strengthen param from rtx to rtx_insn *.
21418 (SET_NEXT_INSN): Likewise.
21419 (gen_rtvec_v): Add an overload for param types (int, rtx_insn **).
21421 * config/c6x/c6x.c (gen_one_bundle): Strengthen param "slot" from
21422 rtx * to rtx_insn **. Introduce a new local rtx "seq", using it
21423 to split out the SEQUENCE from local "bundle", strengthening the
21424 latter from rtx to rtx_insn * to hold the insn holding the SEQUENCE.
21425 Strengthen locals "t" and "insn" from rtx to rtx_insn *.
21426 (c6x_gen_bundles): Strengthen locals "insn", "next", "last_call"
21427 and the type of the elements of the "slot" array from rtx to
21429 (reorg_split_calls): Likewise for locals "insn" and "next", and
21430 the type of the elements of the "slot" array.
21432 * config/frv/frv.c (frv_nops): Likewise for the elements of this
21434 (frv_function_prologue): Likewise for locals "insn", "next",
21436 (frv_register_nop): Introduce a local "nop_insn" to be the
21437 rtx_insn * containing rtx "nop".
21439 * config/mep/mep.c (mep_make_bundle): Param "core" is sometimes
21440 used as an insn and sometimes as a pattern, so rename it to
21441 "core_insn_or_pat", and introduce local rtx_insn * "core_insn",
21442 using it where dealing with the core insn.
21444 * config/picochip/picochip.c (reorder_var_tracking_notes):
21445 Strengthen locals "insn", "next", "last_insn", "queue",
21446 "next_queue", "prev" from rtx to rtx_insn *.
21448 * emit-rtl.c (gen_rtvec_v): Add overloaded implementation for when
21449 the second param is an rtx_insn ** rather than an rtx **.
21450 (link_insn_into_chain): Strengthen locals "seq" and "sequence"
21451 from rtx to rtx_sequence *, and introduce local named "sequence",
21452 using methods of rtx_sequence to clarify the code.
21453 (remove_insn): Introduce local rtx_sequence * named "sequence" and
21455 (emit_insn_after_1): Strengthen return type from rtx to rtx_insn *.
21456 Rename param "after" to "uncast_after", reintroducing "after" as a
21457 local rtx_insn * with a checked cast.
21458 (emit_pattern_after_noloc): Rename param "after" to "uncast_after",
21459 reintroducing "after" as a local rtx_insn * with a checked cast.
21460 Strengthen local "last" from rtx to rtx_insn * and remove the
21461 now-redundant checked casts.
21462 (copy_delay_slot_insn): Strengthen return type and param from rtx
21465 * haifa-sched.c (reemit_notes): Strengthen params "insn" and
21466 "last" from rtx to rtx_insn *.
21468 2014-08-28 David Malcolm <dmalcolm@redhat.com>
21470 * emit-rtl.h (copy_delay_slot_insn): Strengthen return type and
21471 param from rtx to rtx_insn *.
21473 * emit-rtl.c (copy_delay_slot_insn): Likewise.
21475 * reorg.c (skip_consecutive_labels): Strengthen return type, param
21476 and local "insn" from rtx to rtx_insn *.
21477 (unfilled_slots_base): Strengthen type from rtx * to rtx_insn **.
21478 (unfilled_slots_next): Likewise.
21479 (function_return_label): Strengthen from rtx to rtx_code_label *.
21480 (function_simple_return_label): Likewise.
21481 (first_active_target_insn): Strengthen return type and param from
21483 (find_end_label): Strengthen return type from rtx to
21484 rtx_code_label *; strengthen locals as appropriate.
21485 (emit_delay_sequence): Strengthen return type, param "insn" and
21486 local "seq_insn" from rtx to rtx_insn *. Strengthen param "list"
21487 and local "li" from rtx to rtx_insn_list *, using methods of
21488 rtx_insn_list for clarity and typesafety.
21489 (add_to_delay_list): Strengthen return type and param "insn" from
21490 rtx to rtx_insn *. Strengthen param "delay_list" from rtx to
21491 rtx_insn_list * and use methods of rtx_insn_list.
21492 (delete_from_delay_slot): Strengthen return type, param "insn",
21493 locals "trial", "seq_insn", "prev" from rtx to rtx_insn *.
21494 Strengthen local "seq" from rtx to rtx_sequence *, and local
21495 "delay_list" from rtx to rtx_insn_list *, using methods of
21496 rtx_sequence for clarity and type-safety.
21497 (delete_scheduled_jump): Add checked cast when invoking
21498 delete_from_delay_slot. Strengthen local "trial" from rtx to
21500 (optimize_skip): Strengthen return type and local "delay_list"
21501 from rtx to rtx_insn_list *. Strengthen local "trial" from rtx to
21503 (steal_delay_list_from_target): Strengthen return type, param
21504 "delay_list" and local "new_delay_list" from rtx to
21505 rtx_insn_list *. Strengthen param "seq" from rtx to
21506 rtx_sequence *. Strengthen param "pnew_thread" from rtx * to
21508 Split out local "temp" into multiple more-tightly scoped locals:
21509 sometimes an rtx_insn_list *, and once a rtx_insn *. Use methods
21510 of rtx_insn_list and rtx_sequence for clarity and typesafety.
21511 Strengthen locals named "trial" from rtx to rtx_insn *.
21512 (steal_delay_list_from_fallthrough): Strengthen return type and
21513 param "delay_list" from rtx to rtx_insn_list *. Strengthen param
21514 "seq" from rtx to rtx_sequence *. Use methods of rtx_sequence.
21515 Strengthen local "trial" from rtx to rtx_insn *.
21516 (try_merge_delay_insns): Strength local "merged_insns" from rtx
21517 to rtx_insn_list * and use its methods. Strengthen local "pat"
21518 from rtx to rtx_sequence * and use its methods. Strengthen locals
21519 "dtrial" and "new_rtx" from rtx to rtx_insn *.
21520 (get_label_before): Strengthen return type and local "label" from
21522 (fill_simple_delay_slots): Likewise for locals "insn", "trial",
21523 "next_trial", "next", prev". Strengthen local "delay_list" from
21524 rtx to rtx_insn_list * Strengthen local "tmp" from rtx * to
21526 (follow_jumps): Strengthen return type, param "label" and locals
21527 "insn", "next", "value", "this_label" from rtx to rtx_insn *.
21528 (fill_slots_from_thread): Strengthen return type, param
21529 "delay_list" from rtx to rtx_insn_list *. Strengthen params
21530 "insn", "thread", "opposite_thread" and locals "new_thread",
21531 "trial", "temp", "ninsn" from rtx to rtx_insn *. Introduce local
21532 "sequence" from a checked cast to rtx_sequence so that we can call
21533 steal_delay_list_from_target and steal_delay_list_from_fallthrough
21534 with an rtx_sequence *.
21535 (fill_eager_delay_slots): Strengthen locals "insn", "target_label",
21536 "insn_at_target", "fallthrough_insn" from rtx to rtx_insn *.
21537 Strengthen local "delay_list" from rtx to rtx_insn_list *.
21538 (relax_delay_slots): Strengthen param "first" and locals "insn",
21539 "next", "trial", "delay_insn", "target_label" from rtx to
21540 rtx_insn *. Strengthen local "pat" from rtx to rtx_sequence *.
21541 Introduce a local "trial_seq" for PATTERN (trial) of type
21542 rtx_sequence *, in both cases using methods of rtx_sequence.
21543 (dbr_schedule): Strengthen param "first" and locals "insn",
21544 "next", "epilogue_insn" from rtx to rtx_insn *.
21546 2014-08-28 Richard Biener <rguenther@suse.de>
21548 PR tree-optimization/62283
21549 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
21550 Do not peel loops for alignment where the vector loop likely
21551 doesn't run at least VF times.
21553 2014-08-28 Bin Cheng <bin.cheng@arm.com>
21555 * tree-ssa-loop-ivopts.c (iv_ca_add_use): Delete parameter
21556 important_candidates. Consider all important candidates if
21557 IVS doesn't give any result. Remove check on ivs->upto.
21558 (try_add_cand_for): Call iv_ca_add_use only once.
21560 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
21561 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21562 Anna Tikhonova <anna.tikhonova@intel.com>
21563 Ilya Tocar <ilya.tocar@intel.com>
21564 Andrey Turetskiy <andrey.turetskiy@intel.com>
21565 Ilya Verbin <ilya.verbin@intel.com>
21566 Kirill Yukhin <kirill.yukhin@intel.com>
21567 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21569 (define_mode_iterator VI12_AVX2): Add V64QI and V32HI modes.
21570 (define_expand "<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Add
21572 (define_insn "*<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Ditto.
21573 (define_expand "<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
21574 (define_insn "*<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
21575 (define_insn "*mul<mode>3"): Add EVEX version.
21577 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
21578 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21579 Anna Tikhonova <anna.tikhonova@intel.com>
21580 Ilya Tocar <ilya.tocar@intel.com>
21581 Andrey Turetskiy <andrey.turetskiy@intel.com>
21582 Ilya Verbin <ilya.verbin@intel.com>
21583 Kirill Yukhin <kirill.yukhin@intel.com>
21584 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21586 * config/i386/sse.md
21587 (define_insn "avx512bw_interleave_highv64qi<mask_name>"): New.
21588 (define_insn "avx2_interleave_highv32qi<mask_name>"): Add masking.
21589 (define_insn "vec_interleave_highv16qi<mask_name>"): Ditto.
21590 (define_insn "avx2_interleave_lowv32qi<mask_name>"): Ditto.
21591 (define_insn "vec_interleave_lowv16qi<mask_name>"): Ditto.
21592 (define_insn "avx2_interleave_highv16hi<mask_name>"): Ditto.
21593 (define_insn "vec_interleave_highv8hi<mask_name>"): Ditto.
21594 (define_insn "avx2_interleave_lowv16hi<mask_name>"): Ditto.
21595 (define_insn "vec_interleave_lowv8hi<mask_name>"): Ditto.
21596 (define_insn "avx2_interleave_highv8si<mask_name>"): Ditto.
21597 (define_insn "vec_interleave_highv4si<mask_name>"): Ditto.
21598 (define_insn "avx2_interleave_lowv8si<mask_name>"): Ditto.
21599 (define_insn "vec_interleave_lowv4si<mask_name>"): Ditto.
21600 (define_insn "vec_interleave_highv16qi<mask_name>"): New.
21601 (define_insn "avx512bw_interleave_highv32hi<mask_name>"): Ditto.
21602 (define_insn "<mask_codefor>avx512bw_interleave_lowv32hi<mask_name>"):
21605 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
21606 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21607 Anna Tikhonova <anna.tikhonova@intel.com>
21608 Ilya Tocar <ilya.tocar@intel.com>
21609 Andrey Turetskiy <andrey.turetskiy@intel.com>
21610 Ilya Verbin <ilya.verbin@intel.com>
21611 Kirill Yukhin <kirill.yukhin@intel.com>
21612 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21614 * config/i386/sse.md
21615 (define_mode_iterator VIMAX_AVX2): Add V4TI mode.
21616 (define_insn "<sse2_avx2>_ashl<mode>3"): Add EVEX version.
21617 (define_insn "<sse2_avx2>_lshr<mode>3"): Ditto.
21619 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
21620 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21621 Anna Tikhonova <anna.tikhonova@intel.com>
21622 Ilya Tocar <ilya.tocar@intel.com>
21623 Andrey Turetskiy <andrey.turetskiy@intel.com>
21624 Ilya Verbin <ilya.verbin@intel.com>
21625 Kirill Yukhin <kirill.yukhin@intel.com>
21626 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21628 * config/i386/sse.md
21629 (define_mode_iterator VI128_256): New.
21630 (define_insn "<mask_codefor><code><mode>3<mask_name>"): Ditto.
21632 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
21633 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
21634 Anna Tikhonova <anna.tikhonova@intel.com>
21635 Ilya Tocar <ilya.tocar@intel.com>
21636 Andrey Turetskiy <andrey.turetskiy@intel.com>
21637 Ilya Verbin <ilya.verbin@intel.com>
21638 Kirill Yukhin <kirill.yukhin@intel.com>
21639 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
21641 * config/i386/sse.md
21642 (define_mode_iterator VI8_256_512): New.
21643 (define_insn "<mask_codefor>avx512dq_cvtps2qq<mode><mask_name><round_name>"):
21645 (define_insn "<mask_codefor>avx512dq_cvtps2qqv2di<mask_name>"): Ditto.
21646 (define_insn "<mask_codefor>avx512dq_cvtps2uqq<mode><mask_name><round_name>"):
21648 (define_insn "<mask_codefor>avx512dq_cvtps2uqqv2di<mask_name>"): Ditto.
21650 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21652 * varasm.c (compute_reloc_for_rtx_1): Take a const_rtx. Remove the
21653 pointer to the cumulative reloc value and return the value for
21654 this reloc instead.
21655 (compute_reloc_for_rtx): Take a const_rtx. Call
21656 compute_reloc_for_rtx_1 directly for SYMBOL_REF and LABEL_REF,
21657 avoiding any recursion. Use FOR_EACH_SUBRTX rather than
21658 for_each_rtx for the CONST case.
21660 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21662 * varasm.c (mark_constant): Replace this for_each_rtx callback with...
21663 (mark_constants_in_pattern): ...this new function to iterate over
21665 (mark_constants): Update accordingly.
21667 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21669 * varasm.c: Include rtl-iter.h.
21670 (const_rtx_hash_1): Take a const_rtx rather than an rtx *.
21671 Remove the pointer to the cumulative hashval_t and just return
21672 the hash for this rtx instead. Remove recursive CONST_VECTOR case.
21673 (const_rtx_hash): Use FOR_EACH_SUBRTX instead of for_each_rtx.
21674 Accumulate the hashval_ts here instead of const_rtx_hash_1.
21676 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21678 * var-tracking.c (add_uses): Take an rtx rather than an rtx *.
21679 Give real type of data parameter. Remove return value.
21680 (add_uses_1): Use FOR_EACH_SUBRTX_VAR rather than for_each_rtx
21681 to iterate over subrtxes.
21683 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21685 * var-tracking.c (use_narrower_mode_test): Turn from being a
21686 for_each_rtx callback to being a function that examines each
21688 (adjust_mems): Update accordingly.
21690 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21692 * var-tracking.c (non_suitable_const): Turn from being a for_each_rtx
21693 callback to being a function that examines each subrtx itself.
21694 Remove handling of null rtxes.
21695 (add_uses): Update accordingly.
21697 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21699 * var-tracking.c: Include rtl-iter.h.
21700 (rtx_debug_expr_p): Turn from being a for_each_rtx callback
21701 to being a function that examines each subrtx itself.
21702 (use_type): Update accordingly.
21704 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21706 * store-motion.c: Include rtl-iter.h.
21707 (extract_mentioned_regs_1): Delete.
21708 (extract_mentioned_regs): Use FOR_EACH_SUBRTX_VAR rather than
21709 for_each_rtx to iterate over subrtxes.
21711 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21713 * sel-sched.c: Include rtl-iter.h
21714 (count_occurrences_1): Delete.
21715 (count_occurrences_equiv): Turn rtxes into const_rtxes.
21716 Use FOR_EACH_SUBRTX rather than for_each_rtx.
21718 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21720 * rtl.h (tls_referenced_p): Take a const_rtx rather than an rtx.
21721 * rtlanal.c (tls_referenced_p_1): Delete.
21722 (tls_referenced_p): Take a const_rtx rather than an rtx.
21723 Use FOR_EACH_SUBRTX rather than for_each_rtx.
21725 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21727 * rtl.h (for_each_inc_dec_fn): Remove special case for -1.
21728 (for_each_inc_dec): Take an rtx rather than an rtx *.
21729 * cselib.c (cselib_record_autoinc_cb): Update accordingly.
21730 (cselib_record_sets): Likewise.
21731 * dse.c (emit_inc_dec_insn_before, check_for_inc_dec_1)
21732 (check_for_inc_dec): Likewise.
21733 * rtlanal.c (for_each_inc_dec_ops): Delete.
21734 (for_each_inc_dec_find_inc_dec): Take the MEM as argument,
21735 rather than a pointer to the memory address. Replace
21736 for_each_inc_dec_ops argument with separate function and data
21737 arguments. Abort on non-autoinc addresses.
21738 (for_each_inc_dec_find_mem): Delete.
21739 (for_each_inc_dec): Take an rtx rather than an rtx *. Use
21740 FOR_EACH_SUBRTX_VAR to visit every autoinc MEM.
21742 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21744 * rtl.h (find_all_hard_regs): Declare.
21745 * rtlanal.c (find_all_hard_regs): New function.
21746 (record_hard_reg_uses_1): Delete.
21747 (record_hard_reg_uses): Use find_all_hard_regs.
21749 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21751 * rtl.h (replace_label_data): Delete.
21752 (replace_label): Take the old label, new label and update-nuses flag
21753 as direct arguments. Return void.
21754 * cfgcleanup.c (outgoing_edges_match): Update accordingly.
21755 * rtlanal.c (replace_label): Update interface as above. Handle
21756 JUMP_TABLE_DATA as a special case. Handle JUMPs outside the
21757 iterator. Use FOR_EACH_SUBRTX_PTR.
21759 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21761 * rtl.h (get_pool_constant, rtx_referenced_p): Replace rtx parameters
21762 with const_rtx parameters.
21763 * varasm.c (get_pool_constant): Likewise.
21764 * rtlanal.c (rtx_referenced_p_1): Delete.
21765 (rtx_referenced_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
21766 Assert that the rtx we're looking for is nonnull. Allow searches
21767 for constant pool SYMBOL_REFs.
21769 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21771 * reload1.c: Include rtl-iter.h.
21772 (note_reg_elim_costly): Turn from being a for_each_rtx callback
21773 to being a function that examines each subrtx itself.
21774 (eliminate_regs_1, elimination_costs_in_insn): Update accordingly.
21776 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21778 * regcprop.c (cprop_find_used_regs_1): Delete.
21779 (cprop_find_used_regs): Use FOR_EACH_SUBRTX instead of for_each_rtx.
21781 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21783 * regcprop.c: Include rtl-iter.h.
21784 (kill_value): Take a const_rtx.
21785 (kill_autoinc_value): Turn from being a for_each_rtx callback
21786 to being a function that examines each subrtx itself.
21787 (copyprop_hardreg_forward_1): Update accordingly.
21789 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21791 * reg-stack.c: Include rtl-iter.h.
21792 (subst_stack_regs_in_debug_insn): Delete.
21793 (subst_all_stack_regs_in_debug_insn): Use FOR_EACH_SUBRTX_PTR
21794 instead of for_each_rtx.
21796 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21798 * lower-subreg.c (find_decomposable_subregs): Turn from being
21799 a for_each_rtx callback to being a function that examines each
21800 subrtx itself. Remove handling of null rtxes.
21801 (decompose_multiword_subregs): Update accordingly.
21803 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21805 * lower-subreg.c (adjust_decomposed_uses): Delete.
21806 (resolve_debug): Use FOR_EACH_SUBRTX_PTR rather than for_each_rtx.
21807 Remove handling of null rtxes.
21809 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21811 * lower-subreg.c: Include rtl-iter.h.
21812 (resolve_subreg_use): Turn from being a for_each_rtx callback
21813 to being a function that examines each subrtx itself. Remove
21814 handling of null rtxes.
21815 (resolve_reg_notes, resolve_simple_move): Update accordingly.
21816 (decompose_multiword_subregs): Likewise.
21818 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21820 * loop-iv.c (altered_reg_used): Turn from being a for_each_rtx callback
21821 to being a function that examines each subrtx itself.
21822 (simplify_using_condition, simplify_using_initial_values): Update
21825 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21827 * loop-iv.c: Include rtl-iter.h.
21828 (find_single_def_src): New function.
21829 (replace_single_def_regs): Turn from being a for_each_rtx callback
21830 to being a function that examines each subrtx itself.
21831 (replace_in_expr, simplify_using_initial_values): Update accordingly.
21833 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21835 * jump.c (eh_returnjump_p_1): Delete.
21836 (eh_returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
21837 Remove handling of null rtxes.
21839 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21841 * jump.c: Include rtl-iter.h.
21842 (returnjump_p_1): Delete.
21843 (returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
21844 Remove handling of null rtxes.
21846 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21848 * ira.c: Include rtl-iter.h.
21849 (set_paradoxical_subreg): Turn from being a for_each_rtx callback
21850 to being a function that examines each subrtx itself. Remove
21851 handling of null rtxes.
21852 (update_equiv_regs): Update call accordingly.
21854 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21856 * fwprop.c: Include rtl-iter.h.
21857 (varying_mem_p): Turn from being a for_each_rtx callback to being
21858 a function that examines each subrtx itself.
21859 (propagate_rtx): Update accordingly.
21861 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21863 * function.c: Include rtl-iter.h
21864 (instantiate_virtual_regs_in_rtx): Turn from being a for_each_rtx
21865 callback to being a function that examines each subrtx itself.
21866 Return the changed flag.
21867 (instantiate_virtual_regs_in_insn, instantiate_decl_rtl)
21868 (instantiate_virtual_regs): Update calls accordingly.
21870 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21872 * final.c: Include rtl-iter.h.
21873 (mark_symbol_ref_as_used): Delete.
21874 (mark_symbol_refs_as_used): Use FOR_EACH_SUBRTX instead of
21877 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21879 * emit-rtl.c: Include rtl-iter.h.
21880 (find_auto_inc): Turn from being a for_each_rtx callback to being
21881 a function that examines each subrtx itself. Assume the first operand
21882 to an RTX_AUTOINC is the automodified register.
21883 (try_split): Update call accordingly.
21885 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21887 * dwarf2out.c (resolve_one_addr): Remove unused data parameter.
21888 Return a bool, inverting the result so that 0/false means "not ok".
21889 Use FOR_EACH_SUBRTX_PTR instead of for_each_rtx to iterate over
21890 subrtxes of a CONST.
21891 (mem_loc_descriptor, add_const_value_attribute)
21892 (resolve_addr_in_expr): Update calls accordingly.
21894 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21896 * dwarf2out.c: Include rtl-iter.h.
21897 (const_ok_for_output_1): Take the rtx instead of a pointer to it.
21898 Remove unused data parameter. Return a bool, inverting the result
21899 so that 0/false means "not ok".
21900 (const_ok_for_output): Update accordingly. Use FOR_EACH_SUBRTX_VAR
21901 instead of for_each_rtx.
21903 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21905 * dse.c: Include rtl-iter.h.
21906 (check_mem_read_rtx): Change void * parameter to real type.
21907 Remove return value.
21908 (check_mem_read_use): Fix comment. Use FOR_EACH_SUBRTX_PTR instead of
21909 for_each_rtx. Don't handle null rtxes.
21911 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21913 * df-problems.c: Include rtl-iter.h.
21914 (find_memory): Turn from being a for_each_rtx callback to being
21915 a function that examines each subrtx itself. Continue to look for
21916 volatile references even after a nonvolatile one has been found.
21917 (can_move_insns_across): Update calls accordingly.
21919 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21921 * ddg.c (walk_mems_2, walk_mems_1): Delete.
21922 (insns_may_alias_p): Use FOR_EACH_SUBRTX rather than for_each_rtx
21923 to iterate over subrtxes. Return a bool rather than an int.
21925 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21927 * ddg.c: Include rtl-iter.h.
21928 (mark_mem_use_1): Rename to...
21929 (mark_mem_use): ...deleting old mark_mem_use. Use FOR_EACH_SUBRTX
21930 instead of for_each_rtx.
21931 (mem_read_insn_p): Update accordingly.
21933 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21935 * cse.c (change_cc_mode_args): Delete.
21936 (cse_change_cc_mode): Turn from being a for_each_rtx callback to being
21937 a function that examines each subrtx itself. Take the fields of
21938 change_cc_mode_args as argument and return void.
21939 (cse_change_cc_mode_insn): Update calls accordingly.
21941 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21943 * cse.c (is_dead_reg): Change argument to const_rtx.
21944 (dead_debug_insn_data): Delete.
21945 (is_dead_debug_insn): Expand commentary. Turn from being a
21946 for_each_rtx callback to being a function that examines
21947 each subrtx itself. Take the fields of dead_debug_insn_data
21949 (delete_trivially_dead_insns): Update call accordingly.
21951 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21953 * cse.c (check_for_label_ref): Move earlier in file. Turn from
21954 being a for_each_rtx callback to being a function that examines
21955 each subrtx itself.
21956 (cse_extended_basic_block): Update call accordingly.
21958 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21960 * cse.c (check_dependence_data): Delete.
21961 (check_dependence): Change from being a for_each_rtx callback to being
21962 a function that examines all subrtxes itself. Don't handle null rtxes.
21963 (invalidate): Update call accordingly.
21965 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21967 * cse.c: Include rtl-iter.h.
21968 (approx_reg_cost_1): Delete.
21969 (approx_reg_cost): Use FOR_EACH_SUBRTX instead of for_each_rtx.
21970 Don't handle null rtxes.
21972 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21974 * cfgcleanup.c: Include rtl-iter.h.
21975 (mentions_nonequal_regs): Turn from being a for_each_rtx callback
21976 to being a function that examines each subrtx itself.
21977 (thread_jump): Update accordingly.
21979 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21981 * combine-stack-adj.c: Include rtl-iter.h.
21982 (record_stack_refs_data): Delete.
21983 (record_stack_refs): Turn from being a for_each_rtx callback
21984 to being a function that examines each subrtx itself.
21985 Take a pointer to the reflist. Invert sense of return value
21986 so that true means success and false means failure. Don't
21988 (combine_stack_adjustments_for_block): Update accordingly.
21990 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21992 * combine.c (record_truncated_value): Turn from being a for_each_rtx
21993 callback to a function that takes an rtx and returns a bool
21994 (record_truncated_values): Use FOR_EACH_SUBRTX_VAR instead of
21997 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
21999 * combine.c: Include rtl-iter.h.
22000 (unmentioned_reg_p_1): Delete.
22001 (unmentioned_reg_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
22002 Don't handle null rtxes.
22004 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
22006 * calls.c: Include rtl-iter.h.
22007 (internal_arg_pointer_based_exp_1): Delete.
22008 (internal_arg_pointer_based_exp): Take a const_rtx.
22009 Use FOR_EACH_SUBRTX to iterate over subrtxes.
22011 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
22013 * caller-save.c: Include rtl-iter.h.
22014 (add_used_regs_1): Delete.
22015 (add_used_regs): Use FOR_EACH_SUBRTX rather than for_each_rtx
22016 to iterate over subrtxes. Assert that any remaining pseudos
22019 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
22021 * bt-load.c: Include rtl-iter.h.
22022 (btr_reference_found, find_btr_reference, btr_referenced_p): Delete.
22023 (find_btr_use): Move further up file. Use FOR_EACH_SUBRTX_PTR
22024 to iterate over subrtxes.
22025 (insn_sets_btr_p, new_btr_user, compute_defs_uses_and_gen): Use
22026 find_btr_use rather than btr_referenced_p.
22028 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
22030 * alias.c: Include rtl-iter.h.
22031 (refs_newer_value_cb): Delete.
22032 (refs_newer_value_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
22034 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
22036 * rtl-iter.h: New file.
22037 * rtlanal.c: Include it.
22038 (rtx_all_subrtx_bounds, rtx_nonconst_subrtx_bounds): New variables.
22039 (generic_subrtx_iterator <T>::add_single_to_queue)
22040 (generic_subrtx_iterator <T>::add_subrtxes_to_queue)
22041 (generic_subrtx_iterator <T>::free_array): New functions.
22042 (generic_subrtx_iterator <T>::LOCAL_ELEMS): Define.
22043 (generic_subrtx_iterator <const_rtx_accessor>)
22044 (generic_subrtx_iterator <rtx_var_accessor>
22045 (generic_subrtx_iterator <rtx_ptr_accessor>): Instantiate.
22046 (setup_reg_subrtx_bounds): New function.
22047 (init_rtlanal): Call it.
22049 2014-08-27 Kaz Kojima <kkojima@gcc.gnu.org>
22052 * config/sh/sh.md (ashlsi3): Handle negative shift count for
22054 (ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
22056 2014-08-27 Richard Sandiford <rdsandiford@googlemail.com>
22058 * emit-rtl.c (set_unique_reg_note): Discard notes with side effects.
22060 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22062 * rtl.h (JUMP_LABEL_AS_INSN): New.
22064 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22066 * rtl.h (free_EXPR_LIST_list): Strengthen param from rtx * to
22068 (alloc_EXPR_LIST): Strengthen return type from rtx to
22070 (remove_free_EXPR_LIST_node): Likewise for param.
22071 * reload.h (struct reg_equivs_t): Strengthen field "alt_mem_list"
22072 from rtx to rtx_expr_list *.
22073 * sched-int.h (struct deps_desc): Strengthen fields
22074 "pending_read_mems" and "pending_write_mems" from rtx to
22077 * dwarf2out.c (decl_piece_varloc_ptr): Strengthen return type from
22078 rtx to rtx_expr_list *.
22079 * lists.c (alloc_INSN_LIST): Likewise, also for local "r".
22080 (free_EXPR_LIST_list): Strengthen param "listp" from rtx * to
22082 (remove_free_EXPR_LIST_node): Likewise. Strengthen local "node"
22083 from rtx to rtx_expr_list *.
22084 * loop-iv.c (simplify_using_initial_values): Strengthen local
22085 "cond_list" from rtx to rtx_expr_list *, and locals "pnode",
22086 "pnote_next" from rtx * to rtx_expr_list **.
22087 * sched-deps.c (remove_from_both_dependence_lists): Strengthen
22088 param "exprp" from rtx * to rtx_expr_list **.
22089 (add_insn_mem_dependence): Strengthen local "mem_list" from
22090 rtx * to rtx_expr_list **. Strengthen local "mem_node" from rtx
22091 to rtx_expr_list *.
22092 * sched-rgn.c (concat_insn_mem_list): Strengthen param "copy_mems"
22093 and local "new_mems" from rtx to rtx_expr_list *. Strengthen
22094 param "old_mems_p" from rtx * to rtx_expr_list **.
22095 * var-tracking.c (struct adjust_mem_data): Strengthen field
22096 "side_effects" from rtx to rtx_expr_list *.
22097 (adjust_insn): Replace NULL_RTX with NULL when assigning to
22099 (prepare_call_arguments): Likewise.
22101 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22103 * function.h (struct rtl_data): Strengthen field
22104 "x_stack_slot_list" from rtx to rtx_expr_list *.
22106 * emit-rtl.c (unshare_all_rtl_1): Add a checked cast
22107 when assigning to stack_slot_list.
22109 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22111 * function.h (struct rtl_data): Strengthen field
22112 x_nonlocal_goto_handler_labels from rtx to rtx_expr_list *.
22113 * rtl.h (remove_node_from_expr_list): Strengthen second param from
22114 rtx * to rtx_expr_list **.
22116 * cfgbuild.c (make_edges): In loop over
22117 nonlocal_goto_handler_labels, strengthen local "x" from rtx to
22118 rtx_expr_list *, and use methods of the latter class to clarify
22120 * cfgrtl.c (cfg_layout_initialize): Strengthen local "x" from rtx to
22121 rtx_expr_list *, and use methods of the latter class to clarify
22123 * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
22124 * reload1.c (set_initial_label_offsets): Likewise for local "x".
22125 * rtlanal.c (remove_node_from_expr_list): Strengthen param "listp"
22126 from rtx * to rtx_expr_list **. Strengthen local "temp" from rtx
22127 to rtx_expr_list *. Use methods of the latter class to clarify
22130 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22132 * function.h (struct expr_status): Strengthen field
22133 "x_forced_labels" from rtx to rtx_expr_list *.
22135 * cfgbuild.c (make_edges): Split local "x" into two locals,
22136 strengthening one from rtx to rtx_expr_list *, and using methods
22138 * dwarf2cfi.c (create_trace_edges): Split local "lab" out; within
22139 loop over forced_labels, introduce strengthen it from rtx to
22140 rtx_expr_list *, using methods to clarify the code.
22141 * jump.c (rebuild_jump_labels_1): Strengthen local "insn" from rtx
22142 to rtx_expr_list *, using methods of said class to clarify the
22144 * reload1.c (set_initial_label_offsets): Split local "x" into two
22145 per-loop variables, strengthening the first from rtx to
22146 rtx_expr_list * and using methods.
22148 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22150 * coretypes.h (class rtx_expr_list): Add forward declaration.
22151 * emit-rtl.c (gen_rtx_EXPR_LIST): New.
22152 * gengenrtl.c (special_rtx): Add EXPR_LIST.
22153 * rtl.h (class rtx_expr_list): New subclass of rtx_def, adding
22154 invariant: GET_CODE (X) == EXPR_LIST.
22155 (is_a_helper <rtx_expr_list *>::test): New.
22156 (rtx_expr_list::next): New.
22157 (rtx_expr_list::element): New.
22158 (gen_rtx_EXPR_LIST): New.
22160 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22162 * varasm.c (mark_constants): Convert a GET_CODE check into a
22163 dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
22164 Use methods of rtx_sequence to clarify the code.
22166 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22168 * sched-vis.c (print_pattern): Within SEQUENCE case, introduce a
22169 local "seq" via a checked cast, and use methods of rtx_sequence
22170 to simplify the code.
22172 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22174 * resource.c (mark_referenced_resources): Strengthen local
22175 "sequence" from rtx to rtx_sequence *, adding a checked cast, and
22176 using methods of rtx_sequence to clarify the code.
22177 (find_dead_or_set_registers): Within the switch statement, convert
22178 a GET_CODE check to a dyn_cast, introducing local "seq". Within
22179 the JUMP_P handling, introduce another local "seq", adding a
22180 checked cast to rtx_sequence *. In both cases, use methods of
22181 rtx_sequence to clarify the code.
22182 (mark_set_resources): Within SEQUENCE case, introduce local "seq"
22183 via a checked cast, and use methods of rtx_sequence to simplify
22186 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22188 * reorg.c (redundant_insn): In two places in the function, replace
22189 a check of GET_CODE with a dyn_cast, introducing local "seq", and
22190 usings methods of rtx_sequence to clarify the code.
22192 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22194 * jump.c (mark_jump_label_1): Within the SEQUENCE case, introduce
22195 local "seq" with a checked cast, and use methods of rtx_sequence
22196 to clarify the code.
22198 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22200 * function.c (contains): Introduce local "seq" for PATTERN (insn),
22201 with a checked cast, in the region for where we know it's a
22202 SEQUENCE. Use methods of rtx_sequence.
22204 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22206 * final.c (get_attr_length_1): Replace GET_CODE check with a
22207 dyn_cast, introducing local "seq" and the use of methods of
22209 (shorten_branches): Likewise, introducing local "body_seq".
22210 Strengthen local "inner_insn" from rtx to rtx_insn *.
22211 (reemit_insn_block_notes): Replace GET_CODE check with a
22212 dyn_cast, strengthening local "body" from rtx to rtx_sequence *.
22213 Use methods of rtx_sequence.
22214 (final_scan_insn): Likewise, introducing local "seq" for when
22215 "body" is known to be a SEQUENCE, using its methods.
22217 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22219 * except.c (can_throw_external): Strengthen local "seq" from rtx
22220 to rtx_sequence *. Use methods of rtx_sequence.
22221 (insn_nothrow_p): Likewise.
22223 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22225 * dwarf2cfi.c (create_trace_edges): Convert GET_CODE check into a
22226 dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
22227 Use methods of rtx_sequence.
22228 (scan_trace): Likewise for local "pat".
22230 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22232 * coretypes.h (class rtx_sequence): Add forward declaration.
22233 * rtl.h (class rtx_sequence): New subclass of rtx_def, adding
22234 invariant: GET_CODE (X) == SEQUENCE.
22235 (is_a_helper <rtx_sequence *>::test): New.
22236 (is_a_helper <const rtx_sequence *>::test): New.
22237 (rtx_sequence::len): New.
22238 (rtx_sequence::element): New.
22239 (rtx_sequence::insn): New.
22241 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22243 * rtl.h (free_INSN_LIST_list): Strengthen param from rtx * to
22245 (alloc_INSN_LIST): Strengthen return type from rtx to
22247 (copy_INSN_LIST): Likewise for return type and param.
22248 (concat_INSN_LIST): Likewise for both params and return type.
22249 (remove_free_INSN_LIST_elem): Strenghten first param from rtx to
22250 rtx_insn *. Strengthen second param from rtx * to rtx_insn_list **.
22251 (remove_free_INSN_LIST_node): Strenghten return type from rtx to
22252 rtx_insn *. Strengthen param from rtx * to rtx_insn_list **.
22254 * sched-int.h (struct deps_reg): Strengthen fields "uses", "sets",
22255 "implicit_sets", "control_uses", "clobbers" from rtx to
22257 (struct deps_desc): Likewise for fields "pending_read_insns",
22258 "pending_write_insns", "pending_jump_insns",
22259 "last_pending_memory_flush", "last_function_call",
22260 "last_function_call_may_noreturn", "sched_before_next_call",
22261 "sched_before_next_jump".
22262 (struct _haifa_deps_insn_data): Likewise for field "cond_deps".
22263 (remove_from_deps): Strengthen second param from rtx to rtx_insn *.
22265 * gcse.c (struct ls_expr): Strengthen fields "loads" and "stores"
22266 from rtx to rtx_insn_list *.
22267 (ldst_entry): Replace use of NULL_RTX with NULL when dealing with
22270 * haifa-sched.c (insn_queue): Strengthen this variable from rtx *
22271 to rtx_insn_list **.
22272 (dep_cost_1): Strengthen local "dep_cost_rtx_link" from rtx to
22274 (queue_insn): Likewise for local "link".
22275 (struct haifa_saved_data): Strengthen field "insn_queue" from
22276 rtx * to rtx_insn_list **.
22277 (save_backtrack_point): Update allocation of save->insn_queue to
22278 reflect the strengthening of elements from rtx to rtx_insn_list *.
22279 (queue_to_ready): Strengthen local "link" from rtx to
22280 rtx_insn_list *; use methods "next" and "insn" when traversing the
22282 (early_queue_to_ready): Likewise for locals "link", "next_link",
22284 (schedule_block): Update allocation of insn_queue to reflect the
22285 strengthening of elements from rtx to rtx_insn_list *. Strengthen
22286 local "link" from rtx to rtx_insn_list *, and use methods when
22288 (add_to_speculative_block): Strengthen locals "twins" and
22289 "next_node" from rtx to rtx_insn_list *, and use methods when
22290 working with them. Strengthen local "twin" from rtx to
22291 rtx_insn *, eliminating a checked cast.
22292 (fix_recovery_deps): Strengthen locals "ready_list" and "link"
22293 from rtx to rtx_insn_list *, and use methods when working with
22296 * lists.c (alloc_INSN_LIST): Strengthen return type and local "r"
22297 from rtx to rtx_insn_list *, adding a checked cast.
22298 (free_INSN_LIST_list): Strengthen param "listp" from rtx * to
22300 (copy_INSN_LIST): Strengthen return type and locals "new_queue",
22301 "newlink" from rtx to rtx_insn_list *. Strengthen local
22302 "pqueue" from rtx * to rtx_insn_list **. Strengthen local "x"
22303 from rtx to rtx_insn *.
22304 (concat_INSN_LIST): Strengthen return type and local "new_rtx",
22305 from rtx to rtx_insn_list *. Use methods of the latter class.
22306 (remove_free_INSN_LIST_elem): Strengthen param "elem" from rtx to
22307 rtx_insn *, and param "listp" from rtx * to rtx_insn_list **.
22308 (remove_free_INSN_LIST_node): Strengthen return type and local
22309 "elem" from rtx to rtx_insn *. Strenghten param "listp" from
22310 rtx * to rtx_insn_list **. Strengthen local "node" from rtx to
22311 rtx_insn_list *, using "insn" method.
22313 * sched-deps.c (add_dependence_list): Strengthen param "list"
22314 from rtx to rtx_insn_list *, and use methods when working with it.
22315 (add_dependence_list_and_free): Strengthen param "listp" from
22316 rtx * to rtx_insn_list **.
22317 (remove_from_dependence_list): Strenghten param "listp" from rtx *
22318 to rtx_insn_list **, and use methods when working with *listp.
22319 (remove_from_both_dependence_lists): Strengthen param "listp" from
22320 rtx * to rtx_insn_list **
22321 (add_insn_mem_dependence): Strengthen local "insn_list" from rtx *
22322 to rtx_insn_list **. Eliminate local "link", in favor of two new
22323 locals "insn_node" and "mem_node", an rtx_insn_list * and an rtx
22325 (deps_analyze_insn): Split out uses 'f local "t" as an INSN_LIST
22326 by introducing local "cond_deps".
22327 (remove_from_deps): Strengthen param "insn" from rtx to
22330 * sched-rgn.c (concat_insn_mem_list): Strengthen param
22331 "copy_insns" and local "new_insns" from rtx to rtx_insn_list *.
22332 Strengthen param "old_insns_p" from rtx * to rtx_insn_list **.
22333 Use methods of rtx_insn_list.
22335 * store-motion.c (struct st_expr): Strengthen fields
22336 "antic_stores" and "avail_stores" from rtx to rtx_insn_list *.
22337 (st_expr_entry): Replace NULL_RTX with NULL when dealing with
22339 (find_moveable_store): Split out "tmp" into multiple more-tightly
22340 scoped locals. Use methods of rtx_insn_list *.
22341 (compute_store_table): Strengthen local "tmp" from rtx to
22342 rtx_insn *. Use methods of rtx_insn_list *.
22344 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22346 * coretypes.h (class rtx_insn_list): Add forward declaration.
22347 * rtl.h (class rtx_insn_list): New subclass of rtx_def
22348 (is_a_helper <rtx_insn_list *>::test): New.
22349 (rtx_insn_list::next): New.
22350 (rtx_insn_list::insn): New.
22351 (gen_rtx_INSN_LIST): Add prototype.
22352 * emit-rtl.c (gen_rtx_INSN_LIST): New.
22353 * gengenrtl.c (special_rtx): Add INSN_LIST.
22355 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22357 * ira-lives.c (find_call_crossed_cheap_reg): Strengthen local
22358 "prev" from rtx to rtx_insn *.
22360 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22362 * rtl.h (INSN_UID): Convert from a macro to a pair of inline
22363 functions. Require merely an rtx for now, not an rtx_insn *.
22364 (BLOCK_FOR_INSN): Likewise.
22365 (INSN_LOCATION): Likewise.
22366 (INSN_HAS_LOCATION): Convert from a macro to an inline function.
22368 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22370 * rtl.h (PATTERN): Convert this macro into a pair of inline
22371 functions, for now, requiring const_rtx and rtx.
22373 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22375 * target.def (unwind_emit): Strengthen param "insn" from rtx to
22377 (final_postscan_insn): Likewise.
22378 (adjust_cost): Likewise.
22379 (adjust_priority): Likewise.
22380 (variable_issue): Likewise.
22381 (macro_fusion_pair_p): Likewise.
22382 (dfa_post_cycle_insn): Likewise.
22383 (first_cycle_multipass_dfa_lookahead_guard): Likewise.
22384 (first_cycle_multipass_issue): Likewise.
22385 (dfa_new_cycle): Likewise.
22386 (adjust_cost_2): Likewise for params "insn" and "dep_insn".
22387 (speculate_insn): Likewise for param "insn".
22388 (gen_spec_check): Likewise for params "insn" and "label".
22389 (get_insn_spec_ds): Likewise for param "insn".
22390 (get_insn_checked_ds): Likewise.
22391 (dispatch_do): Likewise.
22392 (dispatch): Likewise.
22393 (cannot_copy_insn_p): Likewise.
22394 (invalid_within_doloop): Likewise.
22395 (legitimate_combined_insn): Likewise.
22396 (needed): Likewise.
22399 * doc/tm.texi: Automatically updated to reflect changes to
22402 * haifa-sched.c (choose_ready): Convert NULL_RTX to NULL when
22404 (schedule_block): Likewise.
22405 (sched_init): Likewise.
22406 (sched_speculate_insn): Strengthen param "insn" from rtx to
22408 (ready_remove_first_dispatch): Convert NULL_RTX to NULL when
22410 * hooks.c (hook_bool_rtx_true): Rename to...
22411 hook_bool_rtx_insn_true): ...this, and strengthen first param from
22413 (hook_constcharptr_const_rtx_null): Rename to...
22414 (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
22415 first param from const_rtx to const rtx_insn *.
22416 (hook_bool_rtx_int_false): Rename to...
22417 (hook_bool_rtx_insn_int_false): ...this, and strengthen first
22418 param from rtx to rtx_insn *.
22419 (hook_void_rtx_int): Rename to...
22420 (hook_void_rtx_insn_int): ...this, and strengthen first param from
22423 * hooks.h (hook_bool_rtx_true): Rename to...
22424 (hook_bool_rtx_insn_true): ...this, and strengthen first param from
22426 (hook_bool_rtx_int_false): Rename to...
22427 (hook_bool_rtx_insn_int_false): ...this, and strengthen first
22428 param from rtx to rtx_insn *.
22429 (hook_void_rtx_int): Rename to...
22430 (hook_void_rtx_insn_int): ...this, and strengthen first param from
22432 (hook_constcharptr_const_rtx_null): Rename to...
22433 (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
22434 first param from const_rtx to const rtx_insn *.
22436 * sched-deps.c (sched_macro_fuse_insns): Strengthen param "insn"
22437 and local "prev" from rtx to rtx_insn *.
22439 * sched-int.h (sched_speculate_insn): Strengthen first param from
22442 * sel-sched.c (create_speculation_check): Likewise for local "label".
22443 * targhooks.c (default_invalid_within_doloop): Strengthen param
22444 "insn" from const_rtx to const rtx_insn *.
22445 * targhooks.h (default_invalid_within_doloop): Strengthen param
22446 from const_rtx to const rtx_insn *.
22448 * config/alpha/alpha.c (alpha_cannot_copy_insn_p): Likewise.
22449 (alpha_adjust_cost): Likewise for params "insn", "dep_insn".
22451 * config/arc/arc.c (arc_sched_adjust_priority): Likewise for param
22453 (arc_invalid_within_doloop): Likewise, with const.
22455 * config/arm/arm.c (arm_adjust_cost): Likewise for params "insn", "dep".
22456 (arm_cannot_copy_insn_p): Likewise for param "insn".
22457 (arm_unwind_emit): Likewise.
22459 * config/bfin/bfin.c (bfin_adjust_cost): Likewise for params "insn",
22462 * config/c6x/c6x.c (c6x_dfa_new_cycle): Likewise for param "insn".
22463 (c6x_variable_issue): Likewise. Removed now-redundant checked
22465 (c6x_adjust_cost): Likewise for params "insn", "dep_insn".
22467 * config/epiphany/epiphany-protos.h (epiphany_mode_needed):
22468 Likewise for param "insn".
22469 (epiphany_mode_after): Likewise.
22470 * config/epiphany/epiphany.c (epiphany_adjust_cost): Likewise for
22471 params "insn", "dep_insn".
22472 (epiphany_mode_needed): Likewise for param "insn".
22473 (epiphany_mode_after): Likewise.
22475 * config/i386/i386-protos.h (i386_pe_seh_unwind_emit): Likewise.
22476 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
22477 (ix86_avx_u128_mode_needed): Likewise.
22478 (ix86_i387_mode_needed): Likewise.
22479 (ix86_mode_needed): Likewise.
22480 (ix86_avx_u128_mode_after): Likewise.
22481 (ix86_mode_after): Likewise.
22482 (ix86_adjust_cost): Likewise for params "insn", "dep_insn".
22483 (ix86_macro_fusion_pair_p): Likewise for params "condgen", "condjmp".
22484 (ix86_adjust_priority): Likewise for param "insn".
22485 (core2i7_first_cycle_multipass_issue): Likewise for param "insn".
22486 (do_dispatch): Likewise.
22487 (has_dispatch): Likewise.
22488 * config/i386/winnt.c (i386_pe_seh_unwind_emit): Likewise.
22490 * config/ia64/ia64.c (TARGET_INVALID_WITHIN_DOLOOP): Update to
22491 reflect renaming of default hook implementation from
22492 hook_constcharptr_const_rtx_null to
22493 hook_constcharptr_const_rtx_insn_null.
22494 (ia64_adjust_cost_2): Strengthen params "insn", "dep_insn" from
22496 (ia64_variable_issue): Likewise for param "insn".
22497 (ia64_first_cycle_multipass_dfa_lookahead_guard): Likewise.
22498 (ia64_dfa_new_cycle): Likewise.
22499 (ia64_get_insn_spec_ds): Likewise.
22500 (ia64_get_insn_checked_ds): Likewise.
22501 (ia64_speculate_insn): Likewise.
22502 (ia64_gen_spec_check): Likewise for params "insn", "label".
22503 (ia64_asm_unwind_emit): Likewise for param "insn".
22505 * config/m32r/m32r.c (m32r_adjust_priority): Likewise.
22507 * config/m68k/m68k.c (m68k_sched_adjust_cost): Likewise for params
22508 "insn", "def_insn".
22509 (m68k_sched_variable_issue): Likewise for param "insn".
22511 * config/mep/mep.c (mep_adjust_cost): Likewise for params "insn",
22514 * config/microblaze/microblaze.c (microblaze_adjust_cost):
22515 Likewise for params "insn", "dep".
22517 * config/mips/mips.c (mips_adjust_cost): Likewise.
22518 (mips_variable_issue): Likewise for param "insn".
22519 (mips_final_postscan_insn): Likewise.
22521 * config/mn10300/mn10300.c (mn10300_adjust_sched_cost): Likewise
22522 for params "insn", "dep".
22524 * config/pa/pa.c (pa_adjust_cost): Likewise for params "insn",
22526 (pa_adjust_priority): Likewise for param "insn".
22528 * config/picochip/picochip.c (picochip_sched_adjust_cost):
22529 Likewise for params "insn", "dep_insn".
22531 * config/rs6000/rs6000.c (rs6000_variable_issue_1): Likewise for
22533 (rs6000_variable_issue): Likewise.
22534 (rs6000_adjust_cost): Likewise for params "insn", "dep_insn".
22535 (rs6000_debug_adjust_cost): Likewise.
22536 (rs6000_adjust_priority): Likewise for param "insn".
22537 (rs6000_use_sched_lookahead_guard): Likewise.
22538 (get_next_active_insn): Likewise for return type and both params.
22539 (redefine_groups): Likewise for params "prev_head_insn", "tail"
22540 and locals "insn", "next_insn".
22541 (pad_groups): Likewise.
22543 * config/s390/s390.c (s390_adjust_priority): Likewise for param
22545 (s390_cannot_copy_insn_p): Likewise.
22546 (s390_sched_variable_issue): Likewise for third param, eliminating
22548 (TARGET_INVALID_WITHIN_DOLOOP): Update to reflect renaming of
22549 default hook implementation from hook_constcharptr_const_rtx_null
22550 to hook_constcharptr_const_rtx_insn_null.
22552 * config/sh/sh.c (sh_cannot_copy_insn_p): Strengthen param "insn"
22553 from rtx to rtx_insn *.
22554 (sh_adjust_cost): Likewise for params "insn", "dep_insn".
22555 (sh_variable_issue): Likewise for param "insn".
22556 (sh_dfa_new_cycle): Likewise.
22557 (sh_mode_needed): Likewise.
22558 (sh_mode_after): Likewise.
22560 * config/sparc/sparc.c (supersparc_adjust_cost): Likewise for
22561 params "insn", "dep_insn".
22562 (hypersparc_adjust_cost): Likewise.
22563 (sparc_adjust_cost): Likewise.
22565 * config/spu/spu.c (spu_sched_variable_issue): Likewise for third
22566 param, eliminated checked cast.
22567 (spu_sched_adjust_cost): Likewise for first and third params.
22569 * config/tilegx/tilegx.c (tilegx_sched_adjust_cost): Strengthen
22570 params "insn" and "dep_insn" from rtx to rtx_insn *.
22572 * config/tilepro/tilepro.c (tilepro_sched_adjust_cost): Likewise.
22574 2014-08-27 David Malcolm <dmalcolm@redhat.com>
22576 * gcc/config/mn10300/mn10300.c (is_load_insn): Rename to...
22577 (set_is_load_p): ...this, updating to work on a SET pattern rather
22579 (is_store_insn): Rename to...
22580 (set_is_store_p): ...this, updating to work on a SET pattern
22581 rather than an insn.
22582 (mn10300_adjust_sched_cost): Move call to get_attr_timings from
22583 top of function to where it is needed. Rewrite the bogus
22584 condition that checks for "insn" and "dep" being PARALLEL to
22585 instead use single_set, introducing locals "insn_set" and
22586 "dep_set". Given that we only ever returned "cost" for a non-pair
22587 of SETs, bail out early if we don't have a pair of SET.
22588 Rewrite all uses of PATTERN (dep) and PATTERN (insn) to instead
22589 use the new locals "insn_set" and "dep_set", and update calls to
22590 is_load_insn and is_store_insn to be calls to set_is_load_p and
22593 2014-08-27 Guozhi Wei <carrot@google.com>
22596 * config/aarch64/aarch64.md (*andim_ashift<mode>_bfiz): Check the shift
22597 amount before using it.
22599 2014-08-27 Richard Biener <rguenther@suse.de>
22601 * gimple-fold.c (get_maxval_strlen): Add overload wrapping
22602 get_maxval_strlen inside a more useful API.
22603 (gimple_fold_builtin_with_strlen): Remove and fold into ...
22604 (gimple_fold_builtin): ... caller.
22605 (gimple_fold_builtin_strlen, gimple_fold_builtin_strcpy,
22606 gimple_fold_builtin_strncpy, gimple_fold_builtin_strcat,
22607 gimple_fold_builtin_fputs, gimple_fold_builtin_memory_chk,
22608 gimple_fold_builtin_stxcpy_chk, gimple_fold_builtin_stxncpy_chk,
22609 gimple_fold_builtin_snprintf_chk, gimple_fold_builtin_snprintf,
22610 gimple_fold_builtin_sprintf): Adjust to compute maxval
22613 2014-08-27 Yvan Roux <yvan.roux@linaro.org>
22616 * config.gcc (arm*-*-*): Check --with-fpu against arm-fpus.def.
22618 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
22619 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22620 Anna Tikhonova <anna.tikhonova@intel.com>
22621 Ilya Tocar <ilya.tocar@intel.com>
22622 Andrey Turetskiy <andrey.turetskiy@intel.com>
22623 Ilya Verbin <ilya.verbin@intel.com>
22624 Kirill Yukhin <kirill.yukhin@intel.com>
22625 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22627 * config/i386/sse.md
22628 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"):
22629 Use `concat_tg_mode' attribute to determine asm register size.
22631 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
22632 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22633 Anna Tikhonova <anna.tikhonova@intel.com>
22634 Ilya Tocar <ilya.tocar@intel.com>
22635 Andrey Turetskiy <andrey.turetskiy@intel.com>
22636 Ilya Verbin <ilya.verbin@intel.com>
22637 Kirill Yukhin <kirill.yukhin@intel.com>
22638 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22640 * config/i386/sse.md
22641 (define_mode_iterator VI48_AVX512VL): New.
22642 (define_mode_iterator VI_UNALIGNED_LOADSTORE): Delete.
22643 (define_mode_iterator VI_ULOADSTORE_BW_AVX512VL): New.
22644 (define_mode_iterator VI_ULOADSTORE_F_AVX512VL): Ditto.
22645 (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
22646 with VI1): Change mode iterator.
22647 (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
22648 with VI_ULOADSTORE_BW_AVX512VL): New.
22649 (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
22650 with VI_ULOADSTORE_F_AVX512VL): Ditto.
22651 (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
22652 with VI1): Change mode iterator.
22653 (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
22654 with VI_ULOADSTORE_BW_AVX512VL): New.
22655 (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
22656 with VI_ULOADSTORE_F_AVX512VL): Ditto.
22657 (define_insn "<sse2_avx_avx512f>_storedqu<mode>
22658 with VI1): Change mode iterator.
22659 (define_insn "<sse2_avx_avx512f>_storedqu<mode>
22660 with VI_ULOADSTORE_BW_AVX512VL): New.
22661 (define_insn "<sse2_avx_avx512f>_storedqu<mode>
22662 with VI_ULOADSTORE_BW_AVX512VL): Ditto.
22663 (define_insn "avx512f_storedqu<mode>_mask"): Delete.
22664 (define_insn "<avx512>_storedqu<mode>_mask" with
22665 VI48_AVX512VL): New.
22666 (define_insn "<avx512>_storedqu<mode>_mask" with
22667 VI12_AVX512VL): Ditto.
22669 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
22670 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
22671 Anna Tikhonova <anna.tikhonova@intel.com>
22672 Ilya Tocar <ilya.tocar@intel.com>
22673 Andrey Turetskiy <andrey.turetskiy@intel.com>
22674 Ilya Verbin <ilya.verbin@intel.com>
22675 Kirill Yukhin <kirill.yukhin@intel.com>
22676 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
22678 * config/i386/sse.md
22679 (define_mode_iterator VI48_AVX2_48_AVX512F): Delete.
22680 (define_mode_iterator VI48_AVX512BW): New.
22681 (define_insn "<avx2_avx512f>_<shift_insn>v<mode><mask_name>"): Delete.
22682 (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
22683 with VI48_AVX2_48_AVX512F): New.
22684 (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
22685 with VI2_AVX512VL): Ditto.
22687 2014-08-27 Richard Biener <rguenther@suse.de>
22689 PR middle-end/62239
22690 * builtins.c (fold_builtin_strcat_chk): Move to gimple-fold.c.
22691 (fold_builtin_3): Do not fold strcat_chk here.
22692 * gimple-fold.c (gimple_fold_builtin_strcat_chk): Move here
22694 (gimple_fold_builtin): Fold strcat_chk here.
22696 2014-08-26 Aldy Hernandez <aldyh@redhat.com>
22698 * dwarf2out.h (dwarf2out_decl): Remove prototype.
22699 * dwarf2out.c (dwarf2out_decl): Make static.
22701 2014-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
22703 * doc/invoke.texi: -fno-cxa-atexit should be -fno-use-cxa-atexit.
22705 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22707 * cselib.h (struct elt_loc_list): Strengthen field "setting_insn"
22708 from rtx to rtx_insn *.
22709 (cselib_lookup_from_insn): Likewise for final param.
22710 (cselib_subst_to_values_from_insn): Likewise.
22711 (cselib_add_permanent_equiv): Likewise.
22713 * cselib.c (cselib_current_insn): Likewise for this variable.
22714 (cselib_subst_to_values_from_insn): Likewise for param "insn".
22715 (cselib_lookup_from_insn): Likewise.
22716 (cselib_add_permanent_equiv): Likewise for param "insn" and local
22717 "save_cselib_current_insn".
22718 (cselib_process_insn): Replace use of NULL_RTX with NULL.
22720 * sched-deps.c (add_insn_mem_dependence): Strengthen param "insn"
22721 from rtx to rtx_insn *.
22723 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22725 * dse.c (dse_step6): Strengthen local "rinsn" from rtx to
22728 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22730 * df.h (df_dump_insn_problem_function): Strengthen first param of
22731 this callback from const_rtx to const rtx_insn *.
22732 (struct df_insn_info): Strengthen field "insn" from rtx to
22734 (DF_REF_INSN): Eliminate this function, reinstating the older
22736 (df_find_def): Strengthen param 1 from rtx to rtx_insn *.
22737 (df_reg_defined): Likewise.
22738 (df_find_use): Likewise.
22739 (df_reg_used): Likewise.
22740 (df_dump_insn_top): Strengthen param 1 from const_rtx to
22742 (df_dump_insn_bottom): Likewise.
22743 (df_insn_debug): Strengthen param 1 from rtx to rtx_insn *.
22744 (df_insn_debug_regno): Likewise.
22745 (debug_df_insn): Likewise.
22746 (df_rd_simulate_one_insn): Likewise for param 2.
22747 (df_word_lr_simulate_defs): Likewise for param 1.
22748 (df_word_lr_simulate_uses): Likewise.
22749 (df_md_simulate_one_insn): Likewise for param 2.
22750 (df_simulate_find_noclobber_defs): Likewise for param 1.
22751 (df_simulate_find_defs): Likewise.
22752 (df_simulate_defs): Likewise.
22753 (df_simulate_uses): Likewise.
22754 (df_simulate_one_insn_backwards): Likewise for param 2.
22755 (df_simulate_one_insn_forwards): Likewise.
22756 (df_uses_create): Likewise for param 2.
22757 (df_insn_create_insn_record): Likewise for param 1.
22758 (df_insn_delete): Likewise.
22759 (df_insn_rescan): Likewise.
22760 (df_insn_rescan_debug_internal): Likewise.
22761 (df_insn_change_bb): Likewise.
22762 (df_notes_rescan): Likewise.
22763 * rtl.h (remove_death): Likewise for param 2.
22764 (print_rtl_with_bb): Strengthen param 2 from const_rtx to
22766 * sched-int.h (reemit_notes): Strengthen param from rtx to
22768 * valtrack.h (propagate_for_debug): Likewise for param 1.
22770 * cfgrtl.c (print_rtl_with_bb): Strengthen param "rtx_first" and
22771 local "tmp_rtx" from const_rtx to const rtx_insn *.
22772 * combine.c (remove_death): Strengthen param "insn" from rtx to
22774 (move_deaths): Likewise for local "where_dead".
22775 * cse.c (delete_trivially_dead_insns): Introduce local
22776 "bind_var_loc" so that "bind" can be strengthened to an rtx_insn *.
22777 * df-core.c (df_find_def): Strengthen param "insn" from rtx to
22779 (df_reg_defined): Likewise.
22780 (df_find_use): Likewise.
22781 (df_reg_used): Likewise.
22782 (df_dump_insn_problem_data): Strengthen param "insn" from
22783 const_rtx to const rtx_insn *.
22784 (df_dump_insn_top): Likewise.
22785 (df_dump_insn_bottom): Likewise.
22786 (df_insn_debug): Strengthen param "insn" from rtx to rtx_insn *.
22787 (df_insn_debug_regno): Likewise.
22788 (debug_df_insn): Likewise.
22789 (DF_REF_INSN): Delete.
22790 * df-problems.c (df_rd_simulate_one_insn): Strengthen param "insn"
22791 from rtx to rtx_insn *.
22792 (df_chain_insn_top_dump): Strengthen param "insn" from
22793 const_rtx to const rtx_insn *.
22794 (df_chain_insn_bottom_dump): Likewise.
22795 (df_word_lr_simulate_defs): Strengthen param "insn" from rtx to
22797 (df_word_lr_simulate_uses): Likewise.
22798 (df_print_note): Likewise.
22799 (df_remove_dead_and_unused_notes): Likewise.
22800 (df_set_unused_notes_for_mw): Likewise.
22801 (df_set_dead_notes_for_mw): Likewise.
22802 (df_create_unused_note): Likewise.
22803 (df_simulate_find_defs): Likewise.
22804 (df_simulate_find_uses): Likewise.
22805 (df_simulate_find_noclobber_defs): Likewise.
22806 (df_simulate_defs): Likewise.
22807 (df_simulate_uses): Likewise.
22808 (df_simulate_one_insn_backwards): Likewise.
22809 (df_simulate_one_insn_forwards): Likewise.
22810 (df_md_simulate_one_insn): Likewise.
22811 * df-scan.c (df_uses_create): Likewise.
22812 (df_insn_create_insn_record): Likewise.
22813 (df_insn_delete): Likewise.
22814 (df_insn_rescan): Likewise.
22815 (df_insn_rescan_debug_internal): Likewise.
22816 (df_insn_change_bb): Likewise.
22817 (df_notes_rescan): Likewise.
22818 (df_refs_add_to_chains): Likewise.
22819 (df_insn_refs_verify): Likewise.
22820 * emit-rtl.c (set_insn_deleted): Add checked cast to rtx_insn *
22821 when invoking df_insn_delete.
22822 (reorder_insns): Strengthen local "x" from rtx to rtx_insn *.
22823 (set_unique_reg_note): Add checked cast.
22824 * final.c (cleanup_subreg_operands): Likewise.
22825 * gcse.c (update_ld_motion_stores): Likewise, strengthening local
22826 "insn" from rtx to rtx_insn *.
22827 * haifa-sched.c (reemit_notes): Strengthen param "insn" and local
22828 "last" from rtx to rtx_insn *.
22829 * ira-emit.c (change_regs_in_insn): New function.
22830 (change_loop): Strengthen local "insn" from rtx to rtx_insn *.
22831 Invoke change_regs_in_insn rather than change_regs.
22832 * ira.c (update_equiv_regs): Strengthen locals "insn",
22833 "init_insn", "new_insn" from rtx to rtx_insn *. Invoke
22834 for_each_rtx_in_insn rather than for_each_rtx.
22835 * recog.c (confirm_change_group): Add checked casts.
22836 (peep2_update_life): Strengthen local "x" from rtx to rtx_insn *.
22838 (peep2_fill_buffer): Add checked cast.
22839 * rtlanal.c (remove_note): Likewise.
22840 * valtrack.c (propagate_for_debug): Strengthen param "insn" and
22841 locals "next" "end" from rtx to rtx_insn *.
22843 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22845 * sched-int.h (sched_init_insn_luid): Strengthen param 1 from rtx
22847 (struct reg_use_data): Likewise for field "insn".
22848 (insn_cost): Likewise for param.
22849 (real_insn_for_shadow): Likewise for return type and param.
22850 (increase_insn_priority): Likewise for param 1.
22851 (debug_dependencies): Likewise for both params.
22853 * haifa-sched.c (insn_delay): Likewise for param "insn".
22854 (real_insn_for_shadow): Likewise for return type and param "insn".
22855 (update_insn_after_change): Likewise for param "insn".
22856 (recompute_todo_spec): Likewise for param "next" and locals "pro",
22858 (insn_cost): Likewise for param "insn".
22859 (increase_insn_priority): Likewise.
22860 (calculate_reg_deaths): Likewise.
22861 (setup_insn_reg_pressure_info): Likewise.
22862 (model_schedule): Strengthen from vec<rtx> to vec<rtx_insn *>.
22863 (model_index): Strengthen param "insn" from rtx to rtx_insn *.
22864 (model_recompute): Likewise.
22865 (must_restore_pattern_p): Likewise for param "next".
22866 (model_excess_cost): Likewise for param "insn".
22867 (queue_remove): Likewise.
22868 (adjust_priority): Likewise for param "prev".
22869 (update_register_pressure): Likewise for param "insn".
22870 (setup_insn_max_reg_pressure): Likewise for local "insn".
22871 (update_reg_and_insn_max_reg_pressure): Likewise for param "insn".
22872 (model_add_to_schedule): Likewise.
22873 (model_reset_queue_indices): Likewise for local "insn".
22874 (unschedule_insns_until): Strengthen local "recompute_vec" from
22875 auto_vec<rtx> to auto_vec<rtx_insn *>. Strengthen locals "last",
22876 "con" from rtx to rtx_insn *.
22877 (restore_last_backtrack_point): Likewise for both locals "x". Add
22879 (estimate_insn_tick): Likewise for param "insn".
22880 (commit_schedule): Likewise for params "prev_head", "tail" and
22882 (verify_shadows): Likewise for locals "i1", "i2".
22883 (dump_insn_stream): Likewise for params "head", "tail" and locals
22884 "next_tail", "insn".
22885 (schedule_block): Likewise for locals "insn", "x". Add a checked
22887 (fix_inter_tick): Likewise for params "head", "tail".
22888 (create_check_block_twin): Likewise for local "jump".
22889 (haifa_change_pattern): Likewise for param "insn".
22890 (haifa_speculate_insn): Likewise.
22891 (dump_new_block_header): Likewise for params "head", "tail".
22892 (fix_jump_move): Likewise for param "jump".
22893 (move_block_after_check): Likewise.
22894 (sched_init_insn_luid): Likewise for param "insn".
22895 (sched_init_luids): Likewise for local "insn".
22896 (insn_luid): Likewise for param "insn".
22897 (init_h_i_d): Likewise.
22898 (haifa_init_h_i_d): Likewise for local "insn".
22899 (haifa_init_insn): Likewise for param "insn".
22900 * sched-deps.c (add_dependence): Likewise for local "real_pro",
22902 (create_insn_reg_use): Likewise for param "insn".
22903 (setup_insn_reg_uses): Likewise. Add a checked cast.
22904 * sched-ebb.c (debug_ebb_dependencies): Strengthen params "head",
22905 "tail" from rtx to rtx_insn *.
22906 * sched-rgn.c (void debug_dependencies): Likewise, also for locals
22907 "insn", "next_tail".
22909 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22911 * haifa-sched.c (struct model_insn_info): Strengthen field "insn"
22912 from rtx to rtx_insn *.
22913 (model_add_to_schedule): Likewise for locals "start", "end",
22916 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22918 * rtl.h (duplicate_insn_chain): Strengthen both params from rtx to
22920 * cfgrtl.c (duplicate_insn_chain): Likewise for params "from",
22921 "to" and locals "insn", "next", "copy". Remove now-redundant
22924 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22926 * rtl.h (canonicalize_condition): Strengthen param 1 from rtx to
22927 rtx_insn * and param 4 from rtx * to rtx_insn **.
22928 (get_condition): Strengthen param 1 from rtx to rtx_insn * and
22929 param 2 from rtx * to rtx_insn **.
22931 * df.h (can_move_insns_across): Strengthen params 1-4 from rtx to
22932 rtx_insn * and final param from rtx * to rtx_insn **.
22934 * cfgcleanup.c (try_head_merge_bb): Strengthen local "move_before"
22935 from rtx to rtx_insn *.
22936 (try_head_merge_bb): Likewise for both locals named "move_upto".
22937 * df-problems.c (can_move_insns_across): Likewise for params
22938 "from", "to", "across_from", "across_to" and locals "insn",
22939 "next", "max_to". Strengthen param "pmove_upto" from rtx * to
22941 * ifcvt.c (struct noce_if_info): Strengthen field "cond_earliest"
22942 from rtx to rtx_insn *.
22943 (noce_get_alt_condition): Strengthen param "earliest" from rtx *
22944 to rtx_insn **. Strengthen local "insn" from rtx to rtx_insn *.
22945 (noce_try_minmax): Strengthen locals "earliest", "seq" from rtx to
22947 (noce_try_abs): Likewise.
22948 (noce_get_condition): Likewise for param "jump". Strengthen param
22949 "earliest" from rtx * to rtx_insn **.
22950 (noce_find_if_block): Strengthen local "cond_earliest" from rtx to
22952 (find_cond_trap): Likewise.
22953 (dead_or_predicable): Likewise for local "earliest".
22954 * loop-iv.c (check_simple_exit): Likewise for local "at". Add
22956 * rtlanal.c (canonicalize_condition): Likewise for param "insn"
22957 and local "prev". Strengthen param "earliest" from rtx * to
22959 (get_condition): Strengthen param "jump" from rtx to rtx_insn *
22960 Strengthen param "earliest" from rtx * to rtx_insn **.
22962 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22964 * fwprop.c (local_ref_killed_between_p): Strengthen params "from",
22965 "to" and local "insn" from rtx to rtx_insn *.
22967 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22969 * sel-sched.c (find_place_for_bookkeeping): Strengthen local "insn"
22970 from rtx to rtx_insn *.
22971 (need_nop_to_preserve_insn_bb): Likewise for param "insn".
22972 (code_motion_path_driver): Likewise for local "last_insn".
22973 (simplify_changed_insns): Likewise for local "insn".
22975 2014-08-26 David Malcolm <dmalcolm@redhat.com>
22977 * rtl.h (push_to_sequence): Strengthen param from rtx to
22979 (push_to_sequence2): Likewise for both params.
22980 (delete_insns_since): Likewise for param.
22981 (reorder_insns_nobb): Likewise for all three params.
22982 (set_new_first_and_last_insn): Likewise for both params.
22984 * emit-rtl.h (set_first_insn): Strengthen param "insn" from rtx to
22985 rtx_insn *. Remove now-redundant cast.
22986 (set_last_insn): Likewise.
22988 * builtins.c (expand_builtin_return): Strengthen local
22989 "call_fusage" from rtx to rtx_insn *.
22990 * cfgrtl.c (create_basic_block_structure): Likewise for local
22992 * emit-rtl.c (set_new_first_and_last_insn): Likewise for params
22993 "first", "last" and local "insn".
22994 (delete_insns_since): Likewise for param "from".
22995 (reorder_insns_nobb): Likewise for params "from", "to", "after"
22997 (push_to_sequence): Likewise for param "first" and local "last".
22998 (push_to_sequence2): Likewise for params "first" and "last".
22999 * lra.c (emit_add3_insn): Likewise for local "last".
23000 (lra_emit_add): Likewise.
23001 * lra-constraints.c (base_to_reg): Likewise for locals "insn",
23003 (process_address_1): Likewise for locals "insn", last".
23004 * modulo-sched.c (ps_first_note): Likewise for return type.
23005 * optabs.c (expand_binop_directly): Likewise for param "last".
23007 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23009 * rtl.h (get_last_insn_anywhere): Strengthen return type from rtx
23011 * emit-rtl.c (get_last_insn_anywhere): Likewise.
23013 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23015 * function.h (struct sequence_stack): Strengthen fields "first"
23016 and "last" from rtx to rtx_insn *.
23017 (struct emit_status): Likewise for fields "x_first_insn" and
23020 * emit-rtl.h (get_insns): Remove now-redundant checked cast.
23021 (set_first_insn): Add checked cast.
23022 (get_last_insn): Remove now-redundant checked cast.
23023 (set_last_insn): Add checked cast.
23025 * config/m32c/m32c.c (m32c_leaf_function_p): Strengthen locals
23026 "saved_first" and "saved_last" from rtx to rtx_insn *.
23028 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23030 * rtl.h (add_insn): Strengthen param from rtx to rtx_insn *.
23031 (unlink_insn_chain): Strengthen both params from rtx to
23034 * cfgrtl.c (cfg_layout_function_header): Likewise for this
23036 (unlink_insn_chain): Likewise for params "first" and "last".
23037 Remove now-redundant checked cast.
23038 (record_effective_endpoints): Replace use of NULL_RTX with NULL.
23039 (fixup_reorder_chain): Strengthen local "insn" from rtx to
23041 * emit-rtl.c (link_insn_into_chain): Likewise for all three
23043 (add_insn): Likewise for param "insn" and local "prev".
23044 (add_insn_after_nobb): Likewise for both params and local "next".
23045 (add_insn_before_nobb): Likewise for both params and local "prev".
23046 (add_insn_after): Rename param "after" to "uncast_after",
23047 introducing local "after" with another checked cast.
23048 (add_insn_before): Rename params "insn" and "before", giving them
23049 "uncast_" prefixes, adding the old names back using checked casts.
23050 (emit_note_after): Likewise for param "after".
23051 (emit_note_before): Likewise for param "before".
23052 (emit_label): Add a checked cast.
23054 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23056 * cselib.h (cselib_record_sets_hook): Strengthen initial param
23057 "insn" from rtx to rtx_insn *.
23059 * cselib.c (cselib_record_sets_hook): Likewise.
23061 * var-tracking.c (add_with_sets): Likewise, renaming back from
23062 "uncast_insn" to "insn" and eliminating the checked cast from rtx
23065 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23067 * basic-block.h (struct rtl_bb_info): Strengthen fields "end_"
23068 and "header_" from rtx to rtx_insn *.
23069 (struct basic_block_d): Likewise for field "head_" within "x"
23070 field of union basic_block_il_dependent.
23071 (BB_HEAD): Drop function...
23072 (SET_BB_HEAD): ...and this function in favor of...
23073 (BB_HEAD): ...reinstate macro.
23074 (BB_END): Drop function...
23075 (SET_BB_END): ...and this function in favor of...
23076 (BB_END): ...reinstate macro.
23077 (BB_HEADER): Drop function...
23078 (SET_BB_HEADER): ...and this function in favor of...
23079 (BB_HEADER): ...reinstate macro.
23081 * bb-reorder.c (add_labels_and_missing_jumps): Drop use of BB_END.
23082 (fix_crossing_unconditional_branches): Likewise.
23083 * caller-save.c (save_call_clobbered_regs): Likewise.
23084 (insert_one_insn): Drop use of SET_BB_HEAD and SET_BB_END.
23085 * cfgbuild.c (find_bb_boundaries): Drop use of SET_BB_END.
23086 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
23087 (merge_blocks_move_successor_nojumps): Likewise.
23088 (outgoing_edges_match): Update use of for_each_rtx to
23089 for_each_rtx_in_insn.
23090 * cfgexpand.c (expand_gimple_cond): Drop use of SET_BB_END.
23091 (expand_gimple_cond): Likewise.
23092 (expand_gimple_tailcall): Likewise.
23093 (expand_gimple_basic_block): Drop use of SET_BB_HEAD and
23095 (construct_exit_block): Drop use of SET_BB_END.
23096 * cfgrtl.c (cfg_layout_function_footer): Strengthen from rtx to
23098 (delete_insn): Rename param "insn" to "uncast_insn", introducing
23099 a new local "insn" with a checked cast to rtx_insn *. Drop use of
23100 SET_BB_HEAD and SET_BB_END.
23101 (create_basic_block_structure): Drop use of SET_BB_HEAD and
23103 (rtl_delete_block): Drop use of SET_BB_HEAD.
23104 (rtl_split_block): Drop use of SET_BB_END.
23105 (emit_nop_for_unique_locus_between): Likewise.
23106 (rtl_merge_blocks): Drop use of SET_BB_END and SET_BB_HEAD.
23107 (block_label): Drop use of SET_BB_HEAD.
23108 (fixup_abnormal_edges): Drop use of SET_BB_END.
23109 (record_effective_endpoints): Drop use of SET_BB_HEADER.
23110 (relink_block_chain): Likewise.
23111 (fixup_reorder_chain): Drop use of SET_BB_END.
23112 (cfg_layout_duplicate_bb): Drop use of SET_BB_HEADER.
23113 (cfg_layout_delete_block): Strengthen local "to" from rtx * to
23114 rtx_insn **. Drop use of SET_BB_HEADER.
23115 (cfg_layout_merge_blocks): Drop use of SET_BB_HEADER, SET_BB_END,
23117 (BB_HEAD): Delete this function.
23118 (SET_BB_HEAD): Likewise.
23119 (BB_END): Likewise.
23120 (SET_BB_END): Likewise.
23121 (BB_HEADER): Likewise.
23122 (SET_BB_HEADER): Likewise.
23123 * emit-rtl.c (add_insn_after): Rename param "insn" to
23124 "uncast_insn", adding a new local "insn" and a checked cast to
23125 rtx_insn *. Drop use of SET_BB_END.
23126 (remove_insn): Strengthen locals "next" and "prev" from rtx to
23127 rtx_insn *. Drop use of SET_BB_HEAD and SET_BB_END.
23128 (reorder_insns): Drop use of SET_BB_END.
23129 (emit_insn_after_1): Strengthen param "first" and locals "last",
23130 "after_after" from rtx to rtx_insn *. Drop use of SET_BB_END.
23131 (emit_pattern_after_noloc): Add checked cast.
23132 * haifa-sched.c (get_ebb_head_tail): Drop use of SET_BB_END.
23133 (restore_other_notes): Likewise.
23134 (move_insn): Likewise.
23135 (sched_extend_bb): Likewise.
23136 (fix_jump_move): Likewise.
23137 * ifcvt.c (noce_process_if_block): Likewise.
23138 (dead_or_predicable): Likewise.
23139 * ira.c (update_equiv_regs): Drop use of SET_BB_HEAD.
23140 * reg-stack.c (change_stack): Drop use of SET_BB_END.
23141 * sel-sched-ir.c (sel_move_insn): Likewise.
23142 * sel-sched.c (move_nop_to_previous_block): Likewise.
23144 * config/c6x/c6x.c (hwloop_optimize): Drop use of SET_BB_HEAD and
23146 * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
23148 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23150 * basic-block.h (create_basic_block_structure): Strengthen params
23151 1 "head" and 2 "end" from rtx to rtx_insn *.
23152 * cfgrtl.c (create_basic_block_structure): Likewise.
23153 (rtl_create_basic_block): Update casts from void * to rtx to
23154 rtx_insn *, so that we can pass them as rtx_insn * to
23155 create_basic_block_structure.
23156 * sel-sched-ir.c (sel_create_basic_block): Likewise.
23158 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23160 * rtl.h (for_each_inc_dec): Strengthen param 1 from rtx * to
23162 (check_for_inc_dec): Strengthen param "insn" from rtx to
23165 * cselib.h (cselib_process_insn): Likewise.
23167 * cselib.c (cselib_record_sets): Likewise.
23168 (cselib_process_insn): Likewise.
23170 * dse.c (struct insn_info): Likewise for field "insn".
23171 (check_for_inc_dec_1): Likewise for local "insn".
23172 (check_for_inc_dec): Likewise for param "insn".
23173 (scan_insn): Likewise.
23174 (dse_step1): Likewise for local "insn".
23176 * rtlanal.c (for_each_inc_dec): Strengthen param 1 from rtx * to
23177 rtx_insn **. Use for_each_rtx_in_insn rather than for_each_rtx.
23179 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23181 * sched-int.h (struct _dep): Strengthen fields "pro" and "con"
23182 from rtx to rtx_insn *.
23183 (DEP_PRO): Delete this function and...
23184 (SET_DEP_PRO): ...this function in favor of...
23185 (DEP_PRO): ...reinstate this macro.
23186 (DEP_CON): Delete this function and...
23187 (SET_DEP_CON): ...this function in favor of...
23188 (DEP_CON): ...reinstate this old macro.
23189 (init_dep_1): Strengthen params 2 and 3 from rtx to rtx_insn *.
23190 (init_dep): Likewise.
23191 (set_priorities): Likewise for both params.
23192 (sd_copy_back_deps): Likewise for params 1 and 2.
23194 * haifa-sched.c (priority): Likewise for param "insn" and local
23196 (set_priorities): Likewise for params "head" and "tail" and local
23198 (process_insn_forw_deps_be_in_spec): Likewise for param "twin" and
23200 (add_to_speculative_block): Add a checked cast.
23201 (create_check_block_twin): Drop use of SET_DEP_CON.
23202 (add_jump_dependencies): Strengthen params "insn" and "jump" from
23205 * sched-deps.c (init_dep_1): Likewise for params "pro" and "con".
23206 Drop use of SET_DEP_PRO
23207 (init_dep): Strengthen params "pro" and "con" from rtx to
23209 (sd_copy_back_deps): Likewise for params "to" and "from". Drop
23210 use of SET_DEP_CON.
23213 (SET_DEP_PRO): Delete.
23214 (SET_DEP_CON): Delete.
23216 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23218 * sel-sched-ir.h (struct vinsn_def): Strengthen field "insn_rtx"
23219 from rtx to rtx_insn *.
23220 (VINSN_INSN_RTX): Eliminate rvalue function and...
23221 (SET_VINSN_INSN): ...lvalue function in favor of...
23222 (VINSN_INSN_RTX): reinstate this old macro.
23224 * sel-sched-ir.c (vinsn_init): Eliminate use of SET_VINSN_INSN_RTX
23225 in favor of VINSN_INSN_RTX.
23226 (VINSN_INSN_RTX): Delete this function.
23227 (SET_VINSN_INSN_RTX): Likewise.
23229 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23231 * sel-sched-ir.h (insn_t): Strengthen from rtx to rtx_insn *.
23232 (BND_TO): Delete this function and...
23233 (SET_BND_TO): ...this functions in favor of...
23234 (BND_TO): ...reinstating this macro.
23235 (struct _fence): Strengthen field "executing_insns" from
23236 vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *. Strengthen fields
23237 "last_scheduled_insn" and "sched_next" from rtx to rtx_insn *.
23238 (_succ_iter_cond): Update param "succp" from rtx * to insn_t *
23239 and param "insn" from rtx to insn_t.
23240 (create_vinsn_from_insn_rtx): Strengthen first param from rtx to
23243 * sched-int.h (insn_vec_t): Strengthen from vec<rtx> to
23245 (rtx_vec_t): Likewise.
23246 (struct sched_deps_info_def): Strengthen param of "start_insn"
23247 callback from rtx to rtx_insn *. Likewise for param "insn2" of
23248 "note_mem_dep" callback and first param of "note_dep" callback.
23250 * haifa-sched.c (add_to_speculative_block): Strengthen param
23251 "insn" from rtx to rtx_insn *.
23252 (clear_priorities): Likewise.
23253 (calc_priorities): Likewise for local "insn".
23255 * sched-deps.c (haifa_start_insn): Likewise for param "insn".
23256 Remove redundant checked cast.
23257 (haifa_note_mem_dep): Likewise for param "pending_insn".
23258 (haifa_note_dep): Likewise for param "elem".
23259 (note_mem_dep): Likewise for param "e".
23260 (sched_analyze_1): Add checked casts.
23261 (sched_analyze_2): Likewise.
23263 * sel-sched-dump.c (dump_insn_vector): Strengthen local "succ"
23264 from rtx to rtx_insn *.
23265 (debug): Update param from vec<rtx> & to vec<rtx_insn *>, and
23266 from vec<rtx> * to vec<rtx_insn *> *.
23268 * sel-sched-ir.c (blist_add): Remove use of SET_BND_TO
23270 (flist_add): Strengthen param "executing_insns" from
23271 vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
23272 (advance_deps_context): Remove now-redundant checked cast.
23273 (init_fences): Replace uses of NULL_RTX with NULL.
23274 (merge_fences): Strengthen params "last_scheduled_insn" and
23275 "sched_next" from rtx to rtx_insn * and "executing_insns" from
23276 vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
23277 (add_clean_fence_to_fences): Replace uses of NULL_RTX with NULL.
23278 (get_nop_from_pool): Add local "nop_pat" so that "nop" can be
23279 an instruction, rather than doing double-duty as a pattern.
23280 (return_nop_to_pool): Update for change of insn_t.
23281 (deps_init_id): Remove now-redundant checked cast.
23282 (struct sched_scan_info_def): Strengthen param of "init_insn"
23283 callback from rtx to insn_t.
23284 (sched_scan): Strengthen local "insn" from rtx to rtx_insn *.
23285 (init_global_and_expr_for_insn): Replace uses of NULL_RTX with
23287 (get_seqno_by_succs): Strengthen param "insn" and locals "tmp",
23288 "end" from rtx to rtx_insn *.
23289 (create_vinsn_from_insn_rtx): Likewise for param "insn_rtx".
23290 (rtx insn_rtx, bool force_unique_p)
23291 (BND_TO): Delete function.
23292 (SET_BND_TO): Delete function.
23294 * sel-sched.c (advance_one_cycle): Strengthen local "insn" from
23296 (extract_new_fences_from): Replace uses of NULL_RTX with NULL.
23297 (replace_dest_with_reg_in_expr): Strengthen local "insn_rtx" from
23299 (undo_transformations): Likewise for param "insn".
23300 (update_liveness_on_insn): Likewise.
23301 (compute_live_below_insn): Likewise for param "insn" and local
23303 (update_data_sets): Likewise for param "insn".
23304 (fill_vec_av_set): Replace uses of NULL_RTX with NULL.
23305 (convert_vec_av_set_to_ready): Drop now-redundant checked cast.
23306 (invoke_aftermath_hooks): Strengthen param "best_insn" from rtx to
23308 (move_cond_jump): Likewise for param "insn".
23309 (move_cond_jump): Drop use of SET_BND_TO.
23310 (compute_av_set_on_boundaries): Likewise.
23311 (update_fence_and_insn): Replace uses of NULL_RTX with NULL.
23312 (update_and_record_unavailable_insns): Strengthen local "bb_end"
23313 from rtx to rtx_insn *.
23314 (maybe_emit_renaming_copy): Likewise for param "insn".
23315 (maybe_emit_speculative_check): Likewise.
23316 (handle_emitting_transformations): Likewise.
23317 (remove_insn_from_stream): Likewise.
23318 (code_motion_process_successors): Strengthen local "succ" from rtx
23321 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23323 * sel-sched-ir.h (ilist_t): Redefine this typedef in terms of
23324 ilist_t, not _xlist_t;
23325 (ILIST_INSN): Define in terms of new union field "insn".
23326 (ILIST_NEXT): Define in terms of _LIST_NEXT rather than
23328 (struct _list_node): Add new field "insn" to the union, of type
23330 (ilist_add): Replace macro with an inline function, requiring an
23332 (ilist_remove): Define this macro directly in terms of
23333 _list_remove, rather than indirectly via _xlist_remove.
23334 (ilist_clear): Likewise, in terms of _list_clear rather than
23336 (ilist_is_in_p): Replace macro with an inline function, requiring
23338 (_list_iter_cond_insn): New function.
23339 (ilist_iter_remove): Define this macro directly in terms of
23340 _list_iter_remove, rather than indirectly via _xlist_iter_remove.
23341 (ilist_iterator): Define directly in terms of _list_iterator
23342 rather than indirectly through _xlist_iterator.
23343 (FOR_EACH_INSN): Define in terms of _list_iter_cond_insn rather
23344 than in terms of _FOR_EACH_X.
23345 (FOR_EACH_INSN_1): Likewise.
23347 2014-08-26 Joseph Myers <joseph@codesourcery.com>
23351 * varasm.c (make_decl_rtl): Clear DECL_ASSEMBLER_NAME and
23352 DECL_HARD_REGISTER and return for invalid register specifications.
23353 * cfgexpand.c (expand_one_var): If expand_one_hard_reg_var clears
23354 DECL_HARD_REGISTER, call expand_one_error_var.
23355 * config/arm/arm.c (arm_hard_regno_mode_ok): Do not allow
23356 CC_REGNUM with non-MODE_CC modes.
23357 (arm_regno_class): Return NO_REGS for PC_REGNUM.
23359 2014-08-26 Marek Polacek <polacek@redhat.com>
23362 * sel-sched-ir.c (make_regions_from_the_rest): Fix condition.
23364 2014-08-26 Evandro Menezes <e.menezes@samsung.com>
23366 * config/arm/aarch64/aarch64.c (generic_addrcost_table): Delete
23367 qi cost; add di cost.
23368 (cortexa57_addrcost_table): Likewise.
23370 2014-08-26 Marek Polacek <polacek@redhat.com>
23373 * expr.c (is_aligning_offset): Remove logical not.
23375 2014-08-26 Marek Polacek <polacek@redhat.com>
23378 * tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT,
23379 LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens.
23381 2014-08-26 Richard Biener <rguenther@suse.de>
23383 PR tree-optimization/62175
23384 * tree-ssa-loop-niter.c (expand_simple_operations): Do not
23385 expand possibly trapping operations.
23387 2014-08-26 David Malcolm <dmalcolm@redhat.com>
23389 * config/rs6000/rs6000.c (class swap_web_entry): Strengthen field
23390 "insn" from rtx to rtx_insn *.
23391 (permute_load): Likewise for param "insn".
23392 (permute_store): Likewise.
23393 (handle_special_swappables): Likewise for local "insn".
23394 (replace_swap_with_copy): Likewise for locals "insn" and
23396 (rs6000_analyze_swaps): Likewise for local "insn".
23398 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23400 * regrename.h (struct du_chain): Strengthen field "insn" from rtx
23403 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23405 * sel-sched-ir.h (struct sel_region_bb_info_def): Strengthen field
23406 "note_list" from rtx to rtx_insn *.
23407 (BB_NOTE_LIST): Replace this function and...
23408 (SET_BB_NOTE_LIST): ...this function with...
23409 (BB_NOTE_LIST): ...the former macro implementation.
23411 * sched-int.h (concat_note_lists): Strengthen param "from_end" and
23412 local "from_start" from rtx to rtx_insn *. Strengthen param
23413 "to_endp" from rtx * to rtx_insn **.
23415 * haifa-sched.c (concat_note_lists): Likewise.
23416 * sel-sched-ir.c (init_bb): Eliminate SET_BB_NOTE_LIST in favor of
23418 (sel_restore_notes): Likewise.
23419 (move_bb_info): Likewise.
23420 (BB_NOTE_LIST): Delete this function.
23421 (SET_BB_NOTE_LIST): Delete this function.
23422 * sel-sched.c (create_block_for_bookkeeping): Eliminate
23423 SET_BB_NOTE_LIST in favor of BB_NOTE_LIST.
23425 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23427 * target.def (reorder): Strengthen param "ready" of this DEFHOOK
23428 from rtx * to rtx_insn **.
23429 (reorder2): Likewise.
23430 (dependencies_evaluation_hook): Strengthen params "head", "tail"
23431 from rtx to rtx_insn *.
23433 * doc/tm.texi: Update mechanically for above change to target.def.
23435 * sched-int.h (note_list): Strengthen this variable from rtx to
23437 (remove_notes): Likewise for both params.
23438 (restore_other_notes): Likewise for return type and first param.
23439 (struct ready_list): Strengthen field "vec" from rtx * to
23441 (struct dep_replacement): Strenghten field "insn" from rtx to
23443 (struct deps_desc): Likewise for fields "last_debug_insn",
23445 (struct haifa_sched_info): Likewise for callback field
23446 "can_schedule_ready_p"'s param, for first param of "new_ready"
23447 callback field, for both params of "rank" callback field, for
23448 first field of "print_insn" callback field (with a const), for
23449 both params of "contributes_to_priority" callback, for param
23450 of "insn_finishes_block_p" callback, for fields "prev_head",
23451 "next_tail", "head", "tail", for first param of "add_remove_insn"
23452 callback, for first param of "begin_schedule_ready" callback, for
23453 both params of "begin_move_insn" callback, and for second param
23454 of "advance_target_bb" callback.
23455 (add_dependence): Likewise for params 1 and 2.
23456 (sched_analyze): Likewise for params 2 and 3.
23457 (deps_analyze_insn): Likewise for param 2.
23458 (ready_element): Likewise for return type.
23459 (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
23460 (try_ready): Strenghten param from rtx to rtx_insn *.
23461 (sched_emit_insn): Likewise for return type.
23462 (record_delay_slot_pair): Likewise for params 1 and 2.
23463 (add_delay_dependencies): Likewise for param.
23464 (contributes_to_priority): Likewise for both params.
23465 (find_modifiable_mems): Likewise.
23467 * config/arm/arm.c (cortexa7_sched_reorder): Strengthen param
23468 "ready" from rtx * to rtx_insn **. Strengthen locals "insn",
23469 "first_older_only_insn" from rtx to rtx_insn *.
23470 (arm_sched_reorder): Strengthen param "ready" from rtx * to
23473 * config/c6x/c6x.c (struct c6x_sched_context): Strengthen field
23474 "last_scheduled_iter0" from rtx to rtx_insn *.
23475 (init_sched_state): Replace use of NULL_RTX with NULL for insn.
23476 (c6x_sched_reorder_1): Strengthen param "ready" and locals
23477 "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen local
23478 "insn" from rtx to rtx_insn *.
23479 (c6x_sched_reorder): Strengthen param "ready" from rtx * to
23481 (c6x_sched_reorder2): Strengthen param "ready" and locals
23482 "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen local
23483 "insn" from rtx to rtx_insn *.
23484 (c6x_variable_issue): Add a checked cast when assigning from insn
23485 to ss.last_scheduled_iter0.
23486 (split_delayed_branch): Strengthen param "insn" and local "i1"
23487 from rtx to rtx_insn *.
23488 (split_delayed_nonbranch): Likewise.
23489 (undo_split_delayed_nonbranch): Likewise for local "insn".
23490 (hwloop_optimize): Likewise for locals "seq", "insn", "prev",
23491 "entry_after", "end_packet", "head_insn", "tail_insn",
23492 "new_insns", "last_insn", "this_iter", "prev_stage_insn".
23493 Strengthen locals "orig_vec", "copies", "insn_copies" from rtx *
23494 to rtx_insn **. Remove now-redundant checked cast on last_insn,
23495 but add a checked cast on loop->start_label. Consolidate calls to
23496 avoid assigning result of gen_spkernel to "insn", now an
23499 * config/i386/i386.c (do_reorder_for_imul): Strengthen param
23500 "ready" from rtx * to rtx_insn **. Strengthen local "insn" from
23502 (swap_top_of_ready_list): Strengthen param "ready" from rtx * to
23503 rtx_insn **. Strengthen locals "top", "next" from rtx to
23505 (ix86_sched_reorder): Strengthen param "ready" from rtx * to
23506 rtx_insn **. Strengthen local "insn" from rtx to rtx_insn *.
23507 (add_parameter_dependencies): Strengthen params "call", "head" and
23508 locals "insn", "last", "first_arg" from rtx to rtx_insn *.
23509 (avoid_func_arg_motion): Likewise for params "first_arg", "insn".
23510 (add_dependee_for_func_arg): Likewise for param "arg" and local
23512 (ix86_dependencies_evaluation_hook): Likewise for params "head",
23513 "tail" and locals "insn", "first_arg".
23515 * config/ia64/ia64.c (ia64_dependencies_evaluation_hook): Likewise
23516 for params "head", "tail" and locals "insn", "next", "next_tail".
23517 (ia64_dfa_sched_reorder): Strengthen param "ready" and locals
23518 "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen locals
23519 "insn", "lowest", "highest" from rtx to rtx_insn *.
23520 (ia64_sched_reorder): Strengthen param "ready" from rtx * to
23522 (ia64_sched_reorder2): Likewise.
23524 * config/mep/mep.c (mep_find_ready_insn): Strengthen return type
23525 and local "insn" from rtx to rtx_insn *. Strengthen param "ready"
23526 from rtx * to rtx_insn **.
23527 (mep_move_ready_insn): Strengthen param "ready" from rtx * to
23529 (mep_print_sched_insn): Strengthen param "insn" from rtx to
23531 (mep_sched_reorder): Strengthen param "ready" from rtx * to
23532 rtx_insn **. Strengthen locals "core_insn", "cop_insn" from rtx
23535 * config/mips/mips.c (mips_promote_ready): Strengthen param "ready"
23536 from rtx * to rtx_insn **. Strengthen local "new_head" from rtx
23538 (mips_maybe_swap_ready): Strengthen param "ready" from rtx * to
23539 rtx_insn **. Strengthen local "temp" from rtx to rtx_insn *.
23540 (mips_macc_chains_reorder): Strengthen param "ready" from rtx * to
23542 (vr4130_reorder): Likewise.
23543 (mips_74k_agen_reorder): Likewise. Strengthen local "insn" from
23545 (mips_sched_reorder_1): Strengthen param "ready" from rtx * to
23547 (mips_sched_reorder): Likewise.
23548 (mips_sched_reorder2): Likewise.
23550 * config/picochip/picochip.c (picochip_sched_reorder): Likewise.
23552 * config/rs6000/rs6000.c (rs6000_sched_reorder): Likewise.
23553 Strengthen local "tmp" from rtx to rtx_insn *.
23554 (rs6000_sched_reorder2): Likewise.
23556 * config/s390/s390.c (s390_z10_prevent_earlyload_conflicts):
23557 Likewise. Update sizeof(rtx) to sizeof(rtx_insn *) in memmove.
23558 (s390_sched_reorder): Strengthen param "ready" from rtx * to
23559 rtx_insn **. Strengthen local "tmp" from rtx to rtx_insn *.
23561 * config/sh/sh.c (rank_for_reorder): Strengthen locals "tmp",
23562 "tmp2" from rtx to rtx_insn *.
23563 (swap_reorder): Strengthen param "a" from rtx * to rtx_insn **.
23564 Strengthen local "insn" from rtx to rtx_insn *.
23565 (ready_reorder): Strengthen param "ready" from rtx * to
23566 rtx_insn **. Update sizeof(rtx) to sizeof(rtx_insn *) in qsort.
23567 (sh_reorder): Strengthen param "ready" from rtx * to rtx_insn **.
23568 (sh_reorder2): Likewise.
23570 * config/spu/spu.c (spu_sched_reorder): Likewise. Strengthen
23571 local "insn" from rtx to rtx_insn *.
23573 * haifa-sched.c (note_list): Strengthen this variable from rtx to
23575 (scheduled_insns): Strengthen this variable from vec<rtx> to
23577 (set_modulo_params): Likewise for locals "i1", "i2".
23578 (record_delay_slot_pair): Likewise for params "i1", "i2".
23579 (add_delay_dependencies): Likewise for param "insn".
23580 (cond_clobbered_p): Likewise.
23581 (recompute_todo_spec): Likewise for local "prev".
23582 (last_scheduled_insn): Likewise for this variable.
23583 (nonscheduled_insns_begin): Likewise.
23584 (model_set_excess_costs): Strengthen param "insns" from rtx * to
23586 (rank_for_schedule): Strengthen locals "tmp", "tmp2" from rtx to
23588 (swap_sort): Strengthen param "a" from rtx * to rtx_insn **.
23589 Strengthen local "insn" from rtx to rtx_insn *.
23590 (queue_insn): Strengthen param "insn" from rtx to rtx_insn *.
23591 (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
23592 (ready_add): Strengthen param "insn" from rtx to rtx_insn *.
23593 (ready_remove_first): Likewise for return type and local "t".
23594 (ready_element): Likewise for return type.
23595 (ready_remove): Likewise for return type and local "t".
23596 (ready_sort): Strengthen local "first" from rtx * to rtx_insn **.
23597 (check_clobbered_conditions): Strengthen local "x" from rtx to
23598 rtx_insn *, adding a checked cast.
23599 (schedule_insn): Likewise for param "insn".
23600 (remove_notes): Likewise for params "head", "tail" and locals
23601 "next_tail", "insn", "next".
23602 (struct haifa_saved_data): Likewise for fields
23603 "last_scheduled_insn", "nonscheduled_insns_begin".
23604 (save_backtrack_point): Update for change to field "vec" of
23606 (toggle_cancelled_flags): Strengthen local "first" from rtx * to
23608 (restore_last_backtrack_point): Likewise. Strengthen local "insn"
23609 from rtx to rtx_insn *
23610 (resolve_dependencies): Strengthen param "insn" from rtx to
23612 (restore_other_notes): Likewise for return type, for param "head"
23613 and local "note_head".
23614 (undo_all_replacements): Likewise for local "insn".
23615 (first_nonscheduled_insn): Likewise for return type and local "insn".
23616 (queue_to_ready): Likewise for local "insn", adding checked casts.
23617 (early_queue_to_ready): Likewise for local "insn".
23618 (debug_ready_list_1): Strengthen local "p" from rtx * to
23620 (move_insn): Strengthen param "insn" and local "note" from rtx to
23622 (insn_finishes_cycle_p): Likewise for param "insn".
23623 (max_issue): Likewise for local "insn".
23624 (choose_ready): Likewise. Strengthen param "insn_ptr" from rtx *
23626 (commit_schedule): Strengthen param "prev_head" and local "insn"
23627 from rtx to rtx_insn *
23628 (prune_ready_list): Likewise for local "insn".
23629 (schedule_block): Likewise for locals "prev_head", "head", "tail",
23630 "skip_insn", "insn", "failed_insn", "x", adding a checked cast.
23631 (set_priorities): Likewise for local "prev_head".
23632 (try_ready): Likewise for param "next".
23633 (fix_tick_ready): Likewise.
23634 (change_queue_index): Likewise.
23635 (sched_extend_ready_list): Update for change to field "vec" of
23637 (generate_recovery_code): Strengthen param "insn" from rtx to
23639 (begin_speculative_block): Likewise.
23640 (create_check_block_twin): Likewise for param "insn" and locals
23641 "label", "check", "twin". Introduce local "check_pat" to avoid
23642 "check" being used as a plain rtx before being used as an insn.
23643 (fix_recovery_deps): Add a checked cast to rtx_insn * when
23644 extracting elements from ready_list.
23645 (sched_remove_insn): Strengthen param "insn" from rtx to
23647 (sched_emit_insn): Likewise for return type.
23648 (ready_remove_first_dispatch): Likewise for return type and local
23651 * hw-doloop.c (discover_loop): Add a checked cast to rtx_insn *.
23653 * modulo-sched.c (sms_print_insn): Strengthen from const_rtx to
23656 * sched-deps.c (add_dependence): Strengthen params "con", "pro"
23657 from rtx to rtx_insn *.
23658 (add_dependence_list): Likewise for param "insn". Add a checked
23660 (add_dependence_list_and_free): Strengthen param "insn" from rtx
23661 to rtx_insn *. Strengthen param "list_p" from rtx * to
23663 (chain_to_prev_insn): Strengthen param "insn" and locals
23664 "prec_nonnote", "i" from rtx to rtx_insn *.
23665 (flush_pending_lists): Likewise for param "insn".
23666 (cur_insn): Likewise for this variable.
23667 (haifa_start_insn): Add a checked cast.
23668 (note_dep): Strengthen param "e" from rtx to rtx_insn *.
23669 (sched_analyze_reg): Likewise for param "insn".
23670 (sched_analyze_1): Likewise.
23671 (sched_analyze_2): Likewise. Add checked casts.
23672 (sched_analyze_insn): Likewise. Also for local "prev".
23673 (deps_analyze_insn): Likewise for param "insn".
23674 (sched_analyze): Likewise for params "head", "tail" and local "insn".
23675 (add_dependence_1): Likewise for params "insn", "elem".
23676 (struct mem_inc_info): Likewise for fields "inc_insn", "mem_insn".
23677 (parse_add_or_inc): Likewise for param "insn".
23678 (find_inc): Likewise for local "inc_cand".
23679 (find_modifiable_mems): Likewise for params "head", "tail" and
23680 locals "insn", "next_tail".
23682 * sched-ebb.c (init_ready_list): Likewise for local "insn".
23683 (begin_schedule_ready): Likewise for param "insn".
23684 (begin_move_insn): Likewise for params "insn" and "last".
23685 (ebb_print_insn): Strengthen param "insn" from const_rtx to
23687 (rank): Strengthen params "insn1", "insn2" from rtx to rtx_insn *.
23688 (ebb_contributes_to_priority): Likewise for params "next", "insn".
23689 (ebb_add_remove_insn): Likewise for param "insn".
23690 (advance_target_bb): Likewise.
23692 * sched-rgn.c (rgn_estimate_number_of_insns): Likewise for local
23694 (check_live): Likewise for param "insn".
23695 (init_ready_list): Likewise for local "insn".
23696 (can_schedule_ready_p): Likewise for param "insn".
23697 (begin_schedule_ready): Likewise.
23698 (new_ready): Likewise for param "next".
23699 (rgn_print_insn): Likewise for param "insn".
23700 (rgn_rank): Likewise for params "insn1", "insn2".
23701 (contributes_to_priority): Likewise for params "next", "insn".
23702 (rgn_insn_finishes_block_p): Likewise for param "insn".
23703 (add_branch_dependences): Likewise for params "head", "tail" and
23704 locals "insn", "last".
23705 (rgn_add_remove_insn): Likewise for param "insn".
23706 (advance_target_bb): Likewise.
23708 * sel-sched-dump.c (sel_print_insn): Strengthen param "insn" from
23709 const_rtx to const rtx_insn *.
23711 * sel-sched-dump.h (sel_print_insn): Likewise.
23713 * sel-sched-ir.c (advance_deps_context): Add a checked cast.
23714 (deps_init_id): Likewise.
23716 * sel-sched.c (convert_vec_av_set_to_ready): Likewise.
23717 (invoke_reorder_hooks): Strengthen local "arr" from rtx * to
23720 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23722 * output.h (final_start_function): Strengthen param 1 from rtx to
23725 * final.c (final_start_function): Likewise, renaming back from
23726 "uncast_first" to "first", and dropping the checked cast from rtx
23729 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23731 * output.h (final): Strengthen param 1 from rtx to rtx_insn *.
23732 * final.c (final): Likewise. Rename param back from
23733 "uncast_first" to "first" and eliminate the checked cast from rtx
23736 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23738 * output.h (shorten_branches): Strengthen param from rtx to
23741 * final.c (shorten_branches): Likewise, renaming param back from
23742 "uncast_first" to "first", and dropping the checked cast from rtx
23745 * genattr.c (gen_attr): Likewise when writing out the prototype of
23748 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23750 * sched-int.h (struct haifa_sched_info): Strengthen fields
23751 "prev_head" and "next_tail" from rtx to rtx_insn *.
23753 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23755 * rtl.h (rtx_jump_table_data::get_labels): New method.
23756 * cfgbuild.c (make_edges): Replace hand-coded lookup of labels
23757 with use of the new rtx_jump_table_data::get_labels method.
23758 (purge_dead_tablejump_edges): Strengthen param "table" from rtx
23759 to rtx_jump_table_data *. Simplify by using get_labels method.
23760 * cfgrtl.c (delete_insn): Replace use of JUMP_TABLE_DATA_P with
23761 a dyn_cast, introducing local "table", using it to replace
23762 label-lookup logic with a get_labels method call.
23763 (patch_jump_insn): Simplify using get_labels method.
23764 * dwarf2cfi.c (create_trace_edges): Likewise.
23765 * rtlanal.c (label_is_jump_target_p): Likewise.
23767 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23769 * rtl.h (unshare_all_rtl_again): Strengthen param "insn" from rtx
23772 * emit-rtl.c (unshare_all_rtl_1): Likewise.
23773 (unshare_all_rtl_again): Likewise, also for local "p".
23775 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23777 * rtl.h (delete_insn_and_edges): Strengthen param "insn" from rtx
23779 * cfgrtl.c (delete_insn_and_edges): Likewise.
23781 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23783 * rtl.h (reorder_insns): Strengthen params "from", "to", "after"
23784 from rtx to rtx_insn *.
23786 * emit-rtl.c (reorder_insns): Likewise, also for local "insn".
23788 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23790 * function.c (thread_prologue_and_epilogue_insns): Likewise for
23791 locals "returnjump", "epilogue_end", "insn", "next".
23793 * shrink-wrap.h (get_unconverted_simple_return): Strengthen param
23794 "returnjump" from rtx * to rtx_insn **.
23795 * shrink-wrap.c (get_unconverted_simple_return): Likewise.
23797 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23799 * basic-block.h (struct edge_def). Strengthen "r" within
23800 union edge_def_insns from rtx to rtx_insn *.
23802 * cfgexpand.c (pass_expand::execute): Remove now-redundant cast
23803 from rtx to rtx_insn *. Strengthen local "insns" from rtx to
23805 * cfgrtl.c (commit_one_edge_insertion): Remove now-redundant cast
23806 from rtx to rtx_insn *.
23807 * cprop.c (find_bypass_set): Strengthen local "insn" from rtx to
23809 * postreload-gcse.c (reg_killed_on_edge): Likewise.
23810 (reg_used_on_edge): Likewise.
23811 * tree-cfg.c (gt_ggc_mx): New overload for rtx_insn *&.
23812 (gt_pch_nx): New overload for rtx_insn *&.
23813 * tree-outof-ssa.c (expand_phi_nodes): Strengthen local "insns"
23814 from rtx to rtx_insn *.
23816 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23818 * basic-block.h (struct rtl_bb_info): Strengthen field "footer_"
23819 from rtx to rtx_insn *.
23820 (BB_FOOTER): Replace function with access macro.
23821 (SET_BB_FOOTER): Delete.
23823 * cfgcleanup.c (try_optimize_cfg): Replace uses of SET_BB_FOOTER
23825 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
23826 (emit_barrier_after_bb): Likewise.
23827 (record_effective_endpoints): Likewise.
23828 (relink_block_chain): Likewise.
23829 (fixup_fallthru_exit_predecessor): Likewise.
23830 (cfg_layout_duplicate_bb): Likewise.
23831 (cfg_layout_split_block): Likewise.
23832 (cfg_layout_delete_block): Likewise.
23833 (cfg_layout_merge_blocks): Likewise.
23834 (BB_FOOTER): Delete function.
23835 (SET_BB_FOOTER): Delete function.
23836 * combine.c (update_cfg_for_uncondjump): Replace uses of
23837 SET_BB_FOOTER with BB_FOOTER.
23839 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23841 * except.h (struct eh_landing_pad_d): Strengthen field
23842 "landing_pad" from rtx to rtx_code_label *.
23844 * except.c (sjlj_emit_dispatch_table): Likewise for param
23846 (sjlj_build_landing_pads): Likewise for local "dispatch_label".
23848 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23850 * config/xtensa/xtensa-protos.h (xtensa_emit_loop_end): Strengthen
23851 first param from rtx to rtx_insn *.
23852 * config/xtensa/xtensa.c (struct machine_function): Likewise for
23853 field "set_frame_ptr_insn".
23854 (xtensa_expand_compare_and_swap): Strengthen locals "csloop" and
23855 "csend" from rtx to rtx_code_label *.
23856 (xtensa_expand_atomic): Likewise for local "csloop".
23857 (xtensa_emit_loop_end): Strengthen param "insn" from rtx to
23859 (xtensa_call_tls_desc): Likewise for return type and locals
23860 "call_insn", "insns".
23861 (xtensa_legitimize_tls_address): Likewise for local "insns".
23862 (xtensa_expand_prologue): Likewise for locals "insn", "first".
23864 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23866 * config/v850/v850-protos.h (v850_adjust_insn_length): Strengthen
23867 first param from rtx to rtx_insn *.
23868 * config/v850/v850.c (v850_adjust_insn_length): Likewise for param
23871 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23873 * config/tilepro/tilepro-protos.h (tilepro_output_cbranch_with_opcode):
23874 Strengthen param 1 from rtx to rtx_insn *.
23875 (tilepro_output_cbranch): Likewise.
23876 (tilepro_adjust_insn_length): Likewise.
23877 (tilepro_final_prescan_insn): Likewise for sole param.
23879 * config/tilepro/tilepro.c (tilepro_legitimize_tls_address):
23880 Likewise for local "last".
23881 (cbranch_predicted_p): Likewise for param "insn".
23882 (tilepro_output_simple_cbranch_with_opcode): Likewise.
23883 (tilepro_output_cbranch_with_opcode): Likewise.
23884 (tilepro_output_cbranch): Likewise.
23885 (frame_emit_load): Likewise for return type and locals "seq",
23887 (emit_sp_adjust): Likewise for return type and local "insn".
23888 (tilepro_expand_epilogue): Likewise for locals "last_insn",
23890 (tilepro_adjust_insn_length): Likewise for param "insn".
23891 (next_insn_to_bundle): Likewise for return type and params
23893 (tilepro_gen_bundles): Likewise for locals "insn", "next", "end".
23894 (replace_pc_relative_symbol_ref): Likewise for param "insn" and
23896 (match_addli_pcrel): Likewise for param "insn".
23897 (replace_addli_pcrel): Likewise.
23898 (match_auli_pcrel): Likewise.
23899 (replace_auli_pcrel): Likewise.
23900 (tilepro_fixup_pcrel_references): Likewise for locals "insn",
23902 (reorder_var_tracking_notes): Likewise for locals "insn", "next",
23903 "queue", "next_queue", "prev".
23904 (tilepro_asm_output_mi_thunk): Likewise for local "insn".
23905 (tilepro_final_prescan_insn): Likewise for param "insn".
23907 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23909 * config/tilegx/tilegx-protos.h (tilegx_output_cbranch_with_opcode):
23910 Strengthen param 1 from rtx to rtx_insn *.
23911 (tilegx_output_cbranch): Likewise.
23912 (tilegx_adjust_insn_length): Likewise.
23913 (tilegx_final_prescan_insn): Likewise for sole param.
23915 * config/tilegx/tilegx.c (tilegx_legitimize_tls_address): Likewise
23917 (cbranch_predicted_p): Likewise for param "insn".
23918 (tilegx_output_simple_cbranch_with_opcode): Likewise.
23919 (tilegx_output_cbranch_with_opcode): Likewise.
23920 (tilegx_output_cbranch): Likewise.
23921 (frame_emit_load): Likewise for return type.
23922 (set_frame_related_p): Likewise for locals "seq", "insn".
23923 (emit_sp_adjust): Likewise for return type, and for local "insn".
23924 Introduce local "pat" for use in place of "insn" where the latter
23925 isn't an instruction.
23926 (tilegx_expand_epilogue): Strengthen locals "last_insn", "insn"
23927 from rtx to rtx_insn *.
23928 (tilegx_adjust_insn_length): Likewise for param "insn".
23929 (next_insn_to_bundle): Likewise for return type and params "r" and
23931 (tilegx_gen_bundles): Likewise for locals "insn", "next", "prev",
23933 (replace_insns): Likewise for params "old_insn", "new_insns".
23934 (replace_mov_pcrel_step1): Likewise for param "insn" and local
23936 (replace_mov_pcrel_step2): Likewise.
23937 (replace_mov_pcrel_step3): Likewise.
23938 (tilegx_fixup_pcrel_references): Likewise for locals "insn",
23940 (reorder_var_tracking_notes): Likewise for locals "insn", "next",
23941 "queue", "next_queue", "prev".
23942 (tilegx_output_mi_thunk): Likewise for local "insn".
23943 (tilegx_final_prescan_insn): Likewise for param "insn".
23945 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23947 * config/spu/spu.c (frame_emit_store): Strengthen return type from
23949 (frame_emit_load): Likewise.
23950 (frame_emit_add_imm): Likewise, also for local "insn".
23951 (spu_expand_prologue): Likewise for local "insn".
23952 (struct spu_bb_info): Likewise for field "prop_jump".
23953 (emit_nop_for_insn): Likewise for param "insn" and local
23955 (pad_bb): Likewise for locals "insn", "next_insn", "prev_insn",
23957 (spu_emit_branch_hint): Likewise for params "before", "branch" and
23958 locals "hint", "insn".
23959 (get_branch_target): Likewise for param "branch".
23960 (insn_clobbers_hbr): Likewise for param "insn".
23961 (insert_hbrp_for_ilb_runout): Likewise for param "first" and
23962 locals "insn", "before_4", "before_16".
23963 (insert_hbrp): Likewise for local "insn".
23964 (spu_machine_dependent_reorg): Likewise for locals "branch",
23965 "insn", "next", "bbend".
23966 (uses_ls_unit): Likewise for param "insn".
23967 (get_pipe): Likewise.
23968 (spu_sched_variable_issue): Rename param "insn" to "uncast_insn",
23969 introducing a checked cast.
23970 (spu_sched_adjust_cost): Likewise for params "insn" and
23972 (ea_load_store_inline): Strengthen local "insn" from rtx to rtx_insn *.
23973 (spu_sms_res_mii): Likewise.
23975 2014-08-25 David Malcolm <dmalcolm@redhat.com>
23977 * config/sparc/sparc-protos.h (output_ubranch): Strengthen param 2
23978 from rtx to rtx_insn *.
23979 (output_cbranch): Likewise for param 6.
23980 (output_return): Likewise for param 1.
23981 (output_sibcall): Likewise.
23982 (output_v8plus_shift): Likewise.
23983 (output_v8plus_mult): Likewise.
23984 (output_v9branch): Likewise for param 7.
23985 (output_cbcond): Likewise for param 3.
23987 * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise
23989 (sparc_legitimize_pic_address): Likewise.
23990 (sparc_emit_call_insn): Likewise.
23991 (emit_save_or_restore_regs): Likewise.
23992 (emit_window_save): Likewise for return type and local "insn".
23993 (sparc_expand_prologue): Likewise for local "insn".
23994 (sparc_flat_expand_prologue): Likewise.
23995 (output_return): Likewise for param "insn".
23996 (output_sibcall): Likewise for param "insn" and local "delay".
23997 (output_ubranch): Likewise for param "insn".
23998 (output_cbranch): Likewise.
23999 (output_cbcond): Likewise.
24000 (output_v9branch): Likewise.
24001 (output_v8plus_shift): Likewise.
24002 (sparc_output_mi_thunk): Likewise for local "insn".
24003 (get_some_local_dynamic_name): Likewise.
24004 (output_v8plus_mult): Likewise for param "insn".
24006 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24008 * config/sh/sh-protos.h (output_ieee_ccmpeq): Strengthen param 1
24009 from rtx to rtx_insn *.
24010 (output_branchy_insn): Likewise for param 3.
24011 (output_far_jump): Likewise for param 1.
24012 (final_prescan_insn): Likewise.
24013 (sh_insn_length_adjustment): Likewise for sole param.
24015 * config/sh/sh.c (expand_cbranchsi4): Likewise for local "jump".
24016 (expand_cbranchdi4): Strengthen local "skip_label" from rtx to
24018 (sh_emit_compare_and_set): Likewise for local "lab".
24019 (output_far_jump): Strengthen param "insn" and local "prev" from
24021 (output_branchy_insn): Likewise for param "insn" and local
24023 (output_ieee_ccmpeq): Likewise for param "insn".
24024 (struct label_ref_list_d): Strengthen field "label" from rtx to
24026 (pool_node): Likewise.
24027 (pool_window_label): Likewise for this global.
24028 (add_constant): Likewise for return type and locals "lab", "new_rtx".
24029 (dump_table): Strengthen params "start", "barrier" and local
24030 "scan" from rtx to rtx_insn *.
24031 (broken_move): Likewise for param "insn".
24032 (untangle_mova): Likewise for params "first_mova" and "new_mova".
24033 Strengthen param "first_mova" from rtx * to rtx_insn **.
24034 (mova_p): Likewise for param "insn".
24035 (fixup_mova): Likewise for param "mova".
24036 (find_barrier): Likewise for return type, params "mova" and
24037 "from", and locals "barrier_before_mova", "found_barrier",
24038 "good_barrier", "orig", "last_symoff", "next". Strengthen local
24039 "label" from rtx to rtx_code_label *.
24040 (sh_loop_align): Strengthen locals "first", "insn", "mova" from
24042 (sh_reorg): Likewise for locals "link", "scan", "barrier".
24043 (split_branches): Likewise for param "first" and local "insn".
24044 (final_prescan_insn): Likewise for param "insn".
24045 (sequence_insn_p): Likewise for locals "prev", "next".
24046 (sh_insn_length_adjustment): Likewise for param "insn".
24047 (sh_can_redirect_branch): Likewise for local "insn".
24048 (find_r0_life_regions): Likewise for locals "end", "insn".
24049 (sh_output_mi_thunk): Likewise for local "insns".
24051 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24053 * config/score/score.c (score_output_mi_thunk): Strengthen local
24054 "insn" from rtx to rtx_insn *.
24055 (score_prologue): Likewise.
24057 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24059 * config/s390/s390-protos.h (s390_match_ccmode): Strengthen param
24060 1 from rtx to rtx_insn *.
24061 (s390_emit_jump): Likewise for return type.
24062 (s390_emit_call): Likewise.
24063 (s390_load_got): Likewise.
24065 * config/s390/s390.c (last_scheduled_insn): Likewise for this
24067 (s390_match_ccmode): Likewise for param "insn".
24068 (s390_emit_jump): Likewise for return type.
24069 (s390_split_branches): Likewise for local "label".
24070 (struct constant): Strengthen field "label" from rtx to
24072 (struct constant_pool): Likewise for field "label". Strengthen
24073 fields "first_insn", "pool_insn", "emit_pool_after" from rtx to
24075 (s390_alloc_pool): Replace NULL_RTX with NULL when dealing with
24077 (s390_start_pool): Strengthen param "insn" from rtx to rtx_insn *.
24078 (s390_end_pool): Likewise.
24079 (s390_dump_pool): Likewise for local "insn".
24080 (s390_mainpool_start): Likewise.
24081 (s390_chunkify_start): Likewise.
24082 (s390_chunkify_start): Replace NULL_RTX with NULL when dealing
24083 with insns. Strengthen locals "label", "jump", "barrier", "next",
24084 "prev", "vec_insn", "insn" from rtx to rtx_insn *.
24085 (s390_chunkify_finish): Strengthen local "insn" from rtx to
24087 (s390_chunkify_cancel): Likewise for locals "insn", "barrier",
24088 "jump", "label", "next_insn".
24089 (s390_regs_ever_clobbered): Likewise for local "cur_insn".
24090 (s390_optimize_nonescaping_tx): Likewise for locals "insn",
24092 (s390_load_got): Likewise for return type and local "insns".
24093 (s390_save_gprs_to_fprs): Likewise for local "insn".
24094 (s390_restore_gprs_from_fprs): Likewise.
24095 (pass_s390_early_mach::execute): Likewise.
24096 (s390_emit_prologue): Likewise for local "insns".
24097 (s390_expand_tbegin): Strengthen local "leave_label" from rtx to
24099 (s390_emit_call): Strengthen return type and local "insn" from
24101 (s390_emit_tpf_eh_return): Likewise for local "insn".
24102 (s390_optimize_prologue): Likewise for locals "insn", "new_insn",
24103 "next_insn", introducing locals "s_pat", "rpat" to allow this.
24104 (s390_fix_long_loop_prediction): Likewise for param "insn" and
24106 (s390_non_addr_reg_read_p): Likewise for param "insn".
24107 (find_cond_jump): Likewise for return type and param "insn".
24108 (s390_swap_cmp): Likewise for param "insn".
24109 (s390_z10_optimize_cmp): Likewise for param "insn" and locals
24110 "prev_insn", "next_insn".
24111 (s390_reorg): Likewise for locals "insn", "target".
24112 (s390_z10_prevent_earlyload_conflicts): Likewise for local "insn".
24113 (s390_sched_variable_issue): For now, rename param "insn" to
24114 "uncast_insn", introducing a checked cast.
24115 (s390_sched_init): Replace NULL_RTX with NULL when dealing with
24117 (s390_loop_unroll_adjust): Strengthen local "insn" from rtx to
24118 rtx_insn *. Use for_each_rtx_in_insn rather than for_each_rtx.
24120 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24122 * config/rx/rx-protos.h (rx_adjust_insn_length): Strengthen first
24123 param from rtx to rtx_insn *.
24124 * config/rx/rx.c (rx_adjust_insn_length): Likewise for param "insn".
24126 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24128 * config/rs6000/rs6000-protos.h (output_cbranch): Strengthen param
24129 4 from rtx to rtx_insn *.
24130 (rs6000_final_prescan_insn): Likewise for first param.
24131 * config/rs6000/rs6000.c (rs6000_emit_set_const): Likewise for
24133 (rs6000_get_some_local_dynamic_name): Likewise.
24134 (output_cbranch): Likewise for param "insn".
24135 (spe_func_has_64bit_regs_p): Likewise for locals "insns", "insn".
24136 (rs6000_function_ok_for_sibcall): Likewise for locals "top", "insn".
24137 (rs6000_emit_allocate_stack): Likewise for local "insn".
24138 (load_cr_save): Likewise.
24139 (restore_saved_cr): Likewise.
24140 (restore_saved_lr): Likewise.
24141 (emit_cfa_restores): Likewise.
24142 (rs6000_output_function_epilogue): Likewise for locals "insn" and
24143 "deleted_debug_label".
24144 (rs6000_output_mi_thunk): Likewise for local "insn".
24145 (rs6000_final_prescan_insn): Likewise for param "insn".
24147 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24149 * config/picochip/picochip-protos.h (picochip_final_prescan_insn):
24150 Strengthen param "insn" from rtx to rtx_insn *.
24151 * config/picochip/picochip.c (picochip_current_prescan_insn):
24152 Likewise for this variable.
24153 (picochip_final_prescan_insn): Likewise for param "insn".
24155 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24157 * config/pa/pa-protos.h (pa_output_call): Strengthen first param
24158 from rtx to rtx_insn *.
24159 (pa_output_indirect_call): Likewise.
24160 (pa_adjust_insn_length): Likewise.
24161 (pa_attr_length_millicode_call): Likewise.
24162 (pa_attr_length_call): Likewise.
24163 (pa_attr_length_indirect_call): Likewise.
24165 * config/pa/pa.c (pa_adjust_insn_length): Likewise for param
24167 (pa_attr_length_millicode_call): Likewise.
24168 (pa_attr_length_call): Likewise.
24169 (pa_output_call): Likewise.
24170 (pa_attr_length_indirect_call): Likewise.
24171 (pa_output_indirect_call): Likewise.
24173 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24175 * config/nds32/nds32-protos.h (nds32_adjust_insn_length):
24176 Strengthen first param from rtx to rtx_insn *.
24177 * config/nds32/nds32.c (nds32_adjust_insn_length): Likewise for
24180 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24182 * config/mips/mips-protos.h (mips_emit_move): Strengthen return
24183 type from rtx to rtx_insn *.
24184 (mips_expand_call): Likewise.
24185 (mips_adjust_insn_length): Likewise for first param.
24186 (mips_output_conditional_branch): Likewise.
24187 (mips_output_order_conditional_branch): Likewise.
24188 (mips_final_prescan_insn): Likewise.
24190 * config/mips/mips.c (SEQ_BEGIN): For now, add checked cast to
24191 rtx_insn * for the SEQUENCE case.
24192 (SEQ_END): Likewise.
24193 (mips_emit_move): Strengthen return type from rtx to rtx_insn *.
24194 (mips_emit_call_insn): Likewise, also for local "insn".
24195 (mips16_gp_pseudo_reg): Likewise for local "scan".
24196 (mips16_build_call_stub): Likewise for return type and for local
24197 "insn". Introduce a new local "pattern" so that "insn" can indeed
24199 (mips_expand_call): Strengthen return type and local "insn" from
24201 (mips_block_move_loop): Strengthen local "label" from rtx to
24203 (mips_expand_synci_loop): Likewise for locals "label",
24205 (mips_set_frame_expr): Strengthen local "insn" from rtx to
24207 (mips16e_collect_argument_saves): Likewise for locals "insn",
24209 (mips_find_gp_ref): Likewise for param of callback for "pred"
24210 param, and for local "insn".
24211 (mips_insn_has_inflexible_gp_ref_p): Likewise for param "insn".
24212 (mips_insn_has_flexible_gp_ref_p): Likewise.
24213 (mips_epilogue_emit_cfa_restores): Likewise for return type and
24215 (mips_epilogue_set_cfa): Likewise for local "insn".
24216 (mips_expand_epilogue): Likewise.
24217 (mips_adjust_insn_length): Likewise for param "insn".
24218 (mips_output_conditional_branch): Likewise.
24219 (mips_output_order_conditional_branch): Likewise.
24220 (struct mips_ls2): Likewise for fields "alu1_turn_enabled_insn",
24221 "alu2_turn_enabled_insn", "falu1_turn_enabled_insn",
24222 "falu2_turn_enabled_insn".
24223 (mips_builtin_branch_and_move): Strengthen locals "true_label",
24224 "done_label" from rtx to rtx_code_label *.
24225 (struct mips16_constant): Likewise for field "label".
24226 (mips16_add_constant): Likewise for return type.
24227 (mips16_emit_constants_1): Strengthen return type and param "insn"
24228 from rtx to rtx_insn *.
24229 (mips16_emit_constants): Likewise for param "insn".
24230 (mips16_insn_length): Likewise.
24231 (mips16_rewrite_pool_constant): Strengthen local "label" from rtx
24232 to rtx_code_label *.
24233 (struct mips16_rewrite_pool_refs_info): Strengthen field "insn"
24234 from rtx to rtx_insn *.
24235 (mips16_lay_out_constants): Likewise for locals "insn", "barrier",
24236 "jump". Strengthen local "label" from rtx to rtx_code_label *.
24237 (r10k_simplify_address): Strengthen param "insn" and local
24238 "def_insn" from rtx to rtx_insn *.
24239 (r10k_safe_address_p): Strengthen param "insn" from rtx to
24241 (r10k_needs_protection_p_1): Update target type of cast of data
24242 from to rtx to rtx_insn *.
24243 (r10k_needs_protection_p_store): Strengthen local "insn_ptr" from
24244 rtx * to rtx_insn **.
24245 (r10k_needs_protection_p): Strengthen param "insn" from rtx to
24247 (r10k_insert_cache_barriers): Likewise for locals "insn", "end".
24248 (mips_call_expr_from_insn): Likewise for param "insn".
24249 (mips_pic_call_symbol_from_set): Likewise for local "def_insn".
24250 (mips_find_pic_call_symbol): Likewise for param "insn".
24251 (mips_annotate_pic_calls): Likewise for local "insn".
24252 (mips_sim_insn): Likewise for this variable.
24253 (struct mips_sim): Likewise for field "insn" within elements of
24255 (mips_sim_wait_reg): Likewise for param "insn".
24256 (mips_sim_wait_regs): Likewise.
24257 (mips_sim_wait_units): Likewise.
24258 (mips_sim_wait_insn): Likewise.
24259 (mips_sim_issue_insn): Likewise.
24260 (mips_sim_finish_insn): Likewise.
24261 (mips_seq_time): Likewise for param "seq" and local "insn".
24262 (vr4130_avoid_branch_rt_conflict): Likewise for param "insn" and
24263 locals "first", "second".
24264 (vr4130_align_insns): Likewise for locals "insn", "subinsn",
24265 "last", "last2", "next".
24266 (mips_avoid_hazard): Likewise for params "after", "insn".
24267 (mips_reorg_process_insns): Likewise for locals "insn",
24268 "last_insn", "subinsn", "next_insn".
24269 (mips_has_long_branch_p): Likewise for locals "insn", "subinsn".
24270 (mips16_split_long_branches): Likewise for locals "insn" "jump",
24272 (mips_output_mi_thunk): Likewise for local "insn".
24273 (mips_final_prescan_insn): Likewise for param "insn".
24275 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24277 * config/microblaze/microblaze.c (microblaze_call_tls_get_addr):
24278 Strengthen return type and local "insns" from rtx to rtx_insn *.
24279 (microblaze_legitimize_tls_address): Likewise for local "insns".
24280 (microblaze_block_move_loop): Strengthen local "label" from rtx
24281 to rtx_code_label *.
24282 (microblaze_expand_prologue): Strengthen two locals named "insn"
24283 from rtx to rtx_insn *.
24284 (microblaze_asm_output_mi_thunk): Likewise for local "insn".
24285 (microblaze_expand_divide): Likewise for locals "jump", "cjump",
24286 "insn". Strengthen locals "div_label", "div_end_label" from rtx
24287 to rtx_code_label *.
24289 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24291 * config/mep/mep-protos.h (mep_mulr_source): Strengthen first
24292 param from rtx to rtx_insn *.
24293 (mep_reuse_lo): Likewise for third param.
24294 (mep_use_post_modify_p): Likewise for first param.
24295 (mep_core_address_length): Likewise.
24296 (mep_cop_address_length): Likewise.
24297 (mep_final_prescan_insn): Likewise.
24298 (mep_store_data_bypass_p): Likewise for both params.
24299 (mep_mul_hilo_bypass_p): Likewise.
24300 (mep_ipipe_ldc_p): Likewise for param.
24302 * config/mep/mep.c (mep_mulr_source): Likewise for param "insn".
24303 (mep_rewrite_mult): Likewise.
24304 (mep_rewrite_mulsi3): Likewise.
24305 (mep_rewrite_maddsi3): Likewise.
24306 (mep_reuse_lo_p_1): Likewise.
24307 (mep_reuse_lo_p): Likewise.
24308 (mep_frame_expr): Likewise.
24309 (mep_make_parallel): Likewise for both params.
24310 (mep_use_post_modify_p_1): Likewise for param "set_insn" and
24312 (mep_use_post_modify_p): Likewise for param "insn".
24313 (mep_core_address_length): Likewise.
24314 (mep_cop_address_length): Likewise.
24315 (mep_reg_set_in_function): Likewise for local "insn".
24316 (mep_asm_without_operands_p): Likewise.
24317 (F): Likewise for return type and param "x".
24318 (add_constant): Likewise for local "insn".
24319 (maybe_dead_move): Likewise for return type and local "insn".
24320 (mep_expand_prologue): Likewise for local "insn".
24321 (mep_final_prescan_insn): Likewise for param "insn".
24322 (mep_reorg_regmove): Likewise for param "insns" and locals "insn",
24323 "next", "follow", "x".
24324 (mep_insert_repeat_label_last): Likewise for return type, param
24325 "last_insn", and locals "next", "prev". Strengthen param "label"
24326 from rtx to rtx_code_label *.
24327 (struct mep_doloop_begin): Strengthen field "insn" from rtx to
24329 (struct mep_doloop_end): Likewise for fields "insn" and
24331 (mep_reorg_repeat): Likewise for param "insns" and local "insn".
24332 Strengthen local "repeat_label" from rtx to rtx_code_label *.
24333 (mep_invertable_branch_p): Strengthen param "insn" from rtx to
24335 (mep_invert_branch): Likewise for params "insn" and "after".
24336 (mep_reorg_erepeat): Likewise for param "insns" and locals
24337 "insn", "prev", "new_last", "barrier", "user". Strengthen local
24338 "l" from rtx to rtx_code_label *.
24339 (mep_jmp_return_reorg): Strengthen param "insns" and local "insn"
24340 from rtx to rtx_insn *.
24341 (mep_reorg_addcombine): Likewise for param "insns" and locals
24343 (add_sp_insn_p): Likewise for param "insn".
24344 (mep_reorg_noframe): Likewise for param "insns" and locals
24345 "start_frame_insn", "end_frame_insn", "next".
24346 (mep_reorg): Likewise for local "insns".
24347 (mep_store_data_bypass_1): Likewise for param "prev". Add checked
24349 (mep_store_data_bypass_p): Likewise for params "prev", "insn".
24350 (mep_mul_hilo_bypass_p): Likewise.
24351 (mep_ipipe_ldc_p): Likewise for param "insn".
24352 (mep_make_bundle): Likewise for return type, param "cop" and local
24353 "insn", splitting out the latter into a new local "seq" for when it
24354 is a SEQUENCE rather than an insn.
24355 (core_insn_p): Likewise for param "insn".
24356 (mep_bundle_insns): Likewise for param "insns" and locals "insn",
24357 "last", "first", "note", "prev", "core_insn".
24359 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24361 * config/m68k/m68k-protos.h (output_btst): Strengthen param 4 from
24363 (strict_low_part_peephole_ok): Likewise for param 2 "first_insn".
24364 (m68k_final_prescan_insn): Likewise for first param.
24366 * config/m68k/m68k.c (m68k_emit_movem): Likewise for return type.
24367 (m68k_set_frame_related): Likewise for param "insn".
24368 (output_btst): Likewise for param "insn".
24369 (m68k_final_prescan_insn): Likewise.
24370 (m68k_move_to_reg): Likewise for local "insn".
24371 (m68k_call_tls_get_addr): Likewise for local "insns".
24372 (m68k_call_m68k_read_tp): Likewise.
24373 (strict_low_part_peephole_ok): Likewise for param "first_insn".
24374 (m68k_output_mi_thunk): Likewise for local "insn".
24376 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24378 * config/iq2000/iq2000-protos.h (final_prescan_insn): Strengthen
24379 first param from rtx to rtx_insn *.
24380 (iq2000_adjust_insn_length): Likewise.
24381 (iq2000_output_conditional_branch): Likewise.
24382 * config/iq2000/iq2000.c (final_prescan_insn): Likewise for param
24383 "insn" and local "nop_insn".
24384 (iq2000_annotate_frame_insn): Likewise for param "insn".
24385 (iq2000_expand_prologue): Likewise for both locals "insn".
24386 (iq2000_adjust_insn_length): Likewise for param "insn".
24387 (iq2000_output_conditional_branch): Likewise.
24389 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24391 * config/ia64/ia64.c (ia64_expand_tls_address): Strengthen local
24392 "insns" from rtx to rtx_insn *.
24393 (ia64_emit_cond_move): Likewise for locals "insn", "first".
24394 (struct spill_fill_data): Likewise for field "init_after" and for
24395 elements of array field "prev_insn".
24396 (spill_restore_mem): Likewise for locals "insn", "first".
24397 (do_spill): Likewise for local "insn".
24398 (do_restore): Likewise.
24399 (ia64_expand_prologue): Likewise.
24400 (ia64_expand_epilogue): Likewise.
24401 (emit_insn_group_barriers): Likewise for locals "insn",
24403 (emit_all_insn_group_barriers): Likewise for locals "insn",
24405 (dfa_stop_insn): Likewise for this global.
24406 (dfa_pre_cycle_insn): Likewise.
24407 (ia64_nop): Likewise.
24408 (final_emit_insn_group_barriers): Likewise for locals "insn",
24410 (emit_predicate_relation_info): Likewise for locals "head", "n",
24412 (ia64_reorg): Likewise for local "insn".
24413 (ia64_output_mi_thunk): Likewise.
24414 (expand_vec_perm_interleave_2): Likewise for local "seq".
24416 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24418 * config/i386/i386-protos.h (ix86_avoid_lea_for_add): Strengthen
24419 param 1 "insn" from rtx to rtx_insn *.
24420 (ix86_use_lea_for_mov): Likewise.
24421 (ix86_avoid_lea_for_addr): Likewise.
24422 (ix86_split_lea_for_addr): Likewise.
24423 (ix86_lea_for_add_ok): Likewise.
24424 (ix86_output_call_insn): Likewise.
24426 * config/i386/i386.c (ix86_va_start): Likewise for local "seq".
24427 (ix86_get_drap_rtx): Likewise for locals "seq", "insn".
24428 (ix86_output_function_epilogue): Likewise for locals "insn",
24429 "deleted_debug_label".
24430 (legitimize_tls_address): Likewise for local "insn".
24431 (get_some_local_dynamic_name): Likewise.
24432 (increase_distance): Likewise for params "prev", "next".
24433 (distance_non_agu_define_in_bb): Likewise for params "insn",
24434 "start" and locals "prev", "next".
24435 (distance_non_agu_define): Likewise for param "insn".
24436 (distance_agu_use_in_bb): Likewise for params "insn", "start" and
24437 locals "next", "prev".
24438 (distance_agu_use): Likewise for param "insn".
24439 (ix86_lea_outperforms): Likewise.
24440 (ix86_ok_to_clobber_flags): Likewise.
24441 (ix86_avoid_lea_for_add): Likewise.
24442 (ix86_use_lea_for_mov): Likewise.
24443 (ix86_avoid_lea_for_addr): Likewise.
24444 (find_nearest_reg_def): Likewise, also for locals "prev", "start".
24445 (ix86_split_lea_for_addr): Likewise for param "insn".
24446 (ix86_lea_for_add_ok): Likewise for param "insn".
24447 (ix86_expand_carry_flag_compare): Likewise for local
24449 (ix86_expand_int_movcc): Likewise.
24450 (ix86_output_call_insn): Likewise for param "insn".
24451 (ix86_output_call_insn): Likewise for local "i".
24452 (x86_output_mi_thunk): Introduce local "insn", using it in place
24453 of "tmp" when dealing with insns.
24454 (ix86_avoid_jump_mispredicts): Likewise for locals "insn",
24456 (ix86_pad_returns): Likewise for locals "ret", "prev".
24457 (ix86_count_insn_bb): Likewise for local "insn".
24458 (ix86_pad_short_function): Likewise for locals "ret", "insn".
24459 (ix86_seh_fixup_eh_fallthru): Likewise for locals "insn", "next".
24460 (ix86_vector_duplicate_value): Likewise for local "insn", "seq".
24461 (expand_vec_perm_interleave2): Likewise for local "seq".
24462 (expand_vec_perm_vperm2f128_vblend): Likewise.
24463 (ix86_loop_unroll_adjust): Likewise for local "insn". Convert
24464 call to for_each_rtx with for_each_rtx_in_insn.
24466 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24468 * config/i386/i386.c (setup_incoming_varargs_64): Strengthen local
24469 "label" from rtx to rtx_code_label *.
24470 (ix86_expand_prologue): Likewise.
24471 (ix86_expand_split_stack_prologue): Likewise for locals "label",
24473 (ix86_split_idivmod): Likewise for locals "end_label" and
24475 (ix86_expand_branch): Likewise for local "label2".
24476 (ix86_expand_aligntest): Likewise for return type and local "label".
24477 (expand_set_or_movmem_via_loop): Likewise for locals "out_label" and
24479 (expand_movmem_epilogue): Likewise for the various locals named
24481 (expand_setmem_epilogue): Likewise.
24482 (expand_small_movmem_or_setmem): Likewise for local "label".
24483 (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
24484 Strengthen param "done_label" from rtx * to rtx_code_label **.
24485 Strengthen locals "loop_label" and "label" from rtx to
24487 (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
24488 Likewise for locals "loop_label", "label".
24489 (ix86_expand_set_or_movmem): Likewise for locals "label",
24490 "jump_around_label", "hot_label".
24491 (ix86_expand_strlensi_unroll_1): Likewise for locals
24492 "align_2_label", align_3_label", "align_4_label", "end_0_label",
24494 (x86_emit_floatuns): Likewise for locals "neglab", "donelab".
24495 (void ix86_emit_i387_log1p): Likewise for locals "label1",
24496 "label2", "jump_label".
24497 (ix86_expand_sse_compare_and_jump): Likewise for return type and
24499 (ix86_expand_lfloorceil): Likewise for local "label".
24500 (ix86_expand_rint): Likewise.
24501 (ix86_expand_floorceildf_32): Likewise.
24502 (ix86_expand_floorceil): Likewise.
24503 (ix86_expand_rounddf_32): Likewise.
24504 (ix86_expand_trunc): Likewise.
24505 (ix86_expand_truncdf_32): Likewise.
24506 (ix86_expand_round): Likewise.
24508 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24510 * config/h8300/h8300-protos.h (final_prescan_insn): Strengthen
24511 first param from rtx to rtx_insn *.
24512 (h8300_insn_length_from_table): Likewise.
24513 * config/h8300/h8300.c (F): Likewise for return type and param
24515 (Fpa): Add a checked cast to rtx_insn *.
24516 (h8300_emit_stack_adjustment): Strengthen local "x" from rtx to
24518 (final_prescan_insn): Likewise for param "insn".
24519 (h8300_binary_length): Likewise.
24520 (h8300_insn_length_from_table): Likewise.
24522 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24524 * config/epiphany/epiphany-protos.h (epiphany_final_prescan_insn):
24525 Strengthen first param "insn" from rtx to rtx_insn *.
24527 * config/epiphany/epiphany.c (epiphany_final_prescan_insn):
24529 (frame_insn): Likewise for return type. Introduce local "insn"
24530 for use in place of local "x" for use as an rtx_insn *.
24531 (frame_move_insn): Strengthen return type from rtx to rtx_insn *.
24532 (epiphany_expand_prologue): Likewise for local "insn".
24533 * config/epiphany/mode-switch-use.c (insert_uses): Likewise.
24534 * config/epiphany/resolve-sw-modes.c
24535 (pass_resolve_sw_modes::execute): Likewise for locals "insn" and
24538 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24540 * config/c6x/c6x-protos.h (c6x_get_unit_specifier): Strengthen
24541 param from rtx to rtx_insn *.
24542 (c6x_final_prescan_insn): Likewise for first param.
24544 * config/c6x/c6x.c (c6x_current_insn): Likewise for this variable.
24545 (c6x_output_mi_thunk): Replace use of NULL_RTX with NULL.
24546 (c6x_expand_compare): Strengthen local "insns" from rtx to
24548 (c6x_get_unit_specifier): Likewise for param "insn".
24549 (c6x_print_unit_specifier_field): Likewise.
24550 (c6x_final_prescan_insn): Likewise.
24551 (emit_add_sp_const): Likewise for local "insn".
24552 (c6x_expand_prologue): Likewise.
24554 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24556 * config/bfin/bfin-protos.h (asm_conditional_branch): Strengthen
24557 param 1 from rtx to rtx_insn *.
24558 * config/bfin/bfin.c (expand_prologue_reg_save): Likewise for
24559 the various locals named "insn".
24560 (expand_epilogue_reg_restore): Likewise.
24561 (frame_related_constant_load): Likewise.
24562 (add_to_reg): Likewise.
24563 (emit_link_insn): Likewise.
24564 (do_link): Likewise.
24565 (expand_interrupt_handler_prologue): Likewise.
24566 (branch_dest): Likewise for param "branch".
24567 (asm_conditional_branch): Likewise for param "insn".
24568 (gen_one_bundle): Likewise for elements of param "slot" and local
24570 (bfin_gen_bundles): Likewise for locals "insn", "next" and
24571 elements of local "slot".
24572 (reorder_var_tracking_notes): Likewise for locals "insn", "next",
24573 "queue", "next_queue", "prev".
24574 (workaround_rts_anomaly): Likewise for locals "insn", "first_insn".
24575 (add_sched_insns_for_speculation): Likewise for local "insn".
24577 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24579 * config/avr/avr-protos.h (output_movqi): Strengthen first param
24580 from rtx to rtx_insn *.
24581 (output_movhi): Likewise.
24582 (output_movsisf): Likewise.
24583 (avr_out_tstsi): Likewise.
24584 (avr_out_tsthi): Likewise.
24585 (avr_out_tstpsi): Likewise.
24586 (avr_out_compare): Likewise.
24587 (avr_out_compare64): Likewise.
24588 (avr_out_movpsi): Likewise.
24589 (ashlqi3_out): Likewise.
24590 (ashlhi3_out): Likewise.
24591 (ashlsi3_out): Likewise.
24592 (ashrqi3_out): Likewise.
24593 (ashrhi3_out): Likewise.
24594 (ashrsi3_out): Likewise.
24595 (lshrqi3_out): Likewise.
24596 (lshrhi3_out): Likewise.
24597 (lshrsi3_out): Likewise.
24598 (avr_out_ashlpsi3): Likewise.
24599 (avr_out_ashrpsi3): Likewise.
24600 (avr_out_lshrpsi3): Likewise.
24601 (avr_out_fract): Likewise.
24602 (avr_out_sbxx_branch): Likewise.
24603 (avr_out_round): Likewise.
24604 (avr_out_xload): Likewise.
24605 (avr_out_movmem): Likewise.
24606 (adjust_insn_length): Likewise.
24607 (avr_out_lpm): Likewise.
24608 (reg_unused_after): Likewise.
24609 (_reg_unused_after): Likewise.
24610 (avr_jump_mode): Likewise for second param.
24611 (jump_over_one_insn): Likewise for first param.
24612 (avr_final_prescan_insn): Likewise.
24613 (out_shift_with_cnt): Likewise for second param.
24615 * config/avr/avr.c (get_sequence_length): Likewise for param
24616 "insns" and local "insn".
24617 (emit_push_byte): Likewise for local "insn".
24618 (emit_push_sfr): Likewise.
24619 (avr_prologue_setup_frame): Likewise for locals "insn",
24620 "fp_plus_insns", "sp_plus_insns".
24621 (avr_expand_epilogue): Likewise for local "fp_plus_insns",
24623 (avr_jump_mode): Likewise for param "insn".
24624 (avr_final_prescan_insn): Likewise.
24625 (avr_find_unused_d_reg): Likewise.
24626 (avr_out_lpm_no_lpmx): Likewise.
24627 (avr_out_lpm): Likewise.
24628 (avr_out_xload): Likewise.
24629 (output_movqi): Likewise.
24630 (output_movhi): Likewise.
24631 (out_movqi_r_mr): Likewise.
24632 (out_movhi_r_mr): Likewise.
24633 (out_movsi_r_mr): Likewise.
24634 (out_movsi_mr_r): Likewise.
24635 (output_movsisf): Likewise.
24636 (avr_out_load_psi): Likewise.
24637 (avr_out_store_psi): Likewise.
24638 (avr_out_movpsi): Likewise.
24639 (out_movqi_mr_r): Likewise.
24640 (avr_out_movhi_mr_r_xmega): Likewise.
24641 (out_movhi_mr_r): Likewise.
24642 (compare_condition): Likewise for param "insn" and local "next".
24643 (compare_sign_p): Likewise for param "insn".
24644 (compare_diff_p): Likewise.
24645 (compare_eq_p): Likewise.
24646 (avr_out_compare): Likewise.
24647 (avr_out_compare64): Likewise.
24648 (avr_out_tsthi): Likewise.
24649 (avr_out_tstpsi): Likewise.
24650 (avr_out_tstsi): Likewise.
24651 (out_shift_with_cnt): Likewise.
24652 (ashlqi3_out): Likewise.
24653 (ashlhi3_out): Likewise.
24654 (avr_out_ashlpsi3): Likewise.
24655 (ashlsi3_out): Likewise.
24656 (ashrqi3_out): Likewise.
24657 (ashrhi3_out): Likewise.
24658 (avr_out_ashrpsi3): Likewise.
24659 (ashrsi3_out): Likewise.
24660 (lshrqi3_out): Likewise.
24661 (lshrhi3_out): Likewise.
24662 (avr_out_lshrpsi3): Likewise.
24663 (lshrsi3_out): Likewise.
24664 (avr_out_fract): Likewise.
24665 (avr_out_round): Likewise.
24666 (avr_adjust_insn_length): Likewise.
24667 (reg_unused_after): Likewise.
24668 (_reg_unused_after): Likewise.
24669 (avr_compare_pattern): Likewise.
24670 (avr_reorg_remove_redundant_compare): Likewise for param "insn1"
24671 and locals "branch1", "branch2", "insn2", "jump".
24672 (avr_reorg): Likewise for local "insn".
24673 (avr_2word_insn_p): Likewise for param "insn".
24674 (jump_over_one_insn_p): Likewise.
24675 (avr_out_sbxx_branch): Likewise.
24676 (avr_out_movmem): Likewise.
24678 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24680 * config/arm/arm-protos.h (arm_final_prescan_insn): Strengthen
24681 param from rtx to rtx_insn *.
24682 (thumb1_final_prescan_insn): Likewise.
24683 (thumb2_final_prescan_insn): Likewise.
24685 * config/arm/arm.c (emit_set_insn): Strengthen return type from
24687 (struct minipool_node): Likewise for field "insn".
24688 (dump_minipool): Likewise for param "scan".
24689 (create_fix_barrier): Likewise for local "from". Strengthen local
24690 "label" from rtx to rtx_code_label *.
24691 (push_minipool_barrier): Strengthen param "insn" from rtx to
24693 (push_minipool_fix): Likewise.
24694 (note_invalid_constants): Likewise.
24695 (thumb2_reorg): Likewise for local "insn".
24696 (arm_reorg): Likewise.
24697 (thumb2_final_prescan_insn): Likewise for param
24698 "insn" and local "first_insn".
24699 (arm_final_prescan_insn): Likewise for param "insn" and locals
24700 "start_insn", "this_insn".
24701 (arm_debugger_arg_offset): Likewise for param "insn".
24702 (thumb1_emit_multi_reg_push): Likewise for return type and local
24704 (thumb1_final_prescan_insn): Likewise for param "insn".
24705 (thumb_far_jump_used_p): Likewise for local "insn".
24706 (thumb1_expand_prologue): Likewise.
24707 (arm_expand_epilogue_apcs_frame): Likewise.
24708 (arm_expand_epilogue): Likewise for locals "insn", "tmp".
24709 (arm_split_compare_and_swap): Strengthen locals "label1", "label2"
24710 from rtx to rtx_code_label *.
24711 (arm_split_atomic_op): Likewise for local "label".
24712 (arm_emit_coreregs_64bit_shift): Likewise for local "done_label".
24714 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24716 * config/arc/arc-protos.h (arc_final_prescan_insn): Strengthen
24717 first param from rtx to rtx_insn *.
24718 (arc_verify_short): Likewise.
24719 (arc_short_long): Likewise.
24720 (arc_need_delay): Likewise.
24722 * config/arc/arc.c (struct arc_ccfsm): Likewise for field
24724 (arc_ccfsm_advance): Likewise for param "insn" and locals
24725 "start_insn", "this_insn".
24726 (arc_ccfsm_record_condition): Likewise for local "seq_insn".
24727 (arc_ccfsm_post_advance): Likewise for param "insn".
24728 (arc_next_active_insn): Likewise for return type and param "insn".
24729 Convert NULL_RTX to NULL as appropriate. Add a checked cast.
24730 (arc_verify_short): Strengthen param "insn" from rtx to rtx_insn *.
24731 (output_short_suffix): Likewise for local "insn".
24732 (arc_final_prescan_insn): Likewise for param "insn". Remove
24733 now-redundant checked cast.
24734 (arc_reorg): Strengthen locals "insn", "top_label", "lp", "prev",
24735 "lp_simple", "next", "mov", "scan", "link_insn" from rtx to
24736 rtx_insn *. Add a checked cast. Introduce local "lc_set_insn"
24737 for use where lc_set became an insn.
24738 (arc_adjust_insn_length): Strengthen locals "prev", "succ" from
24740 (arc_get_insn_variants): Likewise for local "prev".
24741 (arc_ifcvt): Likewise for locals "insn", "seq", "prev", "pprev",
24743 (arc_predicate_delay_insns): Likewise for local "insn".
24744 (arc_pad_return): Likewise for local "prev". For now, add a
24745 checked cast when extracting the insn from "final_sequence".
24746 (arc_short_long): Likewise for param "insn".
24747 (arc_need_delay): Likewise for param "insn" and local "next".
24748 (arc_label_align): Likewise for locals "prev", "next".
24750 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24752 * config/alpha/alpha.c (alpha_emit_set_const): Strengthen local
24753 "insn" from rtx to rtx_insn *.
24754 (alpha_gp_save_rtx): Likewise for local "seq".
24755 (alpha_instantiate_decls): Likewise for local "top".
24756 (get_some_local_dynamic_name): Likewise for local "insn".
24757 (alpha_does_function_need_gp): Likewise.
24758 (set_frame_related_p): Likewise for return type and for locals
24760 (emit_frame_store_1): Likewise for local "insn".
24761 (alpha_expand_prologue): Likewise for locals "insn", "seq".
24762 (alpha_end_function): Likewise for local "insn".
24763 (alpha_output_mi_thunk_osf): Likewise.
24764 (alphaev4_insn_pipe): Likewise for param "insn".
24765 (alphaev5_insn_pipe): Likewise.
24766 (alphaev4_next_group): Likewise for return type and param 1
24768 (alphaev5_next_group): Likewise.
24769 (alpha_align_insns_1): Likewise for return type and param 1 of
24770 callback param "next_group", and for locals "i", "next", "prev",
24771 "where", "where2", "insn".
24773 2014-08-25 Bernd Schmidt <bernds@codesourcery.com>
24775 * tree-nested.c (finalize_nesting_tree_1): Initialize temporary earlier
24776 rather than modifying the stmt.
24778 2014-08-25 Jan-Benedict Glaw <jbglaw@lug-owl.de>
24780 * config/rs6000/rs6000.c (rs6000_return_in_msb): Fix fallout from
24781 cgraph_state conversion.
24783 2014-08-25 David Malcolm <dmalcolm@redhat.com>
24785 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
24786 Strengthen local "insns" from rtx to rtx_insn *.
24787 (aarch64_set_frame_expr): Likewise for local "insn".
24788 (aarch64_save_or_restore_fprs): Likewise.
24789 (aarch64_save_or_restore_callee_save_registers): Likewise.
24790 (aarch64_expand_prologue): Likewise.
24791 (aarch64_expand_epilogue): Likewise.
24792 (aarch64_output_mi_thunk): Likewise.
24793 (aarch64_split_compare_and_swap): Strengthen locals "label1" and
24794 "label2" from rtx to rtx_code_label *.
24795 (aarch64_split_atomic_op): Likewise for local "label".
24797 2014-08-25 Martin Liska <mliska@suse.cz>
24799 * cgraph.h (symtab_node):
24800 (bool needed_p (void)): created from decide_is_symbol_needed
24801 (bool referred_to_p (void)): created from referred_to_p
24802 (static cgraph_node *get_for_asmname (tree asmname)):
24803 created from symtab_node_for_asm
24804 * cgraph.h (cgraph_node):
24805 (void assemble_thunks_and_aliases (void)):
24806 created from assemble_thunks_and_aliases
24807 (void expand (void)): created from expand_function
24808 (static void finalize_function (tree, bool)):
24809 created from cgraph_finalize_function
24810 (static cgraph_local_info *local_info (tree decl)):
24811 created from cgraph_local_info
24812 (static cgraph_global_info *global_info (tree)):
24813 created from cgraph_global_info
24814 (static cgraph_rtl_info *rtl_info (tree)): created from cgraph_rtl_info
24815 * cgraph.h (varpool_node):
24816 (static void add (tree decl): created from varpool_add_new_variable
24817 * cgraph.h (cgraph_edge):
24818 void remove (void);
24819 (void remove_caller (void)): created from cgraph_edge_remove_caller
24820 (void remove_callee (void)): created from cgraph_edge_remove_callee
24821 (void set_call_stmt (gimple new_stmt, bool update_speculative = true)):
24822 created from cgraph_set_call_stmt
24823 (void redirect_callee (cgraph_node *n)): created from
24824 cgraph_redirect_edge_callee
24825 (cgraph_edge *make_direct (cgraph_node *callee)): created from
24826 cgraph_make_edge_direct
24827 (cgraph_edge *make_speculative (cgraph_node *n2, gcov_type direct_count,
24828 gimple redirect_call_stmt_to_callee (void)): created from
24829 cgraph_turn_edge_to_speculative
24830 (void speculative_call_info (cgraph_edge *&direct,
24831 cgraph_edge *&indirect, ipa_ref *&reference)): created from
24832 cgraph_speculative_call_info
24833 (cgraph_edge * clone (cgraph_node *n, gimple call_stmt,
24834 unsigned stmt_uid, gcov_type count_scale,
24835 int freq_scale, bool update_original)): created from cgraph_clone_edge
24836 (cgraph_edge *resolve_speculation (tree callee_decl)):
24837 created from cgraph_resolve_speculation
24838 (bool cannot_lead_to_return_p (void)): created from
24839 cannot_lead_to_return_p
24840 (bool recursive_p (void)): created from cgraph_edge_recursive_p
24841 (bool maybe_hot_p (void)): created from cgraph_maybe_hot_edge_p
24842 (static unsigned int rebuild_edges (void)): created from
24843 rebuild_cgraph_edges
24844 (static void rebuild_references (void)): created from
24845 cgraph_rebuild_references
24846 * cgraph.h (symbol_table):
24847 (create_reference): renamed from add_reference
24848 (maybe_create_reference): renamed from maybe_add_reference
24849 (void register_symbol (symtab_node *node)): new function
24850 (void clear_asm_symbols (void)): new function
24851 (void unregister (symtab_node *node)): new function
24852 (void release_symbol (cgraph_node *node, int uid)): new function
24853 (cgraph_node * allocate_cgraph_symbol (void)): new function
24854 (void initialize (void)): created from cgraph_init
24855 (symtab_node *first_symbol (void)):new function
24856 (asm_node *first_asm_symbol (void)):new function
24857 (symtab_node *first_defined_symbol (void)):new function
24858 (varpool_node *first_variable (void)):new function
24859 (varpool_node *next_variable (varpool_node *node)):new function
24860 (varpool_node *first_static_initializer (void)):new function
24861 (varpool_node *next_static_initializer (varpool_node *node)):new
24863 (varpool_node *first_defined_variable (void)):new function
24864 (varpool_node *next_defined_variable (varpool_node *node)):new function
24865 (cgraph_node *first_defined_function (void)):new function
24866 (cgraph_node *next_defined_function (cgraph_node *node)):new function
24867 (cgraph_node *first_function (void)):new function
24868 (cgraph_node *next_function (cgraph_node *node)):new function
24869 (cgraph_node *first_function_with_gimple_body (void)):new function
24870 (asm_node *finalize_toplevel_asm (tree asm_str)): created from
24872 (bool remove_unreachable_nodes (bool before_inlining_p, FILE *file)):
24873 created from symtab_remove_unreachable_nodes
24874 (void remove_unreferenced_decls (void)): created from
24875 varpool_remove_unreferenced_decls
24876 (void process_new_functions (void)): created from
24877 cgraph_process_new_functions
24878 (void process_same_body_aliases (void)): created from
24879 cgraph_process_same_body_aliases
24880 (bool output_variables (void)): created from
24881 varpool_node::output_variables
24882 (void output_asm_statements (void)): created from output_asm_statements
24883 (void finalize_compilation_unit (void)): created from
24884 finalize_compilation_unit
24885 (void compile (void)): created from compile
24886 (void output_weakrefs (void)): created from output_weakrefs
24887 (cgraph_node *create_empty (void)): created from
24888 cgraph_node::create_empty
24889 (cgraph_edge *create_edge (cgraph_node *caller, cgraph_node *callee,
24890 gimple call_stmt, gcov_type count, int freq,
24891 bool indir_unknown_callee)): created from cgraph_node::create_edge
24892 (void free_edge (cgraph_edge *e)): created from cgraph_free_edge
24893 (cgraph_node *next_function_with_gimple_body (cgraph_node *node)):
24894 created from cgraph_next_function_with_gimple_body
24895 (void remove_edge_removal_hook (cgraph_edge_hook_list *)):
24896 created from cgraph_remove_edge_removal_hook
24897 (cgraph_node_hook_list *add_cgraph_removal_hook (cgraph_node_hook,
24898 void *)): created from cgraph_add_node_removal_hook
24899 (void remove_cgraph_removal_hook (cgraph_node_hook_list *)):
24900 created from cgraph_remove_node_removal_hook
24901 (varpool_node_hook_list *add_varpool_removal_hook (varpool_node_hook,
24902 void *)): created from varpool_add_node_removal_hook
24903 (void remove_varpool_removal_hook (varpool_node_hook_list *)):
24904 created from varpool_remove_node_removal_hook
24905 (cgraph_node_hook_list *add_cgraph_insertion_hook (cgraph_node_hook,
24906 void *)): created from cgraph_add_function_insertion_hook
24907 (void remove_cgraph_insertion_hook (cgraph_node_hook_list *)):
24908 created from cgraph_remove_function_insertion_hook
24909 (varpool_node_hook_list *add_varpool_insertion_hook (varpool_node_hook,
24910 void *)): created from varpool_add_variable_insertion_hook
24911 (void remove_varpool_insertion_hook (varpool_node_hook_list *)):
24912 created from varpool_remove_variable_insertion_hook
24913 (cgraph_2edge_hook_list *add_edge_duplication_hook (cgraph_2edge_hook,
24914 void *)): created from cgraph_add_edge_duplication_hook
24915 (void remove_edge_duplication_hook (cgraph_2edge_hook_list *)):
24916 created from cgraph_remove_edge_duplication_hook
24917 (cgraph_2node_hook_list *add_cgraph_duplication_hook (cgraph_2node_hook,
24918 void *)): created from cgraph_add_node_duplication_hook
24919 (void remove_cgraph_duplication_hook (cgraph_2node_hook_list *)):
24920 created from cgraph_remove_node_duplication_hook
24921 (void call_edge_removal_hooks (cgraph_edge *e)):
24922 created from cgraph_call_edge_removal_hooks
24923 (void call_cgraph_insertion_hooks (cgraph_node *node)):
24924 created from call_function_insertion_hooks
24925 (void call_cgraph_removal_hooks (cgraph_node *node)):
24926 created from cgraph_call_node_removal_hooks
24927 (void call_cgraph_duplication_hooks (cgraph_node *node,
24928 cgraph_node *node2)): created from cgraph_node::call_duplication_hooks
24929 (void call_edge_duplication_hooks (cgraph_edge *cs1, cgraph_edge *cs2)):
24930 created from cgraph_call_edge_duplication_hooks
24931 (void call_varpool_removal_hooks (varpool_node *node)):
24932 created from varpool_call_node_removal_hooks
24933 (void call_varpool_insertion_hooks (varpool_node *node)):
24934 created from varpool_call_variable_insertion_hooks
24935 (void insert_to_assembler_name_hash (symtab_node *node,
24936 bool with_clones)): created from insert_to_assembler_name_hash
24937 (void unlink_from_assembler_name_hash (symtab_node *node,
24938 bool with_clones)): created from unlink_from_assembler_name_hash
24939 (void symtab_prevail_in_asm_name_hash (symtab_node *node)):
24940 created from symtab_prevail_in_asm_name_hash
24941 (void symtab_initialize_asm_name_hash (void)):
24942 created from symtab_initialize_asm_name_hash
24943 (void change_decl_assembler_name (tree decl, tree name)):
24944 created from change_decl_assembler_name
24945 (void materialize_all_clones (void)): created from
24946 cgraph_materialize_all_clones
24947 (static hashval_t decl_assembler_name_hash (const_tree asmname)):
24948 created from decl_assembler_name_hash
24949 (static bool decl_assembler_name_equal (tree decl, const_tree asmname)):
24950 created from decl_assembler_name_equal
24951 (static hashval_t hash_node_by_assembler_name (const void *p)):
24952 created from hash_node_by_assembler_name
24953 (static int eq_assembler_name (const void *p1, const void *p2)):
24954 created from eq_assembler_name
24956 2014-08-25 Marek Polacek <polacek@redhat.com>
24958 * config/i386/i386.md (SWI1248_AVX512BW): Add missing paren.
24960 2014-08-25 Petr Murzin <petr.murzin@intel.com>
24962 * config/i386/i386.md (SWI1248_AVX512BW): New mode iterator.
24963 (*k<logic><mode>): Add *k<logic>qi and *k<logic>hi and use
24964 SWI1248_AVX512BW mode iterator.
24966 2014-08-25 Kaz Kojima <kkojima@gcc.gnu.org>
24969 * config/sh/predicates.md (general_extend_operand): Disable
24970 TRUNCATE before reload completes.
24972 2014-08-24 Gerald Pfeifer <gerald@pfeifer.com>
24974 * doc/invoke.texi (Optimize Options): Fix markup in two cases.
24976 2014-08-24 Oleg Endo <olegendo@gcc.gnu.org>
24979 * config/sh/sh.opt (musermode): Allow negative form.
24980 * config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for
24981 targets that don't support it.
24982 * doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*.
24983 Document -mno-usermode option.
24985 2014-08-24 Kito Cheng <kito@0xlab.org>
24987 * system.h (CALLER_SAVE_PROFITABLE): Poison.
24988 * regs.h (CALLER_SAVE_PROFITABLE): Remove.
24989 * doc/tm.texi.in (CALLER_SAVE_PROFITABLE): Remove.
24990 * doc/tm.texi: Regenerate.
24992 2014-08-24 Kito Cheng <kito@0xlab.org>
24994 * ira.c: Fix typo in comment.
24996 2014-08-23 Edward Smith-Rowland <3dw4rd@verizon.net>
24998 * doc/invoke.texi: Change c++1y to c++14 and gnu++1y to gnu++14.
24999 Deprecate c++1y. Change language to reflect greater confidence in C++14.
25001 2014-08-23 John David Anglin <danglin@gcc.gnu.org>
25004 * config/pa/pa.c (pa_output_function_epilogue): Don't set
25005 last_address when the current function is a thunk.
25006 (pa_asm_output_mi_thunk): When we don't have named sections or they
25007 are not being used, check that thunk can reach the stub table with a
25010 2014-08-23 David Malcolm <dmalcolm@redhat.com>
25012 * web.c (union_match_dups): Strengthen param "insn" from rtx to
25014 (pass_web::execute): Likewise for local "insn".
25016 2014-08-23 David Malcolm <dmalcolm@redhat.com>
25018 * var-tracking.c (struct micro_operation_def): Strengthen field
25019 "insn" from rtx to rtx_insn *.
25020 (struct emit_note_data_def): Likewise.
25021 (insn_stack_adjust_offset_pre_post): Likewise for param "insn".
25022 (vt_stack_adjustments): Likewise for local "insn".
25023 (adjust_insn): Likewise for param "insn".
25024 (val_store): Likewise.
25025 (val_resolve): Likewise.
25026 (struct count_use_info): Likewise for field "insn".
25027 (log_op_type): Likewise for param "insn".
25028 (reverse_op): Likewise.
25029 (prepare_call_arguments): Likewise.
25030 (add_with_sets): The initial param takes an insn, but we can't
25031 yet strengthen it from rtx to rtx_insn * since it's used as a
25032 cselib_record_sets_hook callback. For now rename initial param
25033 from "insn" to "uncast_insn", and introduce a local "insn" of
25034 the stronger rtx_insn * type, with a checked cast.
25035 (compute_bb_dataflow): Strengthen local "insn" from rtx to
25037 (emit_note_insn_var_location): Likewise.
25038 (emit_notes_for_changes): Likewise.
25039 (emit_notes_for_differences): Likewise.
25040 (next_non_note_insn_var_location): Likewise for return type and
25042 (emit_notes_in_bb): Likewise for locals "insn" and "next_insn".
25043 (vt_initialize): Likewise for local "insn".
25044 (delete_debug_insns): Likewise for locals "insn" and "next".
25046 2014-08-23 David Malcolm <dmalcolm@redhat.com>
25048 * varasm.c (mark_constants): Strengthen param "insn" from rtx to
25050 (mark_constant_pool): Likewise for local "insn".
25052 2014-08-23 David Malcolm <dmalcolm@redhat.com>
25054 * valtrack.c (dead_debug_reset_uses): Strengthen local "insn" from
25056 (dead_debug_promote_uses): Likewise.
25057 (dead_debug_insert_temp): Likewise.
25059 2014-08-23 David Malcolm <dmalcolm@redhat.com>
25061 * store-motion.c (store_killed_in_insn): Strengthen param "insn"
25062 from const_rtx to const rtx_insn *.
25063 (store_killed_after): Likewise. Strengthen locals "last", "act"
25064 from rtx to rtx_insn *.
25065 (store_killed_before): Strengthen param "insn" from const_rtx to
25066 const rtx_insn *. Strengthen local "first" from rtx to rtx_insn *.
25067 (find_moveable_store): Strengthen param "insn" from rtx to
25069 (compute_store_table): Likewise for local "insn".
25070 (insert_insn_start_basic_block): Likewise for param "insn" and
25071 locals "prev", "before", "insn".
25072 (insert_store): For now, add a checked cast to rtx_insn * on the
25073 result of gen_move_insn.
25074 (remove_reachable_equiv_notes): Strengthen local "insn" from rtx
25076 (replace_store_insn): Likewise. For now, add a checked cast to
25077 rtx_insn * on the result of gen_move_insn.
25079 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25081 * stmt.c (expand_case): Strengthen local "before_case" from rtx to
25083 (expand_sjlj_dispatch_table): Likewise.
25085 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25087 * stack-ptr-mod.c (pass_stack_ptr_mod::execute): Strengthen local
25088 "insn" from rtx to rtx_insn *.
25090 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25092 * shrink-wrap.h (requires_stack_frame_p): Strengthen param 1
25093 "insn" from rtx to rtx_insn *.
25094 (dup_block_and_redirect): Likewise for param 3 "before".
25096 * shrink-wrap.c (requires_stack_frame_p): Strengthen param "insn"
25097 from rtx to rtx_insn *.
25098 (move_insn_for_shrink_wrap): Likewise.
25099 (prepare_shrink_wrap): Likewise for locals "insn", "curr".
25100 (dup_block_and_redirect): Likewise for param "before" and local
25102 (try_shrink_wrapping): Likewise for locals "insn", "insert_point",
25104 (convert_to_simple_return): Likewise for local "start".
25106 * config/i386/i386.c (ix86_finalize_stack_realign_flags):
25107 Strengthen local "insn" from rtx to rtx_insn *, for use when
25108 invoking requires_stack_frame_p.
25110 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25112 * sel-sched-ir.c (vinsn_copy): Strengthen local "copy" from rtx to
25114 (speculate_expr): Likewise for locals "orig_insn_rtx",
25116 (eq_transformed_insns): Likewise for locals "i1", "i2".
25117 (check_for_new_jump): Likewise for return type and local "end".
25118 (find_new_jump): Likewise for return type and local "jump".
25119 (sel_split_edge): Likewise for local "jump".
25120 (sel_create_recovery_block): Likewise.
25121 (sel_redirect_edge_and_branch_force): Likewise.
25122 (sel_redirect_edge_and_branch): Likewise.
25124 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25126 * sel-sched.c (substitute_reg_in_expr): Strengthen local
25127 "new_insn" from rtx to rtx_insn *.
25128 (create_insn_rtx_with_rhs): Likewise for return type and for local
25130 (create_insn_rtx_with_lhs): Likewise.
25131 (create_speculation_check): Likewise for local "insn_rtx".
25132 (implicit_clobber_conflict_p): Likewise for local "insn".
25133 (get_expr_cost): Likewise.
25134 (emit_bookkeeping_insn): Likewise for local "new_insn_rtx".
25135 (move_cond_jump): Likewise for locals "next", "prev", "link",
25136 "head", "from", "to".
25138 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25140 * sched-rgn.c (is_cfg_nonregular): Strengthen locals "insn" and
25141 "next" from rtx to rtx_insn *.
25142 (find_conditional_protection): Likewise for local "next".
25143 (is_conditionally_protected): Likewise for local "insn1".
25144 (is_pfree): Likewise for locals "insn1", "insn2".
25146 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25148 * sched-int.h (schedule_ebb): Strengthen params "head", "tail"
25149 from rtx to rtx_insn *.
25151 * sched-ebb.c (earliest_block_with_similiar_load): Strengthen
25152 locals "insn1", "insn2" from rtx to rtx_insn *.
25153 (add_deps_for_risky_insns): Likewise for params "head", "tail" and
25154 locals "insn", "prev", "last_jump", "next_tail".
25155 (schedule_ebb): Likewise for params "head", "tail".
25156 (schedule_ebbs): Likewise for locals "tail", "head".
25158 * config/c6x/c6x.c (hwloop_optimize): For now, add a checked cast
25159 to rtx_insn on "last_insn" in one of the invocations of
25162 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25164 * sched-deps.c (maybe_add_or_update_dep_1): Strengthen locals
25165 "elem", "insn" from rtx to rtx_insn *.
25166 (change_spec_dep_to_hard): Likewise.
25167 (get_back_and_forw_lists): Likewise for local "con".
25168 (sd_add_dep): Likewise for locals "elem", "insn".
25169 (sd_resolve_dep): Likewise for locals "pro", "con".
25170 (sd_unresolve_dep): Likewise.
25171 (sd_delete_dep): Likewise.
25172 (chain_to_prev_insn): Likewise for local "pro".
25173 (find_inc): Likewise for locals "pro", "con".
25175 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25177 * rtlanal.c (reg_used_between_p): Strengthen local "insn" from rtx
25179 (reg_set_between_p): Strengthen local "insn" from const_rtx to
25181 (modified_between_p): Strengthen local "insn" from rtx to
25183 (remove_reg_equal_equiv_notes_for_regno): Likewise.
25184 (keep_with_call_p): Strengthen local "i2" from const_rtx to
25187 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25189 * resource.c (next_insn_no_annul): Strengthen local "next" from
25191 (mark_referenced_resources): Likewise for local "insn".
25193 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25195 * reload.h (struct insn_chain): Strengthen field "insn" from rtx
25197 (find_reloads): Likewise for param 1.
25198 (subst_reloads): Likewise for sole param.
25199 (find_equiv_reg): Likwise for param 2.
25200 (regno_clobbered_p): Likwise for param 2.
25201 (reload): Likewise for param 1.
25203 * caller-save.c (save_call_clobbered_regs): Strengthen local
25204 "insn" from rtx to rtx_insn *.
25205 (insert_one_insn): Likewise for local "insn".
25207 * reload.c (this_insn): Likewise for this global.
25208 (find_reloads): Likewise for param "insn".
25209 (find_reloads_toplev): Likewise.
25210 (find_reloads_address): Likewise.
25211 (subst_reg_equivs): Likewise.
25212 (update_auto_inc_notes): Likewise.
25213 (find_reloads_address_1): Likewise.
25214 (find_reloads_subreg_address): Likewise.
25215 (subst_reloads): Likewise.
25216 (find_equiv_reg): Likewise, also for local "p".
25217 (regno_clobbered_p): Likewise for param "insn".
25219 * reload1.c (reg_reloaded_insn): Likewise for the elements of this
25221 (spill_reg_store): Likewise for the elements of this array.
25222 (remove_init_insns): Likewise for local "equiv_insn".
25223 (will_delete_init_insn_p): Likewise for param "insn".
25224 (reload): Likewise for param ""first" and local "insn".
25225 (calculate_needs_all_insns): Strengthen local "insn" from rtx to
25227 (calculate_elim_costs_all_insns): Likewise.
25228 (delete_caller_save_insns): Likewise.
25229 (spill_failure): Likewise for param "insn".
25230 (delete_dead_insn): Likewise.
25231 (set_label_offsets): Likewise.
25232 (eliminate_regs_in_insn): Likewise, also for locals "base_insn" and
25234 (elimination_costs_in_insn): Likewise for param "insn".
25235 (set_initial_eh_label_offset): Replace use of NULL_RTX with NULL
25236 when referring to an insn.
25237 (set_initial_label_offsets): Likewise.
25238 (set_offsets_for_label): Strengthen param "insn" from rtx to
25240 (init_eliminable_invariants): Likewise for param "first" and local
25242 (fixup_eh_region_note): Likewise for param "insn".
25243 (reload_as_needed): Likewise for locals "prev", "insn",
25244 "old_next", "old_prev", "next".
25245 (gen_reload_chain_without_interm_reg_p): Likewise for locals "insn",
25247 (reload_inheritance_insn): Strengthen elements of this array from
25249 (failed_reload): Likewise for param "insn".
25250 (choose_reload_regs): Likewise for local "insn". Replace use of
25251 NULL_RTX with NULL when referring to an insn.
25252 (input_reload_insns): Strengthen elements of this array from rtx
25254 (other_input_address_reload_insns): Likewise for this global.
25255 (other_input_reload_insns): Likewise for this global.
25256 (input_address_reload_insns): Likwise for the elements of this
25258 (inpaddr_address_reload_insns): Likwise for the elements of this
25260 (output_reload_insns): Likewise for the elements of this array.
25261 (output_address_reload_insns): Likewise for the elements of this
25263 (outaddr_address_reload_insns): Likewise for the elements of this
25265 (operand_reload_insns): Likewise for this global.
25266 (other_operand_reload_insns): Likewise for this global.
25267 (other_output_reload_insns): Likewise for the elements of this
25269 (new_spill_reg_store): Likewise for the elements of this
25271 (emit_input_reload_insns): Likewise for locals "insn", "temp".
25272 Strengthen local "where" from rtx * to rtx_insn **.
25273 (emit_output_reload_insns): Strengthen locals "insn", "p", "next"
25274 from rtx to rtx_insn *.
25275 (do_input_reload): Likewise for local "insn".
25276 (do_output_reload): Likewise for local "insn".
25277 (emit_reload_insns): Likewise for locals "insn" and "store_insn".
25278 (emit_insn_if_valid_for_reload): Likewise for return type and local
25279 "last". Add checked cast to rtx_insn when returning "insn" since
25280 this has been through emit_insn.
25281 (gen_reload): Strengthen return type and locals "last", "insn", "set"
25282 from rtx to rtx_insn *. Add checked cast to rtx_insn when
25283 returning "insn" since it's been through
25284 emit_insn_if_valid_for_reload at this point.
25285 (delete_output_reload): Strengthen param "insn" and locals
25286 "output_reload_insn", "i2" from rtx to rtx_insn *.
25287 (delete_address_reloads): Likewise for params "dead_insn",
25288 "current_insn" and locals "prev", "next".
25289 (delete_address_reloads_1): Likewise for params "dead_insn",
25290 "current_insn" and locals "prev", "i2".
25291 (inc_for_reload): Likewise for locals "last", "add_insn".
25292 (add_auto_inc_notes): Strengthen param "insn" from rtx to
25295 * config/arc/arc-protos.h (regno_clobbered_p): Likewise for 2nd
25296 param of this duplicate of the prototype from reload.h
25298 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25300 * regstat.c (regstat_bb_compute_ri): Strengthen local "insn" from
25302 (regstat_bb_compute_calls_crossed): Likewise.
25304 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25306 * regrename.c (create_new_chain): Strengthen param "insn" from rtx
25308 (init_rename_info): Replace use of NULL_RTX with NULL when dealing
25310 (regrename_analyze): Strengthen local "insn" from rtx to
25312 (scan_rtx_reg): Likewise for param "insn".
25313 (scan_rtx_address): Likewise.
25314 (scan_rtx): Likewise.
25315 (restore_operands): Likewise.
25316 (record_out_operands): Likewise.
25317 (build_def_use): Likewise for local "insn". Replace use of
25318 NULL_RTX with NULL when dealing with an insn.
25320 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25322 * rtl.h (reg_scan): Strengthen param "f" from rtx to rtx_insn *.
25323 * reginfo.c (reg_scan): Likewise, also for local "insn".
25324 (reg_scan_mark_refs): Likewise for param "insn".
25325 (init_subregs_of_mode): Likewise for local "insn".
25327 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25329 * regcprop.c (struct queued_debug_insn_change): Strengthen field
25330 "insn" from rtx to rtx_insn *.
25331 (replace_oldest_value_reg): Likewise for param "insn".
25332 (replace_oldest_value_addr): Likewise.
25333 (replace_oldest_value_mem): Likewise.
25334 (apply_debug_insn_changes): Likewise for local "last_insn".
25335 (copyprop_hardreg_forward_1): Likewise for local "insn".
25337 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25339 * reg-stack.c (next_flags_user): Strengthen return type and param
25340 "insn" from rtx to rtx_insn *.
25341 (straighten_stack): Likewise for param "insn".
25342 (check_asm_stack_operands): Likewise.
25343 (remove_regno_note): Likewise.
25344 (emit_pop_insn): Likewise for return type, param "insn", local
25346 (emit_swap_insn): Strengthen param "insn" and locals "i1", "tmp",
25347 "limit" from rtx to rtx_insn *.
25348 (swap_to_top): Likewise for param "insn".
25349 (move_for_stack_reg): Likewise.
25350 (move_nan_for_stack_reg): Likewise.
25351 (swap_rtx_condition): Likewise.
25352 (compare_for_stack_reg): Likewise.
25353 (subst_all_stack_regs_in_debug_insn): Likewise.
25354 (subst_stack_regs_pat): Likewise, and local "insn2".
25355 (subst_asm_stack_regs): Strengthen param "insn" from rtx to
25357 (subst_stack_regs): Likewise.
25358 (change_stack): Likewise.
25359 (convert_regs_1): Likewise for locals "insn", "next".
25361 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25363 * ree.c (struct ext_cand): Strengthen field "insn" from rtx to
25365 (combine_set_extension): Likewise for param "curr_insn".
25366 (transform_ifelse): Likewise for param "def_insn".
25367 (get_defs): Likewise for param "def_insn". Strengthen param "dest"
25368 from vec<rtx> * to vec<rtx_insn *> *.
25369 (is_cond_copy_insn): Likewise for param "insn".
25370 (struct ext_state): Strengthen the four vec fields from vec<rtx>
25371 to vec<rtx_insn *>.
25372 (make_defs_and_copies_lists): Strengthen param "extend_insn" and
25373 local "def_insn" from rtx to rtx_insn *.
25374 (get_sub_rtx): Likewise for param "def_insn".
25375 (merge_def_and_ext): Likewise.
25376 (combine_reaching_defs): Likewise.
25377 (add_removable_extension): Likewise for param "insn".
25378 (find_removable_extensions): Likewise for local "insn".
25379 (find_and_remove_re): Likewise for locals "curr_insn" and
25380 "def_insn". Strengthen locals "reinsn_del_list" and
25381 "reinsn_del_list" from auto_vec<rtx> to auto_vec<rtx_insn *>.
25383 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25385 * recog.c (split_insn): Strengthen param "insn" and locals
25386 "first", "last" from rtx to rtx_insn *.
25387 (split_all_insns): Likewise for locals "insn", "next".
25388 (split_all_insns_noflow): Likewise.
25390 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25392 * rtl.h (debug_rtx_list): Strengthen param 1 "x" from const_rtx to
25394 (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
25395 (debug_rtx_find): Likewise for param 1 "x".
25397 * print-rtl.c (debug_rtx_list): Strengthen param 1 "x" from
25398 const_rtx to const rtx_insn *. Likewise for local "insn".
25399 (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
25400 (debug_rtx_find): Likewise for param 1 "x".
25401 (print_rtl): Likewise for local "tmp_rtx", adding a checked cast
25402 from const_rtx to const rtx_insn * within the appropriate cases of
25403 the switch statement.
25405 * config/rs6000/rs6000.c (rs6000_debug_legitimize_address):
25406 Strengthen local "insns" from rtx to rtx_insn * since this is
25407 passed to a call to debug_rtx_list.
25409 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25411 * predict.h (predict_insn_def): Strengthen param "insn" from rtx
25414 * function.c (stack_protect_epilogue): Add checked cast to
25415 rtx_insn for now when invoking predict_insn_def.
25417 * predict.c (predict_insn): Strengthen param "insn" from rtx to
25419 (predict_insn_def): Likewise.
25420 (rtl_predict_edge): Likewise for local "last_insn".
25421 (can_predict_insn_p): Strengthen param "insn" from const_rtx to
25423 (combine_predictions_for_insn): Strengthen param "insn" from rtx
25425 (bb_estimate_probability_locally): Likewise for local "last_insn".
25426 (expensive_function_p): Likewise for local "insn".
25428 * config/cris/cris.c (cris_emit_trap_for_misalignment): Likewise for
25429 local "jmp", since this is used when invoking predict_insn_def.
25431 2014-08-22 Marek Polacek <polacek@redhat.com>
25434 * doc/invoke.texi: Update -Wlogical-not-parentheses description.
25436 2014-08-22 Marek Polacek <polacek@redhat.com>
25439 * ira-color.c (coalesced_pseudo_reg_slot_compare): Wrap LHS of
25440 a comparison in parens.
25441 * lra-spills.c (pseudo_reg_slot_compare): Wrap LHS of a comparison
25444 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25446 * rtl.h (fis_get_condition): Strengthen param "jump" from rtx to
25449 * cprop.c (fis_get_condition): Likewise.
25451 * postreload.c (reload_cse_regs): Likewise for param "first".
25452 (reload_cse_simplify): Likewise for param "insn".
25453 (reload_cse_regs_1): Likewise for local "insn".
25454 (reload_cse_simplify_set): Likewise for param "insn".
25455 (reload_cse_simplify_operands): Likewise.
25456 (struct reg_use): Likewise for field "insn".
25457 (reload_combine_purge_insn_uses): Likewise for param "insn".
25458 (fixup_debug_insns): Likewise for params "from", "to" and local
25460 (try_replace_in_use): Likewise for local "use_insn".
25461 (reload_combine_recognize_const_pattern): Likewise for param
25462 "insn" and locals "add_moved_after_insn", "use_insn".
25463 (reload_combine_recognize_pattern): Likewise for param "insn" and
25465 (reload_combine): Likewise for locals "insn", "prev".
25466 (reload_combine_note_use): Likewise for param "insn".
25467 (move2add_use_add2_insn): Likewise.
25468 (move2add_use_add3_insn): Likewise.
25469 (reload_cse_move2add): Likewise, also for local "next".
25470 (move2add_note_store): Likewise for local "insn".
25472 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25474 * postreload-gcse.c (struct occr): Strengthen field "insn" from
25476 (struct unoccr): Likewise.
25477 (struct modifies_mem): Likewise.
25478 (alloc_mem): Likewise for local "insn".
25479 (insert_expr_in_table): Likewise for param "insn".
25480 (dump_expr_hash_table_entry): Likewise for local "insn".
25481 (oprs_unchanged_p): Likewise for param "insn".
25482 (load_killed_in_block_p): Likewise for local "setter".
25483 (record_last_reg_set_info): Likewise for param "insn".
25484 (record_last_reg_set_info_regno): Likewise.
25485 (record_last_mem_set_info): Likewise.
25486 (record_last_set_info): Likewise for local "last_set_insn".
25487 (record_opr_changes): Likewise for param "insn".
25488 (hash_scan_set): Likewise.
25489 (compute_hash_table): Likewise for local "insn".
25490 (get_avail_load_store_reg): Likewise for param "insn".
25491 (eliminate_partially_redundant_load): Likewise, also for locals
25492 "avail_insn", "next_pred_bb_end". Replace use of NULL_RTX with
25494 (eliminate_partially_redundant_loads): Likewise for local "insn".
25496 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25498 * optabs.c (expand_doubleword_shift): Strengthen local "insn" from
25500 (expand_binop): Likewise for locals "entry_last", "last", "insns"
25501 (expand_twoval_unop): Likewise for locals entry_last", "last".
25502 (expand_twoval_binop): Likewise.
25503 (expand_twoval_binop_libfunc): Likewise for local "insns".
25504 (widen_leading): Likewise for local "last".
25505 (expand_doubleword_clz): Likewise for local "seq". Strengthen
25506 locals "hi0_label", "after_label" from rtx to rtx_code_label *.
25507 (widen_bswap): Strengthen local "last" from rtx to rtx_insn *.
25508 (expand_parity): Likewise for locals "last" and "seq".
25509 (expand_ffs): Likewise for local "seq". Strengthen local
25510 "nonzero_label" from rtx to rtx_code_label *.
25511 (expand_absneg_bit): Strengthen local "insns" from rtx to
25513 (expand_unop_direct): Likewise for local "last".
25514 (expand_unop): Likewise for locals "last", "insns".
25515 (expand_abs_nojump): Likewise for local "last".
25516 (expand_abs): Strengthen local "op1" from rtx to rtx_code_label *.
25517 (expand_one_cmpl_abs_nojump): Strengthen local "last" from rtx to
25519 (expand_copysign_absneg): Strengthen local "label" from rtx to
25521 (expand_copysign_bit): Strengthen local "insns" from rtx to
25523 (struct no_conflict_data): Likewise for fields "first", "insn".
25524 (emit_libcall_block_1): Likewise for param "insns" and locals
25525 "next", "last", "insn".
25526 (emit_libcall_block): For now, add a checked cast to rtx_insn *
25527 on "insns" when invoking emit_libcall_block_1. Ultimately we
25528 want to strengthen insns itself.
25529 (prepare_cmp_insn): Strengthen local "last" from rtx to
25531 (emit_cmp_and_jump_insn_1): Likewise for local "insn".
25532 (prepare_float_lib_cmp): Likewise for local "insns".
25533 (emit_conditional_move): Likewise for local "last".
25534 (emit_conditional_add): Likewise.
25535 (have_sub2_insn): Likewise for local "seq".
25536 (expand_float): Likewise for local "insns". Strengthen locals
25537 "label", "neglabel" from rtx to rtx_code_label *.
25538 (expand_fix): Likewise for locals "last", "insn", "insns" (to
25539 rtx_insn *) and locals "lab1", "lab2" (to rtx_code_label *).
25540 (expand_fixed_convert): Likewise for local "insns" (to
25542 (expand_sfix_optab): Likewise for local "last".
25543 (expand_compare_and_swap_loop): Strengthen local "label" from rtx
25544 to rtx_code_label *.
25545 (maybe_emit_sync_lock_test_and_set): Strengthen local "last_insn"
25546 from rtx to rtx_insn *.
25547 (expand_atomic_fetch_op): Likewise for local "insn".
25548 (maybe_legitimize_operand_same_code): Likewise for local "last".
25549 (maybe_legitimize_operands): Likewise.
25551 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25553 * modulo-sched.c (struct ps_reg_move_info): Strengthen field
25554 "insn" from rtx to rtx_insn *.
25555 (ps_rtl_insn): Likewise for return type.
25556 (doloop_register_get): Likewise for params "head", "tail" and
25557 locals "insn", "first_insn_not_to_check".
25558 (schedule_reg_move): Likewise for local "this_insn".
25559 (schedule_reg_moves): Add a checked cast to rtx_insn * to result
25560 of gen_move_insn for now.
25561 (reset_sched_times): Strengthen local "insn" from rtx to
25563 (permute_partial_schedule): Likewise.
25564 (duplicate_insns_of_cycles): Likewise for local "u_insn".
25565 (dump_insn_location): Likewise for param "insn".
25566 (loop_canon_p): Likewise for local "insn".
25567 (sms_schedule): Likewise.
25568 (print_partial_schedule): Likewise.
25569 (ps_has_conflicts): Likewise.
25571 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25573 * sched-int.h (get_ebb_head_tail): Strengthen params "headp" and
25574 "tailp" from rtx * to rtx_insn **.
25576 * ddg.c (build_intra_loop_deps): Strengthen locals head", "tail"
25577 from rtx to rtx_insn *.
25578 * haifa-sched.c (get_ebb_head_tail): Strengthen params "headp" and
25579 "tailp" from rtx * to rtx_insn **. Strengthen locals "beg_head",
25580 "beg_tail", "end_head", "end_tail", "note", "next", "prev" from
25582 * modulo-sched.c (const_iteration_count): Strengthen return type
25583 and locals "insn", "head", "tail" from rtx to rtx_insn *. Replace
25584 use of NULL_RTX with NULL when working with insns.
25585 (loop_single_full_bb_p): Strengthen locals "head", "tail" from rtx
25587 (sms_schedule): Likewise.
25588 * sched-rgn.c (init_ready_list): Likewise, also for locals
25589 "src_head" and "src_next_tail".
25590 (compute_block_dependences): Likewise.
25591 (free_block_dependencies): Likewise.
25592 (debug_rgn_dependencies): Likewise.
25593 (free_rgn_deps): Likewise.
25594 (compute_priorities): Likewise.
25595 (schedule_region): Likewise.
25596 * sel-sched.c (find_ebb_boundaries): Likewise.
25598 * config/sh/sh.c (find_insn_regmode_weight): Strengthen locals
25599 "insn", "next_tail", "head", "tail" from rtx to rtx_insn *.
25601 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25603 * mode-switching.c (struct seginfo): Strengthen field "insn_ptr"
25604 from rtx to rtx_insn *.
25605 (new_seginfo): Likewise for param "insn".
25606 (create_pre_exit): Likewise for locals "last_insn",
25607 "before_return_copy", "return_copy".
25608 (optimize_mode_switching): Likewise for locals "insn", "ins_pos",
25611 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25613 * lra-int.h (struct lra_insn_recog_data): Strengthen field "insn"
25614 from rtx to rtx_insn *.
25615 (lra_push_insn): Likewise for 1st param.
25616 (lra_push_insn_and_update_insn_regno_info): Likewise.
25617 (lra_pop_insn): Likewise for return type.
25618 (lra_invalidate_insn_data): Likewise for 1st param.
25619 (lra_set_insn_deleted): Likewise.
25620 (lra_delete_dead_insn): Likewise.
25621 (lra_process_new_insns): Likewise for first 3 params.
25622 (lra_set_insn_recog_data): Likewise for 1st param.
25623 (lra_update_insn_recog_data): Likewise.
25624 (lra_set_used_insn_alternative): Likewise.
25625 (lra_invalidate_insn_regno_info): Likewise.
25626 (lra_update_insn_regno_info): Likewise.
25627 (lra_former_scratch_operand_p): Likewise.
25628 (lra_eliminate_regs_1): Likewise.
25629 (lra_get_insn_recog_data): Likewise.
25631 * lra-assigns.c (assign_by_spills): Strengthen local "insn" from
25634 * lra-coalesce.c (move_freq_compare_func): Likewise for locals
25636 (substitute_within_insn): New.
25637 (lra_coalesce): Strengthen locals "mv", "insn", "next" from rtx to
25638 rtx_insn *. Strengthen sorted_moves from rtx * to rxt_insn **.
25639 Replace call to "substitute" with call to substitute_within_insn.
25641 * lra-constraints.c (curr_insn): Strengthen from rtx to
25643 (get_equiv_with_elimination): Likewise for param "insn".
25644 (match_reload): Strengthen params "before" and "after" from rtx *
25646 (emit_spill_move): Likewise for return type. Add a checked cast
25647 to rtx_insn * on result of gen_move_insn for now.
25648 (check_and_process_move): Likewise for local "before". Replace
25649 NULL_RTX with NULL when referring to insns.
25650 (process_addr_reg): Strengthen params "before" and "after" from
25651 rtx * to rtx_insn **.
25652 (insert_move_for_subreg): Likewise.
25653 (simplify_operand_subreg): Strengthen locals "before" and "after"
25654 from rtx to rtx_insn *.
25655 (process_address_1): Strengthen params "before" and "after" from
25656 rtx * to rtx_insn **. Strengthen locals "insns", "last_insn" from
25658 (process_address): Strengthen params "before" and "after" from
25659 rtx * to rtx_insn **.
25660 (emit_inc): Strengthen local "last" from rtx to rtx_insn *.
25661 (curr_insn_transform): Strengthen locals "before" and "after"
25662 from rtx to rtx_insn *. Replace NULL_RTX with NULL when referring
25664 (loc_equivalence_callback): Update cast of "data", changing
25665 resulting type from rtx to rtx_insn *.
25666 (substitute_pseudo_within_insn): New.
25667 (inherit_reload_reg): Strengthen param "insn" from rtx to
25668 rtx_insn *; likewise for local "new_insns". Replace NULL_RTX with
25669 NULL when referring to insns. Add a checked cast to rtx_insn *
25670 when using usage_insn to invoke lra_update_insn_regno_info.
25671 (split_reg): Strengthen param "insn" from rtx to rtx_insn *;
25672 likewise for locals "restore", "save". Add checked casts to
25673 rtx_insn * when using usage_insn to invoke
25674 lra_update_insn_regno_info and lra_process_new_insns. Replace
25675 NULL_RTX with NULL when referring to insns.
25676 (split_if_necessary): Strengthen param "insn" from rtx to
25678 (update_ebb_live_info): Likewise for params "head", "tail" and local
25680 (get_last_insertion_point): Likewise for return type and local "insn".
25681 (get_live_on_other_edges): Likewise for local "last".
25682 (inherit_in_ebb): Likewise for params "head", "tail" and locals
25683 "prev_insn", "next_insn", "restore".
25684 (remove_inheritance_pseudos): Likewise for local "prev_insn".
25685 (undo_optional_reloads): Likewise for local "insn".
25687 * lra-eliminations.c (lra_eliminate_regs_1): Likewise for param
25689 (lra_eliminate_regs): Replace NULL_RTX with NULL when referring to
25691 (eliminate_regs_in_insn): Strengthen param "insn" from rtx to
25693 (spill_pseudos): Likewise for local "insn".
25694 (init_elimination): Likewise.
25695 (process_insn_for_elimination): Likewise for param "insn".
25697 * lra-lives.c (curr_insn): Likewise.;
25699 * lra-spills.c (assign_spill_hard_regs): Likewise for local "insn".
25700 (remove_pseudos): Likewise for param "insn".
25701 (spill_pseudos): Likewise for local "insn".
25702 (lra_final_code_change): Likewise for locals "insn", "curr".
25704 * lra.c (lra_invalidate_insn_data): Likewise for param "insn".
25705 (lra_set_insn_deleted): Likewise.
25706 (lra_delete_dead_insn): Likewise, and for local "prev".
25707 (new_insn_reg): Likewise for param "insn".
25708 (lra_set_insn_recog_data): Likewise.
25709 (lra_update_insn_recog_data): Likewise.
25710 (lra_set_used_insn_alternative): Likewise.
25711 (get_insn_freq): Likewise.
25712 (invalidate_insn_data_regno_info): Likewise.
25713 (lra_invalidate_insn_regno_info): Likewise.
25714 (lra_update_insn_regno_info): Likewise.
25715 (lra_constraint_insn_stack): Strengthen from vec<rtx> to
25717 (lra_push_insn_1): Strengthen param "insn" from rtx to
25719 (lra_push_insn): Likewise.
25720 (lra_push_insn_and_update_insn_regno_info): Likewise.
25721 (lra_pop_insn): Likewise for return type and local "insn".
25722 (push_insns): Likewise for params "from", "to", and local "insn".
25723 (setup_sp_offset): Likewise for params "from", "last" and locals
25725 (lra_process_new_insns): Likewise for params "insn", "before",
25726 "after" and local "last".
25727 (struct sloc): Likewise for field "insn".
25728 (lra_former_scratch_operand_p): Likewise for param "insn".
25729 (remove_scratches): Likewise for locals "insn", "last".
25730 (check_rtl): Likewise for local "insn".
25731 (add_auto_inc_notes): Likewise for param "insn".
25732 (update_inc_notes): Likewise for local "insn".
25733 (lra): Replace NULL_RTX with NULL when referring to insn.
25735 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25737 * lower-subreg.c (simple_move): Strengthen param "insn" from rtx
25739 (resolve_reg_notes): Likewise.
25740 (resolve_simple_move): Likewise for return type, param "insn", and
25741 locals "insns", "minsn".
25742 (resolve_clobber): Strengthen param "insn" from rtx to rtx_insn *.
25743 (resolve_use): Likewise.
25744 (resolve_debug): Likewise.
25745 (find_decomposable_shift_zext): Likewise.
25746 (resolve_shift_zext): Likewise for return type, param "insn", and
25747 locals "insns", "in". Eliminate use of NULL_RTX in favor of NULL.
25748 (decompose_multiword_subregs): Likewise for local "insn",
25749 "orig_insn", "decomposed_shift", "end".
25751 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25753 * basic-block.h (basic_block split_edge_and_insert): Strengthen
25754 param "insns" from rtx to rtx_insn *.
25756 * loop-unroll.c (struct iv_to_split): Strengthen field "insn" from
25758 (struct iv_to_split): Likewise.
25759 (loop_exit_at_end_p): Likewise for local "insn".
25760 (split_edge_and_insert): Likewise for param "insns".
25761 (compare_and_jump_seq): Likewise for return type, param "cinsn",
25762 and locals "seq", "jump".
25763 (unroll_loop_runtime_iterations): Likewise for locals "init_code",
25764 "branch_code"; update invocations of compare_and_jump_seq to
25765 eliminate NULL_RTX in favor of NULL.
25766 (referenced_in_one_insn_in_loop_p): Strengthen local "insn" from
25768 (reset_debug_uses_in_loop): Likewise.
25769 (analyze_insn_to_expand_var): Likewise for param "insn".
25770 (analyze_iv_to_split_insn): Likewise.
25771 (analyze_insns_in_loop): Likewise for local "insn".
25772 (insert_base_initialization): Likewise for param
25773 "insn" and local "seq".
25774 (split_iv): Likewise for param "insn" and local "seq".
25775 (expand_var_during_unrolling): Likewise for param "insn".
25776 (insert_var_expansion_initialization): Likewise for local "seq".
25777 (combine_var_copies_in_loop_exit): Likewise.
25778 (combine_var_copies_in_loop_exit): Likewise for locals "seq" and
25780 (maybe_strip_eq_note_for_split_iv): Likewise for param "insn".
25781 (apply_opt_in_copies): Likewise for locals "insn", "orig_insn",
25784 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25786 * cfgloop.h (iv_analyze): Strengthen param 1 "insn" from rtx to
25788 (iv_analyze_result): Likewise.
25789 (iv_analyze_expr): Likewise.
25792 * loop-iv.c (iv_get_reaching_def): Strengthen param "insn" and
25793 local "def_insn" from rtx to rtx_insn *.
25794 (get_biv_step_1): Likewise for local "insn".
25795 (iv_analyze_expr): Likewise for param "insn".
25796 (iv_analyze_def): Likewise for local "insn".
25797 (iv_analyze_op): Likewise for param "insn".
25798 (iv_analyze): Likewise.
25799 (iv_analyze_result): Likewise.
25801 (suitable_set_for_replacement): Likewise.
25802 (simplify_using_initial_values): Likewise for local "insn".
25803 (iv_number_of_iterations): Likewise for param "insn".
25804 (check_simple_exit): Add checked cast to rtx_insn when invoking
25805 iv_number_of_iterations for now (until get_condition is
25808 * loop-unroll.c (analyze_iv_to_split_insn): Strengthen param
25809 "insn" from rtx to rtx_insn *.
25810 (analyze_insns_in_loop): Likewise for local "insn".
25812 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25814 * loop-invariant.c (struct use): Strengthen field "insn" from rtx
25816 (struct invariant): Likewise.
25817 (hash_invariant_expr_1): Likewise for param "insn".
25818 (invariant_expr_equal_p): Likewise for param "insn1", "insn2".
25819 (find_exits): Likewise for local "insn".
25820 (create_new_invariant): Likewise for param "insn".
25821 (check_dependencies): Likewise.
25822 (find_invariant_insn): Likewise.
25823 (record_uses): Likewise.
25824 (find_invariants_insn): Likewise.
25825 (find_invariants_bb): Likewise for local "insn".
25826 (get_pressure_class_and_nregs): Likewise for param "insn".
25827 (calculate_loop_reg_pressure): Likewise for local "insn".
25829 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25831 * loop-doloop.c (doloop_valid_p): Strengthen local "insn" from rtx
25833 (add_test): Likewise for locals "seq", "jump".
25834 (doloop_modify): Likewise for locals "sequence", "jump_insn".
25836 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25838 * rtl.h (rebuild_jump_labels): Strengthen param "f" from rtx to
25840 (rebuild_jump_labels_chain): Likewise for param "chain".
25842 * cfgexpand.c (pass_expand::execute): Add checked cast to
25843 rtx_insn * when calling rebuild_jump_labels_chain in region where
25844 we know e->insns.r is non-NULL.
25846 * jump.c (rebuild_jump_labels_1): Strengthen param "f" from rtx to
25848 (rebuild_jump_labels): Likewise.
25849 (rebuild_jump_labels_chain): Likewise for param "chain".
25850 (cleanup_barriers): Likewise for locals "insn", "next", "prev".
25851 (init_label_info): Likewise for param "f".
25852 (maybe_propagate_label_ref): Likewise for params "jump_insn",
25853 "prev_nonjump_insn".
25854 (mark_all_labels): Likewise for param "f" and locals "insn",
25855 "prev_nonjump_insn".
25857 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25859 * ira-int.h (struct ira_allocno_copy): Strengthen field "insn"
25860 from rtx to rtx_insn *insn.
25861 (ira_create_copy): Strengthen param "insn" from rtx to rtx_insn *.
25862 (ira_add_allocno_copy): Likewise.
25863 * ira-build.c (find_allocno_copy): Strengthen param "insn" from
25865 (ira_create_copy): Likewise.
25866 (ira_add_allocno_copy): Likewise.
25867 (create_bb_allocnos): Likewise for local "insn".
25868 * ira-conflicts.c (process_regs_for_copy): Likewise for param "insn".
25869 (process_reg_shuffles): Update NULL_RTX to NULL in invocation of
25870 process_regs_for_copy for rtx_insn * param.
25871 (add_insn_allocno_copies): Strengthen param "insn" from rtx to
25872 rtx_insn *insn. Update NULL_RTX to NULL in invocation of
25873 process_regs_for_copy for rtx_insn * param.
25874 (add_copies): Strengthen local "insn" from rtx to rtx_insn *insn.
25875 * ira-costs.c (record_reg_classes): Likewise for param "insn".
25876 (record_operand_costs): Likewise.
25877 (scan_one_insn): Likewise for return type, and for param "insn".
25878 (process_bb_for_costs): Likewise for local "insn".
25879 (process_bb_node_for_hard_reg_moves): Likewise.
25880 * ira-emit.c (struct move): Likewise for field "insn".
25881 (create_move): Eliminate use of NULL_RTX when dealing with an
25883 (emit_move_list): Strengthen return type and locals "result",
25884 "insn" from rtx to rtx_insn *insn.
25885 (emit_moves): Likewise for locals "insns", "tmp".
25886 (ira_emit): Likewise for local "insn".
25887 * ira-lives.c (mark_hard_reg_early_clobbers): Likewise for param
25889 (find_call_crossed_cheap_reg): Likewise.
25890 (process_bb_node_lives): Likewise for local "insn".
25891 * ira.c (decrease_live_ranges_number): Likewise.
25892 (compute_regs_asm_clobbered): Likewise.
25893 (build_insn_chain): Likewise.
25894 (find_moveable_pseudos): Likewise, also locals "def_insn",
25895 "use_insn", "x". Also strengthen local "closest_uses" from rtx *
25896 to rtx_insn **. Add a checked cast when assigning from
25897 "closest_use" into closest_uses array in a region where we know
25898 it's a non-NULL insn.
25899 (interesting_dest_for_shprep): Strengthen param "insn" from rtx
25901 (split_live_ranges_for_shrink_wrap): Likewise for locals "insn",
25902 "last_interesting_insn", "uin".
25903 (move_unallocated_pseudos): Likewise for locals "def_insn",
25904 "move_insn", "newinsn".
25906 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25908 * internal-fn.c (ubsan_expand_si_overflow_addsub_check):
25909 Strengthen locals "done_label", "do_error" from rtx to
25911 (ubsan_expand_si_overflow_addsub_check): Strengthen local "last"
25912 from rtx to rtx_insn *. Strengthen local "sub_check from rtx to
25914 (ubsan_expand_si_overflow_neg_check): Likewise for locals
25915 "done_label", "do_error" to rtx_code_label * and local "last" to
25917 (ubsan_expand_si_overflow_mul_check): Likewise for locals
25918 "done_label", "do_error", "large_op0", "small_op0_large_op1",
25919 "one_small_one_large", "both_ops_large", "after_hipart_neg",
25920 "after_lopart_neg", "do_overflow", "hipart_different" to
25921 rtx_code_label * and local "last" to rtx_insn *.
25923 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25925 * init-regs.c (initialize_uninitialized_regs): Strengthen locals
25926 "insn" and "move_insn" from rtx to rtx_insn *.
25928 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25930 * ifcvt.c (count_bb_insns): Strengthen local "insn" from rtx to
25932 (cheap_bb_rtx_cost_p): Likewise.
25933 (first_active_insn): Likewise for return type and local "insn".
25934 (last_active_insn): Likewise for return type and locals "insn",
25936 (struct noce_if_info): Likewise for fields "jump", "insn_a",
25938 (end_ifcvt_sequence): Likewise for return type and locals "insn",
25940 (noce_try_move): Likewise for local "seq".
25941 (noce_try_store_flag): Likewise.
25942 (noce_try_store_flag_constants): Likewise.
25943 (noce_try_addcc): Likewise.
25944 (noce_try_store_flag_mask): Likewise.
25945 (noce_try_cmove): Likewise.
25946 (noce_try_minmax): Likewise.
25947 (noce_try_abs): Likewise.
25948 (noce_try_sign_mask): Likewise.
25949 (noce_try_bitop): Likewise.
25950 (noce_can_store_speculate_p): Likewise for local "insn".
25951 (noce_process_if_block): Likewise for locals "insn_a", "insn_b",
25953 (check_cond_move_block): Likewise for local "insn".
25954 (cond_move_convert_if_block): Likewise.
25955 (cond_move_process_if_block): Likewise for locals "seq",
25957 (noce_find_if_block): Likewise for local "jump".
25958 (merge_if_block): Likewise for local "last".
25959 (block_jumps_and_fallthru_p): Likewise for locals "insn", "end".
25960 (find_cond_trap): Likewise for locals "trap", "jump", "newjump".
25961 (block_has_only_trap): Likewise for return type and local "trap".
25962 (find_if_case_1): Likewise for local "jump".
25963 (dead_or_predicable): Likewise for locals "head", "end", "jump",
25966 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25968 * hw-doloop.h (struct hwloop_info_d): Strengthen fields
25969 "last_insn", "loop_end" from rtx to rtx_insn *.
25971 * hw-doloop.c (scan_loop): Likewise for local "insn".
25972 (discover_loop): Likewise for param "tail_insn".
25973 (discover_loops): Likewise for local "tail".
25975 * config/bfin/bfin.c (hwloop_optimize): For now, add a checked
25976 cast to rtx_insn * when assigning from an rtx local to a
25977 hwloop_info's "last_insn" field.
25979 2014-08-22 David Malcolm <dmalcolm@redhat.com>
25981 * haifa-sched.c (bb_header): Strengthen from rtx * to rtx_insn **.
25982 (add_delay_dependencies): Strengthen local "pro" from rtx to
25984 (recompute_todo_spec): Likewise.
25985 (dep_cost_1): Likewise for locals "insn", "used".
25986 (schedule_insn): Likewise for local "dbg".
25987 (schedule_insn): Likewise for locals "pro", "next".
25988 (unschedule_insns_until): Likewise for local "con".
25989 (restore_pattern): Likewise for local "next".
25990 (estimate_insn_tick): Likewise for local "pro".
25991 (resolve_dependencies): Likewise for local "next".
25992 (fix_inter_tick): Likewise.
25993 (fix_tick_ready): Likewise for local "pro".
25994 (add_to_speculative_block): Likewise for locals "check", "twin",
25996 (sched_extend_bb): Likewise for locals "end", "insn".
25997 (init_before_recovery): Likewise for local "x".
25998 (sched_create_recovery_block): Likewise for local "barrier".
25999 (create_check_block_twin): Likewise for local "pro".
26000 (fix_recovery_deps): Likewise for locals "note", "insn", "jump",
26002 (unlink_bb_notes): Update for change to type of bb_header.
26003 Strengthen locals "prev", "label", "note", "next" from rtx to
26005 (clear_priorities): Likewise for local "pro".
26007 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26009 * gcse.c (struct occr): Strengthen field "insn" from rtx to
26011 (test_insn): Likewise for this global.
26012 (oprs_unchanged_p): Strengthen param "insn" from const_rtx to
26014 (oprs_anticipatable_p): Likewise.
26015 (oprs_available_p): Likewise.
26016 (insert_expr_in_table): Strengthen param "insn" from rtx to
26018 (hash_scan_set): Likewise.
26019 (hash_scan_clobber): Likewise.
26020 (hash_scan_call): Likewise.
26021 (hash_scan_insn): Likewise.
26022 (compute_hash_table_work): Likewise for local "insn".
26023 (process_insert_insn): Likewise for return type and local "pat".
26024 (insert_insn_end_basic_block): Likewise for locals "new_insn",
26025 "pat", "pat_end", "maybe_cc0_setter".
26026 (pre_edge_insert): Likewise for local "insn".
26027 (pre_insert_copy_insn): Likewise for param "insn".
26028 (pre_insert_copies): Likewise for local "insn".
26029 (struct set_data): Likewise for field "insn".
26030 (single_set_gcse): Likewise for param "insn".
26031 (gcse_emit_move_after): Likewise.
26032 (pre_delete): Likewise for local "insn".
26033 (update_bb_reg_pressure): Likewise for param "from" and local
26035 (should_hoist_expr_to_dom): Likewise for param "from".
26036 (hoist_code): Likewise for local "insn".
26037 (get_pressure_class_and_nregs): Likewise for param "insn".
26038 (calculate_bb_reg_pressure): Likewise for local "insn".
26039 (compute_ld_motion_mems): Likewise.
26041 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26043 * genpeep.c (main): Rename param back from "uncast_ins1" to
26044 "ins1", strengthening from rtx to rtx_insn *. Drop now-redundant
26047 * output.h (peephole): Strengthen param from rtx to rtx_insn *.
26049 2014-08-22 Michael Meissner <meissner@linux.vnet.ibm.com>
26052 * doc/md.texi (Machine Constraints): Update PowerPC wi constraint
26053 documentation to state it is only for VSX operations.
26055 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Make wi
26056 constraint only active if VSX.
26058 * config/rs6000/rs6000.md (lfiwax): Use wj constraint instead of
26059 wi cosntraint for ISA 2.07 lxsiwax/lxsiwzx instructions.
26060 (lfiwzx): Likewise.
26062 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26064 * fwprop.c (single_def_use_dom_walker::before_dom_children):
26065 Strengthen local "insn" from rtx to rtx_insn *.
26066 (use_killed_between): Likewise for param "target_insn".
26067 (all_uses_available_at): Likewise for param "target_insn" and
26069 (update_df_init): Likewise for params "def_insn", "insn".
26070 (update_df): Likewise for param "insn".
26071 (try_fwprop_subst): Likewise for param "def_insn" and local
26073 (free_load_extend): Likewise for param "insn".
26074 (forward_propagate_subreg): Likewise for param "def_insn" and
26076 (forward_propagate_asm): Likewise for param "def_insn" and local
26078 (forward_propagate_and_simplify): Likewise for param "def_insn"
26079 and local "use_insn".
26080 (forward_propagate_into): Likewise for locals "def_insn" and
26083 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26085 * function.c (emit_initial_value_sets): Strengthen local "seq"
26086 from rtx to rtx_insn *.
26087 (instantiate_virtual_regs_in_insn): Likewise for param "insn" and
26089 (instantiate_virtual_regs): Likewise for local "insn".
26090 (assign_parm_setup_reg): Likewise for locals "linsn", "sinsn".
26091 (reorder_blocks_1): Likewise for param "insns" and local "insn".
26092 (expand_function_end): Likewise for locals "insn" and "seq".
26093 (epilogue_done): Likewise for local "insn".
26094 (thread_prologue_and_epilogue_insns): Likewise for locals "prev",
26096 (reposition_prologue_and_epilogue_notes): Likewise for locals
26097 "insn", "last", "note", "first".
26098 (match_asm_constraints_1): Likewise for param "insn" and local "insns".
26099 (pass_match_asm_constraints::execute): Likewise for local "insn".
26101 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26103 * output.h (final_scan_insn): Strengthen return type from rtx to
26105 (final_forward_branch_p): Likewise for param.
26106 (current_output_insn): Likewise for this global.
26108 * final.c (rtx debug_insn): Likewise for this variable.
26109 (current_output_insn): Likewise.
26110 (get_attr_length_1): Rename param "insn" to "uncast_insn",
26111 adding "insn" back in as an rtx_insn * with a checked cast, so
26112 that macro ADJUST_INSN_LENGTH can be passed an rtx_insn * as the
26114 (compute_alignments): Strengthen local "label" from rtx to
26116 (shorten_branches): Rename param from "first" to "uncast_first",
26117 introducing a new local rtx_insn * "first" using a checked cast to
26118 effectively strengthen "first" from rtx to rtx_insn * without
26119 affecting the type signature. Strengthen locals "insn", "seq",
26120 "next", "label" from rtx to rtx_insn *.
26121 (change_scope): Strengthen param "orig_insn" and local "insn" from
26123 (final_start_function): Rename param from "first" to "uncast_first",
26124 introducing a new local rtx_insn * "first" using a checked cast to
26125 effectively strengthen "first" from rtx to rtx_insn * without
26126 affecting the type signature. Strengthen local "insn" from rtx to
26128 (dump_basic_block_info): Strengthen param "insn" from rtx to
26130 (final): Rename param from "first" to "uncast_first",
26131 introducing a new local rtx_insn * "first" using a checked cast to
26132 effectively strengthen "first" from rtx to rtx_insn * without
26133 affecting the type signature. Strengthen locals "insn", "next"
26134 from rtx to rtx_insn *.
26135 (output_alternate_entry_point): Strengthen param "insn" from rtx to
26137 (call_from_call_insn): Strengthen param "insn" from rtx to
26139 (final_scan_insn): Rename param from "insn" to "uncast_insn",
26140 introducing a new local rtx_insn * "insn" using a checked cast to
26141 effectively strengthen "insn" from rtx to rtx_insn * without
26142 affecting the type signature. Strengthen return type and locals
26143 "next", "note", "prev", "new_rtx" from rtx to rtx_insn *. Remove
26144 now-redundant checked cast to rtx_insn * from both invocations of
26145 debug_hooks->var_location. Convert CALL_P into a dyn_cast,
26146 introducing a local "call_insn" for use when invoking
26147 call_from_call_insn.
26148 (notice_source_line): Strengthen param "insn" from rtx to
26150 (leaf_function_p): Likewise for local "insn".
26151 (final_forward_branch_p): Likewise.
26152 (leaf_renumber_regs): Likewise for param "first".
26153 (rest_of_clean_state): Likewise for locals "insn" and "next".
26154 (self_recursive_call_p): Likewise for param "insn".
26155 (collect_fn_hard_reg_usage): Likewise for local "insn".
26156 (get_call_fndecl): Likewise for param "insn".
26157 (get_call_cgraph_rtl_info): Likewise.
26158 (get_call_reg_set_usage): Rename param from "insn" to "uncast_insn",
26159 introducing a new local rtx_insn * "insn" using a checked cast to
26160 effectively strengthen "insn" from rtx to rtx_insn * without
26161 affecting the type signature.
26163 * config/arc/arc.c (arc_final_prescan_insn): For now, add checked
26164 cast when assigning from param "insn" to current_output_insn.
26165 (arc_pad_return): Strengthen local "insn" from rtx to rtx_insn *
26166 so that we can assign it back to current_output_insn.
26168 2014-08-20 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
26170 * config/avr/avr-mcus.def: Remove atmega26hvg, atmega64rfa2,
26171 atmega48hvf, atxmega32x1, atmxt224, atmxt224e, atmxt336s,
26172 atmxt540s and atmxt540sreva devices.
26173 * config/avr/avr-tables.opt: Regenerate.
26174 * config/avr/t-multilib: Regenerate.
26175 * doc/avr-mmcu.texi: Regenerate.
26177 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26179 * expr.c (convert_move): Strengthen local "insns" from rtx to
26181 (emit_block_move_via_loop): Strengthen locals "cmp_label" and
26182 "top_label" from rtx to rtx_code_label *.
26183 (move_block_to_reg): Strengthen local "insn", "last" from rtx to
26185 (emit_single_push_insn): Likewise for locals "prev", "last".
26186 (store_expr): Strengthen locals "lab1", "lab2", "label" from rtx
26187 to rtx_code_label *.
26188 (store_constructor): Likewise for locals "loop_start", "loop_end".
26189 (expand_cond_expr_using_cmove): Strengthen local "seq" from rtx to
26191 (expand_expr_real_2): Likewise.
26192 (expand_expr_real_1): Strengthen local "label" from rtx to
26195 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26197 * expmed.c (store_bit_field_using_insv): Strengthen local "last"
26198 from rtx to rtx_insn *.
26199 (store_bit_field_1): Likewise.
26200 (extract_bit_field_1): Likewise.
26201 (expand_mult_const): Likewise for local "insns".
26202 (expmed_mult_highpart): Strengthen local "label" from rtx to
26204 (expand_smod_pow2): Likewise.
26205 (expand_sdiv_pow2): Likewise.
26206 (expand_divmod): Strengthen locals "last", "insn" from rtx to
26207 rtx_insn *. Strengthen locals "label", "label1", "label2",
26208 "label3", "label4", "label5", "lab" from rtx to rtx_code_label *.
26209 (emit_cstore): Strengthen local "last" from rtx to rtx_insn *.
26210 (emit_store_flag): Likewise.
26211 (emit_store_flag_force): Strengthen local "label" from rtx to
26213 (do_cmp_and_jump): Likewise for param "label".
26215 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26217 * explow.c (force_reg): Strengthen local "insn" from rtx to
26219 (adjust_stack_1): Likewise.
26220 (allocate_dynamic_stack_space): Likewise. Strengthen locals
26221 "final_label", "available_label", "space_available" from rtx to
26223 (probe_stack_range): Likewise for locals "loop_lab", "end_lab".
26224 (anti_adjust_stack_and_probe): Likewise.
26226 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26228 * except.h (sjlj_emit_function_exit_after): Strengthen param
26229 "after" from rtx to rtx_insn *. This is only called with
26230 result of get_last_insn (in function.c) so type-change should be
26233 * function.h (struct rtl_eh): Strengthen field "ehr_label" from
26234 rtx to rtx_code_label *, and field "sjlj_exit_after" from rtx
26235 to rtx_insn *. These fields are only used from except.c so this
26236 type-change should be self-contained to this patch.
26238 * except.c (emit_to_new_bb_before): Strengthen param "seq" and
26239 local "last" from rtx to rtx_insn *.
26240 (dw2_build_landing_pads): Likewise for local "seq".
26241 (sjlj_mark_call_sites): Likewise for locals "insn", "before", p".
26242 (sjlj_emit_function_enter): Strengthen param "dispatch_label" from
26243 rtx to rtx_code_label *. Strengthen locals "fn_begin", "seq" from
26245 (sjlj_emit_function_exit_after): Strengthen param "after" from rtx
26247 (sjlj_emit_function_exit): Likewise for locals "seq", "insn".
26248 (sjlj_emit_dispatch_table): Likewise for locals "seq", "seq2".
26249 (sjlj_build_landing_pads): Replace NULL_RTX with NULL when
26250 referring to an insn. Strengthen local "dispatch_label" from
26251 rtx to rtx_code_label *.
26252 (set_nothrow_function_flags): Strengthen local "insn" from rtx to
26254 (expand_eh_return): Strengthen local "around_label" from
26255 rtx to rtx_code_label *.
26256 (convert_to_eh_region_ranges): Strengthen locals "iter",
26257 "last_action_insn", "first_no_action_insn",
26258 "first_no_action_insn_before_switch",
26259 "last_no_action_insn_before_switch", from rtx to rtx_insn *.
26261 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26263 * dwarf2out.c (last_var_location_insn): Strengthen this variable
26264 from rtx to rtx_insn *.
26265 (cached_next_real_insn): Likewise.
26266 (dwarf2out_end_epilogue): Replace use of NULL_RTX with NULL when
26267 working with insns.
26268 (dwarf2out_var_location): Strengthen locals "next_real",
26269 "next_note", "expected_next_loc_note", "last_start", "insn" from
26272 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26274 * dwarf2cfi.c (add_cfis_to_fde): Strengthen locals "insn", "next"
26275 from rtx to rtx_insn *.
26276 (create_pseudo_cfg): Likewise for local "insn".
26278 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26280 * df-core.c (df_bb_regno_first_def_find): Strengthen local "insn"
26281 from rtx to rtx_insn *.
26282 (df_bb_regno_last_def_find): Likewise.
26284 * df-problems.c (df_rd_bb_local_compute): Likewise.
26285 (df_lr_bb_local_compute): Likewise.
26286 (df_live_bb_local_compute): Likewise.
26287 (df_chain_remove_problem): Likewise.
26288 (df_chain_create_bb): Likewise.
26289 (df_word_lr_bb_local_compute): Likewise.
26290 (df_remove_dead_eq_notes): Likewise for param "insn".
26291 (df_note_bb_compute): Likewise for local "insn".
26292 (simulate_backwards_to_point): Likewise.
26293 (df_md_bb_local_compute): Likewise.
26295 * df-scan.c (df_scan_free_bb_info): Likewise.
26296 (df_scan_start_dump): Likewise.
26297 (df_scan_start_block): Likewise.
26298 (df_install_ref_incremental): Likewise for local "insn".
26299 (df_insn_rescan_all): Likewise.
26300 (df_reorganize_refs_by_reg_by_insn): Likewise.
26301 (df_reorganize_refs_by_insn_bb): Likewise.
26302 (df_recompute_luids): Likewise.
26303 (df_bb_refs_record): Likewise.
26304 (df_update_entry_exit_and_calls): Likewise.
26305 (df_bb_verify): Likewise.
26307 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26309 * ddg.h (struct ddg_node): Strengthen fields "insn" and
26310 "first_note" from rtx to rtx_insn *.
26311 (get_node_of_insn): Likewise for param 2 "insn".
26312 (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
26314 * ddg.c (mem_read_insn_p): Strengthen param "insn" from rtx to
26316 (mem_write_insn_p): Likewise.
26317 (mem_access_insn_p): Likewise.
26318 (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
26319 (def_has_ccmode_p): Likewise for param "insn".
26320 (add_cross_iteration_register_deps): Likewise for locals
26321 "def_insn" and "use_insn".
26322 (insns_may_alias_p): Likewise for params "insn1" and "insn2".
26323 (build_intra_loop_deps): Likewise for local "src_insn".
26324 (create_ddg): Strengthen locals "insn" and "first_note" from rtx
26326 (get_node_of_insn): Likewise for param "insn".
26328 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26330 * dce.c (worklist): Strengthen from vec<rtx> to vec<rtx_insn *>.
26331 (deletable_insn_p): Strengthen param "insn" from rtx to
26332 rtx_insn *. Add checked cast to rtx_call_insn when invoking
26333 find_call_stack_args, since this is guarded by CALL_P (insn).
26334 (marked_insn_p): Strengthen param "insn" from rtx to
26336 (mark_insn): Likewise. Add checked cast to rtx_call_insn when
26337 invoking find_call_stack_args, since this is guarded by
26339 (mark_nonreg_stores_1): Strengthen cast of "data" from rtx to
26340 rtx_insn *; we know this is an insn since this was called by
26341 mark_nonreg_stores.
26342 (mark_nonreg_stores_2): Likewise.
26343 (mark_nonreg_stores): Strengthen param "insn" from rtx to
26345 (find_call_stack_args): Strengthen param "call_insn" from rtx to
26346 rtx_call_insn *; strengthen locals "insn" and "prev_insn" from rtx
26348 (remove_reg_equal_equiv_notes_for_defs): Strengthen param "insn"
26349 from rtx to rtx_insn *.
26350 (reset_unmarked_insns_debug_uses): Likewise for locals "insn",
26351 "next", "ref_insn".
26352 (delete_unmarked_insns): Likewise for locals "insn", "next".
26353 (prescan_insns_for_dce): Likewise for locals "insn", "prev".
26354 (mark_reg_dependencies): Likewise for param "insn".
26355 (rest_of_handle_ud_dce): Likewise for local "insn".
26356 (word_dce_process_block): Likewise.
26357 (dce_process_block): Likewise.
26359 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26361 * cse.c (struct qty_table_elem): Strengthen field "const_insn"
26362 from rtx to rtx_insn *.
26363 (struct change_cc_mode_args): Likewise for field "insn".
26364 (this_insn): Strengthen from rtx to rtx_insn *.
26365 (make_new_qty): Replace use of NULL_RTX with NULL when dealing
26367 (validate_canon_reg): Strengthen param "insn" from rtx to
26369 (canon_reg): Likewise.
26370 (fold_rtx): Likewise. Replace use of NULL_RTX with NULL when
26372 (record_jump_equiv): Strengthen param "insn" from rtx to
26374 (try_back_substitute_reg): Likewise, also for locals "prev",
26376 (find_sets_in_insn): Likewise for param "insn".
26377 (canonicalize_insn): Likewise.
26378 (cse_insn): Likewise. Add a checked cast.
26379 (invalidate_from_clobbers): Likewise for param "insn".
26380 (invalidate_from_sets_and_clobbers): Likewise.
26381 (cse_process_notes_1): Replace use of NULL_RTX with NULL when
26383 (cse_prescan_path): Strengthen local "insn" from rtx to
26385 (cse_extended_basic_block): Likewise for locals "insn" and
26387 (cse_main): Likewise for param "f".
26388 (check_for_label_ref): Likewise for local "insn".
26389 (set_live_p): Likewise for second param ("insn").
26390 (insn_live_p): Likewise for first param ("insn") and for local
26392 (cse_change_cc_mode_insn): Likewise for first param "insn".
26393 (cse_change_cc_mode_insns): Likewise for first and second params
26395 (cse_cc_succs): Likewise for locals "insns", "last_insns", "insn"
26397 (cse_condition_code_reg): Likewise for locals "last_insn", "insn",
26400 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
26401 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
26402 Anna Tikhonova <anna.tikhonova@intel.com>
26403 Ilya Tocar <ilya.tocar@intel.com>
26404 Andrey Turetskiy <andrey.turetskiy@intel.com>
26405 Ilya Verbin <ilya.verbin@intel.com>
26406 Kirill Yukhin <kirill.yukhin@intel.com>
26407 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
26409 * config/i386/subst.md (define_subst_attr "mask_avx512bw_condition"):
26411 * config/i386/sse.md
26412 (define_mode_iterator VI248_AVX2): Delete.
26413 (define_mode_iterator VI2_AVX2_AVX512BW): New.
26414 (define_mode_iterator VI48_AVX2): Ditto.
26415 (define_insn <shift_insn><mode>3): Delete.
26416 (define_insn "<shift_insn><mode>3<mask_name>" with
26417 VI2_AVX2_AVX512BW): New.
26418 (define_insn "<shift_insn><mode>3<mask_name>" with
26421 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
26422 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
26423 Anna Tikhonova <anna.tikhonova@intel.com>
26424 Ilya Tocar <ilya.tocar@intel.com>
26425 Andrey Turetskiy <andrey.turetskiy@intel.com>
26426 Ilya Verbin <ilya.verbin@intel.com>
26427 Kirill Yukhin <kirill.yukhin@intel.com>
26428 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
26430 * config/i386/sse.md
26431 (define_mode_iterator VI4F_BRCST32x2): New.
26432 (define_mode_attr 64x2_mode): Ditto.
26433 (define_mode_attr 32x2mode): Ditto.
26434 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>"
26435 with VI4F_BRCST32x2): Ditto.
26436 (define_insn "<mask_codefor>avx512vl_broadcast<mode><mask_name>_1"
26437 with V16FI mode iterator): Ditto.
26438 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
26439 with V16FI): Ditto.
26440 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
26441 with VI8F_BRCST64x2): Ditto.
26443 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
26444 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
26445 Anna Tikhonova <anna.tikhonova@intel.com>
26446 Ilya Tocar <ilya.tocar@intel.com>
26447 Andrey Turetskiy <andrey.turetskiy@intel.com>
26448 Ilya Verbin <ilya.verbin@intel.com>
26449 Kirill Yukhin <kirill.yukhin@intel.com>
26450 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
26452 * config/i386/sse.md
26453 (define_mode_iterator VI8_AVX512VL): New.
26454 (define_insn "avx512cd_maskb_vec_dup<mode>"): Macroize.
26456 2014-08-22 Kirill Yukhin <kirill.yukhin@intel.com>
26458 * gcc/config/i386/sse.md (define_mode_iterator V_AVX512VL): Delete.
26459 (define_mode_iterator V48_AVX512VL): New.
26460 (define_mode_iterator V12_AVX512VL): Ditto.
26461 (define_insn <avx512>_load<mode>_mask): Split into two similar
26462 patterns which use different mode iterators: V48_AVX512VL V12_AVX512VL.
26463 Refactor output template.
26464 (define_insn "<avx512>_store<mode>_mask"): Ditto.
26466 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26468 * cprop.c (struct occr): Strengthen field "insn" from rtx to
26470 (reg_available_p): Likewise for param "insn".
26471 (insert_set_in_table): Likewise.
26472 (hash_scan_set): Likewise.
26473 (hash_scan_insn): Likewise.
26474 (make_set_regs_unavailable): Likewise.
26475 (compute_hash_table_work): Likewise for local "insn".
26476 (reg_not_set_p): Strengthen param "insn" from const_rtx to
26478 (mark_oprs_set): Strengthen param "insn" from rtx to rtx_insn *.
26479 (try_replace_reg): Likewise.
26480 (find_avail_set): Likewise.
26481 (cprop_jump): Likewise for params "setcc", "jump".
26482 (constprop_register): Likewise for param "insn".
26483 (cprop_insn): Likewise.
26484 (do_local_cprop): Likewise.
26485 (local_cprop_pass): Likewise for local "insn".
26486 (bypass_block): Likewise for params "setcc" and "jump".
26487 (bypass_conditional_jumps): Likewise for locals "setcc" and
26489 (one_cprop_pass): Likewise for local "insn".
26491 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26493 * compare-elim.c (struct comparison_use): Strengthen field "insn"
26494 from rtx to rtx_insn *.
26495 (struct comparison): Likewise, also for field "prev_clobber".
26496 (conforming_compare): Likewise for param "insn".
26497 (arithmetic_flags_clobber_p): Likewise.
26498 (find_flags_uses_in_insn): Likewise.
26499 (find_comparison_dom_walker::before_dom_children): Likewise for
26500 locals "insn", "next", "last_clobber".
26501 (try_eliminate_compare): Likewise for locals "insn", "bb_head".
26503 2014-08-22 David Malcolm <dmalcolm@redhat.com>
26505 * combine-stack-adj.c (struct csa_reflist): Strengthen field
26506 "insn" from rtx to rtx_insn *.
26507 (single_set_for_csa): Likewise for param "insn".
26508 (record_one_stack_ref): Likewise.
26509 (try_apply_stack_adjustment): Likewise.
26510 (struct record_stack_refs_data): Likewise for field "insn".
26511 (maybe_move_args_size_note): Likewise for params "last" and "insn".
26512 (prev_active_insn_bb): Likewise for return type and param "insn".
26513 (next_active_insn_bb): Likewise.
26514 (force_move_args_size_note): Likewise for params "prev" and "last"
26515 and locals "test", "next_candidate", "prev_candidate".
26516 (combine_stack_adjustments_for_block): Strengthen locals
26517 "last_sp_set", "last2_sp_set", "insn", "next" from rtx to
26520 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26522 * combine.c (i2mod): Strengthen this variable from rtx to rtx_insn *.
26523 (struct reg_stat_struct): Likewise for fields "last_death", "last_set".
26524 (subst_insn): Likewise for this variable.
26525 (added_links_insn): Likewise.
26526 (struct insn_link): Likewise for field "insn".
26527 (alloc_insn_link): Likewise for param "insn".
26528 (struct undobuf): Likewise for field "other_insn".
26529 (find_single_use): Likewise for param "insn" and local "next".
26530 (combine_validate_cost): Likewise for params "i0", "i1", "i2", "i3".
26531 (delete_noop_moves): Likewise for locals "insn", "next".
26532 (create_log_links): Likewise for locals "insn", "use_insn".
26533 Strengthen local "next_use" from rtx * to rtx_insn **.
26534 (insn_a_feeds_b): Likewise for params "a", "b".
26535 (combine_instructions): Likewise for param "f" and locals "insn",
26536 "next", "prev", "first", "last_combined_insn", "link", "link1",
26537 "temp". Replace use of NULL_RTX with NULL when referring to
26539 (setup_incoming_promotions): Likewise for param "first"
26540 (set_nonzero_bits_and_sign_copies): Likewise for local "insn".
26541 (can_combine_p): Likewise for params "insn", "i3", "pred",
26542 "pred2", "succ", "succ2" and for local "p".
26543 (combinable_i3pat): Likewise for param "i3".
26544 (cant_combine_insn_p): Likewise for param "insn".
26545 (likely_spilled_retval_p): Likewise.
26546 (adjust_for_new_dest): Likewise.
26547 (update_cfg_for_uncondjump): Likewise, also for local "insn".
26548 (try_combine): Likewise for return type and for params "i3", "i2",
26549 "i1", "i0", "last_combined_insn", and for locals "insn",
26550 "cc_use_insn", "p", "first", "last", "i2_insn", "i1_insn",
26551 "i0_insn". Eliminate local "tem" in favor of new locals
26552 "tem_note" and "tem_insn", the latter being an rtx_insn *. Add a
26553 checked cast for now to rtx_insn * on the return type of
26554 gen_rtx_INSN. Replace use of NULL_RTX with NULL when referring to
26556 (find_split_point): Strengthen param "insn" from rtx to
26558 (simplify_set): Likewise for local "other_insn".
26559 (recog_for_combine): Likewise for param "insn".
26560 (record_value_for_reg): Likewise.
26561 (record_dead_and_set_regs_1): Likewise for local
26562 "record_dead_insn".
26563 (record_dead_and_set_regs): Likewise for param "insn".
26564 (record_promoted_value): Likewise.
26565 (check_promoted_subreg): Likewise.
26566 (get_last_value_validate): Likewise.
26567 (reg_dead_at_p): Likewise.
26568 (move_deaths): Likewise for param "to_insn".
26569 (distribute_notes): Likewise for params "from_insn", "i3", "i2"
26570 and locals "place", "place2", "cc0_setter". Eliminate local "tem
26571 in favor of new locals "tem_note" and "tem_insn", the latter being
26573 (distribute_links): Strengthen locals "place", "insn" from rtx to
26576 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26578 * cfgrtl.c (can_delete_note_p): Require a const rtx_note * rather
26580 (can_delete_label_p): Require a const rtx_code_label * rather than
26582 (delete_insn): Add checked cast to rtx_code_label * when we know
26583 we're dealing with LABEL_P (insn). Strengthen local "bb_note" from
26585 (delete_insn_chain): Strengthen locals "prev" and "current" from
26586 rtx to rtx_insn *. Add a checked cast when assigning from
26587 "finish" (strengthening the params will come later). Add a
26588 checked cast to rtx_note * in region where we know
26590 (rtl_delete_block): Strengthen locals "insn" and "end" from rtx to
26592 (compute_bb_for_insn): Likewise.
26593 (free_bb_for_insn): Likewise for local "insn".
26594 (compute_bb_for_insn): Likewise.
26595 (update_bb_for_insn_chain): Strengthen params "begin", "end" and
26596 local "insn" from rtx to rtx_insn *
26597 (flow_active_insn_p): Require a const rtx_insn * rather than a
26599 (contains_no_active_insn_p): Strengthen local "insn" from rtx to
26601 (can_fallthru): Likewise for locals "insn" and "insn2".
26602 (bb_note): Likewise for local "note".
26603 (first_insn_after_basic_block_note): Likewise for local "note" and
26605 (rtl_split_block): Likewise for locals "insn" and "next".
26606 (unique_locus_on_edge_between_p): Likewise for locals "insn" and
26608 (rtl_merge_blocks): Likewise for locals "b_head", "b_end",
26609 "a_end", "del_first", "del_last", "b_debug_start", "b_debug_end",
26611 (try_redirect_by_replacing_jump): Likewise for locals "insn" (both of
26612 them), "kill_from", "barrier", "new_insn".
26613 (patch_jump_insn): Likewise for params "insn", "old_label".
26614 (redirect_branch_edge): Likewise for locals "old_label", "insn".
26615 (force_nonfallthru_and_redirect): Likewise for locals "insn",
26616 "old_label", "new_label".
26617 (rtl_tidy_fallthru_edge): Likewise for local "q".
26618 (rtl_split_edge): Likewise for locals "before", "last".
26619 (commit_one_edge_insertion): Likewise for locals "before",
26620 "after", "insns", "tmp", "last", adding a checked cast where
26621 currently necessary.
26622 (commit_edge_insertions): Likewise.
26623 (rtl_dump_bb): Likewise for locals "insn", "last".
26624 (print_rtl_with_bb): Likewise for local "x".
26625 (rtl_verify_bb_insns): Likewise for local "x".
26626 (rtl_verify_bb_pointers): Likewise for local "insn".
26627 (rtl_verify_bb_insn_chain): Likewise for locals "x", "last_head",
26629 (rtl_verify_fallthru): Likewise for local "insn".
26630 (rtl_verify_bb_layout): Likewise for locals "x" and "rtx_first".
26631 (purge_dead_edges): Likewise for local "insn".
26632 (fixup_abnormal_edges): Likewise for locals "insn", "stop", "next".
26633 (skip_insns_after_block): Likewise for return type and for locals
26634 "insn", "last_insn", "next_head", "prev".
26635 (record_effective_endpoints): Likewise for locals "next_insn",
26637 (fixup_reorder_chain): Likewise for locals "bb_end_insn" and "end".
26638 (verify_insn_chain): Likewise for locals "x", "prevx", "nextx".
26639 (cfg_layout_can_duplicate_bb_p): Likewise for local "insn".
26640 (duplicate_insn_chain): For now, add checked cast from rtx to
26641 rtx_insn * when returning insn.
26642 (cfg_layout_duplicate_bb): Likewise for local "insn".
26643 (cfg_layout_delete_block): Likewise for locals "insn", "next",
26644 "prev", "remaints".
26645 (cfg_layout_merge_blocks): Likewise for local "insn", "last".
26646 (rtl_block_empty_p): Likewise.
26647 (rtl_split_block_before_cond_jump): Likewise for locals "insn",
26648 "split_point", "last".
26649 (rtl_block_ends_with_call_p): Likewise for local "insn".
26650 (need_fake_edge_p): Strengthen param "insn" from const_rtx to
26652 (rtl_flow_call_edges_add): Strengthen locals "insn", "prev_insn",
26653 "split_at_insn" from rtx to rtx_insn *.
26654 (rtl_lv_add_condition_to_bb): Likewise for locals "seq", "jump".
26655 (rtl_can_remove_branch_p): Strengthen local "insn" from const_rtx
26656 to const rtx_insn *.
26657 (rtl_account_profile_record): Likewise.
26659 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26661 * cfgloopanal.c (num_loop_insns): Strengthen local "insn" from
26663 (average_num_loop_insns): Likewise.
26664 (init_set_costs): Likewise for local "seq".
26665 (seq_cost): Likewise for param "seq", from const_rtx to const
26668 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26670 * cfgloop.c (loop_exits_from_bb_p): Strengthen local "insn" from
26673 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26675 * basic-block.h (flow_find_cross_jump): Strengthen params 3 and 4
26676 "f1" and "f2" from rtx * to rtx_insn **.
26677 (flow_find_head_matching_sequence): Likewise.
26679 * cfgcleanup.c (try_simplify_condjump): Strengthen local
26680 "cbranch_insn" from rtx to rtx_insn *.
26681 (thread_jump): Likewise for local "insn".
26682 (try_forward_edges): Likewise for local "last".
26683 (merge_blocks_move_predecessor_nojumps): Likewise for local "barrier".
26684 (merge_blocks_move_successor_nojumps): Likewise for locals "barrier",
26686 (can_replace_by): Likewise for params "i1", "i2".
26687 (old_insns_match_p): Likewise.
26688 (merge_notes): Likewise.
26689 (walk_to_nondebug_insn): Likewise for param "i1".
26690 (flow_find_cross_jump): Strengthen params "f1" and "f2" from rtx *
26691 to rtx_insn **. Strengthen locals "i1", "i2", "last1", "last2",
26692 "afterlast1", "afterlast2" from rtx to rtx_insn *.
26693 (flow_find_head_matching_sequence): Strengthen params "f1" and
26694 "f2" from rtx * to rtx_insn **. Strengthen locals "i1", "i2",
26695 "last1", "last2", "beforelast1", "beforelast2" from rtx to
26697 (outgoing_edges_match): Likewise for locals "last1", "last2".
26698 (try_crossjump_to_edge): Likewise for local "insn".
26699 Replace call to for_each_rtx with for_each_rtx_in_insn.
26701 (try_crossjump_to_edge): Likewise for locals "newpos1", "newpos2".
26702 (try_head_merge_bb): Likewise for locals "e0_last_head_, "jump",
26703 "e0_last", "e_last", "head", "curr", "insn". Strengthen locals
26704 "headptr", "currptr", "nextptr" from rtx * to rtx_insn **.
26705 (try_optimize_cfg): Strengthen local "last" from rtx to
26707 (delete_dead_jumptables): Likewise for locals "insn", "next",
26710 * ifcvt.c (cond_exec_process_if_block): Likewise for locals
26711 "rtx then_last_head", "rtx else_last_head", "rtx then_first_tail",
26712 "rtx else_first_tail", to reflect the basic-block.h changes above.
26714 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26716 * cfgbuild.c (make_edges): Strengthen local "insn" from rtx to
26718 (purge_dead_tablejump_edges): Likewise.
26719 (find_bb_boundaries): Likewise for locals "insn", "end",
26720 "flow_transfer_insn".
26722 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26724 * caller-save.c (save_call_clobbered_regs): Strengthen locals
26725 "ins" and "prev" from rtx to rtx_insn *.
26727 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26729 * calls.c (emit_call_1): Strengthen local "call_insn" from rtx to
26731 (internal_arg_pointer_exp_state): Likewise for field "scan_start".
26732 (internal_arg_pointer_based_exp_scan): Likewise for locals "insn",
26734 (load_register_parameters): Likewise for local "before_arg".
26735 (check_sibcall_argument_overlap): Likewise for param "insn".
26736 (expand_call): Likewise for locals "normal_call_insns",
26737 "tail_call_insns", "insns", "before_call", "after_args",
26738 "before_arg", "last", "prev". Strengthen one of the "last" from
26739 rtx to rtx_call_insn *.
26740 (fixup_tail_calls): Strengthen local "insn" from rtx to
26742 (emit_library_call_value_1): Likewise for locals "before_call" and
26745 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26747 * builtins.c (expand_builtin_longjmp): Strengthen locals "insn"
26748 and "last" from rtx to rtx_insn *.
26749 (expand_builtin_nonlocal_goto): Likewise for local "insn".
26750 (expand_builtin_apply): Strengthen local "call_insn" from rtx to
26752 (expand_errno_check): Strengthen local "lab" from rtx to
26754 (expand_builtin_mathfn): Strengthen local "insns" from rtx to
26756 (expand_builtin_mathfn_2): Likewise.
26757 (expand_builtin_mathfn_ternary): Likewise.
26758 (expand_builtin_mathfn_3): Likewise.
26759 (expand_builtin_interclass_mathfn): Likewise for local "last".
26760 (expand_builtin_int_roundingfn): Likewise for local "insns".
26761 (expand_builtin_int_roundingfn_2): Likewise.
26762 (expand_builtin_strlen): Likewise for local "before_strlen".
26763 (expand_builtin_strncmp): Likewise for local "seq".
26764 (expand_builtin_signbit): Likewise for local "last".
26765 (expand_builtin_atomic_compare_exchange): Strengthen local "label"
26766 from rtx to rtx_code_label *.
26767 (expand_stack_restore): Strengthen local "prev" from rtx to
26770 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26772 * bt-load.c (struct btr_user_s): Strengthen field "insn" from rtx
26774 (struct btr_def_s): Likewise.
26775 (insn_sets_btr_p): Strengthen param "insn" from const_rtx to
26777 (add_btr_def): Likewise.
26778 (new_btr_user): Likewise.
26779 (compute_defs_uses_and_gen): Strengthen locals "insn", "last" from
26781 (link_btr_uses): Likewise.
26782 (move_btr_def): Likewise for locals "insp", "old_insn",
26783 "new_insn". Add checked cast to rtx_insn * for now on result of
26785 (can_move_up): Strengthen param "insn" from const_rtx to
26788 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26790 * bb-reorder.c (copy_bb_p): Strengthen local "insn" from rtx to
26792 (get_uncond_jump_length): Likewise for locals "label", "jump".
26793 (fix_up_crossing_landing_pad): Likewise for locals "new_label",
26795 (add_labels_and_missing_jumps): Likewise for local "new_jump".
26796 (fix_up_fall_thru_edges): Likewise for local "old_jump".
26797 (find_jump_block): Likewise for local "insn".
26798 (fix_crossing_conditional_branches): Likewise for locals
26799 "old_jump", "new_jump".
26800 (fix_crossing_unconditional_branches): Likewise for locals
26801 "last_insn", "indirect_jump_sequence", "jump_insn", "cur_insn".
26802 (pass_duplicate_computed_gotos::execute): Likewise for local "insn".
26804 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26806 * auto-inc-dec.c (struct inc_insn): Strengthen field "insn" from
26808 (struct mem_insn): Likewise for field "insn".
26809 (reg_next_use): Strengthen from rtx * to rtx_insn **.
26810 (reg_next_inc_use): Likewise.
26811 (reg_next_def): Likewise.
26812 (move_dead_notes): Strengthen params "to_insn" and "from_insn"
26813 from rtx to rtx_insn *.
26814 (move_insn_before): Likewise for param "next_insn" and local "insns".
26815 (attempt_change): Likewise for local "mov_insn".
26816 (try_merge): Likewise for param "last_insn".
26817 (get_next_ref): Likewise for return type and local "insn".
26818 Strengthen param "next_array" from rtx * to rtx_insn **.
26819 (parse_add_or_inc): Strengthen param "insn" from rtx to
26821 (find_inc): Likewise for locals "insn" and "other_insn" (three of
26823 (merge_in_block): Likewise for locals "insn", "curr",
26825 (pass_inc_dec::execute): Update allocations of the arrays to
26826 reflect the stronger types.
26828 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26830 * asan.c (asan_clear_shadow): Strengthen locals "insn", "insns"
26831 and "jump" from rtx to rtx_insn *. Strengthen local "top_label"
26832 from rtx to rtx_code_label *.
26834 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26836 * alias.c (init_alias_analysis): Strengthen local "insn" from rtx
26839 2014-08-21 Michael Meissner <meissner@linux.vnet.ibm.com>
26841 * config/rs6000/rs6000.c (print_operand, 'y' case): Fix code that
26842 generated a warning and prevented bootstrapping the compiler.
26844 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26846 * rtl.h (delete_related_insns): Strengthen return type from rtx to
26849 * jump.c (delete_related_insns): Likewise, also for locals "next"
26852 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26854 * genautomata.c (output_internal_insn_latency_func): When writing
26855 the function "internal_insn_latency" to insn-automata.c,
26856 strengthen params "insn" and "insn2" from rtx to rtx_insn *, thus
26857 allowing the optional guard function of (define_bypass) clauses to
26858 expect a pair of rtx_insn *, rather than a pair of rtx.
26859 (output_insn_latency_func): When writing the function
26860 "insn_latency", add an "uncast_" prefix to params "insn" and
26861 "insn2", reintroducing "insn" and "insn2" as rtx_insn * locals
26862 using checked casts from the params, thus enabling the above
26863 change to the generated "internal_insn_latency" function.
26865 2014-08-21 Jan Hubicka <hubicka@ucw.cz>
26867 PR tree-optimization/62091
26868 * ipa-devirt.c (ipa_polymorphic_call_context::restrict_to_inner_type):
26869 handle correctly arrays.
26870 (extr_type_from_vtbl_ptr_store): Add debug output; handle multiple
26871 inheritance binfos.
26872 (record_known_type): Walk into inner type.
26873 (ipa_polymorphic_call_context::get_dynamic_type): Likewise; strenghten
26874 condition on no type changes.
26876 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26878 * genattrtab.c (write_attr_get): Within the generated get_attr_
26879 functions, rename param "insn" to "uncast_insn" and reintroduce
26880 "insn" as an local rtx_insn * using a checked cast, so that "insn"
26881 is an rtx_insn * within insn-attrtab.c
26883 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26885 * output.h (peephole): Strengthen return type from rtx to
26887 * rtl.h (delete_for_peephole): Likewise for both params.
26888 * genpeep.c (main): In generated "peephole" function, strengthen
26889 return type and local "insn" from rtx to rtx_insn *. For now,
26890 rename param "ins1" to "uncast_ins1", adding "ins1" back as an
26891 rtx_insn *, with a checked cast.
26892 * jump.c (delete_for_peephole): Strengthen params "from", "to" and
26893 locals "insn", "next", "prev" from rtx to rtx_insn *.
26895 2014-08-21 Marc Glisse <marc.glisse@inria.fr>
26897 PR tree-optimization/62112
26898 * gimple-iterator.c (gsi_replace): Return whether EH cleanup is needed.
26899 * gimple-iterator.h (gsi_replace): Return bool.
26900 * tree-ssa-alias.c (ref_may_alias_global_p_1): New helper, code
26901 moved from ref_may_alias_global_p.
26902 (ref_may_alias_global_p, refs_may_alias_p, ref_maybe_used_by_stmt_p):
26904 (ref_maybe_used_by_call_p): Take ao_ref* instead of tree.
26905 (stmt_kills_ref_p_1): Rename...
26906 (stmt_kills_ref_p): ... to this.
26907 * tree-ssa-alias.h (ref_may_alias_global_p, ref_maybe_used_by_stmt_p,
26908 stmt_kills_ref_p): Declare.
26909 * tree-ssa-dse.c (dse_possible_dead_store_p): New argument, use it.
26910 Move the self-assignment case...
26911 (dse_optimize_stmt): ... here. Handle builtin calls. Remove dead code.
26913 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26915 * rtl.h (try_split): Strengthen return type from rtx to rtx_insn *.
26917 * emit-rtl.c (try_split): Likewise, also for locals "before" and
26918 "after". For now, don't strengthen param "trial", which requires
26919 adding checked casts when returning it.
26921 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26923 * debug.h (struct gcc_debug_hooks): Strengthen param 1 of hook
26924 "label" from rtx to rtx_code_label *. Strengthen param 1 of
26925 "var_location" hook from rtx to rtx_insn *.
26926 (debug_nothing_rtx): Delete in favor of...
26927 (debug_nothing_rtx_code_label): New prototype.
26928 (debug_nothing_rtx_rtx): Delete unused prototype.
26929 (debug_nothing_rtx_insn): New prototype.
26931 * final.c (final_scan_insn): Add checked cast to rtx_insn * when
26932 invoking debug_hooks->var_location (in two places, one in a NOTE
26933 case of a switch statement, the other guarded by a CALL_P
26934 conditional. Add checked cast to rtx_code_label * when invoking
26935 debug_hooks->label (within CODE_LABEL case of switch statement).
26937 * dbxout.c (dbx_debug_hooks): Update "label" hook from
26938 debug_nothing_rtx to debug_nothing_rtx_code_label. Update
26939 "var_location" from debug_nothing_rtx to debug_nothing_rtx_insn.
26940 (xcoff_debug_hooks): Likewise.
26941 * debug.c (do_nothing_debug_hooks): Likewise.
26942 (debug_nothing_rtx): Delete in favor of...
26943 (debug_nothing_rtx_insn): New function.
26944 (debug_nothing_rtx_rtx): Delete unused function.
26945 (debug_nothing_rtx_code_label): New function.
26946 * dwarf2out.c (dwarf2_debug_hooks): Update "label" hook from
26947 debug_nothing_rtx to debug_nothing_rtx_code_label.
26948 (dwarf2out_var_location): Strengthen param "loc_note" from rtx
26950 * sdbout.c (sdb_debug_hooks): Update "var_location" hook from
26951 debug_nothing_rtx to debug_nothing_rtx_insn.
26952 (sdbout_label): Strengthen param "insn" from rtx to
26954 * vmsdbgout.c (vmsdbg_debug_hooks): Update "label" hook from
26955 debug_nothing_rtx to debug_nothing_rtx_code_label. Update
26956 "var_location" hook from debug_nothing_rtx to
26957 debug_nothing_rtx_insn.
26959 2014-08-21 David Malcolm <dmalcolm@redhat.com>
26961 * recog.h (insn_output_fn): Update this function typedef to match
26962 the changes below to the generated output functions, strengthening
26963 the 2nd param from rtx to rtx_insn *.
26965 * final.c (get_insn_template): Add a checked cast to rtx_insn * on
26966 insn when invoking an output function, to match the new signature
26967 of insn_output_fn with a stronger second param.
26969 * genconditions.c (write_header): In the generated code for
26970 gencondmd.c, strengthen the global "insn" from rtx to rtx_insn *
26971 to match the other changes in this patch.
26973 * genemit.c (gen_split): Strengthen the 1st param "curr_insn" of
26974 the generated "gen_" functions from rtx to rtx_insn * within their
26977 * genrecog.c (write_subroutine): Strengthen the 2nd param "insn" of
26978 the subfunctions within the generated "recog_", "split", "peephole2"
26979 function trees from rtx to rtx_insn *. For now, the top-level
26980 generated functions ("recog", "split", "peephole2") continue to
26981 take a plain rtx for "insn", to avoid introducing dependencies on
26982 other patches. Rename this 2nd param from "insn" to
26983 "uncast_insn", and reintroduce "insn" as a local variable of type
26984 rtx_insn *, initialized at the top of the generated function with
26985 a checked cast on "uncast_insn".
26986 (make_insn_sequence): Strengthen the 1st param "curr_insn" of
26987 the generated "gen_" functions from rtx to rtx_insn * within their
26990 * genoutput.c (process_template): Strengthen the 2nd param within
26991 the generated "output_" functions "insn" from rtx to rtx_insn *.
26993 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
26995 * tree-profile.c (tree_profiling): Skip external functions
26996 when doing coverage instrumentation.
26997 * cgraphunit.c (compile): Do not assert that all nodes are reachable.
26999 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
27001 * config/rs6000/altivec.h (vec_cpsgn): New #define.
27002 (vec_mergee): Likewise.
27003 (vec_mergeo): Likewise.
27004 (vec_cntlz): Likewise.
27005 * config/rs600/rs6000-c.c (altivec_overloaded_builtins): Add new
27006 entries for VEC_AND, VEC_ANDC, VEC_MERGEH, VEC_MERGEL, VEC_NOR,
27007 VEC_OR, VEC_PACKSU, VEC_XOR, VEC_PERM, VEC_SEL, VEC_VCMPGT_P,
27008 VMRGEW, and VMRGOW.
27009 * doc/extend.texi: Document various forms of vec_cpsgn,
27010 vec_splats, vec_and, vec_andc, vec_mergeh, vec_mergel, vec_nor,
27011 vec_or, vec_perm, vec_sel, vec_sub, vec_xor, vec_all_eq,
27012 vec_all_ge, vec_all_gt, vec_all_le, vec_all_lt, vec_all_ne,
27013 vec_any_eq, vec_any_ge, vec_any_gt, vec_any_le, vec_any_lt,
27014 vec_any_ne, vec_mergee, vec_mergeo, vec_packsu, and vec_cntlz.
27016 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
27018 * config/rs6000/rs6000.c (context.h): New include.
27019 (tree-pass.h): Likewise.
27020 (make_pass_analyze_swaps): New decl.
27021 (rs6000_option_override): Register pass_analyze_swaps.
27022 (swap_web_entry): New subsclass of web_entry_base (df.h).
27023 (special_handling_values): New enum.
27024 (union_defs): New function.
27025 (union_uses): Likewise.
27026 (insn_is_load_p): Likewise.
27027 (insn_is_store_p): Likewise.
27028 (insn_is_swap_p): Likewise.
27029 (rtx_is_swappable_p): Likewise.
27030 (insn_is_swappable_p): Likewise.
27031 (chain_purpose): New enum.
27032 (chain_contains_only_swaps): New function.
27033 (mark_swaps_for_removal): Likewise.
27034 (swap_const_vector_halves): Likewise.
27035 (adjust_subreg_index): Likewise.
27036 (permute_load): Likewise.
27037 (permute_store): Likewise.
27038 (handle_special_swappables): Likewise.
27039 (replace_swap_with_copy): Likewise.
27040 (dump_swap_insn_table): Likewise.
27041 (rs6000_analyze_swaps): Likewise.
27042 (pass_data_analyze_swaps): New pass_data.
27043 (pass_analyze_swaps): New rtl_opt_pass.
27044 (make_pass_analyze_swaps): New function.
27045 * config/rs6000/rs6000.opt (moptimize-swaps): New option.
27047 2014-08-21 David Malcolm <dmalcolm@redhat.com>
27049 * sel-sched-ir.h (create_insn_rtx_from_pattern): Strengthen return
27050 type from rtx to rtx_insn *.
27051 (create_copy_of_insn_rtx): Likewise.
27052 * sel-sched-ir.c (create_insn_rtx_from_pattern): Likewise.
27053 (create_copy_of_insn_rtx): Likewise, also for local "res".
27055 2014-08-21 David Malcolm <dmalcolm@redhat.com>
27057 * rtl.h (find_first_parameter_load): Strengthen return type from
27059 * rtlanal.c (find_first_parameter_load): Strengthen return type
27060 from rtx to rtx_insn *. Add checked cast for now, to postpone
27061 strengthening the params.
27063 2014-08-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
27066 * diagnostic.c: Set default caret.
27067 (diagnostic_show_locus): Use it. Tell pretty-printer that a new
27069 * diagnostic.h (struct diagnostic_context):
27071 2014-08-21 David Malcolm <dmalcolm@redhat.com>
27073 * sel-sched-ir.h (exit_insn): Strengthen from rtx to rtx_insn *.
27074 (sel_bb_head): Strengthen return type insn_t (currently just an
27075 rtx) to rtx_insn *.
27076 (sel_bb_end): Likewise.
27078 * sel-sched-ir.c (exit_insn): Strengthen from rtx to rtx_insn *.
27079 (sel_bb_head): Strengthen return type and local "head" from
27080 insn_t (currently just an rtx) to rtx_insn *.
27081 (sel_bb_end): Likewise for return type.
27082 (free_nop_and_exit_insns): Replace use of NULL_RTX with NULL when
27085 2014-08-21 David Malcolm <dmalcolm@redhat.com>
27087 * basic-block.h (get_last_bb_insn): Strengthen return type from
27089 * cfgrtl.c (get_last_bb_insn): Likewise, and for locals "tmp" and
27092 2014-08-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
27095 * diagnostic.c (default_diagnostic_finalizer): Move caret printing
27097 (diagnostic_report_diagnostic): ... from here.
27098 * toplev.c (general_init): Move code to c-family.
27100 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
27102 * df.h (web_entry_base): Replace existing struct web_entry with a
27103 new class web_entry_base with only the predecessor member.
27104 (unionfind_root): Remove declaration and move to class member.
27105 (unionfind_union): Remove declaration and move to friend
27107 (union_defs): Remove declaration.
27108 * web.c (web_entry_base::unionfind_root): Modify to be member
27109 function and adjust accessors.
27110 (unionfind_union): Modify to be friend function and adjust
27112 (web_entry): New subclass of web_entry_base containing the reg
27114 (union_match_dups): Modify for struct -> class changes.
27115 (union_defs): Likewise.
27116 (entry_register): Likewise.
27117 (pass_web::execute): Likewise.
27119 2014-08-20 Bill Schmidt <wschmidt@vnet.ibm.com>
27121 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Provide
27122 builtin define __VEC_ELEMENT_REG_ORDER__.
27124 2014-08-20 Martin Jambor <mjambor@suse.cz>
27125 Wei Mi <wmi@google.com>
27128 PR middle-end/61776
27129 * tree-ssa-operands.c (update_stmt_operands): Remove
27130 MODIFIED_NORETURN_CALLS.
27131 * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): New func.
27132 (cleanup_control_flow_bb): Use cleanup_call_ctrl_altering_flag.
27133 (split_bb_on_noreturn_calls): Renamed from split_bbs_on_noreturn_calls.
27134 (cleanup_tree_cfg_1): Use split_bb_on_noreturn_calls.
27135 * tree-ssanames.h: Remove MODIFIED_NORETURN_CALLS.
27136 * gimple.h (enum gf_mask): Add GF_CALL_CTRL_ALTERING.
27137 (gimple_call_set_ctrl_altering): New func.
27138 (gimple_call_ctrl_altering_p): Ditto.
27139 * tree-cfg.c (gimple_call_initialize_ctrl_altering): Ditto.
27140 (make_blocks): Use gimple_call_initialize_ctrl_altering.
27141 (is_ctrl_altering_stmt): Use gimple_call_ctrl_altering_p.
27142 (execute_fixup_cfg): Use gimple_call_ctrl_altering_p and
27143 remove MODIFIED_NORETURN_CALLS.
27145 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
27147 * coverage.c (coverage_compute_profile_id): Return non-0;
27148 also handle symbols with unique name.
27149 (coverage_end_function): Do not skip DECL_EXTERNAL functions.
27151 2014-08-20 Steve Ellcey <sellcey@mips.com>
27153 PR middle-end/49191
27154 * doc/sourcebuild.texi (non_strict_align): New.
27156 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
27158 * cgraphunit.c (ipa_passes, compile): Reshedule
27159 symtab_remove_unreachable_nodes passes; update comments.
27160 * ipa-inline.c (pass_data_ipa_inline): Do not schedule
27161 TODO_remove_functions before the pass; the functions ought to be
27163 * ipa.c (pass_data_ipa_free_inline_summary): Enable dump; schedule
27164 TODO_remove_functions.
27165 * passes.c (pass_data_early_local_passes): Do not schedule function
27167 (execute_one_pass): Fix call of symtab_remove_unreachable_nodes.
27169 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
27172 * opts-common.c (set_option): Call diagnostic_classify_diagnostic
27173 before setting the option.
27174 * diagnostic.c (diagnostic_classify_diagnostic): Record
27175 command-line status.
27177 2014-08-20 Richard Biener <rguenther@suse.de>
27180 * tree.c (build_common_tree_nodes): Use make_or_reuse_type
27181 to build uint{16,32,64}_type_node.
27183 2014-08-20 Terry Guo <terry.guo@arm.com>
27185 * config/arm/thumb1.md (64bit splitter): Replace const_double_operand
27186 with immediate_operand.
27188 2014-08-20 David Malcolm <dmalcolm@redhat.com>
27190 * cfgrtl.c (duplicate_insn_chain): Convert the checked cast on
27191 "insn" from an as_a to a safe_as_a, for the case when "insn" is
27194 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
27196 PR preprocessor/51303
27197 * incpath.c (remove_duplicates): Use cpp_warning.
27199 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
27203 * doc/options.texi (CPP): Document it.
27204 * doc/invoke.texi (Wvariadic-macros): Fix documentation.
27205 * optc-gen.awk: Handle CPP.
27206 * opth-gen.awk: Likewise.
27208 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27210 * rtl.h (unlink_insn_chain): Strengthen return type from rtx to
27212 (duplicate_insn_chain): Likewise.
27213 * cfgrtl.c (unlink_insn_chain): Strengthen return type from rtx to
27214 rtx_insn *, also for locals "prevfirst" and "nextlast". Add a
27215 checked cast for now (until we can strengthen the params in the
27217 (duplicate_insn_chain): Likewise.
27219 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27221 * rtl.h (next_cc0_user): Strengthen return type from rtx to
27223 (prev_cc0_setter): Likewise.
27225 * emit-rtl.c (next_cc0_user): Strengthen return type from rtx to
27226 rtx_insn *, adding checked casts for now as necessary.
27227 (prev_cc0_setter): Likewise.
27229 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27231 * expr.h (emit_move_insn): Strengthen return type from rtx to
27233 (emit_move_insn_1): Likewise.
27234 (emit_move_complex_push): Likewise.
27235 (emit_move_complex_parts): Likewise.
27237 * expr.c (emit_move_via_integer): Strengthen return type from rtx
27238 to rtx_insn *. Replace use of NULL_RTX with NULL when working
27240 (emit_move_complex_push): Strengthen return type from rtx to
27242 (emit_move_complex): Likewise, also for local "ret".
27243 (emit_move_ccmode): Likewise.
27244 (emit_move_multi_word): Likewise for return type and locals
27245 "last_insn", "seq".
27246 (emit_move_insn_1): Likewise for return type and locals "result",
27248 (emit_move_insn): Likewise for return type and local "last_insn".
27249 (compress_float_constant): Likewise.
27251 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27253 * emit-rtl.h (emit_copy_of_insn_after): Strengthen return type
27254 from rtx to rtx_insn *.
27256 * rtl.h (emit_insn_before): Likewise.
27257 (emit_insn_before_noloc): Likewise.
27258 (emit_insn_before_setloc): Likewise.
27259 (emit_jump_insn_before): Likewise.
27260 (emit_jump_insn_before_noloc): Likewise.
27261 (emit_jump_insn_before_setloc): Likewise.
27262 (emit_call_insn_before): Likewise.
27263 (emit_call_insn_before_noloc): Likewise.
27264 (emit_call_insn_before_setloc): Likewise.
27265 (emit_debug_insn_before): Likewise.
27266 (emit_debug_insn_before_noloc): Likewise.
27267 (emit_debug_insn_before_setloc): Likewise.
27268 (emit_label_before): Likewise.
27269 (emit_insn_after): Likewise.
27270 (emit_insn_after_noloc): Likewise.
27271 (emit_insn_after_setloc): Likewise.
27272 (emit_jump_insn_after): Likewise.
27273 (emit_jump_insn_after_noloc): Likewise.
27274 (emit_jump_insn_after_setloc): Likewise.
27275 (emit_call_insn_after): Likewise.
27276 (emit_call_insn_after_noloc): Likewise.
27277 (emit_call_insn_after_setloc): Likewise.
27278 (emit_debug_insn_after): Likewise.
27279 (emit_debug_insn_after_noloc): Likewise.
27280 (emit_debug_insn_after_setloc): Likewise.
27281 (emit_label_after): Likewise.
27282 (emit_insn): Likewise.
27283 (emit_debug_insn): Likewise.
27284 (emit_jump_insn): Likewise.
27285 (emit_call_insn): Likewise.
27286 (emit_label): Likewise.
27287 (gen_clobber): Likewise.
27288 (emit_clobber): Likewise.
27289 (gen_use): Likewise.
27290 (emit_use): Likewise.
27293 (emit_barrier_before): Strengthen return type from rtx to
27295 (emit_barrier_after): Likewise.
27296 (emit_barrier): Likewise.
27298 * emit-rtl.c (emit_pattern_before_noloc): Strengthen return type
27299 from rtx to rtx_insn *. Add checked casts for now when converting
27300 "last" from rtx to rtx_insn *.
27301 (emit_insn_before_noloc): Likewise for return type.
27302 (emit_jump_insn_before_noloc): Likewise.
27303 (emit_call_insn_before_noloc): Likewise.
27304 (emit_debug_insn_before_noloc): Likewise.
27305 (emit_barrier_before): Strengthen return type and local "insn"
27306 from rtx to rtx_barrier *.
27307 (emit_label_before): Strengthen return type from rtx to
27308 rtx_insn *. Add checked cast for now when returning param
27309 (emit_pattern_after_noloc): Strengthen return type from rtx to
27310 rtx_insn *. Add checked casts for now when converting "last" from
27312 (emit_insn_after_noloc): Strengthen return type from rtx to
27314 (emit_jump_insn_after_noloc): Likewise.
27315 (emit_call_insn_after_noloc): Likewise.
27316 (emit_debug_insn_after_noloc): Likewise.
27317 (emit_barrier_after): Strengthen return type from rtx to
27319 (emit_label_after): Strengthen return type from rtx to rtx_insn *.
27320 Add checked cast for now when converting "label" from rtx to
27322 (emit_pattern_after_setloc): Strengthen return type from rtx to
27323 rtx_insn *. Add checked casts for now when converting "last" from
27325 (emit_pattern_after): Strengthen return type from rtx to
27327 (emit_insn_after_setloc): Likewise.
27328 (emit_insn_after): Likewise.
27329 (emit_jump_insn_after_setloc): Likewise.
27330 (emit_jump_insn_after): Likewise.
27331 (emit_call_insn_after_setloc): Likewise.
27332 (emit_call_insn_after): Likewise.
27333 (emit_debug_insn_after_setloc): Likewise.
27334 (emit_debug_insn_after): Likewise.
27335 (emit_pattern_before_setloc): Likewise. Add checked casts for now
27336 when converting "last" from rtx to rtx_insn *.
27337 (emit_pattern_before): Strengthen return type from rtx to
27339 (emit_insn_before_setloc): Likewise.
27340 (emit_insn_before): Likewise.
27341 (emit_jump_insn_before_setloc): Likewise.
27342 (emit_jump_insn_before): Likewise.
27343 (emit_call_insn_before_setloc): Likewise.
27344 (emit_call_insn_before): Likewise.
27345 (emit_debug_insn_before_setloc): Likewise.
27346 (emit_debug_insn_before): Likewise.
27347 (emit_insn): Strengthen return type and locals "last", "insn",
27348 "next" from rtx to rtx_insn *. Add checked cast to rtx_insn
27349 within cases where we know we have an insn.
27350 (emit_debug_insn): Likewise.
27351 (emit_jump_insn): Likewise.
27352 (emit_call_insn): Strengthen return type and local "insn" from rtx
27354 (emit_label): Strengthen return type from rtx to rtx_insn *. Add
27355 a checked cast to rtx_insn * for now on "label".
27356 (emit_barrier): Strengthen return type from rtx to rtx_barrier *.
27357 (emit_clobber): Strengthen return type from rtx to rtx_insn *.
27358 (emit_use): Likewise.
27359 (gen_use): Likewise, also for local "seq".
27360 (emit): Likewise for return type and local "insn".
27361 (rtx_insn): Likewise for return type and local "new_rtx".
27363 * cfgrtl.c (emit_barrier_after_bb): Strengthen local "barrier"
27364 from rtx to rtx_barrier *.
27366 * config/sh/sh.c (output_stack_adjust): Since emit_insn has
27367 changed return type from rtx to rtx_insn *, we must update
27368 "emit_fn" type, and this in turn means updating...
27369 (frame_insn): ...this. Strengthen return type from rtx to
27370 rtx_insn *. Introduce a new local "insn" of the appropriate type.
27372 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27374 * emit-rtl.c (emit_jump_table_data): Strengthen return type from
27375 rtx to rtx_jump_table_data *. Also for local.
27376 * rtl.h (emit_jump_table_data): Likewise.
27378 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27380 * basic-block.h (create_basic_block_structure): Strengthen third
27381 param "bb_note" from rtx to rtx_note *.
27382 * rtl.h (emit_note_before): Strengthen return type from rtx to
27384 (emit_note_after): Likewise.
27385 (emit_note): Likewise.
27386 (emit_note_copy): Likewise. Also, strengthen param similarly.
27387 * function.h (struct rtl_data): Strengthen field
27388 "x_stack_check_probe_note" from rtx to rtx_note *.
27390 * cfgexpand.c (expand_gimple_basic_block): Strengthen local "note"
27391 from rtx to rtx_note *.
27392 * cfgrtl.c (create_basic_block_structure): Strengthen third param
27393 "bb_note" from rtx to rtx_note *.
27394 (duplicate_insn_chain): Likewise for local "last". Add a checked cast
27395 when calling emit_note_copy.
27396 * emit-rtl.c (make_note_raw): Strengthen return type from rtx to
27398 (emit_note_after): Likewise.
27399 (emit_note_before): Likewise.
27400 (emit_note_copy): Likewise. Also, strengthen param similarly.
27401 (emit_note): Likewise.
27402 * except.c (emit_note_eh_region_end): Likewise for return type.
27403 Strengthen local "next" from rtx to rtx_insn *.
27404 (convert_to_eh_region_ranges): Strengthen local "note"
27405 from rtx to rtx_note *.
27406 * final.c (change_scope): Likewise.
27407 (reemit_insn_block_notes): Likewise, for both locals named "note".
27408 Also, strengthen local "insn" from rtx to rtx_insn *.
27409 * haifa-sched.c (sched_extend_bb): Strengthen local "note" from
27411 * reg-stack.c (compensate_edge): Likewise for local "after". Also,
27412 strengthen local "seq" from rtx to rtx_insn *.
27413 * reload1.c (reload_as_needed): Strengthen local "marker" from rtx
27415 * sel-sched-ir.c (bb_note_pool): Strengthen from rtx_vec_t to
27417 (get_bb_note_from_pool): Strengthen return type from rtx to
27419 (sel_create_basic_block): Strengthen local "new_bb_note" from
27420 insn_t to rtx_note *.
27421 * var-tracking.c (emit_note_insn_var_location): Strengthen local
27422 "note" from rtx to rtx_note *.
27423 (emit_notes_in_bb): Likewise.
27425 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27427 * function.h (struct rtl_data): Strengthen field
27428 "x_parm_birth_insn" from rtx to rtx_insn *.
27429 * function.c (struct assign_parm_data_all): Strengthen fields
27430 "first_conversion_insn" and "last_conversion_insn" from rtx to
27433 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27435 * cfgexpand.c (expand_used_vars): Strengthen return type from rtx
27436 to rtx_insn *; also for local "var_end_seq".
27437 (maybe_dump_rtl_for_gimple_stmt): Likewise for param "since".
27438 (maybe_cleanup_end_of_block): Likewise for param "last" and local
27440 (expand_gimple_cond): Likewise for locals "last2" and "last".
27441 (mark_transaction_restart_calls): Likewise for local "insn".
27442 (expand_gimple_stmt): Likewise for return type and locals "last"
27444 (expand_gimple_tailcall): Likewise for locals "last2" and "last".
27445 (avoid_complex_debug_insns): Likewise for param "insn".
27446 (expand_debug_locations): Likewise for locals "insn", "last",
27447 "prev_insn" and "insn2".
27448 (expand_gimple_basic_block): Likewise for local "last".
27449 (construct_exit_block): Likewise for locals "head", "end",
27451 (pass_expand::execute): Likewise for locals "var_seq",
27452 "var_ret_seq", "next".
27454 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27456 * asan.h (asan_emit_stack_protection): Strengthen return type from
27458 * asan.c (asan_emit_stack_protection): Likewise. Add local
27459 "insns" to hold the return value.
27461 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27463 * basic-block.h (bb_note): Strengthen return type from rtx to
27465 * sched-int.h (bb_note): Likewise.
27466 * cfgrtl.c (bb_note): Likewise. Add a checked cast to rtx_note *.
27468 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27470 * rtl.h (make_insn_raw): Strengthen return type from rtx to
27473 * emit-rtl.c (make_insn_raw): Strengthen return type and local
27474 "insn" from rtx to rtx_insn *.
27475 (make_debug_insn_raw): Strengthen return type from rtx to
27476 rtx_insn *; strengthen local "insn" from rtx to rtx_debug_insn *.
27477 (make_jump_insn_raw): Strengthen return type from rtx to
27478 rtx_insn *; strengthen local "insn" from rtx to rtx_jump_insn *.
27479 (make_call_insn_raw): Strengthen return type from rtx to
27480 rtx_insn *; strengthen local "insn" from rtx to rtx_call_insn *.
27481 (emit_pattern_before_noloc): Strengthen return type of "make_raw"
27482 callback from rtx to rtx_insn *; likewise for local "insn" and
27483 "next", adding a checked cast to rtx_insn in the relevant cases of
27484 the switch statement.
27485 (emit_pattern_after_noloc): Strengthen return type of "make_raw"
27486 callback from rtx to rtx_insn *.
27487 (emit_pattern_after_setloc): Likewise.
27488 (emit_pattern_after): Likewise.
27489 (emit_pattern_before_setloc): Likewise.
27490 (emit_pattern_before): Likewise.
27492 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27494 * emit-rtl.c (last_call_insn): Strengthen return type from rtx to
27496 * rtl.h (is_a_helper <rtx_call_insn *>::test): New overload,
27497 accepting an rtx_insn *.
27498 (last_call_insn): Strengthen return type from rtx to
27501 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27503 * rtl.h (delete_trivially_dead_insns): Strengthen initial param
27504 "insns" from rtx to rtx_insn *.
27505 * cse.c (delete_trivially_dead_insns): Likewise, also do it for
27506 locals "insn" and "prev".
27508 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27510 * rtl.h (tablejump_p): Strengthen third param from rtx * to
27511 rtx_jump_table_data **.
27513 * cfgbuild.c (make_edges): Introduce local "table", using it in
27514 place of "tmp" for jump table data.
27515 (find_bb_boundaries): Strengthen local "table" from rtx to
27516 rtx_jump_table_data *.
27517 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
27518 (outgoing_edges_match): Likewise for locals "table1" and "table2".
27519 (try_crossjump_to_edge): Likewise.
27520 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise for local
27522 (patch_jump_insn): Introduce local "table", using it in place of
27523 "tmp" for jump table data.
27524 (force_nonfallthru_and_redirect): Introduce local "table", so that
27525 call to tablejump_p can receive an rtx_jump_table_data **. Update
27526 logic around the call to overwrite "note" appropriately if
27527 tablejump_p returns non-zero.
27528 (get_last_bb_insn): Introduce local "table", using it in place of
27529 "tmp" for jump table data.
27530 * dwarf2cfi.c (create_trace_edges): Likewise.
27532 * config/arm/arm.c (get_jump_table_size): Strengthen param "insn"
27533 from rtx to rtx_jump_table_data *.
27534 (create_fix_barrier): Strengthen local "tmp" from rtx to
27535 rtx_jump_table_data *.
27536 (arm_reorg): Likewise for local "table".
27538 * config/s390/s390.c (s390_chunkify_start): Likewise.
27540 * config/spu/spu.c (spu_emit_branch_hint): Likewise.
27542 * jump.c (delete_related_insns): Strengthen local "lab_next" from
27543 rtx to rtx_jump_table_data *.
27545 * rtlanal.c (tablejump_p): Strengthen param "tablep" from rtx * to
27546 rtx_jump_table_data **. Add a checked cast when writing through
27547 the pointer: we know there that local "table" is non-NULL and that
27548 JUMP_TABLE_DATA_P (table) holds.
27549 (label_is_jump_target_p): Introduce local "table", using it in
27550 place of "tmp" for jump table data.
27552 2014-08-19 Marek Polacek <polacek@redhat.com>
27555 * doc/invoke.texi: Document -Wbool-compare.
27557 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27559 * rtl.h (entry_of_function): Strengthen return type from rtx to
27561 * cfgrtl.c (entry_of_function): Likewise.
27563 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27565 * emit-rtl.h (get_insns): Strengthen return type from rtx to
27566 rtx_insn *, adding a checked cast for now.
27567 (get_last_insn): Likewise.
27569 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27571 * rtl.h (gen_label_rtx): Strengthen return type from rtx to
27574 * emit-rtl.c (gen_label_rtx): Likewise.
27576 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27578 * rtl.h (previous_insn): Strengthen return type from rtx to
27580 (next_insn): Likewise.
27581 (prev_nonnote_insn): Likewise.
27582 (prev_nonnote_insn_bb): Likewise.
27583 (next_nonnote_insn): Likewise.
27584 (next_nonnote_insn_bb): Likewise.
27585 (prev_nondebug_insn): Likewise.
27586 (next_nondebug_insn): Likewise.
27587 (prev_nonnote_nondebug_insn): Likewise.
27588 (next_nonnote_nondebug_insn): Likewise.
27589 (prev_real_insn): Likewise.
27590 (next_real_insn): Likewise.
27591 (prev_active_insn): Likewise.
27592 (next_active_insn): Likewise.
27594 * emit-rtl.c (next_insn): Strengthen return type from rtx to
27595 rtx_insn *, adding a checked cast.
27596 (previous_insn): Likewise.
27597 (next_nonnote_insn): Likewise.
27598 (next_nonnote_insn_bb): Likewise.
27599 (prev_nonnote_insn): Likewise.
27600 (prev_nonnote_insn_bb): Likewise.
27601 (next_nondebug_insn): Likewise.
27602 (prev_nondebug_insn): Likewise.
27603 (next_nonnote_nondebug_insn): Likewise.
27604 (prev_nonnote_nondebug_insn): Likewise.
27605 (next_real_insn): Likewise.
27606 (prev_real_insn): Likewise.
27607 (next_active_insn): Likewise.
27608 (prev_active_insn): Likewise.
27610 * config/sh/sh-protos.h (sh_find_set_of_reg): Convert function ptr
27611 param "stepfunc" so that it returns an rtx_insn * rather than an
27612 rtx, to track the change to prev_nonnote_insn_bb, which is the
27613 only function this is called with.
27614 * config/sh/sh.c (sh_find_set_of_reg): Likewise.
27616 2014-08-19 Jan Hubicka <hubicka@ucw.cz>
27618 * ipa-visibility.c (update_visibility_by_resolution_info): Fix
27621 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27623 * coretypes.h (class rtx_debug_insn): Add forward declaration.
27624 (class rtx_nonjump_insn): Likewise.
27625 (class rtx_jump_insn): Likewise.
27626 (class rtx_call_insn): Likewise.
27627 (class rtx_jump_table_data): Likewise.
27628 (class rtx_barrier): Likewise.
27629 (class rtx_code_label): Likewise.
27630 (class rtx_note): Likewise.
27632 * rtl.h (class rtx_debug_insn): New, a subclass of rtx_insn,
27633 adding the invariant DEBUG_INSN_P (X).
27634 (class rtx_nonjump_insn): New, a subclass of rtx_insn, adding
27635 the invariant NONJUMP_INSN_P (X).
27636 (class rtx_jump_insn): New, a subclass of rtx_insn, adding
27637 the invariant JUMP_P (X).
27638 (class rtx_call_insn): New, a subclass of rtx_insn, adding
27639 the invariant CALL_P (X).
27640 (class rtx_jump_table): New, a subclass of rtx_insn, adding the
27641 invariant JUMP_TABLE_DATA_P (X).
27642 (class rtx_barrier): New, a subclass of rtx_insn, adding the
27643 invariant BARRIER_P (X).
27644 (class rtx_code_label): New, a subclass of rtx_insn, adding
27645 the invariant LABEL_P (X).
27646 (class rtx_note): New, a subclass of rtx_insn, adding
27647 the invariant NOTE_P(X).
27648 (is_a_helper <rtx_debug_insn *>::test): New.
27649 (is_a_helper <rtx_nonjump_insn *>::test): New.
27650 (is_a_helper <rtx_jump_insn *>::test): New.
27651 (is_a_helper <rtx_call_insn *>::test): New.
27652 (is_a_helper <rtx_jump_table_data *>::test): New functions,
27653 overloaded for both rtx and rtx_insn *.
27654 (is_a_helper <rtx_barrier *>::test): New.
27655 (is_a_helper <rtx_code_label *>::test): New functions, overloaded
27656 for both rtx and rtx_insn *.
27657 (is_a_helper <rtx_note *>::test): New.
27659 2014-08-19 Marek Polacek <polacek@redhat.com>
27661 * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO,
27662 CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
27663 * config/i386/i386.h (CLZ_DEFINED_VALUE_AT_ZERO,
27664 CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
27666 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27668 * sel-sched-ir.h (BND_TO): insn_t will eventually be an
27669 rtx_insn *. To help with transition, for now, convert from an
27670 access macro into a pair of functions: BND_TO, returning an
27672 (SET_BND_TO): New function, for use where BND_TO is used as an
27675 * sel-sched-ir.c (blist_add): Update lvalue usage of BND_TO to
27677 (BND_TO): New function, adding a checked cast.
27678 (SET_BND_TO): New function.
27680 * sel-sched.c (move_cond_jump): Update lvalue usage of BND_TO to
27682 (compute_av_set_on_boundaries): Likewise.
27684 2014-08-19 H.J. Lu <hongjiu.lu@intel.com>
27686 * config/i386/i386.md (*ctz<mode>2_falsedep_1): Don't clear
27687 destination if it is used in source.
27688 (*clz<mode>2_lzcnt_falsedep_1): Likewise.
27689 (*popcount<mode>2_falsedep_1): Likewise.
27691 2014-08-19 H.J. Lu <hongjiu.lu@intel.com>
27694 * configure.ac: Set install_gold_as_default to no first.
27695 * configure: Regenerated.
27697 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27699 * sel-sched-ir.h (BB_NOTE_LIST): struct sel_region_bb_info_def's
27700 "note_list" field will eventually be an rtx_insn *. To help with
27701 transition, for now, convert from an access macro into a pair of
27702 functions: BB_NOTE_LIST, returning an rtx_insn *, and...
27703 (SET_BB_NOTE_LIST): New function, for use where BB_NOTE_LIST is
27706 * sel-sched.c (create_block_for_bookkeeping): Update lvalue usage
27707 of BB_NOTE_LIST to SET_BB_NOTE_LIST.
27709 * sel-sched-ir.c (init_bb): Likewise.
27710 (sel_restore_notes): Likewise.
27711 (move_bb_info): Likewise.
27712 (BB_NOTE_LIST): New function, adding a checked cast to rtx_insn *.
27713 (SET_BB_NOTE_LIST): New function.
27715 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27717 * sel-sched-ir.h (VINSN_INSN_RTX): struct vinsn_def's "insn_rtx"
27718 field will eventually be an rtx_insn *. To help with transition,
27719 for now, convert from an access macro into a pair of functions:
27720 VINSN_INSN_RTX, returning an rtx_insn *, and...
27721 (SET_VINSN_INSN_RTX): New function, for use where VINSN_INSN_RTX
27722 is used as an lvalue.
27724 * sel-sched-ir.c (vinsn_init): Replace VINSN_INSN_RTX with
27725 SET_VINSN_INSN_RTX where it's used as an lvalue.
27726 (VINSN_INSN_RTX): New function.
27727 (SET_VINSN_INSN_RTX): New function.
27729 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27731 * sched-int.h (DEP_PRO): struct _dep's "pro" and "con" fields will
27732 eventually be rtx_insn *, but to help with transition, for now,
27733 convert from an access macro into a pair of functions: DEP_PRO
27734 returning an rtx_insn * and...
27735 (SET_DEP_PRO): New function, for use where DEP_PRO is used as an
27736 lvalue, returning an rtx&.
27737 (DEP_CON): Analogous changes to DEP_PRO above.
27738 (SET_DEP_CON): Likewise.
27740 * haifa-sched.c (create_check_block_twin): Replace DEP_CON used as
27741 an lvalue to SET_DEP_CON.
27742 * sched-deps.c (init_dep_1): Likewise for DEP_PRO and DEP_CON.
27743 (sd_copy_back_deps): Likewise for DEP_CON.
27744 (DEP_PRO): New function, adding a checked cast for now.
27745 (DEP_CON): Likewise.
27746 (SET_DEP_PRO): New function.
27747 (SET_DEP_CON): Likewise.
27749 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
27751 * config.gcc (*-*-cygwin*): Use __cxa_atexit by default.
27752 (extra_options): Add i386/cygwin.opt.
27753 * config/i386/cygwin.h (STARTFILE_SPEC): Use crtbeginS.o if shared.
27754 (CPP_SPEC): Accept -pthread.
27755 (LINK_SPEC): Ditto.
27756 (GOMP_SELF_SPECS): Update comment.
27757 * config/i386/cygwin.opt: New file for -pthread flag.
27759 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27761 * df-core.c (DF_REF_INSN): New, using a checked cast for now.
27762 * df.h (DF_REF_INSN): Convert from a macro to a function, so
27763 that we can return an rtx_insn *.
27765 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
27767 * config/i386/cygwin.h (LINK_SPEC): Pass --tsaware flag only
27768 when building executables, not DLLs. Add --large-address-aware
27769 under the same conditions.
27770 * config/i386/cygwin-w64.h (LINK_SPEC): Pass --tsaware flag only
27771 when building executables, not DLLs. Add --large-address-aware
27772 under the same conditions when using -m32.
27774 * config/i386/cygwin-stdint.h: Throughout, make type
27775 definitions dependent on target architecture, not host.
27777 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27779 * rtl.h (PREV_INSN): Convert to an inline function. Strengthen
27780 the return type from rtx to rtx_insn *, which will enable various
27781 conversions in followup patches. For now this is is done by a
27783 (NEXT_INSN): Likewise.
27784 (SET_PREV_INSN): Convert to an inline function. This is intended
27785 for use as an lvalue, and so returns an rtx& to allow in-place
27787 (SET_NEXT_INSN): Likewise.
27789 2014-07-08 Mark Wielaard <mjw@redhat.com>
27792 * dwarf2out.c (modified_type_die): Handle TYPE_QUAL_RESTRICT.
27794 2014-08-19 Marek Polacek <polacek@redhat.com>
27797 * cgraphunit.c (handle_alias_pairs): Fix condition.
27799 2014-08-19 Richard Biener <rguenther@suse.de>
27801 * gimple-fold.c (fold_gimple_assign): Properly build a
27802 null-pointer constant when devirtualizing addresses.
27804 2014-07-07 Mark Wielaard <mjw@redhat.com>
27806 * dwarf2out.c (decl_quals): New function.
27807 (modified_type_die): Take one cv_quals argument instead of two,
27808 one for const and one for volatile.
27809 (add_type_attribute): Likewise.
27810 (generic_parameter_die): Call add_type_attribute with one modifier
27812 (base_type_for_mode): Likewise.
27813 (add_bounds_info): Likewise.
27814 (add_subscript_info): Likewise.
27815 (gen_array_type_die): Likewise.
27816 (gen_descr_array_type_die): Likewise.
27817 (gen_entry_point_die): Likewise.
27818 (gen_enumeration_type_die): Likewise.
27819 (gen_formal_parameter_die): Likewise.
27820 (gen_subprogram_die): Likewise.
27821 (gen_variable_die): Likewise.
27822 (gen_const_die): Likewise.
27823 (gen_field_die): Likewise.
27824 (gen_pointer_type_die): Likewise.
27825 (gen_reference_type_die): Likewise.
27826 (gen_ptr_to_mbr_type_die): Likewise.
27827 (gen_inheritance_die): Likewise.
27828 (gen_subroutine_type_die): Likewise.
27829 (gen_typedef_die): Likewise.
27830 (force_type_die): Likewise.
27832 2014-08-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
27834 * configure.ac (gcc_cv_as_comdat_group_group): Only default to no
27836 * configure: Regenerate.
27838 2014-08-19 Richard Biener <rguenther@suse.de>
27840 * lto-streamer-out.c (DFS::DFS_write_tree_body): Stream
27841 DECL_EXTERNALs in BLOCKs as non-references.
27842 * tree-streamer-out.c (streamer_write_chain): Likewise.
27844 2014-08-19 Alexander Ivchenko <alexander.ivchenko@intel.com>
27845 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
27846 Anna Tikhonova <anna.tikhonova@intel.com>
27847 Ilya Tocar <ilya.tocar@intel.com>
27848 Andrey Turetskiy <andrey.turetskiy@intel.com>
27849 Ilya Verbin <ilya.verbin@intel.com>
27850 Kirill Yukhin <kirill.yukhin@intel.com>
27851 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
27853 * config/i386/sse.md
27854 (define_mode_iterator VI48_AVX512F): Delete.
27855 (define_mode_iterator VI48_AVX512F_AVX512VL): New.
27856 (define_mode_iterator VI2_AVX512VL): Ditto.
27857 (define_insn "<mask_codefor>avx512f_ufix_notruncv16sfv16si<mask_name><round_name>"):
27860 ("<mask_codefor><avx512>_ufix_notrunc<sf2simodelower><mode><mask_name><round_name>"):
27862 (define_insn "avx512cd_maskw_vec_dup<mode>"): Macroize.
27863 (define_insn "<avx2_avx512f>_ashrv<mode><mask_name>"): Delete.
27864 (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
27865 with VI48_AVX512F_AVX512VL): New.
27866 (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
27867 with VI2_AVX512VL): Ditto.
27869 2014-08-19 Marek Polacek <polacek@redhat.com>
27871 * doc/invoke.texi: Document -Wc99-c11-compat.
27873 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27875 * rtl.h (PREV_INSN): Split macro in two: the existing one,
27876 for rvalues, and...
27877 (SET_PREV_INSN): New macro, for use as an lvalue.
27878 (NEXT_INSN, SET_NEXT_INSN): Likewise.
27880 * caller-save.c (save_call_clobbered_regs): Convert lvalue use of
27881 PREV_INSN/NEXT_INSN into SET_PREV_INSN/SET_NEXT_INSN.
27882 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
27883 (fixup_abnormal_edges): Likewise.
27884 (unlink_insn_chain): Likewise.
27885 (fixup_reorder_chain): Likewise.
27886 (cfg_layout_delete_block): Likewise.
27887 (cfg_layout_merge_blocks): Likewise.
27888 * combine.c (update_cfg_for_uncondjump): Likewise.
27889 * emit-rtl.c (link_insn_into_chain): Likewise.
27890 (remove_insn): Likewise.
27891 (delete_insns_since): Likewise.
27892 (reorder_insns_nobb): Likewise.
27893 (emit_insn_after_1): Likewise.
27894 * final.c (rest_of_clean_state): Likewise.
27895 (final_scan_insn): Likewise.
27896 * gcse.c (can_assign_to_reg_without_clobbers_p): Likewise.
27897 * haifa-sched.c (concat_note_lists): Likewise.
27898 (remove_notes): Likewise.
27899 (restore_other_notes): Likewise.
27900 (move_insn): Likewise.
27901 (unlink_bb_notes): Likewise.
27902 (restore_bb_notes): Likewise.
27903 * jump.c (delete_for_peephole): Likewise.
27904 * optabs.c (emit_libcall_block_1): Likewise.
27905 * reorg.c (emit_delay_sequence): Likewise.
27906 (fill_simple_delay_slots): Likewise.
27907 * sel-sched-ir.c (sel_move_insn): Likewise.
27908 (sel_remove_insn): Likewise.
27909 (get_bb_note_from_pool): Likewise.
27910 * sel-sched.c (move_nop_to_previous_block): Likewise.
27912 * config/bfin/bfin.c (reorder_var_tracking_notes): Likewise.
27913 * config/c6x/c6x.c (gen_one_bundle): Likewise.
27914 (c6x_gen_bundles): Likewise.
27915 (hwloop_optimize): Likewise.
27916 * config/frv/frv.c (frv_function_prologue): Likewise.
27917 (frv_register_nop): Likewise.
27918 * config/ia64/ia64.c (ia64_init_dfa_pre_cycle_insn): Likewise.
27919 (ia64_reorg): Likewise.
27920 * config/mep/mep.c (mep_reorg_addcombine): Likewise.
27921 (mep_make_bundle): Likewise.
27922 (mep_bundle_insns): Likewise.
27923 * config/picochip/picochip.c (reorder_var_tracking_notes): Likewise.
27924 * config/tilegx/tilegx.c (reorder_var_tracking_notes): Likewise.
27925 * config/tilepro/tilepro.c (reorder_var_tracking_notes): Likewise.
27927 2014-08-19 David Malcolm <dmalcolm@redhat.com>
27929 * basic-block.h (BB_HEAD): Convert to a function. Strengthen the
27930 return type from rtx to rtx_insn *.
27931 (BB_END): Likewise.
27932 (BB_HEADER): Likewise.
27933 (BB_FOOTER): Likewise.
27934 (SET_BB_HEAD): Convert to a function.
27935 (SET_BB_END): Likewise.
27936 (SET_BB_HEADER): Likewise.
27937 (SET_BB_FOOTER): Likewise.
27939 * cfgrtl.c (BB_HEAD): New function, from macro of same name.
27940 Strengthen the return type from rtx to rtx_insn *. For now, this
27941 is done by adding a checked cast, but this will eventually
27942 become a field lookup.
27943 (BB_END): Likewise.
27944 (BB_HEADER): Likewise.
27945 (BB_FOOTER): Likewise.
27946 (SET_BB_HEAD): New function, from macro of same name. This is
27947 intended for use as an lvalue, and so returns an rtx& to allow
27948 in-place modification.
27949 (SET_BB_END): Likewise.
27950 (SET_BB_HEADER): Likewise.
27951 (SET_BB_FOOTER): Likewise.
27953 2014-08-18 David Malcolm <dmalcolm@redhat.com>
27955 * basic-block.h (BB_HEAD): Split macro in two: the existing one,
27956 for rvalues, and...
27957 (SET_BB_HEAD): New macro, for use as a lvalue.
27958 (BB_END, SET_BB_END): Likewise.
27959 (BB_HEADER, SET_BB_HEADER): Likewise.
27960 (BB_FOOTER, SET_BB_FOOTER): Likewise.
27962 * bb-reorder.c (add_labels_and_missing_jumps): Convert lvalue use
27963 of BB_* macros into SET_BB_* macros.
27964 (fix_crossing_unconditional_branches): Likewise.
27965 * caller-save.c (save_call_clobbered_regs): Likewise.
27966 (insert_one_insn): Likewise.
27967 * cfgbuild.c (find_bb_boundaries): Likewise.
27968 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
27969 (outgoing_edges_match): Likewise.
27970 (try_optimize_cfg): Likewise.
27971 * cfgexpand.c (expand_gimple_cond): Likewise.
27972 (expand_gimple_tailcall): Likewise.
27973 (expand_gimple_basic_block): Likewise.
27974 (construct_exit_block): Likewise.
27975 * cfgrtl.c (delete_insn): Likewise.
27976 (create_basic_block_structure): Likewise.
27977 (rtl_delete_block): Likewise.
27978 (rtl_split_block): Likewise.
27979 (emit_nop_for_unique_locus_between): Likewise.
27980 (rtl_merge_blocks): Likewise.
27981 (block_label): Likewise.
27982 (try_redirect_by_replacing_jump): Likewise.
27983 (emit_barrier_after_bb): Likewise.
27984 (fixup_abnormal_edges): Likewise.
27985 (record_effective_endpoints): Likewise.
27986 (relink_block_chain): Likewise.
27987 (fixup_reorder_chain): Likewise.
27988 (fixup_fallthru_exit_predecessor): Likewise.
27989 (cfg_layout_duplicate_bb): Likewise.
27990 (cfg_layout_split_block): Likewise.
27991 (cfg_layout_delete_block): Likewise.
27992 (cfg_layout_merge_blocks): Likewise.
27993 * combine.c (update_cfg_for_uncondjump): Likewise.
27994 * emit-rtl.c (add_insn_after): Likewise.
27995 (remove_insn): Likewise.
27996 (reorder_insns): Likewise.
27997 (emit_insn_after_1): Likewise.
27998 * haifa-sched.c (get_ebb_head_tail): Likewise.
27999 (restore_other_notes): Likewise.
28000 (move_insn): Likewise.
28001 (sched_extend_bb): Likewise.
28002 (fix_jump_move): Likewise.
28003 * ifcvt.c (noce_process_if_block): Likewise.
28004 (dead_or_predicable): Likewise.
28005 * ira.c (update_equiv_regs): Likewise.
28006 * reg-stack.c (change_stack): Likewise.
28007 * sel-sched-ir.c (sel_move_insn): Likewise.
28008 * sel-sched.c (move_nop_to_previous_block): Likewise.
28010 * config/c6x/c6x.c (hwloop_optimize): Likewise.
28011 * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
28013 2014-08-18 David Malcolm <dmalcolm@redhat.com>
28015 * rtl.h (for_each_rtx_in_insn): New function.
28016 * rtlanal.c (for_each_rtx_in_insn): Likewise.
28018 2014-08-18 David Malcolm <dmalcolm@redhat.com>
28020 * coretypes.h (class rtx_insn): Add forward declaration.
28022 * rtl.h: Include is-a.h.
28023 (struct rtx_def): Add dummy "desc" and "tag" GTY options as a
28024 workaround to ensure gengtype knows inheritance is occurring,
28025 whilst continuing to use the pre-existing special-casing for
28027 (class rtx_insn): New subclass of rtx_def, adding the
28028 invariant that we're dealing with something we can sanely use
28029 INSN_UID, NEXT_INSN, PREV_INSN on.
28030 (is_a_helper <rtx_insn *>::test): New.
28031 (is_a_helper <const rtx_insn *>::test): New.
28033 2014-08-18 David Malcolm <dmalcolm@redhat.com>
28035 * is-a.h (template<T, U> safe_as_a <U *p>) New function.
28037 2014-08-18 Jan Hubicka <hubicka@ucw.cz>
28039 * ipa-visibility.c (update_visibility_by_resolution_info): Do no
28040 turn UNDEF comdats as extern.
28042 2014-08-18 Jan Hubicka <hubicka@ucw.cz>
28044 * gimple-fold.c (fold_gimple_assign): Do not intorudce referneces
28045 to BUILT_IN_UNREACHABLE.
28047 2014-08-18 Uros Bizjak <ubizjak@gmail.com>
28050 * config/i386/x86-tune.def (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI):
28052 * config/i386/i386.h (TARGET_AVOID_FALSE_DEP_FOR_BMI): New define.
28053 * config/i386/i386.md (unspec) <UNSPEC_INSN_FALSE_DEP>: New unspec.
28054 (ffs<mode>2): Do not expand with tzcnt for
28055 TARGET_AVOID_FALSE_DEP_FOR_BMI.
28056 (ffssi2_no_cmove): Ditto.
28057 (*tzcnt<mode>_1): Disable for TARGET_AVOID_FALSE_DEP_FOR_BMI.
28058 (ctz<mode>2): New expander.
28059 (*ctz<mode>2_falsedep_1): New insn_and_split pattern.
28060 (*ctz<mode>2_falsedep): New insn.
28061 (*ctz<mode>2): Rename from ctz<mode>2.
28062 (clz<mode>2_lzcnt): New expander.
28063 (*clz<mode>2_lzcnt_falsedep_1): New insn_and_split pattern.
28064 (*clz<mode>2_lzcnt_falsedep): New insn.
28065 (*clz<mode>2): Rename from ctz<mode>2.
28066 (popcount<mode>2): New expander.
28067 (*popcount<mode>2_falsedep_1): New insn_and_split pattern.
28068 (*popcount<mode>2_falsedep): New insn.
28069 (*popcount<mode>2): Rename from ctz<mode>2.
28070 (*popcount<mode>2_cmp): Remove.
28071 (*popcountsi2_cmp_zext): Ditto.
28073 2014-08-18 Ajit Agarwal <ajitkum@xilinx.com>
28075 * config/microblaze/microblaze.c (microblaze_elf_asm_cdtor): New.
28076 (microblaze_elf_asm_constructor,microblaze_elf_asm_destructor): New.
28077 * config/microblaze/microblaze.h
28078 (TARGET_ASM_CONSTRUCTOR,TARGET_ASM_DESTRUCTOR): New Macros.
28080 2014-08-18 H.J. Lu <hongjiu.lu@intel.com>
28083 * configure.ac: Set install_gold_as_default to no for
28085 * configure: Regenerated.
28087 2014-08-18 Roman Gareev <gareevroman@gmail.com>
28089 * Makefile.in: Add definition of ISLLIBS, HOST_ISLLIBS.
28090 * config.in: Add undef of HAVE_isl.
28091 * configure: Regenerate.
28092 * configure.ac: Add definition of HAVE_isl.
28093 * graphite-blocking.c: Add checking of HAVE_isl.
28094 * graphite-dependences.c: Likewise.
28095 * graphite-interchange.c: Likewise.
28096 * graphite-isl-ast-to-gimple.c: Likewise.
28097 * graphite-optimize-isl.c: Likewise.
28098 * graphite-poly.c: Likewise.
28099 * graphite-scop-detection.c: Likewise.
28100 * graphite-sese-to-poly.c: Likewise.
28101 * graphite.c: Likewise.
28102 * toplev.c: Replace the checking of HAVE_cloog with the checking
28105 2014-08-18 Richard Biener <rguenther@suse.de>
28107 PR tree-optimization/62090
28108 * builtins.c (fold_builtin_snprintf): Move to gimple-fold.c.
28109 (fold_builtin_3): Do not fold snprintf.
28110 (fold_builtin_4): Likewise.
28111 * gimple-fold.c (gimple_fold_builtin_snprintf): New function
28112 moved from builtins.c.
28113 (gimple_fold_builtin_with_strlen): Fold snprintf and sprintf.
28114 (gimple_fold_builtin): Do not fold sprintf here.
28116 2014-08-18 Richard Biener <rguenther@suse.de>
28118 * gimple-fold.c (maybe_fold_reference): Move re-gimplification
28120 (maybe_canonicalize_mem_ref_addr): ... this function.
28121 (fold_stmt_1): Apply it here before all simplification.
28123 2014-08-18 Ilya Enkovich <ilya.enkovich@intel.com>
28126 * cgraph.h (cgraph_node::create_indirect_edge): Add
28127 compute_indirect_info param.
28128 * cgraph.c (cgraph_node::create_indirect_edge): Compute
28129 indirect_info only when it is required.
28130 * cgraphclones.c (cgraph_clone_edge): Do not recompute
28131 indirect_info fore cloned indirect edge.
28133 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
28134 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28135 Anna Tikhonova <anna.tikhonova@intel.com>
28136 Ilya Tocar <ilya.tocar@intel.com>
28137 Andrey Turetskiy <andrey.turetskiy@intel.com>
28138 Ilya Verbin <ilya.verbin@intel.com>
28139 Kirill Yukhin <kirill.yukhin@intel.com>
28140 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28142 * config/i386/sse.md
28143 (define_mode_iterator VI8_AVX2_AVX512BW): New.
28144 (define_insn "<sse2_avx2>_psadbw"): Add evex version.
28146 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
28147 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28148 Anna Tikhonova <anna.tikhonova@intel.com>
28149 Ilya Tocar <ilya.tocar@intel.com>
28150 Andrey Turetskiy <andrey.turetskiy@intel.com>
28151 Ilya Verbin <ilya.verbin@intel.com>
28152 Kirill Yukhin <kirill.yukhin@intel.com>
28153 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28155 * config/i386/sse.md
28156 (define_mode_iterator VF1_AVX512VL): New.
28157 (define_insn "ufloatv16siv16sf2<mask_name><round_name>"): Delete.
28158 (define_insn "ufloat<sseintvecmodelower><mode>2<mask_name><round_name>"):
28161 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
28162 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28163 Anna Tikhonova <anna.tikhonova@intel.com>
28164 Ilya Tocar <ilya.tocar@intel.com>
28165 Andrey Turetskiy <andrey.turetskiy@intel.com>
28166 Ilya Verbin <ilya.verbin@intel.com>
28167 Kirill Yukhin <kirill.yukhin@intel.com>
28168 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28170 * config/i386/i386.c: Rename ufloatv8siv8df_mask to
28171 ufloatv8siv8df2_mask.
28172 * config/i386/i386.md
28173 (define_code_iterator any_float): New.
28174 (define_code_attr floatsuffix): New.
28175 * config/i386/sse.md
28176 (define_mode_iterator VF1_128_256VL): New.
28177 (define_mode_iterator VF2_512_256VL): New.
28178 (define_insn "float<si2dfmodelower><mode>2<mask_name>"): Remove
28179 unnecessary TARGET check.
28180 (define_insn "ufloatv8siv8df<mask_name>"): Delete.
28181 (define_insn "<floatsuffix>float<sseintvecmodelower><mode>2<mask_name><round_name>"):
28183 (define_mode_attr qq2pssuff): New.
28184 (define_mode_attr sselongvecmode): New.
28185 (define_mode_attr sselongvecmodelower): New.
28186 (define_mode_attr sseintvecmode3): New.
28187 (define_insn "<floatsuffix>float<sselongvecmodelower><mode>2<mask_name><round_name>"):
28189 (define_insn "*<floatsuffix>floatv2div2sf2"): New.
28190 (define_insn "<floatsuffix>floatv2div2sf2_mask"): New.
28191 (define_insn "ufloat<si2dfmodelower><mode>2<mask_name>"): New.
28192 (define_insn "ufloatv2siv2df2<mask_name>"): New.
28194 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
28195 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28196 Anna Tikhonova <anna.tikhonova@intel.com>
28197 Ilya Tocar <ilya.tocar@intel.com>
28198 Andrey Turetskiy <andrey.turetskiy@intel.com>
28199 Ilya Verbin <ilya.verbin@intel.com>
28200 Kirill Yukhin <kirill.yukhin@intel.com>
28201 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28203 * config/i386/sse.md
28204 (define_mode_iterator VF2_AVX512VL): New.
28205 (define_mode_attr sseintvecmode2): New.
28206 (define_insn "ufix_truncv2dfv2si2<mask_name>"): Add masking.
28207 (define_insn "fix_truncv4dfv4si2<mask_name>"): New.
28208 (define_insn "ufix_truncv4dfv4si2<mask_name>"): Ditto.
28210 "<fixsuffix>fix_trunc<mode><sseintvecmodelower>2<mask_name><round_saeonly_name>"):
28212 (define_insn "fix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
28214 (define_insn "ufix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
28217 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
28218 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28219 Anna Tikhonova <anna.tikhonova@intel.com>
28220 Ilya Tocar <ilya.tocar@intel.com>
28221 Andrey Turetskiy <andrey.turetskiy@intel.com>
28222 Ilya Verbin <ilya.verbin@intel.com>
28223 Kirill Yukhin <kirill.yukhin@intel.com>
28224 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28226 * config/i386/i386.md
28227 (define_insn "*movoi_internal_avx"): Add evex version.
28228 (define_insn "*movti_internal"): Ditto.
28230 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
28231 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28232 Anna Tikhonova <anna.tikhonova@intel.com>
28233 Ilya Tocar <ilya.tocar@intel.com>
28234 Andrey Turetskiy <andrey.turetskiy@intel.com>
28235 Ilya Verbin <ilya.verbin@intel.com>
28236 Kirill Yukhin <kirill.yukhin@intel.com>
28237 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28239 * config/i386/i386.md
28240 (define_attr "isa"): Add avx512dq, noavx512dq.
28241 (define_attr "enabled"): Ditto.
28242 * config/i386/sse.md
28243 (define_insn "vec_extract_hi_<mode><mask_name>"): Support masking.
28245 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
28246 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28247 Anna Tikhonova <anna.tikhonova@intel.com>
28248 Ilya Tocar <ilya.tocar@intel.com>
28249 Andrey Turetskiy <andrey.turetskiy@intel.com>
28250 Ilya Verbin <ilya.verbin@intel.com>
28251 Kirill Yukhin <kirill.yukhin@intel.com>
28252 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28254 * config/i386/i386.c
28255 (ix86_expand_special_args_builtin): Handle avx512vl_storev8sf_mask,
28256 avx512vl_storev8si_mask, avx512vl_storev4df_mask, avx512vl_storev4di_mask,
28257 avx512vl_storev4sf_mask, avx512vl_storev4si_mask, avx512vl_storev2df_mask,
28258 avx512vl_storev2di_mask, avx512vl_loadv8sf_mask, avx512vl_loadv8si_mask,
28259 avx512vl_loadv4df_mask, avx512vl_loadv4di_mask, avx512vl_loadv4sf_mask,
28260 avx512vl_loadv4si_mask, avx512vl_loadv2df_mask, avx512vl_loadv2di_mask,
28261 avx512bw_loadv64qi_mask, avx512vl_loadv32qi_mask, avx512vl_loadv16qi_mask,
28262 avx512bw_loadv32hi_mask, avx512vl_loadv16hi_mask, avx512vl_loadv8hi_mask.
28263 * config/i386/i386.md (define_mode_attr ssemodesuffix): Allow V32HI mode.
28264 * config/i386/sse.md
28265 (define_mode_iterator VMOVE): Allow V4TI mode.
28266 (define_mode_iterator V_AVX512VL): New.
28267 (define_mode_iterator V): New handling for AVX512VL.
28268 (define_insn "avx512f_load<mode>_mask"): Delete.
28269 (define_insn "<avx512>_load<mode>_mask"): New.
28270 (define_insn "avx512f_store<mode>_mask"): Delete.
28271 (define_insn "<avx512>_store<mode>_mask"): New.
28274 2014-08-18 Yury Gribov <y.gribov@samsung.com>
28277 * asan.c (instrument_derefs): Fix bitfield check.
28279 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
28281 * config/rs6000/constraints.md ("S"): Require TARGET_POWERPC64.
28282 * config/rs6000/htm.md (ttest): Remove clobber.
28283 * config/rs6000/predicates.md (any_mask_operand): New predicate.
28284 (and_operand): Reformat.
28285 (and_2rld_operand): New predicate.
28286 * config/rs6000/rs6000-protos.h (rs6000_split_logical): Remove last
28288 * config/rs6000/rs6000.c (rs6000_split_logical_inner): Remove last
28289 parameter. Handle AND directly.
28290 (rs6000_split_logical_di): Remove last parameter.
28291 (rs6000_split_logical): Remove last parameter. Remove obsolete
28293 * config/rs6000/rs6000.md (BOOL_REGS_AND_CR0): Delete.
28294 (one_cmpl<mode>2): Adjust call of rs6000_split_logical.
28295 (ctz<mode>2, ffs<mode>2): Delete clobber. Reformat.
28296 (andsi3, andsi3_mc, andsi3_nomc, *andsi3_internal2_mc,
28297 *andsi3_internal3_mc, *andsi3_internal4, *andsi3_internal5_mc,
28298 and 5 anonymous splitters): Delete.
28299 (and<mode>3): New expander.
28300 (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): New.
28301 (and<mode>3_imm, *and<mode>3_imm_dot, *and<mode>3_imm_dot2): New.
28302 (*and<mode>3_mask, *and<mode>3_mask_dot, *and<mode>3_mask_dot2): New.
28303 (ior<mode>, xor<mode>3): Adjust call of rs6000_split_logical.
28304 (floatdisf2_internal1): Remove clobbers.
28305 (anddi3, anddi3_mc, anddi3_nomc, anddi3_internal2_mc,
28306 *anddi3_internal3_mc, and 4 anonymous splitters): Delete.
28307 (*anddi3_2rld, *anddi3_2rld_dot, *anddi3_2rld_dot2): New.
28308 (and<mode>3 for BOOL_128): Remove clobber.
28309 (*and<mode>3_internal for BOOL_128): Remove clobber. Adjust call of
28310 rs6000_split_logical.
28311 (*bool<mode>3_internal for BOOL_128): Adjust call of
28312 rs6000_split_logical.
28313 (*boolc<mode>3_internal1 for BOOL_128,
28314 *boolc<mode>3_internal2 for BOOL_128,
28315 *boolcc<mode>3_internal1 for BOOL_128,
28316 *boolcc<mode>3_internal2 for BOOL_128,
28317 *eqv<mode>3_internal1 for BOOL_128,
28318 *eqv<mode>3_internal2 for BOOL_128,
28319 *one_cmpl<mode>3_internal for BOOL_128): Ditto.
28320 * config/rs6000/vector.md (*vec_reload_and_plus_<mptrsize): Remove
28322 (*vec_reload_and_reg_<mptrsize>): Delete.
28324 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
28326 * config/rs6000/rs6000.md (*boolccsi3_internal1, *boolccsi3_internal2
28327 and split, *boolccsi3_internal3 and split): Delete.
28328 (*boolccdi3_internal1, *boolccdi3_internal2 and split,
28329 *boolccdi3_internal3 and split): Delete.
28330 (*boolcc<mode>3, *boolcc<mode>3_dot, *boolcc<mode>3_dot2): New.
28331 (*eqv<mode>3): Move. Add TODO comment. Fix attributes.
28333 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
28335 * config/rs6000/rs6000.md (*boolcsi3_internal1, *boolcsi3_internal2
28336 and split, *boolcsi3_internal3 and split): Delete.
28337 (*boolcdi3_internal1, *boolcdi3_internal2 and split,
28338 *boolcdi3_internal3 and split): Delete.
28339 (*boolc<mode>3, *boolc<mode>3_dot, *boolc<mode>3_dot2): New.
28341 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
28343 * config/rs6000/rs6000.c (print_operand) <'e'>: New.
28344 <'u'>: Also support printing the low-order 16 bits.
28345 * config/rs6000/rs6000.md (iorsi3, xorsi3, *boolsi3_internal1,
28346 *boolsi3_internal2 and split, *boolsi3_internal3 and split): Delete.
28347 (iordi3, xordi3, *booldi3_internal1, *booldi3_internal2 and split,
28348 *booldi3_internal3 and split): Delete.
28349 (ior<mode>3, xor<mode>3, *bool<mode>3, *bool<mode>3_dot,
28350 *bool<mode>3_dot2): New.
28351 (two anonymous define_splits for non_logical_cint_operand): Merge.
28353 2014-08-17 Marek Polacek <polacek@redhat.com>
28354 Manuel López-Ibáñez <manu@gcc.gnu.org>
28357 * diagnostic.c (adjust_line): Add gcc_checking_assert.
28358 (diagnostic_show_locus): Don't print caret diagnostic
28359 if a column is larger than the line_width.
28361 2014-08-17 Roman Gareev <gareevroman@gmail.com>
28363 * common.opt: Make the ISL AST generator to be the main code generator
28366 2014-08-16 Gerald Pfeifer <gerald@pfeifer.com>
28368 * wide-int.h (generic_wide_int): Declare as class instead of struct.
28370 2014-08-16 John David Anglin <danglin@gcc.gnu.org>
28373 * config/pa/pa-protos.h (pa_output_addr_vec, pa_output_addr_diff_vec):
28375 * config/pa/pa.c (pa_reorg): Remove code to insert brtab marker insns.
28376 (pa_output_addr_vec, pa_output_addr_diff_vec): New.
28377 * config/pa/pa.h (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC):
28379 * config/pa/pa.md (begin_brtab): Delete insn.
28380 (end_brtab): Likewise.
28382 2014-08-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
28384 * doc/cppopts.texi (ftrack-macro-expansion): Add missing @code.
28386 2014-08-15 Jan Hubicka <hubicka@ucw.cz>
28388 * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
28389 (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
28390 possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
28391 (get_dynamic_type): Remove.
28392 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
28393 (clear_speculation): Bring to ipa-deivrt.h
28394 (get_class_context): Rename to ...
28395 (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
28396 (contains_type_p): Update.
28397 (get_dynamic_type): Rename to ...
28398 ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
28399 (possible_polymorphic_call_targets): UPdate.
28400 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
28401 * ipa-prop.c (ipa_analyze_call_uses): Update.
28403 2014-08-15 Oleg Endo <olegendo@gcc.gnu.org>
28405 * doc/invoke.texi (SH options): Document missing processor variant
28406 options. Remove references to Hitachi. Undocument deprecated mspace
28409 2014-08-15 Jason Merrill <jason@redhat.com>
28411 * tree.c (type_hash_canon): Uncomment assert.
28413 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
28415 * input.h (in_system_header_at): Add comment.
28417 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
28420 * diagnostic.c (build_message_string): Make it extern.
28421 * diagnostic.h (build_message_string): Make it extern.
28423 2014-08-15 Vladimir Makarov <vmakarov@redhat.com>
28425 * config/rs6000/rs6000.c (rs6000_emit_move): Use SDmode for
28426 load/store from/to non-floating class pseudo.
28428 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
28430 * input.c (diagnostic_file_cache_fini): Fix typo in comment.
28432 2014-08-15 Richard Biener <rguenther@suse.de>
28434 * tree-ssa-structalias.c (readonly_id): Rename to string_id.
28435 (get_constraint_for_ssa_var): Remove dead code.
28436 (get_constraint_for_1): Adjust.
28437 (find_what_var_points_to): Likewise.
28438 (init_base_vars): Likewise. STRING_CSTs do not contain pointers.
28440 2014-08-15 Ilya Tocar <tocarip@gmail.com>
28443 * config/i386/avx512fintrin.h (_mm512_mask_cmpge_epi32_mask): New.
28444 (_mm512_mask_cmpge_epu32_mask): Ditto.
28445 (_mm512_cmpge_epu32_mask): Ditto.
28446 (_mm512_mask_cmpge_epi64_mask): Ditto.
28447 (_mm512_cmpge_epi64_mask): Ditto.
28448 (_mm512_mask_cmpge_epu64_mask): Ditto.
28449 (_mm512_cmpge_epu64_mask): Ditto.
28450 (_mm512_mask_cmple_epi32_mask): Ditto.
28451 (_mm512_cmple_epi32_mask): Ditto.
28452 (_mm512_mask_cmple_epu32_mask): Ditto.
28453 (_mm512_cmple_epu32_mask): Ditto.
28454 (_mm512_mask_cmple_epi64_mask): Ditto.
28455 (_mm512_cmple_epi64_mask): Ditto.
28456 (_mm512_mask_cmple_epu64_mask): Ditto.
28457 (_mm512_cmple_epu64_mask): Ditto.
28458 (_mm512_mask_cmplt_epi32_mask): Ditto.
28459 (_mm512_cmplt_epi32_mask): Ditto.
28460 (_mm512_mask_cmplt_epu32_mask): Ditto.
28461 (_mm512_cmplt_epu32_mask): Ditto.
28462 (_mm512_mask_cmplt_epi64_mask): Ditto.
28463 (_mm512_cmplt_epi64_mask): Ditto.
28464 (_mm512_mask_cmplt_epu64_mask): Ditto.
28465 (_mm512_cmplt_epu64_mask): Ditto.
28466 (_mm512_mask_cmpneq_epi32_mask): Ditto.
28467 (_mm512_mask_cmpneq_epu32_mask): Ditto.
28468 (_mm512_cmpneq_epu32_mask): Ditto.
28469 (_mm512_mask_cmpneq_epi64_mask): Ditto.
28470 (_mm512_cmpneq_epi64_mask): Ditto.
28471 (_mm512_mask_cmpneq_epu64_mask): Ditto.
28472 (_mm512_cmpneq_epu64_mask): Ditto.
28473 (_mm512_castpd_ps): Ditto.
28474 (_mm512_castpd_si512): Ditto.
28475 (_mm512_castps_pd): Ditto.
28476 (_mm512_castps_si512): Ditto.
28477 (_mm512_castsi512_ps): Ditto.
28478 (_mm512_castsi512_pd): Ditto.
28479 (_mm512_castpd512_pd128): Ditto.
28480 (_mm512_castps512_ps128): Ditto.
28481 (_mm512_castsi512_si128): Ditto.
28482 (_mm512_castpd512_pd256): Ditto.
28483 (_mm512_castps512_ps256): Ditto.
28484 (_mm512_castsi512_si256): Ditto.
28485 (_mm512_castpd128_pd512): Ditto.
28486 (_mm512_castps128_ps512): Ditto.
28487 (_mm512_castsi128_si512): Ditto.
28488 (_mm512_castpd256_pd512): Ditto.
28489 (_mm512_castps256_ps512): Ditto.
28490 (_mm512_castsi256_si512): Ditto.
28491 (_mm512_cmpeq_epu32_mask): Ditto.
28492 (_mm512_mask_cmpeq_epu32_mask): Ditto.
28493 (_mm512_mask_cmpeq_epu64_mask): Ditto.
28494 (_mm512_cmpeq_epu64_mask): Ditto.
28495 (_mm512_cmpgt_epu32_mask): Ditto.
28496 (_mm512_mask_cmpgt_epu32_mask): Ditto.
28497 (_mm512_mask_cmpgt_epu64_mask): Ditto.
28498 (_mm512_cmpgt_epu64_mask): Ditto.
28499 * config/i386/i386-builtin-types.def: Add V16SF_FTYPE_V8SF,
28500 V16SI_FTYPE_V8SI, V16SI_FTYPE_V4SI, V8DF_FTYPE_V2DF.
28501 * config/i386/i386.c (enum ix86_builtins): Add
28502 IX86_BUILTIN_SI512_SI256, IX86_BUILTIN_PD512_PD256,
28503 IX86_BUILTIN_PS512_PS256, IX86_BUILTIN_SI512_SI,
28504 IX86_BUILTIN_PD512_PD, IX86_BUILTIN_PS512_PS.
28505 (bdesc_args): Add __builtin_ia32_si512_256si,
28506 __builtin_ia32_ps512_256ps, __builtin_ia32_pd512_256pd,
28507 __builtin_ia32_si512_si, __builtin_ia32_ps512_ps,
28508 __builtin_ia32_pd512_pd.
28509 (ix86_expand_args_builtin): Handle new FTYPEs.
28510 * config/i386/sse.md (castmode): Add 512-bit modes.
28511 (AVX512MODE2P): New.
28512 (avx512f_<castmode><avxsizesuffix>_<castmode): New.
28513 (avx512f_<castmode><avxsizesuffix>_256<castmode): Ditto.
28515 2014-08-15 Richard Biener <rguenther@suse.de>
28517 * fold-const.c (tree_swap_operands_p): Put all constants
28518 last, also strip sign-changing NOPs when considering further
28519 canonicalization. Canonicalize also when optimizing for size.
28521 2014-08-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
28523 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Move
28524 one_match > zero_match case to just before simple_sequence.
28526 2014-08-15 Richard Biener <rguenther@suse.de>
28528 * data-streamer.h (streamer_string_index, string_for_index):
28530 * data-streamer-out.c (streamer_string_index): Make static.
28531 * data-streamer-in.c (string_for_index): Likewise.
28532 * lto-streamer-out.c (lto_output_location): Use bp_pack_string.
28533 * lto-streamer-in.c (lto_input_location): Use bp_unpack_string.
28535 2014-08-15 Richard Biener <rguenther@suse.de>
28537 PR tree-optimization/62031
28538 * tree-data-ref.c (dr_analyze_indices): Do not set
28539 DR_UNCONSTRAINED_BASE.
28540 (dr_may_alias_p): All indirect accesses have to go the
28541 formerly DR_UNCONSTRAINED_BASE path.
28542 * tree-data-ref.h (struct indices): Remove
28543 unconstrained_base member.
28544 (DR_UNCONSTRAINED_BASE): Remove.
28546 2014-08-15 Jakub Jelinek <jakub@redhat.com>
28548 PR middle-end/62092
28549 * gimplify.c (gimplify_adjust_omp_clauses_1): Don't remove
28550 OMP_CLAUSE_SHARED for global vars if the global var is mentioned
28551 in OMP_CLAUSE_MAP in some outer target region.
28553 2014-08-15 Bin Cheng <bin.cheng@arm.com>
28555 * tree-ssa-loop-ivopts.c (ivopts_data): New field
28556 name_expansion_cache.
28557 (tree_ssa_iv_optimize_init): Initialize name_expansion_cache.
28558 (tree_ssa_iv_optimize_finalize): Free name_expansion_cache.
28559 (strip_wrap_conserving_type_conversions, expr_equal_p): Delete.
28560 (difference_cannot_overflow_p): New parameter. Use affine
28561 expansion for equality check.
28562 (iv_elimination_compare_lt): Pass new argument.
28564 2014-08-14 DJ Delorie <dj@redhat.com>
28566 * config/rl78/rl78-real.md (addqi3_real): Allow adding global
28567 variables to the accumulator.
28569 * config/rl78/predicates.md (rl78_near_mem_operand): New.
28570 * config/rl78/rl78-virt.md (movqi_virt_mm, movqi_virt)
28571 (movhi_virt_mm): Split out near mem-mem moves to avoid problems
28572 with far-far moves.
28574 * config/rl78/rl78-expand.md (umulqihi3): Disable for G10.
28575 * config/rl78/rl78-virt.md (umulhi3_shift_virt): Likewise.
28576 (umulqihi3_virt): Likewise.
28577 * config/rl78/rl78-real.md (umulhi3_shift_real): Likewise.
28578 (umulqihi3_real): Likewise.
28580 * config/rl78/rl78-virt.md (movhi_virt): Allow const->far moves.
28582 2014-08-14 Jan Hubicka <hubicka@ucw.cz>
28584 PR tree-optimization/62091
28585 * tree-ssa-alias.c (walk_aliased_vdefs_1): Do not clear
28586 function_entry_reached.
28587 (walk_aliased_vdefs): Clear it here.
28588 * ipa-devirt.c (check_stmt_for_type_change): Handle static storage.
28590 2014-08-14 Jan Hubicka <hubicka@ucw.cz>
28592 * ipa-utils.h (compare_virtual_tables): Declare.
28593 * ipa-devirt.c (odr_subtypes_equivalent_p): New function
28595 2014-08-14 Marek Polacek <polacek@redhat.com>
28598 * ginclude/stdatomic.h (__atomic_type_lock_free): Remove.
28599 (ATOMIC_*_LOCK_FREE): Map to __GCC_ATOMIC_*_LOCK_FREE.
28601 2014-08-14 Tom de Vries <tom@codesourcery.com>
28603 * emit-rtl.h (mem_attrs_eq_p): Remove duplicate declaration.
28605 2014-08-14 Tom de Vries <tom@codesourcery.com>
28607 PR rtl-optimization/62004
28608 PR rtl-optimization/62030
28609 * ifcvt.c (rtx_interchangeable_p): New function.
28610 (noce_try_move, noce_process_if_block): Use rtx_interchangeable_p.
28611 * emit-rtl.h (mem_attrs_eq_p): Declare.
28613 2014-08-14 Roman Gareev <gareevroman@gmail.com>
28615 * graphite-scop-detection.c:
28616 Add inclusion of cp-tree.h.
28617 (graphite_can_represent_scev): Disables the handling of SSA_NAME nodes
28618 in case they are pointers to object types
28620 2014-08-14 Richard Biener <rguenther@suse.de>
28622 * BASE-VER: Change to 5.0.0
28624 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
28625 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28626 Anna Tikhonova <anna.tikhonova@intel.com>
28627 Ilya Tocar <ilya.tocar@intel.com>
28628 Andrey Turetskiy <andrey.turetskiy@intel.com>
28629 Ilya Verbin <ilya.verbin@intel.com>
28630 Kirill Yukhin <kirill.yukhin@intel.com>
28631 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28633 * config/i386/sse.md (define_mode_attr avx512): New.
28634 (define_mode_attr sse2_avx_avx512f): Allow V8HI, V16HI, V32HI, V2DI,
28636 (define_mode_attr sse2_avx2): Allow V64QI, V32HI, V4TI modes.
28637 (define_mode_attr ssse3_avx2): Ditto.
28638 (define_mode_attr sse4_1_avx2): Allow V64QI, V32HI, V8DI modes.
28639 (define_mode_attr avx2_avx512bw): New.
28640 (define_mode_attr ssedoublemodelower): New.
28641 (define_mode_attr ssedoublemode): Allow V8SF, V8SI, V4DI, V4DF, V4SI,
28642 V32HI, V64QI modes.
28643 (define_mode_attr ssebytemode): Allow V8DI modes.
28644 (define_mode_attr sseinsnmode): Allow V4TI, V32HI, V64QI modes.
28645 (define_mode_attr sseintvecmodelower): Allow V8DF, V4TI modes.
28646 (define_mode_attr ssePSmode2): New.
28647 (define_mode_attr ssescalarsize): Allow V64QI, V32QI, V16QI, V8HI,
28648 V16HI, V32HI modes.
28649 (define_mode_attr dbpsadbwmode): New.
28650 (define_mode_attr bcstscalarsuff): Allow V64QI, V32QI, V16QI, V32HI,
28651 V16HI, V8HI, V8SI, V4SI, V4DI, V2DI, V8SF, V4SF, V4DF, V2DF modes.
28652 (vi8_sse4_1_avx2_avx512): New.
28653 (define_insn <sse4_1_avx2>_movntdqa): Use <vi8_sse4_1_avx2_avx512>
28655 (define_mode_attr blendbits): Move before its immediate use.
28657 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
28658 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28659 Anna Tikhonova <anna.tikhonova@intel.com>
28660 Ilya Tocar <ilya.tocar@intel.com>
28661 Andrey Turetskiy <andrey.turetskiy@intel.com>
28662 Ilya Verbin <ilya.verbin@intel.com>
28663 Kirill Yukhin <kirill.yukhin@intel.com>
28664 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28666 * config/i386/sse.md: Allow V64QI, V32QI, V32HI, V4HI modes.
28667 * config/i386/subst.md
28668 (define_mode_iterator SUBST_V): Update.
28669 (define_mode_iterator SUBST_A): Ditto.
28670 (define_subst_attr "mask_operand7"): New.
28671 (define_subst_attr "mask_operand10"): New.
28672 (define_subst_attr "mask_operand_arg34") : New.
28673 (define_subst_attr "mask_expand_op3"): New.
28674 (define_subst_attr "mask_mode512bit_condition"): Handle TARGET_AVX512VL.
28675 (define_subst_attr "sd_mask_mode512bit_condition"): Ditto.
28676 (define_subst_attr "mask_avx512vl_condition"): New.
28677 (define_subst_attr "round_mask_operand4"): Ditto.
28678 (define_subst_attr "round_mask_scalar_op3"): Delete.
28679 (define_subst_attr "round_mask_op4"): New.
28680 (define_subst_attr "round_mode512bit_condition"): Allow V8DImode,
28682 (define_subst_attr "round_modev8sf_condition"): New.
28683 (define_subst_attr "round_modev4sf_condition"): GET_MODE instead of
28685 (define_subst_attr "round_saeonly_mask_operand4"): New.
28686 (define_subst_attr "round_saeonly_mask_op4"): New.
28687 (define_subst_attr "round_saeonly_mode512bit_condition"): Allow
28688 V8DImode, V16SImode.
28689 (define_subst_attr "round_saeonly_modev8sf_condition"): New.
28690 (define_subst_attr "mask_expand4_name" "mask_expand4"): New.
28691 (define_subst_attr "mask_expand4_args"): New.
28692 (define_subst "mask_expand4"): New.
28694 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
28695 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28696 Anna Tikhonova <anna.tikhonova@intel.com>
28697 Ilya Tocar <ilya.tocar@intel.com>
28698 Andrey Turetskiy <andrey.turetskiy@intel.com>
28699 Ilya Verbin <ilya.verbin@intel.com>
28700 Kirill Yukhin <kirill.yukhin@intel.com>
28701 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28703 * config/i386/i386.md
28704 (define_attr "isa"): Add avx512bw,noavx512bw.
28705 (define_attr "enabled"): Ditto.
28706 (define_split): Add 32/64-bit mask logic.
28707 (define_insn "*k<logic>qi"): New.
28708 (define_insn "*k<logic>hi"): New.
28709 (define_insn "*anddi_1"): Add mask version.
28710 (define_insn "*andsi_1"): Ditto.
28711 (define_insn "*<code><mode>_1"): Ditto.
28712 (define_insn "*<code>hi_1"): Ditto.
28713 (define_insn "kxnor<mode>"): New.
28714 (define_insn "kunpcksi"): New.
28715 (define_insn "kunpckdi"): New.
28716 (define_insn "*one_cmpl<mode>2_1"): Add mask version.
28717 (define_insn "*one_cmplhi2_1"): Ditto.
28719 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
28720 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28721 Anna Tikhonova <anna.tikhonova@intel.com>
28722 Ilya Tocar <ilya.tocar@intel.com>
28723 Andrey Turetskiy <andrey.turetskiy@intel.com>
28724 Ilya Verbin <ilya.verbin@intel.com>
28725 Kirill Yukhin <kirill.yukhin@intel.com>
28726 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28728 * config/i386/i386.c (ix86_preferred_simd_mode): Allow V64QImode and
28731 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
28732 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28733 Anna Tikhonova <anna.tikhonova@intel.com>
28734 Ilya Tocar <ilya.tocar@intel.com>
28735 Andrey Turetskiy <andrey.turetskiy@intel.com>
28736 Ilya Verbin <ilya.verbin@intel.com>
28737 Kirill Yukhin <kirill.yukhin@intel.com>
28738 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28740 * config/i386/i386.c (print_reg): Сorrectly print 64-bit mask
28742 (inline_secondary_memory_needed): Allow 64 bit wide mask registers.
28743 (ix86_hard_regno_mode_ok): Allow 32/64-bit mask registers and
28744 xmm/ymm16+ when availble.
28745 * config/i386/i386.h
28746 (HARD_REGNO_NREGS): Add mask regs.
28747 (VALID_AVX512F_REG_MODE): Ditto.
28748 (VALID_AVX512F_REG_MODE) : Define.
28749 (VALID_MASK_AVX512BW_MODE): Ditto.
28750 (reg_class) (MASK_REG_P(X)): Define.
28751 * config/i386/i386.md: Do not split long moves with mask register,
28752 use kmovb if avx512bw is availible.
28753 (movdi_internal): Handle mask registers.
28755 2014-08-14 Richard Biener <rguenther@suse.de>
28757 PR tree-optimization/62081
28758 * tree-ssa-loop.c (pass_fix_loops): New pass.
28759 (pass_tree_loop::gate): Do not fixup loops here.
28760 * tree-pass.h (make_pass_fix_loops): Declare.
28761 * passes.def: Schedule pass_fix_loops before GIMPLE loop passes.
28763 2014-08-14 Richard Biener <rguenther@suse.de>
28765 * tree.c (type_hash_lookup, type_hash_add): Merge into ...
28766 (type_hash_canon): ... this and avoid 2nd lookup for the add.
28768 2014-08-14 Richard Biener <rguenther@suse.de>
28770 PR tree-optimization/62090
28771 * builtins.c (fold_builtin_sprintf): Move to gimple-fold.c.
28772 (fold_builtin_2): Do not fold sprintf.
28773 (fold_builtin_3): Likewise.
28774 * gimple-fold.c (gimple_fold_builtin_sprintf): New function
28775 moved from builtins.c.
28776 (gimple_fold_builtin): Fold sprintf.
28778 2014-08-14 Richard Biener <rguenther@suse.de>
28780 PR rtl-optimization/62079
28781 * recog.c (peephole2_optimize): If peep2_do_cleanup_cfg
28784 2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
28786 * ipa-devirt.c (get_polymorphic_call_info): Use fndecl instead of
28787 current_function_decl.
28789 2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
28791 * cgraph.c (cgraph_node::function_symbol): Fix wrong
28792 cgraph_function_node to cgraph_node::function_symbol
28795 2014-08-14 Zhenqiang Chen <zhenqiang.chen@arm.com>
28797 * config/arm/arm.c (arm_option_override): Set max_insns_skipped
28798 to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2.
28800 2014-08-13 Chen Gang gang.chen.5i5j@gmail.com
28802 * microblaze/microblaze.md: Remove redundant '@' to avoid compiling
28805 2014-08-13 Roman Gareev <gareevroman@gmail.com>
28807 * gcc.dg/graphite/pr35356-2.c: Update according to the ISL code
28810 2014-08-12 Jakub Jelinek <jakub@redhat.com>
28813 * sched-deps.c (find_inc): Check if inc_insn doesn't clobber
28814 any registers that are used in mem_insn.
28816 2014-08-12 Steve Ellcey <sellcey@mips.com>
28818 * config/mips/mips.h (ASM_SPEC): Pass float options to assembler.
28820 2014-08-12 Steve Ellcey <sellcey@mips.com>
28822 * config/mips/t-mti-elf (MULTILIB_OPTIONS): Remove fp64 multilib.
28823 (MULTILIB_DIRNAMES): Ditto.
28824 * config/mips/t-mti-elf (MULTILIB_OPTIONS): Ditto.
28825 * config/mips/t-mti-elf (MULTILIB_EXCEPTIONS): Ditto.
28826 * config/mips/t-mti-linux (MULTILIB_OPTIONS): Ditto.
28827 * config/mips/t-mti-linux (MULTILIB_DIRNAMES): Ditto.
28828 * config/mips/t-mti-linux (MULTILIB_EXCEPTIONS): Ditto.
28829 * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Ditto.
28831 2014-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
28834 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix definition
28835 of __ARM_SIZEOF_WCHAR_T.
28837 2014-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
28840 * config/arm/vfp.md (*combine_vcvtf2i): Fix constraint.
28841 Remove unnecessary attributes.
28843 2014-08-12 Yury Gribov <y.gribov@samsung.com>
28845 * internal-fn.c (init_internal_fns): Fix off-by-one.
28847 2014-08-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
28848 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
28849 Anna Tikhonova <anna.tikhonova@intel.com>
28850 Ilya Tocar <ilya.tocar@intel.com>
28851 Andrey Turetskiy <andrey.turetskiy@intel.com>
28852 Ilya Verbin <ilya.verbin@intel.com>
28853 Kirill Yukhin <kirill.yukhin@intel.com>
28854 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
28856 * config/i386/i386.c (standard_sse_constant_opcode): Use
28857 vpxord/vpternlog if avx512 is availible.
28859 2014-08-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
28861 PR middle-end/62103
28862 * gimple-fold.c (fold_ctor_reference): Don't fold in presence of
28863 bitfields, that is when size doesn't match the size of type or the
28864 size of the constructor.
28866 2014-08-11 Michael Meissner <meissner@linux.vnet.ibm.com>
28868 * config/rs6000/constraints.md (wh constraint): New constraint,
28869 for FP registers if direct move is available.
28870 (wi constraint): New constraint, for VSX/FP registers that can
28871 handle 64-bit integers.
28872 (wj constraint): New constraint for VSX/FP registers that can
28873 handle 64-bit integers for direct moves.
28874 (wk constraint): New constraint for VSX/FP registers that can
28875 handle 64-bit doubles for direct moves.
28876 (wy constraint): Make documentation match implementation.
28878 * config/rs6000/rs6000.c (struct rs6000_reg_addr): Add
28879 scalar_in_vmx_p field to simplify tests of whether SFmode or
28880 DFmode can go in the Altivec registers.
28881 (rs6000_hard_regno_mode_ok): Use scalar_in_vmx_p field.
28882 (rs6000_setup_reg_addr_masks): Likewise.
28883 (rs6000_debug_print_mode): Add debug support for scalar_in_vmx_p
28884 field, and wh/wi/wj/wk constraints.
28885 (rs6000_init_hard_regno_mode_ok): Setup scalar_in_vmx_p field, and
28886 the wh/wi/wj/wk constraints.
28887 (rs6000_preferred_reload_class): If SFmode/DFmode can go in the
28888 upper registers, prefer VSX registers unless the operation is a
28889 memory operation with REG+OFFSET addressing.
28891 * config/rs6000/vsx.md (VSr mode attribute): Add support for
28892 DImode. Change SFmode to use ww constraint instead of d to allow
28893 SF registers in the upper registers.
28896 (VSr5): Fix thinko in comment.
28897 (VSa): New mode attribute that is an alternative to wa, that
28898 returns the VSX register class that a mode can go in, but may not
28899 be the preferred register class.
28900 (VS_64dm): New mode attribute for appropriate register classes for
28901 referencing 64-bit elements of vectors for direct moves and normal
28903 (VS_64reg): Likewise.
28904 (vsx_mov<mode>): Change wa constraint to <VSa> to limit the
28905 register allocator to only registers the data type can handle.
28906 (vsx_le_perm_load_<mode>): Likewise.
28907 (vsx_le_perm_store_<mode>): Likewise.
28908 (vsx_xxpermdi2_le_<mode>): Likewise.
28909 (vsx_xxpermdi4_le_<mode>): Likewise.
28910 (vsx_lxvd2x2_le_<mode>): Likewise.
28911 (vsx_lxvd2x4_le_<mode>): Likewise.
28912 (vsx_stxvd2x2_le_<mode>): Likewise.
28913 (vsx_add<mode>3): Likewise.
28914 (vsx_sub<mode>3): Likewise.
28915 (vsx_mul<mode>3): Likewise.
28916 (vsx_div<mode>3): Likewise.
28917 (vsx_tdiv<mode>3_internal): Likewise.
28918 (vsx_fre<mode>2): Likewise.
28919 (vsx_neg<mode>2): Likewise.
28920 (vsx_abs<mode>2): Likewise.
28921 (vsx_nabs<mode>2): Likewise.
28922 (vsx_smax<mode>3): Likewise.
28923 (vsx_smin<mode>3): Likewise.
28924 (vsx_sqrt<mode>2): Likewise.
28925 (vsx_rsqrte<mode>2): Likewise.
28926 (vsx_tsqrt<mode>2_internal): Likewise.
28927 (vsx_fms<mode>4): Likewise.
28928 (vsx_nfma<mode>4): Likewise.
28929 (vsx_eq<mode>): Likewise.
28930 (vsx_gt<mode>): Likewise.
28931 (vsx_ge<mode>): Likewise.
28932 (vsx_eq<mode>_p): Likewise.
28933 (vsx_gt<mode>_p): Likewise.
28934 (vsx_ge<mode>_p): Likewise.
28935 (vsx_xxsel<mode>): Likewise.
28936 (vsx_xxsel<mode>_uns): Likewise.
28937 (vsx_copysign<mode>3): Likewise.
28938 (vsx_float<VSi><mode>2): Likewise.
28939 (vsx_floatuns<VSi><mode>2): Likewise.
28940 (vsx_fix_trunc<mode><VSi>2): Likewise.
28941 (vsx_fixuns_trunc<mode><VSi>2): Likewise.
28942 (vsx_x<VSv>r<VSs>i): Likewise.
28943 (vsx_x<VSv>r<VSs>ic): Likewise.
28944 (vsx_btrunc<mode>2): Likewise.
28945 (vsx_b2trunc<mode>2): Likewise.
28946 (vsx_floor<mode>2): Likewise.
28947 (vsx_ceil<mode>2): Likewise.
28948 (vsx_<VS_spdp_insn>): Likewise.
28949 (vsx_xscvspdp): Likewise.
28950 (vsx_xvcvspuxds): Likewise.
28951 (vsx_float_fix_<mode>2): Likewise.
28952 (vsx_set_<mode>): Likewise.
28953 (vsx_extract_<mode>_internal1): Likewise.
28954 (vsx_extract_<mode>_internal2): Likewise.
28955 (vsx_extract_<mode>_load): Likewise.
28956 (vsx_extract_<mode>_store): Likewise.
28957 (vsx_splat_<mode>): Likewise.
28958 (vsx_xxspltw_<mode>): Likewise.
28959 (vsx_xxspltw_<mode>_direct): Likewise.
28960 (vsx_xxmrghw_<mode>): Likewise.
28961 (vsx_xxmrglw_<mode>): Likewise.
28962 (vsx_xxsldwi_<mode>): Likewise.
28963 (vsx_xscvdpspn): Tighten constraints to only use register classes
28965 (vsx_xscvspdpn): Likewise.
28966 (vsx_xscvdpspn_scalar): Likewise.
28968 * config/rs6000/rs6000.h (enum rs6000_reg_class_enum): Add wh, wi,
28969 wj, and wk constraints.
28970 (GPR_REG_CLASS_P): New helper macro for register classes targeting
28971 general purpose registers.
28973 * config/rs6000/rs6000.md (f32_dm): Use wh constraint for SDmode
28975 (zero_extendsidi2_lfiwz): Use wj constraint for direct move of
28976 DImode instead of wm. Use wk constraint for direct move of DFmode
28978 (extendsidi2_lfiwax): Likewise.
28979 (lfiwax): Likewise.
28980 (lfiwzx): Likewise.
28981 (movdi_internal64): Likewise.
28983 * doc/md.texi (PowerPC and IBM RS6000): Document wh, wi, wj, and
28984 wk constraints. Make the wy constraint documentation match them
28987 2014-08-11 Mircea Namolaru <mircea.namolaru@inria.fr>
28989 Replacement of isl_int by isl_val
28990 * graphite-clast-to-gimple.c: include isl/val.h, isl/val_gmp.h
28991 (compute_bounds_for_param): use isl_val instead of isl_int
28992 (compute_bounds_for_loop): likewise
28993 * graphite-interchange.c: include isl/val.h, isl/val_gmp.h
28994 (build_linearized_memory_access): use isl_val instead of isl_int
28995 (pdr_stride_in_loop): likewise
28996 * graphite-optimize-isl.c:
28997 (getPrevectorMap): use isl_val instead of isl_int
28999 (pbb_number_of_iterations_at_time): use isl_val instead of isl_int
29000 graphite-sese-to-poly.c: include isl/val.h, isl/val_gmp.h
29001 (extern the_isl_ctx): declare
29002 (build_pbb_scattering_polyhedrons): use isl_val instead of isl_int
29003 (extract_affine_gmp): likewise
29005 (build_loop_iteration_domains): likewise
29006 (add_param_constraints): likewise
29008 2014-08-11 Richard Biener <rguenther@suse.de>
29010 PR tree-optimization/62075
29011 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly
29012 handle uses in patterns.
29014 2014-08-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
29015 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
29016 Anna Tikhonova <anna.tikhonova@intel.com>
29017 Ilya Tocar <ilya.tocar@intel.com>
29018 Andrey Turetskiy <andrey.turetskiy@intel.com>
29019 Ilya Verbin <ilya.verbin@intel.com>
29020 Kirill Yukhin <kirill.yukhin@intel.com>
29021 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
29023 * common/config/i386/i386-common.c
29024 (OPTION_MASK_ISA_AVX512VL_SET): Define.
29025 (OPTION_MASK_ISA_AVX512F_UNSET): Update.
29026 (ix86_handle_option): Handle OPT_mavx512vl.
29027 * config/i386/cpuid.h (bit_AVX512VL): Define.
29028 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512vl,
29029 set -mavx512vl accordingly.
29030 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
29031 OPTION_MASK_ISA_AVX512VL.
29032 * config/i386/i386.c (ix86_target_string): Handle -mavx512vl.
29033 (ix86_option_override_internal): Define PTA_AVX512VL, handle
29034 PTA_AVX512VL and OPTION_MASK_ISA_AVX512VL.
29035 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512vl.
29036 * config/i386/i386.h (TARGET_AVX512VL): Define.
29037 (TARGET_AVX512VL_P(x)): Ditto.
29038 * config/i386/i386.opt: Add mavx512vl.
29040 2014-08-11 Felix Yang <fei.yang0953@gmail.com>
29042 PR tree-optimization/62073
29043 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that DEF1 has
29046 2014-08-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
29047 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
29048 Anna Tikhonova <anna.tikhonova@intel.com>
29049 Ilya Tocar <ilya.tocar@intel.com>
29050 Andrey Turetskiy <andrey.turetskiy@intel.com>
29051 Ilya Verbin <ilya.verbin@intel.com>
29052 Kirill Yukhin <kirill.yukhin@intel.com>
29053 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
29055 * common/config/i386/i386-common.c
29056 (OPTION_MASK_ISA_AVX512BW_SET) : Define.
29057 (OPTION_MASK_ISA_AVX512BW_UNSET): Ditto.
29058 (OPTION_MASK_ISA_AVX512VL_UNSET) : Ditto.
29059 (ix86_handle_option): Handle OPT_mavx512bw.
29060 * config/i386/cpuid.h (bit_AVX512BW): Define.
29061 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512bw,
29062 set -mavx512bw accordingly.
29063 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
29064 OPTION_MASK_ISA_AVX512BW.
29065 * config/i386/i386.c (ix86_target_string): Handle -mavx512bw.
29066 (ix86_option_override_internal): Define PTA_AVX512BW, handle
29067 PTA_AVX512BW and OPTION_MASK_ISA_AVX512BW.
29068 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512bw.
29069 * config/i386/i386.h (TARGET_AVX512BW): Define.
29070 (TARGET_AVX512BW_P(x)): Ditto.
29071 * config/i386/i386.opt: Add mavx512bw.
29073 2014-08-11 Richard Biener <rguenther@suse.de>
29075 PR tree-optimization/62070
29076 * tree-ssa-loop-manip.c (gimple_duplicate_loop_to_header_edge):
29077 Remove SSA checking.
29079 2014-08-11 Yury Gribov <y.gribov@samsung.com>
29081 * asan.c (asan_check_flags): New enum.
29082 (build_check_stmt_with_calls): Removed function.
29083 (build_check_stmt): Split inlining logic to
29084 asan_expand_check_ifn.
29085 (instrument_derefs): Rename parameter.
29086 (instrument_mem_region_access): Rename parameter.
29087 (instrument_strlen_call): Likewise.
29088 (asan_expand_check_ifn): New function.
29089 (asan_instrument): Remove old code.
29090 (pass_sanopt::execute): Change handling of
29091 asan-instrumentation-with-call-threshold.
29092 (asan_clear_shadow): Fix formatting.
29093 (asan_function_start): Likewise.
29094 (asan_emit_stack_protection): Likewise.
29095 * doc/invoke.texi (asan-instrumentation-with-call-threshold):
29096 Update description.
29097 * internal-fn.c (expand_ASAN_CHECK): New function.
29098 * internal-fn.def (ASAN_CHECK): New internal function.
29099 * params.def (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD):
29100 Update description.
29101 (PARAM_ASAN_USE_AFTER_RETURN): Likewise.
29102 * tree.c: Small comment fix.
29104 2014-08-11 Yury Gribov <y.gribov@samsung.com>
29106 * gimple.c (gimple_call_fnspec): Support internal functions.
29107 (gimple_call_return_flags): Use const.
29108 * Makefile.in (GTFILES): Add internal-fn.h to list of GC files.
29109 * internal-fn.def: Add fnspec information.
29110 * internal-fn.h (internal_fn_fnspec): New function.
29111 (init_internal_fns): Declare new function.
29112 * internal-fn.c (internal_fn_fnspec_array): New global variable.
29113 (init_internal_fns): New function.
29114 * tree-core.h: Update macro call.
29115 * tree.c (build_common_builtin_nodes): Initialize internal fns.
29117 2014-08-10 Gerald Pfeifer <gerald@pfeifer.com>
29119 * lto-streamer.h (struct output_block::symbol): Change from
29120 struct symtab_node to plain symtab_node.
29121 (referenced_from_this_partition_p): Change first parameter
29122 from struct symtab_node to plain symtab_node.
29124 2014-08-10 Marek Polacek <polacek@redhat.com>
29127 * gcc/doc/invoke.texi: Document -Wc90-c99-compat.
29129 2014-08-09 Jan Hubicka <hubicka@ucw.cz>
29131 * ipa-devirt.c (get_dynamic_type): Handle case when instance is in
29132 DECL correctly; do not give up on types in static storage.
29134 2014-08-09 Paolo Carlini <paolo.carlini@oracle.com>
29136 * doc/invoke.texi ([Wnarrowing]): Update for non-constants in C++11.
29138 2014-08-09 Roman Gareev <gareevroman@gmail.com>
29140 * graphite-isl-ast-to-gimple.c:
29141 (translate_isl_ast_node_user): Use nb_loops instead of loop->num + 1.
29143 * gcc.dg/graphite/isl-ast-gen-user-1.c: New testcase.
29145 2014-08-08 Guozhi Wei <carrot@google.com>
29147 * config/rs6000/rs6000.md (*movdi_internal64): Add a new constraint.
29149 2014-08-08 Cary Coutant <ccoutant@google.com>
29151 * dwarf2out.c (get_skeleton_type_unit): Remove.
29152 (output_skeleton_debug_sections): Remove skeleton type units.
29153 (output_comdat_type_unit): Likewise.
29154 (dwarf2out_finish): Likewise.
29156 2014-08-07 Yi Yang <ahyangyi@google.com>
29158 * predict.c (expr_expected_value_1): Remove the redundant assignment.
29160 2014-08-08 Richard Biener <rguenther@suse.de>
29162 * lto-streamer.h (struct lto_input_block): Make it a class
29163 with a constructor.
29164 (LTO_INIT_INPUT_BLOCK, LTO_INIT_INPUT_BLOCK_PTR): Remove.
29165 (struct lto_function_header, struct lto_simple_header,
29166 struct lto_simple_header_with_strings,
29167 struct lto_decl_header, struct lto_function_header): Make
29168 a simple inheritance hieararchy. Remove unused fields.
29169 (struct lto_asm_header): Remove.
29170 * lto-streamer-out.c (produce_asm): Adjust.
29171 (lto_output_toplevel_asms): Likewise.
29172 (produce_asm_for_decls): Likewise.
29173 * lto-section-out.c (lto_destroy_simple_output_block): Likewise.
29174 * data-streamer-in.c (string_for_index): Likewise.
29175 * ipa-inline-analysis.c (inline_read_section): Likewise.
29176 * ipa-prop.c (ipa_prop_read_section): Likewise.
29177 (read_replacements_section): Likewise.
29178 * lto-cgraph.c (input_cgraph_opt_section): Likewise.
29179 * lto-section-in.c (lto_create_simple_input_block): Likewise.
29180 (lto_destroy_simple_input_block): Likewise.
29181 * lto-streamer-in.c (lto_read_body_or_constructor): Likewise.
29182 (lto_input_toplevel_asms): Likewise.
29184 2014-08-08 Alexander Ivchenko <alexander.ivchenko@intel.com>
29185 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
29186 Anna Tikhonova <anna.tikhonova@intel.com>
29187 Ilya Tocar <ilya.tocar@intel.com>
29188 Andrey Turetskiy <andrey.turetskiy@intel.com>
29189 Ilya Verbin <ilya.verbin@intel.com>
29190 Kirill Yukhin <kirill.yukhin@intel.com>
29191 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
29193 * common/config/i386/i386-common.c
29194 (OPTION_MASK_ISA_AVX512DQ_SET): Define.
29195 (OPTION_MASK_ISA_AVX512DQ_UNSET): Ditto.
29196 (ix86_handle_option): Handle OPT_mavx512dq.
29197 * config/i386/cpuid.h (bit_AVX512DQ): Define.
29198 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512dq,
29199 set -mavx512dq accordingly.
29200 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
29201 OPTION_MASK_ISA_AVX512DQ.
29202 * config/i386/i386.c (ix86_target_string): Handle -mavx512dq.
29203 (ix86_option_override_internal): Define PTA_AVX512DQ, handle
29204 PTA_AVX512DQ and OPTION_MASK_ISA_AVX512DQ.
29205 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512dq.
29206 * config/i386/i386.h (TARGET_AVX512DQ): Define.
29207 (TARGET_AVX512DQ_P(x)): Ditto.
29208 * config/i386/i386.opt: Add mavx512dq.
29210 2014-08-08 Richard Biener <rguenther@suse.de>
29212 * builtins.c (c_getstr, readonly_data_expr, init_target_chars,
29213 target_percent, target_percent_s): Export.
29214 (var_decl_component_p, fold_builtin_memory_op, fold_builtin_memset,
29215 fold_builtin_bzero, fold_builtin_strcpy, fold_builtin_strncpy,
29216 fold_builtin_strcat, fold_builtin_fputs, fold_builtin_memory_chk,
29217 fold_builtin_stxcpy_chk, fold_builtin_stxncpy_chk,
29218 fold_builtin_sprintf_chk_1, fold_builtin_snprintf_chk_1):
29219 Move to gimple-fold.c.
29220 (fold_builtin_2): Remove handling of bzero, fputs, fputs_unlocked,
29222 (fold_builtin_3): Remove handling of memset, bcopy, memcpy,
29223 mempcpy, memmove, strncpy, strcpy_chk and stpcpy_chk.
29224 (fold_builtin_4): Remove handling of memcpy_chk, mempcpy_chk,
29225 memmove_chk, memset_chk, strncpy_chk and stpncpy_chk.
29226 (rewrite_call_expr_array): Remove.
29227 (fold_builtin_sprintf_chk): Likewise.
29228 (fold_builtin_snprintf_chk): Likewise.
29229 (fold_builtin_varargs): Remove handling of sprintf_chk,
29230 vsprintf_chk, snprintf_chk and vsnprintf_chk.
29231 (gimple_fold_builtin_sprintf_chk): Remove.
29232 (gimple_fold_builtin_snprintf_chk): Likewise.
29233 (gimple_fold_builtin_varargs): Likewise.
29234 (fold_call_stmt): Do not call gimple_fold_builtin_varargs.
29235 * predict.c (optimize_bb_for_size_p): Handle NULL bb.
29236 * gimple.c (gimple_seq_add_seq_without_update): New function.
29237 * gimple.h (gimple_seq_add_seq_without_update): Declare.
29238 * gimple-fold.c: Include output.h.
29239 (gsi_replace_with_seq_vops): New function, split out from ...
29240 (gimplify_and_update_call_from_tree): ... here.
29241 (replace_call_with_value): New function.
29242 (replace_call_with_call_and_fold): Likewise.
29243 (var_decl_component_p): Moved from builtins.c.
29244 (gimple_fold_builtin_memory_op): Moved from builtins.c
29245 fold_builtin_memory_op and rewritten to GIMPLE.
29246 (gimple_fold_builtin_memset): Likewise.
29247 (gimple_fold_builtin_strcpy): Likewise.
29248 (gimple_fold_builtin_strncpy): Likewise.
29249 (gimple_fold_builtin_strcat): Likewise.
29250 (gimple_fold_builtin_fputs): Likewise.
29251 (gimple_fold_builtin_memory_chk): Likewise.
29252 (gimple_fold_builtin_stxcpy_chk): Likewise.
29253 (gimple_fold_builtin_stxncpy_chk): Likewise.
29254 (gimple_fold_builtin_snprintf_chk): Likewise.
29255 (gimple_fold_builtin_sprintf_chk): Likewise.
29256 (gimple_fold_builtin_strlen): New function.
29257 (gimple_fold_builtin_with_strlen): New function split out from
29258 gimple_fold_builtin.
29259 (gimple_fold_builtin): Change signature and handle
29260 bzero, memset, bcopy, memcpy, mempcpy and memmove folding
29261 here. Call gimple_fold_builtin_with_strlen.
29262 (gimple_fold_call): Adjust.
29264 2014-08-08 Kugan Vivekanandarajah <kuganv@linaro.org>
29266 * calls.c (precompute_arguments): Check
29267 promoted_for_signed_and_unsigned_p and set the promoted mode.
29268 (promoted_for_signed_and_unsigned_p): New function.
29269 (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
29270 and set the promoted mode.
29271 * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
29272 * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
29273 SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
29276 2014-08-08 Kugan Vivekanandarajah <kuganv@linaro.org>
29278 * calls.c (precompute_arguments): Use new SUBREG_PROMOTED_SET
29279 instead of SUBREG_PROMOTED_UNSIGNED_SET.
29280 (expand_call): Likewise.
29281 * cfgexpand.c (expand_gimple_stmt_1): Use SUBREG_PROMOTED_SIGN
29282 to get promoted mode.
29283 * combine.c (record_promoted_value): Skip > 0 comparison with
29284 SUBREG_PROMOTED_UNSIGNED_P as it now returns only 0 or 1.
29285 * expr.c (convert_move): Use SUBREG_CHECK_PROMOTED_SIGN instead
29286 of SUBREG_PROMOTED_UNSIGNED_P.
29287 (convert_modes): Likewise.
29288 (store_expr): Use SUBREG_PROMOTED_SIGN to get promoted mode.
29289 Use SUBREG_CHECK_PROMOTED_SIGN instead of SUBREG_PROMOTED_UNSIGNED_P.
29290 (expand_expr_real_1): Use new SUBREG_PROMOTED_SET instead of
29291 SUBREG_PROMOTED_UNSIGNED_SET.
29292 * function.c (assign_parm_setup_reg): Use new SUBREG_PROMOTED_SET
29293 instead of SUBREG_PROMOTED_UNSIGNED_SET.
29294 * ifcvt.c (noce_emit_cmove): Updated to use SUBREG_PROMOTED_GET and
29295 SUBREG_PROMOTED_SET.
29296 * internal-fn.c (ubsan_expand_si_overflow_mul_check): Use
29297 SUBREG_PROMOTED_SET instead of SUBREG_PROMOTED_UNSIGNED_SET.
29298 * optabs.c (widen_operand): Use SUBREG_CHECK_PROMOTED_SIGN instead
29299 of SUBREG_PROMOTED_UNSIGNED_P.
29300 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Remove.
29301 (SUBREG_PROMOTED_SET): New define.
29302 (SUBREG_PROMOTED_GET): Likewise.
29303 (SUBREG_PROMOTED_SIGN): Likewise.
29304 (SUBREG_PROMOTED_SIGNED_P): Likewise.
29305 (SUBREG_CHECK_PROMOTED_SIGN): Likewise.
29306 (SUBREG_PROMOTED_UNSIGNED_P): Updated.
29307 * rtlanal.c (unsigned_reg_p): Use new SUBREG_PROMOTED_GET
29308 instead of SUBREG_PROMOTED_UNSIGNED_GET.
29309 (nonzero_bits1): Skip > 0 comparison with the results as
29310 SUBREG_PROMOTED_UNSIGNED_P now returns only 0 or 1.
29311 (num_sign_bit_copies1): Use SUBREG_PROMOTED_SIGNED_P instead
29312 of !SUBREG_PROMOTED_UNSIGNED_P.
29313 * simplify-rtx.c (simplify_unary_operation_1): Use new
29314 SUBREG_PROMOTED_SIGNED_P instead of !SUBREG_PROMOTED_UNSIGNED_P.
29315 (simplify_subreg): Use new SUBREG_PROMOTED_SIGNED_P,
29316 SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_SET instead of
29317 SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_UNSIGNED_SET.
29319 2014-08-07 Jan Hubicka <hubicka@ucw.cz>
29321 * ipa-devirt.c: Include gimple-pretty-print.h
29322 (referenced_from_vtable_p): Exclude DECL_EXTERNAL from
29324 (decl_maybe_in_construction_p): Fix conditional on cdtor check
29325 (get_polymorphic_call_info): Fix return value
29326 (type_change_info): New sturcture based on ipa-prop
29328 (noncall_stmt_may_be_vtbl_ptr_store): New predicate
29329 based on ipa-prop variant.
29330 (extr_type_from_vtbl_ptr_store): New function
29331 based on ipa-prop variant.
29332 (record_known_type): New function.
29333 (check_stmt_for_type_change): New function.
29334 (get_dynamic_type): New function.
29335 * ipa-prop.c (ipa_analyze_call_uses): Use get_dynamic_type.
29336 * tree-ssa-pre.c: ipa-utils.h
29337 (eliminate_dom_walker::before_dom_children): Use ipa-devirt
29338 machinery; sanity check with ipa-prop devirtualization.
29339 * trans-mem.c (ipa_tm_insert_gettmclone_call): Clear
29342 2014-08-07 Trevor Saunders <tsaunders@mozilla.com>
29344 * Makefile.in: Remove references to pointer-set.c and pointer-set.h.
29345 * alias.c, cfgexpand.c, cgraphbuild.c,
29346 config/aarch64/aarch64-builtins.c, config/aarch64/aarch64.c,
29347 config/alpha/alpha.c, config/darwin.c, config/i386/i386.c,
29348 config/i386/winnt.c, config/ia64/ia64.c, config/m32c/m32c.c,
29349 config/mep/mep.c, config/mips/mips.c, config/rs6000/rs6000.c,
29350 config/s390/s390.c, config/sh/sh.c, config/sparc/sparc.c,
29351 config/spu/spu.c, config/stormy16/stormy16.c, config/tilegx/tilegx.c,
29352 config/tilepro/tilepro.c, config/xtensa/xtensa.c, dominance.c,
29353 dse.c, except.c, gengtype.c, gimple-expr.c,
29354 gimple-ssa-strength-reduction.c, gimplify.c, ifcvt.c,
29355 ipa-visibility.c, lto-streamer.h, omp-low.c, predict.c, stmt.c,
29356 tree-affine.c, tree-cfg.c, tree-eh.c, tree-inline.c, tree-nested.c,
29357 tree-scalar-evolution.c, tree-ssa-loop-im.c, tree-ssa-loop-niter.c,
29358 tree-ssa-phiopt.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
29359 tree-ssa.c, tree.c, var-tracking.c, varpool.c: Remove includes of
29361 * pointer-set.c: Remove file.
29362 * pointer-set.h: Remove file.
29364 2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29366 * config/arm/arm.md (*cmov<mode>): Set type attribute to fcsel.
29367 * config/arm/types.md (f_sels, f_seld): Delete.
29369 2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29371 * config/aarch64/aarch64.md (absdi2): Set simd attribute.
29372 (aarch64_reload_mov<mode>): Predicate on TARGET_FLOAT.
29373 (aarch64_movdi_<mode>high): Likewise.
29374 (aarch64_mov<mode>high_di): Likewise.
29375 (aarch64_movdi_<mode>low): Likewise.
29376 (aarch64_mov<mode>low_di): Likewise.
29377 (aarch64_movtilow_tilow): Likewise.
29378 Add comment explaining usage of fp,simd attributes and of
29379 TARGET_FLOAT and TARGET_SIMD.
29381 2014-08-07 Ian Bolton <ian.bolton@arm.com>
29382 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29384 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate):
29385 Use MOVN when one of the half-words is 0xffff.
29387 2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
29389 * config/arm/thumb1.md (*thumb1_movqi_insn): Copy of thumb1_movhi_insn.
29391 2014-08-07 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
29393 * haifa-sched.c (SCHED_SORT): Delete. Macro used exactly once.
29394 (enum rfs_decition:RFS_*): New constants wrapped in an enum.
29395 (rfs_str): String corresponding to RFS_* constants.
29396 (rank_for_schedule_stats_t): New typedef.
29397 (rank_for_schedule_stats): New static variable.
29398 (rfs_result): New static function.
29399 (rank_for_schedule): Track statistics for deciding heuristics.
29400 (rank_for_schedule_stats_diff, print_rank_for_schedule_stats): New
29402 (ready_sort): Use them for debug printouts.
29403 (schedule_block): Init statistics state. Print statistics on
29404 rank_for_schedule decisions.
29406 2014-08-07 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
29408 * haifa-sched.c (rank_for_schedule): Fix INSN_TICK-based heuristics.
29410 2014-08-07 Ilya Tocar <ilya.tocar@intel.com>
29412 * config/i386/sse.md (vec_extract_lo_<mode><mask_name>): Fix
29415 2014-08-07 Trevor Saunders <tsaunders@mozilla.com>
29417 * hash-map.h (default_hashmap_traits): Adjust overloads of hash
29418 function to not conflict.
29419 * alias.c, cfgexpand.c, dse.c, except.h, gimple-expr.c,
29420 gimple-ssa-strength-reduction.c, gimple-ssa.h, ifcvt.c,
29421 lto-streamer-out.c, lto-streamer.h, tree-affine.c, tree-affine.h,
29422 tree-predcom.c, tree-scalar-evolution.c, tree-ssa-loop-im.c,
29423 tree-ssa-loop-niter.c, tree-ssa.c, value-prof.c: Use hash_map instead
29426 2014-08-07 Marek Polacek <polacek@redhat.com>
29428 * fold-const.c (fold_binary_loc): Add folding of
29429 (PTR0 - (PTR1 p+ A) -> (PTR0 - PTR1) - A.
29431 2013-08-07 Ilya Enkovich <ilya.enkovich@intel.com>
29433 * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use decl size
29434 instead of type size.
29435 (ASM_FINISH_DECLARE_OBJECT): Likewise.
29437 2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
29439 * config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
29440 (*thumb1_movqi_insn): Likewise.
29441 * config/arm/thumb2.md (*thumb2_movhi_insn): Likewise.
29443 2014-08-07 Tom de Vries <tom@codesourcery.com>
29445 * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
29446 (glibc_2_11_or_earlier): Remove effective-target keywords.
29448 2014-08-07 Kugan Vivekanandarajah <kuganv@linaro.org>
29450 * config/arm/arm.c (bdesc_2arg): Fix typo.
29451 (arm_atomic_assign_expand_fenv): Remove The default implementation.
29453 2014-08-07 Zhenqiang Chen <zhenqiang.chen@arm.com>
29455 * tree-ssa-loop-ivopts.c (get_address_cost): Try aligned offset.
29457 2014-08-06 Vladimir Makarov <vmakarov@redhat.com>
29460 * haifa-sched.c (advance_one_cycle): Fix dump.
29461 (schedule_block): Don't advance cycle if we are already at the
29462 beginning of the cycle.
29464 2014-08-06 Martin Jambor <mjambor@suse.cz>
29467 * cgraphclones.c (cgraph_node::create_clone): Also copy tm_clone.
29469 2014-08-06 Richard Biener <rguenther@suse.de>
29472 * lto-streamer-in.c (lto_input_tree_1): Assert we do not read
29474 (lto_input_tree): Pop SCCs here.
29476 2014-08-06 Richard Biener <rguenther@suse.de>
29478 PR tree-optimization/61320
29479 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Properly
29480 handle misaligned loads.
29482 2014-08-06 Alan Lawrence <alan.lawrence@arm.com>
29484 * config/aarch64/aarch64.c (aarch64_evpc_dup): Enable for bigendian.
29485 (aarch64_expand_vec_perm_const): Check for dup before zip.
29487 2014-08-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29489 * config/aarch64/aarch64.c (aarch64_classify_address): Use REG_P and
29490 CONST_INT_P instead of GET_CODE and compare.
29491 (aarch64_select_cc_mode): Likewise.
29492 (aarch64_print_operand): Likewise.
29493 (aarch64_rtx_costs): Likewise.
29494 (aarch64_simd_valid_immediate): Likewise.
29495 (aarch64_simd_check_vect_par_cnst_half): Likewise.
29496 (aarch64_simd_emit_pair_result_insn): Likewise.
29498 2014-08-05 David Malcolm <dmalcolm@redhat.com>
29500 * gdbhooks.py (find_gcc_source_dir): New helper function.
29501 (class PassNames): New class, locating and parsing passes.def.
29502 (class BreakOnPass): New command "break-on-pass".
29504 2014-08-05 Trevor Saunders <tsaunders@mozilla.com>
29506 * tree-ssa.c (redirect_edge_var_map_dup): insert newe before
29509 2014-08-05 Richard Biener <rguenther@suse.de>
29511 PR rtl-optimization/61672
29512 * emit-rtl.h (mem_attrs_eq_p): Declare.
29513 * emit-rtl.c (mem_attrs_eq_p): Export. Handle NULL mem-attrs.
29514 * cse.c (exp_equiv_p): Use mem_attrs_eq_p.
29515 * cfgcleanup.c (merge_memattrs): Likewise.
29516 Include emit-rtl.h.
29518 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29520 * config/aarch64/arm_neon.h (vqdmlals_lane_s32): Use scalar types
29521 rather than singleton vectors.
29522 (vqdmlsls_lane_s32): Likewise.
29524 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29526 * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_laneq<mode>):
29527 Use VSDQ_HSI mode iterator.
29528 (aarch64_sqrdmulh_laneq<mode>): Likewise.
29529 (aarch64_sq<r>dmulh_laneq<mode>_internal): New define_insn.
29530 * config/aarch64/aarch64-simd-builtins.def (sqdmulh_laneq):
29531 Use BUILTIN_VDQHS macro.
29532 (sqrdmulh_laneq): Likewise.
29533 * config/aarch64/arm_neon.h (vqdmlalh_laneq_s16): New intrinsic.
29534 (vqdmlals_laneq_s32): Likewise.
29535 (vqdmlslh_laneq_s16): Likewise.
29536 (vqdmlsls_laneq_s32): Likewise.
29537 (vqdmulhh_laneq_s16): Likewise.
29538 (vqdmulhs_laneq_s32): Likewise.
29539 (vqrdmulhh_laneq_s16): Likewise.
29540 (vqrdmulhs_laneq_s32): Likewise.
29542 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29544 * config/aarch64/arm_neon.h (vmul_f64): New intrinsic.
29545 (vmuld_laneq_f64): Likewise.
29546 (vmuls_laneq_f32): Likewise.
29547 (vmul_n_f64): Likewise.
29548 (vmuld_lane_f64): Reimplement in C.
29549 (vmuls_lane_f32): Likewise.
29551 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29553 * config/arm/cortex-a15.md (cortex_a15_alu_shift): Add crc type
29555 * config/arm/cortex-a53.md (cortex_a53_alu_shift): Likewise.
29557 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29559 * config/arm/arm.md (clzsi2): Set predicable_short_it attr to no.
29560 (rbitsi2): Likewise.
29561 (*arm_rev): Set predicable and predicable_short_it attributes.
29563 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29565 * convert.c (convert_to_integer): Guard transformation to lrint by
29568 2014-08-05 James Greenhalgh <james.greenhalgh@arm.com>
29570 * config/aarch64/aarch64-builtins.c
29571 (aarch64_simd_builtin_type_mode): Delete.
29572 (v8qi_UP): Remap to V8QImode.
29573 (v4hi_UP): Remap to V4HImode.
29574 (v2si_UP): Remap to V2SImode.
29575 (v2sf_UP): Remap to V2SFmode.
29576 (v1df_UP): Remap to V1DFmode.
29577 (di_UP): Remap to DImode.
29578 (df_UP): Remap to DFmode.
29579 (v16qi_UP):V16QImode.
29580 (v8hi_UP): Remap to V8HImode.
29581 (v4si_UP): Remap to V4SImode.
29582 (v4sf_UP): Remap to V4SFmode.
29583 (v2di_UP): Remap to V2DImode.
29584 (v2df_UP): Remap to V2DFmode.
29585 (ti_UP): Remap to TImode.
29586 (ei_UP): Remap to EImode.
29587 (oi_UP): Remap to OImode.
29588 (ci_UP): Map to CImode.
29589 (xi_UP): Remap to XImode.
29590 (si_UP): Remap to SImode.
29591 (sf_UP): Remap to SFmode.
29592 (hi_UP): Remap to HImode.
29593 (qi_UP): Remap to QImode.
29594 (aarch64_simd_builtin_datum): Make mode a machine_mode.
29595 (VAR1): Build builtin name.
29596 (aarch64_init_simd_builtins): Remove dead code.
29598 2014-08-05 Roman Gareev <gareevroman@gmail.com>
29600 * graphite-isl-ast-to-gimple.c:
29601 (set_options): New function.
29602 (scop_to_isl_ast): Add calling of set_options.
29604 2014-08-05 Jakub Jelinek <jakub@redhat.com>
29606 * loop-unroll.c (struct iv_to_split): Remove n_loc and loc fields.
29607 (analyze_iv_to_split_insn): Don't initialize them.
29608 (get_ivts_expr): Removed.
29609 (allocate_basic_variable, insert_base_initialization): Use
29610 SET_SRC instead of *get_ivts_expr.
29611 (split_iv): Use &SET_SRC instead of get_ivts_expr.
29613 2014-08-05 Roman Gareev <gareevroman@gmail.com>
29615 * graphite-isl-ast-to-gimple.c: Add a new struct ast_build_info.
29616 (translate_isl_ast_for_loop): Add checking of the
29617 flag_loop_parallelize_all.
29618 (ast_build_before_for): New function.
29619 (scop_to_isl_ast): Add checking of the
29620 flag_loop_parallelize_all.
29621 * graphite-dependences.c: Move the defenition of the
29622 scop_get_dependences from graphite-optimize-isl.c to this file.
29623 (apply_schedule_on_deps): Add checking of the ux's emptiness.
29624 (carries_deps): Add checking of the x's value.
29625 * graphite-optimize-isl.c: Move the defenition of the
29626 scop_get_dependences to graphite-dependences.c.
29627 * graphite-poly.h: Add declarations of scop_get_dependences
29630 2014-08-04 Rohit <rohitarulraj@freescale.com>
29633 * config/rs6000/rs6000.c (rs6000_reg_names): Add SPE high register
29635 (alt_reg_names): Likewise.
29636 (rs6000_dwarf_register_span): For SPE high registers, replace
29637 dwarf register numbers with GCC hard register numbers.
29638 (rs6000_init_dwarf_reg_sizes_extra): Likewise.
29639 (rs6000_dbx_register_number): For SPE high registers, return dwarf
29640 register number for the corresponding GCC hard register number.
29641 * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTER): Update based on 32
29642 newly added GCC hard register numbers for SPE high registers.
29643 (DWARF_FRAME_REGISTERS): Likewise.
29644 (DWARF_REG_TO_UNWIND_COLUMN): Likewise.
29645 (DWARF_FRAME_REGNUM): Likewise.
29646 (FIXED_REGISTERS): Likewise.
29647 (CALL_USED_REGISTERS): Likewise.
29648 (CALL_REALLY_USED_REGISTERS): Likewise.
29649 (REG_ALLOC_ORDER): Likewise.
29650 (enum reg_class): Likewise.
29651 (REG_CLASS_NAMES): Likewise.
29652 (REG_CLASS_CONTENTS): Likewise.
29653 (SPE_HIGH_REGNO_P): New macro to identify SPE high registers.
29655 2014-08-04 Richard Biener <rguenther@suse.de>
29657 * gimple-fold.h (gimple_fold_builtin): Remove.
29658 * gimple-fold.c (gimple_fold_builtin): Make static.
29659 * tree-ssa-ccp.c (pass_fold_builtins::execute): Use
29660 fold_stmt, not gimple_fold_builtin.
29662 2014-08-04 Martin Liska <mliska@suse.cz>
29664 * cgraph.h (csi_end_p): Removed.
29665 (csi_next): Likewise.
29666 (csi_node): Likewise.
29667 (csi_start): Likewise.
29668 (cgraph_node_in_set_p): Likewise.
29669 (cgraph_node_set_size): Likewise.
29670 (vsi_end_p): Likewise.
29671 (vsi_next): Likewise.
29672 (vsi_node): Likewise.
29673 (vsi_start): Likewise.
29674 (varpool_node_set_size): Likewise.
29675 (cgraph_node_set_nonempty_p): Likewise.
29676 (varpool_node_set_nonempty_p): Likewise.
29677 * cgraphunit.c (cgraph_process_new_functions): vec replaces
29679 * ipa-inline-transform.c: Likewise.
29680 * ipa-utils.c (cgraph_node_set_new): Removed.
29681 (cgraph_node_set_add): Likewise.
29682 (cgraph_node_set_remove): Likewise.
29683 (cgraph_node_set_find): Likewise.
29684 (dump_cgraph_node_set): Likewise.
29685 (debug_cgraph_node_set): Likewise.
29686 (free_cgraph_node_set): Likewise.
29687 (varpool_node_set_new): Likewise.
29688 (varpool_node_set_add): Likewise.
29689 (varpool_node_set_remove): Likewise.
29690 (varpool_node_set_find): Likewise.
29691 (dump_varpool_node_set): Likewise.
29692 (free_varpool_node_set): Likewise.
29693 (debug_varpool_node_set): Likewise.
29694 * tree-emutls.c (struct tls_var_data):
29695 (emutls_index): Removed.
29696 (emutls_decl): Likewise.
29697 (gen_emutls_addr): Function implementation uses newly added
29698 hash_map<varpool_node *, tls_var_data>.
29699 (clear_access_vars): Likewise.
29700 (create_emultls_var): Likewise.
29701 (ipa_lower_emutls): Likewise.
29702 (reset_access): New function.
29704 2014-08-04 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
29706 * config/i386/i386.c (ix86_option_override_internal): Add
29707 PTA_RDRND and PTA_MOVBE for bdver4.
29709 2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29710 James Greenhalgh <james.greenhalgh@arm.com>
29712 * doc/md.texi (clrsb): Document.
29713 (clz): Change reference to x into operand 1.
29715 (popcount): Likewise.
29717 2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29720 * gcc/optabs.c (expand_atomic_test_and_set): Do not try to emit
29721 move to subtarget in serial version if result is ignored.
29723 2014-08-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
29724 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29726 * sched-deps.c (try_group_insn): Generalise macro fusion hook usage
29727 to any two insns. Update comment. Rename to sched_macro_fuse_insns.
29728 (sched_analyze_insn): Update use of try_group_insn to
29729 sched_macro_fuse_insns.
29730 * config/i386/i386.c (ix86_macro_fusion_pair_p): Reject 2nd
29731 arguments that are not conditional jumps.
29733 2014-08-04 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
29735 * config/i386/driver-i386.c (host_detect_local_cpu): Handle AMD's
29736 extended family information. Handle BTVER2 cpu with cpuid family value.
29738 2014-08-04 Tom de Vries <tom@codesourcery.com>
29740 * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
29741 (glibc_2_11_or_earlier): Document effective-target keywords.
29743 2014-08-01 Jan Hubicka <hubicka@ucw.cz>
29745 * ipa-devirt.c (odr_type_warn_count): Add type.
29746 (possible_polymorphic_call_targets): Set it.
29747 (ipa_devirt): Use it.
29749 2014-08-01 Jan Hubicka <hubicka@ucw.cz>
29751 * doc/invoke.texi (Wsuggest-final-types, Wsuggest-final-methods):
29753 * ipa-devirt.c: Include hash-map.h
29754 (struct polymorphic_call_target_d): Add type_warning and decl_warning.
29755 (clear_speculation): Break out of ...
29756 (get_class_context): ... here; speed up handling obviously useless
29758 (odr_type_warn_count, decl_warn_count): New structures.
29759 (final_warning_record): New structure.
29760 (final_warning_records): New static variable.
29761 (possible_polymorphic_call_targets): Cleanup handling of
29762 speculative info; do not build speculation when user do not care;
29763 record info about warnings when asked for.
29764 (add_decl_warning): New function.
29765 (type_warning_cmp): New function.
29766 (decl_warning_cmp): New function.
29767 (ipa_devirt): Handle -Wsuggest-final-methods and -Wsuggest-final-types.
29768 (gate): Enable pass when warnings are requested.
29769 * common.opt (Wsuggest-final-types, Wsuggest-final-methods): New
29772 2014-08-02 Trevor Saunders <tsaunders@mozilla.com>
29774 * hash-map.h (default_hashmap_traits::mark_key_deleted):
29776 (hash_map::remove): New method.
29777 (hash_map::traverse): New method.
29778 * cgraph.h, except.c, except.h, gimple-ssa-strength-reduction.c,
29779 ipa-utils.c, lto-cgraph.c, lto-streamer.h, omp-low.c, predict.c,
29780 tree-cfg.c, tree-cfgcleanup.c, tree-eh.c, tree-eh.h, tree-inline.c,
29781 tree-inline.h, tree-nested.c, tree-sra.c, tree-ssa-loop-im.c,
29782 tree-ssa-loop-ivopts.c, tree-ssa-reassoc.c, tree-ssa-structalias.c,
29783 tree-ssa.c, tree-ssa.h, var-tracking.c: Use hash_map instead of
29786 2014-08-02 Trevor Saunders <tsaunders@mozilla.com>
29788 * hash-set.h: new File.
29789 * cfgexpand.c, cfgloop.c, cgraph.c, cgraphbuild.c, cgraphunit.c,
29790 cprop.c, cse.c, gimple-walk.c, gimple-walk.h, gimplify.c, godump.c,
29791 ipa-devirt.c, ipa-pure-const.c, ipa-visibility.c, ipa.c, lto-cgraph.c,
29792 lto-streamer-out.c, stmt.c, tree-cfg.c, tree-core.h, tree-eh.c,
29793 tree-inline.c, tree-inline.h, tree-nested.c, tree-pretty-print.c,
29794 tree-ssa-loop-niter.c, tree-ssa-phiopt.c, tree-ssa-threadedge.c,
29795 tree-ssa-uninit.c, tree.c, tree.h, value-prof.c, varasm.c,
29796 varpool.c: Use hash_set instead of pointer_set.
29798 2014-08-01 Alan Lawrence <alan.lawrence@arm.com>
29800 * config/aarch64/aarch64-simd-builtins.def (dup_lane, get_lane): Delete.
29802 2014-08-01 Jiong Wang <jiong.wang@arm.com>
29804 * config/aarch64/aarch64.c (aarch64_classify_address): Accept all offset
29805 for frame access when strict_p is false.
29807 2014-08-01 Renlin Li <renlin.li@arm.com>
29808 2014-08-01 Jiong Wang <jiong.wang@arm.com>
29810 * config/aarch64/aarch64.c (offset_7bit_signed_scaled_p): Rename to
29811 aarch64_offset_7bit_signed_scaled_p, remove static and use it.
29812 * config/aarch64/aarch64-protos.h (aarch64_offset_7bit_signed_scaled_p):
29814 * config/aarch64/predicates.md (aarch64_mem_pair_offset): Define new
29816 * config/aarch64/aarch64.md (loadwb_pair, storewb_pair): Use
29817 aarch64_mem_pair_offset.
29819 2014-08-01 Jiong Wang <jiong.wang@arm.com>
29821 * config/aarch64/aarch64.md (loadwb_pair<GPI:mode>_<P:mode>): Fix
29823 (loadwb_pair<GPI:mode>_<P:mode>): Likewise.
29824 * config/aarch64/aarch64.c (aarch64_gen_loadwb_pair): Likewise.
29826 2014-08-01 Matthew Fortune <matthew.fortune@imgtec.com>
29828 * config/mips/mips.h (REGISTER_PREFIX): Define macro.
29830 2014-08-01 James Greenhalgh <james.greenhalgh@arm.com>
29832 PR regression/61510
29833 * cgraphunit.c (analyze_functions): Use get_create rather than get
29834 for decls which are clones of abstract functions.
29836 2014-08-01 Martin Liska <mliska@suse.cz>
29838 * gimple-iterator.h (gsi_next_nonvirtual_phi): New function.
29839 * ipa-prop.h (count_formal_params): Global function created from static.
29840 * ipa-prop.c (count_formal_params): Likewise.
29841 * ipa-utils.c (ipa_merge_profiles): Be more tolerant if we merge
29842 profiles for semantically equivalent functions.
29843 * passes.c (do_per_function): If we load body of a function
29844 during WPA, this condition should behave same.
29845 * varpool.c (ctor_for_folding): More tolerant assert for variable
29846 aliases created during WPA.
29848 2014-08-01 Martin Liska <mliska@suse.cz>
29850 * doc/invoke.texi (Options That Control Optimization): Documentation
29851 for -foptimize-strlen introduced. Optimization levels default options
29854 2014-08-01 Jakub Jelinek <jakub@redhat.com>
29856 * opts.c (common_handle_option): Handle -fsanitize=alignment.
29857 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_CTOR_CALL.
29858 (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn): Change return
29860 * stor-layout.h (min_align_of_type): New prototype.
29861 * asan.c (pass_sanopt::execute): Don't perform gsi_next if
29862 ubsan_expand* told us not to do it. Remove the extra gsi_end_p
29864 * ubsan.c: Include builtins.h.
29865 (ubsan_expand_bounds_ifn): Change return type to bool,
29866 always return true.
29867 (ubsan_expand_null_ifn): Change return type to bool, change
29868 argument to gimple_stmt_iterator *. Handle both null and alignment
29869 sanitization, take type from ckind argument's type rather than
29871 (instrument_member_call): Removed.
29872 (instrument_mem_ref): Remove t argument, add mem and base arguments.
29873 Handle both null and alignment sanitization, don't say whole
29874 struct access is member access. Build 3 argument IFN_UBSAN_NULL
29875 call instead of 2 argument.
29876 (instrument_null): Adjust instrument_mem_ref caller. Don't
29877 instrument calls here.
29878 (pass_ubsan::gate, pass_ubsan::execute): Handle SANITIZE_ALIGNMENT
29879 like SANITIZE_NULL.
29880 * stor-layout.c (min_align_of_type): New function.
29881 * flag-types.h (enum sanitize_code): Add SANITIZE_ALIGNMENT.
29882 Or it into SANITIZE_UNDEFINED.
29883 * doc/invoke.texi (-fsanitize=alignment): Document.
29885 2014-07-31 Andi Kleen <ak@linux.intel.com>
29887 * tree-ssa-tail-merge.c (same_succ_hash): Convert to inchash.
29889 2014-07-31 Andi Kleen <ak@linux.intel.com>
29891 * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Convert to
29893 (vn_reference_compute_hash): Dito.
29894 (vn_nary_op_compute_hash): Dito.
29895 (vn_phi_compute_hash): Dito.
29896 * tree-ssa-sccvn.h (vn_hash_constant_with_type): Dito.
29898 2014-07-31 Andi Kleen <ak@linux.intel.com>
29900 * tree-ssa-dom.c (iterative_hash_exprs_commutative):
29901 Rename to inchash:add_expr_commutative. Convert to inchash.
29902 (iterative_hash_hashable_expr): Rename to
29903 inchash:add_hashable_expr. Convert to inchash.
29904 (avail_expr_hash): Dito.
29906 2014-07-31 Andi Kleen <ak@linux.intel.com>
29908 * ipa-devirt.c (polymorphic_call_target_hasher::hash):
29909 Convert to inchash.
29911 2014-07-31 Andi Kleen <ak@linux.intel.com>
29913 * asan.c (asan_mem_ref_hasher::hash): Convert to inchash.
29915 2014-07-31 Andi Kleen <ak@linux.intel.com>
29917 * Makefile.in (OBJS): Add rtlhash.o
29918 * dwarf2out.c (addr_table_entry_do_hash): Convert to inchash.
29919 (loc_checksum): Dito.
29920 (loc_checksum_ordered): Dito.
29921 (hash_loc_operands): Dito.
29923 (hash_loc_list): Dito.
29924 * rtl.c (iterative_hash_rtx): Moved to rtlhash.c
29925 * rtl.h (iterative_hash_rtx): Moved to rtlhash.h
29926 * rtlhash.c: New file.
29927 * rtlhash.h: New file.
29929 2014-07-31 Andi Kleen <ak@linux.intel.com>
29931 * inchash.h (inchash): Change inchash class to namespace.
29932 (class hash): ... Rename from inchash.
29933 (add_object): Move from macro to class template.
29934 * lto-streamer-out.c (hash_tree): Change inchash
29936 * tree.c (build_type_attribute_qual_variant): Dito.
29937 (type_hash_list): Dito.
29938 (attribute_hash_list): Dito.
29939 (iterative_hstate_expr): Rename to inchash::add_expr
29940 (build_range_type_1): Change inchash to inchash::hash
29941 and use hash::add_expr.
29942 (build_array_type_1): Dito.
29943 (build_function_type): Dito
29944 (build_method_type_directly): Dito.
29945 (build_offset_type): Dito.
29946 (build_complex_type): Dito.
29947 (make_vector_type): Dito.
29948 * tree.h (iterative_hash_expr): Dito.
29950 2014-07-31 Chen Gang <gang.chen.5i5j@gmail.com>
29952 * gcc.c (do_spec_1): Allocate enough space for saved_suffix.
29954 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
29956 * config/aarch64/arm_neon.h (vpadd_<suf><8,16,32,64>): Move to
29957 correct alphabetical position.
29958 (vpaddd_f64): Rewrite using builtins.
29959 (vpaddd_s64): Move to correct alphabetical position.
29962 2014-07-31 Oleg Endo <olegendo@gcc.gnu.org>
29965 * config/sh/sh.c (sh_legitimate_address_p,
29966 sh_legitimize_reload_address): Handle reg+reg address modes when
29967 ALLOW_INDEXED_ADDRESS is false.
29968 * config/sh/predicates.md (general_movsrc_operand,
29969 general_movdst_operand): Likewise.
29971 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
29973 * config/aarch64/aarch64-builtins.c
29974 (aarch64_gimple_fold_builtin): Don't fold reduction operations for
29977 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
29979 * config/aarch64/aarch64.c (aarch64_simd_vect_par_cnst_half): Vary
29980 the generated mask based on BYTES_BIG_ENDIAN.
29981 (aarch64_simd_check_vect_par_cnst_half): New.
29982 * config/aarch64/aarch64-protos.h
29983 (aarch64_simd_check_vect_par_cnst_half): New.
29984 * config/aarch64/predicates.md (vect_par_cnst_hi_half): Refactor
29985 the check out to aarch64_simd_check_vect_par_cnst_half.
29986 (vect_par_cnst_lo_half): Likewise.
29987 * config/aarch64/aarch64-simd.md
29988 (aarch64_simd_move_hi_quad_<mode>): Always use vec_par_cnst_lo_half.
29989 (move_hi_quad_<mode>): Always generate a low mask.
29991 2014-07-30 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
29993 * doc/invoke.texi (AVR Options): Add documentation about
29994 __AVR_DEVICE_NAME__ built-in macro.
29996 2014-07-31 Charles Baylis <charles.baylis@linaro.org>
29999 * config/arm/neon.md (ashldi3_neon): Don't emit arm_ashldi3_1bit unless
30000 constraints are satisfied.
30001 (<shift>di3_neon): Likewise.
30003 2014-07-31 Richard Biener <rguenther@suse.de>
30005 PR tree-optimization/61964
30006 * tree-ssa-tail-merge.c (gimple_equal_p): Handle non-SSA LHS solely
30007 by structural equality.
30009 2014-07-31 Yury Gribov <y.gribov@samsung.com>
30011 * doc/cpp.texi (__SANITIZE_ADDRESS__): Updated description.
30012 * doc/invoke.texi (-fsanitize=kernel-address): Describe new option.
30013 * flag-types.h (SANITIZE_USER_ADDRESS, SANITIZE_KERNEL_ADDRESS):
30015 * gcc.c (sanitize_spec_function): Support new option.
30016 (SANITIZER_SPEC): Remove now redundant check.
30017 * opts.c (common_handle_option): Support new option.
30018 (finish_options): Check for incompatibilities.
30019 * toplev.c (process_options): Split userspace-specific checks.
30021 2014-07-31 Richard Biener <rguenther@suse.de>
30023 * lto-streamer.h (struct output_block): Remove global.
30024 (struct data_in): Remove labels, num_named_labels and
30025 num_unnamed_labels.
30026 * lto-streamer-in.c (lto_data_in_delete): Do not free labels.
30027 * lto-streamer-out.c (produce_asm_for_decls): Do not set global.
30029 2014-07-31 Marc Glisse <marc.glisse@inria.fr>
30032 * common.opt (-Wreturn-local-addr): Moved from c.opt.
30033 * gimple-ssa-isolate-paths.c: Include diagnostic-core.h and intl.h.
30034 (isolate_path): New argument to avoid inserting a trap.
30035 (find_implicit_erroneous_behaviour): Handle returning the address
30036 of a local variable.
30037 (find_explicit_erroneous_behaviour): Likewise.
30039 2014-07-31 Bingfeng Mei <bmei@broadcom.com>
30042 * toplev.c (init_random_seed): Move piece of code never called to
30044 (set_random_seed): see above.
30046 2014-07-31 Tom de Vries <tom@codesourcery.com>
30048 * tree-ssa-loop.c (pass_tree_loop_init::execute): Remove dead code.
30050 2014-07-31 Richard Sandiford <rdsandiford@googlemail.com>
30052 * ira.c (insn_contains_asm_1, insn_contains_asm): Delete.
30053 (compute_regs_asm_clobbered): Use extract_asm_operands instead.
30055 2014-07-31 Richard Biener <rguenther@suse.de>
30057 * data-streamer.h (streamer_write_data_stream): Declare here,
30059 * lto-streamer.h (lto_output_data_stream): ... this. Remove.
30060 * lto-cgraph.c (lto_output_node): Adjust.
30061 (lto_output_varpool_node): Likewise.
30062 * data-streamer-out.c (streamer_string_index): Likewise.
30063 (streamer_write_data_stream, lto_append_block): Move from ...
30064 * lto-section-out.c (lto_output_data_stream,
30065 lto_append_block): ... here.
30067 2014-07-30 Mike Stump <mikestump@comcast.net>
30069 * configure.ac: Also check for popen.
30070 * tree-loop-distribution.c (dot_rdg): Autoconfize popen use.
30071 * configure: Regenerate.
30072 * config.in: Regenerate.
30074 2014-07-30 Martin Jambor <mjambor@suse.cz>
30076 * tree-sra.c (sra_ipa_modify_assign): Change type of the first
30077 parameter to gimple.
30079 2014-07-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30081 * config/s390/s390.c (s390_emit_tpf_eh_return): Pass original return
30082 address as second parameter to __tpf_eh_return routine.
30084 2014-07-30 Jiong Wang <jiong.wang@arm.com>
30086 * config/arm/arm.c (arm_get_frame_offsets): Adjust condition for
30089 2014-07-30 Tom Tromey <tromey@redhat.com>
30092 * doc/invoke.texi (Warning Options): Document -Wdesignated-init.
30093 * doc/extend.texi (Type Attributes): Document designated_init
30096 2014-07-30 Roman Gareev <gareevroman@gmail.com>
30098 * graphite-isl-ast-to-gimple.c:
30099 (gcc_expression_from_isl_ast_expr_id): Add calling of fold_convert.
30100 (gcc_expression_from_isl_expression): Pass type to
30101 gcc_expression_from_isl_ast_expr_id.
30103 2014-07-30 Richard Biener <rguenther@suse.de>
30105 * lto-streamer.h (lto_write_data): New function.
30106 * langhooks.c (lhd_append_data): Do not free block.
30107 * lto-section-out.c (lto_write_data): New function writing
30108 raw data to the current section.
30109 (lto_write_stream): Adjust for langhook semantic change.
30110 (lto_destroy_simple_output_block): Write header directly.
30111 * lto-opts.c (lto_write_options): Write options directly.
30112 * lto-streamer-out.c (produce_asm): Write heaeder directly.
30113 (lto_output_toplevel_asms): Likewise.
30114 (copy_function_or_variable): Copy data directly.
30115 (write_global_references): Output index table directly.
30116 (lto_output_decl_state_refs): Likewise.
30117 (write_symbol): Write data directly.
30118 (produce_symtab): Adjust.
30119 (produce_asm_for_decls): Output header and refs directly.
30121 2014-07-29 Jan Hubicka <hubicka@ucw.cz>
30123 * ipa-devirt.c (polymorphic_call_target_d): Rename
30124 nonconstruction_targets to speculative_targets
30125 (get_class_context): Fix handling of contextes without outer type;
30126 avoid matching non-polymorphic types in LTO.
30127 (possible_polymorphic_call_targets): Trun nonconstruction_targetsp
30128 parameter to speculative_targetsp; handle speculation.
30129 (dump_possible_polymorphic_call_targets): Update dumping.
30131 2014-07-29 Jan Hubicka <hubicka@ucw.cz>
30133 * common.opt (Wodr): Enable by default.
30135 2014-07-29 Olivier Hainque <hainque@adacore.com>
30137 * config/vxworksae.h (VXWORKS_OVERRIDE_OPTIONS): Define.
30139 2014-07-29 H.J. Lu <hongjiu.lu@intel.com>
30142 * gengtype.c (strtoken): New function.
30143 (create_user_defined_type): Replace strtok with strtoken.
30145 2014-07-29 Nathan Sidwell <nathan@acm.org>
30147 * gcov-io.c (gcov_var): Make hidden.
30148 * gcov-tool.c (gcov_list, gcov_exit): Remove declarations.
30149 (gcov_do_dump): Declare.
30150 (gcov_output_files): Call gcov_do_dump, not gcov_exit).
30152 2014-07-29 Martin Jambor <mjambor@suse.cz>
30154 * tree-sra.c (sra_modify_constructor_assign): Change type of stmt
30155 parameter to gimple.
30156 (sra_modify_assign): Likewise.
30158 2014-07-29 Richard Biener <rguenther@suse.de>
30160 PR middle-end/52478
30161 * expr.c (expand_expr_real_2): Revert last change.
30163 2014-07-28 Jan Hubicka <hubicka@ucw.cz>
30165 * cgraph.c (cgraph_node::create_indirect_edge): Copy speculative data.
30166 * cgraph.h (cgraph_indirect_call_info): Add speculative data.
30167 * gimple-fold.c (fold_gimple_assign): Fix check for virtual
30169 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Update
30170 (contains_type_p): Forward declare.
30171 (polymorphic_call_target_hasher::hash): Hash speculative info.
30172 (polymorphic_call_target_hasher::equal): Compare speculative info.
30173 (get_class_context): Handle speuclation.
30174 (contains_type_p): Update.
30175 (get_polymorphic_call_info_for_decl): Update.
30176 (walk_ssa_copies): Break out from ...
30177 (get_polymorphic_call_info): ... here; set speculative context
30179 * ipa-prop.c (ipa_write_indirect_edge_info,
30180 ipa_read_indirect_edge_info): Stream speculative context.
30181 * ipa-utils.h (ipa_polymorphic_call_context): Add speculative info
30182 (SPECULATIVE_OFFSET, SPECULATIVE_OUTER_TYPE,
30183 SPECULATIVE_MAYBE_DERIVED_TYPE).
30184 (possible_polymorphic_call_targets overriders): Update.
30185 (dump_possible_polymorphic_call_targets overriders): Update.
30186 (dump_possible_polymorphic_call_target_p overriders): Update.
30188 2014-07-28 Jan Hubicka <hubicka@ucw.cz>
30190 * gimple-fold.c (fold_gimple_assign): Fix condition guarding
30191 ipa-devirt path; fix thinko there.
30193 2014-07-28 Trevor Saunders <tsaunders@mozilla.com>
30195 * config/i386/i386.c (ix86_return_in_memory): Replace one
30196 ATTRIBUTE_UNUSED where the attribute can actually sometimes be unused.
30198 2014-07-28 Marek Polacek <polacek@redhat.com>
30200 * doc/invoke.texi (-Wno-odr): Fix @item entry. Tweak wording.
30202 2014-07-28 Peter Bergner <bergner@vnet.ibm.com>
30204 * config.gcc (powerpc*-*-linux*): Include gnu-user.h in tm_file.
30205 * config/rs6000/sysv4.h (CC1_SPEC): Undefine it before defining it.
30206 * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): Delete define.
30207 (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
30208 (USE_LD_AS_NEEDED): Likewise.
30209 (ASM_APP_ON): Likewise.
30210 (ASM_APP_OFF): Likewise.
30211 (TARGET_POSIX_IO): Likewise.
30212 * config/rs6000/linux64.h (CPLUSPLUS_CPP_SPEC): Likewise.
30213 (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
30214 (USE_LD_AS_NEEDED): Likewise.
30215 (ASM_APP_ON): Likewise.
30216 (ASM_APP_OFF): Likewise.
30217 (TARGET_POSIX_IO): Likewise.
30219 2014-07-28 Eric Botcazou <ebotcazou@adacore.com>
30221 PR middle-end/61734
30222 * fold-const.c (fold_comparison): Disable X - Y CMP 0 to X CMP Y for
30223 operators other than the equality operators.
30225 2014-07-28 Richard Biener <rguenther@suse.de>
30227 PR middle-end/52478
30228 * optabs.c (gen_int_libfunc): For -ftrapv libfuncs make
30229 sure to register SImode ones, not only >= word_mode ones.
30230 * expr.c (expand_expr_real_2): When expanding -ftrapv
30231 binops do not use OPTAB_LIB_WIDEN.
30233 2014-07-28 Richard Sandiford <rdsandiford@googlemail.com>
30235 PR middle-end/61919
30236 * tree-outof-ssa.c (insert_partition_copy_on_edge)
30237 (insert_value_copy_on_edge, insert_rtx_to_part_on_edge)
30238 (insert_part_to_rtx_on_edge): Copy partition_to_pseudo rtxes before
30239 inserting them in the insn stream.
30241 2014-07-28 Marek Polacek <polacek@redhat.com>
30243 PR middle-end/61913
30244 * common.opt (Wodr): Add Var.
30246 2014-07-28 Richard Biener <rguenther@suse.de>
30248 PR tree-optimization/61921
30249 * tree-ssa-structalias.c (create_variable_info_for_1): Check
30250 if there is a varpool node before dereferencing it.
30252 2014-07-28 Roman Gareev <gareevroman@gmail.com>
30254 * graphite-sese-to-poly.c:
30255 (new_pbb_from_pbb): Set a new id of pbb1->domain (instead of using the
30256 id of the pbb), which contains pointer to the pbb1.
30258 * gcc.dg/graphite/isl-ast-gen-if-2.c: New testcase.
30260 2014-07-28 Roman Gareev <gareevroman@gmail.com>
30262 * graphite-isl-ast-to-gimple.c:
30263 (graphite_create_new_guard): New function.
30264 (translate_isl_ast_node_if): New function.
30265 (translate_isl_ast): Add calling of translate_isl_ast_node_if.
30267 * gcc.dg/graphite/isl-ast-gen-if-1.c: New testcase.
30269 2014-07-27 Anthony Green <green@moxielogic.com>
30271 * config.gcc: Add moxie-*-moxiebox* configuration.
30272 * config/moxie/moxiebox.h: New file.
30274 2014-07-26 Andrew Pinski <apinski@cavium.com>
30276 * config/aarch64/aarch64.md (*extr_insv_lower_reg<mode>): Remove +
30277 from the read only register.
30279 2014-07-26 Richard Sandiford <rdsandiford@googlemail.com>
30281 * ira-costs.c (find_costs_and_classes): For -O0, use the best class
30282 as the allocation class if it isn't likely to be spilled.
30284 2014-07-26 Richard Sandiford <rdsandiford@googlemail.com>
30286 * rtl.h (tls_referenced_p): Declare.
30287 * rtlanal.c (tls_referenced_p_1, tls_referenced_p): New functions.
30288 * config/mips/mips.c (mips_tls_symbol_ref_1): Delete.
30289 (mips_cannot_force_const_mem): Use tls_referenced_p.
30290 * config/pa/pa-protos.h (pa_tls_referenced_p): Delete.
30291 * config/pa/pa.h (CONSTANT_ADDRESS_P): Use tls_referenced_p
30292 instead of pa_tls_referenced_p.
30293 * config/pa/pa.c (hppa_legitimize_address, pa_cannot_force_const_mem)
30294 (pa_emit_move_sequence, pa_emit_move_sequence): Likewise.
30295 (pa_legitimate_constant_p): Likewise.
30296 (pa_tls_symbol_ref_1, pa_tls_referenced_p): Delete.
30297 * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Delete.
30298 (rs6000_cannot_force_const_mem, rs6000_emit_move)
30299 (rs6000_address_for_altivec): Use tls_referenced_p instead of
30300 rs6000_tls_referenced_p.
30301 (rs6000_tls_symbol_ref_1): Delete.
30303 2014-07-26 Marc Glisse <marc.glisse@inria.fr>
30306 * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>:
30307 Optimize inverse of a VEC_CONCAT.
30309 2014-07-25 Xinliang David Li <davidxl@google.com>
30311 * params.def: New parameter.
30312 * coverage.c (get_coverage_counts): Check new flag.
30313 (coverage_compute_profile_id): Check new flag.
30314 (coverage_begin_function): Check new flag.
30315 (coverage_end_function): Check new flag.
30316 * value-prof.c (coverage_node_map_initialized_p): New function.
30317 (init_node_map): Populate map with all functions.
30318 * doc/invoke.texi: Document new parameter.
30320 2014-07-25 Jan Hubicka <hubicka@ucw.cz>
30321 Richard Biener <rguenther@suse.de>
30323 * lto-streamer-out.c (struct sccs): Turn to ...
30324 (class DFS): ... this one; refactor the DFS walk so it can
30325 be re-done on per-SCC basis.
30326 (DFS::DFS): New constructor.
30327 (DFS::~DFS): New destructor.
30328 (hash_tree): Add new MAP argument holding in-SCC hash values;
30329 remove POINTER_TYPE hashing hack.
30330 (scc_entry_compare): Rename to ...
30331 (DFS::scc_entry_compare): ... this one.
30332 (hash_scc): Rename to ...
30333 (DFS::hash_scc): ... this one; pass output_block instead
30334 of streamer_cache; work harder to get unique and stable SCC
30336 (DFS_write_tree): Rename to ...
30337 (DFS::DFS_write_tree): ... this one; add SINGLE_P parameter.
30338 (lto_output_tree): Update.
30340 2014-07-25 Andi Kleen <ak@linux.intel.com>
30342 * lto-streamer-out.c (hash_tree): Convert to inchash.
30344 2014-07-25 Andi Kleen <ak@linux.intel.com>
30346 * tree.c (build_type_attribute_qual_variant): Use inchash.
30347 (type_hash_list): Dito.
30348 (attribute_hash_list): Dito
30349 (iterative_hstate_expr): Dito.
30350 (iterative_hash_expr): Dito.
30351 (build_range_type_1): Dito.
30352 (build_array_type_1): Dito.
30353 (build_function_type): Dito.
30354 (build_method_type_directly): Dito.
30355 (build_offset_type): Dito.
30356 (build_complex_type): Dito.
30357 (make_vector_type): Dito.
30358 * tree.h (iterative_hash_expr): Add compat wrapper.
30359 (iterative_hstate_expr): Add.
30361 2014-07-25 Andi Kleen <ak@linux.intel.com>
30363 * Makefile.in (OBJS): Add inchash.o.
30364 (PLUGIN_HEADERS): Add inchash.h.
30365 * ipa-devirt.c: Include inchash.h.
30366 * lto-streamer-out.c: Dito.
30367 * tree-ssa-dom.c: Dito.
30368 * tree-ssa-pre.c: Dito.
30369 * tree-ssa-sccvn.c: Dito.
30370 * tree-ssa-tail-merge.c: Dito.
30372 * tree.c (iterative_hash_hashval_t): Move to ...
30373 (iterative_hash_host_wide_int): Move to ...
30374 * inchash.c: Here. New file.
30375 * tree.h (iterative_hash_hashval_t): Move to ...
30376 (iterative_hash_host_wide_int): Move to ...
30377 * inchash.h: Here. New file.
30379 2014-07-25 Richard Biener <rguenther@suse.de>
30381 PR middle-end/61762
30382 PR middle-end/61894
30383 * fold-const.c (native_encode_int): Add and handle offset
30384 parameter to do partial encodings of expr.
30385 (native_encode_fixed): Likewise.
30386 (native_encode_real): Likewise.
30387 (native_encode_complex): Likewise.
30388 (native_encode_vector): Likewise.
30389 (native_encode_string): Likewise.
30390 (native_encode_expr): Likewise.
30391 * fold-const.c (native_encode_expr): Add offset parameter
30393 * gimple-fold.c (fold_string_cst_ctor_reference): Remove.
30394 (fold_ctor_reference): Handle all reads from tcc_constant
30397 2014-07-25 Richard Biener <rguenther@suse.de>
30399 * tree-inline.c (estimate_move_cost): Mark speed_p argument
30400 as possibly unused.
30402 2014-07-23 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
30404 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Add __AVR_DEVICE_NAME__.
30406 2014-07-24 Kyle McMartin <kyle@redhat.com>
30408 * config/aarch64/aarch64-linux.h (TARGET_ASM_FILE_END): Define.
30410 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30412 * config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
30414 * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
30416 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
30417 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
30418 * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.
30420 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30422 * config/rs6000/rs6000.c (rs6000_function_arg_boundary): In the AIX
30423 and ELFv2 ABI, do not use the "mode == BLKmode" check to test for
30424 aggregate types. Instead, *all* aggregate types, except for single-
30425 element or homogeneous float/vector aggregates, are quadword-aligned
30426 if required by their type alignment. Issue -Wpsabi note when a type
30427 is now treated differently than before.
30429 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30431 * config/rs6000/rs6000.c (rs6000_function_arg): If a float argument
30432 does not fit fully into floating-point registers, and there is still
30433 space in the register parameter area, use GPRs to pass those parts
30434 of the argument. Issue -Wpsabi note if any parameter is now treated
30435 differently than before.
30436 (rs6000_arg_partial_bytes): Update.
30438 2014-07-24 Uros Bizjak <ubizjak@gmail.com>
30440 * config/alpha/elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.
30442 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
30444 * rtl.h (target_rtl): Remove lang_dependent_initialized.
30445 * toplev.c (initialize_rtl): Don't use it. Move previously
30446 "language-dependent" calls to...
30447 (backend_init): ...here.
30448 (lang_dependent_init_target): Don't set lang_dependent_initialized.
30449 Assert that RTL initialization hasn't happend yet.
30451 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
30453 PR rtl-optimization/61629
30454 * reginfo.c (reinit_regs): Only call ira_init and recog_init if
30455 they have already been initialized.
30457 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
30459 PR middle-end/61268
30460 * function.c (assign_parm_setup_reg): Prevent invalid sharing of
30461 DECL_INCOMING_RTL and entry_parm.
30462 (get_arg_pointer_save_area): Likewise arg_pointer_save_area.
30463 * calls.c (load_register_parameters): Likewise argument values.
30464 (emit_library_call_value_1, store_one_arg): Likewise argument
30466 * config/i386/i386.c (assign_386_stack_local): Likewise the local
30468 * explow.c (validize_mem): Modify the argument in-place.
30470 2014-07-24 Jiong Wang <jiong.wang@arm.com>
30472 * config/aarch64/aarch64.c (aarch64_popwb_single_reg): New function.
30473 (aarch64_expand_epilogue): Optimize epilogue when !frame_pointer_needed.
30475 2014-07-24 Jiong Wang <jiong.wang@arm.com>
30477 * config/aarch64/aarch64.c (aarch64_pushwb_single_reg): New function.
30478 (aarch64_expand_prologue): Optimize prologue when !frame_pointer_needed.
30480 2014-07-24 Jiong Wang <jiong.wang@arm.com>
30482 * config/aarch64/aarch64.c (aarch64_restore_callee_saves)
30483 (aarch64_save_callee_saves): New parameter "skip_wb".
30484 (aarch64_expand_prologue, aarch64_expand_epilogue): Update call site.
30486 2014-07-24 Jiong Wang <jiong.wang@arm.com>
30488 * config/aarch64/aarch64.h (frame): New fields "wb_candidate1" and
30490 * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize above.
30492 2014-07-24 Roman Gareev <gareevroman@gmail.com>
30494 * graphite-isl-ast-to-gimple.c:
30495 (graphite_create_new_loop): Add calling of isl_id_free to properly
30496 decrement reference counts.
30498 * gcc.dg/graphite/isl-ast-gen-blocks-4.c: New testcase.
30500 2014-07-24 Martin Liska <mliska@suse.cz>
30501 * config/mips/mips.c (mips_start_unique_function): Correct cgraph_node
30503 * config/rs6000/rs6000.c (call_ABI_of_interest): Likewise.
30504 (rs6000_code_end): Likewise.
30506 2014-07-24 Martin Liska <mliska@suse.cz>
30508 * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): Correct
30509 symtab_node funtion used.
30510 (rs6000_xcoff_declare_object_name): Likewise.
30512 2014-07-24 Martin Liska <mliska@suse.cz>
30514 * cgraphunit.c (compile): Correct function used.
30516 2014-07-24 Jan Hubicka <hubicka@ucw.cz>
30518 * lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL
30521 2014-07-24 Jan Hubicka <hubicka@ucw.cz>
30524 * varasm.c (bss_initializer_p): Handle offlined ctors.
30525 (align_variable, get_variable_align): Likewise.
30526 (make_decl_one_only): Likewise.
30527 (default_binds_local_p_1): Likewise.
30528 (decl_binds_to_current_def_p): Likewise.
30529 (get_variable_section): Get constructor if it is offlined.
30530 (assemble_variable_contents): Sanity check that the caller
30531 streamed in the ctor in LTO.
30533 2014-07-24 Roman Gareev <gareevroman@gmail.com>
30535 * graphite-isl-ast-to-gimple.c:
30536 (binary_op_to_tree): Add calling of translate_isl_ast_node_block.
30537 (gcc_expression_from_isl_expr_op): Move isl_ast_op_pdiv_q,
30538 isl_ast_op_pdiv_r to the different case.
30540 * gcc.dg/graphite/isl-ast-gen-blocks-3.c: New testcase.
30542 2014-07-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30544 PR middle-end/61876
30545 * convert.c (convert_to_integer): Do not convert BUILT_IN_ROUND and cast
30546 when flag_errno_math is on.
30548 2014-07-24 Martin Liska <mliska@suse.cz>
30550 * cgraph.h (varpool_node):
30551 (availability get_availability (void)):
30552 created from cgraph_variable_initializer_availability
30553 (inline varpool_node *ultimate_alias_target (availability *availability = NULL)
30554 created from: cgraph_variable_initializer_availability
30555 (inline varpool_node *get_alias_target (void)): created from varpool_alias_target
30556 (void finalize_named_section_flags (void)):
30557 created from varpool_finalize_named_section_flags
30558 (bool assemble_decl (void)): created from varpool_assemble_decl
30559 (void analyze (void)): created from varpool_analyze_node
30560 (bool call_for_node_and_aliases (bool (*callback) (varpool_node *, void *),
30561 void *data, bool include_overwritable)): created fromvarpool_for_node_and_aliases
30562 (void remove_initializer (void)): created from varpool_remove_initializer
30563 (tree get_constructor (void)): created from varpool_get_constructor
30564 (bool externally_visible_p (void)): created from varpool_externally_visible_p
30565 (bool ctor_useable_for_folding_p (void)): created from varpool_ctor_useable_for_folding_p
30566 (inline bool all_refs_explicit_p ()): created from varpool_all_refs_explicit_p
30567 (inline bool can_remove_if_no_refs_p (void)): created from varpool_can_remove_if_no_refs
30568 (static inline varpool_node *get (const_tree decl)): created from varpool_get_node
30569 (static void finalize_decl (tree decl)): created from varpool_finalize_decl
30570 (static bool output_variables (void)): created from varpool_output_variables
30571 (static varpool_node * create_extra_name_alias (tree alias, tree decl)):
30572 created from varpool_extra_name_alias
30573 (static varpool_node * create_alias (tree, tree)): created from varpool_create_variable_alias
30574 (static void dump_varpool (FILE *f)): created from dump_varpool
30575 (static void DEBUG_FUNCTION debug_varpool (void)): created from debug_varpool
30576 (static varpool_node *create_empty (void)): created from varpool_create_empty_node
30577 (static varpool_node *get_create (tree decl)): created from varpool_node_for_decl
30578 (static varpool_node *get_for_asmname (tree asmname)): created from varpool_node_for_asm
30579 (void assemble_aliases (void)): created from assemble_aliases
30581 2014-07-24 Martin Liska <mliska@suse.cz>
30583 * cgraph.h (symtab_node):
30584 (void register_symbol (void)): created from symtab_register_node
30585 (void remove (void)): created from symtab_remove_node
30586 (void dump (FILE *f)): created from dump_symtab_node
30587 (void DEBUG_FUNCTION debug (void)): created from debug_symtab_node
30588 (void DEBUG_FUNCTION verify (void)): created from verify_symtab_node
30589 (struct ipa_ref *add_reference (symtab_node *referred_node,
30590 enum ipa_ref_use use_type)): created from add_reference
30591 (struct ipa_ref *add_reference (symtab_node *referred_node,
30592 enum ipa_ref_use use_type, gimple stmt)): created from add_reference
30593 (struct ipa_ref *maybe_add_reference (tree val, enum ipa_ref_use use_type,
30594 gimple stmt)): created from maybe_add_reference
30595 (bool semantically_equivalent_p (symtab_node *target)): created from
30596 symtab_semantically_equivalent_p
30597 (void remove_from_same_comdat_group (void)): created from
30598 remove_from_same_comdat_group
30599 (void add_to_same_comdat_group (symtab_node *old_node)): created from
30600 symtab_add_to_same_comdat_group
30601 (void dissolve_same_comdat_group_list (void)): created from
30602 symtab_dissolve_same_comdat_group_list
30603 (bool used_from_object_file_p (void)): created from symtab_used_from_object_file_p
30604 (symtab_node *ultimate_alias_target (enum availability *avail = NULL)):
30605 created from symtab_alias_ultimate_target
30606 (inline symtab_node *next_defined_symbol (void)): created from
30607 symtab_next_defined_symbol
30608 (bool resolve_alias (symtab_node *target)): created from
30609 symtab_resolve_alias
30610 (bool call_for_symbol_and_aliases (bool (*callback) (symtab_node *, void *),
30611 void *data, bool include_overwrite)): created from symtab_for_node_and_aliases
30612 (symtab_node *noninterposable_alias (void)): created from symtab_nonoverwritable_alias
30613 (inline symtab_node *get_alias_target (void)): created from symtab_alias_target
30614 (void set_section (const char *section)): created from set_section_1
30615 (enum availability get_availability (void)): created from symtab_node_availability
30616 (void make_decl_local (void)): created from symtab_make_decl_local
30617 (bool real_symbol_p (void)): created from symtab_read_node
30618 (can_be_discarded_p (void)): created from symtab_can_be_discarded
30619 (inline bool comdat_local_p (void)): created from symtab_comdat_local_p
30620 (inline bool in_same_comdat_group_p (symtab_node *target)): created from
30621 symtab_in_same_comdat_p;
30622 (bool address_taken_from_non_vtable_p (void)): created from
30623 address_taken_from_non_vtable_p
30624 (static inline symtab_node *get (const_tree decl)): created from symtab_get_node
30625 (static void dump_table (FILE *)): created from dump_symtab
30626 (static inline DEBUG_FUNCTION void debug_symtab (void)): created from debug_symtab
30627 (static DEBUG_FUNCTION void verify_symtab_nodes (void)): created from verify_symtab
30628 (static bool used_from_object_file_p_worker (symtab_node *node)): created from
30629 symtab_used_from_object_file_p
30630 (void dump_base (FILE *)): created from dump_symtab_base
30631 (bool DEBUG_FUNCTION verify_base (void)): created from verify_symtab_base
30632 (void unregister (void)): created from symtab_unregister_node
30633 (struct symbol_priority_map *priority_info (void)): created from symtab_priority_info
30634 (static bool set_implicit_section (symtab_node *n, void *)): created from set_implicit_section
30635 (static bool noninterposable_alias (symtab_node *node, void *data)): created from
30636 symtab_nonoverwritable_alias_1
30637 * cgraph.h (cgraph_node):
30638 (bool remove_symbol_and_inline_clones (cgraph_node *forbidden_node = NULL)):
30639 created from cgraph_remove_node_and_inline_clones
30640 (void record_stmt_references (gimple stmt)): created from ipa_record_stmt_references
30641 (void set_call_stmt_including_clones (gimple old_stmt, gimple new_stmt,
30642 bool update_speculative = true)): created from cgraph_set_call_stmt_including_clones
30643 (cgraph_node *function_symbol (enum availability *avail = NULL)):
30644 created from cgraph_function_node
30645 (cgraph_node *create_clone (tree decl, gcov_type count, int freq, bool update_original,
30646 vec<cgraph_edge *> redirect_callers, bool call_duplication_hook,
30647 struct cgraph_node *new_inlined_to, bitmap args_to_skip)):
30648 created from cgraph_create_clone
30649 (cgraph_node *create_virtual_clone (vec<cgraph_edge *> redirect_callers,
30650 vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, const char * suffix)):
30651 created from cgraph_create_virtual_clone
30652 (cgraph_node *find_replacement (void)): created from cgraph_find_replacement_node
30653 (cgraph_node *create_version_clone (tree new_decl, vec<cgraph_edge *> redirect_callers,
30654 bitmap bbs_to_copy)): created from cgraph_copy_node_for_versioning
30655 (cgraph_node *create_version_clone_with_body (vec<cgraph_edge *> redirect_callers,
30656 vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, bool skip_return,
30657 bitmap bbs_to_copy, basic_block new_entry_block, const char *clone_name)):
30658 created from cgraph_function_version_info
30659 (struct cgraph_function_version_info *insert_new_function_version (void)):
30660 created from insert_new_cgraph_node_version
30661 (struct cgraph_function_version_info *function_version (void)): created from
30662 get_cgraph_node_version
30663 (void analyze (void)): created from analyze_function
30664 (cgraph_node * create_thunk (tree alias, tree, bool this_adjusting,
30665 HOST_WIDE_INT fixed_offset, HOST_WIDE_INT virtual_value, tree virtual_offset,
30666 tree real_alias) cgraph_add_thunk
30667 (inline cgraph_node *get_alias_target (void)): created from cgraph_alias_target
30668 (cgraph_node *ultimate_alias_target (availability *availability = NULL)):
30669 created from cgraph_function_or_thunk_node
30670 (bool expand_thunk (bool output_asm_thunks, bool force_gimple_thunk)):
30671 created from expand_thunk
30672 (void reset (void)): created from cgraph_reset_node
30673 (void create_wrapper (cgraph_node *target)): created from cgraph_make_wrapper
30674 (void DEBUG_FUNCTION verify_node (void)): created from verify_cgraph_node
30675 (void remove (void)): created from cgraph_remove_node
30676 (void dump (FILE *f)): created from dump_cgraph_node
30677 (void DEBUG_FUNCTION debug (void)): created from debug_cgraph_node
30678 (bool get_body (void)): created from cgraph_get_body
30679 (void release_body (void)): created from cgraph_release_function_body
30680 (void unnest (void)): created from cgraph_unnest_node
30681 (void make_local (void)): created from cgraph_make_node_local
30682 (void mark_address_taken (void)): created from cgraph_mark_address_taken_node
30683 (struct cgraph_edge *create_edge (cgraph_node *callee, gimple call_stmt,
30684 gcov_type count, int freq)): created from cgraph_create_edge
30685 (struct cgraph_edge *create_indirect_edge (gimple call_stmt, int ecf_flags,
30686 gcov_type count, int freq)): created from cgraph_create_indirect_edge
30687 (void create_edge_including_clones (struct cgraph_node *callee, gimple old_stmt,
30688 gimple stmt, gcov_type count, int freq, cgraph_inline_failed_t reason)):
30689 created from cgraph_create_edge_including_clones
30690 (cgraph_edge *get_edge (gimple call_stmt)): created from cgraph_edge
30691 (vec<cgraph_edge *> collect_callers (void)): created from collect_callers_of_node
30692 (void remove_callers (void)): created from cgraph_node_remove_callers
30693 (void remove_callees (void)): created from cgraph_node_remove_callees
30694 (enum availability get_availability (void)): created from cgraph_function_body_availability
30695 (void set_nothrow_flag (bool nothrow)): created from cgraph_set_nothrow_flag
30696 (void set_const_flag (bool readonly, bool looping)): created from cgraph_set_const_flag
30697 (void set_pure_flag (bool pure, bool looping)): created from cgraph_set_pure_flag
30698 (void call_duplication_hooks (cgraph_node *node2)): created from
30699 cgraph_call_node_duplication_hooks
30700 (bool call_for_symbol_and_aliases (bool (*callback) (cgraph_node *, void *),
30701 void *data, bool include_overwritable)): created from cgraph_for_node_and_aliases
30702 (bool call_for_symbol_thunks_and_aliases (bool (*callback) (cgraph_node *node, void *data),
30703 void *data, bool include_overwritable)): created from cgraph_for_node_thunks_and_aliases
30704 (void call_function_insertion_hooks (void)):
30705 created from cgraph_call_function_insertion_hooks
30706 (inline void mark_force_output (void)): created from cgraph_mark_force_output_node
30707 (bool local_p (void)): created from cgraph_local_node
30708 (bool can_be_local_p (void)): created from cgraph_node_can_be_local_p
30709 (bool cannot_return_p (void)): created from cgraph_node_cannot_return
30710 (bool only_called_directly_p (void)): created from cgraph_only_called_directly_p
30711 (inline bool only_called_directly_or_aliased_p (void)):
30712 created from cgraph_only_called_directly_or_aliased_p
30713 (bool will_be_removed_from_program_if_no_direct_calls_p (void)):
30714 created from cgraph_will_be_removed_from_program_if_no_direct_calls
30715 (bool can_remove_if_no_direct_calls_and_refs_p (void)):
30716 created from cgraph_can_remove_if_no_direct_calls_and_refs_p
30717 (bool can_remove_if_no_direct_calls_p (void)):
30718 created from cgraph_can_remove_if_no_direct_calls_p
30719 (inline bool has_gimple_body_p (void)):
30720 created from cgraph_function_with_gimple_body_p
30721 (bool optimize_for_size_p (void)): created from cgraph_optimize_for_size_p
30722 (static void dump_cgraph (FILE *f)): created from dump_cgraph
30723 (static inline void debug_cgraph (void)): created from debug_cgraph
30724 (static void record_function_versions (tree decl1, tree decl2)):
30725 created from record_function_versions
30726 (static void delete_function_version (tree decl)):
30727 created from delete_function_version
30728 (static void add_new_function (tree fndecl, bool lowered)):
30729 created from cgraph_add_new_function
30730 (static inline cgraph_node *get (const_tree decl)): created from cgraph_get_node
30731 (static cgraph_node * create (tree decl)): created from cgraph_create_node
30732 (static cgraph_node * create_empty (void)): created from cgraph_create_empty_node
30733 (static cgraph_node * get_create (tree)): created from cgraph_get_create_node
30734 (static cgraph_node *get_for_asmname (tree asmname)):
30735 created from cgraph_node_for_asm
30736 (static cgraph_node * create_same_body_alias (tree alias, tree decl)):
30737 created from cgraph_same_body_alias
30738 (static bool used_from_object_file_p_worker (cgraph_node *node,
30739 void *): new function
30740 (static bool non_local_p (cgraph_node *node, void *)):
30741 created from cgraph_non_local_node_p_1
30742 (static void DEBUG_FUNCTION verify_cgraph_nodes (void)):
30743 created from verify_cgraph
30744 (static bool make_local (cgraph_node *node, void *)):
30745 created from cgraph_make_node_local
30746 (static cgraph_node *create_alias (tree alias, tree target)):
30747 created from cgraph_create_function_alias
30748 (static cgraph_edge * create_edge (cgraph_node *caller, cgraph_node *callee,
30749 gimple call_stmt, gcov_type count, int freq, bool indir_unknown_callee)):
30750 created from cgraph_create_edge_1
30751 * cgraph.h (varpool_node):
30752 (void remove (void)): created from varpool_remove_node
30753 (void dump (FILE *f)): created from dump_varpool_node
30755 2014-07-24 Richard Biener <rguenther@suse.de>
30758 * tree-ssa-structalias.c (create_variable_info_for_1):
30759 Use varpool_get_constructor.
30760 (create_variable_info_for): Likewise.
30762 2014-07-24 Jiong Wang <jiong.wang@arm.com>
30764 * config/aarch64/aarch64.c (aarch64_expand_epilogue): Don't
30765 subtract outgoing area size when restoring stack_pointer_rtx.
30767 2014-07-24 Nick Clifton <nickc@redhat.com>
30769 * config/rx/rx.md (stack_push): Adjust RTL to account for the fact
30770 that operations are taking place in parallel.
30771 * config/rx.h (FRAME_POINTER_CFA_OFFSET): Delete.
30773 2014-07-24 Thomas Schwinge <thomas@codesourcery.com>
30775 * omp-low.c (extract_omp_for_data): Add missing break statement.
30777 2014-07-24 Richard Biener <rguenther@suse.de>
30779 * tree-inline.h (estimate_move_cost): Add speed_p parameter.
30780 * tree-inline.c (estimate_move_cost): Add speed_p parameter
30781 and adjust MOVE_RATIO query accordingly.
30782 (estimate_num_insns): Adjust callers.
30783 * ipa-prop.c (ipa_populate_param_decls): Likewise.
30784 * ipa-cp.c (gather_context_independent_values,
30785 estimate_local_effects): Likewise.
30786 * ipa-split.c (consider_split): Likewise.
30788 2014-07-24 Trevor Saunders <tsaunders@mozilla.com>
30790 * config/i386/driver-i386.c: Remove names of unused arguments and
30791 unnecessary unused attributes.
30792 * config/i386/host-mingw32.c: Likewise.
30793 * config/i386/i386.c: Likewise.
30794 * config/i386/winnt-stubs.c: Likewise.
30795 * config/i386/winnt.c: Likewise.
30797 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30799 * config/aarch64/aarch64.c (aarch64_popwb_pair_reg)
30800 (aarch64_gen_loadwb_pair): New helper function.
30801 (aarch64_expand_epilogue): Simplify code using new helper functions.
30802 * config/aarch64/aarch64.md (loadwb_pair<GPF:mode>_<P:mode>): Define.
30804 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30806 * config/aarch64/aarch64.c (aarch64_pushwb_pair_reg)
30807 (aarch64_gen_storewb_pair): New helper function.
30808 (aarch64_expand_prologue): Simplify code using new helper functions.
30809 * config/aarch64/aarch64.md (storewb_pair<GPF:mode>_<P:mode>): Define.
30811 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30813 * config/aarch64/aarch64.md: (aarch64_save_or_restore_callee_saves):
30814 Rename to aarch64_save_callee_saves, remove restore code.
30815 (aarch64_restore_callee_saves): New function.
30817 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30819 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Deleted.
30820 (aarch64_save_callee_saves): New function to handle reg save
30821 for both core and vectore regs.
30823 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30825 * config/aarch64/aarch64.c (aarch64_gen_load_pair)
30826 (aarch64_gen_store_pair): New helper function.
30827 (aarch64_save_or_restore_callee_save_registers)
30828 (aarch64_save_or_restore_fprs): Use new helper functions.
30830 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30832 * config/aarch64/aarch64.c (aarch64_next_callee_save): New function.
30833 (aarch64_save_or_restore_callee_save_registers)
30834 (aarch64_save_or_restore_fprs): Use aarch64_next_callee_save.
30836 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30838 * config/aarch64/aarch64.c
30839 (aarch64_save_or_restore_callee_save_registers)
30840 (aarch64_save_or_restore_fprs): Hoist calculation of register rtx.
30842 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30844 * config/aarch64/aarch64.c
30845 (aarch64_save_or_restore_callee_save_registers)
30846 (aarch64_save_or_restore_fprs): Remove 'increment'.
30848 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30850 * config/aarch64/aarch64.c
30851 (aarch64_save_or_restore_callee_save_registers)
30852 (aarch64_save_or_restore_fprs): Use register offset in
30853 cfun->machine->frame.reg_offset.
30855 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30857 * config/aarch64/aarch64.c
30858 (aarch64_save_or_restore_callee_save_registers)
30859 (aarch64_save_or_restore_fprs): Remove base_rtx.
30861 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30863 * config/aarch64/aarch64.c
30864 (aarch64_save_or_restore_callee_save_registers): Rename 'offset'
30865 to 'start_offset'. Remove local variable 'start_offset'.
30867 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30869 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Change
30870 type to HOST_WIDE_INT.
30872 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30874 * config/aarch64/aarch64.c (aarch64_expand_prologue)
30875 (aarch64_save_or_restore_fprs)
30876 (aarch64_save_or_restore_callee_save_registers): GNU-Stylize code.
30878 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
30880 * config/arm/t-rtems-eabi: Add
30881 mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard,
30882 mthumb/march=armv7-m/mfpu=fpv4-sp-d16/mfloat-abi=hard,
30883 mbig-endian/mthumb/march=armv7-r, and
30884 mbig-endian/mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard
30887 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
30888 Chris Johns <chrisj@rtems.org>
30889 Joel Sherrill <joel.sherrill@oarcorp.com>
30891 * config.gcc: Add nios2-*-rtems*.
30892 * config/nios2/rtems.h: New file.
30893 * gcc/config/nios2/t-rtems: New file.
30895 2014-07-23 Segher Boessenkool <segher@kernel.crashing.org>
30898 * config/rs6000/rs6000.c (paired_expand_vector_init): Only allow
30899 constant numbers, not general constants.
30900 (rs6000_expand_vector_init): Ditto.
30902 2014-07-23 Nathan Sidwell <nathan@acm.org>
30904 * gcov-tool.c (gcov_list): Declare here.
30905 (set_gcov_list): Remove.
30906 (gcov_output_files): Set gcov_list directly.
30908 2014-07-23 Host Schirmeier <horst@schirmeier.com>
30910 * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns.
30912 2014-07-23 Jiong Wang <jiong.wang@arm.com>
30914 * config/arm/arm.c (arm_get_frame_offsets): If both r3 and other
30915 callee-saved registers are available for padding purpose
30916 and r3 is not mandatory, then prefer use those callee-saved
30919 2014-07-23 Richard Biener <rguenther@suse.de>
30921 * params.def (PARAM_MAX_COMBINE_INSNS): New.
30922 * combine.c: Include statistics.h and params.h.
30923 (combine_instructions): Guard three and four insn combines
30924 with max-combine-insns value. Record statistics for combines
30926 * doc/invoke.texi (max-combine-insns): Document new param.
30928 2014-07-23 Roman Gareev <gareevroman@gmail.com>
30930 * graphite-isl-ast-to-gimple.c:
30931 (translate_isl_ast_node_block): New function.
30932 (translate_isl_ast): Add calling of translate_isl_ast_node_block.
30934 * gcc.dg/graphite/isl-ast-gen-blocks-1.c: New testcase.
30935 * gcc.dg/graphite/isl-ast-gen-blocks-2.c: New testcase.
30937 2014-07-23 Roman Gareev <gareevroman@gmail.com>
30939 * graphite-isl-ast-to-gimple.c:
30940 (get_max_schedule_dimensions): New function.
30941 (extend_schedule): Likewise.
30942 (generate_isl_schedule): Add calling of extend_schedule and
30943 get_max_schedule_dimensions.
30945 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30947 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle CLRSB, CLZ.
30948 (case UNSPEC): Handle UNSPEC_RBIT.
30950 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30952 * config/aarch64/aarch64.md: Delete UNSPEC_CLS.
30953 (clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS.
30955 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30957 * config/aarch64/arm_neon.h (vbsl_f64): New intrinsic.
30959 2014-07-22 Roman Gareev <gareevroman@gmail.com>
30961 * graphite-isl-ast-to-gimple.c:
30962 Add inclusion of gimple-ssa.h, tree-into-ssa.h.
30963 (ivs_params_clear):
30964 (build_iv_mapping): New function.
30965 (translate_isl_ast_node_user): Likewise.
30966 (translate_isl_ast): Add calling of translate_isl_ast_node_user.
30968 * gcc.dg/graphite/isl-ast-gen-single-loop-1.c: New testcase.
30969 * gcc.dg/graphite/isl-ast-gen-single-loop-2.c: New testcase.
30970 * gcc.dg/graphite/isl-ast-gen-single-loop-3.c: New testcase.
30972 2014-07-21 Bin Cheng <bin.cheng@arm.com>
30975 * config/arm/arm.md (setmem): New pattern.
30976 * config/arm/arm-protos.h (struct tune_params): New fields.
30977 (arm_gen_setmem): New prototype.
30978 * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
30979 (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
30980 (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
30981 (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
30982 (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
30983 (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
30984 (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
30985 (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
30986 (arm_const_inline_cost): New function.
30987 (arm_block_set_max_insns): New function.
30988 (arm_block_set_non_vect_profit_p): New function.
30989 (arm_block_set_vect_profit_p): New function.
30990 (arm_block_set_unaligned_vect): New function.
30991 (arm_block_set_aligned_vect): New function.
30992 (arm_block_set_unaligned_non_vect): New function.
30993 (arm_block_set_aligned_non_vect): New function.
30994 (arm_block_set_vect, arm_gen_setmem): New functions.
30996 2014-07-21 Bin Cheng <bin.cheng@arm.com>
30998 * config/arm/arm.c (output_move_neon): Handle REG explicitly.
31000 2014-07-21 Uros Bizjak <ubizjak@gmail.com>
31003 * config/i386/avx512fintrin.h: Move constants for mantissa extraction
31004 out of #ifdef __OPTIMIZE__.
31006 2014-07-20 Eric Botcazou <ebotcazou@adacore.com>
31008 * cse.c (exp_equiv_p) <MEM>: For GCSE, return 0 for expressions with
31009 different trapping status if -fnon-call-exceptions is enabled.
31011 2014-07-20 Eric Botcazou <ebotcazou@adacore.com>
31013 * expr.c (store_field): Handle VOIDmode for calls that return values
31014 in multiple locations.
31016 2014-07-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
31018 * config/rs6000/altivec.md (unspec enum): Fix typo in UNSPEC_VSLDOI.
31019 (altivec_vsldoi_<mode>): Likewise.
31021 2014-07-20 Roman Gareev <gareevroman@gmail.com>
31023 * graphite-isl-ast-to-gimple.c: Fixes a formatting issue related
31024 to the number of characters in the line.
31026 2014-07-20 Roman Gareev <gareevroman@gmail.com>
31028 * graphite-isl-ast-to-gimple.c: Add using of
31029 build_nonstandard_integer_type instead of int128_integer_type_node.
31031 2014-07-19 Eric Botcazou <ebotcazou@adacore.com>
31033 * toplev.c (output_stack_usage): Adjust the location of the warning.
31035 2014-07-19 Daniel Cederman <cederman@gaisler.com>
31037 * config/sparc/sync.md (*membar_storeload_leon3): New insn.
31038 (*membar_storeload): Disable for LEON3.
31040 2014-07-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
31042 PR rtl-optimization/61461
31043 * sched-vis.c (print_pattern) <ADDR_VEC, ADDR_DIFF_VEC>: Fixed.
31045 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
31048 * config/i386/sse.md (avx512f_vextract<shuffletype>32x4_1_maskm):
31049 Fix instruction constraint.
31050 (<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>): Ditto.
31052 2014-07-18 Jonathan Wakely <jwakely@redhat.com>
31054 * doc/extend.texi (Template Instantiation): Remove stray parenthesis.
31056 2014-07-18 Chung-Ju Wu <jasonwucj@gmail.com>
31058 * config/nds32/nds32.c (nds32_can_eliminate): Follow the
31059 GNU coding standards.
31060 (nds32_register_move_cost): Likewise.
31061 (nds32_memory_move_cost): Likewise.
31062 (nds32_address_cost): Likewise.
31064 2014-07-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
31066 * config/mmix/mmix.c (mmix_intval): Drop unused automatic variable.
31068 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
31070 * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Remove defines for
31071 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
31072 and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
31073 (HAVE_sync_compare_and_swapqi): Define.
31074 (HAVE_sync_compare_and_swaphi): Likewise.
31075 (HAVE_sync_compare_and_swapsi): Likewise.
31077 2014-07-17 Richard Sandiford <rdsandiford@googlemail.com>
31079 * config/mips/p5600.md: Add missing cpu tests.
31081 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31083 * config/aarch64/arm_neon.h (vfma_f64): New intrinsic.
31084 (vmla_f64): Likewise.
31085 (vfms_f64): Likewise.
31086 (vmls_f64): Likewise.
31088 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31090 * config/aarch64/aarch64.c (aarch64_frint_unspec_p): New function.
31091 (aarch64_rtx_costs): Handle FIX, UNSIGNED_FIX, UNSPEC.
31093 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31095 * config/aarch64/arm_neon.h (vmlal_high_lane_s16): Fix type.
31096 (vmlal_high_lane_s32): Likewise.
31097 (vmlal_high_lane_u16): Likewise.
31098 (vmlal_high_lane_u32): Likewise.
31099 (vmlsl_high_lane_s16): Likewise.
31100 (vmlsl_high_lane_s32): Likewise.
31101 (vmlsl_high_lane_u16): Likewise.
31102 (vmlsl_high_lane_u32): Likewise.
31104 2014-07-17 Terry Guo <terry.guo@arm.com>
31106 * config/arm/types.md (alu_reg): Replaced by alu_sreg and alu_dsp_reg.
31107 (alus_reg): Renamed to alus_sreg.
31108 * config/arm/arm-fixed.md: Change type of non-dsp instructions
31109 from alu_reg to alu_sreg. Change type of dsp instructions from
31110 alu_reg to alu_dsp_reg.
31111 * config/arm/thumb1.md: Likewise.
31112 * config/arm/thumb2.md: Likewise.
31113 * config/arm/arm.c (cortexa7_older_only): Use new ALU type names.
31114 * config/arm/arm1020e.md (1020alu_op): Replace alu_reg and alus_reg
31115 with alu_sreg and alus_sreg.
31116 * config/arm/arm1026ejs.md (alu_op): Likewise.
31117 * config/arm/arm1136jfs.md (11_alu_op): Likewise.
31118 * config/arm/arm926ejs.md (9_alu_op): Likewise.
31119 * config/arm/fa526.md (526_alu_op): Likewise.
31120 * config/arm/fa606te.md (606te_alu_op): Likewise.
31121 * config/arm/fa626te.md (626te_alu_op): Likewise.
31122 * config/arm/fa726te.md (726te_alu_op): Likewise.
31123 * config/arm/fmp626.md (mp626_alu_op): Likewise.
31124 * config/arm/arm.md (core_cycles): Replace alu_reg and alus_reg with
31125 alu_sreg, alu_dsp_reg and alus_sreg.
31126 * config/arm/cortex-a15.md (cortex_a15_alu): Likewise.
31127 * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
31128 * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
31129 * config/arm/cortex-a7.md (cortex_a7_alu_sreg): Likewise.
31130 * config/arm/cortex-a8.md (cortex_a8_alu): Likewise.
31131 * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
31132 * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
31133 * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
31134 * config/arm/marvell-pj4.md (pj4_alu, pj4_alu_conds): Likewise.
31135 * config/aarch64/aarch64.md (*addsi3_aarch64, *addsi3_aarch64_uxtw,
31136 subsi3, *adddi3_aarch64, *subsi3_uxtw, subdi3, absdi2, neg<mode>2,
31137 *negsi2_uxtw, tlsle_small_<mode>): Rename type alu_reg to alu_sreg.
31138 (add<mode>3_compare0, *addsi3_compare0_uxtw, *add<mode>3nr_compare0,
31139 sub<mode>3_compare0, *compare_neg<mode>, *neg<mode>2_compare0,
31140 subsi3_compare0_uxtw, *negsi2_compare0_uxtw, *cmp<mode>): Rename type
31141 alus_reg to alus_sreg.
31143 2014-07-17 Andreas Schwab <schwab@linux-m68k.org>
31145 * real.c (encode_ieee_extended_motorola): Clear integer bit in the
31148 2014-07-17 Richard Biener <rguenther@suse.de>
31150 PR rtl-optimization/61801
31151 * sched-deps.c (sched_analyze_2): For ASM_OPERANDS and ASM_INPUT
31152 don't set reg_pending_barrier if it appears in a debug-insn.
31154 2014-07-16 DJ Delorie <dj@redhat.com>
31156 * config/rx/rx.c (rx_option_override): Fix alignment values.
31157 (rx_align_for_label): Likewise.
31159 2014-07-17 Hans-Peter Nilsson <hp@axis.com>
31162 * config/cris/cris.c (TARGET_LEGITIMATE_CONSTANT_P)
31163 (TARGET_CANNOT_FORCE_CONST_MEM): Define.
31164 (cris_cannot_force_const_mem, cris_legitimate_constant_p): New
31166 (cris_print_index, cris_print_operand, cris_constant_index_p)
31167 (cris_side_effect_mode_ok): Replace CONSTANT_P with CRIS_CONSTANT_P.
31168 (cris_address_cost): Ditto last CONSTANT_P.
31169 (cris_symbol_type_of): Rename from cris_pic_symbol_type_of. All
31170 callers changed. Yield cris_offsettable_symbol for non-PIC
31171 constant symbolic expressions including labels. Yield cris_unspec
31173 (cris_expand_pic_call_address): New parameter MARKERP. Set its
31174 target to pic_offset_table_rtx for calls that will likely go
31175 through PLT, const0_rtx when they can't. All callers changed.
31176 Assert flag_pic. Use CONSTANT_P, not CONSTANT_ADDRESS_P, for
31177 symbolic expressions to be PICified. Remove second, redundant,
31178 assert on can_create_pseudo_p returning non-zero. Use
31179 replace_equiv_address_nv, not replace_equiv_address, for final
31181 * config/cris/cris.md ("movsi"): Move variable t to pattern
31182 toplevel. Adjust assert for new cris_symbol_type member. Use
31183 CONSTANT_P instead of CONSTANT_ADDRESS_P.
31184 ("*movsi_internal") <case 9>: Make check for valid unspec operands
31186 <case CRIS_UNSPEC_PCREL, CRIS_UNSPEC_PLT_PCREL>: Clear condition codes.
31187 ("call", "call_value"): Use second incoming operand as a marker
31188 for pic-offset-table-register being used.
31189 ("*expanded_call_non_v32", "*expanded_call_v32")
31190 ("*expanded_call_value_non_v32", "*expanded_call_value_v32"): For
31191 second incoming operand to CALL, match cris_call_type_marker.
31192 ("*expanded_call_value_side"): Ditto. Disable before reload_completed.
31193 ("*expanded_call_side"): Ditto. Fix typo in comment.
31194 (moverside, movemside peepholes): Check for CRIS_CONSTANT_P, not
31196 * config/cris/predicates.md ("cris_call_type_marker"): New predicate.
31197 * config/cris/cris.h (CRIS_CONSTANT_P): New macro.
31198 (enum cris_symbol_type): Rename from cris_pic_symbol_type. All
31199 users changed. Add members cris_offsettable_symbol and cris_unspec.
31200 (cris_symbol_type): Rename from cris_pic_symbol_type.
31201 * config/cris/constraints.md ("T"): Use CRIS_CONSTANT_P, not
31203 * config/cris/cris-protos.h (cris_symbol_type_of,
31204 cris_expand_pic_call_address): Adjust prototypes.
31205 (cris_legitimate_constant_p): New prototype.
31207 * config.gcc (crisv32-*-linux* | cris-*-linux*): Do not override
31208 an existing tmake_file. Don't add t-slibgcc and t-linux.
31210 2014-07-17 Jason Merrill <jason@redhat.com>
31213 * symtab.c (symtab_remove_from_same_comdat_group): Also
31214 set_comdat_group to NULL_TREE.
31215 (verify_symtab): Fix diagnostic.
31217 2014-07-16 David Wohlferd <dw@LimeGreenSocks.com>
31220 * config/i386/ia32intrin.h: Use __LP64__ to determine size of long.
31222 2014-07-16 Dodji Seketeli <dodji@redhat.com>
31224 Support location tracking for built-in macro tokens
31225 * input.h (is_location_from_builtin_token): New function declaration.
31226 * input.c (is_location_from_builtin_token): New function definition.
31227 * toplev.c (general_init): Tell libcpp what the pre-defined
31228 spelling location for built-in tokens is.
31230 2014-07-16 Jakub Jelinek <jakub@redhat.com>
31232 * omp-low.c (create_omp_child_function): Don't set DECL_NAMELESS
31233 on the FUNCTION_DECL.
31235 2014-07-16 Richard Biener <rguenther@suse.de>
31238 * doc/extend.texi (always_inline): Clarify.
31240 2014-07-15 Eric Christopher <echristo@gmail.com>
31242 * doc/invoke.texi (Link Options): Document -z option.
31244 2014-07-15 Uros Bizjak <ubizjak@gmail.com>
31246 * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): New.
31247 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
31249 2014-07-15 Jan Hubicka <hubicka@ucw.cz>
31251 * fold-const.c (fold_checksum_tree): Fix typo in previous patch.
31253 2014-07-15 Bernd Schmidt <bernds@codesourcery.com>
31255 * asan.c (asan_finish_file): Use varpool_finalize_decl instead of
31256 varpool_assemble_decl.
31257 * varpool.c (varpool_assemble_decl): Assert that node->definition is
31260 2014-07-15 Michael Matz <matz@suse.de>
31262 PR rtl-optimization/61772
31263 * ifcvt.c (dead_or_predicable): Check jump to be free of side effects.
31265 2014-07-15 Richard Biener <rguenther@suse.de>
31267 * opts.c (default_options_table): Disable bit-ccp at -Og.
31269 2014-07-14 Jan Hubicka <hubicka@ucw.cz>
31271 * fold-const.c (fold_checksum_tree): Move checking of DECL_RESULT.
31273 2014-07-14 Jan Hubicka <hubicka@ucw.cz>
31275 * tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
31276 NAMESPACE_DECL, IMPORTED_DECL and NAMELIST_DECL;
31277 call langhook for unknown declaration.
31278 (find_decls_types_r): Do not walk DECL_ARGUMENT_FLD.
31279 * tree.h (DECL_ARGUMENTS): Update.
31280 * print-tree.c (print_node): Update.
31281 * tree-core.h (tree_decl_non_common): Remove arguments.
31282 (tree_function_decl): Add arguments.
31284 2014-07-14 Richard Earnshaw <rearnsha@arm.com>
31286 * aarch64.md (add_losym_<mode>): Set type to alu_imm.
31288 2014-07-14 Richard Biener <rguenther@suse.de>
31290 PR tree-optimization/61779
31291 * tree-ssa-copy.c (copy_prop_visit_cond_stmt): Always try
31292 simplifying a condition.
31294 2014-07-14 Richard Biener <rguenther@suse.de>
31296 * builtins.c (c_strlen): Make only_value == 2 really only
31297 affect warning generation.
31299 2014-07-14 Richard Biener <rguenther@suse.de>
31301 PR tree-optimization/61757
31302 PR tree-optimization/61783
31303 PR tree-optimization/61787
31304 * tree-ssa-dom.c (record_equality): Revert canonicalization
31305 change and add comment.
31306 (propagate_rhs_into_lhs): Revert previous fix, removing
31307 loop depth restriction again.
31309 2014-07-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31311 * config/arm/cortex-a15.md (cortex_a15_alu): Handle clz, rbit.
31312 * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
31313 * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
31314 * config/arm/cortex-a7.md (cortex_a7_alu_reg): Likewise.
31315 * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
31316 * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
31317 * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
31319 2014-07-14 Richard Biener <rguenther@suse.de>
31321 * cgraph.h (decl_in_symtab_p): Make inline.
31323 2014-07-14 Jakub Jelinek <jakub@redhat.com>
31325 PR middle-end/61294
31326 * doc/invoke.texi (-Wmemset-transposed-args): Document.
31329 * config/i386/i386.c (classify_argument): Don't merge classes above
31332 2014-07-13 Jan Hubicka <hubicka@ucw.cz>
31334 * cgraph.h (symtab_node): Add nonzero_address.
31335 (decl_in_symtab_p): Break out from ...
31336 (symtab_get_node): ... here.
31337 * fold-const.c: Include cgraph.h
31338 (tree_single_nonzero_warnv_p): Use symtab to determine
31339 if symbol is non-zero.
31340 * symtab.c (symtab_node::nonzero_address): New method.
31342 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
31344 * ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack
31345 forgotten in previous commit.
31347 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
31349 * tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC
31351 * ipa-devirt.c: Include stor-layout.h and intl.h
31352 (odr_subtypes_equivalent_p): New function.
31353 (warn_odr): New function.
31354 (warn_type_mismatch): New function.
31355 (odr_types_equivalent_p): New function.
31356 (add_type_duplicate): Use it.
31357 * common.opt (Wodr): New flag.
31358 * doc/invoke.texi (Wodr): Document new warning.
31360 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
31362 * timevar.def (TV_IPA_LTO_DECL_INIT_IO): Remove.
31363 (TV_IPA_LTO_CTORS_IN, TV_IPA_LTO_CTORS_OUT): New timevar.
31364 * cgraph.c (cgraph_get_body): Push GIMPLE_IN timevar.
31365 (varpool_get_constructor): Push CTORS_IN timevar.
31366 * lto-streamer-out.c (lto_output): Push TV_IPA_LTO_CTORS_OUT timevar.
31368 2014-07-12 Uros Bizjak <ubizjak@gmail.com>
31370 * config/i386/i386-builtin-types.def: Add USHORT_FTYPE_VOID.
31371 Remove VOID_FTYPE_PUSHORT.
31372 * config/i386/i386.c (bdesc_special_args) <__builtin_ia32_fnstsw>:
31373 Change code to USHORT_FTYPE_VOID.
31374 (ix86_expand_special_args_builtin): Handle USHORT_FTYPE_VOID.
31375 (ix86_expand_builtin): Remove IX86_BUILTIN_FNSTSW handling.
31376 (ix86_atomic_assign_expand_fenv): Update for
31377 __builtin_ia32_fnstsw changes.
31378 * config/i386/i386.md (x86_fnstsw_1): Set length unconditionally to 2.
31379 (fnstsw): Change operand 0 to nonimmediate operand.
31381 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
31383 * vapool.c: Include tree-ssa-alias.h, gimple.h and lto-streamer.h
31384 (varpool_get_constructor): New function.
31385 (varpool_ctor_useable_for_folding_p): Break out from ...
31386 (ctor_for_folding): ... here; use varpool_get_constructor.
31387 (varpool_assemble_decl): Likewise.
31388 * lto-streamer.h (struct output_block): Turn cgraph_node
31390 (lto_input_variable_constructor): Declare.
31391 * ipa-visibility.c (function_and_variable_visibility): Use
31392 varpool_get_constructor.
31393 * cgraph.h (varpool_get_constructor): Declare.
31394 (varpool_ctor_useable_for_folding_p): New function.
31395 * lto-streamer-out.c (get_symbol_initial_value): Take encoder
31396 parameter; return error_mark_node for non-trivial constructors.
31397 (lto_write_tree_1, DFS_write_tree): Update use of
31398 get_symbol_initial_value.
31399 (output_function): Update initialization of symbol.
31400 (output_constructor): New function.
31401 (copy_function): Rename to ..
31402 (copy_function_or_variable): ... this one; handle vars too.
31403 (lto_output): Output variable sections.
31404 * lto-streamer-in.c (input_constructor): New function.
31405 (lto_read_body): Rename from ...
31406 (lto_read_body_or_constructor): ... this one; handle vars too.
31407 (lto_input_variable_constructor): New function.
31408 * ipa-prop.c (ipa_prop_write_jump_functions,
31409 ipa_prop_write_all_agg_replacement): Update.
31410 * lto-cgraph.c (compute_ltrans_boundary): Use it.
31411 (output_cgraph_opt_summary): Set symbol to NULL.
31413 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
31415 * ipa-prop.c (ipa_binfo_from_known_type_jfunc): In LTO do not walk
31416 non-polymorphic types.
31417 * ipa-cp.c (ipa_get_jf_ancestor_result): Likewise.
31418 * ipa-devirt.c (types_same_for_odr): Do not explode when one
31419 of types is not polymorphic.
31421 2014-07-11 Vladimir Makarov <vmakarov@redhat.com>
31423 * lra-constraints.c (remove_inheritance_pseudos): Process
31424 destination pseudo too.
31426 2014-07-11 Rong Xu <xur@google.com>
31428 * gcov-tool.c (gcov_output_files): Fix build error introduced in
31431 2014-07-11 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
31433 * config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
31434 * config/avr/avr-devices.c (AVR_MCU): Same.
31435 (avr_mcu_types): add text start value to end of device list.
31436 * config/avr/avr-mcus.def: Add text section start for all devices.
31437 (ata5782): Add new avr5 device.
31439 * config/avr/avr-tables.opt: Regenerate.
31440 * config/avr/avr.h: Add declaration for text section start handler.
31441 (EXTRA_SPEC_FUNCTIONS): Add text section start handler to
31443 (LINK_SPEC): Include text section start handler to linker spec.
31444 * config/avr/driver-avr.c (avr_device_to_text_start): New function to
31445 pass -Ttext option to linker if the text section start for the device
31447 * config/avr/t-multilib: Regenerate.
31448 * doc/avr-mmcu.texi: Regenerate.
31450 2014-07-11 David Edelsohn <dje.gcc@gmail.com>
31452 * config/rs6000/aix51.h (LINK_SPEC): Remove -bnodelcsect.
31453 * config/rs6000/aix52.h (LINK_SPEC): Same.
31454 * config/rs6000/aix53.h (LINK_SPEC): Same.
31455 * config/rs6000/aix61.h (LINK_SPEC): Same.
31456 * config/rs6000/xcoff.h (MAKE_DECL_ONE_ONLY): Define.
31458 2014-07-11 Roman Gareev <gareevroman@gmail.com>
31460 * graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): New function.
31461 (graphite_verify): New function.
31462 (ivs_params_clear): New function.
31463 (gcc_expression_from_isl_ast_expr_id): New function.
31464 (gcc_expression_from_isl_expr_int): New function.
31465 (binary_op_to_tree): New function.
31466 (ternary_op_to_tree): New function.
31467 (unary_op_to_tree): New function.
31468 (nary_op_to_tree): New function.
31469 (gcc_expression_from_isl_expr_op): New function.
31470 (gcc_expression_from_isl_expression): New function.
31471 (graphite_create_new_loop): New function.
31472 (translate_isl_ast_for_loop): New function.
31473 (get_upper_bound): New function.
31474 (graphite_create_new_loop_guard): New function.
31475 (translate_isl_ast_node_for): New function.
31476 (translate_isl_ast): New function.
31477 (add_parameters_to_ivs_params): New function.
31478 (scop_to_isl_ast): New parameter ip.
31479 (graphite_regenerate_ast_isl): Add generation of GIMPLE code.
31481 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
31483 * config/xtensa/predicates.md (call expander): Update for
31484 DECL_SECTION_NAME being string.
31486 2014-07-11 Richard Biener <rguenther@suse.de>
31488 PR middle-end/61473
31489 * builtins.c (fold_builtin_memory_op): Inline memory moves that
31490 can be implemented with a single load followed by a single store.
31491 (c_strlen): Only warn when only_value is not 2.
31493 2014-07-11 Evgeny Stupachenko <evstupac@gmail.com>
31495 * config/i386/i386.c (expand_vec_perm_pblendv): Disable for AVX.
31497 2014-07-11 Marat Zakirov <m.zakirov@samsung.com>
31500 * config/arm/arm.md (*movhi_insn_arch4): Handle stack pointer.
31501 (*movhi_bytes): Likewise.
31502 (*arm_movqi_insn): Likewise.
31504 2014-07-11 Uros Bizjak <ubizjak@gmail.com>
31507 * config/alpha/alpha.c: Include tree-pass.h, context.h
31508 and pass_manager.h.
31509 (pass_data_handle_trap_shadows): New pass.
31510 (pass_handle_trap_shadows::gate): New pass gate function.
31511 (make_pass_handle_trap_shadows): New function.
31512 (rest_of_handle_trap_shadows): Ditto.
31514 (alpha_align_insns_1): Rename from alpha_align_insns.
31515 (pass_data_align_insns): New pass.
31516 (pass_align_insns::gate): New pass gate function.
31517 (make_pass_aling_insns): New function.
31518 (rest_of_align_insns): Ditto.
31519 (alpha_align_insns): Ditto.
31521 (alpha_option_override): Declare handle_trap_shadows info
31522 and align_insns_info. Register handle_trap_shadows and align_insns
31524 (alpha_reorg): Do not call alpha_trap_shadows and
31525 alpha_align_insn from here.
31527 (alpha_pad_function_end): Do not skip BARRIERs.
31529 2014-07-10 Rong Xu <xur@google.com>
31531 Add gcov-tool: an offline gcda profile processing tool support.
31532 * gcov-io.c (gcov_position): Make avaialble to gcov-tool.
31533 (gcov_is_error): Ditto.
31534 (gcov_read_string): Ditto.
31535 (gcov_read_sync): Ditto.
31536 * gcov-io.h: Move counter defines to gcov-counter.def.
31537 * gcov-dump.c (tag_counters): Use gcov-counter.def.
31538 * coverage.c: Ditto.
31539 * gcov-tool.c: Offline gcda profile processing tool.
31540 (unlink_gcda_file): Remove one gcda file.
31541 (unlink_profile_dir): Remove gcda files from the profile path.
31542 (gcov_output_files): Output gcda files to an output dir.
31543 (profile_merge): Merge two profiles in directory.
31544 (print_merge_usage_message): Print merge usage.
31545 (merge_usage): Print merge usage and exit.
31546 (do_merge): Driver for profile merge sub-command.
31547 (profile_rewrite): Rewrite profile.
31548 (print_rewrite_usage_message): Print rewrite usage.
31549 (rewrite_usage): Print rewrite usage and exit.
31550 (do_rewrite): Driver for profile rewrite sub-command.
31551 (print_usage): Print gcov-info usage and exit.
31552 (print_version): Print gcov-info version.
31553 (process_args): Process arguments.
31554 (main): Main routine for gcov-tool.
31555 * Makefile.in: Build and install gcov-tool.
31556 * gcov-counter.def: New file split from gcov-io.h.
31557 * doc/gcc.texi: Include gcov-tool.texi.
31558 * doc/gcov-tool.texi: Document for gcov-tool.
31560 2014-07-10 Richard Biener <rguenther@suse.de>
31562 PR tree-optimization/61757
31563 * tree-ssa-dom.c (loop_depth_of_name): Restore.
31564 (propagate_rhs_into_lhs): Revert part of last change.
31566 2014-07-10 Thomas Schwinge <thomas@codesourcery.com>
31568 * fold-const.c (fold_checksum_tree): Look at DECL_VINDEX only for
31571 2014-07-10 Eric Botcazou <ebotcazou@adacore.com>
31573 PR middle-end/53590
31574 * function.c (allocate_struct_function): Revert r188667 change.
31576 * gimple-low.c (lower_builtin_setjmp): Use properly-typed constant.
31578 2014-07-10 Tom G. Christensen <tgc@jupiterrise.com>
31580 * doc/install.texi: Remove links to defunct package providers for
31583 2014-07-09 Tom de Vries <tom@codesourcery.com>
31585 * final.c (get_call_fndecl): Declare.
31586 (self_recursive_call_p): New function.
31587 (collect_fn_hard_reg_usage): Handle self-recursive function calls.
31589 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
31591 * ipa-devirt.c (record_node): Walk through aliases.
31593 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
31595 * lto-streamer-out.c (hash_scc): Avoid quadratic hashing loop.
31597 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
31600 * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
31602 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
31604 * ipa-visibility.c (function_and_variable_visibility): Remove
31605 temporary hack disabling local aliases on AIX.
31607 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
31609 * ipa-cp.c (devirtualization_time_bonus): Walk through aliases.
31610 * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Likewise.
31612 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
31614 * rs6000/rs6000-protos.h (rs6000_xcoff_declare_object_name): Declare.
31615 * rs6000/rs6000.c: Inline output of .set instruction.
31616 (declare_alias_data): New struct.
31617 (rs6000_declare_alias): New function.
31618 (rs6000_xcoff_declare_function_name): Use it.
31619 (rs6000_xcoff_declare_object_name): New function.
31620 * config/rs6000/xcoff.h: Define ASM_DECLARE_OBJECT_NAME.
31621 (ASM_OUTPUT_DEF): Turn to empty definition.
31623 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
31626 * hash-table.h: use hash_table::value_type instead of
31627 Descriptor::value_type in the return types of several methods.
31629 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
31631 * tree-pass.h (pass_data): Remove has_execute member.
31632 * passes.c (execute_one_pass): Don't check pass->has_execute.
31633 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
31634 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
31635 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
31636 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
31637 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
31638 config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
31639 config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
31640 dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
31641 gimple-low.c, gimple-ssa-isolate-paths.c,
31642 gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
31643 ipa-comdats.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c,
31644 ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c,
31645 ipa-split.c, ipa-visibility.c, ipa.c, ira.c, jump.c, loop-init.c,
31646 lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
31647 postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
31648 reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c,
31649 stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c,
31650 tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c,
31651 tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c,
31652 tree-loop-distribution.c, tree-nrv.c, tree-object-size.c,
31653 tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
31654 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
31655 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
31656 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
31657 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
31658 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
31659 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
31660 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
31661 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
31662 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
31663 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
31664 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c,
31665 web.c: Remove initializer for pass_data::has_execute.
31667 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
31669 * graphite-htab.h: Use hash_map instead of hash_table.
31670 * graphite-clast-to-gimple.c: Adjust.
31671 * passes.c: Use hash_map instead of hash_table.
31672 * sese.c: Likewise.
31673 * sese.h: Remove now unused code.
31675 2014-07-08 Sriraman Tallam <tmsriram@google.com>
31678 * config/i386/i386.c (ix86_in_large_data_p): Check for size less
31681 2014-07-08 Jakub Jelinek <jakub@redhat.com>
31683 PR rtl-optimization/61673
31684 * combine.c (simplify_comparison): Test just mode's sign bit
31685 in tmode rather than the sign bit and any bits above it.
31687 2014-07-08 Roman Gareev <gareevroman@gmail.com>
31689 * graphite-isl-ast-to-gimple.c (generate_isl_context):
31690 Add __isl_give to the declaration.
31691 (generate_isl_schedule): Likewise.
31692 (scop_to_isl_ast): Likewise.
31694 2014-07-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31696 * config/arm/arm.c (cortexa5_extra_costs): New table.
31697 (arm_cortex_a5_tune): Use cortexa5_extra_costs.
31699 2014-07-08 Jakub Jelinek <jakub@redhat.com>
31701 PR tree-optimization/61725
31702 * tree-vrp.c (extract_range_basic): Don't assume vr0 is unsigned
31703 range, use range_includes_zerop_p instead of integer_zerop on
31704 vr0->min, only use log2 of max if min is not negative.
31706 2014-07-08 Richard Biener <rguenther@suse.de>
31708 * tree-ssa-dom.h (loop_depth_of_name): Remove.
31709 * tree-ssa-dom.c (record_equivalences_from_phis): Remove
31710 restriction on loop depth difference.
31711 (record_equality): Likewise.
31712 (propagate_rhs_into_lhs): Likewise. Simplify condition.
31713 (loop_depth_of_name): Remove.
31714 * tree-ssa-copy.c (copy_prop_visit_phi_node): Remove
31715 restriction on loop depth difference.
31716 (init_copy_prop): Likewise.
31718 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
31720 * tree-ssa-alias.c (walk_aliased_vdefs_1): Add FUNCTION_ENTRY_REACHED
31722 (walk_aliased_vdefs): Likewise.
31723 * tree-ssa-alias.h (walk_aliased_vdefs): Likewise.
31724 * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers
31725 (detect_type_change_from_memory_writes): Check if entry was reached.
31727 2014-07-08 Richard Biener <rguenther@suse.de>
31729 PR tree-optimization/61681
31730 * tree-ssa-structalias.c (find_what_var_points_to): Expand
31731 NONLOCAL inside ESCAPED.
31733 2014-07-08 Richard Biener <rguenther@suse.de>
31735 PR tree-optimization/61680
31736 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
31737 Handle properly all read-write dependences with group accesses.
31739 2014-07-08 Yuri Rumyantsev <ysrumyan@gmail.com>
31741 PR tree-optimization/61576
31742 * tree-if-conv.c (is_cond_scalar_reduction): Add check that basic
31743 block containing reduction statement is predecessor of phi basi block.
31745 2014-07-08 Marek Polacek <polacek@redhat.com>
31748 * fold-const.c (round_up_loc): Change the parameter type.
31750 * fold-const.h (round_up_loc): Adjust declaration.
31751 * stor-layout.c (finalize_record_size): Check for too large types.
31753 2014-07-07 Jan Hubicka <hubicka@ucw.cz>
31755 * symtab.c: Include calls.h.
31756 (symtab_nonoverwritable_alias_1): Check sanity of the local alias.
31758 2014-07-07 Maciej W. Rozycki <macro@codesourcery.com>
31760 * config/rs6000/rs6000.c (output_vec_const_move): Handle
31761 little-endian code generation.
31762 * config/rs6000/spe.md (spe_evmergehi): Rename to...
31763 (vec_perm00_v2si): ... this. Handle little-endian code generation.
31764 (spe_evmergehilo): Rename to...
31765 (vec_perm01_v2si): ... this. Handle little-endian code generation.
31766 (spe_evmergelo): Rename to...
31767 (vec_perm11_v2si): ... this. Handle little-endian code generation.
31768 (spe_evmergelohi): Rename to...
31769 (vec_perm10_v2si): ... this. Handle little-endian code generation.
31770 (spe_evmergehi, spe_evmergehilo): New expanders.
31771 (spe_evmergelo, spe_evmergelohi): Likewise.
31772 (*frob_<SPE64:mode>_<DITI:mode>): Handle little-endian code generation.
31773 (*frob_tf_ti): Likewise.
31774 (*frob_<mode>_di_2): Likewise.
31775 (*frob_tf_di_8_2): Likewise.
31776 (*frob_di_<mode>): Likewise.
31777 (*frob_ti_tf): Likewise.
31778 (*frob_<DITI:mode>_<SPE64:mode>_2): Likewise.
31779 (*frob_ti_<mode>_8_2): Likewise.
31780 (*frob_ti_tf_2): Likewise.
31781 (mov_si<mode>_e500_subreg0): Rename to...
31782 (mov_si<mode>_e500_subreg0_be): ... this. Restrict to the big
31784 (*mov_si<mode>_e500_subreg0_le): New instruction pattern.
31785 (*mov_si<mode>_e500_subreg0_elf_low): Rename to...
31786 (*mov_si<mode>_e500_subreg0_elf_low_be): ... this. Restrict to
31787 the big endianness only.
31788 (*mov_si<mode>_e500_subreg0_elf_low_le): New instruction pattern.
31789 (*mov_si<mode>_e500_subreg0_2): Rename to...
31790 (*mov_si<mode>_e500_subreg0_2_be): ... this. Restrict to the
31791 big big endianness only.
31792 (*mov_si<mode>_e500_subreg0_2_le): New instruction pattern.
31793 (*mov_si<mode>_e500_subreg4): Rename to...
31794 (*mov_si<mode>_e500_subreg4_be): ... this. Restrict to the big
31796 (mov_si<mode>_e500_subreg4_le): New instruction pattern.
31797 (*mov_si<mode>_e500_subreg4_elf_low): Rename to...
31798 (*mov_si<mode>_e500_subreg4_elf_low_be): ... this. Restrict to
31799 the big endianness only.
31800 (*mov_si<mode>_e500_subreg4_elf_low_le): New instruction/splitter
31802 (*mov_si<mode>_e500_subreg4_2): Rename to...
31803 (*mov_si<mode>_e500_subreg4_2_be): ... this. Restrict to the big
31805 (*mov_si<mode>_e500_subreg4_2_le): New instruction pattern.
31806 (*mov_sitf_e500_subreg8): Rename to...
31807 (*mov_sitf_e500_subreg8_be): ... this. Restrict to the big
31809 (*mov_sitf_e500_subreg8_le): New instruction pattern.
31810 (*mov_sitf_e500_subreg8_2): Rename to...
31811 (*mov_sitf_e500_subreg8_2_be): ... this. Restrict to the big
31813 (*mov_sitf_e500_subreg8_2_le): New instruction pattern.
31814 (*mov_sitf_e500_subreg12): Rename to...
31815 (*mov_sitf_e500_subreg12_be): ... this. Restrict to the big
31817 (*mov_sitf_e500_subreg12_le): New instruction pattern.
31818 (*mov_sitf_e500_subreg12_2): Rename to...
31819 (*mov_sitf_e500_subreg12_2_be): ... this. Restrict to the big
31821 (*mov_sitf_e500_subreg12_2_le): New instruction pattern.
31823 2014-07-07 Max Ostapenko <m.ostapenko@partner.samsung.com>
31825 * asan.c (instrument_strlen_call): Do not instrument first byte
31826 in strlen if already instrumented.
31828 2014-07-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31830 * config/arm/arm.opt (mwords-little-endian): Delete.
31831 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling
31832 of TARGET_LITTLE_WORDS.
31833 (WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN.
31834 * config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS
31836 * doc/invoke.texi: Remove references to -mwords-little-endian.
31838 2014-07-07 Jakub Jelinek <jakub@redhat.com>
31840 * expmed.c (struct init_expmed_rtl): Change all fields but
31841 pow2 and cint from struct rtx_def to rtx.
31842 (init_expmed_one_conv, init_expmed_one_mode): Adjust for that change.
31843 (init_expmed): Likewise. Allocate all the 18 rtxes and ggc_free them
31846 2014-07-06 Marek Polacek <polacek@redhat.com>
31849 * doc/invoke.texi: Document -Wsizeof-array-argument.
31851 2014-07-05 Gerald Pfeifer <gerald@pfeifer.com>
31853 * wide-int.h (wide_int_storage): Change declaration from struct
31856 2014-07-05 Jan Hubicka <hubicka@ucw.cz>
31858 * cgraph.c (cgraph_create_indirect_edge): Update call of
31859 get_polymorphic_call_info.
31860 * ipa-utils.h (get_polymorphic_call_info): Add parameter CALL.
31861 (possible_polymorphic_call_targets): Add parameter call.
31862 (decl_maybe_in_construction_p): New predicate.
31863 (get_polymorphic_call_info): Add parameter call;
31864 use decl_maybe_in_construction_p.
31865 * gimple-fold.c (fold_gimple_assign): Update use of
31866 possible_polymorphic_call_targets.
31867 (gimple_fold_call): Likewise.
31868 * ipa-prop.c: Inlcude calls.h
31869 (ipa_binfo_from_known_type_jfunc): Check that known type is record.
31870 (param_type_may_change_p): New predicate.
31871 (detect_type_change_from_memory_writes): Break out from ...
31872 (detect_type_change): ... this one; use param_type_may_change_p.
31873 (detect_type_change_ssa): Use param_type_may_change_p.
31874 (compute_known_type_jump_func): Use decl_maybe_in_construction_p.
31876 2014-07-05 Charles Baylis <charles.baylis@linaro.org>
31879 * config/arm/arm-protos.h (arm_legitimate_address_p,
31880 arm_is_constant_pool_ref): Add prototypes.
31881 * config/arm/arm.c (arm_legitimate_address_p): Remove static.
31882 (arm_is_constant_pool_ref) New function.
31883 * config/arm/arm.md (unaligned_loadhis, arm_zero_extendhisi2_v6,
31884 arm_zero_extendqisi2_v6): Use Uh constraint for memory operand.
31885 (arm_extendhisi2, arm_extendhisi2_v6): Use Uh constraint for memory
31886 operand. Remove pool_range and neg_pool_range attributes.
31887 (arm_extendqihi_insn, arm_extendqisi, arm_extendqisi_v6): Remove
31888 pool_range and neg_pool_range attributes.
31889 * config/arm/constraints.md (Uh): New constraint.
31890 (Uq): Don't allow constant pool references.
31892 2014-07-04 James Greenhalgh <james.greenhalgh@arm.com>
31894 * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): New.
31895 (move_lo_quad_internal_be_<mode>): Likewise.
31896 (move_lo_quad_<mode>): Convert to define_expand.
31897 (aarch64_simd_move_hi_quad_<mode>): Gate on BYTES_BIG_ENDIAN.
31898 (aarch64_simd_move_hi_quad_be_<mode>): New.
31899 (move_hi_quad_<mode>): Use appropriate insn for BYTES_BIG_ENDIAN.
31900 (aarch64_combinez<mode>): Gate on BYTES_BIG_ENDIAN.
31901 (aarch64_combinez_be<mode>): New.
31902 (aarch64_combine<mode>): Convert to define_expand.
31903 (aarch64_combine_internal<mode>): New.
31904 (aarch64_simd_combine<mode>): Remove bogus RTL description.
31906 2014-07-04 Tom de Vries <tom@codesourcery.com>
31908 * doc/md.texi (@subsection Constraint Modifier Characters): Clarify
31909 combination of earlyclobber and read/write modifiers.
31911 2014-07-04 Tom de Vries <tom@codesourcery.com>
31913 * config/aarch64/aarch64-simd.md
31914 (define_insn "vec_unpack_trunc_<mode>"): Fix constraint.
31916 2014-07-04 Richard Earnshaw <rearnsha@arm.com>
31919 * config/aarch64/aarch64.h (OPTION_DEFAULT_SPECS): Define.
31921 2014-07-04 Jakub Jelinek <jakub@redhat.com>
31923 PR middle-end/61654
31924 * cgraphunit.c (expand_thunk): Call free_dominance_info.
31926 PR tree-optimization/61684
31927 * tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure
31928 rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it.
31930 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
31931 Kito Cheng <kito@0xlab.org>
31932 Monk Chiang <sh.chiang04@gmail.com>
31934 * config/nds32/nds32.c (nds32_have_prologue_p): Move to ...
31935 (nds32_symbol_load_store_p): Move to ...
31936 (nds32_fp_as_gp_check_available): Move to ...
31937 * config/nds32/nds32-fp-as-gp.c: ... here.
31938 * config/nds32/nds32-protos.h (nds32_symbol_load_store_p): Remove
31939 extern declaration.
31941 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
31942 Kito Cheng <kito@0xlab.org>
31943 Monk Chiang <sh.chiang04@gmail.com>
31945 * config/nds32/nds32.c (nds32_expand_load_multiple): Move to ...
31946 (nds32_expand_store_multiple): Move to ...
31947 (nds32_expand_movmemqi): Move to ...
31948 * config/nds32/nds32-memory-manipulation.c: ... here.
31950 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
31951 Kito Cheng <kito@0xlab.org>
31952 Monk Chiang <sh.chiang04@gmail.com>
31954 * config/nds32/nds32.c (nds32_byte_to_size): Move to ...
31955 (nds32_output_casesi_pc_relative): Move to ...
31956 (nds32_output_casesi): Move to ...
31957 (nds32_mem_format): Move to ...
31958 (nds32_output_16bit_store): Move to ...
31959 (nds32_output_16bit_load): Move to ...
31960 (nds32_output_32bit_store): Move to ...
31961 (nds32_output_32bit_load): Move to ...
31962 (nds32_output_32bit_load_s): Move to ...
31963 (nds32_output_stack_push): Move to ...
31964 (nds32_output_stack_pop): Move to ...
31965 * config/nds32/nds32-md-auxiliary.c: ... here.
31967 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
31968 Ling-Hua Tseng <uranus@tinlans.org>
31970 * config/nds32/nds32-pipelines-auxiliary.c: Add comment to describe
31971 the purpose of this file.
31973 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
31974 Kito Cheng <kito@0xlab.org>
31975 Monk Chiang <sh.chiang04@gmail.com>
31977 * config/nds32/nds32.c (nds32_rtx_costs): Move implementation to ...
31978 (nds32_address_cost): Move implementation to ...
31979 * config/nds32/nds32-cost.c: ... here.
31980 * config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Declare.
31981 (nds32_address_cost_impl): Declare.
31983 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
31984 Kito Cheng <kito@0xlab.org>
31985 Monk Chiang <sh.chiang04@gmail.com>
31987 * config/nds32/nds32.c
31988 (nds32_consecutive_registers_load_store_p): Move to ...
31989 (nds32_valid_multiple_load_store): Move to ...
31990 (nds32_valid_stack_push_pop): Move to ...
31991 (nds32_can_use_bclr_p): Move to ...
31992 (nds32_can_use_bset_p): Move to ...
31993 (nds32_can_use_btgl_p): Move to ...
31994 (nds32_can_use_bitci_p): Move to ...
31995 * config/nds32/nds32-predicates.c: ... here.
31997 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
31998 Kito Cheng <kito@0xlab.org>
31999 Monk Chiang <sh.chiang04@gmail.com>
32001 * config/nds32/nds32.c
32002 (nds32_expand_builtin_null_ftype_reg): Move to ...
32003 (nds32_expand_builtin_reg_ftype_imm): Move to ...
32004 (nds32_expand_builtin_null_ftype_reg_imm): Move to ...
32005 (nds32_init_builtins): Move implementation to ...
32006 (nds32_expand_builtin): Move implementation to ...
32007 * config/nds32/nds32-intrinsic.c: ... here.
32008 * config/nds32/nds32-protos.h (nds32_init_builtins_impl): Declare.
32009 (nds32_expand_builtin_impl): Declare.
32011 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
32012 Kito Cheng <kito@0xlab.org>
32013 Monk Chiang <sh.chiang04@gmail.com>
32015 * config/nds32/nds32.c (nds32_emit_section_head_template): Move to ...
32016 (nds32_emit_section_tail_template): Move to ...
32017 (nds32_emit_isr_jmptbl_section): Move to ...
32018 (nds32_emit_isr_vector_section): Move to ...
32019 (nds32_emit_isr_reset_conten): Move to ...
32020 (nds32_check_isr_attrs_conflict): Move to ...
32021 (nds32_construct_isr_vectors_information): Move to ...
32022 (nds32_asm_file_start): Move implementation to ...
32023 (nds32_asm_file_end): Move implementation to ...
32024 * config/nds32/nds32-isr.c: ... here.
32025 * config/nds32/nds32-protos.h
32026 (nds32_check_isr_attrs_conflict): Declare.
32027 (nds32_construct_isr_vectors_information): Declare.
32028 (nds32_asm_file_start_for_isr): Declare.
32029 (nds32_asm_file_end_for_isr): Declare.
32031 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
32032 Kito Cheng <kito@0xlab.org>
32033 Monk Chiang <sh.chiang04@gmail.com>
32035 * config.gcc (nds32*): Add new modules to extra_objs.
32036 (nds32le-*-*): Use t-nds32 makefile fragment for new modules.
32037 (nds32be-*-*): Likewise.
32038 * config/nds32/nds32-cost.c: New file.
32039 * config/nds32/nds32-fp-as-gp.c: New file.
32040 * config/nds32/nds32-intrinsic.c: New file.
32041 * config/nds32/nds32-isr.c: New file.
32042 * config/nds32/nds32-md-auxiliary.c: New file.
32043 * config/nds32/nds32-memory-manipulation.c: New file.
32044 * config/nds32/nds32-pipelines-auxiliary.c: New file.
32045 * config/nds32/nds32-predicates.c: New file.
32046 * config/nds32/t-nds32: New file.
32048 2014-07-03 Jakub Jelinek <jakub@redhat.com>
32050 PR tree-optimization/61682
32051 * wide-int.cc (wi::mul_internal): Handle high correctly for umul_ppmm
32052 using cases and when one of the operands is equal to 1.
32054 2014-07-03 Segher Boessenkool <segher@kernel.crashing.org>
32056 * config/rs6000/rs6000.md (rotl<mode>3, ashl<mode>3, lshr<mode>3,
32057 ashr<mode>3): Correct mode of operands[2].
32058 (rotl<mode>3_dot, rotl<mode>3_dot2, ashl<mode>3_dot, ashl<mode>3_dot2,
32059 lshr<mode>3_dot, lshr<mode>3_dot2, ashr<mode>3_dot, ashr<mode>3_dot2):
32060 Correct mode of operands[2]. Fix split condition.
32062 2014-07-03 Richard Earnshaw <rearnsha@arm.com>
32064 * arm.md (arch): Add armv6_or_vfpv3.
32065 (arch_enabled): Add test for the above.
32066 * vfp.md (divsf_vfp, divdf_vfp): Add earlyclobber when code can run
32068 (sqrtsf_vfp, sqrtdf_vfp): Likewise.
32070 2014-07-03 Jakub Jelinek <jakub@redhat.com>
32072 * gcov-io.c (gcov_read_words): Don't call memmove if excess is 0.
32073 * data-streamer-in.c (streamer_read_hwi): Shift UHWI 1 instead of
32074 HWI 1 and negate the unsigned value.
32075 * expmed.c (expand_sdiv_pow2): For modes wider than word always
32076 use AND instead of shift.
32077 * wide-int-print.cc (print_decs): Negate UHWI instead of HWI.
32079 2014-07-03 Marek Polacek <polacek@redhat.com>
32081 * doc/invoke.texi (-fsanitize=bounds): Tweak wording.
32082 (-fsanitize=float-divide-by-zero): Move to the table with
32083 -fsanitize=undefined suboptions.
32084 (-fsanitize=float-cast-overflow): Likewise.
32086 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
32088 * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Use
32089 BYTES_BIG_ENDIAN rather than WORDS_BIG_ENDIAN to check for byte
32092 2014-07-03 Zhenqiang Chen <zhenqiang.chen@linaro.org>
32094 * loop-invariant.c (struct invariant): Add a new member: eqno;
32095 (find_identical_invariants): Update eqno;
32096 (create_new_invariant): Init eqno;
32097 (get_inv_cost): Compute comp_cost with eqno;
32099 2014-07-02 Segher Boessenkool <segher@kernel.crashing.org>
32101 * genconfig.c (have_rotate_flag, have_rotatert_flag): New variables.
32102 (walk_insn_part) <ROTATE, ROTATERT>: New cases.
32103 (main): Conditionally write HAVE_rotate resp. HAVE_rotatert.
32104 * simplify-rtx.c (simplify_binary_operation_1) <ROTATE, ROTATERT>:
32105 Only do the transformation if both HAVE_rotate and HAVE_rotatert.
32107 2014-07-02 Christian Bruel <christian.bruel@st.com>
32111 * mode-switching.c (struct bb_info): Add mode_out, mode_in caches.
32112 (make_preds_opaque): Delete.
32113 (clear_mode_bit, mode_bit_p, set_mode_bit): New macros.
32114 (commit_mode_sets): New function.
32115 (optimize_mode_switching): Handle current_mode to mode_switching_emit.
32116 Process all modes at once.
32117 * basic-block.h (pre_edge_lcm_avs): Declare.
32118 * lcm.c (pre_edge_lcm_avs): Renamed from pre_edge_lcm.
32119 Call clear_aux_for_edges. Fix comments.
32120 (pre_edge_lcm): New wrapper function to call pre_edge_lcm_avs.
32121 (pre_edge_rev_lcm): Idem.
32122 * config/epiphany/epiphany.c (emit_set_fp_mode): Add prev_mode
32124 * config/epiphany/epiphany-protos.h (emit_set_fp_mode): Idem.
32125 * config/epiphany/resolve-sw-modes.c (pass_resolve_sw_modes::execute):
32127 * config/i386/i386.c (x96_emit_mode_set): Idem.
32128 * config/sh/sh.c (sh_emit_mode_set): Likewise. Handle PR toggle.
32129 * config/sh/sh.md (toggle_pr): Defined if TARGET_FPU_SINGLE.
32130 (fpscr_toggle) Disallow from delay slot.
32131 * target.def (emit_mode_set): Add prev_mode parameter.
32132 * doc/tm.texi: Regenerate.
32134 2014-07-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
32136 * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Delete unused
32139 2014-07-01 Jan Hubicka <hubicka@ucw.cz>
32141 * ipa-utils.h (method_class_type, vtable_pointer_value_to_binfo,
32142 vtable_pointer_value_to_vtable): Constify.
32143 (contains_polymorphic_type_p): Declare.
32144 * ipa-devirt.c (method_class_type, vtable_pointer_value_to_binfo,
32145 vtable_pointer_value_to_vtable): Constify.
32146 (contains_polymorphic_type_p): New predicate.
32147 * ipa-prop.c (ipa_set_jf_known_type): Allow types containing
32149 (ipa_set_ancestor_jf): Likewise.
32150 (detect_type_change): Return false in easy cases.
32151 (compute_complex_assign_jump_func): Require type to contain
32153 (compute_known_type_jump_func): Likewise.
32155 2014-07-01 Jan Hubicka <hubicka@ucw.cz>
32157 * tree.c (decls_same_for_odr, decls_same_for_odr, types_same_for_odr):
32159 (type_in_anonymous_namespace_p): Constify argument.
32160 * tree.h (types_same_for_odr, type_in_anonymous_namespace_p): Constify.
32161 * ipa-devirt.c (odr_type_d): Add ODR_VIOLATED field.
32162 (main_odr_variant): New function.
32163 (hash_type_name): Make static; update assert; do not ICE on
32165 (types_same_for_odr): Bring here from tree.c; simplify and remove
32166 old structural comparing code that doesn't work for templates.
32167 (odr_hasher::equal): Update assert.
32168 (add_type_duplicate): Return true when bases should be computed;
32169 replace incomplete loader by complete; do not output duplicated
32170 warnings; do not ICE on non-records; set odr_violated flag.
32171 (get_odr_type): Be ready to replace incomplete type by complete
32172 one; work on ODR variants instead of main variants; reorder item
32173 in array so bases have still smaller indexes.
32174 (dump_type_inheritance_graph): Be ready for holdes in odr_types array.
32175 (possible_polymorphic_call_targets): Do not ICE when BINFO is NULL.
32177 2014-07-01 Cary Coutant <ccoutant@google.com>
32179 * dwarf2out.c (remove_addr_table_entry): Remove unnecessary hash table
32181 (resolve_addr_in_expr): When replacing the rtx in a location list
32182 entry, get a new address table entry.
32183 (dwarf2out_finish): Call index_location_lists even if there are no
32184 addr_index_table entries yet.
32186 2014-07-01 Trevor Saunders <tsaunders@mozilla.com>
32188 * config/i386/winnt.c (i386_pe_section_type_flags): Revert previous
32189 change for not being obvious.
32191 2014-07-01 Trevor Saunders <tsaunders@mozilla.com>
32193 * config/i386/winnt.c (i386_pe_section_type_flags): Remove name of
32196 2014-07-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
32198 * config/aarch64/arm_neon.h (vcage_f64): New intrinsic.
32199 (vcagt_f64): Likewise.
32200 (vcale_f64): Likewise.
32201 (vcaled_f64): Likewise.
32202 (vcales_f32): Likewise.
32203 (vcalt_f64): Likewise.
32204 (vcaltd_f64): Likewise.
32205 (vcalts_f32): Likewise.
32207 2014-07-01 Marek Polacek <polacek@redhat.com>
32209 * doc/invoke.texi: Document -Wint-conversion.
32211 2014-07-01 Marek Polacek <polacek@redhat.com>
32214 * doc/invoke.texi: Document -Wincompatible-pointer-types.
32216 2014-07-01 Martin Liska <mliska@suse.cz>
32218 IPA REF alias refactoring
32219 * cgraph.h (iterate_direct_aliases): New function.
32220 (FOR_EACH_ALIAS): New macro iterates all direct aliases for a node.
32221 * cgraph.c (cgraph_for_node_thunks_and_aliases): Usage of
32222 FOR_EACH_ALIAS added.
32223 (cgraph_for_node_and_aliases): Likewise.
32224 * cgraphunit.c (assemble_thunks_and_aliases): Likewise.
32225 * ipa-inline.c (reset_edge_caches): Likewise.
32226 (update_caller_keys): Likewise.
32227 * trans-mem.c (ipa_tm_execute): Likewise.
32228 *varpool.c (varpool_analyze_node): Likewise.
32229 (varpool_for_node_and_aliases): Likewise.
32230 * ipa-ref.h (first_alias): New function.
32231 (last_alias): Likewise.
32232 (has_aliases_p): Likewise.
32233 * ipa-ref.c (ipa_ref::remove_reference): Removal function
32234 is sensitive to IPA_REF_ALIASes.
32235 * symtab.c (symtab_node::add_reference): Node of IPA_REF_ALIAS type
32236 are put at the beginning of the list.
32237 (symtab_node::iterate_direct_aliases): New function.
32239 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
32242 * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
32244 (write_ts_type_common_tree_pointers): Do not stream fields not set
32245 for incomplete types; do not stream duplicated fields for variants;
32246 sanity check that variant and type match.
32247 (write_ts_type_non_common_tree_pointers): Likewise.
32248 * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
32249 TYPE_SIZE whether type is complete.
32250 (lto_input_ts_type_common_tree_pointers): Do same changes as in
32251 write_ts_type_common_tree_pointers
32252 (lto_input_ts_type_non_common_tree_pointers): Likewise.
32254 2014-06-30 Joseph Myers <joseph@codesourcery.com>
32256 * var-tracking.c (add_stores): Return instead of asserting if old
32257 and new values for conditional store are the same.
32259 2014-06-30 Richard Henderson <rth@redhat.com>
32263 * bb-reorder.c (pass_duplicate_computed_gotos::execute): Cleanup
32264 the cfg if there were any changes.
32265 * passes.def: Revert move of peephole2 after reorder_blocks;
32266 move duplicate_computed_gotos before peephole2.
32268 2014-06-30 Uros Bizjak <ubizjak@gmail.com>
32270 * except.c (emit_note_eh_region_end): New helper function.
32271 (convert_to_eh_region_ranges): Use emit_note_eh_region_end to
32272 emit EH_REGION_END note.
32273 * jump.c (cleanup_barriers): Do not split a call and its
32274 corresponding CALL_ARG_LOCATION note.
32276 2014-06-30 Jeff Law <law@redhat.com>
32278 PR tree-optimization/61607
32279 * tree-ssa-threadedge.c (simplify_control_stmt_condition): Look
32280 deeper into the SSA_NAME_VALUE chain.
32282 2014-06-30 Marek Polacek <polacek@redhat.com>
32284 * convert.c (convert_to_integer): Don't instrument conversions if the
32285 function has no_sanitize_undefined attribute.
32286 * ubsan.c: Don't run the ubsan pass if the function has
32287 no_sanitize_undefined attribute.
32289 2014-06-30 Jakub Jelinek <jakub@redhat.com>
32291 * doc/invoke.texi (-fsanitize=bounds): Move to the table with
32292 -fsanitize=undefined suboptions.
32294 2014-06-30 Alan Lawrence <alan.lawrence@arm.com>
32296 * config/aarch64/aarch64-simd.md (vec_perm): Enable for bigendian.
32297 * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Remove assert
32298 against bigendian and adjust indices.
32300 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com>
32302 * doc/install.texi (Specific, aarch64*-*-*): Fix markup. Reword a bit.
32304 2014-06-30 Marcus Shawcroft <marcus.shawcroft@arm.com>
32307 * config/aarch64/aarch64.md (*aarch64_ashr_sisd_or_int_<mode>3):
32308 Add alternative; make early clobber. Adjust both split patterns
32309 to use operand 0 as the working register.
32311 2014-06-30 Jakub Jelinek <jakub@redhat.com>
32313 * ira-build.c (sort_conflict_id_map): Don't call qsort if num is 0,
32314 as ira_object_id_map might be NULL, or 1.
32316 2014-06-30 Zhenqiang Chen <zhenqiang.chen@linaro.org>
32318 * loop-invariant.c (get_inv_cost): Handle register class.
32319 (gain_for_invariant): Check the register pressure of the inv
32320 and its overlapped register class, other than all.
32322 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com>
32324 * doc/invoke.texi (Optimize Options): Fix descriptions of
32325 ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus.
32327 2014-06-29 David Wohlferd <dw@LimeGreenSocks.com>
32329 * doc/extend.texi (Function Attributes): Update 'naked' attribute
32332 2014-06-29 Tobias Grosser <tobias@grosser.es>
32335 * graphite-isl-ast-to-gimple.c: Add missing guards.
32337 2014-06-29 Roman Gareev <gareevroman@gmail.com>
32339 * Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o.
32340 * common.opt: Add new switch fgraphite-code-generator=[isl|cloog].
32341 * flag-types.h: Add new enum fgraphite_generator.
32342 * graphite-isl-ast-to-gimple.c: New.
32343 * graphite-isl-ast-to-gimple.h: New.
32344 * graphite.c (graphite_transform_loops): Add choice of Graphite
32345 code generator, which depends on flag_graphite_code_gen.
32347 2014-06-29 Roman Gareev <gareevroman@gmail.com>
32349 * graphite-dependences.c (subtract_commutative_associative_deps):
32350 Add NULL checking of the following variables: must_raw_no_source,
32351 may_raw_no_source, must_war_no_source, may_war_no_source,
32352 must_waw_no_source, may_waw_no_source, must_raw, may_raw,
32353 must_war, may_war, must_waw, may_waw.
32355 2014-06-29 Roman Gareev <gareevroman@gmail.com>
32357 * graphite-clast-to-gimple.c: gloog is renamed to
32358 graphite_regenerate_ast_cloog. gloog_error is renamed to
32359 graphite_regenerate_error.
32360 * graphite-clast-to-gimple.h: The definition of the struct
32361 bb_pbb_def is moved to graphite-htab.h.
32362 Add inclusion of the hash-table.h.
32363 * graphite-htab.h: The declaration of the function gloog is moved
32364 to graphite-clast-to-gimple.h and renamed to
32365 graphite_regenerate_ast_cloog.
32366 * graphite.c (graphite_transform_loops): gloog is renamed
32367 to graphite_regenerate_ast_cloog.
32369 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
32371 * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
32373 (write_ts_type_common_tree_pointers): Do not stream fields not set
32374 for incomplete types; do not stream duplicated fields for variants;
32375 sanity check that variant and type match.
32376 (write_ts_type_non_common_tree_pointers): Likewise.
32377 * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
32378 TYPE_SIZE whether type is complete.
32379 (lto_input_ts_type_common_tree_pointers): Do same changes as in
32380 write_ts_type_common_tree_pointers
32381 (lto_input_ts_type_non_common_tree_pointers): Likewise.
32383 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
32385 * cgraph.c (dump_cgraph_node): Dump init&fini priorities.
32387 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
32389 * tree-inline.c (remap_type_1): Do not duplicate fields
32390 that are shared in between type and its main variant.
32392 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
32394 * ipa-prop.c (ipa_set_jf_known_type): Record always the main variant
32396 (ipa_set_ancestor_jf) Likewise.
32397 (check_stmt_for_type_change): Check that we work on main variant.
32398 (detect_type_change): Look into main variant.
32399 (compute_known_type_jump_func): Check that main variant has BINFO.
32401 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
32403 * ipa-devirt.c (set_type_binfo): New function.
32404 (add_type_duplicate): Use it.
32405 (get_odr_type): Sanity check that binfos points to main variants.
32406 (get_class_context): Be sure the context's outer_type is main variant.
32407 (contains_type_p): Walk main variant.
32408 (get_polymorphic_call_info_for_decl): Set outer_type to be
32410 (get_polymorphic_call_info): Likewise.
32411 (possible_polymorphic_call_targets): Sanity check that we operate
32414 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
32416 * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
32418 2014-06-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
32420 * config/rs6000/rs6000.c (rs6000_aggregate_candidate): Revert
32421 accidental change due to wide-int branch merge.
32423 2014-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
32425 * configure.ac (gcc_cv_as_compress_debug): Check for assembler
32426 compressed debug support.
32427 (gcc_cv_ld_compress_debug): Check for linker compressed debug support.
32428 * configure: Regenerate.
32429 * config.in: Regenerate.
32430 * common.opt (compressed_debug_sections): New enum.
32431 (gz, gz=): New options.
32432 * gcc.c (LINK_COMPRESS_DEBUG_SPEC, ASM_COMPRESS_DEBUG_SPEC): Define.
32433 (LINK_COMMAND_SPEC): Invoke LINK_COMPRESS_DEBUG_SPEC.
32434 (asm_options): Invoke ASM_COMPRESS_DEBUG_SPEC.
32435 * config/darwin.h (LINK_COMMAND_SPEC_A): Invoke
32436 LINK_COMPRESS_DEBUG_SPEC.
32437 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
32438 * opts.c (common_handle_option): Handle OPT_gz, OPT_gz_.
32439 * doc/invoke.texi (Option Summary, Debugging Options): Add -gz[=type].
32440 (Debugging Options): Document -gz[=type].
32442 2014-06-27 Martin Jambor <mjambor@suse.cz>
32445 * cgraphclones.c (duplicate_thunk_for_node): Removed parameter
32446 args_to_skip, use those from node instead. Copy args_to_skip and
32447 combined_args_to_skip from node to the new thunk.
32448 (redirect_edge_duplicating_thunks): Removed parameter args_to_skip.
32449 (cgraph_create_virtual_clone): Moved computation of
32450 combined_args_to_skip...
32451 (cgraph_clone_node): ...here, simplify it to bitmap_ior..
32453 2014-06-27 trevor Saunders <tsaunders@mozilla.com>
32455 * config/i386/winnt.c (i386_pe_section_type_flags): Remove
32456 redundant diagnostic machinary.
32458 2014-06-27 Richard Biener <rguenther@suse.de>
32460 * tree-ssa-math-opts.c (bswap_replace): Fix
32461 SLOW_UNALIGNED_ACCESS test to only apply to unaligned object.
32463 2014-06-27 Martin Liska <mliska@suse.cz>
32465 * gimple.h (gimple_location_safe): New function introduced.
32466 * cgraphunit.c (walk_polymorphic_call_targets): Usage
32467 of gimple_location_safe replaces gimple_location.
32468 (gimple_fold_call): Likewise.
32469 * ipa-devirt.c (ipa_devirt): Likewise.
32470 * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
32471 * ipa.c (walk_polymorphic_call_targets): Likewise.
32472 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
32474 2014-06-27 Jakub Jelinek <jakub@redhat.com>
32476 PR tree-optimization/57233
32477 PR tree-optimization/61299
32478 * tree-vect-generic.c (get_compute_type, count_type_subparts): New
32480 (expand_vector_operations_1): Use them. If {L,R}ROTATE_EXPR
32481 would be lowered to scalar shifts, check if corresponding
32482 shifts and vector BIT_IOR_EXPR are supported and don't lower
32483 or lower just to narrower vector type in that case.
32484 * expmed.c (expand_shift_1): Fix up handling of vector
32485 shifts and rotates.
32487 2014-06-26 Uros Bizjak <ubizjak@gmail.com>
32490 * config/alpha/alpha.c (alpha_handle_trap_shadows): Handle BARRIER RTX.
32492 2014-06-26 Jan Hubicka <hubicka@ucw.cz>
32494 * doc/invoke.texi (-fsemantic-interposition): Document.
32495 * common.opt (fsemantic-interposition): New flag.
32496 * varasm.c (decl_replaceable_p): Use it.
32498 2014-06-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
32501 * config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
32502 extraction other than index 3.
32504 2014-06-26 Teresa Johnson <tejohnson@google.com>
32506 * doc/invoke.texi: Fix typo.
32507 * dumpfile.c: Add support for documented -fdump-* options
32508 optimized/missed/note/optall.
32510 2014-06-26 Martin Jambor <mjambor@suse.cz>
32512 * params.def (PARAM_ALLOW_LOAD_DATA_RACES)
32513 (PARAM_ALLOW_PACKED_LOAD_DATA_RACES)
32514 (PARAM_ALLOW_PACKED_STORE_DATA_RACES): Removed.
32515 (PARAM_ALLOW_STORE_DATA_RACES): Set default to zero.
32516 * opts.c (default_options_optimization): Set
32517 PARAM_ALLOW_STORE_DATA_RACES to one at -Ofast.
32518 * doc/invoke.texi (allow-load-data-races)
32519 (allow-packed-load-data-races, allow-packed-store-data-races): Removed.
32520 (allow-store-data-races): Document the new default.
32522 2014-06-26 Martin Jambor <mjambor@suse.cz>
32524 * ipa-prop.c (ipa_impossible_devirt_target): No longer static,
32525 renamed to ipa_impossible_devirt_target. Fix typo.
32526 * ipa-prop.h (ipa_impossible_devirt_target): Declare.
32527 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use
32528 ipa_impossible_devirt_target.
32530 2014-06-26 Richard Biener <rguenther@suse.de>
32532 PR tree-optimization/61607
32533 * tree-ssa-copy.c (copy_prop_visit_phi_node): Adjust comment
32534 explaining why we restrict copies on loop depth.
32535 * tree-ssa-dom.c (cprop_operand): Remove restriction on
32537 (record_equivalences_from_phis): Instead add it here.
32539 2014-06-26 Bernd Schmidt <bernds@codesourcery.com>
32541 * Makefile.in (COLLECT2_OBJS): Add collect-utils.o.
32542 (LTO_WRAPPER_OBJS): New variable.
32543 (lto-wrapper$(exeext)): Use it.
32544 * collect2.c: Include "collect-utils.h".
32545 (verbose, debug): Remove variables.
32546 (at_file_supplied): No longer static.
32547 (tool_name): New variable.
32548 (do_wait, fork_execute, maybe_unlink): Don't declare.
32549 (tool_cleanup): No longer static.
32550 (notice): Remove function.
32551 (maybe_run_lto_and_relink, main, do_dsymutil): Add new arg to
32552 fork_execute calls.
32553 (collect_wait, do_wait, collect_execute): Remove functions.
32554 (maybe_unlink): No longer static.
32555 * collect2.h (verbose, debug): Don't declare.
32556 (at_file_supplied): Declare.
32557 * collect-utils.c (utils_cleanup): New arg from_signal. All callers
32559 (collect_execute): Replace with implementation from collect2, plus a
32560 new arg use_atfile. All callers changed.
32561 (collect_wait): Replace with implementation from collect2.
32562 (maybe_unlink_file): Remove function.
32563 (fork_execute): Replace with implementation from collect2, plus a
32564 new arg use_atfile. All callers changed.
32565 (do_wait): Add call to utils_cleanup to the error path.
32566 * collect-utils.h (collect_execute, fork_execute, utils_cleanup)
32567 (tool_cleanup): Adjust declarations.
32568 * lto-wrapper.c (tool_cleanup): Add unused bool argument.
32569 * tlink.c: Include "collect-utils.h".
32570 (tlink_execute): New arg use_atfile. All callers changed.
32571 (tlink_init, tlink_execute): Remove declarations.
32573 * collect-utils.c (save_temps): New variable.
32574 (do_wait): Use it instead of debug. Use fatal_error.
32575 * collect-utils.h (save_temps): Declare.
32576 * collect2.c (verbose): Rename from vflag. All uses changed.
32577 (tool_cleanup): New function, copied from collect_atexit.
32578 (collect_atexit, handler): Just call it.
32579 * collect2.h (verbose): Declaration renamed from vflag.
32580 * lto-wrapper.c (maybe_unlink, run_gcc): Use save_temps instead of
32583 * Makefile.in (ALL_HOST_BACKEND_OBJS): Add collect-utils.o.
32584 (lto-wrapper$(exeext)): Link with collect-utils.o.
32585 * collect-utils.c: New file.
32586 * collect-utils.h: New file.
32587 * lto-wrapper.c: Include "collect-utils.h".
32588 (args_name): Delete variable.
32589 (tool_name): New variable.
32590 (tool_cleanup): New function.
32591 (maybe_unlink): Renamed from maybe_unlink_file. All callers changed.
32592 (lto_wrapper_cleanup, fatal_signal, collect_execute, collect_wait)
32593 (fork_execute): Remove functions.
32595 2014-06-26 Nick Clifton <nickc@redhat.com>
32597 * config/frv/frv.c (frv_in_small_data_p): Remove redundant assert.
32599 * doc/extend.texi (Function Attributes): Fix typo in description
32600 of RX vector attribute.
32602 2014-06-26 James Greenhalgh <james.greenhalgh@arm.com>
32604 * config.gcc (supported_defaults): Error when passing either
32605 --with-tune or --with-arch in conjunction with --with-cpu for ARM.
32607 2014-06-26 Richard Biener <rguenther@suse.de>
32609 * tree-ssa-dom.c (cprop_operand): Remove restriction on
32610 propagating volatile pointers.
32612 2014-06-26 Richard Biener <rguenther@suse.de>
32614 PR tree-optimization/61607
32615 * tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the
32616 loop if we redirected its latch edge.
32617 (thread_block_1): Do not cancel loops prematurely.
32619 2014-06-25 Jan Hubicka <hubicka@ucw.cz>
32621 * toplev.c (backend_init_target): Move init_emit_regs and
32623 (backend_init) ... here; skip ira_init_once and backend_init_target.
32624 (target_reinit) ... and here; clear
32625 this_target_rtl->lang_dependent_initialized.
32626 (lang_dependent_init_target): Clear
32627 this_target_rtl->lang_dependent_initialized;
32628 break out rtl initialization to ...
32629 (initialize_rtl): ... here; call also backend_init_target
32631 * toplev.h (initialize_rtl): New function.
32632 * function.c: Include toplev.h
32633 (init_function_start): Call initialize_rtl.
32634 * rtl.h (target_rtl): Add target_specific_initialized,
32635 lang_dependent_initialized.
32637 2014-06-25 Paul Gortmaker <paul.gortmaker@windriver.com>
32638 Jakub Jelinek <jakub@redhat.com>
32640 * gcc.c (set_multilib_dir): Malloc "." pointer as well.
32642 2014-06-25 Tom de Vries <tom@codesourcery.com>
32644 * config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM.
32646 2014-06-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
32648 * tree-ssa-forwprop.c (associate_plusminus): For widening conversions
32649 check for undefined overflow in (T)(P + A) - (T)P -> (T)A.
32650 Issue a strict overflow warning if appropriate.
32652 2014-06-25 Martin Liska <mliska@suse.cz>
32654 IPA REF refactoring
32655 * Makefile.in: Removed header file (ipa-ref-inline.h).
32656 * cgraph.c (cgraph_turn_edge_to_speculative): New IPA REF function
32658 (cgraph_speculative_call_info): Likewise.
32659 (cgraph_for_node_thunks_and_aliases): Likewise.
32660 (cgraph_for_node_and_aliases): Likewise.
32661 (verify_cgraph_node): Likewise.
32662 * cgraph.h: Batch of IPA REF functions become member functions of
32663 symtab_node: add_reference, maybe_add_reference, clone_references,
32664 clone_referring, clone_reference, find_reference,
32665 remove_stmt_references, remove_all_references,
32666 remove_all_referring, dump_references, dump_referring,
32667 has_alias_p, iterate_reference, iterate_referring.
32668 * cgraphbuild.c (record_reference): New IPA REF function used.
32669 (record_type_list): Likewise.
32670 (record_eh_tables): Likewise.
32671 (mark_address): Likewise.
32672 (mark_load): Likewise.
32673 (mark_store): Likewise.
32674 (pass_build_cgraph_edges): Likewise.
32675 (rebuild_cgraph_edge): Likewise.
32676 (cgraph_rebuild_references): Likewise.
32677 (pass_remove_cgraph_callee_edges): Likewise.
32678 * cgraphclones.c (cgraph_clone_node): Likewise.
32679 (cgraph_create_virtual_clone): Likewise.
32680 (cgraph_materialize_clone): Likewise.
32681 (cgraph_materialize_all_clones): Likewise.
32682 * cgraphunit.c (cgraph_reset_node): Likewise.
32683 (cgraph_reset_node): Likewise.
32684 (analyze_function): Likewise.
32685 (assemble_thunks_and_aliases): Likewise.
32686 (expand_function): Likewise.
32687 * ipa-comdats.c (propagate_comdat_group): Likewise.
32688 (enqueue_references): Likewise.
32689 * ipa-cp.c (ipcp_discover_new_direct_edges): Likewise.
32690 (create_specialized_node): Likewise.
32691 * ipa-devirt.c (referenced_from_vtable_p): Likewise.
32692 * ipa-inline-transform.c (can_remove_node_now_p_1): Likewise.
32693 * ipa-inline.c (reset_edge_caches): Likewise.
32694 (update_caller_keys): Likewise.
32695 (execute): Likewise.
32696 * ipa-prop.c (remove_described_reference): Likewise.
32697 (propagate_controlled_uses): Likewise.
32698 (ipa_edge_duplication_hook): Likewise.
32699 (ipa_modify_call_arguments): Likewise.
32700 * ipa-pure-const.c (propagate_pure_const): Likewise.
32701 * ipa-ref-inline.h: Header file removed, functions moved
32702 to symtab_node class.
32703 * ipa-ref.c (remove_reference): New class member function.
32704 (cannot_lead_to_return): New class member function.
32705 (referring_ref_list): Likewise.
32706 (referred_ref_list): Likewise.
32707 Rest of functions moved to symtab_node class.
32708 * ipa-ref.h: New member functions remove_reference,
32709 cannot_lead_to_return, referring_ref_list, referred_ref_list added
32711 ipa_ref_list class has new member functions: first_reference,
32712 first_referring, clear, nreferences.
32713 * ipa-reference.c (analyze_function): New IPA REF function used.
32714 (write_node_summary_p): Likewise.
32715 (ipa_reference_write_optimization_summary): Likewise.
32716 * ipa-split.c (split_function): Likewise.
32717 * ipa-utils.c (ipa_reverse_postorder): Likewise.
32718 * ipa-visibility.c (cgraph_non_local_node_p_1): Likewise.
32719 (function_and_variable_visibility): Likewise.
32720 * ipa.c (has_addr_references_p): Likewise.
32721 (process_references): Argument type changed.
32722 (symtab_remove_unreachable_nodes): New IPA REF function used.
32723 (process_references): Likewise.
32724 (set_writeonly_bit): Likewise.
32725 * lto-cgraph.c: Implementation of new symtab_node member functions
32726 that uses new IPA REF functions.
32727 * lto-streamer-in.c (fixup_call_stmt_edges_1): New IPA REF
32729 * lto-streamer-out.c (output_symbol_p): Likewise.
32730 * lto-streamer.h (referenced_from_this_partition_p): Argument type
32732 * symtab.c: Implementation of new IPA REF API.
32733 * trans-mem.c (ipa_tm_create_version_alias): New IPA REF function used.
32734 (ipa_tm_create_version): Likewise.
32735 (ipa_tm_execute): Likewise.
32736 * tree-emutls.c (gen_emutls_addr): Likewise.
32737 * tree-inline.c (copy_bb): Likewise.
32738 (delete_unreachable_blocks_update_callgraph): Likewise.
32739 * varpool.c (varpool_remove_unreferenced_decls): Likewise.
32740 (varpool_for_node_and_aliases): Likewise.
32742 2014-06-25 Trevor Saunders <tsaunders@mozilla.com>
32744 * config/i386/winnt.c (i386_find_on_wrapper_list): Fix typo.
32746 2014-06-25 Trevor Saunders <tsaunders@mozilla.com>
32749 * fold-const.c (fold_checksum_tree): Use a hash_table of const
32750 tree_node * instead of tree_node *.
32752 (print_fold_checksum): Likewise.
32753 (fold_check_failed): Likewise.
32754 (debug_fold_checksum): Likewise.
32755 (fold_build1_stat_loc): Likewise.
32756 (fold_build2_stat_loc): Likewise.
32757 (fold_build3_stat_loc): Likewise.
32758 (fold_build_call_array_loc): Likewise.
32760 2014-06-25 David Edelsohn <dje.gcc@gmail.com>
32762 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Replace
32763 implementation with call to...
32764 * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): New
32766 * config/rs6000/rs6000-protos.h (rs6000_xcoff_declare_function_name):
32769 2014-06-25 Marc Glisse <marc.glisse@inria.fr>
32771 PR tree-optimization/57742
32772 * tree-ssa-strlen.c (handle_builtin_memset): Update strinfo
32773 after replacing the statement.
32775 2014-06-25 Nick Clifton <nickc@redhat.com>
32777 * config/v850/v850.c (GHS_default_section_names): Change to const
32779 (GHS_current_section_names): Likewise.
32780 (v850_insert_attributes): Do not build strings, just assign the
32781 names directly. Change the type of 'chosen_section' to const
32783 * config/v850/v850-c.c (ghs_pragma_section): Assign the alias
32784 directly to the array entry.
32785 * config/v850/v850.h (GHS_default_section_names): Change to const
32787 (GHS_current_section_names): Likewise.
32789 2014-06-25 Jakub Jelinek <jakub@redhat.com>
32791 * langhooks-def.h (LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR): Define.
32792 (LANG_HOOKS_DECLS): Add it.
32793 * gimplify.c (gimplify_omp_for): Make sure OMP_CLAUSE_LINEAR_STEP
32795 * tree.h (OMP_CLAUSE_LINEAR_ARRAY): Define.
32796 * langhooks.h (struct lang_hooks_for_decls): Add
32797 omp_clause_linear_ctor hook.
32798 * omp-low.c (lower_rec_input_clauses): Set max_vf even if
32799 OMP_CLAUSE_LINEAR_ARRAY is set. Don't fold_convert
32800 OMP_CLAUSE_LINEAR_STEP. For OMP_CLAUSE_LINEAR_ARRAY in
32801 combined simd loop use omp_clause_linear_ctor hook.
32803 2014-06-24 Cong Hou <congh@google.com>
32805 * tree-vect-patterns.c (vect_recog_sad_pattern): New function for SAD
32806 pattern recognition.
32807 (type_conversion_p): PROMOTION is true if it's a type promotion
32808 conversion, and false otherwise. Return true if the given expression
32809 is a type conversion one.
32810 * tree-vectorizer.h: Adjust the number of patterns.
32811 * tree.def: Add SAD_EXPR.
32812 * optabs.def: Add sad_optab.
32813 * cfgexpand.c (expand_debug_expr): Add SAD_EXPR case.
32814 * expr.c (expand_expr_real_2): Likewise.
32815 * gimple-pretty-print.c (dump_ternary_rhs): Likewise.
32816 * gimple.c (get_gimple_rhs_num_ops): Likewise.
32817 * optabs.c (optab_for_tree_code): Likewise.
32818 * tree-cfg.c (estimate_operator_cost): Likewise.
32819 * tree-ssa-operands.c (get_expr_operands): Likewise.
32820 * tree-vect-loop.c (get_initial_def_for_reduction): Likewise.
32821 * config/i386/sse.md: Add SSE2 and AVX2 expand for SAD.
32822 * doc/generic.texi: Add document for SAD_EXPR.
32823 * doc/md.texi: Add document for ssad and usad.
32825 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
32827 * config/i386/winnt.c (i386_pe_section_type_flags): Fix const
32828 qualification in cast.
32830 2014-06-24 Jan Hubicka <hubicka@ucw.cz>
32832 * tree.c (find_decls_types_r): Do not check DECL_VINDEX for TYPE_DECL.
32833 * tree.h (DECL_VINDEX, DECL_SAVED_TREE): Restrict to DECL_FUNCTION.
32834 * tree-core.h (tree_decl_non_common): Move saved_tree and vindex...
32835 (tree_function_decl): ... here.
32836 * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Move
32837 streaming of vindex to ...
32838 (write_ts_function_decl_tree_pointers): ... here.
32839 * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers):
32840 Do not stream DECL_VINDEX.
32841 (lto_input_ts_function_decl_tree_pointers): Stream it here.
32843 2014-06-24 Catherine Moore <clm@codesourcery.com>
32844 Sandra Loosemore <sandra@codesourcery.com>
32846 * config/mips/mips.c (mips_order_regs_for_local_alloc): Delete.
32847 * config/mips/mips.h (ADJUST_REG_ALLOC_ORDER): Delete.
32848 * config/mips/mips-protos.h (mips_order_regs_for_local_alloc): Delete.
32850 2014-06-24 Marc Glisse <marc.glisse@inria.fr>
32852 * doc/invoke.texi (Warning Options): Remove duplicated
32853 -Wmaybe-uninitialized.
32855 2014-06-24 Marc Glisse <marc.glisse@inria.fr>
32857 PR tree-optimization/57742
32858 * tree-ssa-strlen.c (get_string_length): Ignore malloc.
32859 (handle_builtin_malloc, handle_builtin_memset): New functions.
32860 (strlen_optimize_stmt): Call them.
32861 * passes.def: Move strlen after loop+dom but before vrp.
32863 2014-06-24 Jakub Jelinek <jakub@redhat.com>
32866 * config/i386/driver-i386.c (host_detect_local_cpu): For unknown
32867 model family 6 CPU with has_longmode never use a CPU without
32870 2014-06-24 H.J. Lu <hongjiu.lu@intel.com>
32873 * config/i386/driver-i386.c (host_detect_local_cpu): Revert
32876 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
32878 * alloc-pool.c (alloc_pool_hash): Use hash_map instead of hash_table.
32879 * dominance.c (iterate_fix_dominators): Use hash_map instead of
32881 * hash-map.h: New file.
32882 * ipa-comdats.c: Use hash_map instead of pointer_map.
32884 * lto-section-out.c: Adjust.
32885 * lto-streamer.h: Replace pointer_map with hash_map.
32886 * symtab.c (verify_symtab): Likewise.
32887 * tree-ssa-strlen.c (decl_to_stridxlist_htab): Likewise.
32888 * tree-ssa-uncprop.c (val_ssa_equiv): Likewise.
32889 * tree-streamer.h: Likewise.
32890 * tree-streamer.c: Adjust.
32891 * pointer-set.h: Remove pointer_map.
32893 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
32895 * hash-table.h: Add a template arg to choose between storing values
32896 and storing pointers to values, and then provide partial
32897 specializations for both.
32898 * tree-browser.c (tree_upper_hasher): Provide the type the hash table
32899 should store, not the type values should point to.
32900 * tree-into-ssa.c (var_info_hasher): Likewise.
32901 * tree-ssa-dom.c (expr_elt_hasher): Likewise.
32902 * tree-complex.c: Adjust.
32903 * tree-hasher.h (int_tree_hasher): store int_tree_map in the hash
32904 table instead of int_tree_map *.
32905 * tree-parloops.c: Adjust.
32906 * tree-ssa-reassoc.c (ocount_hasher): Don't lie to hash_map about what
32907 type is being stored.
32908 * tree-vectorizer.c: Adjust.
32910 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
32912 * hash-table.h: Remove a layer of indirection from hash_table so that
32913 it contains the hash table's data instead of a pointer to the data.
32914 * alloc-pool.c, asan.c, attribs.c, bitmap.c, cfg.c,
32915 config/arm/arm.c, config/i386/winnt.c, config/ia64/ia64.c,
32916 config/mips/mips.c, config/sol2.c, coverage.c, cselib.c,
32917 data-streamer-out.c, dse.c, dwarf2cfi.c, dwarf2out.c, except.c,
32918 fold-const.c, gcse.c, ggc-common.c,
32919 gimple-ssa-strength-reduction.c, gimplify.c,
32920 graphite-clast-to-gimple.c, graphite-dependences.c,
32921 graphite-htab.h, graphite.c, haifa-sched.c, ipa-devirt.c,
32922 ipa-profile.c, ira-color.c, ira-costs.c, loop-invariant.c,
32923 loop-iv.c, loop-unroll.c, lto-streamer-in.c, lto-streamer-out.c,
32924 lto-streamer.c, lto-streamer.h, passes.c, plugin.c,
32925 postreload-gcse.c, sese.c, statistics.c, store-motion.c,
32926 trans-mem.c, tree-browser.c, tree-cfg.c, tree-complex.c,
32927 tree-eh.c, tree-into-ssa.c, tree-parloops.c, tree-sra.c,
32928 tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-dom.c,
32929 tree-ssa-live.c, tree-ssa-loop-im.c,
32930 tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
32931 tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-strlen.c,
32932 tree-ssa-structalias.c, tree-ssa-tail-merge.c,
32933 tree-ssa-threadupdate.c, tree-ssa-uncprop.c,
32934 tree-vect-data-refs.c, tree-vect-loop.c, tree-vectorizer.c,
32935 tree-vectorizer.h, valtrack.c, valtrack.h, var-tracking.c,
32936 vtable-verify.c, vtable-verify.h: Adjust.
32938 2014-06-24 Richard Biener <rguenther@suse.de>
32940 PR tree-optimization/61572
32941 * tree-ssa-sink.c (statement_sink_location): Do not sink
32942 loads from hard registers.
32944 2014-06-24 Jakub Jelinek <jakub@redhat.com>
32946 * gimplify.c (gimplify_omp_for): For #pragma omp for simd iterator
32947 not mentioned in clauses use private clause if the iterator is
32948 declared in #pragma omp for simd, and when adding lastprivate
32949 instead, add it to the outer #pragma omp for too. Diagnose
32950 if the variable is private in outer context. For simd collapse > 1
32951 loops, replace all iterators with temporaries.
32952 * omp-low.c (lower_rec_input_clauses): Handle LINEAR clause the
32953 same even in collapse > 1 loops.
32955 * gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP,
32956 OMP_CLAUSE_TO, OMP_CLAUSE_FROM): Make sure OMP_CLAUSE_SIZE is
32958 <case OMP_CLAUSE_ALIGNED>: Gimplify OMP_CLAUSE_ALIGNED_ALIGNMENT.
32959 (gimplify_adjust_omp_clauses_1): Make sure OMP_CLAUSE_SIZE is
32961 (gimplify_adjust_omp_clauses): Likewise.
32962 * omp-low.c (lower_rec_simd_input_clauses,
32963 lower_rec_input_clauses, expand_omp_simd): Handle non-constant
32964 safelen the same as safelen(1).
32965 * tree-nested.c (convert_nonlocal_omp_clauses,
32966 convert_local_omp_clauses): Handle OMP_CLAUSE_ALIGNED. For
32967 OMP_CLAUSE_{MAP,TO,FROM} if not decl use walk_tree.
32968 (convert_nonlocal_reference_stmt, convert_local_reference_stmt):
32969 Fixup handling of GIMPLE_OMP_TARGET.
32970 (convert_tramp_reference_stmt, convert_gimple_call): Handle
32973 2014-06-24 Chung-Lin Tang <cltang@codesourcery.com>
32975 PR tree-optimization/61554
32976 * tree-ssa-propagate.c: Include "bitmap.h".
32977 (substitute_and_fold_dom_walker): Add 'bitmap need_eh_cleanup' member,
32978 properly update constructor/destructor.
32979 (substitute_and_fold_dom_walker::before_dom_children):
32980 Remove call to gimple_purge_dead_eh_edges, add bb->index to
32981 need_eh_cleaup instead.
32982 (substitute_and_fold): Call gimple_purge_all_dead_eh_edges on
32985 2014-06-23 Jan Hubicka <hubicka@ucw.cz>
32987 * varpool.c (dump_varpool_node): Dump used_by_single_function.
32988 * tree-pass.h (make_pass_ipa_single_use): New pass.
32989 * cgraph.h (used_by_single_function): New flag.
32990 * lto-cgraph.c (lto_output_varpool_node, input_varpool_node):
32992 * passes.def (pass_ipa_single_use): Scedule.
32993 * ipa.c (BOTTOM): New macro.
32994 (meet): New function
32995 (propagate_single_user): New function.
32996 (ipa_single_use): New function.
32997 (pass_data_ipa_single_use): New pass.
32998 (pass_ipa_single_use): New pass.
32999 (pass_ipa_single_use::gate): New gate.
33000 (make_pass_ipa_single_use): New function.
33002 2014-06-23 Kai Tietz <ktietz@redhat.com>
33005 * passes.def (peephole2): Move peephole2 pass before sched2 pass.
33006 * config/i386/i386.md (peehole2): Combine memories and indirect jumps.
33008 2014-06-23 Richard Biener <rguenther@suse.de>
33010 * tree-ssa-loop.c (gate_loop): New function.
33011 (pass_tree_loop::gate): Call it.
33012 (pass_data_tree_no_loop, pass_tree_no_loop,
33013 make_pass_tree_no_loop): New.
33014 * tree-vectorizer.c: Include tree-scalar-evolution.c
33015 (pass_slp_vectorize::execute): Initialize loops and SCEV if
33017 (pass_slp_vectorize::clone): New method.
33018 * timevar.def (TV_TREE_NOLOOP): New.
33019 * tree-pass.h (make_pass_tree_no_loop): Declare.
33020 * passes.def (pass_tree_no_loop): New pass group with
33023 2014-06-23 H.J. Lu <hongjiu.lu@intel.com>
33026 * config/i386/driver-i386.c (host_detect_local_cpu): Set arch
33027 to x86-64 if a 32-bit processor supports SSE2 and 64-bit.
33029 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com>
33031 * config/aarch64/aarch64.md (addsi3_aarch64): Set "simd" attr to
33032 "yes" where needed.
33034 2014-06-23 Alan Modra <amodra@gmail.com>
33037 * tree-vrp.c (remove_range_assertions): Do not set is_unreachable
33038 to zero on debug statements.
33040 2014-06-23 Alan Lawrence <alan.lawrence@arm.com>
33043 * config/aarch64/aarch64-builtins.c (aarch64_types_unop_qualifiers):
33044 Ignore third operand if present by marking qualifier_internal.
33046 * config/aarch64/aarch64-simd-builtins.def (abs): Comment.
33048 * config/aarch64/arm_neon.h (int64x1_t, uint64x1_t): Typedef to GCC
33050 (aarch64_vget_lane_s64, aarch64_vdup_lane_s64,
33051 arch64_vdupq_lane_s64, aarch64_vdupq_lane_u64): Remove macro.
33052 (vqadd_s64, vqadd_u64, vqsub_s64, vqsub_u64, vqneg_s64, vqabs_s64,
33053 vcreate_s64, vcreate_u64, vreinterpret_s64_f64, vreinterpret_u64_f64,
33054 vcombine_u64, vbsl_s64, vbsl_u64, vceq_s64, vceq_u64, vceqz_s64,
33055 vceqz_u64, vcge_s64, vcge_u64, vcgez_s64, vcgt_s64, vcgt_u64,
33056 vcgtz_s64, vcle_s64, vcle_u64, vclez_s64, vclt_s64, vclt_u64,
33057 vcltz_s64, vdup_n_s64, vdup_n_u64, vld1_s64, vld1_u64, vmov_n_s64,
33058 vmov_n_u64, vqdmlals_lane_s32, vqdmlsls_lane_s32,
33059 vqdmulls_lane_s32, vqrshl_s64, vqrshl_u64, vqrshl_u64, vqshl_s64,
33060 vqshl_u64, vqshl_n_s64, vqshl_n_u64, vqshl_n_s64, vqshl_n_u64,
33061 vqshlu_n_s64, vrshl_s64, vrshl_u64, vrshr_n_s64, vrshr_n_u64,
33062 vrsra_n_s64, vrsra_n_u64, vshl_n_s64, vshl_n_u64, vshl_s64,
33063 vshl_u64, vshr_n_s64, vshr_n_u64, vsli_n_s64, vsli_n_u64,
33064 vsqadd_u64, vsra_n_s64, vsra_n_u64, vsri_n_s64, vsri_n_u64,
33065 vst1_s64, vst1_u64, vtst_s64, vtst_u64, vuqadd_s64): Wrap existing
33066 logic in GCC vector extensions
33068 (vpaddd_s64, vaddd_s64, vaddd_u64, vceqd_s64, vceqd_u64, vceqzd_s64
33069 vceqzd_u64, vcged_s64, vcged_u64, vcgezd_s64, vcgtd_s64, vcgtd_u64,
33070 vcgtzd_s64, vcled_s64, vcled_u64, vclezd_s64, vcltd_s64, vcltd_u64,
33071 vcltzd_s64, vqdmlals_s32, vqdmlsls_s32, vqmovnd_s64, vqmovnd_u64
33072 vqmovund_s64, vqrshld_s64, vqrshld_u64, vqrshrnd_n_s64,
33073 vqrshrnd_n_u64, vqrshrund_n_s64, vqshld_s64, vqshld_u64,
33074 vqshld_n_u64, vqshrnd_n_s64, vqshrnd_n_u64, vqshrund_n_s64,
33075 vrshld_u64, vrshrd_n_u64, vrsrad_n_u64, vshld_n_u64, vshld_s64,
33076 vshld_u64, vslid_n_u64, vsqaddd_u64, vsrad_n_u64, vsrid_n_u64,
33077 vsubd_s64, vsubd_u64, vtstd_s64, vtstd_u64): Fix type signature.
33079 (vabs_s64): Use GCC vector extensions; call __builtin_aarch64_absdi.
33081 (vget_high_s64, vget_high_u64): Reimplement with GCC vector
33084 (__GET_LOW, vget_low_u64): Wrap result using vcreate_u64.
33085 (vget_low_s64): Use __GET_LOW macro.
33086 (vget_lane_s64, vget_lane_u64, vdupq_lane_s64, vdupq_lane_u64): Use
33087 gcc vector extensions, add call to __builtin_aarch64_lane_boundsi.
33088 (vdup_lane_s64, vdup_lane_u64,): Add __builtin_aarch64_lane_bound_si.
33089 (vdupd_lane_s64, vdupd_lane_u64): Fix type signature, add
33090 __builtin_aarch64_lane_boundsi, use GCC vector extensions.
33092 (vcombine_s64): Use GCC vector extensions; remove cast.
33093 (vqaddd_s64, vqaddd_u64, vqdmulls_s32, vqshld_n_s64, vqshlud_n_s64,
33094 vqsubd_s64, vqsubd_u64, vrshld_s64, vrshrd_n_s64, vrsrad_n_s64,
33095 vshld_n_s64, vshrd_n_s64, vslid_n_s64, vsrad_n_s64, vsrid_n_s64):
33096 Fix type signature; remove cast.
33098 2014-06-23 Alan Lawrence <alan.lawrence@arm.com>
33101 * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Add entry for
33103 * config/aarch64/aarch64-builtins.c (aarch64_simd_builtin_type_mode):
33105 (BUILTIN_VD1): New.
33106 (BUILTIN_VD_RE): Remove.
33107 (aarch64_init_simd_builtins): Add V1DF to modes/modenames.
33108 (aarch64_fold_builtin): Update reinterpret patterns, df becomes v1df.
33109 * config/aarch64/aarch64-simd-builtins.def (create): Make a v1df
33110 variant but not df.
33111 (vreinterpretv1df*, vreinterpret*v1df): New.
33112 (vreinterpretdf*, vreinterpret*df): Remove.
33113 * config/aarch64/aarch64-simd.md (aarch64_create,
33114 aarch64_reinterpret*): Generate V1DFmode pattern not DFmode.
33115 * config/aarch64/iterators.md (VD_RE): Include V1DF, remove DF.
33117 * config/aarch64/arm_neon.h (float64x1_t): typedef with gcc extensions.
33118 (vcreate_f64): Remove cast, use v1df builtin.
33119 (vcombine_f64): Remove cast, get elements with gcc vector extensions.
33120 (vget_low_f64, vabs_f64, vceq_f64, vceqz_f64, vcge_f64, vgfez_f64,
33121 vcgt_f64, vcgtz_f64, vcle_f64, vclez_f64, vclt_f64, vcltz_f64,
33122 vdup_n_f64, vdupq_lane_f64, vld1_f64, vld2_f64, vld3_f64, vld4_f64,
33123 vmov_n_f64, vst1_f64): Use gcc vector extensions.
33124 (vget_lane_f64, vdupd_lane_f64, vmulq_lane_f64, ): Use gcc extensions,
33125 add range check using __builtin_aarch64_im_lane_boundsi.
33126 (vfma_lane_f64, vfmad_lane_f64, vfma_laneq_f64, vfmaq_lane_f64,
33127 vfms_lane_f64, vfmsd_lane_f64, vfms_laneq_f64, vfmsq_lane_f64): Fix
33128 type signature, use gcc vector extensions.
33129 (vreinterpret_p8_f64, vreinterpret_p16_f64, vreinterpret_f32_f64,
33130 vreinterpret_f64_f32, vreinterpret_f64_p8, vreinterpret_f64_p16,
33131 vreinterpret_f64_s8, vreinterpret_f64_s16, vreinterpret_f64_s32,
33132 vreinterpret_f64_s64, vreinterpret_f64_u8, vreinterpret_f64_u16,
33133 vreinterpret_f64_u32, vreinterpret_f64_u64, vreinterpret_s8_f64,
33134 vreinterpret_s16_f64, vreinterpret_s32_f64, vreinterpret_s64_f64,
33135 vreinterpret_u8_f64, vreinterpret_u16_f64, vreinterpret_u32_f64,
33136 vreinterpret_u64_f64): Use v1df builtin not df.
33138 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com>
33140 * config/aarch64/aarch64.md (*addsi3_aarch64): Add alternative in
33143 2014-06-23 Jan Hubicka <hubicka@ucw.cz>
33145 * lto-cgraph.c (lto_output_node, input_node): Set/get init/fini
33148 2014-06-23 Zhenqiang Chen <zhenqiang.chen@linaro.org>
33150 * loop-invariant.c (pre_check_invariant_p): New function.
33151 (find_invariant_insn): Call pre_check_invariant_p.
33153 2014-06-22 Richard Henderson <rth@redhat.com>
33156 * compare-elim.c (struct comparison): Add eh_note.
33157 (find_comparison_dom_walker::before_dom_children): Don't eliminate
33158 a redundant comparison in a different EH region. Purge EH edges if
33161 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
33163 * config/rs6000/rs6000.md (maybe_var_shift): New define_attr.
33164 (var_shift): Use it.
33165 (rotl<mode>3, *rotlsi3_64, *rotl<mode>3_dot, *rotl<mode>3_dot2,
33166 *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
33167 *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
33168 *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
33169 *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
33170 *rotlsi3_internal12be, ashl<mode>3, *ashlsi3_64, *ashl<mode>3_dot,
33171 *ashl<mode>3_dot2, lshr<mode>3, *lshrsi3_64, *lshr<mode>3_dot,
33172 *lshr<mode>3_dot2, *ashr<mode>3, *ashrsi3_64, *ashr<mode>3_dot,
33173 *ashr<mode>3_dot2, *rotldi3_internal4, *rotldi3_internal5,
33174 *rotldi3_internal6, *rotldi3_internal7le, *rotldi3_internal7be,
33175 *rotldi3_internal8le, *rotldi3_internal8be, *rotldi3_internal9le,
33176 *rotldi3_internal9be, *rotldi3_internal10le, *rotldi3_internal10be,
33177 *rotldi3_internal11le, *rotldi3_internal11be, *rotldi3_internal12le,
33178 *rotldi3_internal12be, *rotldi3_internal13le, *rotldi3_internal13be,
33179 *rotldi3_internal14le, *rotldi3_internal14be, *rotldi3_internal15le,
33180 *rotldi3_internal15be): Use the new attribute. Merge register and
33181 integer alternatives.
33183 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
33185 * config/rs6000/rs6000.md (ashrsi3, two anonymous define_insns and
33186 define_splits, ashrdi3, *ashrdi3_internal1, *ashrdi3_internal2 and
33187 split, *ashrdi3_internal3 and split): Delete, merge into...
33188 (ashr<mode>3): New expander.
33189 (*ashr<mode>3, ashr<mode>3_dot, ashr<mode>3_dot2): New.
33190 (*ashrsi3_64): Fix formatting. Replace "i" by "n".
33192 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
33194 * config/rs6000/rs6000.md (rotlsi3, *rotlsi3_internal2 and split,
33195 *rotlsi3_internal3 and split, rotldi3, *rotldi3_internal2 and split,
33196 *rotldi3_internal3 and split): Delete, merge into...
33197 (rotl<mode>3, rotl<mode>3_dot, rotl<mode>3_dot2): New.
33198 (*rotlsi3_64): Fix formatting. Fix condition. Replace "i" by "n".
33199 Use "rotlw" extended mnemonic.
33201 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
33203 * config/rs6000/rs6000.md (ashlsi3, two anonymous define_insns
33204 and define_splits, ashldi3, *ashldi3_internal1, *ashldi3_internal2
33205 and split, *ashldi3_internal3 and split): Delete, merge into...
33206 (ashl<mode>3, ashl<mode>3_dot, ashl<mode>3_dot2): New.
33207 (*ashlsi3_64): Fix formatting. Replace "i" by "n".
33209 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
33211 * config/rs6000/rs6000.md ("hH"): New define_mode_attr.
33212 (lshrsi3, two anonymous define_insns and define_splits,
33213 lshrdi3, *lshrdi3_internal1, *lshrdi3_internal2 and split,
33214 *lshrdi3_internal3 and split): Delete, merge into...
33215 (lshr<mode>3, lshr<mode>3_dot, lshr<mode>3_dot2): New.
33216 (*lshrsi3_64): Fix formatting. Replace "i" by "n".
33218 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
33220 * config/rs6000/rs6000.md (lshrsi3, and its two dot patterns):
33221 Remove "O" alternative.
33223 2014-06-22 Richard Sandiford <rdsandiford@googlemail.com>
33225 * config/mips/mips.c (mips_move_to_gpr_cost): Remove mode argument.
33226 (mips_move_from_gpr_cost): Likewise.
33227 (mips_register_move_cost): Update accordingly.
33228 (mips_secondary_reload_class): Remove name of in_p.
33230 2014-06-22 Marc Glisse <marc.glisse@inria.fr>
33233 * config/i386/i386.md (x86_64_shrd, x86_shrd,
33234 ix86_rotr<dwi>3_doubleword): Replace ashiftrt with lshiftrt.
33236 2014-06-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
33238 * config/nios2/nios2.c: Include "builtins.h".
33240 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
33242 * cgraph.h (tls_model_names): New variable.
33243 * print-tree.c (print_node): Simplify.
33244 * varpool.c (tls_model_names): New variable.
33245 (dump_varpool_node): Output tls model.
33247 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
33249 * ipa-visibility.c (function_and_variable_visibility): Disable
33250 temporarily local aliases for some targets.
33252 2014-06-20 Marek Polacek <polacek@redhat.com>
33254 * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_BOUNDS.
33255 * flag-types.h (enum sanitize_code): Add SANITIZE_BOUNDS and or it
33256 into SANITIZE_UNDEFINED.
33257 * doc/invoke.texi: Describe -fsanitize=bounds.
33258 * gimplify.c (gimplify_call_expr): Add gimplification of internal
33259 functions created in the FEs.
33260 * internal-fn.c: Move "internal-fn.h" after "tree.h".
33261 (expand_UBSAN_BOUNDS): New function.
33262 * internal-fn.def (UBSAN_BOUNDS): New internal function.
33263 * internal-fn.h: Don't define internal functions here.
33264 * opts.c (common_handle_option): Add -fsanitize=bounds.
33265 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS,
33266 BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS_ABORT): Add.
33267 * tree-core.h: Define internal functions here.
33268 (struct tree_base): Add ifn field.
33269 * tree-pretty-print.c: Include "internal-fn.h".
33270 (dump_generic_node): Handle functions without CALL_EXPR_FN.
33271 * tree.c (get_callee_fndecl): Likewise.
33272 (build_call_expr_internal_loc): New function.
33273 * tree.def (CALL_EXPR): Update description.
33274 * tree.h (CALL_EXPR_IFN): Define.
33275 (build_call_expr_internal_loc): Declare.
33276 * ubsan.c (get_ubsan_type_info_for_type): Return 0 for non-arithmetic
33278 (ubsan_type_descriptor): Change bool parameter to enum
33279 ubsan_print_style. Adjust the code. Add handling of
33281 (ubsan_expand_bounds_ifn): New function.
33282 (ubsan_expand_null_ifn): Adjust ubsan_type_descriptor call.
33283 (ubsan_build_overflow_builtin): Likewise.
33284 (instrument_bool_enum_load): Likewise.
33285 (ubsan_instrument_float_cast): Likewise.
33286 * ubsan.h (enum ubsan_print_style): New enum.
33287 (ubsan_expand_bounds_ifn): Declare.
33288 (ubsan_type_descriptor): Adjust declaration. Use a default parameter.
33290 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
33292 * config/rs6000/rs6000.md: Append `DONE' to preparation
33293 statements of `bswap' pattern splitters.
33295 2014-06-20 Tom de Vries <tom@codesourcery.com>
33297 * target.def (call_fusage_contains_non_callee_clobbers): Update
33299 * doc/tm.texi: Regenerate.
33301 2014-06-20 Yury Gribov <y.gribov@samsung.com>
33302 Max Ostapenko <m.ostapenko@partner.samsung.com>
33305 * asan.c (instrument_strlen_call): Fixed instrumentation of
33308 2014-06-20 Martin Jambor <mjambor@suse.cz>
33311 * ipa-prop.c (impossible_devirt_target): New function.
33312 (try_make_edge_direct_virtual_call): Use it, also instead of
33315 2014-06-20 Yury Gribov <y.gribov@samsung.com>
33316 Max Ostapenko <m.ostapenko@partner.samsung.com>
33319 * asan.c (build_check_stmt): Add condition.
33321 2014-06-20 Martin Jambor <mjambor@suse.cz>
33324 * cgraph.c (clone_of_p): Allow skipped_branch to deal with
33327 2014-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
33329 * config/aarch64/iterators.md (VCOND): Handle SI and HI modes.
33331 (VCONQ): Make comment more helpful.
33333 * config/aarch64/aarch64-simd.md
33334 (aarch64_sqdmulh_lane<mode>):
33335 Use VCOND for operands 2. Update lane checking and flipping logic.
33336 (aarch64_sqrdmulh_lane<mode>): Likewise.
33337 (aarch64_sq<r>dmulh_lane<mode>_internal): Likewise.
33338 (aarch64_sqdmull2<mode>): Remove VCON, use VQ_HSI mode iterator.
33339 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, VD_HSI): Change mode
33340 attribute of operand 3 to VCOND.
33341 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, SD_HSI): Likewise.
33342 (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
33343 (aarch64_sqdmull_lane<mode>_internal, VD_HSI): Likewise.
33344 (aarch64_sqdmull_lane<mode>_internal, SD_HSI): Likewise.
33345 (aarch64_sqdmull2_lane<mode>_internal): Likewise.
33346 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, VD_HSI: New
33348 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, SD_HSI): Likewise.
33349 (aarch64_sqdml<SBINQOPS:as>l2_laneq<mode>_internal): Likewise.
33350 (aarch64_sqdmull_laneq<mode>_internal, VD_HSI): Likewise.
33351 (aarch64_sqdmull_laneq<mode>_internal, SD_HSI): Likewise.
33352 (aarch64_sqdmull2_laneq<mode>_internal): Likewise.
33353 (aarch64_sqdmlal_lane<mode>): Change mode attribute of penultimate
33354 operand to VCOND. Update lane flipping and bounds checking logic.
33355 (aarch64_sqdmlal2_lane<mode>): Likewise.
33356 (aarch64_sqdmlsl_lane<mode>): Likewise.
33357 (aarch64_sqdmull_lane<mode>): Likewise.
33358 (aarch64_sqdmull2_lane<mode>): Likewise.
33359 (aarch64_sqdmlal_laneq<mode>):
33360 Replace VCON usage with VCONQ.
33361 Emit aarch64_sqdmlal_laneq<mode>_internal insn.
33362 (aarch64_sqdmlal2_laneq<mode>): Emit
33363 aarch64_sqdmlal2_laneq<mode>_internal insn.
33364 Replace VCON with VCONQ.
33365 (aarch64_sqdmlsl2_lane<mode>): Replace VCON with VCONQ.
33366 (aarch64_sqdmlsl2_laneq<mode>): Likewise.
33367 (aarch64_sqdmull_laneq<mode>): Emit
33368 aarch64_sqdmull_laneq<mode>_internal insn.
33369 Replace VCON with VCONQ.
33370 (aarch64_sqdmull2_laneq<mode>): Emit
33371 aarch64_sqdmull2_laneq<mode>_internal insn.
33372 (aarch64_sqdmlsl_laneq<mode>): Replace VCON usage with VCONQ.
33373 * config/aarch64/arm_neon.h (vqdmlal_high_lane_s16): Change type
33374 of 3rd argument to int16x4_t.
33375 (vqdmlalh_lane_s16): Likewise.
33376 (vqdmlslh_lane_s16): Likewise.
33377 (vqdmull_high_lane_s16): Likewise.
33378 (vqdmullh_lane_s16): Change type of 2nd argument to int16x4_t.
33379 (vqdmlal_lane_s16): Don't create temporary int16x8_t value.
33380 (vqdmlsl_lane_s16): Likewise.
33381 (vqdmull_lane_s16): Don't create temporary int16x8_t value.
33382 (vqdmlal_high_lane_s32): Change type 3rd argument to int32x2_t.
33383 (vqdmlals_lane_s32): Likewise.
33384 (vqdmlsls_lane_s32): Likewise.
33385 (vqdmull_high_lane_s32): Change type 2nd argument to int32x2_t.
33386 (vqdmulls_lane_s32): Likewise.
33387 (vqdmlal_lane_s32): Don't create temporary int32x4_t value.
33388 (vqdmlsl_lane_s32): Likewise.
33389 (vqdmull_lane_s32): Don't create temporary int32x4_t value.
33390 (vqdmulhh_lane_s16): Change type of second argument to int16x4_t.
33391 (vqrdmulhh_lane_s16): Likewise.
33392 (vqdmlsl_high_lane_s16): Likewise.
33393 (vqdmulhs_lane_s32): Change type of second argument to int32x2_t.
33394 (vqdmlsl_high_lane_s32): Likewise.
33395 (vqrdmulhs_lane_s32): Likewise.
33397 2014-06-20 Tom de Vries <tom@codesourcery.com>
33399 * final.c (collect_fn_hard_reg_usage): Add separate IOR_HARD_REG_SET for
33400 get_call_reg_set_usage.
33402 2014-06-20 Tom de Vries <tom@codesourcery.com>
33404 * final.c (collect_fn_hard_reg_usage): Don't save function_used_regs if
33405 it contains all call_used_regs.
33407 2014-06-20 Tom de Vries <tom@codesourcery.com>
33409 * final.c (collect_fn_hard_reg_usage): Add and use variable
33410 function_used_regs.
33412 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
33414 * cgraph.h (struct symtab_node): Add field in_init_priority_hash
33415 (set_init_priority, get_init_priority, set_fini_priority,
33416 get_fini_priority): New methods.
33417 * tree.c (init_priority_for_decl): Remove.
33418 (init_ttree): Do not initialize init priority.
33419 (decl_init_priority_lookup, decl_fini_priority_lookup): Rewrite.
33420 (decl_priority_info): Remove.
33421 (decl_init_priority_insert): Rewrite.
33422 (decl_fini_priority_insert): Rewrite.
33423 * tree.h (tree_priority_map_eq, tree_priority_map_hash,
33424 tree_priority_map_marked_p): Remove.
33425 * lto-cgraph.c (lto_output_node, input_node): Stream init priorities.
33426 * lto-streamer-out.c (hash_tree): Do not hash priorities.
33427 * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): Do
33428 not output priorities.
33429 (pack_ts_function_decl_value_fields): Likewise.
33430 * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
33431 not input priorities.
33432 (unpack_ts_function_decl_value_fields): Likewise.
33433 * symtab.c (symbol_priority_map): Declare.
33434 (init_priority_hash): Declare.
33435 (symtab_unregister_node): Unregister from priority hash, too.
33436 (symtab_node::get_init_priority, cgraph_node::get_fini_priority):
33438 (symbol_priority_map_eq, symbol_priority_map_hash): New functions.
33439 (symbol_priority_info): New function.
33440 (symtab_node::set_init_priority, cgraph_node::set_fini_priority):
33442 * tree-core.h (tree_priority_map): Remove.
33444 2014-06-20 Jakub Jelinek <jakub@redhat.com>
33446 * tree-ssa-math-opts.c (do_shift_rotate, find_bswap_or_nop_1): Cast
33447 0xff to uint64_t before shifting it up.
33449 2014-06-20 Julian Brown <julian@codesourcery.com>
33450 Chung-Lin Tang <cltang@codesourcery.com>
33452 * config/arm/arm.c (arm_output_mi_thunk): Fix offset for
33453 TARGET_THUMB1_ONLY. Add comments.
33455 2014-06-19 Tom de Vries <tom@codesourcery.com>
33457 * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Change
33458 return type to void.
33459 * config/aarch64/aarch64.c (aarch64_emit_call_insn): Same.
33461 2014-06-19 Zhenqiang Chen <zhenqiang.chen@linaro.org>
33463 * loop-invariant.c (get_inv_cost): Skip invariants, which are marked
33464 as "move", from depends_on.
33466 2014-06-19 Terry Guo <terry.guo@arm.com>
33468 * config/arm/thumb1.md (define_split): Split 64bit constant in earlier
33471 2014-06-18 Segher Boessenkool <segher@kernel.crashing.org>
33473 * config/rs6000/rs6000.h (FIXED_REGISTERS): Update comment.
33475 (REG_ALLOC_ORDER): Update comment. Move cr5 earlier.
33477 2014-06-18 Kaz Kojima <kkojima@gcc.gnu.org>
33480 * config/sh/sh.c (prepare_move_operands): Don't process TLS
33481 addresses here if reload in progress or completed.
33483 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com>
33485 * config/mips/constraints.md ("d"): BASE_REG_CLASS replaced by
33486 "TARGET_MIPS16 ? M16_REGS : GR_REGS".
33487 * config/mips/mips.c (mips_regno_to_class): Update for M16_SP_REGS.
33488 (mips_regno_mode_ok_for_base_p): Remove use of !strict_p for MIPS16.
33489 (mips_register_priority): New function that implements the target
33490 hook TARGET_REGISTER_PRIORITY.
33491 (mips_spill_class): Likewise for TARGET_SPILL_CLASS.
33492 (mips_lra_p): Likewise for TARGET_LRA_P.
33493 (TARGET_REGISTER_PRIORITY): Define macro.
33494 (TARGET_SPILL_CLASS): Likewise.
33495 (TARGET_LRA_P): Likewise.
33496 * config/mips/mips.h (reg_class): Add M16_SP_REGS and SPILL_REGS
33498 (REG_CLASS_NAMES): Likewise.
33499 (REG_CLASS_CONTENTS): Likewise.
33500 (BASE_REG_CLASS): Use M16_SP_REGS.
33501 * config/mips/mips.md (*mul_acc_si): Add alternative tuned for LRA.
33502 New set attribute to enable alternatives depending on the register
33504 (*mul_acc_si_r3900, *mul_sub_si): Likewise.
33505 (*lea64): Disable pattern for MIPS16.
33506 * config/mips/mips.opt (mlra): New option.
33508 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com>
33510 * lra-constraints.c (base_to_reg): New function.
33511 (process_address): Use new function.
33513 2014-06-18 Tom de Vries <tom@codesourcery.com>
33515 * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Declare.
33516 * config/aarch64/aarch64.c
33517 (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine as true.
33518 (aarch64_emit_call_insn): New function.
33519 (aarch64_load_symref_appropriately): Use aarch64_emit_call_insn instead
33521 * config/aarch64/aarch64.md (define_expand "call_internal")
33522 (define_expand "call_value_internal", define_expand "sibcall_internal")
33523 (define_expand "sibcall_value_internal"): New.
33524 (define_expand "call", define_expand "call_value")
33525 (define_expand "sibcall", define_expand "sibcall_value"): Use internal
33526 expand variant and aarch64_emit_call_insn.
33528 2014-06-18 Radovan Obradovic <robradovic@mips.com>
33529 Tom de Vries <tom@codesourcery.com>
33531 * config/arm/arm-protos.h (arm_emit_call_insn): Add bool parameter.
33532 * config/arm/arm.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
33534 (arm_emit_call_insn): Add and use sibcall parameter. Add IP and CC
33535 clobbers to CALL_INSN_FUNCTION_USAGE.
33536 (define_expand "sibcall_internal")
33537 (define_expand "sibcall_value_internal"): New.
33538 (define_expand "call", define_expand "call_value"): Add argument to
33539 arm_emit_call_insn.
33540 (define_expand "sibcall"): Use sibcall_internal and arm_emit_call_insn.
33541 (define_expand "sibcall_value"): Use sibcall_value_internal and
33542 arm_emit_call_insn.
33544 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33546 * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove.
33548 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33550 * config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using
33553 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33555 * config/arm/bpabi.S (__aeabi_ldivmod, __aeabi_uldivmod,
33556 push_for_divide, pop_for_divide): Use .cfi_* directives for DWARF
33557 annotations. Fix DWARF information.
33559 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33561 * config/arm/bpabi.S (__aeabi_ldivmod): Perform division using
33562 __udivmoddi4, and fixups for negative operands.
33564 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33566 * config/arm/bpabi.S (__aeabi_ldivmod): Optimise stack manipulation.
33568 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33570 * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call
33573 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33575 * config/arm/bpabi.S (__aeabi_uldivmod): Optimise stack pointer
33578 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33580 * config/arm/bpabi.S (__aeabi_uldivmod, __aeabi_ldivmod): Add comment
33581 describing register usage on function entry and exit.
33583 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33585 * config/arm/bpabi.S (__aeabi_uldivmod): Fix whitespace.
33586 (__aeabi_ldivmod): Fix whitespace.
33588 2014-06-18 Andreas Schwab <schwab@suse.de>
33590 * doc/md.texi (Standard Names): Use @itemx for grouped items.
33591 Remove blank line after @item.
33593 2014-06-18 Richard Henderson <rth@redhat.com>
33596 * config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM.
33598 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
33600 * config/arm/arm.c (neon_vector_mem_operand): Allow register
33601 POST_MODIFY for neon loads and stores.
33602 (arm_print_operand): Output post-index register for neon loads and
33605 2014-06-18 Richard Biener <rguenther@suse.de>
33607 * tree-ssa-dce.c (perform_tree_ssa_dce): Fixup bogus commit.
33609 2014-06-18 Richard Biener <rguenther@suse.de>
33611 * tree-pass.h (make_pass_dce_loop): Remove.
33612 * passes.def: Replace pass_dce_loop with pass_dce.
33613 * tree-ssa-dce.c (perform_tree_ssa_dce): If something
33614 changed free niter estimates and reset the scev cache.
33615 (tree_ssa_dce_loop, pass_data_dce_loop, pass_dce_loop,
33616 make_pass_dce_loop): Remove.
33617 * tree-ssa-copy.c: Include tree-ssa-loop-niter.h.
33618 (fini_copy_prop): Return whether something changed. Always
33619 let substitute_and_fold perform DCE and free niter estimates
33620 and reset the scev cache if so.
33621 (execute_copy_prop): If sth changed schedule cleanup-cfg.
33622 (pass_data_copy_prop): Do not unconditionally schedule
33623 cleanup-cfg or update-ssa.
33625 2014-06-18 Yuri Rumyantsev <ysrumyan@gmail.com>
33627 PR tree-optimization/61518
33628 * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
33629 reduction var is used in reduction stmt or phi-function only.
33631 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
33633 * config/arm/arm_neon.h (vadd_f32): Change #ifdef to __FAST_MATH.
33635 2014-06-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
33637 PR tree-optimization/61517
33638 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Adapt to return a stmt
33639 whose rhs's first tree is the source expression instead of the
33641 (find_bswap_or_nop): Likewise.
33642 (bsap_replace): Rename stmt in cur_stmt. Pass gsi by value and src as a
33643 gimple stmt whose rhs's first tree is the source. In the memory source
33644 case, move the stmt to be replaced close to one of the original load to
33645 avoid the problem of a store between the load and the stmt's original
33647 (pass_optimize_bswap::execute): Adapt to change in bswap_replace's
33650 2014-06-18 Andreas Schwab <schwab@suse.de>
33652 PR rtl-optimization/54555
33653 * postreload.c (move2add_use_add2_insn): Substitute
33654 STRICT_LOW_PART only if it is cheaper.
33656 2014-06-18 Uros Bizjak <ubizjak@gmail.com>
33658 * config/i386/i386.md (*sibcall_memory): Rename from *sibcall_intern.
33659 Do not use unspec as call operand. Use memory_operand instead of
33660 memory_nox32_operand and add "m" operand constraint. Disable
33661 pattern for TARGET_X32.
33662 (*sibcall_pop_memory): Ditto.
33663 (*sibcall_value_memory): Ditto.
33664 (*sibcall_value_pop_memory): Ditto.
33665 (sibcall peepholes): Merge SImode and DImode patterns using
33666 W mode iterator. Use memory_operand instead of memory_nox32_operand.
33667 Disable pattern for TARGET_X32. Check if eliminated register is
33668 really dead after call insn. Generate call RTX without unspec operand.
33669 (sibcall_value peepholes): Ditto.
33670 (sibcall_pop peepholes): Fix call insn RTXes. Use memory_operand
33671 instead of memory_nox32_operand. Check if eliminated register is
33672 really dead after call insn. Generate call RTX without unspec operand.
33673 (sibcall_value_pop peepholes): Ditto.
33674 * config/i386/predicates.md (memory_nox32_operand): Remove predicate.
33676 2014-06-18 Terry Guo <terry.guo@arm.com>
33679 * config/arm/arm.c (thumb1_reorg): Move to next basic block if we
33682 2014-06-18 Olivier Hainque <hainque@adacore.com>
33684 * tree-core.h (tree_block): Add an "end_locus" field, allowing
33685 memorization of the end of block source location.
33686 * tree.h (BLOCK_SOURCE_END_LOCATION): New accessor.
33687 * gimplify.c (gimplify_bind_expr): Propagate the block start and
33688 end source location info we have on the block entry/exit code we
33691 2014-06-18 Richard Biener <rguenther@suse.de>
33693 * common.opt (fssa-phiopt): New option.
33694 * opts.c (default_options_table): Enable -fssa-phiopt with -O1+
33696 * tree-ssa-phiopt.c (pass_phiopt): Add gate method.
33697 * doc/invoke.texi (-fssa-phiopt): Document.
33699 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
33701 * genattrtab.c (n_bypassed): New variable.
33702 (process_bypasses): Initialise n_bypassed.
33703 Count number of bypassed reservations.
33704 (make_automaton_attrs): Allocate space for bypassed reservations
33705 rather than number of bypasses.
33707 2014-06-18 Richard Biener <rguenther@suse.de>
33709 * tree-ssa-propagate.c (replace_phi_args_in): Return whether
33710 we propagated anything.
33711 (substitute_and_fold_dom_walker::before_dom_children): Something
33712 changed if we propagated into PHI arguments.
33713 * tree-ssa-pre.c (eliminate): Always schedule cfg-cleanup if
33716 2014-06-18 Evgeny Stupachenko <evstupac@gmail.com>
33718 * config/i386/i386.c (ix86_reassociation_width): Add alternative for
33720 * config/i386/i386.h (TARGET_VECTOR_PARALLEL_EXECUTION): New.
33721 * config/i386/x86-tune.def (X86_TUNE_VECTOR_PARALLEL_EXECUTION): New.
33722 * tree-vect-data-refs.c (vect_shift_permute_load_chain): New.
33723 Introduces alternative way of loads group permutaions.
33724 (vect_transform_grouped_load): Try alternative way of permutations.
33726 2014-06-18 Jakub Jelinek <jakub@redhat.com>
33728 * gimplify.c (omp_notice_variable): If n is non-NULL and no flags
33729 changed in ORT_TARGET region, don't jump to do_outer.
33730 (struct gimplify_adjust_omp_clauses_data): New type.
33731 (gimplify_adjust_omp_clauses_1): Adjust for data being
33732 a struct gimplify_adjust_omp_clauses_data pointer instead
33733 of tree *. Pass pre_p as a new argument to
33734 lang_hooks.decls.omp_finish_clause hook.
33735 (gimplify_adjust_omp_clauses): Add pre_p argument, adjust
33736 splay_tree_foreach to pass both list_p and pre_p.
33737 (gimplify_omp_parallel, gimplify_omp_task, gimplify_omp_for,
33738 gimplify_omp_workshare, gimplify_omp_target_update): Adjust
33739 gimplify_adjust_omp_clauses callers.
33740 * langhooks.c (lhd_omp_finish_clause): New function.
33741 * langhooks-def.h (lhd_omp_finish_clause): New prototype.
33742 (LANG_HOOKS_OMP_FINISH_CLAUSE): Define to lhd_omp_finish_clause.
33743 * langhooks.h (struct lang_hooks_for_decls): Add a new
33744 gimple_seq * argument to omp_finish_clause hook.
33745 * omp-low.c (scan_sharing_clauses): Call scan_omp_op on
33746 non-DECL_P OMP_CLAUSE_DECL if ctx->outer.
33747 (scan_omp_parallel, lower_omp_for): When adding
33748 _LOOPTEMP_ clause var, add it to outer ctx's decl_map as identity.
33749 * tree-core.h (OMP_CLAUSE_MAP_TO_PSET): New map kind.
33750 * tree-nested.c (convert_nonlocal_omp_clauses,
33751 convert_local_omp_clauses): Handle various OpenMP 4.0 clauses.
33752 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE_MAP_TO_PSET.
33754 2014-06-17 Andrew MacLeod <amacleod@redhat.com>
33756 * tree-dfa.h (get_addr_base_and_unit_offset_1): Move from here.
33757 * tree-dfa.c (get_addr_base_and_unit_offset_1): To here.
33759 2014-06-17 Xinliang David Li <davidxl@google.com>
33761 * tree-pretty-print.c (dump_function_header): Print cgraph uid.
33762 * passes.c (pass_init_dump_file): Do not set initialize
33763 flag to false unconditionally.
33765 2014-06-17 Richard Biener <rguenther@suse.de>
33767 * genopinit.c (main): Use vec<>::qsort method.
33768 * tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk):
33770 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Likewise.
33772 2014-06-17 Matthew Fortune <matthew.fortune@imgtec.com>
33774 * config/mips/mips-protos.h (mips_expand_fcc_reload): Remove.
33775 * config/mips/mips.c (mips_expand_fcc_reload): Remove.
33776 (mips_move_to_gpr_cost): Remove ST_REGS case.
33777 (mips_move_from_gpr_cost): Likewise.
33778 (mips_register_move_cost): Likewise.
33779 (mips_secondary_reload_class): Likewise.
33781 2014-06-17 Richard Biener <rguenther@suse.de>
33783 * passes.def (pass_all_early_optimizations): Remove copy-prop pass.
33784 (pass_all_optimizations): Move 3rd copy-prop pass from after
33785 fre to before ifcombine/phiopt.
33787 2014-06-17 Richard Biener <rguenther@suse.de>
33789 * tree-switch-conversion.c (collect_switch_conv_info): Simplify
33790 and allow all blocks to be forwarders.
33792 2014-06-17 Yufeng Zhang <yufeng.zhang@arm.com>
33795 * config/aarch64/aarch64.c (aarch64_layout_arg): Add new local
33796 variable 'size'; calculate 'size' right in the front; use
33797 'size' to compute 'nregs' (when 'allocate_ncrn != 0') and
33798 pcum->aapcs_stack_words.
33800 2014-06-17 Nick Clifton <nickc@redhat.com>
33802 * config/msp430/msp430.md (mulhisi3): Add a NOP after the DINT.
33803 (umulhi3, mulsidi3, umulsidi3): Likewise.
33805 2014-06-17 Thomas Schwinge <thomas@codesourcery.com>
33807 PR middle-end/61508
33808 * fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove
33809 check for section name.
33811 2014-06-17 Richard Biener <rguenther@suse.de>
33813 * tree-ssa-propagate.c: Include domwalk.h.
33814 (substitute_and_fold): Outline main worker into a domwalker ...
33815 (substitute_and_fold_dom_walker::before_dom_children): ... here.
33816 Schedule stmts we can fully propagate for removal. Remove
33818 (substitute_and_fold): Apply a dominator walk to perform
33819 substitution. Process stmts scheduled for removal here.
33821 2014-06-17 Richard Biener <rguenther@suse.de>
33823 * tree-ssa-loop-im.c (determine_max_movement): Adjust cost
33824 of PHI node moving.
33826 2014-06-17 Kugan Vivekanandarajah <kuganv@linaro.org>
33828 * config/arm/arm.c (arm_atomic_assign_expand_fenv): call
33829 default_atomic_assign_expand_fenv for !TARGET_HARD_FLOAT.
33830 (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
33831 __builtins_arm_get_fpscr only when TARGET_HARD_FLOAT.
33832 * config/arm/vfp.md (set_fpscr): Make pattern conditional on
33834 (get_fpscr) : Likewise.
33836 2014-06-16 Vladimir Makarov <vmakarov@redhat.com>
33838 PR rtl-optimization/61325
33839 * lra-constraints.c (valid_address_p): Add forward declaration.
33840 (simplify_operand_subreg): Check address validity before and after
33841 alter_reg of memory subreg.
33843 2014-06-16 Uros Bizjak <ubizjak@gmail.com>
33845 * config/i386/i386.c (decide_alg): Correctly handle
33846 maximum size of stringop algorithm.
33848 2014-06-16 Yury Gribov <y.gribov@samsung.com>
33850 * asan.c (build_check_stmt): Fix maybe-uninitialized warning.
33852 2014-06-16 Vladimir Makarov <vmakarov@redhat.com>
33854 PR rtl-optimization/61522
33855 * lra-assigns.c (assign_by_spills): Check null targetm.spill_class.
33857 2014-06-16 Jan Hubicka <hubicka@ucw.cz>
33860 * symtab.c (symtab_node::reset_section): New method.
33861 * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
33863 * cgraph.h (reset_section): Declare.
33864 * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
33865 do not consider comdat locals.
33866 * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
33868 * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
33869 (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
33870 reset sections of symbols dragged out of the comdats.
33871 (function_and_variable_visibility): Reset sections of
33874 2014-06-16 Richard Biener <rguenther@suse.de>
33876 PR tree-optimization/61482
33877 * tree-vrp.c (adjust_range_with_scev): Avoid setting of
33878 [-INF(OVF), +INF(OVF)] range.
33880 2014-06-16 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
33882 * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Issue
33883 instructions "vpmuludq" and "vpaddq" instead of "vpmacsdql" for
33884 handling 32-bit multiplication.
33886 2014-06-16 Chung-Lin Tang <cltang@codesourcery.com>
33888 PR middle-end/61430
33889 * lra-lives.c (process_bb_lives): Skip creating copy during
33890 insn scan when src/dest has constrained to same regno.
33892 2014-06-15 Jan Hubicka <hubicka@ucw.cz>
33894 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Check again
33895 DECL_IN_CONSTANT_POOL and TREE_ASM_WRITTEN.
33897 2014-06-16 Yury Gribov <y.gribov@samsung.com>
33899 * asan.c (check_func): New function.
33900 (maybe_create_ssa_name): Likewise.
33901 (build_check_stmt_with_calls): Likewise.
33902 (use_calls_p): Likewise.
33903 (report_error_func): Change interface.
33904 (build_check_stmt): Allow non-integer lengths; add support
33906 (asan_instrument): Likewise.
33907 (instrument_mem_region_access): Moved code to build_check_stmt.
33908 (instrument_derefs): Likewise.
33909 (instrument_strlen_call): Likewise.
33910 * cfgcleanup.c (old_insns_match_p): Add support for new functions.
33911 * doc/invoke.texi: Describe new parameter.
33912 * params.def: Define new parameter.
33913 * params.h: Likewise.
33914 * sanitizer.def: Describe new builtins.
33916 2014-06-16 Richard Biener <rguenther@suse.de>
33918 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
33919 Make all defs available at the end.
33920 (eliminate): If we remove a PHI node schedule cfg-cleanup.
33922 2014-06-18 Jakub Jelinek <jakub@redhat.com>
33925 * config.gcc (arm*-*-linux-*): Include vxworks-dummy.h in tm_file.
33927 2014-06-16 Richard Sandiford <rdsandiford@googlemail.com>
33930 * auto-inc-dec.c (merge_in_block): Fix location of insn_info
33931 initialization. Replace remaining use of uid.
33933 2014-06-15 Jan Hubicka <hubicka@ucw.cz>
33935 * c-family/c-common.c (handle_tls_model_attribute): Use
33936 set_decl_tls_model.
33937 * c-family/c-common.c (handle_tls_model_attribute): Use
33938 set_decl_tls_model.
33939 * cgraph.h (struct varpool_node): Add tls_model.
33940 * tree.c (decl_tls_model, set_decl_tls_model): New functions.
33941 * tree.h (DECL_TLS_MODEL): Update.
33942 (DECL_THREAD_LOCAL_P): Check that variable is static.
33943 (decl_tls_model): Declare.
33944 (set_decl_tls_model): Declare.
33945 * tree-emutls.c (get_emutls_init_templ_addr): First build decl and then
33946 set symbol prorperties.
33947 (get_emutls_init_templ_addr): Cleanup.
33948 (new_emutls_decl): Update.
33949 * lto-cgraph.c (lto_output_varpool_node): Stream TLS model
33950 (lto_input_varpool_node): Likewise.
33951 * lto-streamer-out.c (hash_tree): Likewise.
33952 * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
33953 not stream DECL_TLS_MODEL.
33954 * tree-profile.c (init_ic_make_global_vars): Use set_decl_tls_model.
33955 * tree-core.h (tree_decl_with_vis): Remove tls_model; update comments.
33957 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
33959 * df.h (DF_REF_REG_USE_P, DF_MWS_REG_USE_P): Remove null checks.
33961 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
33963 * df.h (df_mw_hardreg, df_base_ref): Add a link pointer.
33964 (df_insn_info): Turn defs, uses, eq_uses and mw_hardregs into linked
33966 (df_scan_bb_info): Likewise artificial_defs and artificial_uses.
33967 (DF_REF_NEXT_LOC, DF_MWS_NEXT): New macros.
33968 (FOR_EACH_INSN_INFO_DEF, FOR_EACH_INSN_INFO_USE)
33969 (FOR_EACH_INSN_INFO_EQ_USE, FOR_EACH_INSN_INFO_MW)
33970 (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF)
33971 (df_get_artificial_defs, df_get_artificial_uses)
33972 (df_single_def, df_single_use): Update accordingly.
33973 (df_refs_chain_dump): Take the first element in a linked list as
33974 parameter, rather than a pointer to an array of pointers.
33975 * df-core.c (df_refs_chain_dump, df_mws_dump): Likewise.
33976 * df-problems.c (df_rd_bb_local_compute_process_def): Likewise.
33977 (df_chain_create_bb_process_use): Likewise.
33978 (df_md_bb_local_compute_process_def): Likewise.
33979 * fwprop.c (process_defs, process_uses): Likewise.
33980 (register_active_defs, update_uses): Likewise.
33981 (forward_propagate_asm): Update for new df_ref linking.
33982 * df-scan.c (df_scan_free_ref_vec, df_scan_free_mws_vec): Delete.
33983 (df_null_ref_rec, df_null_mw_rec): Likewise.
33984 (df_scan_free_internal): Don't free df_ref and df_mw_hardreg lists
33986 (df_scan_free_bb_info): Remove check for null artificial_defs.
33987 (df_install_ref_incremental): Adjust for new df_ref linking.
33988 Use a single-element insertion rather than a full sort.
33989 (df_ref_chain_delete_du_chain): Take the first element
33990 in a linked list as parameter, rather than a pointer to an array of
33992 (df_ref_chain_delete, df_mw_hardreg_chain_delete): Likewise.
33993 (df_add_refs_to_table, df_refs_verify, df_mws_verify): Likewise.
33994 (df_insn_info_delete): Remove check for null defs and call to
33995 df_scan_free_mws_vec.
33996 (df_insn_rescan): Initialize df_ref and df_mw_hardreg lists to
33997 null rather than df_null_*_rec.
33998 (df_insn_rescan_debug_internal): Likewise, and update null
33999 checks in the same way. Remove check for null defs.
34000 (df_ref_change_reg_with_loc_1): Fix choice of list for defs.
34001 Move a single element rather doing a full sort.
34002 (df_mw_hardreg_chain_delete_eq_uses): Adjust for new df_mw_hardreg
34004 (df_notes_rescan): Likewise. Use a merge rather than a full sort.
34005 Initialize df_ref and df_mw_hardreg lists to null rather than
34007 (df_ref_compare): Take df_refs as parameter, transferring the
34008 old interface to...
34009 (df_ref_ptr_compare): ...this new function.
34010 (df_sort_and_compress_refs): Update accordingly.
34011 (df_mw_compare): Take df_mw_hardregs as parameter, transferring the
34012 old interface to...
34013 (df_mw_ptr_compare): ...this new function.
34014 (df_sort_and_compress_mws): Update accordingly.
34015 (df_install_refs, df_install_mws): Return a linked list rather than
34016 an array of pointers.
34017 (df_refs_add_to_chains): Assert that old lists are empty rather
34019 (df_insn_refs_verify): Don't handle null defs speciailly.
34020 * web.c (union_match_dups): Update for new df_ref linking.
34022 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
34024 * df.h (df_ref_create, df_ref_remove): Delete.
34025 * df-scan.c (df_ref_create, df_ref_compress_rec): Likewise.
34026 (df_ref_remove): Likewise.
34028 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
34030 * df.h (df_single_def, df_single_use): New functions.
34031 * ira.c (find_moveable_pseudos): Use them.
34033 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
34035 * df.h (FOR_EACH_INSN_INFO_MW): New macro.
34036 * df-problems.c (df_note_bb_compute): Use it.
34037 * regstat.c (regstat_bb_compute_ri): Likewise.
34039 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
34041 * df.h (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF): New macros.
34042 * cse.c (cse_extended_basic_block): Use them.
34043 * dce.c (mark_artificial_use): Likewise.
34044 * df-problems.c (df_rd_simulate_artificial_defs_at_top): Likewise.
34045 (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
34046 (df_chain_remove_problem, df_chain_bb_dump): Likewise.
34047 (df_word_lr_bb_local_compute, df_note_bb_compute): Likewise.
34048 (df_simulate_initialize_backwards): Likewise.
34049 (df_simulate_finalize_backwards): Likewise.
34050 (df_simulate_initialize_forwards): Likewise.
34051 (df_md_simulate_artificial_defs_at_top): Likewise.
34052 * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
34053 * regrename.c (init_rename_info): Likewise.
34054 * regstat.c (regstat_bb_compute_ri): Likewise.
34055 (regstat_bb_compute_calls_crossed): Likewise.
34057 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
34059 * df.h (DF_INSN_INFO_MWS, FOR_EACH_INSN_INFO_DEF): New macros.
34060 (FOR_EACH_INSN_INFO_USE, FOR_EACH_INSN_INFO_EQ_USE): Likewise.
34061 (FOR_EACH_INSN_DEF, FOR_EACH_INSN_USE, FOR_EACH_INSN_EQ_USE): Likewise.
34062 * auto-inc-dec.c (find_inc, merge_in_block): Use them.
34063 * combine.c (create_log_links): Likewise.
34064 * compare-elim.c (find_flags_uses_in_insn): Likewise.
34065 (try_eliminate_compare): Likewise.
34066 * cprop.c (make_set_regs_unavailable, mark_oprs_set): Likewise.
34067 * dce.c (deletable_insn_p, find_call_stack_args): Likewise.
34068 (remove_reg_equal_equiv_notes_for_defs): Likewise.
34069 (reset_unmarked_insns_debug_uses, mark_reg_dependencies): Likewise.
34070 (word_dce_process_block, dce_process_block): Likewise.
34071 * ddg.c (def_has_ccmode_p): Likewise.
34072 * df-core.c (df_bb_regno_first_def_find): Likewise.
34073 (df_bb_regno_last_def_find, df_find_def, df_find_use): Likewise.
34074 * df-problems.c (df_rd_simulate_one_insn): Likewise.
34075 (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
34076 (df_chain_remove_problem, df_chain_insn_top_dump): Likewise.
34077 (df_chain_insn_bottom_dump, df_word_lr_bb_local_compute): Likewise.
34078 (df_word_lr_simulate_defs, df_word_lr_simulate_uses): Likewise.
34079 (df_remove_dead_eq_notes, df_note_bb_compute): Likewise.
34080 (df_simulate_find_defs, df_simulate_find_uses): Likewise.
34081 (df_simulate_find_noclobber_defs, df_simulate_defs): Likewise.
34082 (df_simulate_uses, df_md_simulate_one_insn): Likewise.
34083 * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
34084 * fwprop.c (local_ref_killed_between_p): Likewise.
34085 (all_uses_available_at, free_load_extend): Likewise.
34086 * gcse.c (update_bb_reg_pressure, calculate_bb_reg_pressure): Likewise.
34087 * hw-doloop.c (scan_loop): Likewise.
34088 * ifcvt.c (dead_or_predicable): Likewise.
34089 * init-regs.c (initialize_uninitialized_regs): Likewise.
34090 * ira-lives.c (mark_hard_reg_early_clobbers): Likewise.
34091 (process_bb_node_lives): Likewise.
34092 * ira.c (compute_regs_asm_clobbered, build_insn_chain): Likewise.
34093 (find_moveable_pseudos): Likewise.
34094 * loop-invariant.c (check_dependencies, record_uses): Likewise.
34095 * recog.c (peep2_find_free_register): Likewise.
34096 * ree.c (get_defs): Likewise.
34097 * regstat.c (regstat_bb_compute_ri): Likewise.
34098 (regstat_bb_compute_calls_crossed): Likewise.
34099 * sched-deps.c (find_inc, find_mem): Likewise.
34100 * sel-sched-ir.c (maybe_downgrade_id_to_use): Likewise.
34101 (maybe_downgrade_id_to_use, setup_id_reg_sets): Likewise.
34102 * shrink-wrap.c (requires_stack_frame_p): Likewise.
34103 (prepare_shrink_wrap): Likewise.
34104 * store-motion.c (compute_store_table, build_store_vectors): Likewise.
34105 * web.c (union_defs, pass_web::execute): Likewise.
34106 * config/i386/i386.c (increase_distance, insn_defines_reg): Likewise.
34107 (insn_uses_reg_mem, ix86_ok_to_clobber_flags): Likewise.
34109 2014-06-13 Vladimir Makarov <vmakarov@redhat.com>
34111 * lra-assign.c (assign_by_spills): Add code to assign vector regs
34112 to inheritance pseudos.
34113 * config/i386/i386.c (ix86_spill_class): Add check on NO_REGS.
34115 2014-06-13 Peter Bergner <bergner@vnet.ibm.com>
34118 * config/rs6000/rs6000-builtin.def (BU_MISC_1): Delete.
34119 (BU_MISC_2): Rename to ...
34120 (BU_LDBL128_2): ... this.
34121 * config/rs6000/rs6000.h (RS6000_BTM_LDBL128): New define.
34122 (RS6000_BTM_COMMON): Add RS6000_BTM_LDBL128.
34123 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
34124 RS6000_BTM_LDBL128.
34125 (rs6000_invalid_builtin): Add long double 128-bit builtin support.
34126 (rs6000_builtin_mask_names): Add RS6000_BTM_LDBL128.
34127 * config/rs6000/rs6000.md (unpacktf_0): Remove define)expand.
34128 (unpacktf_1): Likewise.
34129 * doc/extend.texi (__builtin_longdouble_dw0): Remove documentation.
34130 (__builtin_longdouble_dw1): Likewise.
34131 * doc/sourcebuild.texi (longdouble128): Document.
34133 2014-06-13 Jeff Law <law@redhat.com>
34135 PR rtl-optimization/61094
34136 PR rtl-optimization/61446
34137 * ree.c (combine_reaching_defs): Get the mode for the copy from
34138 the extension insn rather than the defining insn.
34140 2014-06-13 Dehao Chen <dehao@google.com>
34142 * dwarf2out.c (add_linkage_name): Emit more linkage name.
34144 2014-06-13 Thomas Schwinge <thomas@codesourcery.com>
34146 * doc/install.texi (--enable-linker-plugin-configure-flags)
34147 (--enable-linker-plugin-flags): Document new flags.
34149 2014-06-13 Martin Jambor <mjambor@suse.cz>
34152 * ipa-devirt.c (possible_polymorphic_call_targets): Store NULL to
34153 cache_token if returning early.
34155 2014-06-13 Nick Clifton <nickc@redhat.com>
34157 * config/rx/rx.h (JUMP_ALIGN): Return the log value if user
34158 requested alignment is active.
34159 (LABEL_ALIGN): Likewise.
34160 (LOOP_ALIGN): Likewise.
34162 2014-06-13 Richard Biener <rguenther@suse.de>
34164 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
34165 Rewrite to propagate the VN result into all uses where
34166 possible and to remove stmts becoming dead because of that.
34167 (eliminate): Generalize stmt removal handling, remove in
34168 reverse dominator order to support proper debug stmt
34169 generation. Update stmts before removing stmts.
34170 * tree-ssa-propagate.c (propagate_tree_value): Remove bogus assert.
34172 2014-06-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
34174 PR tree-optimization/61375
34175 * tree-ssa-math-opts.c (init_symbolic_number): Cancel optimization if
34176 symbolic number cannot be represented in an uint64_t.
34177 (find_bswap_or_nop_1): Likewise.
34179 2014-06-12 Jan Hubicka <hubicka@ucw.cz>
34181 * symtab.c (symtab_node::reset_section): New method.
34182 * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
34184 * cgraph.h (reset_section): Declare.
34185 * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
34186 do not consider comdat locals.
34187 * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
34189 * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
34190 (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
34191 reset sections of symbols dragged out of the comdats.
34192 (function_and_variable_visibility): Reset sections of
34195 2014-06-12 Jan Hubicka <hubicka@ucw.cz>
34197 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Reorg
34198 to use symtab and decl_binds_to_current_def_p
34199 * tree-vectorizer.c (increase_alignment): Increase alignment
34200 of alias target, too.
34202 2014-06-12 Jakub Jelinek <jakub@redhat.com>
34204 PR middle-end/61486
34205 * gimplify.c (struct gimplify_omp_ctx): Add distribute field.
34206 (gimplify_adjust_omp_clauses): Don't or in GOVD_LASTPRIVATE
34207 if outer combined construct is distribute.
34208 (gimplify_omp_for): For OMP_DISTRIBUTE set
34209 gimplify_omp_ctxp->distribute.
34210 * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: For
34211 GIMPLE_OMP_TEAMS, if decl isn't global in outer context, record
34212 mapping into decl map.
34214 2014-06-12 Jason Merrill <jason@redhat.com>
34216 * common.opt (fabi-version): Change default to 0.
34218 2014-06-12 Jason Merrill <jason@redhat.com>
34220 * toplev.c (process_options): Reject -fabi-version=1.
34222 2014-06-12 Jeff Law <law@redhat.com>
34224 PR tree-optimization/61009
34225 * tree-ssa-threadedge.c (thread_through_normal_block): Correct return
34226 value when we stop processing a block due to problematic PHIs.
34228 2014-06-12 Alan Lawrence <alan.lawrence@arm.com>
34230 * config/aarch64/arm_neon.h (vmlaq_n_f64, vmlsq_n_f64, vrsrtsq_f64,
34231 vcge_p8, vcgeq_p8, vcgez_p8, vcgez_u8, vcgez_u16, vcgez_u32, vcgez_u64,
34232 vcgezq_p8, vcgezq_u8, vcgezq_u16, vcgezq_u32, vcgezq_u64, vcgezd_u64,
34233 vcgt_p8, vcgtq_p8, vcgtz_p8, vcgtz_u8, vcgtz_u16, vcgtz_u32, vcgtz_u64,
34234 vcgtzq_p8, vcgtzq_u8, vcgtzq_u16, vcgtzq_u32, vcgtzq_u64, vcgtzd_u64,
34235 vcle_p8, vcleq_p8, vclez_p8, vclez_u64, vclezq_p8, vclezd_u64, vclt_p8,
34236 vcltq_p8, vcltz_p8, vcltzq_p8, vcltzd_u64): Remove functions as they
34237 are not in the spec.
34239 2014-06-10 Alan Lawrence <alan.lawrence@arm.com>
34242 * config/aarch64/aarch64-modes.def: Add V1DFmode.
34243 * config/aarch64/aarch64.c (aarch64_vector_mode_supported_p):
34246 2014-06-12 Eric Botcazou <ebotcazou@adacore.com>
34248 * tree-core.h (DECL_NONALIASED): Use proper spelling in comment.
34250 2014-06-12 Georg-Johann Lay <avr@gjlay.de>
34253 * config/avr/avr.md (push<mode>1): Avoid (subreg(mem)) when
34254 loading from address spaces.
34256 2014-06-12 Martin Liska <mliska@suse.cz>
34259 * ipa-prop.c (ipa_make_edge_direct_to_target): Check that gimple call
34260 statement is reachable.
34262 2014-06-11 Jan Hubicka <hubicka@ucw.cz>
34264 * symtab.c (section_hash): New hash.
34265 (symtab_unregister_node): Clear section before freeing.
34266 (hash_section_hash_entry): New haser.
34267 (eq_sections): New function.
34268 (symtab_node::set_section_for_node): New method.
34269 (set_section_1): Update.
34270 (symtab_node::set_section): Take string instead of tree as parameter.
34271 (symtab_resolve_alias): Update.
34272 * cgraph.h (section_hash_entry_d): New structure.
34273 (section_hash_entry): New typedef.
34274 (cgraph_node): Change comdat_group_ to x_comdat_group,
34275 change section_ to x_section and turn into section_hash_entry;
34276 update accestors; put set_section_for_node offline.
34277 * tree.c (decl_section_name): Turn into string.
34278 (set_decl_section_name): Change parameter to be string.
34279 * tree.h (decl_section_name, set_decl_section_name): Update prototypes.
34280 * sdbout.c (sdbout_one_type): Update.
34281 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Update.
34282 * varasm.c (IN_NAMED_SECTION, get_named_section,
34283 resolve_unique_section, hot_function_section, get_named_text_section,
34284 USE_SELECT_SECTION_FOR_FUNCTIONS, default_function_rodata_section,
34285 make_decl_rtl, default_unique_section): Update.
34286 * config/c6x/c6x.c (c6x_in_small_data_p): Update.
34287 (c6x_elf_unique_section): Update.
34288 * config/nios2/nios2.c (nios2_in_small_data_p): Update.
34289 * config/pa/pa.c (pa_function_section): Update.
34290 * config/pa/pa.h (IN_NAMED_SECTION_P): Update.
34291 * config/ia64/ia64.c (ia64_in_small_data_p): Update.
34292 * config/arc/arc.c (arc_in_small_data_p): Update.
34293 * config/arm/unknown-elf.h (IN_NAMED_SECTION_P): Update.
34294 * config/mcore/mcore.c (mcore_unique_section): Update.
34295 * config/mips/mips.c (mips16_build_function_stub): Update.
34296 (mips16_build_call_stub): Update.
34297 (mips_function_rodata_section): Update.
34298 (mips_in_small_data_p): Update.
34299 * config/score/score.c (score_in_small_data_p): Update.
34300 * config/rx/rx.c (rx_in_small_data): Update.
34301 * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Update.
34302 (rs6000_xcoff_asm_named_section): Update.
34303 (rs6000_xcoff_unique_section): Update.
34304 * config/frv/frv.c (frv_string_begins_with): Update.
34305 (frv_in_small_data_p): Update.
34306 * config/v850/v850.c (v850_encode_data_area): Update.
34307 * config/bfin/bfin.c (DECL_SECTION_NAME): Update.
34308 (bfin_handle_l1_data_attribute): Update.
34309 (bfin_handle_l2_attribute): Update.
34310 * config/mep/mep.c (mep_unique_section): Update.
34311 * config/microblaze/microblaze.c (microblaze_elf_in_small_data_p):
34313 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute): Update.
34314 (h8300_handle_tiny_data_attribute): Update.
34315 * config/m32r/m32r.c (m32r_in_small_data_p): Update.
34316 (m32r_in_small_data_p): Update.
34317 * config/alpha/alpha.c (alpha_in_small_data_p): Update.
34318 * config/i386/i386.c (ix86_in_large_data_p): Update.
34319 * config/i386/winnt.c (i386_pe_unique_section): Update.
34320 * config/darwin.c (darwin_function_section): Update.
34321 * config/lm32/lm32.c (lm32_in_small_data_p): Update.
34322 * tree-emutls.c (get_emutls_init_templ_addr): Update.
34323 (new_emutls_decl): Update.
34324 * lto-cgraph.c (lto_output_node, input_node, input_varpool_node,
34325 input_varpool_node): Update.
34326 (ead_string_cst): Turn to ...
34327 (read_string): ... this one.
34328 * dwarf2out.c (secname_for_decl): Update.
34329 * asan.c (asan_protect_global): Update.
34331 2014-06-11 DJ Delorie <dj@redhat.com>
34333 * config/rx/rx.h (FUNCTION_BOUNDARY): Adjust for RX100/200 4-byte
34335 * config/rx/rx.c (rx_option_override): Likewise.
34336 (rx_align_for_label): Likewise.
34338 * config/rx/rx.c (rx_max_skip_for_label): Don't skip anything if -Os.
34340 2014-06-11 Maciej W. Rozycki <macro@codesourcery.com>
34342 * config/mmix/mmix-protos.h (mmix_asm_output_source_line): Remove
34345 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
34347 * common.md: New file.
34348 * doc/md.texi: Update description of generic, machine-independent
34350 * config/s390/constraints.md (e): Delete.
34351 * Makefile.in (md_file): Include common.md.
34352 * config/m32c/t-m32c (md_file): Likewise.
34353 * genpreds.c (general_mem): New array.
34354 (generic_constraint_letters): Remove constraints now defined by
34356 (add_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
34357 Allow the first character to be '<' or '>' as well.
34358 * genoutput.c (general_mem): New array.
34359 (indep_constraints): Remove constraints now defined by common.md.
34360 (note_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
34361 Remove special handling of 'm'.
34362 * ira-costs.c (record_reg_classes): Remove special handling of
34363 constraints now defined by common.md.
34364 * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
34365 * ira-lives.c (single_reg_class): Likewise.
34366 (ira_implicitly_set_insn_hard_regs): Likewise.
34367 * lra-constraints.c (reg_class_from_constraints): Likewise.
34368 (process_alt_operands, process_address, curr_insn_transform): Likewise.
34369 * postreload.c (reload_cse_simplify_operands): Likewise.
34370 * reload.c (push_secondary_reload, scratch_reload_class)
34371 (find_reloads, alternative_allows_const_pool_ref): Likewise.
34372 * reload1.c (maybe_fix_stack_asms): Likewise.
34373 * targhooks.c (default_secondary_reload): Likewise.
34374 * stmt.c (parse_output_constraint): Likewise.
34375 * recog.c (preprocess_constraints): Likewise.
34376 (constrain_operands, peep2_find_free_register): Likewise.
34377 (asm_operand_ok): Likewise, but add a comment saying why 'o'
34378 must be handled specially.
34380 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
34382 * system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison.
34383 * genpreds.c (have_const_dbl_constraints): Delete.
34384 (add_constraint): Don't set it.
34385 (write_tm_preds_h): Don't call CONST_DOUBLE_OK_FOR_CONSTRAINT_P.
34386 * ira-costs.c (record_reg_classes): Handle CONST_INT and CONST_DOUBLE
34387 constraints using the lookup_constraint logic.
34388 * ira-lives.c (single_reg_class): Likewise.
34389 * ira.c (ira_setup_alts): Likewise.
34390 * lra-constraints.c (process_alt_operands): Likewise.
34391 * recog.c (asm_operand_ok, constrain_operands): Likewise.
34392 * reload.c (find_reloads): Likewise.
34394 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
34396 * genpreds.c (const_int_start, const_int_end): New variables.
34397 (choose_enum_order): Output CONST_INT constraints before memory
34399 (write_tm_preds_h): Always define insn_const_int_ok_for_constraint.
34401 * ira-costs.c (record_reg_classes): Handle CT_CONST_INT.
34402 * ira.c (ira_setup_alts): Likewise.
34403 * lra-constraints.c (process_alt_operands): Likewise.
34404 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
34405 * reload.c (find_reloads): Likewise.
34407 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
34409 * recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok,
34410 decmem_ok and incmem_ok. Reformat other bitfields for consistency.
34411 * recog.c (preprocess_constraints): Update accordingly.
34413 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
34415 * system.h (REG_CLASS_FROM_CONSTRAINT): Poison.
34416 (REG_CLASS_FOR_CONSTRAINT, EXTRA_CONSTRAINT_STR): Likewise.
34417 (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Likewise.
34418 * genpreds.c (print_type_tree): New function.
34419 (write_tm_preds_h): Remove REG_CLASS_FROM_CONSTRAINT,
34420 REG_CLASS_FOR_CONSTRAINT, EXTRA_MEMORY_CONSTRAINT,
34421 EXTRA_ADDRESS_CONSTRAINT and EXTRA_CONSTRAINT_STR.
34422 Write out enum constraint_type and get_constraint_type.
34423 * lra-constraints.c (satisfies_memory_constraint_p): Take a
34424 constraint_num rather than a constraint string.
34425 (satisfies_address_constraint_p): Likewise.
34426 (reg_class_from_constraints): Avoid old constraint macros.
34427 (process_alt_operands, process_address_1): Likewise.
34428 (curr_insn_transform): Likewise.
34429 * ira-costs.c (record_reg_classes): Likewise.
34430 (record_operand_costs): Likewise.
34431 * ira-lives.c (single_reg_class): Likewise.
34432 (ira_implicitly_set_insn_hard_regs): Likewise.
34433 * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
34434 * postreload.c (reload_cse_simplify_operands): Likewise.
34435 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
34436 (constrain_operands, peep2_find_free_register): Likewise.
34437 * reload.c (push_secondary_reload, scratch_reload_class): Likewise.
34438 (find_reloads, alternative_allows_const_pool_ref): Likewise.
34439 * reload1.c (maybe_fix_stack_asms): Likewise.
34440 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
34441 * targhooks.c (default_secondary_reload): Likewise.
34442 * config/m32c/m32c.c (m32c_matches_constraint_p): Avoid reference
34443 to EXTRA_CONSTRAINT_STR.
34444 * config/sparc/constraints.md (U): Likewise REG_CLASS_FROM_CONSTRAINT.
34446 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
34448 * genpreds.c (write_constraint_satisfied_p_1): Replace with...
34449 (write_constraint_satisfied_p_array): ...this new function.
34450 (write_tm_preds_h): Replace write_constraint_satisfied_p_1 with
34452 (write_insn_preds_c): Update accordingly.
34454 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
34456 * genpreds.c (write_lookup_constraint): Rename to...
34457 (write_lookup_constraint_1): ...this.
34458 (write_lookup_constraint_array): New function.
34459 (write_tm_preds_h): Define lookup_constraint as an inline function
34460 that uses write_lookup_constraint_array where possible.
34461 (write_insn_preds_c): Update for the changes above.
34463 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
34465 * doc/md.texi (regclass_for_constraint): Rename to...
34466 (reg_class_for_constraint): ...this.
34467 * genpreds.c (num_constraints, enum_order, register_start)
34468 (register_end, satisfied_start, memory_start, memory_end)
34469 (address_start, address_end): New variables.
34470 (add_constraint): Count the number of constraints.
34471 (choose_enum_order): New function.
34472 (write_enum_constraint_num): Iterate over enum_order.
34473 (write_regclass_for_constraint): Rename to...
34474 (write_reg_class_for_constraint_1): ...this and update output
34476 (write_constraint_satisfied_p): Rename to...
34477 (write_constraint_satisfied_p_1): ...this and update output
34478 accordingly. Do nothing if all extra constraints are register
34480 (write_insn_extra_memory_constraint): Delete.
34481 (write_insn_extra_address_constraint): Delete.
34482 (write_range_function): New function.
34483 (write_tm_preds_h): Define constraint_satisfied_p and
34484 reg_class_for_constraint as inline functions that do a range check
34485 before calling the out-of-line function. Use write_range_function
34486 to implement insn_extra_{register,memory,address}_constraint,
34487 the first of which is new.
34488 (write_insn_preds_c): Update after above changes to write_* functions.
34489 (main): Call choose_enum_order.
34491 2014-06-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
34493 PR tree-optimization/61306
34494 * tree-ssa-math-opts.c (struct symbolic_number): Store type of
34495 expression instead of its size.
34496 (do_shift_rotate): Adapt to change in struct symbolic_number. Return
34497 false to prevent optimization when the result is unpredictable due to
34498 arithmetic right shift of signed type with highest byte is set.
34499 (verify_symbolic_number_p): Adapt to change in struct symbolic_number.
34500 (init_symbolic_number): Likewise.
34501 (find_bswap_or_nop_1): Likewise. Return NULL to prevent optimization
34502 when the result is unpredictable due to sign extension.
34504 2014-06-11 Terry Guo <terry.guo@arm.com>
34506 * config/arm/arm.md (*thumb1_adddi3): Move into new file thumb1.md.
34507 (*thumb1_addsi3): Ditto.
34508 (*thumb_subdi3): Ditto.
34509 (thumb1_subsi3_insn): Ditto.
34510 (*thumb_mulsi3): Ditto.
34511 (*thumb_mulsi3_v6): Ditto.
34512 (*thumb1_andsi3_insn): Ditto.
34513 (thumb1_bicsi3): Ditto.
34514 (*thumb1_iorsi3_insn): Ditto.
34515 (*thumb1_xorsi3_insn): Ditto.
34516 (*thumb1_ashlsi3): Ditto.
34517 (*thumb1_ashrsi3): Ditto.
34518 (*thumb1_lshrsi3): Ditto.
34519 (*thumb1_rotrsi3): Ditto.
34520 (*thumb1_negdi2): Ditto.
34521 (*thumb1_negsi2): Ditto.
34522 (*thumb1_abssi2): Ditto.
34523 (*thumb1_neg_abssi2): Ditto.
34524 (*thumb1_one_cmplsi2): Ditto.
34525 (*thumb1_zero_extendhisi2): Ditto.
34526 (*thumb1_zero_extendqisi2): Ditto.
34527 (*thumb1_zero_extendqisi2_v6): Ditto.
34528 (thumb1_extendhisi2): Ditto.
34529 (thumb1_extendqisi2): Ditto.
34530 (*thumb1_movdi_insn): Ditto.
34531 (*thumb1_movsi_insn): Ditto.
34532 (*thumb1_movhi_insn): Ditto.
34533 (thumb_movhi_clobber): Ditto.
34534 (*thumb1_movqi_insn): Ditto.
34535 (*thumb1_movhf): Ditto.
34536 (*thumb1_movsf_insn): Ditto.
34537 (*thumb_movdf_insn): Ditto.
34538 (movmem12b): Ditto.
34540 (cbranchqi4): Ditto.
34541 (cbranchsi4_insn): Ditto.
34542 (cbranchsi4_scratch): Ditto.
34543 (*negated_cbranchsi4): Ditto.
34544 (*tbit_cbranch): Ditto.
34545 (*tlobits_cbranch): Ditto.
34546 (*tstsi3_cbranch): Ditto.
34547 (*cbranchne_decr1): Ditto.
34548 (*addsi3_cbranch): Ditto.
34549 (*addsi3_cbranch_scratch): Ditto.
34550 (*thumb_cmpdi_zero): Ditto.
34551 (cstoresi_eq0_thumb1): Ditto.
34552 (cstoresi_ne0_thumb1): Ditto.
34553 (*cstoresi_eq0_thumb1_insn): Ditto.
34554 (*cstoresi_ne0_thumb1_insn): Ditto.
34555 (cstoresi_nltu_thumb1): Ditto.
34556 (cstoresi_ltu_thumb1): Ditto.
34557 (thumb1_addsi3_addgeu): Ditto.
34558 (*thumb_jump): Ditto.
34559 (*call_reg_thumb1_v5): Ditto.
34560 (*call_reg_thumb1): Ditto.
34561 (*call_value_reg_thumb1_v5): Ditto.
34562 (*call_value_reg_thumb1): Ditto.
34563 (*call_insn): Ditto.
34564 (*call_value_insn): Ditto.
34565 (thumb1_casesi_internal_pic): Ditto.
34566 (thumb1_casesi_dispatch): Ditto.
34567 (*thumb1_indirect_jump): Ditto.
34568 (prologue_thumb1_interwork): Ditto.
34569 (*epilogue_insns): Ditto.
34570 (consttable_1): Ditto.
34571 (consttable_2): Ditto.
34572 (tablejump): Ditto.
34573 (*thumb1_tablejump): Ditto.
34574 (thumb_eh_return): Ditto.
34575 (define_peephole2): Two of them are thumb1 only and got moved into
34576 new file thumb1.md.
34577 (define_split): Six of them are thumb1 only and got moved into new
34579 * config/arm/thumb1.md: New file comprised of above thumb1 only
34582 2014-06-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34584 * config.gcc (aarch64*-*-*): Add arm_acle.h to extra headers.
34585 * Makefile.in (TEXI_GCC_FILES): Add aarch64-acle-intrinsics.texi to
34587 * config/aarch64/aarch64-builtins.c (AARCH64_CRC32_BUILTINS): Define.
34588 (aarch64_crc_builtin_datum): New struct.
34589 (aarch64_crc_builtin_data): New.
34590 (aarch64_init_crc32_builtins): New function.
34591 (aarch64_init_builtins): Initialise CRC32 builtins when appropriate.
34592 (aarch64_crc32_expand_builtin): New.
34593 (aarch64_expand_builtin): Add CRC32 builtin expansion case.
34594 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
34595 __ARM_FEATURE_CRC32 when appropriate.
34596 (TARGET_CRC32): Define.
34597 * config/aarch64/aarch64.md (UNSPEC_CRC32B, UNSPEC_CRC32H,
34598 UNSPEC_CRC32W, UNSPEC_CRC32X, UNSPEC_CRC32CB, UNSPEC_CRC32CH,
34599 UNSPEC_CRC32CW, UNSPEC_CRC32CX): New unspec values.
34600 (aarch64_<crc_variant>): New pattern.
34601 * config/aarch64/arm_acle.h: New file.
34602 * config/aarch64/iterators.md (CRC): New int iterator.
34603 (crc_variant, crc_mode): New int attributes.
34604 * doc/aarch64-acle-intrinsics.texi: New file.
34605 * doc/extend.texi (aarch64): Document aarch64 ACLE intrinsics.
34606 Include aarch64-acle-intrinsics.texi.
34608 2014-06-11 Evgeny Stupachenko <evstupac@gmail.com>
34610 * tree-vect-data-refs.c (vect_grouped_store_supported): New
34611 check for stores group of length 3.
34612 (vect_permute_store_chain): New permutations for stores group of
34614 * tree-vect-stmts.c (vect_model_store_cost): Change cost
34615 of vec_perm_shuffle for the new permutations.
34617 2014-06-11 Jan Hubicka <hubicka@ucw.cz>
34619 * ipa-visibility.c (function_and_variable_visibility): Disable virtual
34620 table rewriting temporarily on targets not supporting ONE_ONLY.
34622 2014-06-11 Richard Biener <rguenther@suse.de>
34624 PR middle-end/61437
34626 2014-06-04 Richard Biener <rguenther@suse.de>
34628 * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
34629 TREE_PUBLIC and DECL_EXTERNAL decls.
34631 2014-06-10 Jan Hubicka <hubicka@ucw.cz>
34633 * varasm.c (set_implicit_section): New function.
34634 (resolve_unique_section): Use it to set implicit section
34636 (get_named_text_section): Use symtab_get_node (decl)->implicit_section
34637 (default_function_section): Likewise.
34638 (decl_binds_to_current_def_p): Constify argument.
34639 * varasm.h (decl_binds_to_current_def_p): Update prototype.
34640 * asan.c (asan_protect_global): Use
34641 symtab_get_node (decl)->implicit_section.
34642 * symtab.c (dump_symtab_base): Dump implicit sections.
34643 (verify_symtab_base): Verify sanity of sectoins and comdats.
34644 (symtab_resolve_alias): Alias share the section of its target.
34645 (set_section_1): New function.
34646 (symtab_node::set_section): Move here, recurse to aliases.
34647 (verify_symtab): Check for duplicated symtab lists.
34648 * tree-core.h (implicit_section_name_p): Remove.
34649 * tree-vect-data-refs.c: Include varasm.h.
34650 (vect_can_force_dr_alignment_p): Fix conditional on when
34651 decl bints to current definition; use
34652 symtab_get_node (decl)->implicit_section.
34653 * cgraph.c (cgraph_make_node_local_1): Fix section set.
34654 * cgraph.h (struct symtab_node): Add implicit_section.
34655 (set_section): Rename to ...
34656 (set_section_for_node): ... this one.
34657 (set_section): Declare.
34658 * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): Remove.
34659 * lto-cgraph.c (lto_output_node, lto_output_varpool_node,
34660 input_overwrite_node, input_varpool_node): Stream implicit_section.
34661 * ipa.c (symtab_remove_unreachable_nodes): Do not check symtab before
34662 removal; it will fail in LTO.
34664 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34666 * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>):
34667 Change second alternative type to f_mcr.
34668 * config/aarch64/aarch64.md (*movsi_aarch64): Change 11th
34669 and 12th alternatives' types to f_mcr and f_mrc.
34670 (*movdi_aarch64): Same for 12th and 13th alternatives.
34671 (*movsf_aarch64): Change 9th alternatives' type to mov_reg.
34672 (aarch64_movtilow_tilow): Change type to fmov.
34674 2014-06-10 Jiong Wang <jiong.wang@arm.com>
34676 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs)
34677 (aarch64_save_or_restore_callee_save_registers): Fix layout.
34679 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34681 * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_lane<mode>):
34683 (aarch64_sqrdmulh_lane<mode>): Likewise.
34684 (aarch64_sq<r>dmulh_lane<mode>): Rename to...
34685 (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
34686 (aarch64_sqdmulh_laneq<mode>): New expander.
34687 (aarch64_sqrdmulh_laneq<mode>): Likewise.
34688 (aarch64_sq<r>dmulh_laneq<mode>): Rename to...
34689 (aarch64_sq<r>dmulh_laneq<mode>_internal): ...this.
34690 (aarch64_sqdmulh_lane<mode>): New expander.
34691 (aarch64_sqrdmulh_lane<mode>): Likewise.
34692 (aarch64_sq<r>dmulh_lane<mode>): Rename to...
34693 (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
34694 (aarch64_sqdmlal_lane<mode>): Add lane flip for big-endian.
34695 (aarch64_sqdmlal_laneq<mode>): Likewise.
34696 (aarch64_sqdmlsl_lane<mode>): Likewise.
34697 (aarch64_sqdmlsl_laneq<mode>): Likewise.
34698 (aarch64_sqdmlal2_lane<mode>): Likewise.
34699 (aarch64_sqdmlal2_laneq<mode>): Likewise.
34700 (aarch64_sqdmlsl2_lane<mode>): Likewise.
34701 (aarch64_sqdmlsl2_laneq<mode>): Likewise.
34702 (aarch64_sqdmull_lane<mode>): Likewise.
34703 (aarch64_sqdmull_laneq<mode>): Likewise.
34704 (aarch64_sqdmull2_lane<mode>): Likewise.
34705 (aarch64_sqdmull2_laneq<mode>): Likewise.
34707 2014-06-10 Richard Biener <rguenther@suse.de>
34709 PR tree-optimization/61438
34710 * tree-ssa-pre.c (eliminate_dom_walker): Add do_pre member.
34711 (eliminate_dom_walker::before_dom_children): Only try to inhibit
34712 insertion of IVs if running PRE.
34713 (eliminate): Adjust.
34714 (pass_pre::execute): Likewise.
34715 (pass_fre::execute): Likewise.
34717 2014-06-10 Richard Biener <rguenther@suse.de>
34719 PR middle-end/61456
34720 * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p):
34721 Do not use the main variant for the type comparison.
34722 (ncr_compar): Likewise.
34723 (nonoverlapping_component_refs_p): Likewise.
34725 2014-06-10 Marcus Shawcroft <marcus.shawcroft@arm.com>
34727 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix
34728 REG_CFA_RESTORE mode.
34730 2014-06-10 Evgeny Stupachenko <evstupac@gmail.com>
34732 * config/i386/i386.c (expand_vec_perm_pblendv): New.
34733 * config/i386/i386.c (ix86_expand_vec_perm_const_1): Use
34734 expand_vec_perm_pblendv.
34736 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
34738 * doc/arm-acle-intrinsics.texi: Specify when CRC32 intrinsics are
34740 Simplify description of __crc32d and __crc32cd intrinsics.
34741 * doc/extend.texi (ARM ACLE Intrinsics): Remove comment about CRC32
34744 2014-06-10 Thomas Schwinge <thomas@codesourcery.com>
34747 * configure.ac: Use gcc_AC_CHECK_DECLS to check for strnlen prototype.
34748 * config.in: Regenerate.
34749 * configure: Likewise.
34751 2014-06-10 Jan Hubicka <hubicka@ucw.cz>
34753 * ipa-reference.c (is_proper_for_analysis): Exclude addressable
34755 (intersect_static_var_sets): Remove.
34756 (propagate): Do not prune local statics.
34758 2014-06-10 Jakub Jelinek <jakub@redhat.com>
34761 * omp-low.c (lower_rec_input_clauses) <case OMP_CLAUSE_LASTPRIVATE>:
34762 Set lastprivate_firstprivate even if omp_private_outer_ref
34763 langhook returns true.
34764 <case OMP_CLAUSE_REDUCTION>: When calling omp_clause_default_ctor
34765 langhook, call unshare_expr on new_var and call
34766 build_outer_var_ref to get the last argument.
34768 2014-06-10 Marek Polacek <polacek@redhat.com>
34771 * doc/extend.texi: Add cindex for transparent_union.
34773 2014-06-09 Thomas Preud'homme <thomas.preudhomme@arm.com>
34775 * tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of
34776 init_symbolic_number ().
34778 2014-05-18 John David Anglin <danglin@gcc.gnu.org>
34780 PR middle-end/61141
34781 * emit-rtl.c (reset_all_used_flags): In a sequence, check that
34782 XVECEXP (pat, 0, i) is an INSN before calling reset_insn_used_flags.
34783 (verify_rtl_sharing): Likewise.
34785 2014-06-09 Marc Glisse <marc.glisse@inria.fr>
34788 * tree.c (build_qualified_type): Use a canonical type for
34791 2014-06-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
34793 * config/arm/arm-modes.def: Remove XFmode.
34795 2014-06-09 Alan Lawrence <alan.lawrence@arm.com>
34798 * config/arm/arm_neon.h (vtrn_s8, vtrn_s16, vtrn_u8, vtrn_u16, vtrn_p8,
34799 vtrn_p16, vtrn_s32, vtrn_f32, vtrn_u32, vtrnq_s8, vtrnq_s16, vtrnq_s32,
34800 vtrnq_f32, vtrnq_u8, vtrnq_u16, vtrnq_u32, vtrnq_p8, vtrnq_p16,
34801 vzip_s8, vzip_s16, vzip_u8, vzip_u16, vzip_p8, vzip_p16, vzip_s32,
34802 vzip_f32, vzip_u32, vzipq_s8, vzipq_s16, vzipq_s32, vzipq_f32,
34803 vzipq_u8, vzipq_u16, vzipq_u32, vzipq_p8, vzipq_p16, vuzp_s8, vuzp_s16,
34804 vuzp_s32, vuzp_f32, vuzp_u8, vuzp_u16, vuzp_u32, vuzp_p8, vuzp_p16,
34805 vuzpq_s8, vuzpq_s16, vuzpq_s32, vuzpq_f32, vuzpq_u8, vuzpq_u16,
34806 vuzpq_u32, vuzpq_p8, vuzpq_p16): Correct mask for bigendian.
34808 2014-06-09 Jan Hubicka <hubicka@ucw.cz>
34810 * tree-core.h (tree_decl_with_vis): Remove section_name.
34812 2014-06-09 Kito Cheng <kito@0xlab.org>
34814 * ira.c (ira): Don't call init_caller_save if LRA enabled
34815 since LRA use its own infrastructure to handle that.
34817 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
34819 * symtab.c (dump_symtab_base): Update dumping.
34820 (symtab_make_decl_local): Clear only DECL_COMDAT.
34821 * tree-vect-data-refs.c (Check that variable is static before
34822 tampering with sections.
34823 * cgraphclones.c (duplicate_thunk_for_node): Do not clear section name.
34824 (cgraph_create_virtual_clone): Likewise.
34825 * tree.c (decl_comdat_group, decl_comdat_group_id): Constify argument.
34826 (decl_section_name, set_decl_section_name): New accessors.
34827 (find_decls_types_r): Do not walk section name
34828 * tree.h (DECL_SECTION_NAME): Implement using decl_section_name.
34829 (decl_comdat_group, decl_comdat_group_id): Constify.
34830 (decl_section_name, set_decl_section_name): Update.
34831 * varpool.c (varpool_finalize_named_section_flags): Use get_section.
34832 * cgraph.c (cgraph_add_thunk): Reset node instead of rebuilding.
34833 (cgraph_make_node_local_1): Clear section and comdat group.
34834 * cgraph.h (set_comdat_group): Sanity check.
34835 (get_section, set_section): New.
34836 * ipa-comdats.c (ipa_comdats): Use get_section.
34837 * ipa.c (ipa_discover_readonly_nonaddressable_var): Likewise.
34838 * lto-streamer-out.c: Do not follow section names.
34839 * c-family/c-common.c (handle_section_attribute): Update.
34840 * lto-cgraph.c (lto_output_node): Output section.
34841 (lto_output_varpool_node): Likewise.
34842 (read_comdat_group): Rename to ...
34843 (read_identifier): ... this one.
34844 (read_string_cst): New function.
34845 (input_node, input_varpool_node): Input section names.
34846 * tree-emutls.c (get_emutls_init_templ_addr): Update.
34847 (new_emutls_decl): Update.
34848 (secname_for_decl): Check section names only of static vars.
34849 * config/mep/mep.c (mep_unique_section): Use set_decl_section_name.
34850 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
34851 * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
34852 * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
34853 * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Likewise.
34854 * config/mcore/mcore.c (mcore_unique_section): Likewise.
34855 * config/mips/mips.c (mips16_build_function_stub): Likewise.
34856 * config/v850/v850.c (v850_insert_attributes): Likewise.
34857 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
34859 (h8300_handle_tiny_data_attribute): Likewise.
34860 * config/bfin/bfin.c (bfin_handle_l1_text_attribute): Likewise.
34861 (bfin_handle_l2_attribute): Likewise.
34863 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
34865 * symtab.c (symtab_nonoverwritable_alias): Copy VIRTUAL flag;
34866 remove static initializer.
34868 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
34870 * varasm.c (use_blocks_for_decl_p): Check symbol table
34871 instead of alias attribute.
34872 (place_block_symbol): Recurse on aliases.
34874 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
34876 * ipa-visibility.c: Include varasm.h
34877 (can_replace_by_local_alias): Ceck decl_binds_to_current_def_p.
34879 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
34881 * cgraphunit.c (assemble_thunks_and_aliases): Expand thunks before
34882 outputting aliases.
34884 2014-06-07 Steven Bosscher <steven@gcc.gnu.org>
34886 * gcse.c (can_assign_to_reg_without_clobbers_p): Do not let pointers
34887 from test_insn into GGC space escape via SET_SRC.
34889 2014-06-07 Eric Botcazou <ebotcazou@adacore.com>
34891 * tree-ssa-tail-merge.c (same_succ_hash): Hash the static chain of a
34892 call statement, if any.
34893 (gimple_equal_p) <GIMPLE_CALL>: Compare the static chain of the call
34894 statements, if any. Tidy up.
34896 2014-06-06 Michael Meissner <meissner@linux.vnet.ibm.com>
34899 * config/rs6000/vsx.md (VSX_LE): Split VSX_D into 2 separate
34900 iterators, VSX_D that handles 64-bit types, and VSX_LE that
34901 handles swapping the two 64-bit double words on little endian
34902 systems. Include V1TImode and optionally TImode in VSX_LE so that
34903 these types are properly swapped. Change all of the insns and
34904 splits that do the 64-bit swaps to use VSX_LE.
34905 (vsx_le_perm_load_<mode>): Likewise.
34906 (vsx_le_perm_store_<mode>): Likewise.
34907 (splitters for little endian memory operations): Likewise.
34908 (vsx_xxpermdi2_le_<mode>): Likewise.
34909 (vsx_lxvd2x2_le_<mode>): Likewise.
34910 (vsx_stxvd2x2_le_<mode>): Likewise.
34912 2014-06-06 Uros Bizjak <ubizjak@gmail.com>
34915 * config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New
34916 define_insn_and_split pattern, merged from *floatunssi<mode>2_1
34917 and corresponding splitters. Zero extend general register
34918 or memory input operand to XMM temporary. Enable for
34919 TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
34920 (floatunssi<mode>2): Update expander predicate.
34922 2014-06-06 Vladimir Makarov <vmakarov@redhat.com>
34924 PR rtl-optimization/61325
34925 * lra-constraints.c (process_address_1): Check scale equal to one
34926 to prevent transformation: base + scale * index => base + new_reg.
34928 2014-06-06 Richard Biener <rguenther@suse.de>
34930 PR tree-optimization/59299
34931 * tree-ssa-sink.c (all_immediate_uses_same_place): Work on
34933 (nearest_common_dominator_of_uses): Likewise.
34934 (statement_sink_location): Adjust. Support sinking loads.
34936 2014-06-06 Martin Jambor <mjambor@suse.cz>
34938 * ipa-prop.c (get_place_in_agg_contents_list): New function.
34939 (build_agg_jump_func_from_list): Likewise.
34940 (determine_known_aggregate_parts): Renamed to
34941 determine_locally_known_aggregate_parts. Moved some functionality
34942 to the two functions above, removed bound checks.
34944 2014-06-06 James Greenhalgh <james.greenhalgh@arm.com>
34946 * config/aarch64/aarch64-protos.h (aarch64_expand_movmem): New.
34947 * config/aarch64/aarch64.c (aarch64_move_pointer): New.
34948 (aarch64_progress_pointer): Likewise.
34949 (aarch64_copy_one_part_and_move_pointers): Likewise.
34950 (aarch64_expand_movmen): Likewise.
34951 * config/aarch64/aarch64.h (MOVE_RATIO): Set low.
34952 * config/aarch64/aarch64.md (movmem<mode>): New.
34954 2014-06-06 Bingfeng Mei <bmei@broadcom.com>
34956 * targhooks.c (default_add_stmt_cost): Call target specific
34957 hook instead of default one.
34959 2014-06-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
34961 * ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target
34962 endianness instead of host endianness.
34963 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise in dumps and
34966 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
34969 * function.c (instantiate_decls): Process the saved static chain.
34970 (expand_function_start): If not optimizing, save the static chain
34972 * tree-nested.c (convert_all_function_calls): Always create the static
34973 chain for nested functions if not optimizing.
34975 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
34977 * tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge.
34979 2014-06-06 Richard Biener <rguenther@suse.de>
34981 * cfgexpand.c (expand_gimple_cond): Remove check for current_loops.
34982 (construct_init_block): Likewise.
34983 (construct_exit_block): Likewise.
34984 (pass_expand::execute): Likewise.
34985 * graphite.c (graphite_transforms): Replace check for current_loops
34986 with a check for > 1 loops.
34987 (pass_graphite_transforms::execute): Adjust.
34988 * ipa-split.c (split_function): Remove check for current_loops.
34989 * omp-low.c (expand_parallel_call): Likewise.
34990 (expand_omp_for_init_counts): Likewise.
34991 (extract_omp_for_update_vars): Likewise.
34992 (expand_omp_for_generic): Likewise.
34993 (expand_omp_sections): Likewise.
34994 (expand_omp_target): Likewise.
34995 * tracer.c (tail_duplicate): Likewise.
34996 (pass_tracer::execute): Likewise.
34997 * trans-mem.c (expand_transaction): Likewise.
34998 * tree-complex.c (expand_complex_div_wide): Likewise.
34999 * tree-eh.c (lower_resx): Likewise.
35000 (cleanup_empty_eh_merge_phis): Likewise.
35001 * tree-predcom.c (run_tree_predictive_commoning): Replace check for
35002 current_loops with a check for > 1 loops.
35003 (pass_predcom::execute): Adjust.
35004 * tree-scalar-evolution.c (scev_reset): Remove check for current_loops.
35005 * tree-ssa-copy.c (copy_prop_visit_phi_node): Likewise.
35006 * tree-ssa-dom.c (pass_phi_only_cprop::execute): Likewise.
35007 * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise.
35008 * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise.
35009 * tree-switch-conversion.c (process_switch): Likewise.
35010 * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
35011 * tree-vrp.c (vrp_visit_phi_node): Likewise.
35012 (execute_vrp): Likewise.
35013 * ubsan.c (ubsan_expand_null_ifn): Likewise.
35015 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
35017 * rtl.h (insn_location): Declare.
35018 * cfgcleanup.c (try_forward_edges): Compare the locus of locations
35019 with UNKNOWN_LOCATION.
35020 * emit-rtl.c (insn_location): New function.
35021 * final.c (notice_source_line): Check that the instruction has a
35022 location before retrieving it and use insn_location.
35023 * modulo-sched.c (loop_single_full_bb_p): Likewise.
35024 * print-rtl.c (print_rtx): Likewise.
35026 2014-06-06 Richard Biener <rguenther@suse.de>
35028 * passes.def: Move 2nd VRP pass before phi-only-cprop.
35030 2014-06-06 Christian Bruel <christian.bruel@st.com>
35032 PR tree-optimization/43934
35033 * tree-ssa-loop-im.c (determine_max_movement): Add PHI def constant
35036 2014-06-06 Richard Sandiford <rdsandiford@googlemail.com>
35038 * ira-lives.c (single_reg_class): Add missing break. Explicitly
35039 return NO_REGS for extra address and memory constraints. Handle
35040 operands that match (or are equivalent to something that matches)
35041 extra constant constraints. Ignore other non-register operands.
35043 2014-06-06 Alan Modra <amodra@gmail.com>
35046 * doc/tm.texi.in (INCOMING_REG_PARM_STACK_SPACE): Document.
35047 * doc/tm.texi: Regenerate.
35048 * function.c (INCOMING_REG_PARM_STACK_SPACE): Provide default.
35049 Use throughout in place of REG_PARM_STACK_SPACE.
35050 * config/rs6000/rs6000.c (rs6000_reg_parm_stack_space): Add
35051 "incoming" param. Pass to rs6000_function_parms_need_stack.
35052 (rs6000_function_parms_need_stack): Add "incoming" param, ignore
35053 prototype_p when incoming. Use function decl when incoming
35054 to handle K&R style functions.
35055 * config/rs6000/rs6000.h (REG_PARM_STACK_SPACE): Adjust.
35056 (INCOMING_REG_PARM_STACK_SPACE): Define.
35058 2014-06-05 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
35061 * cfgexpand.c (expand_debug_expr): Use address space of nested
35062 TREE_TYPE for ADDR_EXPR and MEM_REF.
35064 2014-06-05 Jeff Law <law@redhat.com>
35066 PR tree-optimization/61289
35067 * tree-ssa-threadedge.c (invalidate_equivalences): Remove SRC_MAP and
35068 DST_MAP parameters. Invalidate by walking all the SSA_NAME_VALUES
35069 looking for those which match LHS. All callers changed.
35070 (record_temporary_equivalences_from_phis): Remove SRC_MAP and DST_MAP
35071 parameters and code which manipulated them. All callers changed.
35072 (record_temporary_equivalences_from_stmts_at_dest): Remove SRC_MAP
35073 and DST_MAP parameters. Simplify invalidation code by just calling
35074 invalidate_equivalences. All callers changed.
35075 (thread_across_edge): Simplify now that we don't need to maintain
35076 the map of equivalences to invalidate.
35078 2014-06-05 Kai Tietz <ktietz@redhat.com>
35079 Richard Henderson <rth@redhat.com>
35082 * config/i386/predicates.md (memory_nox32_operand): Add memory_operand
35083 checking for !TARGET_X32.
35084 * config/i386/i386.md (UNSPEC_PEEPSIB): New unspec constant.
35085 (sibcall_intern): New define_insn, plus required peepholes.
35086 (sibcall_pop_intern): Likewise.
35087 (sibcall_value_intern): Likewise.
35088 (sibcall_value_pop_intern): Likewise.
35090 2014-06-05 Ilya Enkovich <ilya.enkovich@intel.com>
35092 * tree-inline.c (tree_function_versioning): Check DF info existence
35093 before accessing it.
35095 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
35097 * config/aarch64/aarch64.h (aarch64_frame): Add hard_fp_offset and
35099 * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize
35100 aarch64_frame hard_fp_offset and frame_size.
35101 (aarch64_expand_prologue): Use aarch64_frame hard_fp_offset and
35102 frame_size; remove original_frame_size.
35103 (aarch64_expand_epilogue, aarch64_final_eh_return_addr): Likewise.
35104 (aarch64_initial_elimination_offset): Remove frame_size and
35105 offset. Use aarch64_frame frame_size.
35107 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
35108 Jiong Wang <jiong.wang@arm.com>
35109 Renlin <renlin.li@arm.com>
35111 * config/aarch64/aarch64.c (aarch64_layout_frame): Correct
35112 initialization of R30 offset. Update offset. Iterate core
35113 regisers upto X30. Remove X29, X30 specific code.
35115 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
35116 Jiong Wang <jiong.wang@arm.com>
35118 * config/aarch64/aarch64.c (SLOT_NOT_REQUIRED, SLOT_REQUIRED): Define.
35119 (aarch64_layout_frame): Use SLOT_NOT_REQUIRED and SLOT_REQUIRED.
35120 (aarch64_register_saved_on_entry): Adjust test.
35122 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
35124 * config/aarch64/aarch64.h (machine_function): Move
35125 saved_varargs_size from here...
35126 (aarch64_frame): ... to here.
35128 * config/aarch64/aarch64.c (aarch64_expand_prologue)
35129 (aarch64_expand_epilogue, aarch64_final_eh_return_addr)
35130 (aarch64_initial_elimination_offset)
35131 (aarch64_setup_incoming_varargs): Adjust location of
35132 saved_varargs_size.
35134 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
35136 * config/aarch64/aarch64.c (aarch64_expand_prologue): Update stack
35139 2014-06-05 Jaydeep Patil <Jaydeep.Patil@imgtec.com>
35140 Prachi Godbole <Prachi.Godbole@imgtec.com>
35142 * config/mips/mips-cpus.def: Add definition for p5600. Updated
35143 mips32r5 entry to use PROCESSOR_P5600.
35144 * config/mips/mips-tables.opt: Regenerate.
35145 * config/mips/mips-protos.h (mips_fmadd_bypass): Add prototype.
35146 * config/mips/mips.c (mips_fmadd_bypass): New function.
35147 (mips_rtx_cost_data): Add costs for p5600.
35148 (mips_issue_rate): Add support for p5600.
35149 (mips_multipass_dfa_lookahead): Likewise.
35150 * config/mips/mips.h (TUNE_P5600): New define.
35151 (TUNE_MACC_CHAINS): Add TUNE_P5600.
35152 (MIPS_ISA_LEVEL_SPEC): Map -march=p5600 to -mips32r5.
35153 * config/mips/mips.md: Include p5600.md.
35154 (processor): Add p5600.
35155 * config/mips/p5600.md: New file.
35157 2014-06-05 Evgeny Stupachenko <evstupac@gmail.com>
35159 * config/i386/sse.md (*ssse3_palignr<mode>_perm): New.
35160 * config/i386/predicates.md (palignr_operand): New.
35161 Indicates if permutation is suitable for palignr instruction.
35163 2014-06-05 Yuri Rumyantsev <ysrumyan@gmail.com>
35165 PR tree-optimization/61319
35166 * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
35167 stmt belongs to loop.
35169 2014-06-05 Richard Biener <rguenther@suse.de>
35171 * gimplify.c (create_tmp_from_val): Remove is_formal parameter
35172 and set DECL_GIMPLE_REG_P unconditionally if appropriate.
35173 (lookup_tmp_var): Adjust.
35174 (prepare_gimple_addressable): Unset DECL_GIMPLE_REG_P here.
35176 2014-06-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
35178 * config/arm/arm.md (enabled): Disable opt_enabled attribute.
35180 2014-06-05 Marek Polacek <polacek@redhat.com>
35183 * doc/invoke.texi: Document -Wlogical-not-parentheses.
35185 2014-06-04 Tom de Vries <tom@codesourcery.com>
35187 * config/s390/s390.md ("addptrdi3", "addptrsi3"): Use INTVAL only on
35190 2014-06-04 Marc Glisse <marc.glisse@inria.fr>
35192 PR tree-optimization/61385
35193 * tree-ssa-phiopt.c (value_replacement): Punt if there are PHI nodes.
35195 2014-06-04 Bernd Schmidt <bernds@codesourcery.com>
35197 * lto-wrapper.c (fatal, fatal_perror): Remove functions. All callers
35198 changed to use fatal_error.
35199 (main): Ensure lto_wrapper_cleanup is run atexit.
35201 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
35203 * lra-constraints.c (valid_address_p): Move earlier in file.
35204 (address_eliminator): New structure.
35205 (satisfies_memory_constraint_p): New function.
35206 (satisfies_address_constraint_p): Likewise.
35207 (process_alt_operands, process_address, curr_insn_transform): Use them.
35209 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
35211 * lra-int.h (lra_static_insn_data): Make operand_alternative a
35213 (target_lra_int, default_target_lra_int, this_target_lra_int)
35214 (op_alt_data): Delete.
35215 * lra.h (lra_init): Delete.
35216 * lra.c (default_target_lra_int, this_target_lra_int): Delete.
35217 (init_insn_code_data_once): Remove op_alt_data handling.
35218 (finish_insn_code_data_once): Likewise.
35219 (init_op_alt_data): Delete.
35220 (get_static_insn_data): Initialize operand_alternative to null.
35221 (free_insn_recog_data): Cast operand_alternative before freeing it.
35222 (setup_operand_alternative): Take the operand_alternative as
35223 parameter and assume it isn't already cached in the static
35225 (lra_set_insn_recog_data): Update accordingly.
35226 (lra_init): Delete.
35227 * ira.c (ira_init): Don't call lra_init.
35228 * target-globals.h (this_target_lra_int): Declare.
35229 (target_globals): Remove lra_int.
35230 (restore_target_globals): Update accordingly.
35231 * target-globals.c: Don't include lra-int.h.
35232 (default_target_globals, save_target_globals): Remove lra_int.
35234 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
35236 * recog.h (operand_alternative): Convert reg_class, reject,
35237 matched and matches into bitfields.
35238 (preprocess_constraints): New overload.
35239 (preprocess_insn_constraints): New function.
35240 (preprocess_constraints): Take the insn as parameter.
35241 (recog_op_alt): Change into a pointer.
35242 (target_recog): Add x_op_alt.
35243 * recog.c (asm_op_alt): New variable.
35244 (recog_op_alt): Change into a pointer.
35245 (preprocess_constraints): New overload, replacing the old function
35246 definition with one that doesn't use global state.
35247 (preprocess_insn_constraints): New function.
35248 (preprocess_constraints): Use them. Take the insn as parameter.
35249 Use asm_op_alt for asms.
35250 (recog_init): Free existing x_op_alt entries.
35251 * ira-lives.c (check_and_make_def_conflict): Make operand_alternative
35253 (make_early_clobber_and_input_conflicts): Likewise.
35254 (process_bb_node_lives): Pass the insn to process_constraints.
35255 * reg-stack.c (check_asm_stack_operands): Likewise.
35256 (subst_asm_stack_regs): Likewise.
35257 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
35258 * regrename.c (build_def_use): Likewise.
35259 * sched-deps.c (sched_analyze_insn): Likewise.
35260 * sel-sched.c (get_reg_class, implicit_clobber_conflict_p): Likewise.
35261 * config/arm/arm.c (xscale_sched_adjust_cost): Likewise.
35262 (note_invalid_constants): Likewise.
35263 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
35264 (ix86_legitimate_combined_insn): Make operand_alternative pointer
35267 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
35269 * recog.c (preprocess_constraints): Don't skip disabled alternatives.
35270 * ira-lives.c (check_and_make_def_conflict): Check for disabled
35272 (make_early_clobber_and_input_conflicts): Likewise.
35273 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
35275 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
35277 * recog.h (alternative_class): New function.
35278 (which_op_alt): Return a const recog_op_alt.
35279 * reg-stack.c (check_asm_stack_operands): Update type accordingly.
35280 (subst_asm_stack_regs): Likewise.
35281 * config/arm/arm.c (note_invalid_constants): Likewise.
35282 * regcprop.c (copyprop_hardreg_forward_1): Likewise. Don't modify
35283 the operand_alternative; use alternative class instead.
35284 * sel-sched.c (get_reg_class): Likewise.
35285 * regrename.c (build_def_use): Likewise.
35286 (hide_operands, restore_operands, record_out_operands): Update type
35289 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
35291 * recog.h (recog_op_alt): Convert to a flat array.
35292 (which_op_alt): New function.
35293 * recog.c (recog_op_alt): Convert to a flat array.
35294 (preprocess_constraints): Update accordingly, grouping all
35295 operands of the same alternative together, rather than the
35297 * ira-lives.c (check_and_make_def_conflict): Likewise.
35298 (make_early_clobber_and_input_conflicts): Likewise.
35299 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
35300 * reg-stack.c (check_asm_stack_operands): Use which_op_alt.
35301 (subst_asm_stack_regs): Likewise.
35302 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
35303 * regrename.c (hide_operands, record_out_operands): Likewise.
35304 (build_def_use): Likewise.
35305 * sel-sched.c (get_reg_class): Likewise.
35306 * config/arm/arm.c (note_invalid_constants): Likewise.
35308 2014-06-04 Jason Merrill <jason@redhat.com>
35312 * gimplify.c (gimplify_arg): Non-static.
35313 * gimplify.h: Declare it.
35315 2014-06-04 Richard Biener <rguenther@suse.de>
35317 * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
35318 TREE_PUBLIC and DECL_EXTERNAL decls.
35320 2014-06-04 Matthew Fortune <matthew.fortune@imgtec.com>
35322 * regcprop.c (copyprop_hardreg_forward_1): Account for
35323 HARD_REGNO_CALL_PART_CLOBBERED.
35325 2014-06-04 Richard Biener <rguenther@suse.de>
35327 * configure.ac: Check whether the underlying type of int64_t
35328 is long or long long.
35329 * configure: Regenerate.
35330 * config.in: Likewise.
35331 * hwint.h (HOST_WIDE_INT): Match the underlying type of int64_t.
35332 (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
35334 2014-06-04 Richard Biener <rguenther@suse.de>
35336 PR tree-optimization/60098
35337 * tree-ssa-dse.c (dse_possible_dead_store_p): Walk until
35339 (dse_optimize_stmt): Simplify, now that we found a kill
35342 2014-06-04 Richard Biener <rguenther@suse.de>
35344 * tree-ssa-alias.c (stmt_may_clobber_ref_p): Improve handling
35345 of accesses with non-invariant address.
35347 2014-06-04 Martin Liska <mliska@suse.cz>
35349 * cgraph.h (cgraph_make_wrapper): New function introduced.
35350 * cgraphunit.c (cgraph_make_wrapper): The function implementation.
35351 * ipa-inline.h (inline_analyze_function): The function is global.
35352 * ipa-inline-analysis.c (inline_analyze_function): Likewise.
35354 2014-06-04 Martin Liska <mliska@suse.cz>
35356 * tree.h (private_lookup_attribute_starting): New function.
35357 (lookup_attribute_starting): Likewise.
35358 * tree.c (private_lookup_attribute_starting): Likewise.
35360 2014-06-04 Martin Liska <mliska@suse.cz>
35362 * cgraph.h (expand_thunk): New argument added.
35363 (address_taken_from_non_vtable_p): New global function.
35364 * ipa-visibility.c (address_taken_from_non_vtable_p): Likewise.
35365 * cgraphclones.c (duplicate_thunk_for_node): Argument added to call.
35366 * cgraphunit.c (analyze_function): Likewise.
35367 (assemble_thunks_and_aliases): Argument added to call.
35368 (expand_thunk): New argument forces to produce GIMPLE thunk.
35370 2014-06-04 Martin Liska <mliska@suse.cz>
35372 * coverage.h (coverage_compute_cfg_checksum): Argument added.
35373 * coverage.c (coverage_compute_cfg_checksum): Likewise.
35374 * profile.c (branch_prob): Likewise.
35376 2014-06-04 Martin Jambor <mjambor@suse.cz>
35379 * ipa-pure-const.c (propagate_pure_const): Add unreachable default
35380 handler for switch on an ipa_ref_use enum.
35381 * ipa-reference.c (analyze_function): Likewise.
35383 2014-06-04 Kai Tietz <ktietz@redhat.com>
35385 * recog.c (peep2_attempt): Copy SIBLING_CALL_P flag
35386 from old call-instruction.
35388 2014-06-04 Bin Cheng <bin.cheng@arm.com>
35390 * config/aarch64/aarch64.c (aarch64_classify_address)
35391 (aarch64_legitimize_reload_address): Support full addressing modes
35393 * config/aarch64/aarch64.md (mov<mode>, movmisalign<mode>)
35394 (*aarch64_simd_mov<mode>, *aarch64_simd_mov<mode>): Relax predicates.
35396 2014-06-03 Andrew Pinski <apinski@cavium.com>
35398 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Allow non comparisons
35401 2014-06-03 Andrew Pinski <apinski@cavium.com>
35403 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): New function.
35404 (aarch64_rtx_costs): Use aarch64_if_then_else_costs.
35406 2014-06-03 Kai Tietz <ktietz@redhat.com>
35408 * config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG
35411 2014-06-03 Dehao Chen <dehao@google.com>
35413 * tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in
35416 2014-06-03 Marek Polacek <polacek@redhat.com>
35419 * doc/invoke.texi: Document -Wswitch-bool.
35420 * function.c (stack_protect_epilogue): Cast controlling expression of
35422 * gengtype.c (walk_type): Generate switch expression with its
35423 controlling expression cast to int.
35425 2014-06-03 Vishnu K S <Vishnu.k_s@atmel.com>
35427 * config/avr/avr-mcus.def: Add new avr25 devices attiny441, attiny828
35429 * config/avr/avr-tables.opt: Regenerate.
35430 * config/avr/t-multilib: Regenerate.
35431 * doc/avr-mmcu.texi: Regenerate.
35433 2014-06-03 Vishnu K S <vishnu.k_s@atmel.com>
35434 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
35436 * config/avr/avr-mcus.def (ata6616c): Add new avr25 device.
35437 (ata6617c, ata664251): Add new avr35 devices.
35438 (ata6612c): Add new avr4 device.
35439 (ata6613c, ata6614q): Add new avr5 devices.
35440 * config/avr/avr-tables.opt: Regenerate.
35441 * config/avr/t-multilib: Regenerate.
35442 * doc/avr-mmcu.texi: Regenerate.
35444 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
35446 * gcc/config/aarch64/aarch64-builtins.c
35447 (aarch64_types_binop_ssu_qualifiers): New static data.
35448 (TYPES_BINOP_SSU): Define.
35449 * gcc/config/aarch64/aarch64-simd-builtins.def (suqadd, ushl, urshl,
35450 urshr_n, ushll_n): Use appropriate unsigned qualifiers.
35451 * gcc/config/aarch64/arm_neon.h (vrshl_u8, vrshl_u16, vrshl_u32,
35452 vrshl_u64, vrshlq_u8, vrshlq_u16, vrshlq_u32, vrshlq_u64, vrshld_u64,
35453 vrshr_n_u8, vrshr_n_u16, vrshr_n_u32, vrshr_n_u64, vrshrq_n_u8,
35454 vrshrq_n_u16, vrshrq_n_u32, vrshrq_n_u64, vrshrd_n_u64, vshll_n_u8,
35455 vshll_n_u16, vshll_n_u32, vuqadd_s8, vuqadd_s16, vuqadd_s32,
35456 vuqadd_s64, vuqaddq_s8, vuqaddq_s16, vuqaddq_s32, vuqaddq_s64,
35457 vuqaddb_s8, vuqaddh_s16, vuqadds_s32, vuqaddd_s64): Add signedness
35458 suffix to builtin function name, remove cast.
35459 (vshl_s8, vshl_s16, vshl_s32, vshl_s64, vshl_u8, vshl_u16, vshl_u32,
35460 vshl_u64, vshlq_s8, vshlq_s16, vshlq_s32, vshlq_s64, vshlq_u8,
35461 vshlq_u16, vshlq_u32, vshlq_u64, vshld_s64, vshld_u64): Remove cast.
35463 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
35465 * gcc/config/aarch64/aarch64-builtins.c
35466 (aarch64_types_binop_uus_qualifiers,
35467 aarch64_types_shift_to_unsigned_qualifiers,
35468 aarch64_types_unsigned_shiftacc_qualifiers): Define.
35469 * gcc/config/aarch64/aarch64-simd-builtins.def (uqshl, uqrshl, uqadd,
35470 uqsub, usqadd, usra_n, ursra_n, uqshrn_n, uqrshrn_n, usri_n, usli_n,
35471 sqshlu_n, uqshl_n): Update qualifiers.
35472 * gcc/config/aarch64/arm_neon.h (vqadd_u8, vqadd_u16, vqadd_u32,
35473 vqadd_u64, vqaddq_u8, vqaddq_u16, vqaddq_u32, vqaddq_u64, vqsub_u8,
35474 vqsub_u16, vqsub_u32, vqsub_u64, vqsubq_u8, vqsubq_u16, vqsubq_u32,
35475 vqsubq_u64, vqaddb_u8, vqaddh_u16, vqadds_u32, vqaddd_u64, vqrshl_u8,
35476 vqrshl_u16, vqrshl_u32, vqrshl_u64, vqrshlq_u8, vqrshlq_u16,
35477 vqrshlq_u32, vqrshlq_u64, vqrshlb_u8, vqrshlh_u16, vqrshls_u32,
35478 vqrshld_u64, vqrshrn_n_u16, vqrshrn_n_u32, vqrshrn_n_u64,
35479 vqrshrnh_n_u16, vqrshrns_n_u32, vqrshrnd_n_u64, vqshl_u8, vqshl_u16,
35480 vqshl_u32, vqshl_u64, vqshlq_u8, vqshlq_u16, vqshlq_u32, vqshlq_u64,
35481 vqshlb_u8, vqshlh_u16, vqshls_u32, vqshld_u64, vqshl_n_u8, vqshl_n_u16,
35482 vqshl_n_u32, vqshl_n_u64, vqshlq_n_u8, vqshlq_n_u16, vqshlq_n_u32,
35483 vqshlq_n_u64, vqshlb_n_u8, vqshlh_n_u16, vqshls_n_u32, vqshld_n_u64,
35484 vqshlu_n_s8, vqshlu_n_s16, vqshlu_n_s32, vqshlu_n_s64, vqshluq_n_s8,
35485 vqshluq_n_s16, vqshluq_n_s32, vqshluq_n_s64, vqshlub_n_s8,
35486 vqshluh_n_s16, vqshlus_n_s32, vqshlud_n_s64, vqshrn_n_u16,
35487 vqshrn_n_u32, vqshrn_n_u64, vqshrnh_n_u16, vqshrns_n_u32,
35488 vqshrnd_n_u64, vqsubb_u8, vqsubh_u16, vqsubs_u32, vqsubd_u64,
35489 vrsra_n_u8, vrsra_n_u16, vrsra_n_u32, vrsra_n_u64, vrsraq_n_u8,
35490 vrsraq_n_u16, vrsraq_n_u32, vrsraq_n_u64, vrsrad_n_u64, vsli_n_u8,
35491 vsli_n_u16, vsli_n_u32,vsli_n_u64, vsliq_n_u8, vsliq_n_u16,
35492 vsliq_n_u32, vsliq_n_u64, vslid_n_u64, vsqadd_u8, vsqadd_u16,
35493 vsqadd_u32, vsqadd_u64, vsqaddq_u8, vsqaddq_u16, vsqaddq_u32,
35494 vsqaddq_u64, vsqaddb_u8, vsqaddh_u16, vsqadds_u32, vsqaddd_u64,
35495 vsra_n_u8, vsra_n_u16, vsra_n_u32, vsra_n_u64, vsraq_n_u8,
35496 vsraq_n_u16, vsraq_n_u32, vsraq_n_u64, vsrad_n_u64, vsri_n_u8,
35497 vsri_n_u16, vsri_n_u32, vsri_n_u64, vsriq_n_u8, vsriq_n_u16,
35498 vsriq_n_u32, vsriq_n_u64, vsrid_n_u64): Remove casts.
35500 2014-06-03 Teresa Johnson <tejohnson@google.com>
35502 * tree-sra.c (modify_function): Record caller nodes after rebuild.
35504 2014-06-02 Jason Merrill <jason@redhat.com>
35507 * varpool.c (ctor_for_folding): Handle uninitialized vtables.
35509 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
35511 * config/aarch64/aarch64.c (aarch64_evpc_ext): allow and handle
35514 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
35516 * config/aarch64/aarch64-simd.md (aarch64_rev<REVERSE:rev-op><mode>):
35518 * config/aarch64/aarch64.c (aarch64_evpc_rev): New function.
35519 (aarch64_expand_vec_perm_const_1): Add call to aarch64_evpc_rev.
35520 * config/aarch64/iterators.md (REVERSE): New iterator.
35521 (UNSPEC_REV64, UNSPEC_REV32, UNSPEC_REV16): New enum elements.
35522 (rev_op): New int_attribute.
35523 * config/aarch64/arm_neon.h (vrev16_p8, vrev16_s8, vrev16_u8,
35524 vrev16q_p8, vrev16q_s8, vrev16q_u8, vrev32_p8, vrev32_p16, vrev32_s8,
35525 vrev32_s16, vrev32_u8, vrev32_u16, vrev32q_p8, vrev32q_p16, vrev32q_s8,
35526 vrev32q_s16, vrev32q_u8, vrev32q_u16, vrev64_f32, vrev64_p8,
35527 vrev64_p16, vrev64_s8, vrev64_s16, vrev64_s32, vrev64_u8, vrev64_u16,
35528 vrev64_u32, vrev64q_f32, vrev64q_p8, vrev64q_p16, vrev64q_s8,
35529 vrev64q_s16, vrev64q_s32, vrev64q_u8, vrev64q_u16, vrev64q_u32):
35530 Replace temporary __asm__ with __builtin_shuffle.
35532 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
35534 * config/mips/mips-cpus.def: Add mips32r3, mips32r5, mips64r3 and
35536 * config/mips/mips-tables.opt: Regenerate.
35537 * config/mips/mips.c (mips_compute_frame_info): Changed if statement
35538 to use mips_isa_rev rather than ISA_MIPS32R2.
35539 * config/mips/mips.h (ISA_MIPS32R3): New define.
35540 (ISA_MIPS32R5): New define.
35541 (ISA_MIPS64R3): New define.
35542 (ISA_MIPS64R5): New define.
35543 (TARGET_CPU_CPP_BUILTINS): Added support for ISA_MIPS32R3,
35544 ISA_MIPS32R5, ISA_MIPS64R3 and ISA_MIPS64R5.
35545 (MIPS_ISA_LEVEL_SPEC): Added support for mips32r3, mips32r5, mips64r3
35547 (MIPS_ISA_SYNCI_SPEC): Likewise.
35548 (ISA_HAS_64BIT_REGS): Added ISA_MIPS64R3 and ISA_MIPS64R5.
35549 (LINK_SPEC): Added mips32r3 and mips32r5.
35550 * config/mips/t-isa3264 (MULTILIB_MATCHES): Map mips32r3 and mips32r5
35551 to mips32r2; and mips64r3 and mips64r5 to mips64r2.
35552 * config/mips/t-mti-elf (MULTILIB_MATCHES): Likewise.
35553 * config/mips/t-mti-linux (MULTILIB_MATCHES): Likewise.
35554 * config/mips/t-sde (MULTILIB_MATCHES): Likewise.
35555 * config/mips/t-sdemtk (MULTILIB_MATCHES): New define.
35556 * doc/invoke.texi: Document mips32r3, mips32r5, mips64r3 and mips64r5.
35558 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
35560 * doc/invoke.texi: Document -mxpa and -mno-xpa MIPS command line
35562 * config/mips/mips.opt (mxpa): New option.
35563 * config/mips/mips.h (ASM_SPEC): Pass mxpa and mno-xpa to the
35566 2014-06-03 Martin Jambor <mjambor@suse.cz>
35569 * ipa-cp.c (cgraph_edge_brings_value_p): Handle edges leading to
35572 2014-06-03 Thomas Preud'homme <thomas.preudhomme@arm.com>
35574 PR tree-optimization/61328
35575 * tree-ssa-math-opts.c (init_symbolic_number): Extract symbolic number
35576 initialization from find_bswap_or_nop_1.
35577 (find_bswap_or_nop_1): Test return value of find_bswap_or_nop_1 stored
35578 in source_expr2 before using the size value the function sets. Also
35579 make use of init_symbolic_number () in both the old place and
35580 find_bswap_or_nop_load () to avoid reading uninitialized memory when
35581 doing recursion in the GIMPLE_BINARY_RHS case.
35583 2014-06-03 Richard Biener <rguenther@suse.de>
35585 PR tree-optimization/61383
35586 * tree-ssa-ifcombine.c (bb_no_side_effects_p): Make sure
35589 2014-06-03 Richard Sandiford <rdsandiford@googlemail.com>
35591 * defaults.h (USE_MD_CONSTRAINTS, EXTRA_MEMORY_CONSTRAINT)
35592 (EXTRA_ADDRESS_CONSTRAINT, DEFAULT_CONSTRAINT_LEN, CONSTRAINT_LEN)
35593 (CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER_P)
35594 (REG_CLASS_FROM_CONSTRAINT, EXTRA_CONSTRAINT_STR): Delete definitions
35596 (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P)
35597 (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Move poising to...
35598 * system.h: ...here and make it unconditional.
35599 * target.def (conditional_register_usage): Mention
35600 define_register_constraint instead of old-style constraint macros.
35601 * doc/tm.texi.in: Remove documentation for old-style constraint macros.
35602 * doc/tm.texi: Regenerate.
35603 * genoutput.c: Remove USE_MD_CONSTRAINTS conditions and all code
35604 protected by !USE_MD_CONSTRAINTS.
35605 * config/frv/frv.md: Remove quote from old version of documentation.
35606 * config/frv/frv.c (frv_conditional_register_usage): Likewise.
35607 * config/m32r/m32r.c (easy_di_const, easy_df_const): Avoid mentioning
35608 CONST_DOUBLE_OK_FOR_LETTER.
35609 * config/sh/constraints.md: Likewise EXTRA_CONSTRAINT.
35611 2014-06-02 Andrew Pinski <apinski@cavium.com>
35613 * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER):
35614 /lib/ld-linux32-aarch64.so.1 is used for ILP32.
35615 (LINUX_TARGET_LINK_SPEC): Update linker script for ILP32.
35616 file whose name depends on -mabi= and -mbig-endian.
35617 * config/aarch64/t-aarch64-linux (MULTILIB_OSDIRNAMES):
35618 Handle LP64 better and handle ilp32 too.
35619 (MULTILIB_OPTIONS): Delete.
35620 (MULTILIB_DIRNAMES): Delete.
35622 2014-06-02 Andrew MacLeod <amacleod@redhat.com>
35624 * expr.h: Remove prototypes of functions defined in builtins.c.
35625 * tree.h: (build_call_expr_*, build_string_literal): Add prototypes.
35626 Remove prototypes of functions defined in builtins.c.
35627 * builtins.h: Update prototype list to include all exported functions.
35628 * builtins.c: (default_libc_has_function, gnu_libc_has_function,
35629 no_c99_libc_has_function): Move to targhooks.c
35630 (build_string_literal, build_call_expr_loc_array,
35631 build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move
35633 (expand_builtin_object_size, fold_builtin_object_size): Make static.
35634 * targhooks.c (default_libc_has_function, gnu_libc_has_function,
35635 no_c99_libc_has_function): Relocate from builtins.c.
35636 * tree.c: Include builtins.h.
35637 (build_call_expr_loc_array, build_call_expr_loc_vec,
35638 build_call_expr_loc, build_call_expr, build_string_literal): Relocate
35640 * fold-const.h (fold_fma): Move prototype to builtins.h.
35641 * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h.
35642 * asan.c: Include builtins.h.
35643 * cfgexpand.c: Likewise.
35644 * convert.c: Likewise.
35645 * emit-rtl.c: Likewise.
35646 * except.c: Likewise.
35647 * expr.c: Likewise.
35648 * fold-const.c: Likewise.
35649 * gimple-fold.c: Likewise.
35650 * gimple-ssa-strength-reduction.c: Likewise.
35651 * gimplify.c: Likewise.
35652 * ipa-inline.c: Likewise.
35653 * ipa-prop.c: Likewise.
35654 * lto-streamer-out.c: Likewise.
35655 * stmt.c: Likewise.
35656 * tree-inline.c: Likewise.
35657 * tree-object-size.c: Likewise.
35658 * tree-sra.c: Likewise.
35659 * tree-ssa-ccp.c: Likewise.
35660 * tree-ssa-forwprop.c: Likewise.
35661 * tree-ssa-loop-ivcanon.c: Likewise.
35662 * tree-ssa-loop-ivopts.c: Likewise.
35663 * tree-ssa-math-opts.c: Likewise.
35664 * tree-ssa-reassoc.c: Likewise.
35665 * tree-ssa-threadedge.c: Likewise.
35666 * tree-streamer-in.c: Likewise.
35667 * tree-vect-data-refs.c: Likewise.
35668 * tree-vect-patterns.c: Likewise.
35669 * tree-vect-stmts.c: Likewise.
35670 * config/aarch64/aarch64.c: Likewise.
35671 * config/alpha/alpha.c: Likewise.
35672 * config/arc/arc.c: Likewise.
35673 * config/arm/arm.c: Likewise.
35674 * config/avr/avr.c: Likewise.
35675 * config/bfin/bfin.c: Likewise.
35676 * config/c6x/c6x.c: Likewise.
35677 * config/cr16/cr16.c: Likewise.
35678 * config/cris/cris.c: Likewise.
35679 * config/epiphany/epiphany.c: Likewise.
35680 * config/fr30/fr30.c: Likewise.
35681 * config/frv/frv.c: Likewise.
35682 * config/h8300/h8300.c: Likewise.
35683 * config/i386/i386.c: Likewise.
35684 * config/i386/winnt.c: Likewise.
35685 * config/ia64/ia64.c: Likewise.
35686 * config/iq2000/iq2000.c: Likewise.
35687 * config/lm32/lm32.c: Likewise.
35688 * config/m32c/m32c.c: Likewise.
35689 * config/m32r/m32r.c: Likewise.
35690 * config/m68k/m68k.c: Likewise.
35691 * config/mcore/mcore.c: Likewise.
35692 * config/mep/mep.c: Likewise.
35693 * config/microblaze/microblaze.c: Likewise.
35694 * config/mips/mips.c: Likewise.
35695 * config/mmix/mmix.c: Likewise.
35696 * config/mn10300/mn10300.c: Likewise.
35697 * config/moxie/moxie.c: Likewise.
35698 * config/msp430/msp430.c: Likewise.
35699 * config/nds32/nds32.c: Likewise.
35700 * config/pa/pa.c: Likewise.
35701 * config/pdp11/pdp11.c: Likewise.
35702 * config/picochip/picochip.c: Likewise.
35703 * config/rl78/rl78.c: Likewise.
35704 * config/rs6000/rs6000.c: Likewise.
35705 * config/rx/rx.c: Likewise.
35706 * config/s390/s390.c: Likewise.
35707 * config/score/score.c: Likewise.
35708 * config/sh/sh.c: Likewise.
35709 * config/sparc/sparc.c: Likewise.
35710 * config/spu/spu.c: Likewise.
35711 * config/stormy16/stormy16.c: Likewise.
35712 * config/tilegx/tilegx.c: Likewise.
35713 * config/tilepro/tilepro.c: Likewise.
35714 * config/v850/v850.c: Likewise.
35715 * config/vax/vax.c: Likewise.
35716 * config/xtensa/xtensa.c: Likewise.
35718 2014-06-02 Jeff Law <law@redhat.com>
35720 PR rtl-optimization/61094
35721 * ree.c (combine_reaching_defs): Do not reextend an insn if it
35722 was marked as do_no_reextend. If a copy is needed to eliminate
35723 an extension, then mark it as do_not_reextend.
35725 2014-06-02 Marcus Shawcroft <marcus.shawcroft@arm.com>
35727 * config/aarch64/aarch64.md (set_fpcr): Drop ISB after FPCR write.
35729 2014-06-02 Richard Henderson <rth@redhat.com>
35732 * config/alpha/alpha.c (print_operand_address): Allow symbolic
35733 addresses inside asms. Use output_operand_lossage instead of
35736 2014-06-02 Uros Bizjak <ubizjak@gmail.com>
35739 * config/i386/i386.c (ix86_expand_vec_perm) [case V32QImode]: Use
35740 GEN_INT (-128) instead of GEN_INT (128) to set MSB of QImode constant.
35742 2014-06-02 Tom de Vries <tom@codesourcery.com>
35744 * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle
35745 case that x has VOIDmode.
35747 2014-06-02 Bernd Schmidt <bernds@codesourcery.com>
35749 * varasm.c (copy_constant): Delete function.
35750 (build_constant_desc): Don't call it.
35752 2014-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
35755 * config/arm/arm.h (TARGET_SUPPORTS_WIDE_INT): Define.
35756 * config/arm/arm.md (mov64 splitter): Replace const_double_operand
35757 with immediate_operand.
35759 2014-06-02 Andreas Schwab <schwab@suse.de>
35761 * config/ia64/ia64.c
35762 (ia64_first_cycle_multipass_dfa_lookahead_guard): Check
35763 pending_data_specs first.
35765 2014-06-02 Richard Biener <rguenther@suse.de>
35767 PR tree-optimization/61378
35768 * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize
35769 valueized_anything.
35771 2014-06-01 Uros Bizjak <ubizjak@gmail.com>
35773 * config/i386/constraints.md (Bw): Rename from 'w'.
35774 (Bz): Rename from 'z'.
35775 * config/i386/i386.md: Change 'w' to 'Bw' and 'z' to 'Bz' globally.
35777 2014-06-01 Kai Tietz <ktietz@redhat.com>
35780 * config/i386/constrains.md (define_constrain): New 'Bs' constraint.
35781 * config/i386/i386.md (sibcall_insn_operand): Use Bs
35782 instead of m constraint.
35784 2014-05-31 Andreas Schwab <schwab@linux-m68k.org>
35786 * config/m68k/m68k.md (beq0_di, bne0_di): Make the "o" constraint
35787 a separate alternative where the scratch operand 2 is marked as
35790 2014-05-31 Kugan Vivekanandarajah <kuganv@linaro.org>
35792 * config/arm/arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
35793 (arm_builtins) : Add ARM_BUILTIN_GET_FPSCR and ARM_BUILTIN_SET_FPSCR.
35794 (bdesc_2arg) : Add description for builtins __builtins_arm_set_fpscr
35795 and __builtins_arm_get_fpscr.
35796 (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
35797 __builtins_arm_get_fpscr.
35798 (arm_expand_builtin) : Expand builtins __builtins_arm_set_fpscr and
35799 __builtins_arm_ldfpscr.
35800 (arm_atomic_assign_expand_fenv): New function.
35801 * config/arm/vfp.md (set_fpscr): New pattern.
35802 (get_fpscr) : Likewise.
35803 * config/arm/unspecs.md (unspecv): Add VUNSPEC_GET_FPSCR and
35805 * doc/extend.texi (AARCH64 Built-in Functions) : Document
35806 __builtins_arm_set_fpscr, __builtins_arm_get_fpscr.
35808 2014-05-30 Jakub Jelinek <jakub@redhat.com>
35810 * asan.c (report_error_func): Add SLOW_P argument, use
35811 BUILT_IN_ASAN_*_N if set.
35812 (build_check_stmt): Likewise.
35813 (instrument_derefs): If T has insufficient alignment,
35814 force same handling as for odd sizes.
35816 * sanitizer.def (BUILT_IN_ASAN_REPORT_LOAD_N,
35817 BUILT_IN_ASAN_REPORT_STORE_N): New.
35818 * asan.c (struct asan_mem_ref): Change access_size type to
35820 (asan_mem_ref_init, asan_mem_ref_new, get_mem_refs_of_builtin_call,
35821 update_mem_ref_hash_table): Likewise.
35822 (asan_mem_ref_hasher::hash): Hash in a HWI.
35823 (report_error_func): Change size_in_bytes argument to HWI.
35824 Use *_N builtins if size_in_bytes is larger than 16 or not power of
35826 (build_shadow_mem_access): New function.
35827 (build_check_stmt): Use it. Change size_in_bytes argument to HWI.
35828 Handle size_in_bytes not power of two or larger than 16.
35829 (instrument_derefs): Don't give up if size_in_bytes is not
35830 power of two or is larger than 16.
35832 2014-05-30 Kai Tietz <ktietz@redhat.com>
35835 * config/i386/i386.c (x86_output_mi_thunk): Add memory case
35836 for sibling-tail-calls.
35837 * config/i386/i386.md (sibcall_insn_operand): Add memory-constrain
35839 * config/i386/predicates.md (sibcall_memory_operand): New predicate.
35840 (sibcall_insn_operand): Add check for sibcall_memory_operand.
35842 2014-05-30 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
35844 * config/avr/avr-mcus.def: Change ATA6289 ISA to AVR4
35845 * config/avr/avr-tables.opt: Regenerate.
35846 * config/avr/t-multilib: Regenerate.
35847 * doc/avr-mmcu.texi: Regenerate.
35849 2014-05-30 Ian Lance Taylor <iant@google.com>
35851 * config/i386/xmmintrin.h (_mm_pause): Move out of scope of pragma
35854 2014-05-30 Tom de Vries <tom@codesourcery.com>
35856 * config/i386/i386.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
35859 2014-05-30 Tom de Vries <tom@codesourcery.com>
35861 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
35862 * lra.c (initialize_lra_reg_info_element): Add init of
35863 actual_call_used_reg_set field.
35864 (lra): Call lra_create_live_ranges before lra_inheritance for
35866 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
35868 * lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set
35869 instead of call_used_reg_set for -fuse-caller-save.
35870 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
35872 2014-05-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
35874 * config/arm/thumb2.md (*thumb2_movhi_insn): Set type of movw
35876 * config/arm/vfp.md (*thumb2_movsi_vfp): Likewise.
35878 2014-05-30 Richard Sandiford <rdsandiford@googlemail.com>
35880 * ira.c (ira_get_dup_out_num): Check for output operands at
35881 the start of the loop. Handle cases where an included alternative
35882 follows an excluded one.
35884 2014-05-29 Mike Stump <mikestump@comcast.net>
35887 * collect2.c (maybe_run_lto_and_relink): Be sure to always run
35888 post ld passes when lto is used.
35890 2014-05-29 Vladimir Makarov <vmakarov@redhat.com>
35892 PR rtl-optimization/61325
35893 * lra-constraints.c (process_address): Rename to process_address_1.
35894 (process_address): New function.
35896 2014-05-29 Alan Lawrence <alan.lawrence@arm.com>
35898 * config/aarch64/aarch64-builtins.c (aarch64_types_binopv_qualifiers,
35899 TYPES_BINOPV): New static data.
35900 * config/aarch64/aarch64-simd-builtins.def (im_lane_bound):
35902 * config/aarch64/aarch64-simd.md (aarch64_ext,
35903 aarch64_im_lane_boundsi): New patterns.
35904 * config/aarch64/aarch64.c (aarch64_expand_vec_perm_const_1): Match
35906 (aarch64_evpc_ext): New function.
35908 * config/aarch64/iterators.md (UNSPEC_EXT): New enum element.
35910 * config/aarch64/arm_neon.h (vext_f32, vext_f64, vext_p8, vext_p16,
35911 vext_s8, vext_s16, vext_s32, vext_s64, vext_u8, vext_u16, vext_u32,
35912 vext_u64, vextq_f32, vextq_f64, vextq_p8, vextq_p16, vextq_s8,
35913 vextq_s16, vextq_s32, vextq_s64, vextq_u8, vextq_u16, vextq_u32,
35914 vextq_u64): Replace __asm with __builtin_shuffle and im_lane_boundsi.
35916 2014-05-29 Tom de Vries <tom@codesourcery.com>
35918 * rtl.h (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_FLAGS.
35920 2014-05-29 Richard Earnshaw <rearnsha@arm.com>
35921 Richard Sandiford <rdsandiford@googlemail.com>
35923 * arm/iterators.md (shiftable_ops): New code iterator.
35924 (t2_binop0, arith_shift_insn): New code attributes.
35925 * arm/predicates.md (shift_nomul_operator): New predicate.
35926 * arm/arm.md (insn_enabled): Delete.
35927 (enabled): Remove insn_enabled test.
35928 (*arith_shiftsi): Delete. Replace with ...
35929 (*<arith_shift_insn>_multsi): ... new pattern.
35930 (*<arith_shift_insn>_shiftsi): ... new pattern.
35931 * config/arm/arm.c (arm_print_operand): Handle operand format 'b'.
35933 2014-05-29 Radovan Obradovic <robradovic@mips.com>
35934 Tom de Vries <tom@codesourcery.com>
35936 * config/mips/mips.h (POST_CALL_TMP_REG): Define.
35937 * config/mips/mips.c (mips_emit_call_insn): Add POST_CALL_TMP_REG
35939 (mips_split_call): Use POST_CALL_TMP_REG.
35940 (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine to true.
35942 2014-05-29 Tom de Vries <tom@codesourcery.com>
35944 * final.c (collect_fn_hard_reg_usage): Guard variable declaration
35945 with #ifdef STACK_REGS.
35947 2014-05-28 Jan Hubicka <hubicka@ucw.cz>
35949 * varasm.c (get_variable_section): Walk aliases.
35950 (place_block_symbol): Walk aliases.
35952 2014-05-28 Tom de Vries <tom@codesourcery.com>
35955 2014-05-28 Tom de Vries <tom@codesourcery.com>
35957 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
35958 * lra.c (initialize_lra_reg_info_element): Add init of
35959 actual_call_used_reg_set field.
35960 (lra): Call lra_create_live_ranges before lra_inheritance for
35962 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
35964 * lra-constraints.c (need_for_call_save_p): Use
35965 actual_call_used_reg_set instead of call_used_reg_set for
35967 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
35969 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
35971 * doc/md.texi: Document that the % constraint character must
35972 be at the beginning of the string.
35973 * genoutput.c (validate_insn_alternatives): Check that '=',
35974 '+' and '%' only appear at the beginning of a constraint.
35975 * ira.c (commutative_constraint_p): Delete.
35976 (ira_get_dup_out_num): Expect the '%' commutativity marker to be
35977 at the start of the string.
35978 * config/alpha/alpha.md (*movmemdi_1, *clrmemdi_1): Remove
35980 * config/arm/neon.md (bicdi3_neon): Likewise.
35981 * config/iq2000/iq2000.md (addsi3_internal, subsi3_internal, sgt_si)
35982 (slt_si, sltu_si): Likewise.
35983 * config/vax/vax.md (sbcdi3): Likewise.
35984 * config/h8300/h8300.md (*cmpstz): Remove duplicate '+'.
35985 * config/arc/arc.md (mulsi_600, mulsidi_600, umulsidi_600)
35986 (mul64): Move '%' to beginning of constraint.
35987 * config/arm/arm.md (*xordi3_insn): Likewise.
35988 * config/nds32/nds32.md (add<mode>3, mulsi3, andsi3, iorsi3)
35989 (xorsi3): Likewise.
35991 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
35993 * doc/md.texi: Document the restrictions on the "enabled" attribute.
35995 2014-05-28 Jason Merrill <jason@redhat.com>
35998 * cgraph.h (symtab_node::get_comdat_group_id): New.
35999 * cgraphunit.c (analyze_functions): Call it.
36000 * symtab.c (dump_symtab_node): Likewise.
36001 * tree.c (decl_comdat_group_id): New.
36002 * tree.h: Declare it.
36003 * lto-streamer-out.c (write_symbol): Use it.
36004 * trans-mem.c (ipa_tm_create_version_alias): Likewise.
36006 2014-05-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
36008 PR bootstrap/PR61146
36009 * wide-int.cc: Do not include longlong.h when compiling with clang.
36011 2014-05-28 Richard Biener <rguenther@suse.de>
36013 * tree-ssa-propagate.c (add_control_edge): Print less vertical space.
36014 * tree-vrp.c (extract_range_from_ssa_name): Also copy VR_UNDEFINED.
36015 (vrp_visit_assignment_or_call): Print less vertical space.
36016 (vrp_visit_stmt): Likewise.
36017 (vrp_visit_phi_node): Likewise. For a PHI argument with
36018 VR_VARYING range consider recording it as copy.
36020 2014-05-28 Richard Biener <rguenther@suse.de>
36023 2014-05-28 Richard Biener <rguenther@suse.de>
36025 * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
36027 2014-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
36029 * expr.c (expand_assignment): Fold the bitpos in the to_rtx if
36030 sufficiently aligned and an offset is used at the same time.
36031 (expand_expr_real_1): Likewise.
36033 2014-05-28 Richard Biener <rguenther@suse.de>
36035 PR middle-end/61045
36036 * fold-const.c (fold_comparison): When folding
36037 X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure
36038 the sign of the remaining constant operand stays the same.
36040 2014-05-28 Kaushik Phatak <kaushik.phatak@kpit.com>
36042 * config/rl78/rl78.h (TARGET_CPU_CPP_BUILTINS): Define
36043 __RL78_64BIT_DOUBLES__ or __RL78_32BIT_DOUBLES__.
36044 (ASM_SPEC): Pass -m64bit-doubles or -m32bit-doubles on
36046 (DOUBLE_TYPE_SIZE): Use 64 bit if TARGET_64BIT_DOUBLES is true.
36047 * gcc/config/rl78/rl78.opt (m64bit-doubles): New option.
36048 (m32bit-doubles) Likewise.
36049 * gcc/config/rl78/t-rl78: Add 64-bit-double multilib.
36050 * doc/invoke.texi: Document -m32bit-doubles and -m64bit-doubles
36053 2014-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
36055 * configure.ac ($gcc_cv_ld_clearcap): New test.
36056 * configure: Regenerate.
36057 * config.in: Regenerate.
36058 * config/sol2.opt (mclear-hwcap): New option.
36059 * config/sol2.h (LINK_CLEARCAP_SPEC): Define.
36060 * config/sol2-clearcap.map: Moved here from
36061 testsuite/gcc.target/i386/clearcap.map.
36062 * config/sol2-clearcapv2.map: Move here from
36063 gcc.target/i386/clearcapv2.map.
36064 * config/t-sol2 (install): Depend on install-clearcap-map.
36065 (install-clearcap-map): New target.
36066 * doc/invoke.texi (Option Summary, Solaris 2 Options): Document
36069 2014-05-28 Richard Biener <rguenther@suse.de>
36071 * hwint.h (*_HALF_WIDE_INT*): Move to ...
36072 * wide-int.cc (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT):
36073 ... here and remove the rest.
36074 * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
36076 2014-05-28 Richard Biener <rguenther@suse.de>
36078 PR tree-optimization/61335
36079 * tree-vrp.c (vrp_visit_phi_node): If the compare of old and
36080 new range fails, drop to varying.
36082 2014-05-28 Olivier Hainque <hainque@adacore.com>
36084 * config/rs6000/vxworks.h (VXCPU_FOR_8548): New. Default to PPC85XX.
36085 (CPP_SPEC): Add entry for -mcpu=8548.
36086 * config/rs6000/vxworksae.h: Reinstate. Override VXCPU_FOR_8548.
36087 * config.gcc (powerpc-wrs-vxworksae, tm_file): Add back vxworksae.h.
36089 2014-05-28 Tom de Vries <tom@codesourcery.com>
36091 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
36092 * lra.c (initialize_lra_reg_info_element): Add init of
36093 actual_call_used_reg_set field.
36094 (lra): Call lra_create_live_ranges before lra_inheritance for
36096 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
36098 * lra-constraints.c (need_for_call_save_p): Use
36099 actual_call_used_reg_set instead of call_used_reg_set for
36101 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
36103 2014-05-28 Radovan Obradovic <robradovic@mips.com>
36104 Tom de Vries <tom@codesourcery.com>
36106 * doc/invoke.texi (@item Optimization Options): Add -fuse-caller-save
36108 (@item -fuse-caller-save): New item.
36110 2014-05-28 Radovan Obradovic <robradovic@mips.com>
36111 Tom de Vries <tom@codesourcery.com>
36113 * opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
36114 OPT_fuse_caller_save.
36116 2014-05-28 Radovan Obradovic <robradovic@mips.com>
36117 Tom de Vries <tom@codesourcery.com>
36119 * df-scan.c (df_get_call_refs): Use get_call_reg_set_usage.
36120 * caller-save.c (setup_save_areas, save_call_clobbered_regs): Use
36121 get_call_reg_set_usage.
36122 * resource.c (mark_set_resources, mark_target_live_regs): Use
36123 get_call_reg_set_usage.
36124 * ira-int.h (struct ira_allocno): Add crossed_calls_clobbered_regs
36126 (ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS): Define.
36127 * ira-lives.c (process_bb_node_lives): Use get_call_reg_set_usage.
36128 Calculate ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
36129 * ira-build.c (ira_create_allocno): Init
36130 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
36131 (create_cap_allocno, propagate_allocno_info)
36132 (propagate_some_info_from_allocno)
36133 (copy_info_to_removed_store_destinations): Handle
36134 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
36135 * ira-costs.c (ira_tune_allocno_costs): Use
36136 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS to adjust costs.
36138 2014-05-28 Radovan Obradovic <robradovic@mips.com>
36139 Tom de Vries <tom@codesourcery.com>
36141 * cgraph.h (struct cgraph_rtl_info): Add function_used_regs
36142 and function_used_regs_valid fields.
36143 * final.c: Move include of hard-reg-set.h to before rtl.h to declare
36144 find_all_hard_reg_sets.
36145 (collect_fn_hard_reg_usage, get_call_fndecl, get_call_cgraph_rtl_info)
36146 (get_call_reg_set_usage): New function.
36147 (rest_of_handle_final): Use collect_fn_hard_reg_usage.
36148 * regs.h (get_call_reg_set_usage): Declare.
36150 2014-05-28 Georg-Johann Lay <avr@gjlay.de>
36153 * config/dbx.h (License): Add Runtime Library Exception.
36154 * config/newlib-stdint.h (License): Same.
36155 * config/rtems.h (License): Same
36156 * config/initfini-array.h (License): Same
36157 * config/v850/v850.h (License): Same.
36158 * config/v850/v850-opts.h (License): Same
36159 * config/v850/rtems.h (License): Same.
36161 2014-05-28 Georg-Johann Lay <avr@gjlay.de>
36164 * doc/extend.texi (Local Labels): Note that label differences are
36165 not supported for AVR.
36167 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
36168 Olivier Hainque <hainque@adacore.com>
36170 * rtl.h (set_for_reg_notes): Declare.
36171 * emit-rtl.c (set_for_reg_notes): New function.
36172 (set_unique_reg_note): Use it.
36173 * optabs.c (add_equal_note): Likewise
36175 2014-05-27 Andrew Pinski <apinski@cavium.com>
36177 * config/aarch64/aarch64.md (stack_protect_set_<mode>):
36178 Use <w> for the register in assembly template.
36179 (stack_protect_test): Use the mode of operands[0] for the result.
36180 (stack_protect_test_<mode>): Use <w> for the register
36181 in assembly template.
36183 2014-05-27 DJ Delorie <dj@redhat.com>
36185 * config/rx/rx.c (add_vector_labels): New.
36186 (rx_output_function_prologue): Call it.
36187 (rx_handle_func_attribute): Don't require empty arguments.
36188 (rx_handle_vector_attribute): New.
36189 (rx_attribute_table): Add "vector" attribute.
36190 * doc/extend.texi (interrupt, vector): Document new/changed
36191 RX-specific attributes.
36193 * config/rx/rx.c (rx_adjust_insn_length): Skip for non-insns.
36195 2014-05-27 Eric Botcazou <ebotcazou@adacore.com>
36197 * double-int.c (div_and_round_double) <ROUND_DIV_EXPR>: Use the proper
36198 predicate to detect a negative quotient.
36200 2014-05-27 Eric Botcazou <ebotcazou@adacore.com>
36202 * fold-const.c (fold_comparison): Clean up and extend X +- C1 CMP C2
36203 to X CMP C2 -+ C1 transformation to EQ_EXPR/NE_EXPR.
36204 Add X - Y CMP 0 to X CMP Y transformation.
36205 (fold_binary_loc) <EQ_EXPR/NE_EXPR>: Remove same transformations.
36207 2014-05-27 Segher Boessenkool <segher@kernel.crashing.org>
36209 * stmt.c (dump_case_nodes): Don't convert values to HOST_WIDE_INT
36212 2014-05-27 Steve Ellcey <sellcey@mips.com>
36214 * config/mips/mips.c: Add include of cgraph.h.
36216 2014-05-27 Richard Biener <rguenther@suse.de>
36218 * system.h (__STDC_FORMAT_MACROS): Define as very first thing.
36220 2014-05-27 Georg-Johann Lay <avr@gjlay.de>
36223 * config/arm/arm.h (License): Add note to COPYING.RUNTIME.
36224 * config/arm/arm-cores.def (License): Same.
36225 * config/arm/arm-opts.h (License): Same.
36226 * config/arm/aout.h (License): Same.
36227 * config/arm/bpabi.h (License): Same.
36228 * config/arm/elf.h (License): Same.
36229 * config/arm/linux-elf.h (License): Same.
36230 * config/arm/linux-gas.h (License): Same.
36231 * config/arm/netbsd-elf.h (License): Same.
36232 * config/arm/uclinux-eabi.h (License): Same.
36233 * config/arm/uclinux-elf.h (License): Same.
36234 * config/arm/vxworks.h (License): Same.
36236 2014-05-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
36238 * config/arm/neon.md (neon_bswap<mode>): New pattern.
36239 * config/arm/arm.c (neon_itype): Add NEON_BSWAP.
36240 (arm_init_neon_builtins): Handle NEON_BSWAP.
36241 Define required type nodes.
36242 (arm_expand_neon_builtin): Handle NEON_BSWAP.
36243 (arm_builtin_vectorized_function): Handle BUILTIN_BSWAP builtins.
36244 * config/arm/arm_neon_builtins.def (bswap): Define builtins.
36245 * config/arm/iterators.md (VDQHSD): New mode iterator.
36247 2014-05-27 Richard Biener <rguenther@suse.de>
36249 * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges):
36250 Try using literal operands when comparing value-ranges failed.
36252 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
36254 * ira.c (commutative_operand): Adjust for change to recog_data.
36255 [Missing from previous commit.]
36257 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
36259 * system.h (TEST_BIT): New macro.
36260 * recog.h (alternative_mask): New type.
36261 (ALL_ALTERNATIVES, ALTERNATIVE_BIT): New macros.
36262 (recog_data_d): Replace alternative_enabled_p array with
36263 enabled_alternatives.
36264 (target_recog): New structure.
36265 (default_target_recog, this_target_recog): Declare.
36266 (get_enabled_alternatives, recog_init): Likewise.
36267 * recog.c (default_target_recog, this_target_recog): New variables.
36268 (get_enabled_alternatives): New function.
36269 (extract_insn): Use it.
36270 (recog_init): New function.
36271 (preprocess_constraints, constrain_operands): Adjust for change to
36273 * postreload.c (reload_cse_simplify_operands): Likewise.
36274 * reload.c (find_reloads): Likewise.
36275 * ira-costs.c (record_reg_classes): Likewise.
36276 * ira-lives.c (single_reg_class): Likewise. Fix bug in which
36277 all alternatives after a disabled one would be skipped.
36278 (ira_implicitly_set_insn_hard_regs): Likewise.
36279 * ira.c (ira_setup_alts): Adjust for change to recog_data.
36280 * lra-int.h (lra_insn_recog_data): Replace alternative_enabled_p
36281 with enabled_alternatives.
36282 * lra.c (free_insn_recog_data): Update accordingly.
36283 (lra_update_insn_recog_data): Likewise.
36284 (lra_set_insn_recog_data): Likewise. Use get_enabled_alternatives.
36285 * lra-constraints.c (process_alt_operands): Likewise. Handle
36286 only_alternative as part of the enabled mask.
36287 * target-globals.h (this_target_recog): Declare.
36288 (target_globals): Add a recog field.
36289 (restore_target_globals): Restore this_target_recog.
36290 * target-globals.c: Include recog.h.
36291 (default_target_globals): Initialize recog field.
36292 (save_target_globals): Likewise.
36293 * reginfo.c (reinit_regs): Call recog_init.
36294 * toplev.c (backend_init_target): Likewise.
36296 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
36298 * gencodes.c (main): Make LAST_INSN_CODE higher than any insn code,
36299 rather than any named insn's code.
36301 2014-05-27 Georg-Johann Lay <avr@gjlay.de>
36304 * config/arm/arm-opts.h (License): Add GCC Runtime Library Exception.
36305 * config/arm/arm-cores.def (License): Same.
36307 2014-05-26 Jan Hubicka <hubicka@ucw.cz>
36309 * tree.h (decl_comdat_group): Declare.
36310 * cgraph.h (symtab_in_same_comdat_p): Move offline to ...
36311 * tree.c (decl_comdat_group): Here.
36313 2014-05-26 Richard Sandiford <r.sandiford@uk.ibm.com>
36315 PR rtl-optimization/61222
36316 * combine.c (simplify_shift_const_1): When moving a PLUS outside
36317 the shift, truncate the PLUS operand to the result mode.
36319 2014-05-26 Uros Bizjak <ubizjak@gmail.com>
36322 * config/i386/i386.c (ix86_rtx_costs)
36323 <case CONST_INT, case CONST, case LABEL_REF, case SYMBOL_REF>:
36326 2014-05-26 Martin Jambor <mjambor@suse.cz>
36328 * ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on
36331 2014-05-26 Richard Biener <rguenther@suse.de>
36333 * wide-int.h (wi::int_traits <long>, wi::int_traits <unsigned long>,
36334 wi::int_traits <long long>, wi::int_traits <unsigned long long>):
36335 Provide specializations.
36336 (wi::int_traits <HOST_WIDE_INT>,
36337 wi::int_traits <unsigned HOST_WIDE_INT>): Remove specializations.
36339 2014-05-26 Alan Modra <amodra@gmail.com>
36342 * config/rs6000/rs6000.c (rs6000_emit_set_const): Remove unneeded
36343 params and return a bool. Remove dead code. Update comment.
36344 Assert we have a const_int source. Remove bogus code from
36345 32-bit HWI days. Move !TARGET_POWERPC64 handling, and correct
36346 handling of constants > 2G and reg_equal note, from..
36347 (rs6000_emit_set_long_const): ..here. Remove unneeded param and
36348 return value. Update comment. If we can, use a new pseudo
36349 for intermediate calculations.
36350 * config/rs6000/rs6000-protos.h (rs6000_emit_set_const): Update
36352 * config/rs6000/rs6000.md (movsi_internal1_single+1): Update
36353 call to rs6000_emit_set_const in splitter.
36354 (movdi_internal64+2, +3): Likewise.
36356 2014-05-26 Richard Biener <rguenther@suse.de>
36358 * system.h: Define __STDC_FORMAT_MACROS before
36359 including inttypes.h.
36360 * hwint.h (HOST_WIDEST_INT, HOST_BITS_PER_WIDEST_INT,
36361 HOST_WIDEST_INT_PRINT, HOST_WIDEST_INT_PRINT_DEC,
36362 HOST_WIDEST_INT_PRINT_DEC_C, HOST_WIDEST_INT_PRINT_UNSIGNED,
36363 HOST_WIDEST_INT_PRINT_HEX, HOST_WIDEST_INT_PRINT_DOUBLE_HEX,
36364 HOST_WIDEST_INT_C): Remove.
36365 (PRId64, PRIi64, PRIo64, PRIu64, PRIx64, PRIX64): Define
36366 if C99 inttypes.h is not available.
36367 * coretypes.h (gcov_type, gcov_type_unsigned): Use [u]int64_t.
36368 * gcov-io.h (gcov_type, gcov_type_unsigned): Likewise.
36369 * gcov-io.c (gcov_histo_index): Drop non-64bit hwi case.
36370 * cfgloop.h (struct niter_desc): Use uint64_t for niter field.
36371 * bitmap.c (struct bitmap_descriptor_d): Use uint64_t for counters.
36372 (struct output_info): Likewise.
36373 (print_statistics): Adjust.
36374 (dump_bitmap_statistics): Likewise.
36375 * bt-load.c (migrate_btr_defs): Print with PRId64.
36376 * cfg.c (dump_edge_info, dump_bb_info): Likewise.
36377 (MAX_SAFE_MULTIPLIER): Adjust.
36378 * cfghooks.c (dump_bb_for_graph): Print with PRId64.
36379 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee,
36380 dump_cgraph_node): Likewise.
36381 * final.c (dump_basic_block_info): Likewise.
36382 * gcov-dump.c (tag_counters, tag_summary, dump_working_sets): Likewise.
36383 * gcov.c (format_gcov): Likewise.
36384 * ipa-cp.c (good_cloning_opportunity_p): Likewise. Use int64_t
36386 (get_clone_agg_value): Use HOST_WIDE_INT for offset.
36387 * ipa-inline.c (compute_max_insns): Use int64_t for calcuation.
36388 (inline_small_functions, dump_overall_stats, dump_inline_stats):
36389 Use PRId64 for dumping.
36390 * ipa-profile.c (dump_histogram, ipa_profile): Likewise.
36391 * ira-color.c (struct allocno_hard_regs): Use int64_t for cost.
36392 (add_allocno_hard_regs): Adjust.
36393 * loop-doloop.c (doloop_modify): Print using PRId64.
36394 * loop-iv.c (inverse): Compute in uint64_t.
36395 (determine_max_iter, iv_number_of_iterations): Likewise.
36396 * loop-unroll.c (decide_peel_completely, decide_peel_simple):
36397 Print using PRId64.
36398 * lto-streamer-out.c (write_symbol): Use uint64_t.
36399 * mcf.c (CAP_INFINITY): Use int64_t maximum.
36400 (dump_fixup_edge, create_fixup_graph, cancel_negative_cycle,
36401 find_max_flow, adjust_cfg_counts): Use int64_t and dump with PRId64.
36402 * modulo-sched.c (const_iteration_count): Use int64_t.
36403 (sms_schedule): Dump using PRId64.
36404 * predict.c (dump_prediction): Likewise.
36405 * pretty-print.h (pp_widest_integer): Remove.
36406 * profile.c (get_working_sets, is_edge_inconsistent,
36407 is_inconsistent, read_profile_edge_counts): Dump using PRId64.
36408 * tree-pretty-print.c (pp_double_int): Remove case handling
36409 HOST_BITS_PER_DOUBLE_INT == HOST_BITS_PER_WIDEST_INT.
36410 * tree-ssa-math-opts.c (struct symbolic_number): Use uint64_t
36412 (pass_optimize_bswap::execute): Remove restriction on hosts.
36413 * tree-streamer-in.c (streamer_alloc_tree): Use HOST_WIDE_INT.
36414 * tree-streamer-out.c (streamer_write_tree_header): Likewise.
36415 * tree.c (widest_int_cst_value): Remove.
36416 * tree.h (widest_int_cst_value): Likewise.
36417 * value-prof.c (dump_histogram_value): Print using PRId64.
36418 * gengtype.c (main): Also inject int64_t.
36419 * ggc-page.c (struct max_alignment): Use int64_t.
36420 * alloc-pool.c (struct allocation_object_def): Likewise.
36421 * ira-conflicts.c (build_conflict_bit_table): Use uint64_t
36423 * doc/tm.texi.in: Remove reference to HOST_WIDEST_INT.
36424 * doc/tm.texi: Regenerated.
36425 * gengtype-lex.l (IWORD): Handle [u]int64_t.
36426 * config/sh/sh.c (expand_cbranchdi4): Use gcov_type.
36427 * config/mmix/mmix-protos.h (mmix_intval, mmix_shiftable_wyde_value,
36428 mmix_output_register_setting): Use [u]int64_t in prototypes.
36429 * config/mmix/mmix.c (mmix_print_operand, mmix_output_register_setting,
36430 mmix_shiftable_wyde_value, mmix_output_shiftvalue_op_from_str,
36431 mmix_output_octa, mmix_output_shifted_value): Adjust.
36432 (mmix_intval): Adjust. Remove unreachable case.
36433 * config/mmix/mmix.md (*nonlocal_goto_receiver_expanded): Use int64_t.
36435 2014-05-26 Richard Biener <rguenther@suse.de>
36437 * configure.ac: Drop __int64 type check. Insist that we
36438 found uint64_t and int64_t.
36439 * hwint.h (HOST_BITS_PER___INT64): Remove.
36440 (HOST_BITS_PER_WIDE_INT): Define to 64 and remove __int64 case.
36441 (HOST_WIDE_INT_PRINT_*): Remove 32bit case.
36442 (HOST_WIDEST_INT*): Define to HOST_WIDE_INT*.
36443 (HOST_WIDEST_FAST_INT): Remove __int64 case.
36444 * vmsdbg.h (struct _DST_SRC_COMMAND): Use int64_t
36445 for dst_q_src_df_rms_cdt.
36446 * configure: Regenerate.
36447 * config.in: Likewise.
36449 2014-05-26 Michael Tautschnig <mt@debian.org>
36452 * doc/extend.texi (X86 Built-in Functions): Fix parameter lists of
36453 __builtin_ia32_vfrczs[sd] and __builtin_ia32_mpsadbw256.
36455 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org>
36457 PR rtl-optimization/61278
36458 * shrink-wrap.c (move_insn_for_shrink_wrap): Check df_live.
36460 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org>
36462 PR rtl-optimization/61220
36463 Part of PR rtl-optimization/61225
36464 * shrink-wrap.c (move_insn_for_shrink_wrap): Skip SP and FP adjustment
36465 insn; skip split_edge for a block with only one successor.
36467 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
36469 * symtab.c (symtab_nonoverwritable_alias): Copy READONLY flag
36472 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
36474 * ipa-visibility.c (can_replace_by_local_alias_in_vtable): New function.
36475 (update_vtable_references): New function.
36476 (function_and_variable_visibility): Rewrite also vtable initializers.
36477 * varpool.c (cgraph_variable_initializer_availability): Remove assert.
36479 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
36481 * ggc.h (ggc_grow): New function.
36482 * ggc-none.c (ggc_grow): New function.
36483 * ggc-page.c (ggc_grow): Likewise.
36485 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
36487 * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p,
36488 address_taken_from_non_vtable_p, comdat_can_be_unshared_p_1,
36489 comdat_can_be_unshared_p, cgraph_externally_visible_p,
36490 varpool_externally_visible_p, can_replace_by_local_alias,
36491 update_visibility_by_resolution_info, function_and_variable_visibility,
36492 pass_data_ipa_function_and_variable_visibility,
36493 make_pass_ipa_function_and_variable_visibility,
36494 whole_program_function_and_variable_visibility,
36495 pass_data_ipa_whole_program_visibility,
36496 make_pass_ipa_whole_program_visibility): Move to ipa-visibility.c
36497 * cgraph.h (cgraph_local_node_p): Declare.
36498 * ipa-visibility.c: New file.
36499 * Makefile.in (OBJS): Add ipa-visiblity.o
36501 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
36503 * gimple-fold.c (can_refer_decl_in_current_unit_p): Be sure
36504 that var decl is available.
36506 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
36508 * tree-core.h (tree_decl_with_vis): Replace comdat_group by
36509 symtab_node pointer.
36510 * tree.c (copy_node_stat): Be sure to not copy symtab_node pointer.
36511 (find_decls_types_r): Do not walk COMDAT_GROUP.
36512 * tree.h (DECL_COMDAT_GROUP): Revamp to use decl_comdat_group.
36513 * varasm.c (make_decl_one_only): Use set_comdat_group;
36514 create node if needed.
36515 * ipa-inline-transform.c (save_inline_function_body): Update
36516 way we decl->symtab mapping.
36517 * symtab.c (symtab_hash, hash_node, eq_node
36518 symtab_insert_node_to_hashtable): Remove.
36519 (symtab_register_node): Update.
36520 (symtab_unregister_node): Update.
36521 (symtab_get_node): Reimplement as inline function.
36522 (symtab_add_to_same_comdat_group): Update.
36523 (symtab_dissolve_same_comdat_group_list): Update.
36524 (dump_symtab_base): Update.
36525 (verify_symtab_base): Update.
36526 (symtab_make_decl_local): Update.
36527 (fixup_same_cpp_alias_visibility): Update.
36528 (symtab_nonoverwritable_alias): Update.
36529 * cgraphclones.c (set_new_clone_decl_and_node_flags): Update.
36530 * ipa.c (update_visibility_by_resolution_info): UPdate.
36531 * bb-reorder.c: Include cgraph.h
36532 * lto-streamer-out.c (DFS_write_tree_body, hash_tree): Do not deal
36533 with comdat groups.
36534 * ipa-comdats.c (set_comdat_group, ipa_comdats): Update.
36535 * cgraph.c (cgraph_get_create_node): Update.
36536 * cgraph.h (struct symtab_node): Add get_comdat_group, set_comdat_group
36538 (symtab_get_node): Make inline.
36539 (symtab_insert_node_to_hashtable): Remove.
36540 (symtab_can_be_discarded): Update.
36541 (decl_comdat_group): New function.
36542 * tree-streamer-in.c (lto_input_ts_decl_with_vis_tree_pointers):
36544 * lto-cgraph.c (lto_output_node, lto_output_varpool_node): Stream out
36546 (read_comdat_group): New function.
36547 (input_node, input_varpool_node): Use it.
36548 * trans-mem.c (ipa_tm_create_version_alias): Update code creating
36550 * mips.c (mips_start_unique_function): Likewise.
36551 (ix86_code_end): Likewise.
36552 (rs6000_code_end): Likweise.
36553 * tree-streamer-out.c (DECL_COMDAT_GROUP): Do not stream comdat group.
36555 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
36557 * gengtype-state.c (fatal_reading_state): Bring offline.
36558 * optabs.c (widening_optab_handler): Bring offline.
36559 * optabs.h (widening_optab_handler): Likewise.
36560 * final.c (get_attr_length_1): Likewise.
36562 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
36564 * sched-int.h (sd_iterator_cond): Manually tail recurse.
36566 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
36568 * config/rs6000/440.md (ppc440-integer): Include shift without dot.
36569 (ppc440-compare): Include shift with dot.
36570 * config/rs6000/e300c2c3.md (ppce300c3_iu): Include shift without dot.
36571 * config/rs6000/e5500.md (e5500_sfx2): Include constant shift
36573 * config/rs6000/e6500.md (e6500_sfx): Exclude constant shift
36575 (e6500_sfx2): Include it.
36576 * config/rs6000/rs6000.md ( *zero_extend<mode>di2_internal1,
36577 *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
36578 *zero_extendsidi2_lfiwzx, andsi3_mc, andsi3_nomc,
36579 andsi3_internal0_nomc, extzvsi_internal, extzvdi_internal,
36580 *extzvdi_internal1, *extzvdi_internal2, rotlsi3, *rotlsi3_64,
36581 *rotlsi3_internal4, *rotlsi3_internal7le, *rotlsi3_internal7be,
36582 *rotlsi3_internal10le, *rotlsi3_internal10be, rlwinm,
36583 *lshiftrt_internal1le, *lshiftrt_internal1be,
36584 *lshiftrt_internal4le, *lshiftrt_internal4be, rotldi3,
36585 *rotldi3_internal4, *rotldi3_internal7le, *rotldi3_internal7be,
36586 *rotldi3_internal10le, *rotldi3_internal10be,
36587 *rotldi3_internal13le, *rotldi3_internal13be, *ashldi3_internal4,
36588 ashldi3_internal5, *ashldi3_internal6, *ashldi3_internal7,
36589 ashldi3_internal8, *ashldi3_internal9, anddi3_mc, anddi3_nomc,
36590 *anddi3_internal2_mc, *anddi3_internal3_mc, and 4 anonymous
36591 define_insns): Use type "shift" in the appropriate alternatives.
36593 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
36595 * config/rs6000/rs6000.md (type): Add "logical". Delete
36597 (dot): Adjust comment.
36598 (andsi3_mc, *andsi3_internal2_mc, *andsi3_internal3_mc,
36599 *andsi3_internal4, *andsi3_internal5_mc, *boolsi3_internal2,
36600 *boolsi3_internal3, *boolccsi3_internal2, *boolccsi3_internal3,
36601 anddi3_mc, *anddi3_internal2_mc, *anddi3_internal3_mc,
36602 *booldi3_internal2, *booldi3_internal3, *boolcdi3_internal2,
36603 *boolcdi3_internal3, *boolccdi3_internal2, *boolccdi3_internal3,
36604 *mov<mode>_internal2, and 10 anonymous define_insns): Use "logical".
36605 * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
36607 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
36608 * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
36609 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
36610 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
36611 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
36612 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
36613 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
36614 * config/rs6000/8540.md (ppc8540_su): Adjust.
36615 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
36616 cell-cmp-microcoded): Adjust.
36617 * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
36618 * config/rs6000/e500mc.md (e500mc_su): Adjust.
36619 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
36620 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
36621 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
36622 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
36623 * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
36624 * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
36625 * config/rs6000/power6.md (power6-integer, power6-fast-compare):
36627 * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
36628 * config/rs6000/power8.md (power8-1cyc, power8-fast-compare):
36629 Adjust. Adjust comment.
36630 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
36631 * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
36633 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
36635 * config/rs6000/rs6000.md (type): Add "add".
36636 (*add<mode>3_internal1, addsi3_high, *add<mode>3_internal2,
36637 *add<mode>3_internal3, *neg<mode>2_internal, and 5 anonymous
36638 define_insns): Use it.
36639 * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
36641 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
36642 * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
36643 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
36644 * config/rs6000/601.md (ppc601-integer): Adjust.
36645 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
36646 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
36647 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
36648 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
36649 * config/rs6000/8540.md (ppc8540_su): Adjust.
36650 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
36651 cell-cmp-microcoded): Adjust.
36652 * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
36653 * config/rs6000/e500mc.md (e500mc_su): Adjust.
36654 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
36655 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
36656 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
36657 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
36658 * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
36659 * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
36660 * config/rs6000/power6.md (power6-integer, power6-fast-compare):
36662 * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
36663 * config/rs6000/power8.md (power8-1cyc, power8-fast-compare): Adjust.
36664 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
36665 * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
36667 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
36669 * config/rs6000/rs6000.md (type): Delete "var_shift_rotate",
36670 "delayed_compare", "var_delayed_compare".
36671 (var_shift): New attribute.
36672 (cell_micro): Adjust.
36673 (*andsi3_internal2_mc, *andsi3_internal3_mc, *andsi3_internal4,
36674 *andsi3_internal5_mc, *extzvsi_internal1, *extzvsi_internal2,
36675 rotlsi3, *rotlsi3_64, *rotlsi3_internal2, *rotlsi3_internal3,
36676 *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
36677 *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
36678 *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
36679 *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
36680 *rotlsi3_internal12be, ashlsi3, *ashlsi3_64, lshrsi3, *lshrsi3_64,
36681 *lshiftrt_internal2le, *lshiftrt_internal2be, *lshiftrt_internal3le,
36682 *lshiftrt_internal3be, *lshiftrt_internal5le, *lshiftrt_internal5be,
36683 *lshiftrt_internal5le, *lshiftrt_internal5be, ashrsi3, *ashrsi3_64,
36684 rotldi3, *rotldi3_internal2, *rotldi3_internal3, *rotldi3_internal4,
36685 *rotldi3_internal5, *rotldi3_internal6, *rotldi3_internal7le,
36686 *rotldi3_internal7be, *rotldi3_internal8le, *rotldi3_internal8be,
36687 *rotldi3_internal9le, *rotldi3_internal9be, *rotldi3_internal10le,
36688 *rotldi3_internal10be, *rotldi3_internal11le, *rotldi3_internal11be,
36689 *rotldi3_internal12le, *rotldi3_internal12be, *rotldi3_internal13le,
36690 *rotldi3_internal13be, *rotldi3_internal14le, *rotldi3_internal14be,
36691 *rotldi3_internal15le, *rotldi3_internal15be, *ashldi3_internal1,
36692 *ashldi3_internal2, *ashldi3_internal3, *lshrdi3_internal1,
36693 *lshrdi3_internal2, *lshrdi3_internal3, *ashrdi3_internal1,
36694 *ashrdi3_internal2, *ashrdi3_internal3, *anddi3_internal2_mc,
36695 *anddi3_internal3_mc, as well as 11 anonymous define_insns): Adjust.
36696 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
36697 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
36699 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
36700 * config/rs6000/440.md (ppc440-integer): Adjust.
36701 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
36702 * config/rs6000/601.md (ppc601-integer, ppc601-compare): Adjust.
36703 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
36704 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
36705 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
36706 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
36707 * config/rs6000/8540.md (ppc8540_su): Adjust.
36708 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
36709 cell-cmp-microcoded): Adjust.
36710 * config/rs6000/e300c2c3.md (ppce300c3_cmp): Adjust.
36711 * config/rs6000/e500mc.md (e500mc_su): Adjust.
36712 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2,
36713 e500mc64_delayed): Adjust.
36714 * config/rs6000/e5500.md (e5500_sfx, e5500_delayed): Adjust.
36715 * config/rs6000/e6500.md (e6500_sfx, e6500_delayed): Adjust.
36716 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
36717 * config/rs6000/power4.md (power4-integer, power4-compare): Adjust.
36718 * config/rs6000/power5.md (power5-integer, power5-compare): Adjust.
36719 * config/rs6000/power6.md (power6-shift, power6-var-rotate,
36720 power6-delayed-compare, power6-var-delayed-compare): Adjust.
36721 * config/rs6000/power7.md (power7-integer, power7-compare): Adjust.
36722 * config/rs6000/power8.md (power8-1cyc, power8-compare): Adjust.
36724 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
36725 * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
36727 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
36729 * config/rs6000/rs6000.md (type): Delete "idiv", "ldiv". Add "div".
36730 (bits): New mode_attr.
36731 (idiv_ldiv): Delete mode_attr.
36732 (udiv<mode>3, *div<mode>3, div<div_extend>_<mode>): Adjust.
36733 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
36734 rs6000_adjust_priority, is_nonpipeline_insn,
36735 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
36737 * config/rs6000/40x.md (ppc403-idiv): Adjust.
36738 * config/rs6000/440.md (ppc440-idiv): Adjust.
36739 * config/rs6000/476.md (ppc476-idiv): Adjust.
36740 * config/rs6000/601.md (ppc601-idiv): Adjust.
36741 * config/rs6000/603.md (ppc603-idiv): Adjust.
36742 * config/rs6000/6xx.md (ppc604-idiv, ppc620-idiv, ppc630-idiv,
36743 ppc620-ldiv): Adjust.
36744 * config/rs6000/7450.md (ppc7450-idiv): Adjust.
36745 * config/rs6000/7xx.md (ppc750-idiv): Adjust.
36746 * config/rs6000/8540.md (ppc8540_divide): Adjust.
36747 * config/rs6000/a2.md (ppca2-idiv, ppca2-ldiv): Adjust.
36748 * config/rs6000/cell.md (cell-idiv, cell-ldiv): Adjust.
36749 * config/rs6000/e300c2c3.md (ppce300c3_divide): Adjust.
36750 * config/rs6000/e500mc.md (e500mc_divide): Adjust.
36751 * config/rs6000/e500mc64.md (e500mc64_divide): Adjust.
36752 * config/rs6000/e5500.md (e5500_divide, e5500_divide_d): Adjust.
36753 * config/rs6000/e6500.md (e6500_divide, e6500_divide_d): Adjust.
36754 * config/rs6000/mpc.md (mpccore-idiv): Adjust.
36755 * config/rs6000/power4.md (power4-idiv, power4-ldiv): Adjust.
36756 * config/rs6000/power5.md (power5-idiv, power5-ldiv): Adjust.
36757 * config/rs6000/power6.md (power6-idiv, power6-ldiv): Adjust.
36758 * config/rs6000/power7.md (power7-idiv, power7-ldiv): Adjust.
36759 * config/rs6000/power8.md (power8-idiv, power8-ldiv): Adjust.
36760 * config/rs6000/rs64.md (rs64a-idiv, rs64a-ldiv): Adjust.
36761 * config/rs6000/titan.md (titan_fxu_div): Adjust.
36763 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
36765 * config/rs6000/rs6000.md (type): Delete "insert_word",
36766 "insert_dword". Add "insert".
36767 (size): Update comment.
36768 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
36769 insn_must_be_first_in_group): Adjust.
36770 (insvsi_internal, *insvsi_internal1, *insvsi_internal2,
36771 *insvsi_internal3, *insvsi_internal4, *insvsi_internal5,
36772 *insvsi_internal6, insvdi_internal): Adjust.
36774 * config/rs6000/40x.md (ppc403-integer): Adjust.
36775 * config/rs6000/440.md (ppc440-integer): Adjust.
36776 * config/rs6000/476.md (ppc476-simple-integer): Adjust.
36777 * config/rs6000/601.md (ppc601-integer): Adjust.
36778 * config/rs6000/603.md (ppc603-integer): Adjust.
36779 * config/rs6000/6xx.md (ppc604-integer): Adjust.
36780 * config/rs6000/7450.md (ppc7450-integer): Adjust.
36781 * config/rs6000/7xx.md (ppc750-integer): Adjust.
36782 * config/rs6000/8540.md (ppc8540_su): Adjust.
36783 * config/rs6000/cell.md (cell-integer, cell-insert): Adjust.
36784 * config/rs6000/e300c2c3.md (ppce300c3_iu): Adjust.
36785 * config/rs6000/e500mc.md (e500mc_su): Adjust.
36786 * config/rs6000/e500mc64.md (e500mc64_su): Adjust.
36787 * config/rs6000/e5500.md (e5500_sfx): Adjust.
36788 * config/rs6000/e6500.md (e6500_sfx): Adjust.
36789 * config/rs6000/mpc.md (mpccore-integer): Adjust.
36790 * config/rs6000/power4.md (power4-integer, power4-insert): Adjust.
36791 * config/rs6000/power5.md (power5-integer, power5-insert): Adjust.
36792 * config/rs6000/power6.md (power6-insert, power6-insert-dword): Adjust.
36793 * config/rs6000/power7.md (power7-integer): Adjust.
36794 * config/rs6000/power8.md (power8-1cyc): Adjust.
36795 * config/rs6000/rs64.md (rs64a-integer): Adjust.
36796 * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
36798 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
36800 * config/rs6000/rs6000.md (type): Add "mul". Delete "imul",
36801 "imul2", "imul3", "lmul", "imul_compare", "lmul_compare".
36802 (size): New attribute.
36803 (dot): New attribute.
36804 (cell_micro): Adjust.
36805 (mulsi3, *mulsi3_internal1, *mulsi3_internal2, mulsidi3,
36806 umulsidi3, smulsi3_highpart, umulsi3_highpart, muldi3,
36807 *muldi3_internal1, *muldi3_internal2, smuldi3_highpart,
36808 umuldi3_highpart): Adjust.
36809 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
36810 rs6000_adjust_priority, is_nonpipeline_insn,
36811 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
36813 * config/rs6000/40x.md (ppc403-imul, ppc405-imul, ppc405-imul2,
36814 ppc405-imul3): Adjust.
36815 * config/rs6000/440.md (ppc440-imul, ppc440-imul2): Adjust.
36816 * config/rs6000/476.md (ppc476-imul): Adjust.
36817 * config/rs6000/601.md (ppc601-imul): Adjust.
36818 * config/rs6000/603.md (ppc603-imul, ppc603-imul2): Adjust.
36819 * config/rs6000/6xx.md (ppc604-imul, ppc604e-imul, ppc620-imul,
36820 ppc620-imul2, ppc620-imul3, ppc620-lmul): Adjust.
36821 * config/rs6000/7450.md (ppc7450-imul, ppc7450-imul2): Adjust.
36822 * config/rs6000/7xx.md (ppc750-imul, ppc750-imul2, ppc750-imul3):
36824 * config/rs6000/8540.md (ppc8540_multiply): Adjust.
36825 * config/rs6000/a2.md (ppca2-imul, ppca2-lmul): Adjust.
36826 * config/rs6000/cell.md (cell-lmul, cell-lmul-cmp, cell-imul23,
36827 cell-imul): Adjust.
36828 * config/rs6000/e300c2c3.md (ppce300c3_multiply): Adjust.
36829 * config/rs6000/e500mc.md (e500mc_multiply): Adjust.
36830 * config/rs6000/e500mc64.md (e500mc64_multiply): Adjust.
36831 * config/rs6000/e5500.md (e5500_multiply, e5500_multiply_i): Adjust.
36832 * config/rs6000/e6500.md (e6500_multiply, e6500_multiply_i): Adjust.
36833 * config/rs6000/mpc.md (mpccore-imul): Adjust.
36834 * config/rs6000/power4.md (power4-lmul-cmp, power4-imul-cmp,
36835 power4-lmul, power4-imul, power4-imul3): Adjust.
36836 * config/rs6000/power5.md (power5-lmul-cmp, power5-imul-cmp,
36837 power5-lmul, power5-imul, power5-imul3): Adjust.
36838 * config/rs6000/power6.md (power6-lmul-cmp, power6-imul-cmp,
36839 power6-lmul, power6-imul, power6-imul3): Adjust.
36840 * config/rs6000/power7.md (power7-mul, power7-mul-compare): Adjust.
36841 * config/rs6000/power8.md (power8-mul, power8-mul-compare): Adjust.
36843 * config/rs6000/rs64.md (rs64a-imul, rs64a-imul2, rs64a-imul3,
36844 rs64a-lmul): Adjust.
36845 * config/rs6000/titan.md (titan_imul): Adjust.
36847 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
36849 * config/rs6000/rs6000.md (type): Add new value "halfmul".
36850 (*macchwc, *macchw, *macchwuc, *macchwu, *machhwc, *machhw,
36851 *machhwuc, *machhwu, *maclhwc, *maclhw, *maclhwuc, *maclhwu,
36852 *nmacchwc, *nmacchw, *nmachhwc, *nmachhw, *nmaclhwc, *nmaclhw,
36853 *mulchwc, *mulchw, *mulchwuc, *mulchwu, *mulhhwc, *mulhhw,
36854 *mulhhwuc, *mulhhwu, *mullhwc, *mullhw, *mullhwuc, *mullhwu): Use it.
36855 * config/rs6000/40x.md (ppc405-imul3): Add type halfmul.
36856 * config/rs6000/440.md (ppc440-imul2): Add type halfmul.
36857 * config/rs6000/476.md (ppc476-imul): Add type halfmul.
36858 * config/rs6000/titan.md: Delete nonsensical comment.
36859 (titan_imul): Add type imul3.
36860 (titan_mulhw): Remove type imul3; add type halfmul.
36862 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
36864 * config/rs6000/rs6000.md (type): Reorder, reformat.
36866 2014-05-23 Martin Jambor <mjambor@suse.cz>
36868 PR tree-optimization/53787
36869 * params.def (PARAM_IPA_MAX_AA_STEPS): New param.
36870 * ipa-prop.h (ipa_node_params): Rename uses_analysis_done to
36871 analysis_done, update all uses.
36872 * ipa-prop.c: Include domwalk.h
36873 (param_analysis_info): Removed.
36874 (param_aa_status): New type.
36875 (ipa_bb_info): Likewise.
36876 (func_body_info): Likewise.
36877 (ipa_get_bb_info): New function.
36878 (aa_overwalked): Likewise.
36879 (find_dominating_aa_status): Likewise.
36880 (parm_bb_aa_status_for_bb): Likewise.
36881 (parm_preserved_before_stmt_p): Changed to use new param AA info.
36882 (load_from_unmodified_param): Accept func_body_info as a parameter
36883 instead of parms_ainfo.
36884 (parm_ref_data_preserved_p): Changed to use new param AA info.
36885 (parm_ref_data_pass_through_p): Likewise.
36886 (ipa_load_from_parm_agg_1): Likewise. Update callers.
36887 (compute_complex_assign_jump_func): Changed to use new param AA info.
36888 (compute_complex_ancestor_jump_func): Likewise.
36889 (ipa_compute_jump_functions_for_edge): Likewise.
36890 (ipa_compute_jump_functions): Removed.
36891 (ipa_compute_jump_functions_for_bb): New function.
36892 (ipa_analyze_indirect_call_uses): Likewise, moved variable
36894 (ipa_analyze_virtual_call_uses): Accept func_body_info instead of node
36895 and info, moved variable declarations down.
36896 (ipa_analyze_call_uses): Accept and pass on func_body_info instead of
36898 (ipa_analyze_stmt_uses): Likewise.
36899 (ipa_analyze_params_uses): Removed.
36900 (ipa_analyze_params_uses_in_bb): New function.
36901 (ipa_analyze_controlled_uses): Likewise.
36902 (free_ipa_bb_info): Likewise.
36903 (analysis_dom_walker): New class.
36904 (ipa_analyze_node): Handle node-specific forbidden analysis,
36905 initialize and free func_body_info, use dominator walker.
36906 (ipcp_modif_dom_walker): New class.
36907 (ipcp_transform_function): Create and free func_body_info, use
36908 ipcp_modif_dom_walker, moved a lot of functionality there.
36910 2014-05-23 Marek Polacek <polacek@redhat.com>
36911 Jakub Jelinek <jakub@redhat.com>
36913 * builtins.def: Change SANITIZE_FLOAT_DIVIDE to SANITIZE_NONDEFAULT.
36914 * gcc.c (sanitize_spec_function): Likewise.
36915 * convert.c (convert_to_integer): Include "ubsan.h". Add
36916 floating-point to integer instrumentation.
36917 * doc/invoke.texi: Document -fsanitize=float-cast-overflow.
36918 * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_CAST and
36919 SANITIZE_NONDEFAULT.
36920 * opts.c (common_handle_option): Handle -fsanitize=float-cast-overflow.
36921 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW,
36922 BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW_ABORT): Add.
36923 * ubsan.c: Include "realmpfr.h" and "dfp.h".
36924 (get_ubsan_type_info_for_type): Handle REAL_TYPEs.
36925 (ubsan_type_descriptor): Set tkind to 0xffff for types other than
36926 float/double/long double.
36927 (ubsan_instrument_float_cast): New function.
36928 * ubsan.h (ubsan_instrument_float_cast): Declare.
36930 2014-05-23 Jiong Wang <jiong.wang@arm.com>
36932 * config/aarch64/predicates.md (aarch64_call_insn_operand): New
36934 * config/aarch64/constraints.md ("Ucs", "Usf"): New constraints.
36935 * config/aarch64/aarch64.md (*sibcall_insn, *sibcall_value_insn):
36936 Adjust for tailcalling through registers.
36937 * config/aarch64/aarch64.h (enum reg_class): New caller save
36939 (REG_CLASS_NAMES): Likewise.
36940 (REG_CLASS_CONTENTS): Likewise.
36941 * config/aarch64/aarch64.c (aarch64_function_ok_for_sibcall):
36942 Allow tailcalling without decls.
36944 2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
36946 * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
36947 Rewrite check for ORT_PARALLEL and ORT_COMBINED_PARALLEL.
36949 * omp-low.c (expand_omp_for_static_chunk): Rename variable si to
36950 gsi, and variables v_* to v*.
36952 2014-05-23 Eric Botcazou <ebotcazou@adacore.com>
36954 * varasm.c (output_constructor_bitfield): Fix thinkos in latest change.
36956 2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
36958 * gimple.h (enum gf_mask): Add and use GF_OMP_FOR_SIMD.
36959 * omp-low.c: Update accordingly.
36961 * gimple.h (enum gf_mask): Rewrite "<< 0" shift expressions used
36962 for GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_KIND_FOR,
36963 GF_OMP_FOR_KIND_DISTRIBUTE, GF_OMP_FOR_KIND_SIMD,
36964 GF_OMP_FOR_KIND_CILKSIMD, GF_OMP_TARGET_KIND_MASK,
36965 GF_OMP_TARGET_KIND_REGION, GF_OMP_TARGET_KIND_DATA,
36966 GF_OMP_TARGET_KIND_UPDATE.
36968 * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
36969 Explicitly enumerate the expected region types.
36971 2014-05-23 Paul Eggert <eggert@cs.ucla.edu>
36974 * doc/extend.texi (Function Attributes): Fix __attribute__ ((malloc))
36975 documentation; the old documentation didn't clearly state the
36976 constraints on the contents of the pointed-to storage.
36978 2014-05-23 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
36980 Fix bootstrap error on ia64
36981 * config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard):
36982 Return default value.
36984 2014-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
36986 PR tree-optimization/54733
36987 * tree-ssa-math-opts.c (nop_stats): New "bswap_stats" structure.
36989 (find_bswap_or_nop_load): New.
36990 (find_bswap_1): Renamed to ...
36991 (find_bswap_or_nop_1): This. Also add support for memory source.
36992 (find_bswap): Renamed to ...
36993 (find_bswap_or_nop): This. Also add support for memory source and
36994 detection of bitwise operations equivalent to load in target
36996 (execute_optimize_bswap): Likewise. Also move its leading comment back
36997 in place and split statement transformation into ...
36998 (bswap_replace): This.
37000 2014-05-22 Vladimir Makarov <vmakarov@redhat.com>
37002 PR rtl-optimization/61215
37003 * lra-elelimination.c (lra_eliminate_regs_1): Don't use
37004 simplify_gen_subreg until final substitution.
37006 2014-05-23 Alan Modra <amodra@gmail.com>
37009 * config/rs6000/rs6000.c (mem_operand_gpr): Handle SImode.
37010 * config/rs6000/rs6000.md (extendsidi2_lfiwax, extendsidi2_nocell):
37011 Use "Y" constraint rather than "m".
37013 2014-05-23 Kugan Vivekanandarajah <kuganv@linaro.org>
37015 * config/aarch64/aarch64.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New
37017 * config/aarch64/aarch64-protos.h (aarch64_atomic_assign_expand_fenv):
37018 New function declaration.
37019 * config/aarch64/aarch64-builtins.c (aarch64_builtins) : Add
37020 AARCH64_BUILTIN_GET_FPCR, AARCH64_BUILTIN_SET_FPCR.
37021 AARCH64_BUILTIN_GET_FPSR and AARCH64_BUILTIN_SET_FPSR.
37022 (aarch64_init_builtins) : Initialize builtins
37023 __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
37024 __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
37025 (aarch64_expand_builtin) : Expand builtins __builtins_aarch64_set_fpcr
37026 __builtins_aarch64_get_fpcr, __builtins_aarch64_get_fpsr,
37027 and __builtins_aarch64_set_fpsr.
37028 (aarch64_atomic_assign_expand_fenv): New function.
37029 * config/aarch64/aarch64.md (set_fpcr): New pattern.
37030 (get_fpcr) : Likewise.
37031 (set_fpsr) : Likewise.
37032 (get_fpsr) : Likewise.
37033 (unspecv): Add UNSPECV_GET_FPCR and UNSPECV_SET_FPCR, UNSPECV_GET_FPSR
37034 and UNSPECV_SET_FPSR.
37035 * doc/extend.texi (AARCH64 Built-in Functions) : Document
37036 __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
37037 __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
37039 2014-05-22 Vladimir Makarov <vmakarov@redhat.com>
37041 PR rtl-optimization/60969
37042 * ira-costs.c (record_reg_classes): Process NO_REGS for matching
37043 constraints. Set up mem cost for NO_REGS case.
37045 2014-05-22 Thomas Schwinge <thomas@codesourcery.com>
37047 * builtin-types.def: Simplify examples for DEF_FUNCTION_TYPE_*.
37049 2012-05-22 Bernd Schmidt <bernds@codesourcery.com>
37051 * config/darwin.c: Include "lto-section-names.h".
37052 (LTO_SEGMENT_NAME): Don't define.
37053 * config/i386/winnt.c: Include "lto-section-names.h".
37054 * lto-streamer.c: Include "lto-section-names.h".
37055 * lto-streamer.h (LTO_SECTION_NAME_PREFIX): Don't define.
37056 * lto-wrapper.c: Include "lto-section-names.h".
37057 (LTO_SECTION_NAME_PREFIX): Don't define.
37058 * lto-section-names.h: New file.
37059 * cgraphunit.c: Include "lto-section-names.h".
37061 2014-05-22 Peter Bergner <bergner@vnet.ibm.com>
37063 * config/rs6000/htm.md (ttest): Use correct shift value to get CR0.
37065 2014-05-22 Richard Earnshaw <rearnsha@arm.com>
37068 * arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
37070 2014-05-22 Nick Clifton <nickc@redhat.com>
37072 * config/msp430/msp430.h (ASM_SPEC): Add spaces after inserted options.
37074 2014-05-22 Eric Botcazou <ebotcazou@adacore.com>
37076 * tree-ssa-forwprop.c (associate_plusminus): Extend (T)(P + A) - (T)P
37077 -> (T)A transformation to integer types.
37079 2014-05-22 Teresa Johnson <tejohnson@google.com>
37081 * gcov-io.c (gcov_position): Use gcov_nonruntime_assert.
37082 (gcov_is_error): Remove gcc_assert from IN_LIBGCOV code.
37083 (gcov_rewrite): Use gcov_nonruntime_assert.
37084 (gcov_open): Ditto.
37085 (gcov_write_words): Ditto.
37086 (gcov_write_length): Ditto.
37087 (gcov_read_words): Use gcov_nonruntime_assert, and remove
37088 gcc_assert from IN_LIBGCOV code.
37089 (gcov_read_summary): Use gcov_error to flag profile corruption.
37090 (gcov_sync): Use gcov_nonruntime_assert.
37091 (gcov_seek): Remove gcc_assert from IN_LIBGCOV code.
37092 (gcov_histo_index): Use gcov_nonruntime_assert.
37093 (static void gcov_histogram_merge): Ditto.
37094 (compute_working_sets): Ditto.
37095 * gcov-io.h (gcov_nonruntime_assert): Define.
37096 (gcov_error): Define for !IN_LIBGCOV
37098 2014-05-22 Richard Biener <rguenther@suse.de>
37100 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
37101 BUILT_IN_REALLOC like BUILT_IN_STRDUP.
37102 (call_may_clobber_ref_p_1): Handle BUILT_IN_REALLOC as allocation
37103 and deallocation site.
37104 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
37105 Handle BUILT_IN_REALLOC similar to BUILT_IN_STRDUP with also
37106 passing through the incoming points-to set.
37107 (handle_lhs_call): Use flags argument instead of recomputing it.
37108 (find_func_aliases_for_call): Call handle_lhs_call with proper
37111 2014-05-22 Jakub Jelinek <jakub@redhat.com>
37113 * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Make sure
37114 all padding bits in REAL_VALUE_TYPE are cleared.
37116 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
37118 Cleanup and improve multipass_dfa_lookahead_guard
37119 * config/i386/i386.c (core2i7_first_cycle_multipass_filter_ready_try,)
37120 (core2i7_first_cycle_multipass_begin,)
37121 (core2i7_first_cycle_multipass_issue,)
37122 (core2i7_first_cycle_multipass_backtrack): Update signature.
37123 * config/ia64/ia64.c
37124 (ia64_first_cycle_multipass_dfa_lookahead_guard_spec): Remove.
37125 (ia64_first_cycle_multipass_dfa_lookahead_guard): Update signature.
37126 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove
37128 (ia64_first_cycle_multipass_dfa_lookahead_guard): Merge logic from
37129 ia64_first_cycle_multipass_dfa_lookahead_guard_spec. Update return
37131 * config/rs6000/rs6000.c (rs6000_use_sched_lookahead_guard): Update
37133 * doc/tm.texi: Regenerate.
37135 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove.
37136 * haifa-sched.c (ready_try): Make signed to allow negative values.
37137 (rebug_ready_list_1): Update.
37138 (choose_ready): Simplify.
37139 (sched_extend_ready_list): Update.
37141 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
37143 Remove IA64 speculation tweaking flags
37144 * config/ia64/ia64.c (ia64_set_sched_flags): Delete handling of
37145 speculation tuning flags.
37146 (msched-prefer-non-data-spec-insns,)
37147 (msched-prefer-non-control-spec-insns): Obsolete options.
37148 * haifa-sched.c (choose_ready): Remove handling of
37149 PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
37150 * sched-int.h (enum SPEC_SCHED_FLAGS): Remove PREFER_NON_CONTROL_SPEC
37151 and PREFER_NON_DATA_SPEC.
37152 * sel-sched.c (process_spec_exprs): Remove handling of
37153 PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
37155 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
37157 Improve scheduling debug output
37158 * haifa-sched.c (debug_ready_list): Remove unnecessary prototype.
37159 (advance_one_cycle): Update.
37160 (schedule_insn, queue_to_ready): Add debug printouts.
37161 (debug_ready_list_1): New static function.
37162 (debug_ready_list): Update.
37163 (max_issue): Add debug printouts.
37164 (dump_insn_stream): New static function.
37165 (schedule_block): Use it. Also better indent printouts.
37167 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
37169 Fix sched_insn debug counter
37170 * haifa-sched.c (schedule_insn): Update.
37171 (struct haifa_saved_data): Add nonscheduled_insns_begin.
37172 (save_backtrack_point, restore_backtrack_point): Update.
37173 (first_nonscheduled_insn): New static function.
37174 (queue_to_ready, choose_ready): Use it.
37175 (schedule_block): Init nonscheduled_insns_begin.
37176 (sched_emit_insn): Update.
37179 2014-05-22 Kugan Vivekanandarajah <kuganv@linaro.org>
37181 * config/aarch64/aarch64.c (aarch64_regno_regclass) : Change CORE_REGS
37183 (aarch64_secondary_reload) : LikeWise.
37184 (aarch64_class_max_nregs) : Remove CORE_REGS.
37185 * config/aarch64/aarch64.h (enum reg_class) : Remove CORE_REGS.
37186 (REG_CLASS_NAMES) : Likewise.
37187 (REG_CLASS_CONTENTS) : LikeWise.
37188 (INDEX_REG_CLASS) : Change CORE_REGS to GENERAL_REGS.
37190 2014-05-21 Guozhi Wei <carrot@google.com>
37193 * config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's
37195 (vqdmulhq_n_s16): Likewise.
37197 2014-05-21 Segher Boessenkool <segher@kernel.crashing.org>
37199 * config/rs6000/predicates.md (update_indexed_address_mem): Delete.
37201 2014-05-21 Marek Polacek <polacek@redhat.com>
37204 * ubsan.c (is_ubsan_builtin_p): Turn assert into a condition.
37206 2014-05-21 Martin Jambor <mjambor@suse.cz>
37208 * doc/invoke.texi (Optimize Options): Document parameters
37209 ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and
37210 ipa-cp-array-index-hint-bonus.
37212 2014-05-21 Mark Wielaard <mjw@redhat.com>
37215 * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_type if DWARF
37216 version >= 3 or not strict DWARF.
37217 * langhooks.h (struct lang_hooks_for_types): Add
37218 enum_underlying_base_type.
37219 * langhooks.c (lhd_enum_underlying_base_type): New function.
37220 * gcc/langhooks.h (struct lang_hooks_for_types): Add
37221 enum_underlying_base_type.
37222 * langhooks-def.h (lhd_enum_underlying_base_type): New declaration.
37223 (LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE): New define.
37224 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add new lang hook.
37226 2014-05-21 Richard Biener <rguenther@suse.de>
37228 * doc/invoke.texi (-flto-partition=): Document one and none algorithms.
37230 2014-05-21 John Marino <gnugcc@marino.st>
37232 * config.gcc (*-*-dragonfly*): New target.
37233 * configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*).
37234 * configure: Regenerate.
37235 * config/dragonfly-stdint.h: New.
37236 * config/dragonfly.h: New.
37237 * config/dragonfly.opt: New.
37238 * config/i386/dragonfly.h: New.
37239 * ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly.
37241 2014-05-21 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
37243 * tree.def (VOID_CST): New.
37244 * tree-core.h (TI_VOID): New.
37245 * tree.h (void_node): New.
37246 * tree.c (tree_node_structure_for_code, tree_code_size)
37247 (iterative_hash_expr): Handle VOID_CST.
37248 (build_common_tree_nodes): Initialize void_node.
37250 2014-05-21 Bernd Schmidt <bernds@codesourcery.com>
37252 * reload1.c (remove_init_insns, will_delete_init_insn_p): New static
37254 (reload, calculate_needs_all_insns, reload_as_needed): Use them.
37256 * config/bfin/bfin.c (split_load_immediate): Use gen_int_mode in a few
37259 * cfgrtl.c (cfg_layout_initialize): Weaken assert to only trigger if
37260 flag_reorder_blocks_and_partition.
37261 * hw-doloop.c (reorg_loops): Avoid reordering if that flag is set.
37263 2014-05-21 Oleg Endo <olegendo@gcc.gnu.org>
37266 * config/sh/sh.md (*addc_r_1): Rename to addc_t_r. Remove empty
37268 (*addc_r_t): Add new insn_and_split.
37270 2014-05-21 Jakub Jelinek <jakub@redhat.com>
37272 PR middle-end/61252
37273 * omp-low.c (handle_simd_reference): New function.
37274 (lower_rec_input_clauses): Use it. Defer adding reference
37275 initialization even for reduction without placeholder if in simd,
37276 handle it properly later on.
37278 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
37280 PR tree-optimization/60899
37281 * gimple-fold.c (can_refer_decl_in_current_unit_p): Cleanup;
37282 assume all static symbols will have definition wile parsing and
37283 check the do have definition later in compilation; check that
37284 variable referring symbol will be output before concluding that
37285 reference is safe; be conservative for referring local statics;
37286 be more precise about when comdat is output in other partition.
37288 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
37291 * ipa-inline-transform.c (inline_call): Use add CALLEE_REMOVED
37293 * ipa-inline.c (inline_to_all_callers): If callee was removed; return.
37294 (ipa_inline): Loop inline_to_all_callers until no more aliases
37297 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
37299 * ipa.c (ipa_discover_readonly_nonaddressable_var): Fix dumping;
37300 set writeonly flag only for vars actually written to.
37302 2014-05-20 Dehao Chen <dehao@google.com>
37304 * ipa-inline-transform.c (clone_inlined_nodes): Use min of edge count
37305 and callee count to get clone count.
37306 * tree-inline.c (expand_call_inline): Use callee count instead of bb
37307 count in copy_body.
37309 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
37311 PR rtl-optimization/61243
37312 * emit-rtl.c (emit_copy_of_insn_after): Copy CROSSING_JUMP_P.
37314 2014-05-20 Xinliang David Li <davidxl@google.com>
37316 * cgraphunit.c (walk_polymorphic_call_targets): Add
37317 dbgcnt and fopt-info support.
37318 * ipa-prop.c (ipa_make_edge_direct_to_target): Ditto.
37319 * ipa-devirt.c (ipa_devirt): Ditto.
37320 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Ditto.
37321 * ipa.c (walk_polymorphic_call_targets): Ditto.
37322 * gimple-fold.c (fold_gimple_assign): Ditto.
37323 (gimple_fold_call): Ditto.
37324 * dbgcnt.def: New counter.
37326 2014-05-20 DJ Delorie <dj@redhat.com>
37328 * config/msp430/msp430.md (split): Don't allow subregs when
37329 splitting SImode adds.
37330 (andneghi): Fix subtraction logic.
37331 * config/msp430/predicates.md (msp430_nonsubreg_or_imm_operand): New.
37333 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
37335 * tree.h (DECL_ONE_ONLY): Return true only for externally visible
37337 * except.c (switch_to_exception_section, resolve_unique_section,
37338 get_named_text_section, default_function_rodata_section,
37339 align_variable, get_block_for_decl, default_section_type_flags):
37340 Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY.
37341 * symtab.c (symtab_add_to_same_comdat_group,
37342 symtab_make_decl_local, fixup_same_cpp_alias_visibility,
37343 symtab_nonoverwritable_alias, symtab_get_symbol_partitioning_class):
37345 * cgraphclones.c (cgraph_create_virtual_clone): Likewise.
37346 * bb-reorder.c (pass_partition_blocks::gate): Likewise.
37347 * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
37348 (c6x_function_in_section_p): Likewise.
37349 * config/darwin.c (machopic_select_section): Likewise.
37350 * config/arm/arm.c (arm_function_in_section_p): Likewise.
37351 * config/mips/mips.c (mips_function_rodata_section): Likewise.
37352 * config/mep/mep.c (mep_select_section): LIkewise.
37353 * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
37355 2014-05-20 Eric Botcazou <ebotcazou@adacore.com>
37357 * tree-ssa-dom.c (hashable_expr_equal_p) <EXPR_CALL>: Also compare the
37358 EH region of calls to pure functions that can throw an exception.
37359 * tree-ssa-sccvn.c (vn_reference_eq): Remove duplicated test.
37360 (copy_reference_ops_from_call): Also copy the EH region of the call if
37361 it can throw an exception.
37363 2014-05-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
37365 * simplify-rtx.c (simplify_binary_operation_1): Optimize case of
37366 nested VEC_SELECTs that are inverses of each other.
37368 2014-05-20 Richard Biener <rguenther@suse.de>
37370 * tree-ssa-sccvn.c (process_scc): Dump SCC here, when iterating,
37371 (extract_and_process_scc_for_name): not here.
37372 (cond_dom_walker::before_dom_children): Only process
37373 stmts that end the BB in interesting ways.
37374 (run_scc_vn): Mark param uses as visited.
37376 2014-05-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
37378 * config/arm/arm.md (arith_shiftsi): Do not predicate for
37381 2014-05-20 Nick Clifton <nickc@redhat.com>
37383 * config/msp430/msp430.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
37384 (msp430_gimplify_va_arg_expr): New function.
37385 (msp430_print_operand): Handle (CONST (ZERO_EXTRACT)).
37387 * config/msp430/msp430.md (zero_extendpsisi2): Use + constraint on
37388 operand 0 in order to prevent confusion about the number of
37389 registers involved.
37391 2014-05-20 Richard Biener <rguenther@suse.de>
37393 PR tree-optimization/61221
37394 * tree-ssa-pre.c (el_to_update): Remove.
37395 (eliminate_dom_walker::before_dom_children): Handle released
37396 VDEFs by value-numbering them to the associated VUSE. Update
37397 stmt immediately for substituted call address.
37398 (eliminate): Remove delayed stmt updating code.
37399 * tree-ssa-sccvn.c (vuse_ssa_val): New function valueizing
37400 possibly late re-numbered vuses.
37401 (vn_reference_lookup_2): Adjust.
37402 (vn_reference_lookup_pieces): Likewise.
37403 (vn_reference_lookup): Likewise.
37405 2014-05-20 Richard Biener <rguenther@suse.de>
37407 * config.gcc: Remove need_64bit_hwint.
37408 * configure.ac: Do not define NEED_64BIT_HOST_WIDE_INT.
37409 * hwint.h: Do not check NEED_64BIT_HOST_WIDE_INT but assume
37411 * config.in: Regenerate.
37412 * configure: Likewise.
37414 2014-05-19 David Wohlferd <dw@LimeGreenSocks.com>
37416 * doc/extend.texi: Create Label Attributes section,
37417 move all label attributes into it and reference it.
37419 2014-05-19 Richard Earnshaw <rearnsha@arm.com>
37421 * arm.c (thumb1_reorg): When scanning backwards skip anything
37422 that's not a proper insn.
37424 2014-05-19 Richard Biener <rguenther@suse.de>
37426 PR tree-optimization/61221
37427 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
37428 Do nothing for unreachable blocks.
37429 * tree-ssa-sccvn.c (cond_dom_walker::before_dom_children):
37430 Improve unreachability detection.
37432 2014-05-19 Richard Biener <rguenther@suse.de>
37434 PR tree-optimization/61209
37435 * tree-ssa-sccvn.c (visit_phi): Avoid setting expr to VN_TOP.
37437 2014-05-19 Nick Clifton <nickc@redhat.com>
37439 * except.c (init_eh): Fix computation of builtin setjmp buffer
37440 size to allow for targets where POINTER_SIZE > BITS_PER_WORD.
37442 2014-05-19 Richard Biener <rguenther@suse.de>
37444 PR tree-optimization/61184
37445 * tree-vrp.c (is_negative_overflow_infinity): Use
37446 TREE_OVERFLOW_P and do that check first.
37447 (is_positive_overflow_infinity): Likewise.
37448 (is_overflow_infinity): Likewise.
37449 (vrp_operand_equal_p): Properly treat operands with
37450 differing overflow as not equal.
37452 2014-05-19 Bernd Schmidt <bernds@codesourcery.com>
37454 * simplify-rtx.c (simplify_unary_operation_1): Use CONST_INT_P in
37455 shift simplification where it was intended.
37457 2014-05-19 Christian Bruel <christian.bruel@st.com>
37460 * config/sh/sh.md (movsf_ie): Unset fp_mode for fmov.
37462 2014-05-19 Richard Sandiford <r.sandiford@uk.ibm.com>
37465 * config/sparc/sparc.c (sparc_fold_builtin): Use widest_int rather
37468 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com>
37470 * reg-notes.def (CROSSING_JUMP): Likewise.
37471 * rtl.h (rtx_def): Update comment for jump flag.
37472 (CROSSING_JUMP_P): Define.
37473 * cfgcleanup.c (try_forward_edges, try_optimize_cfg): Use it instead
37474 of a REG_CROSSING_JUMP note.
37475 * cfghooks.c (tidy_fallthru_edges): Likewise.
37476 * cfgrtl.c (fixup_partition_crossing, rtl_verify_edges): Likewise.
37477 * emit-rtl.c (try_split): Likewise.
37478 * haifa-sched.c (sched_create_recovery_edges): Likewise.
37479 * ifcvt.c (find_if_case_1, find_if_case_2): Likewise.
37480 * jump.c (redirect_jump_2): Likewise.
37481 * reorg.c (follow_jumps, fill_slots_from_thread): Likewise.
37482 (relax_delay_slots): Likewise.
37483 * config/arc/arc.md (jump_i, cbranchsi4_scratch, *bbit): Likewise.
37484 (bbit_di): Likewise.
37485 * config/arc/arc.c (arc_reorg, arc_can_follow_jump): Likewise.
37486 * config/sh/sh.md (jump_compact): Likewise.
37487 * bb-reorder.c (rotate_loop): Likewise.
37488 (pass_duplicate_computed_gotos::execute): Likewise.
37489 (add_reg_crossing_jump_notes): Rename to...
37490 (update_crossing_jump_flags): ...this.
37491 (pass_partition_blocks::execute): Update accordingly.
37493 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com>
37495 * tree.h: Remove extraneous template <>.
37497 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
37499 * ipa.c (symtab_remove_unreachable_nodes): Remove
37500 symbol from comdat group if its body was eliminated.
37501 (comdat_can_be_unshared_p_1): Static symbols can always be privatized.
37502 * symtab.c (symtab_remove_from_same_comdat_group): Break out from ...
37503 (symtab_unregister_node): ... this one.
37504 (verify_symtab_base): More strict checking of comdats.
37505 * cgraph.h (symtab_remove_from_same_comdat_group): Declare.
37507 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
37509 * tree-pass.h (make_pass_ipa_comdats): New pass.
37510 * timevar.def (TV_IPA_COMDATS): New timevar.
37511 * passes.def (pass_ipa_comdats): Add.
37512 * Makefile.in (OBJS): Add ipa-comdats.o
37513 * ipa-comdats.c: New file.
37515 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
37517 * ipa.c (update_visibility_by_resolution_info): New function.
37518 (function_and_variable_visibility): Use it.
37520 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
37522 * cgraph.h (symtab_first_defined_symbol, symtab_next_defined_symbol):
37524 (FOR_EACH_DEFINED_SYMBOL): New macro.
37525 (varpool_first_static_initializer, varpool_next_static_initializer,
37526 varpool_first_defined_variable, varpool_next_defined_variable):
37528 (symtab_in_same_comdat_p): Correctly deal with inline functions.
37530 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
37532 * ggc-page.c (ggc_handle_finalizers): Add comment.
37534 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
37536 * ggc-common.c (ggc_internal_cleared_alloc): Adjust.
37537 * ggc-none.c (ggc_internal_alloc): Assert if a finalizer is passed.
37538 (ggc_internal_cleared_alloc): Likewise.
37539 * ggc-page.c (finalizer): New class.
37540 (vec_finalizer): Likewise.
37541 (globals::finalizers): New member.
37542 (globals::vec_finalizers): Likewise.
37543 (ggc_internal_alloc): Record the finalizer if any for the block being
37545 (ggc_handle_finalizers): New function.
37546 (ggc_collect): Call ggc_handle_finalizers.
37547 * ggc.h (ggc_internal_alloc): Add arguments to allow installing a
37549 (ggc_internal_cleared_alloc): Likewise.
37550 (finalize): New function.
37551 (need_finalization_p): Likewise.
37552 (ggc_alloc): Install the type's destructor as the finalizer if it
37553 might do something.
37554 (ggc_cleared_alloc): Likewise.
37555 (ggc_vec_alloc): Likewise.
37556 (ggc_cleared_vec_alloc): Likewise.
37558 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
37560 * ggc.h (ggc_alloc_cleared_simd_clone_stat): Remove function.
37562 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
37564 * alias.c (record_alias_subset): Adjust.
37565 * bitmap.c (bitmap_element_allocate): Likewise.
37566 (bitmap_gc_alloc_stat): Likewise.
37567 * cfg.c (init_flow): Likewise.
37568 (alloc_block): Likewise.
37569 (unchecked_make_edge): Likewise.
37570 * cfgloop.c (alloc_loop): Likewise.
37571 (flow_loops_find): Likewise.
37572 (rescan_loop_exit): Likewise.
37573 * cfgrtl.c (init_rtl_bb_info): Likewise.
37574 * cgraph.c (insert_new_cgraph_node_version): Likewise.
37575 (cgraph_allocate_node): Likewise.
37576 (cgraph_create_edge_1): Likewise.
37577 (cgraph_allocate_init_indirect_info): Likewise.
37578 * cgraphclones.c (cgraph_clone_edge): Likewise.
37579 * cgraphunit.c (add_asm_node): Likewise.
37580 (init_lowered_empty_function): Likewise.
37581 * config/aarch64/aarch64.c (aarch64_init_machine_status): Likewise.
37582 * config/alpha/alpha.c (alpha_init_machine_status): Likewise.
37583 (alpha_use_linkage): Likewise.
37584 * config/arc/arc.c (arc_init_machine_status): Likewise.
37585 * config/arm/arm.c (arm_init_machine_status): Likewise.
37586 * config/avr/avr.c (avr_init_machine_status): Likewise.
37587 * config/bfin/bfin.c (bfin_init_machine_status): Likewise.
37588 * config/c6x/c6x.c (c6x_init_machine_status): Likewise.
37589 * config/cris/cris.c (cris_init_machine_status): Likewise.
37590 * config/darwin.c (machopic_indirection_name): Likewise.
37591 (darwin_build_constant_cfstring): Likewise.
37592 (darwin_enter_string_into_cfstring_table): Likewise.
37593 * config/epiphany/epiphany.c (epiphany_init_machine_status): Likewise.
37594 * config/frv/frv.c (frv_init_machine_status): Likewise.
37595 * config/i386/i386.c (get_dllimport_decl): Likewise.
37596 (ix86_init_machine_status): Likewise.
37597 (assign_386_stack_local): Likewise.
37598 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
37599 (i386_pe_maybe_record_exported_symbol): Likewise.
37600 (i386_pe_record_stub): Likewise.
37601 * config/ia64/ia64.c (ia64_init_machine_status): Likewise.
37602 * config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
37603 * config/m32c/m32c.c (m32c_init_machine_status): Likewise.
37604 (m32c_note_pragma_address): Likewise.
37605 * config/mep/mep.c (mep_init_machine_status): Likewise.
37606 (mep_note_pragma_flag): Likewise.
37607 * config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
37608 (mips16_local_alias): Likewise.
37609 (mips_init_machine_status): Likewise.
37610 * config/mmix/mmix.c (mmix_init_machine_status): Likewise.
37611 * config/moxie/moxie.c (moxie_init_machine_status): Likewise.
37612 * config/msp430/msp430.c (msp430_init_machine_status): Likewise.
37613 * config/nds32/nds32.c (nds32_init_machine_status): Likewise.
37614 * config/nios2/nios2.c (nios2_init_machine_status): Likewise.
37615 * config/pa/pa.c (pa_init_machine_status): Likewise.
37616 (pa_get_deferred_plabel): Likewise.
37617 * config/rl78/rl78.c (rl78_init_machine_status): Likewise.
37618 * config/rs6000/rs6000.c (builtin_function_type): Likewise.
37619 (rs6000_init_machine_status): Likewise.
37620 (output_toc): Likewise.
37621 * config/s390/s390.c (s390_init_machine_status): Likewise.
37622 * config/score/score.c (score_output_external): Likewise.
37623 * config/sparc/sparc.c (sparc_init_machine_status): Likewise.
37624 * config/spu/spu.c (spu_init_machine_status): Likewise.
37625 * config/tilegx/tilegx.c (tilegx_init_machine_status): Likewise.
37626 * config/tilepro/tilepro.c (tilepro_init_machine_status): Likewise.
37627 * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
37628 * coverage.c (coverage_end_function): Likewise.
37629 * dbxout.c (dbxout_init): Likewise.
37630 * doc/gty.texi: Don't mention variable_size attribute.
37631 * dwarf2cfi.c (new_cfi): Adjust.
37632 (new_cfi_row): Likewise.
37633 (copy_cfi_row): Likewise.
37634 (create_cie_data): Likewise.
37635 * dwarf2out.c (dwarf2out_alloc_current_fde): Likewise.
37636 (new_loc_descr): Likewise.
37637 (find_AT_string_in_table): Likewise.
37638 (add_addr_table_entry): Likewise.
37639 (new_die): Likewise.
37640 (add_var_loc_to_decl): Likewise.
37641 (clone_die): Likewise.
37642 (clone_as_declaration): Likewise.
37643 (break_out_comdat_types): Likewise.
37644 (new_loc_list): Likewise.
37645 (add_loc_descr_to_each): Likewise.
37646 (add_location_or_const_value_attribute): Likewise.
37647 (add_linkage_name): Likewise.
37648 (lookup_filename): Likewise.
37649 (dwarf2out_var_location): Likewise.
37650 (new_line_info_table): Likewise.
37651 (dwarf2out_init): Likewise.
37652 (mem_loc_descriptor): Likewise.
37653 (loc_descriptor): Likewise.
37654 (add_const_value_attribute): Likewise.
37655 (tree_add_const_value_attribute): Likewise.
37656 (comp_dir_string): Likewise.
37657 (dwarf2out_vms_debug_main_pointer): Likewise.
37658 (string_cst_pool_decl): Likewise.
37659 * emit-rtl.c (set_mem_attrs): Likewise.
37660 (get_reg_attrs): Likewise.
37661 (start_sequence): Likewise.
37662 (init_emit): Likewise.
37663 (init_emit_regs): Likewise.
37664 * except.c (init_eh_for_function): Likewise.
37665 (gen_eh_region): Likewise.
37666 (gen_eh_region_catch): Likewise.
37667 (gen_eh_landing_pad): Likewise.
37668 (add_call_site): Likewise.
37669 * function.c (add_frame_space): Likewise.
37670 (insert_temp_slot_address): Likewise.
37671 (assign_stack_temp_for_type): Likewise.
37672 (get_hard_reg_initial_val): Likewise.
37673 (allocate_struct_function): Likewise.
37674 (prepare_function_start): Likewise.
37675 (types_used_by_var_decl_insert): Likewise.
37676 * gengtype.c (variable_size_p): Remove function.
37677 (enum alloc_quantity): Remove enum.
37678 (write_typed_alloc_def): Remove function.
37679 (write_typed_struct_alloc_def): Likewise.
37680 (write_typed_typedef_alloc_def): Likewise.
37681 (write_typed_alloc_defns): Likewise.
37683 * ggc-common.c (ggc_cleared_alloc_htab_ignore_args): Adjust.
37684 (ggc_cleared_alloc_ptr_array_two_args): Likewise.
37685 * ggc.h (ggc_alloc): new function.
37686 (ggc_cleared_alloc): Likewise.
37687 (ggc_vec_alloc): Template on type of vector element, and remove
37688 element size argument.
37689 (ggc_cleared_vec_alloc): Likewise.
37690 * gimple.c (gimple_build_omp_for): Adjust.
37691 (gimple_copy): Likewise.
37692 * ipa-cp.c (get_replacement_map): Likewise.
37693 (find_aggregate_values_for_callers_subset): Likewise.
37694 (known_aggs_to_agg_replacement_list): Likewise.
37695 * ipa-devirt.c (get_odr_type): Likewise.
37696 * ipa-prop.c (ipa_node_duplication_hook): Likewise.
37697 (read_agg_replacement_chain): Likewise.
37698 * loop-iv.c (get_simple_loop_desc): Likewise.
37699 * lto-cgraph.c (input_node_opt_summary): Likewise.
37700 * lto-section-in.c (lto_new_in_decl_state): Likewise.
37701 * lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
37702 (input_eh_region): Likewise.
37703 (input_eh_lp): Likewise.
37704 (input_cfg): Likewise.
37705 * optabs.c (set_optab_libfunc): Likewise.
37706 (init_tree_optimization_optabs): Likewise.
37707 (set_conv_libfunc): Likewise.
37708 * passes.c (do_per_function_toporder): Likewise.
37709 * rtl.h: Don't use variable_size gty attribute.
37710 * sese.c (if_region_set_false_region): Adjust.
37711 * stringpool.c (gt_pch_save_stringpool): Likewise.
37712 * target-globals.c (save_target_globals): Likewise.
37713 * toplev.c (general_init): Likewise.
37714 * trans-mem.c (record_tm_replacement): Likewise.
37715 (split_bb_make_tm_edge): Likewise.
37716 * tree-cfg.c (move_sese_region_to_fn): Likewise.
37717 * tree-data-ref.h (lambda_vector_new): Likewise.
37718 * tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
37719 * tree-iterator.c (tsi_link_before): Likewise.
37720 (tsi_link_after): Likewise.
37721 * tree-scalar-evolution.c (new_scev_info_str): Likewise.
37722 * tree-ssa-loop-niter.c (record_estimate): Likewise.
37723 * tree-ssa-operands.c (ssa_operand_alloc): Likewise.
37724 * tree-ssa-operands.h: Don't use variable_size gty attribute.
37725 * tree-ssa.c (init_tree_ssa): Adjust.
37726 * tree-ssanames.c (set_range_info): Likewise.
37727 (get_ptr_info): Likewise.
37728 (duplicate_ssa_name_ptr_info): Likewise.
37729 (duplicate_ssa_name_range_info): Likewise.
37730 * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Likewise.
37731 (unpack_ts_fixed_cst_value_fields): Likewise.
37732 * tree.c (build_fixed): Likewise.
37733 (build_real): Likewise.
37734 (build_string): Likewise.
37735 (decl_priority_info): Likewise.
37736 (decl_debug_expr_insert): Likewise.
37737 (decl_value_expr_insert): Likewise.
37738 (decl_debug_args_insert): Likewise.
37739 (type_hash_add): Likewise.
37740 (build_omp_clause): Likewise.
37741 * ubsan.c (decl_for_type_insert): Likewise.
37742 * varasm.c (get_unnamed_section): Likewise.
37743 (get_noswitch_section): Likewise.
37744 (get_section): Likewise.
37745 (get_block_for_section): Likewise.
37746 (create_block_symbol): Likewise.
37747 (build_constant_desc): Likewise.
37748 (create_constant_pool): Likewise.
37749 (force_const_mem): Likewise.
37750 (record_tm_clone_pair): Likewise.
37751 * varpool.c (varpool_create_empty_node): Likewise.
37753 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
37755 * dwarf2out.c (tree_add_const_value_attribute): Call
37756 ggc_internal_cleared_alloc instead of ggc_alloc_cleared_atomic.
37757 * gengtype.c (write_typed_alloc_def): Call ggc_internal_<x>alloc
37758 instead of ggc_internal_<x>alloc_stat.
37759 * ggc-common.c (ggc_internal_cleared_alloc): Drop _stat suffix.
37760 (ggc_realloc): Likewise.
37761 * ggc-none.c (ggc_internal_alloc): Likewise.
37762 (ggc_internal_cleared_alloc): Likewise.
37763 * ggc-page.c: Likewise.
37764 * ggc.h (ggc_internal_alloc_stat): Likewise.
37765 (ggc_internal_alloc): Remove macro.
37766 (ggc_internal_cleared_alloc_stat): Drop _stat suffix.
37767 (ggc_internal_cleared_alloc): Remove macro.
37768 (GGC_RESIZEVEC): Adjust.
37769 (ggc_resizevar): Remove macro.
37770 (ggc_internal_vec_alloc_stat): Drop _stat suffix.
37771 (ggc_internal_cleared_vec_alloc_stat): Likewise.
37772 (ggc_internal_vec_cleared_alloc): Remove macro.
37773 (ggc_alloc_atomic_stat): Drop _stat suffix.
37774 (ggc_alloc_atomic): Remove macro.
37775 (ggc_alloc_cleared_atomic): Remove macro.
37776 (ggc_alloc_string_stat): Drop _stat suffix.
37777 (ggc_alloc_string): Remove macro.
37778 (ggc_alloc_rtx_def_stat): Adjust.
37779 (ggc_alloc_tree_node_stat): Likewise.
37780 (ggc_alloc_cleared_tree_node_stat): Likewise.
37781 (ggc_alloc_cleared_gimple_statement_stat): Likewise.
37782 (ggc_alloc_cleared_simd_clone_stat): Likewise.
37783 * gimple.c (gimple_build_omp_for): Likewise.
37784 (gimple_copy): Likewise.
37785 * stringpool.c (ggc_alloc_string_stat): Drop _stat suffix.
37786 * toplev.c (realloc_for_line_map): Adjust.
37787 * tree-data-ref.h (lambda_vector_new): Likewise.
37788 * tree-phinodes.c (allocate_phi_node): Likewise.
37789 * tree.c (grow_tree_vec_stat): Likewise.
37790 * vec.h (va_gc::reserve): Adjust.
37792 2014-05-17 Ajit Agarwal <ajitkum@xilinx.com>
37794 * config/microblaze/microblaze.c (break_handler): New Declaration.
37795 (microblaze_break_function_p,microblaze_is_break_handler): New.
37796 (compute_frame_size): Use microblaze_break_function_p.
37797 Add the test of break_handler.
37798 (microblaze_function_prologue) : Add the test of variable
37799 break_handler. Check the fnname by BREAK_HANDLER_NAME.
37800 (microblaze_function_epilogue) : Add the test of break_handler.
37801 (microblaze_globalize_label) : Add the test of break_handler.
37802 Check the name by BREAK_HANDLER_NAME.
37804 * config/microblaze/microblaze.h (BREAK_HANDLER_NAME): New macro
37806 * config/microblaze/microblaze.md (*<optab>,<optab>_internal): Add
37807 microblaze_is_break_handler test.
37808 (call_internal1,call_value_intern): Use microblaze_break_function_p.
37809 Use SYMBOL_REF_DECL.
37811 * config/microblaze/microblaze-protos.h
37812 (microblaze_break_function_p,microblaze_is_break_handler):
37815 * doc/extend.texi (MicroBlaze break_handler Functions): Document
37816 new MicroBlaze break_handler functions.
37818 2014-05-17 Uros Bizjak <ubizjak@gmail.com>
37820 * doc/extend.texi (Size of an asm): Move node text according
37821 to its @menu entry position.
37823 2014-05-17 Marc Glisse <marc.glisse@inria.fr>
37825 PR tree-optimization/61140
37826 PR tree-optimization/61150
37827 PR tree-optimization/61197
37828 * tree-ssa-phiopt.c (value_replacement): Punt on multiple phis.
37830 2014-05-17 Uros Bizjak <ubizjak@gmail.com>
37832 * doc/invoke.texi (free): Mention Alpha. Also enabled at -Os.
37834 2014-05-17 Richard Sandiford <r.sandiford@uk.ibm.com>
37836 * wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or
37837 __SIZEOF_INT128__ is defined.
37839 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
37841 * config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function.
37842 (rs6000_delegitimize_address): Use it.
37844 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
37846 * emit-rtl.h (replace_equiv_address, replace_equiv_address_nv): Add an
37847 inplace argument. Store the new address in the original MEM when true.
37848 * emit-rtl.c (change_address_1): Likewise.
37849 (adjust_address_1, adjust_automodify_address_1, offset_address):
37850 Update accordingly.
37851 * rtl.h (plus_constant): Add an inplace argument.
37852 * explow.c (plus_constant): Likewise. Try to reuse the original PLUS
37853 when true. Avoid generating (plus X (const_int 0)).
37854 * function.c (instantiate_virtual_regs_in_rtx): Adjust the PLUS
37855 in-place. Pass true to plus_constant.
37856 (instantiate_virtual_regs_in_insn): Pass true to replace_equiv_address.
37858 2014-05-16 Dehao Chen <dehao@google.com>
37860 * tree-cfg.c (gimple_merge_blocks): Updates bb count with max count.
37862 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
37865 * config/sh/predicates.md (negt_reg_shl31_operand): Match additional
37867 * config/sh/sh.md (*negt_msb): Merge SH2A and non-SH2A variants.
37869 2014-05-16 Dehao Chen <dehao@google.com>
37871 * ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use
37872 optimize_function_for_size_p.
37873 * regs.h (REG_FREQ_FROM_BB): Likewise.
37875 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
37878 * config/sh/sh.c (sh_eval_treg_value): Handle t_reg_operand and
37879 negt_reg_operand cases.
37880 * config/sh/sh.md (*cset_zero): Likewise by using cbranch_treg_value
37882 * config/sh/predicates.md (cbranch_treg_value): Simplify.
37884 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
37886 * config/sh/sh.c (sh_option_override): Set branch cost to 2 for all
37889 2014-05-16 David Malcolm <dmalcolm@redhat.com>
37892 2014-04-29 David Malcolm <dmalcolm@redhat.com>
37894 * tree-cfg.c (dump_function_to_file): Dump the return type of
37895 functions, in a line to itself before the function body, mimicking
37896 the layout of a C function.
37898 2014-05-16 Dehao Chen <dehao@google.com>
37900 * cfghooks.c (make_forwarder_block): Use direct computation to
37901 get fall-through edge's count and frequency.
37903 2014-05-16 Benno Schulenberg <bensberg@justemail.net>
37905 * config/arc/arc.c (arc_init): Fix typo in error message.
37906 * config/i386/i386.c (ix86_expand_builtin): Likewise.
37907 (split_stack_prologue_scratch_regno): Likewise.
37908 * fortran/check.c (gfc_check_fn_rc2008): Remove duplicate
37909 word from error message.
37911 2014-05-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
37913 * ira-costs.c: Fix typo in comment.
37915 2014-05-16 David Wohlferd <dw@LimeGreenSocks.com>
37917 * doc/extend.texi: (Visibility Pragmas) Fix misplaced @xref
37919 2014-05-16 Jan Hubicka <hubicka@ucw.cz>
37921 * varpool.c (dump_varpool_node): Dump write-only flag.
37922 * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Stream
37924 * tree-cfg.c (execute_fixup_cfg): Remove statements setting
37925 write-only variables.
37926 * ipa.c (process_references): New function.
37927 (set_readonly_bit): New function.
37928 (set_writeonly_bit): New function.
37929 (clear_addressable_bit): New function.
37930 (ipa_discover_readonly_nonaddressable_var): Mark write only variables;
37931 fix handling of aliases.
37932 * cgraph.h (struct varpool_node): Add writeonly flag.
37934 2014-05-16 Vladimir Makarov <vmakarov@redhat.com>
37936 PR rtl-optimization/60969
37937 * ira-costs.c (record_reg_classes): Allow only memory for pseudo.
37938 Calculate costs for this case.
37940 2014-05-16 Eric Botcazou <ebotcazou@adacore.com>
37942 * fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case.
37943 <CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const.
37945 2014-05-16 Richard Biener <rguenther@suse.de>
37947 PR tree-optimization/61194
37948 * tree-vect-patterns.c (adjust_bool_pattern): Also handle
37949 bool patterns ending in a COND_EXPR.
37951 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
37953 * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Fix FNMUL case.
37955 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
37957 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
37958 where we were unable to cost an RTX.
37960 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
37962 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF,
37965 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
37966 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
37968 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost TRUNCATE.
37970 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
37971 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
37973 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost FMA,
37974 FLOAT_EXTEND, FLOAT_TRUNCATE, ABS, SMAX, and SMIN.
37976 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
37977 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
37979 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost comparison
37982 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
37983 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
37985 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
37988 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
37989 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
37991 * config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p): New.
37992 (aarch64_rtx_costs): Improve costs for SIGN/ZERO_EXTRACT.
37994 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
37995 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
37997 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
37998 rotates and shifts.
38000 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38001 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
38003 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost
38004 ZERO_EXTEND and SIGN_EXTEND better.
38006 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38007 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
38009 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve cost for
38010 logical operations.
38012 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38013 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
38015 * config/aarch64/aarch64.c (aarch64_rtx_costs): Use address
38016 costs when costing loads and stores to memory.
38018 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38019 Philip Tomsich <philipp.tomsich@theobroma-systems.com>
38021 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costing
38024 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38026 * config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs.
38028 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38029 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
38031 * config/aarch64/aarch64.c (aarch64_strip_shift_or_extend): Rename
38033 (aarch64_strip_extend): ...this, don't strip shifts, check RTX is
38035 (aarch64_rtx_mult_cost): New.
38036 (aarch64_rtx_costs): Use it, refactor as appropriate.
38038 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38039 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
38041 * config/aarch64/aarch64.c (aarch64_build_constant): Conditionally
38042 emit instructions, return number of instructions which would
38044 (aarch64_add_constant): Update call to aarch64_build_constant.
38045 (aarch64_output_mi_thunk): Likewise.
38046 (aarch64_rtx_costs): Estimate cost of a CONST_INT, cost of
38049 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38051 * config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New.
38052 (TARGET_RTX_COSTS): Call it.
38054 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38056 * config/aarch64/aarch64.c (cortexa57_addrcost_table): New.
38057 (cortexa57_vector_cost): Likewise.
38058 (cortexa57_tunings): Use them.
38060 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
38062 * config/aarch64/aarch64-protos.h (scale_addr_mode_cost): New.
38063 (cpu_addrcost_table): Use it.
38064 * config/aarch64/aarch64.c (generic_addrcost_table): Initialize it.
38065 (aarch64_address_cost): Rewrite using aarch64_classify_address,
38068 2014-05-16 Richard Biener <rguenther@suse.de>
38070 * tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h.
38071 (set_ssa_val_to): Handle unexpected sets to VN_TOP.
38072 (visit_phi): Ignore edges marked as not executable.
38073 (class cond_dom_walker): New.
38074 (cond_dom_walker::before_dom_children): Value-number
38075 control statements and mark successor edges as not
38076 executable if possible.
38077 (run_scc_vn): First walk all control statements in
38078 dominator order, marking edges as not executable.
38079 * tree-inline.c (copy_edges_for_bb): Be not confused
38080 about random edge flags.
38082 2014-05-16 Richard Biener <rguenther@suse.de>
38084 * tree-ssa-sccvn.c (visit_use): Also constant-fold calls.
38086 2014-05-15 Peter Bergner <bergner@vnet.ibm.com>
38089 * config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define.
38090 (__TM_simple_begin): Use it.
38091 (__TM_begin): Likewise.
38093 2014-05-15 Martin Jambor <mjambor@suse.cz>
38096 * ipa-prop.c (update_indirect_edges_after_inlining): Check
38097 type_preserved flag when the indirect edge is polymorphic.
38099 2014-05-15 Martin Jambor <mjambor@suse.cz>
38101 PR tree-optimization/61090
38102 * tree-sra.c (sra_modify_expr): Pass the current gsi to
38103 build_ref_for_model.
38105 2014-05-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
38107 * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL
38108 enum name for PARAM_SCHED_PRESSURE_ALGORITHM.
38110 2014-05-15 Jakub Jelinek <jakub@redhat.com>
38112 PR tree-optimization/61158
38113 * fold-const.c (fold_binary_loc): If X is zero-extended and
38114 shiftc >= prec, make sure zerobits is all ones instead of
38115 invoking undefined behavior.
38117 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
38119 * regcprop.h: New file.
38120 * regcprop.c (skip_debug_insn_p): New decl.
38121 (replace_oldest_value_reg): Check skip_debug_insn_p.
38122 (copyprop_hardreg_forward_bb_without_debug_insn): New function.
38123 * shrink-wrap.c: Include regcprop.h.
38124 (prepare_shrink_wrap): Call
38125 copyprop_hardreg_forward_bb_without_debug_insn.
38127 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
38129 * shrink-wrap.h: Update comment.
38130 * shrink-wrap.c: Update comment.
38131 (next_block_for_reg): Rename to live_edge_for_reg.
38132 (live_edge_for_reg): Allow live_edge->dest has two predecessors.
38133 (move_insn_for_shrink_wrap): Split live_edge.
38134 (prepre_shrink_wrap): One more parameter for move_insn_for_shrink_wrap.
38136 2014-05-14 Eric Botcazou <ebotcazou@adacore.com>
38138 * config/sparc/sparc-protos.h (sparc_absnegfloat_split_legitimate):
38140 * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): Likewise.
38141 * config/sparc/sparc.md (fptype_ut699): New attribute.
38142 (in_branch_delay): Return false if -mfix-ut699 is specified and
38143 fptype_ut699 is set to single.
38144 (truncdfsf2): Add fptype_ut699 attribute.
38145 (fix_truncdfsi2): Likewise.
38146 (floatsisf2): Change fptype attribute.
38147 (fix_truncsfsi2): Likewise.
38148 (negtf2_notv9): Delete.
38149 (negtf2_v9): Likewise.
38150 (negtf2_hq): New instruction.
38151 (negtf2): New instruction and splitter.
38152 (negdf2_notv9): Rewrite.
38153 (abstf2_notv9): Delete.
38154 (abstf2_hq_v9): Likewise.
38155 (abstf2_v9): Likewise.
38156 (abstf2_hq): New instruction.
38157 (abstf2): New instruction and splitter.
38158 (absdf2_notv9): Rewrite.
38160 2014-05-14 Cary Coutant <ccoutant@google.com>
38163 * opts.c (common_handle_option): Don't special-case "-g".
38164 (set_debug_level): Default to at least level 2 with "-g".
38166 2014-05-14 DJ Delorie <dj@redhat.com>
38168 * config/msp430/msp430.c (msp430_builtin): Add
38169 MSP430_BUILTIN_DELAY_CYCLES.
38170 (msp430_init_builtins): Register void __delay_cycles(long long).
38171 (msp430_builtin_decl): Add it.
38172 (cg_magic_constant): New.
38173 (msp430_expand_delay_cycles): New.
38174 (msp430_expand_builtin): Call it.
38175 (msp430_print_operand_raw): Change integer printing from "int" to
38177 * config/msp430/msp430.md (define_constants): Add delay_cycles tags.
38178 (delay_cycles_start): New.
38179 (delay_cycles_end): New.
38180 (delay_cycles_32): New.
38181 (delay_cycles_32x): New.
38182 (delay_cycles_16): New.
38183 (delay_cycles_16x): New.
38184 (delay_cycles_2): New.
38185 (delay_cycles_1): New.
38186 * doc/extend.texi: Document __delay_cycles().
38188 2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
38190 * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in
38191 length attribute computation.
38193 2014-05-14 Richard Sandiford <rdsandiford@googlemail.com>
38196 * print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered.
38198 2014-05-14 Richard Sandiford <r.sandiford@uk.ibm.com>
38201 * config/sparc/sparc.md: Fix types of low and high in DI constant
38202 splitter. Use gen_int_mode in some other splitters.
38204 2014-05-14 Martin Jambor <mjambor@suse.cz>
38207 * ipa-prop.c (ipa_modify_formal_parameters): Reset DECL_LANG_SPECIFIC.
38209 2014-05-14 James Norris <jnorris@codesourcery.com>
38211 * omp-low.c (expand_parallel_call): Remove shadow variable.
38212 (expand_omp_taskreg): Likewise.
38214 2014-05-14 Ilya Tocar <ilya.tocar@intel.com>
38216 * common/config/i386/i386-common.c
38217 (OPTION_MASK_ISA_CLFLUSHOPT_SET): Define.
38218 (OPTION_MASK_ISA_XSAVES_SET): Ditto.
38219 (OPTION_MASK_ISA_XSAVEC_SET): Ditto.
38220 (OPTION_MASK_ISA_CLFLUSHOPT_UNSET): Ditto.
38221 (OPTION_MASK_ISA_XSAVES_UNSET): Ditto.
38222 (OPTION_MASK_ISA_XSAVEC_UNSET): Ditto.
38223 (ix86_handle_option): Handle OPT_mxsavec, OPT_mxsaves, OPT_mclflushopt.
38224 * config.gcc (i[34567]86-*-*): Add clflushoptintrin.h,
38225 xsavecintrin.h, xsavesintrin.h.
38226 (x86_64-*-*): Ditto.
38227 * config/i386/clflushoptintrin.h: New.
38228 * config/i386/xsavecintrin.h: Ditto.
38229 * config/i386/xsavesintrin.h: Ditto.
38230 * config/i386/cpuid.h (bit_CLFLUSHOPT): Define.
38231 (bit_XSAVES): Ditto.
38232 (bit_XSAVES): Ditto.
38233 * config/i386/driver-i386.c (host_detect_local_cpu): Handle
38234 -mclflushopt, -mxsavec, -mxsaves, -mno-xsaves, -mno-xsavec,
38236 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
38237 OPTION_MASK_ISA_CLFLUSHOPT, OPTION_MASK_ISA_XSAVEC,
38238 OPTION_MASK_ISA_XSAVES.
38239 * config/i386/i386.c (ix86_target_string): Handle -mclflushopt,
38240 -mxsavec, -mxsaves.
38241 (PTA_CLFLUSHOPT) Define.
38242 (PTA_XSAVEC): Ditto.
38243 (PTA_XSAVES): Ditto.
38244 (ix86_option_override_internal): Handle new options.
38245 (ix86_valid_target_attribute_inner_p): Ditto.
38246 (ix86_builtins): Add IX86_BUILTIN_XSAVEC, IX86_BUILTIN_XSAVEC64,
38247 IX86_BUILTIN_XSAVES, IX86_BUILTIN_XRSTORS, IX86_BUILTIN_XSAVES64,
38248 IX86_BUILTIN_XRSTORS64, IX86_BUILTIN_CLFLUSHOPT.
38249 (bdesc_special_args): Add __builtin_ia32_xsaves,
38250 __builtin_ia32_xrstors, __builtin_ia32_xsavec, __builtin_ia32_xsaves64,
38251 __builtin_ia32_xrstors64, __builtin_ia32_xsavec64.
38252 (ix86_init_mmx_sse_builtins): Add __builtin_ia32_clflushopt.
38253 (ix86_expand_builtin): Handle new builtins.
38254 * config/i386/i386.h (TARGET_CLFLUSHOPT) Define.
38255 (TARGET_CLFLUSHOPT_P): Ditto.
38256 (TARGET_XSAVEC): Ditto.
38257 (TARGET_XSAVEC_P): Ditto.
38258 (TARGET_XSAVES): Ditto.
38259 (TARGET_XSAVES_P): Ditto.
38260 * config/i386/i386.md (ANY_XSAVE): Add UNSPECV_XSAVEC, UNSPECV_XSAVES.
38261 (ANY_XSAVE64)" Add UNSPECV_XSAVEC64, UNSPECV_XSAVES64.
38262 (attr xsave): Add xsavec, xsavec64, xsaves, xsaves64.
38264 (ANY_XRSTOR64): Ditto.
38266 (xrstor): Change into <xrstor>.
38267 (xrstor_rex64): Change into <xrstor>_rex64.
38268 (xrstor64): Change into <xrstor>64
38270 * config/i386/i386.opt (mclflushopt): New.
38273 * config/i386/x86intrin.h: Add clflushoptintrin.h, xsavesintrin.h,
38275 * doc/invoke.texi: Document new options.
38277 2014-05-14 Andrey Belevantsev <abel@ispras.ru>
38279 PR rtl-optimization/60866
38280 * sel-sched-ir (sel_init_new_insn): New parameter old_seqno.
38281 Default it to -1. Pass it down to init_simplejump_data.
38282 (init_simplejump_data): New parameter old_seqno. Pass it down
38283 to get_seqno_for_a_jump.
38284 (get_seqno_for_a_jump): New parameter old_seqno. Use it for
38285 initializing new jump seqno as a last resort. Add comment.
38286 (sel_redirect_edge_and_branch): Save old seqno of the conditional
38287 jump and pass it down to sel_init_new_insn.
38288 (sel_redirect_edge_and_branch_force): Likewise.
38290 2014-05-14 Georg-Johann Lay <avr@gjlay.de>
38292 * config/avr/avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for
38293 shifted values to avoid build warning.
38295 2014-05-14 Eric Botcazou <ebotcazou@adacore.com>
38297 * cfgcleanup.c (try_forward_edges): Use location_t for locations.
38298 * cfgrtl.c (rtl_merge_blocks): Fix comment.
38299 (cfg_layout_merge_blocks): Likewise.
38300 * except.c (emit_to_new_bb_before): Remove prev_bb local variable.
38302 2014-05-14 Andrey Belevantsev <abel@ispras.ru>
38304 PR rtl-optimization/60901
38305 * config/i386/i386.c (ix86_dependencies_evaluation_hook): Check that
38306 bb predecessor belongs to the same scheduling region. Adjust comment.
38308 2014-05-13 Peter Bergner <bergner@vnet.ibm.com>
38310 * doc/sourcebuild.texi: (dfp_hw): Document.
38311 (p8vector_hw): Likewise.
38312 (powerpc_eabi_ok): Likewise.
38313 (powerpc_elfv2): Likewise.
38314 (powerpc_htm_ok): Likewise.
38315 (ppc_recip_hw): Likewise.
38316 (vsx_hw): Likewise.
38318 2014-05-13 Cary Coutant <ccoutant@google.com>
38320 * opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf.
38322 2014-05-13 David Malcolm <dmalcolm@redhat.com>
38324 * gengtype-parse.c (require3): Eliminate in favor of...
38326 (require_template_declaration): Update to support optional single *
38329 * gengtype.c (get_ultimate_base_class): Add a non-const overload.
38330 (create_user_defined_type): Handle a single level of explicit
38331 pointerness within template arguments.
38332 (struct write_types_data): Add field "kind".
38333 (filter_type_name): Handle "*" character.
38334 (write_user_func_for_structure_ptr): Require a write_types_data
38335 rather than just a prefix string, so that we can look up the kind
38336 of the wtd and use it as an index into wrote_user_func_for_ptr,
38337 ensuring that such functions are written at most once. Support
38338 subclasses by invoking the marking function of the ultimate base class.
38339 (write_user_func_for_structure_body): Require a write_types_data
38340 rather than just a prefix string, so that we can pass this to
38341 write_user_func_for_structure_ptr.
38342 (write_func_for_structure): Likewise.
38343 (ggc_wtd): Add initializer of new "kind" field.
38344 (pch_wtd): Likewise.
38346 * gengtype.h (enum write_types_kinds): New.
38347 (struct type): Add field wrote_user_func_for_ptr to the "s"
38350 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com>
38352 * fold-const.c (optimize_bit_field_compare): Use wi:: operations
38353 instead of const_binop.
38354 (fold_binary_loc): Likewise.
38356 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com>
38358 * tree-dfa.h (get_addr_base_and_unit_offset_1): Update array index
38359 calculation to match get_ref_base_and_extent.
38361 2014-05-13 Catherine Moore <clm@codesourcery.com>
38362 Sandra Loosemore <sandra@codesourcery.com>
38364 * configure.ac: Fix assembly for explicit JALR relocation check.
38365 * configure: Regenerate.
38367 2014-05-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
38369 * config/arm/arm.c (neon_itype): Remove NEON_RESULTPAIR.
38370 (arm_init_neon_builtins): Remove handling of NEON_RESULTPAIR.
38371 Remove associated type declarations and initialisations.
38372 (arm_expand_neon_builtin): Likewise.
38373 (neon_emit_pair_result_insn): Delete.
38374 * config/arm/arm_neon_builtins (vtrn, vzip, vuzp): Delete.
38375 * config/arm/neon.md (neon_vtrn<mode>): Delete.
38376 (neon_vzip<mode>): Likewise.
38377 (neon_vuzp<mode>): Likewise.
38379 2014-05-13 Richard Biener <rguenther@suse.de>
38382 * tree-inline.c (remap_gimple_stmt): Clear tail call flag,
38383 it needs revisiting whether the call still may be tail-called.
38385 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
38387 * rtl.def (SYMBOL_REF): Remove middle "0" field.
38388 * rtl.h (block_symbol): Reduce number of fields to 2.
38389 (rtx_def): Add u2.symbol_ref_flags.
38390 (SYMBOL_REF_FLAGS): Use it.
38391 (SYMBOL_REF_DATA, SET_SYMBOL_REF_DECL, SYMBOL_REF_DECL)
38392 (SET_SYMBOL_REF_CONSTANT, SYMBOL_REF_CONSTANT): Lower index.
38393 * gengtype.c (adjust_field_rtx_def): Remove SYMBOL_REF_FLAGS handling.
38394 Lower index of SYMBOL_REF_DATA.
38395 * print-rtl.c (print_rtx): Lower index for SYMBOL_REF_DATA.
38396 Print SYMBOL_REF_FLAGS at the same time.
38397 * genattrtab.c (attr_rtx_1): Only initialize 1 "0" SYMBOL_REF field.
38399 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
38401 * rtl.def (VAR_LOCATION): Remove "i" field.
38402 * rtl.h (rtx_def): Add u2.var_location_status.
38403 (PAT_VAR_LOCATION_STATUS): Use it.
38404 (gen_rtx_VAR_LOCATION): Declare.
38405 * gengenrtl.c (excluded_rtx): Add VAR_LOCATION.
38406 * emit-rtl.c (gen_rtx_VAR_LOCATION): New function.
38407 * var-tracking.c (emit_note_insn_var_location): Remove casts.
38409 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
38411 * rtl.def (scratch): Fix outdated comment and remove "0" field.
38412 * gengtype.c (adjust_field_rtx_def): Update accordingly.
38414 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
38416 * rtl.def (DEBUG_INSN, INSN, JUMP_INSN, CALL_INSN, JUMP_TABLE_DATA)
38417 (BARRIER, CODE_LABEL, NOTE): Remove first "i" field.
38418 * rtl.h (rtx_def): Add insn_uid to u2 field.
38419 (RTX_FLAG_CHECK8): Delete in favor of...
38420 (RTL_INSN_CHAIN_FLAG_CHECK): ...this new macro.
38421 (INSN_DELETED_P): Update accordingly.
38422 (INSN_UID): Use u2.insn_uid.
38423 (INSN_CHAIN_CODE_P): Define.
38424 (PREV_INSN, NEXT_INSN, BLOCK_FOR_INSN, PATTERN, INSN_LOCATION)
38425 (INSN_CODE, REG_NOTES, CALL_INSN_FUNCTION_USAGE, CODE_LABEL_NUMBER)
38426 (NOTE_DATA, NOTE_DELETED_LABEL_NAME, NOTE_BLOCK, NOTE_EH_HANDLER)
38427 (NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION, NOTE_CFI, NOTE_LABEL_NUMBER)
38428 (NOTE_KIND, LABEL_NAME, LABEL_NUSES, JUMP_LABEL, LABEL_REFS): Lower
38429 indices accordingly.
38430 * print-rtl.c (print_rtx): Print INSN_UIDs before the main loop.
38431 Update indices for insn-chain rtxes.
38432 * gengtype.c (gen_rtx_next): Adjust test for insn-chain rtxes.
38433 (adjust_field_rtx_def): Lower '0' indices for all insn-chain rtxes.
38434 * emit-rtl.c (gen_label_rtx): Update gen_rtx_LABEL call.
38435 * caller-save.c (init_caller_save): Update gen_rtx_INSN calls.
38436 * combine.c (try_combine): Likewise.
38437 * ira.c (setup_prohibited_mode_move_regs): Likewise.
38439 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
38441 * rtl.def (REG): Remove middle field.
38442 * rtl.h (rtx_def): Add orignal_regno to u2.
38443 (ORIGINAL_REGNO): Use it instead of field 1.
38444 (REG_ATTRS): Lower field index accordingly.
38445 * gengtype.c (adjust_field_rtx_def): Remove handling of
38446 ORIGINAL_REGNO. Move REG_ATTRS index down.
38447 * print-rtl.c (print_rtx): Move ORIGINAL_REGNO handling to the
38448 code that prints the REGNO.
38450 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
38452 * print-rtl.c (print_rtx): Guard whole '0' block with ifndef
38455 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
38457 * rtl.h (rtx_def): Mark u2 as GTY ((skip)).
38459 2014-05-13 Bin Cheng <bin.cheng@arm.com>
38461 * tree-ssa-loop-ivopts.c (contain_complex_addr_expr): New.
38462 (alloc_iv): Lower base expressions containing ADDR_EXPR.
38464 2014-05-13 Ian Bolton <ian.bolton@arm.com>
38466 * config/aarch64/aarch64-protos.h
38467 (aarch64_hard_regno_caller_save_mode): New prototype.
38468 * config/aarch64/aarch64.c (aarch64_hard_regno_caller_save_mode):
38470 * config/aarch64/aarch64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
38472 2014-05-13 Christian Bruel <christian.bruel@st.com>
38474 * target.def (mode_switching): New hook vector.
38475 (mode_emit, mode_needed, mode_after, mode_entry): New hooks.
38476 (mode_exit, modepriority_to_mode): Likewise.
38477 * mode-switching.c (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Hookify.
38478 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
38479 * target.h: Include tm.h and hard-reg-set.h.
38480 * doc/tm.texi.in (EMIT_MODE_SET, MODE_NEEDED, MODE_AFTER, MODE_ENTRY)
38481 (MODE_EXIT, MODE_PRIORITY_TO_MODE): Delete and hookify.
38482 * doc/tm.texi Regenerate.
38483 * config/sh/sh.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
38484 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
38485 * config/sh/sh.c (sh_emit_mode_set, sh_mode_priority): Hookify.
38486 (sh_mode_needed, sh_mode_after, sh_mode_entry, sh_mode_exit): Likewise.
38487 * config/i386/i386.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
38488 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
38489 * config/i386/i386-protos.h (ix86_mode_needed, ix86_mode_after)
38490 (ix86_mode_entrym, ix86_emit_mode_set): Remove external declaration.
38491 * config/i386/i386.c (ix86_mode_needed, ix86_mode_after,
38492 (ix86_mode_exit, ix86_mode_entry, ix86_mode_priority)
38493 (ix86_emit_mode_set): Hookify.
38494 * config/epiphany/epiphany.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY):
38496 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
38497 * config/epiphany/epiphany-protos.h (epiphany_mode_needed)
38498 (emit_set_fp_mode, epiphany_mode_entry_exit, epiphany_mode_after)
38499 (epiphany_mode_priority_to_mode): Remove declaration.
38500 * config/epiphany/epiphany.c (emit_set_fp_mode): Hookify.
38501 (epiphany_mode_needed, epiphany_mode_priority_to_mode): Likewise.
38502 (epiphany_mode_entry, epiphany_mode_exit, epiphany_mode_after):
38504 (epiphany_mode_priority_to_mode): Change priority type. Hookify.
38505 (epiphany_mode_needed, epiphany_mode_entry_exit): Hookify.
38506 (epiphany_mode_after, epiphany_mode_entry, emit_set_fp_mode): Hookify.
38508 2014-05-13 Jakub Jelinek <jakub@redhat.com>
38511 * config/i386/i386.c (ix86_expand_set_or_movmem): If count_exp
38512 is const0_rtx, return immediately. Don't test count == 0 when
38515 2014-05-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
38517 * Makefile.in: add shrink-wrap.o.
38518 * config/i386/i386.c: include "shrink-wrap.h"
38519 * function.c: Likewise.
38520 (requires_stack_frame_p, next_block_for_reg,
38521 move_insn_for_shrink_wrap, prepare_shrink_wrap,
38522 dup_block_and_redirect): Move to shrink-wrap.c
38523 (thread_prologue_and_epilogue_insns): Extract three code segments
38524 as functions in shrink-wrap.c
38525 * function.h: Move #ifdef HAVE_simple_return ... #endif block to
38527 * shrink-wrap.c: New file.
38528 * shrink-wrap.h: New file.
38530 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com>
38532 * doc/extend.texi: Reflect current numbers of pragmas. Remove
38533 reference to Solaris.
38535 2014-05-12 Mike Stump <mikestump@comcast.net>
38538 * genattrtab.c (filename): Add.
38539 (convert_set_attr_alternative): Improve error message.
38540 (check_defs): Restore read_md_filename for error messages.
38541 (gen_insn): Save filename.
38543 2014-05-12 Dimitris Papavasiliou <dpapavas@gmail.com>
38545 * doc/invoke.texi: Document new switches -Wno-shadow-ivar,
38546 -fno-local-ivars and -fivar-visibility.
38547 * c-family/c.opt: Make -Wshadow also implicitly enable
38550 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com>
38552 * doc/tm.texi: Remove reference to deleted macro.
38553 * doc/tm.texi.in: Likewise.
38555 2014-05-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
38558 * config/avr/avr.c (avr_out_store_psi): Use correct constant
38561 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
38564 * config/arm/arm.h (License): Add GCC Runtime Library Exception.
38565 * config/arm/aout.h (License): Same.
38566 * config/arm/bpabi.h (License): Same.
38567 * config/arm/elf.h (License): Same.
38568 * config/arm/linux-elf.h (License): Same.
38569 * config/arm/linux-gas.h (License): Same.
38570 * config/arm/netbsd-elf.h (License): Same.
38571 * config/arm/uclinux-eabi.h (License): Same.
38572 * config/arm/uclinux-elf.h (License): Same.
38573 * config/arm/vxworks.h (License): Same.
38575 2014-05-11 Jakub Jelinek <jakub@redhat.com>
38577 * tree.h (OMP_CLAUSE_LINEAR_STMT): Define.
38578 * tree.c (omp_clause_num_ops): Increase OMP_CLAUSE_LINEAR
38579 number of operands to 3.
38580 (walk_tree_1): Walk all operands of OMP_CLAUSE_LINEAR.
38581 * tree-nested.c (convert_nonlocal_omp_clauses,
38582 convert_local_omp_clauses): Handle OMP_CLAUSE_DEPEND.
38583 * gimplify.c (gimplify_scan_omp_clauses): Handle
38584 OMP_CLAUSE_LINEAR_STMT.
38585 * omp-low.c (lower_rec_input_clauses): Fix typo.
38586 (maybe_add_implicit_barrier_cancel, lower_omp_1): Add
38587 cast between Fortran boolean_type_node and C _Bool if
38590 2014-05-11 Richard Sandiford <rdsandiford@googlemail.com>
38592 PR tree-optimization/61136
38593 * wide-int.h (multiple_of_p): Define a version that doesn't return
38595 * fold-const.c (extract_muldiv_1): Use wi::multiple_of_p instead of an
38596 integer_zerop/const_binop pair.
38597 (multiple_of_p): Likewise, converting both operands to widest_int
38600 2014-05-09 Teresa Johnson <tejohnson@google.com>
38602 * cgraphunit.c (analyze_functions): Use correct dump file.
38604 2014-05-09 Florian Weimer <fweimer@redhat.com>
38606 * cfgexpand.c (stack_protect_decl_p): New function, extracted from
38608 (stack_protect_return_slot_p): New function.
38609 (expand_used_vars): Call stack_protect_decl_p and
38610 stack_protect_return_slot_p for -fstack-protector-strong.
38612 2014-05-09 David Wohlferd <LimeGreenSocks@yahoo.com>
38613 Andrew Haley <aph@redhat.com>
38614 Richard Sandiford <rdsandiford@googlemail.com>
38616 * doc/extend.texi: Rewrite inline asm page / re-org asm-related
38619 2014-05-09 Kenneth Zadeck <zadeck@naturalbridge.com>
38621 PR middle-end/61111
38622 * fold-const.c (fold_binary_loc): Changed width of mask.
38624 2014-05-09 Georg-Johann Lay <avr@gjlay.de>
38626 * config/avr/avr-fixed.md (round<mode>3): Use -1U instead of -1 in
38627 unsigned int initializers for regno_in, regno_out.
38629 2014-05-09 Georg-Johann Lay <avr@gjlay.de>
38632 * config/avr/avr.md (cc): Add new attribute set_vzn.
38633 (addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]:
38634 Set cc insn attribute to set_vzn instead of set_zn for alternatives
38635 with INC, DEC or NEG.
38636 * config/avr/avr.c (avr_notice_update_cc): Handle SET_VZN.
38637 (avr_out_plus_1): ADIW sets cc0 to CC_SET_CZN.
38638 INC, DEC and ADD+ADC set cc0 to CC_CLOBBER.
38640 2014-05-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
38643 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
38645 * wide-int.cc (UTItype): Define.
38646 (UDWtype): Define for appropriate W_TYPE_SIZE.
38648 2014-05-09 Richard Biener <rguenther@suse.de>
38650 * Makefile.in (GTFILES): Remove tree-ssa-propagate.c.
38651 * tree-ssa-propagate.c: Do not include gt-tree-ssa-propagate.h.
38652 (interesting_ssa_edges, varying_ssa_edges): Move out of GC space.
38653 (add_ssa_edge, process_ssa_edge_worklist, ssa_prop_init,
38654 ssa_propagate): Adjust.
38656 2014-05-08 Jeff Law <law@redhat.com>
38658 PR tree-optimization/61009
38659 * tree-ssa-threadedge.c (thread_through_normal_block): Return a
38660 tri-state rather than a boolean. When a block is too big to
38661 thread through, inform caller via negative return value.
38662 (thread_across_edge): If a block was too big for normal threading,
38663 then it's too big for a joiner too, so remove temporary equivalences
38664 and return immediately.
38666 2014-05-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
38667 Matthias Klose <doko@ubuntu.com>
38670 * optc-gen.awk: Fix option handling for -Wunused-parameter.
38672 2014-05-08 Uros Bizjak <ubizjak@gmail.com>
38675 * config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM.
38677 2014-05-08 Uros Bizjak <ubizjak@gmail.com>
38680 * config/alpha/alpha.c: Include gimple-iterator.h.
38681 (alpha_gimple_fold_builtin): New function. Move
38682 ALPHA_BUILTIN_UMULH folding from ...
38683 (alpha_fold_builtin): ... here.
38684 (TARGET_GIMPLE_FOLD_BUILTIN): New define.
38686 2014-05-08 Wei Mi <wmi@google.com>
38689 * config/i386/i386.c (ix86_compute_frame_layout): Update
38690 preferred_stack_boundary for call, expanded from tls descriptor.
38691 * config/i386/i386.md (*tls_global_dynamic_32_gnu): Update RTX
38692 to depend on SP register.
38693 (*tls_local_dynamic_base_32_gnu): Ditto.
38694 (*tls_local_dynamic_32_once): Ditto.
38695 (tls_global_dynamic_64_<mode>): Set
38696 ix86_tls_descriptor_calls_expanded_in_cfun.
38697 (tls_local_dynamic_base_64_<mode>): Ditto.
38698 (tls_global_dynamic_32): Set
38699 ix86_tls_descriptor_calls_expanded_in_cfun. Update RTX
38700 to depend on SP register.
38701 (tls_local_dynamic_base_32): Ditto.
38703 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
38705 * config/arm/arm_neon.h: Update comment.
38706 * config/arm/neon-docgen.ml: Delete.
38707 * config/arm/neon-gen.ml: Delete.
38708 * doc/arm-neon-intrinsics.texi: Update comment.
38710 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
38712 * config/arm/arm_neon_builtins.def (vadd, vsub): Only define the v2sf
38714 (vand, vorr, veor, vorn, vbic): Remove.
38715 * config/arm/neon.md (neon_vadd, neon_vsub, neon_vadd_unspec): Adjust
38717 (neon_vsub_unspec): Likewise.
38718 (neon_vorr, neon_vand, neon_vbic, neon_veor, neon_vorn): Remove.
38720 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
38722 * config/arm/arm_neon.h (vadd_s8): GNU C implementation
38723 (vadd_s16): Likewise.
38724 (vadd_s32): Likewise.
38725 (vadd_f32): Likewise.
38726 (vadd_u8): Likewise.
38727 (vadd_u16): Likewise.
38728 (vadd_u32): Likewise.
38729 (vadd_s64): Likewise.
38730 (vadd_u64): Likewise.
38731 (vaddq_s8): Likewise.
38732 (vaddq_s16): Likewise.
38733 (vaddq_s32): Likewise.
38734 (vaddq_s64): Likewise.
38735 (vaddq_f32): Likewise.
38736 (vaddq_u8): Likewise.
38737 (vaddq_u16): Likewise.
38738 (vaddq_u32): Likewise.
38739 (vaddq_u64): Likewise.
38740 (vmul_s8): Likewise.
38741 (vmul_s16): Likewise.
38742 (vmul_s32): Likewise.
38743 (vmul_f32): Likewise.
38744 (vmul_u8): Likewise.
38745 (vmul_u16): Likewise.
38746 (vmul_u32): Likewise.
38747 (vmul_p8): Likewise.
38748 (vmulq_s8): Likewise.
38749 (vmulq_s16): Likewise.
38750 (vmulq_s32): Likewise.
38751 (vmulq_f32): Likewise.
38752 (vmulq_u8): Likewise.
38753 (vmulq_u16): Likewise.
38754 (vmulq_u32): Likewise.
38755 (vsub_s8): Likewise.
38756 (vsub_s16): Likewise.
38757 (vsub_s32): Likewise.
38758 (vsub_f32): Likewise.
38759 (vsub_u8): Likewise.
38760 (vsub_u16): Likewise.
38761 (vsub_u32): Likewise.
38762 (vsub_s64): Likewise.
38763 (vsub_u64): Likewise.
38764 (vsubq_s8): Likewise.
38765 (vsubq_s16): Likewise.
38766 (vsubq_s32): Likewise.
38767 (vsubq_s64): Likewise.
38768 (vsubq_f32): Likewise.
38769 (vsubq_u8): Likewise.
38770 (vsubq_u16): Likewise.
38771 (vsubq_u32): Likewise.
38772 (vsubq_u64): Likewise.
38773 (vand_s8): Likewise.
38774 (vand_s16): Likewise.
38775 (vand_s32): Likewise.
38776 (vand_u8): Likewise.
38777 (vand_u16): Likewise.
38778 (vand_u32): Likewise.
38779 (vand_s64): Likewise.
38780 (vand_u64): Likewise.
38781 (vandq_s8): Likewise.
38782 (vandq_s16): Likewise.
38783 (vandq_s32): Likewise.
38784 (vandq_s64): Likewise.
38785 (vandq_u8): Likewise.
38786 (vandq_u16): Likewise.
38787 (vandq_u32): Likewise.
38788 (vandq_u64): Likewise.
38789 (vorr_s8): Likewise.
38790 (vorr_s16): Likewise.
38791 (vorr_s32): Likewise.
38792 (vorr_u8): Likewise.
38793 (vorr_u16): Likewise.
38794 (vorr_u32): Likewise.
38795 (vorr_s64): Likewise.
38796 (vorr_u64): Likewise.
38797 (vorrq_s8): Likewise.
38798 (vorrq_s16): Likewise.
38799 (vorrq_s32): Likewise.
38800 (vorrq_s64): Likewise.
38801 (vorrq_u8): Likewise.
38802 (vorrq_u16): Likewise.
38803 (vorrq_u32): Likewise.
38804 (vorrq_u64): Likewise.
38805 (veor_s8): Likewise.
38806 (veor_s16): Likewise.
38807 (veor_s32): Likewise.
38808 (veor_u8): Likewise.
38809 (veor_u16): Likewise.
38810 (veor_u32): Likewise.
38811 (veor_s64): Likewise.
38812 (veor_u64): Likewise.
38813 (veorq_s8): Likewise.
38814 (veorq_s16): Likewise.
38815 (veorq_s32): Likewise.
38816 (veorq_s64): Likewise.
38817 (veorq_u8): Likewise.
38818 (veorq_u16): Likewise.
38819 (veorq_u32): Likewise.
38820 (veorq_u64): Likewise.
38821 (vbic_s8): Likewise.
38822 (vbic_s16): Likewise.
38823 (vbic_s32): Likewise.
38824 (vbic_u8): Likewise.
38825 (vbic_u16): Likewise.
38826 (vbic_u32): Likewise.
38827 (vbic_s64): Likewise.
38828 (vbic_u64): Likewise.
38829 (vbicq_s8): Likewise.
38830 (vbicq_s16): Likewise.
38831 (vbicq_s32): Likewise.
38832 (vbicq_s64): Likewise.
38833 (vbicq_u8): Likewise.
38834 (vbicq_u16): Likewise.
38835 (vbicq_u32): Likewise.
38836 (vbicq_u64): Likewise.
38837 (vorn_s8): Likewise.
38838 (vorn_s16): Likewise.
38839 (vorn_s32): Likewise.
38840 (vorn_u8): Likewise.
38841 (vorn_u16): Likewise.
38842 (vorn_u32): Likewise.
38843 (vorn_s64): Likewise.
38844 (vorn_u64): Likewise.
38845 (vornq_s8): Likewise.
38846 (vornq_s16): Likewise.
38847 (vornq_s32): Likewise.
38848 (vornq_s64): Likewise.
38849 (vornq_u8): Likewise.
38850 (vornq_u16): Likewise.
38851 (vornq_u32): Likewise.
38852 (vornq_u64): Likewise.
38854 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
38856 * wide-int.cc (UTItype): Define.
38857 (UDWtype): Define for appropriate W_TYPE_SIZE.
38859 2014-05-08 Marc Glisse <marc.glisse@inria.fr>
38861 PR tree-optimization/59100
38862 * tree-ssa-phiopt.c: Include tree-inline.h.
38863 (neutral_element_p, absorbing_element_p): New functions.
38864 (value_replacement): Handle conditional binary operations with a
38865 neutral or absorbing element.
38867 2014-05-08 Richard Biener <rguenther@suse.de>
38869 * tree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before
38870 folding the expression.
38871 (valueize_expr): Remove.
38872 (visit_reference_op_load): Do not valueize the result of
38874 (simplify_binary_expression): Likewise.
38875 (simplify_unary_expression): Likewise.
38877 2014-05-08 Richard Biener <rguenther@suse.de>
38879 * gimplify.c (gimplify_call_expr): Use saved fnptrtype for
38880 looking at TYPE_ARG_TYPES.
38882 2014-05-08 Richard Biener <rguenther@suse.de>
38884 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove
38885 pointer propagation special-case.
38887 2014-05-08 Bin Cheng <bin.cheng@arm.com>
38889 * tree-affine.c (tree_to_aff_combination): Handle MEM_REF for
38890 core part of address expressions.
38892 2014-05-08 Alan Modra <amodra@gmail.com>
38895 * config/rs6000/rs6000.c (expand_block_move): Allow 64-bit
38896 loads and stores when -mno-strict-align at any alignment.
38897 (expand_block_clear): Similarly. Also correct calculation of
38900 2014-05-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
38902 PR middle-end/39246
38903 * tree-complex.c (expand_complex_move): Keep line info when expanding
38905 * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment
38906 of complex expression. Use new argument to display correct location
38907 for values coming from phi statement.
38908 (warn_uninitialized_vars): Adapt to new signature of warn_uninit.
38909 (warn_uninitialized_phi): Pass location of phi argument to
38911 * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a
38912 COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR.
38914 2014-05-07 Segher Boessenkool <segher@kernel.crashing.org>
38916 * config/rs6000/predicates.md (indexed_address_mem): New.
38917 * config/rs6000/rs6000.md (type): Remove load_ext, load_ext_u,
38918 load_ext_ux, load_ux, load_u, store_ux, store_u, fpload_ux, fpload_u,
38919 fpstore_ux, fpstore_u.
38920 (sign_extend, indexed, update): New.
38921 (cell_micro): Adjust.
38922 (*zero_extend<mode>di2_internal1, *zero_extendsidi2_lfiwzx,
38923 *extendsidi2_lfiwax, *extendsidi2_nocell, *extendsfdf2_fpr,
38924 *movsi_internal1, *movsi_internal1_single, *movhi_internal,
38925 *movqi_internal, *movcc_internal1, mov<mode>_hardfloat,
38926 *mov<mode>_softfloat, *mov<mode>_hardfloat32, *mov<mode>_hardfloat64,
38927 *mov<mode>_softfloat64, *movdi_internal32, *movdi_internal64,
38928 *mov<mode>_string, *ldmsi8, *ldmsi7, *ldmsi6, *ldmsi5, *ldmsi4,
38929 *ldmsi3, *stmsi8, *stmsi7, *stmsi6, *stmsi5, *stmsi4, *stmsi3,
38930 *movdi_update1, movdi_<mode>_update, movdi_<mode>_update_stack,
38931 *movsi_update1, *movsi_update2, movsi_update, movsi_update_stack,
38932 *movhi_update1, *movhi_update2, *movhi_update3, *movhi_update4,
38933 *movqi_update1, *movqi_update2, *movqi_update3, *movsf_update1,
38934 *movsf_update2, *movsf_update3, *movsf_update4, *movdf_update1,
38935 *movdf_update2, load_toc_aix_si, load_toc_aix_di, probe_stack_<mode>,
38936 *stmw, *lmw, as well as 10 anonymous patterns): Adjust.
38938 * config/rs6000/dfp.md (movsd_store, movsd_load): Adjust.
38939 * config/rs6000/vsx.md (*vsx_movti_32bit, *vsx_extract_<mode>_load,
38940 *vsx_extract_<mode>_store): Adjust.
38941 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_microcoded_insn,
38942 is_cracked_insn, insn_must_be_first_in_group,
38943 insn_must_be_last_in_group): Adjust.
38945 * config/rs6000/40x.md (ppc403-load, ppc403-store, ppc405-float):
38947 * config/rs6000/440.md (ppc440-load, ppc440-store, ppc440-fpload,
38948 ppc440-fpstore): Adjust.
38949 * config/rs6000/476.md (ppc476-load, ppc476-store, ppc476-fpload,
38950 ppc476-fpstore): Adjust.
38951 * config/rs6000/601.md (ppc601-load, ppc601-store, ppc601-fpload,
38952 ppc601-fpstore): Adjust.
38953 * config/rs6000/603.md (ppc603-load, ppc603-store, ppc603-fpload):
38955 * config/rs6000/6xx.md (ppc604-load, ppc604-store, ppc604-fpload):
38957 * config/rs6000/7450.md (ppc7450-load, ppc7450-store, ppc7450-fpload,
38958 ppc7450-fpstore): Adjust.
38959 * config/rs6000/7xx.md (ppc750-load, ppc750-store): Adjust.
38960 * config/rs6000/8540.md (ppc8540_load, ppc8540_store): Adjust.
38961 * config/rs6000/a2.md (ppca2-load, ppca2-fp-load, ppca2-fp-store):
38963 * config/rs6000/cell.md (cell-load, cell-load-ux, cell-load-ext,
38964 cell-fpload, cell-fpload-update, cell-store, cell-store-update,
38965 cell-fpstore, cell-fpstore-update): Adjust.
38966 * config/rs6000/e300c2c3.md (ppce300c3_load, ppce300c3_fpload,
38967 ppce300c3_store, ppce300c3_fpstore): Adjust.
38968 * config/rs6000/e500mc.md (e500mc_load, e500mc_fpload, e500mc_store,
38969 e500mc_fpstore): Adjust.
38970 * config/rs6000/e500mc64.md (e500mc64_load, e500mc64_fpload,
38971 e500mc64_store, e500mc64_fpstore): Adjust.
38972 * config/rs6000/e5500.md (e5500_load, e5500_fpload, e5500_store,
38973 e5500_fpstore): Adjust.
38974 * config/rs6000/e6500.md (e6500_load, e6500_fpload, e6500_store,
38975 e6500_fpstore): Adjust.
38976 * config/rs6000/mpc.md (mpccore-load, mpccore-store, mpccore-fpload):
38978 * config/rs6000/power4.md (power4-load, power4-load-ext,
38979 power4-load-ext-update, power4-load-ext-update-indexed,
38980 power4-load-update-indexed, power4-load-update, power4-fpload,
38981 power4-fpload-update, power4-store, power4-store-update,
38982 power4-store-update-indexed, power4-fpstore, power4-fpstore-update):
38984 * config/rs6000/power5.md (power5-load, power5-load-ext,
38985 power5-load-ext-update, power5-load-ext-update-indexed,
38986 power5-load-update-indexed, power5-load-update, power5-fpload,
38987 power5-fpload-update, power5-store, power5-store-update,
38988 power5-store-update-indexed, power5-fpstore, power5-fpstore-update):
38990 * config/rs6000/power6.md (power6-load, power6-load-ext,
38991 power6-load-update, power6-load-update-indexed,
38992 power6-load-ext-update, power6-load-ext-update-indexed, power6-fpload,
38993 power6-fpload-update, power6-store, power6-store-update,
38994 power6-store-update-indexed, power6-fpstore, power6-fpstore-update):
38996 * config/rs6000/power7.md (power7-load, power7-load-ext,
38997 power7-load-update, power7-load-update-indexed,
38998 power7-load-ext-update, power7-load-ext-update-indexed, power7-fpload,
38999 power7-fpload-update, power7-store, power7-store-update,
39000 power7-store-update-indexed, power7-fpstore, power7-fpstore-update):
39002 * config/rs6000/power8.md (power8-load, power8-load-update,
39003 power8-load-ext, power8-load-ext-update, power8-fpload,
39004 power8-fpload-update, power8-store, power8-store-update-indexed,
39005 power8-fpstore, power8-fpstore-update): Adjust.
39006 * config/rs6000/rs64.md (rs64a-load, rs64a-store, rs64a-fpload):
39008 * config/rs6000/titan.md (titan_lsu_load, titan_lsu_fpload,
39009 titan_lsu_store, titan_lsu_fpstore): Adjust.
39010 * config/rs6000/xfpu.md (fp-load, fp-store): Adjust.
39012 2014-05-07 Oleg Endo <olegendo@gcc.gnu.org>
39015 * config/sh/sh-mem.cc (sh_expand_strlen): Use loop when emitting
39016 unrolled byte insns. Emit address increments after move insns.
39018 2014-05-07 David Malcolm <dmalcolm@redhat.com>
39020 * gimple.h (gimple_builtin_call_types_compatible_p): Accept a
39021 const_gimple, rather than a gimple.
39022 (gimple_call_builtin_p): Likewise, for the three variants.
39024 * gimple.c (gimple_builtin_call_types_compatible_p): Likewise.
39025 (gimple_call_builtin_p): Likewise, for the three variants.
39027 2014-05-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
39029 PR tree-optimization/61095
39030 * tree-ssanames.c (get_nonzero_bits): Fix type extension in wi::shwi.
39032 2014-05-07 Richard Biener <rguenther@suse.de>
39034 PR tree-optimization/61034
39035 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Export.
39036 (maybe_skip_until): Use translate to take into account
39037 lattices when trying to do disambiguations.
39038 (get_continuation_for_phi_1): Likewise.
39039 (get_continuation_for_phi): Adjust for added translate arguments.
39040 (walk_non_aliased_vuses): Likewise.
39041 * tree-ssa-alias.h (get_continuation_for_phi): Adjust prototype.
39042 (walk_non_aliased_vuses): Likewise.
39043 (call_may_clobber_ref_p_1): Declare.
39044 * tree-ssa-sccvn.c (vn_reference_lookup_3): Also disambiguate against
39045 calls. Stop early if we are only supposed to disambiguate.
39046 * tree-ssa-pre.c (translate_vuse_through_block): Adjust.
39048 2014-05-07 Joern Rennecke <joern.rennecke@embecosm.com>
39050 * config/epiphany/epiphany.c (epiphany_handle_interrupt_attribute):
39051 Emit an error when the function has arguments.
39053 2014-05-07 Thomas Schwinge <thomas@codesourcery.com>
39055 * cfgloop.h (unswitch_loops): Remove.
39056 * doc/passes.texi: Remove references to loop-unswitch.c
39057 * timevar.def (TV_LOOP_UNSWITCH): Remove.
39059 2014-05-07 Evgeny Stupachenko <evstupac@gmail.com>
39061 * tree-vect-data-refs.c (vect_grouped_load_supported): New
39062 check for loads group of length 3.
39063 (vect_permute_load_chain): New permutations for loads group of
39065 * tree-vect-stmts.c (vect_model_load_cost): Change cost
39066 of vec_perm_shuffle for the new permutations.
39068 2014-05-07 Alan Lawrence <alan.lawrence@arm.com>
39070 * config/aarch64/arm_neon.h (vtrn1_f32, vtrn1_p8, vtrn1_p16, vtrn1_s8,
39071 vtrn1_s16, vtrn1_s32, vtrn1_u8, vtrn1_u16, vtrn1_u32, vtrn1q_f32,
39072 vtrn1q_f64, vtrn1q_p8, vtrn1q_p16, vtrn1q_s8, vtrn1q_s16, vtrn1q_s32,
39073 vtrn1q_s64, vtrn1q_u8, vtrn1q_u16, vtrn1q_u32, vtrn1q_u64, vtrn2_f32,
39074 vtrn2_p8, vtrn2_p16, vtrn2_s8, vtrn2_s16, vtrn2_s32, vtrn2_u8,
39075 vtrn2_u16, vtrn2_u32, vtrn2q_f32, vtrn2q_f64, vtrn2q_p8, vtrn2q_p16,
39076 vtrn2q_s8, vtrn2q_s16, vtrn2q_s32, vtrn2q_s64, vtrn2q_u8, vtrn2q_u16,
39077 vtrn2q_u32, vtrn2q_u64): Replace temporary asm with __builtin_shuffle.
39079 2014-05-07 Thomas Schwinge <thomas@codesourcery.com>
39081 * loop-unswitch.c: Delete.
39083 2014-05-07 Richard Biener <rguenther@suse.de>
39085 * config.gcc: Always set need_64bit_hwint to yes.
39087 2014-05-07 Chung-Ju Wu <jasonwucj@gmail.com>
39089 * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
39090 of using optimize_size.
39092 2014-05-06 Mike Stump <mikestump@comcast.net>
39094 * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.
39096 2014-05-06 Joseph Myers <joseph@codesourcery.com>
39098 * config/i386/sse.md (*mov<mode>_internal)
39099 (*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>)
39100 (*<sse2_avx_avx512f>_loaddqu<mode><mask_name>)
39101 (<sse>_andnot<mode>3, <code><mode>3, *andnot<mode>3)
39102 (*<code><mode>3, *andnot<mode>3<mask_name>)
39103 (<mask_codefor><code><mode>3<mask_name>): Only consider
39104 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL for modes of size 16.
39106 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com>
39109 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
39111 * lra-constraints.c (valid_address_p): Move earlier in file.
39112 Add a constraint argument to the address_info version.
39113 (satisfies_memory_constraint_p): New function.
39114 (satisfies_address_constraint_p): Likewise.
39115 (process_alt_operands, curr_insn_transform): Use them.
39116 (process_address): Pass the constraint to valid_address_p when
39117 checking address operands.
39119 2014-05-06 Richard Sandiford <r.sandiford@uk.ibm.com>
39121 * lto-cgraph.c (compute_ltrans_boundary): Make node variables local
39122 to their respective blocks. Fix inadvertent use of "node".
39124 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com>
39126 * emit-rtl.c (init_derived_machine_modes): New functionm, split
39128 (init_emit_once): ...here.
39129 * rtl.h (init_derived_machine_modes): Declare.
39130 * toplev.c (do_compile): Call it even if no_backend.
39132 2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com>
39133 Mike Stump <mikestump@comcast.net>
39134 Richard Sandiford <rdsandiford@googlemail.com>
39135 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
39137 * alias.c (ao_ref_from_mem): Use wide-int interfaces.
39138 (rtx_equal_for_memref_p): Update comment.
39139 (adjust_offset_for_component_ref): Use wide-int interfaces.
39140 * builtins.c (get_object_alignment_2): Likewise.
39141 (c_readstr): Likewise.
39142 (target_char_cast): Add comment.
39143 (determine_block_size): Use wide-int interfaces.
39144 (expand_builtin_signbit): Likewise.
39145 (fold_builtin_int_roundingfn): Likewise.
39146 (fold_builtin_bitop): Likewise.
39147 (fold_builtin_bswap): Likewise.
39148 (fold_builtin_logarithm): Use signop.
39149 (fold_builtin_pow): Likewise.
39150 (fold_builtin_memory_op): Use wide-int interfaces.
39151 (fold_builtin_object_size): Likewise.
39152 * cfgloop.c (alloc_loop): Initialize nb_iterations_upper_bound and
39153 nb_iterations_estimate.
39154 (record_niter_bound): Use wide-int interfaces.
39155 (get_estimated_loop_iterations_int): Likewise.
39156 (get_estimated_loop_iterations): Likewise.
39157 (get_max_loop_iterations): Likewise.
39158 * cfgloop.h: Include wide-int.h.
39159 (struct nb_iter_bound): Change bound to widest_int.
39160 (struct loop): Change nb_iterations_upper_bound and
39161 nb_iterations_estimate to widest_int.
39162 (record_niter_bound): Switch to use widest_int.
39163 (get_estimated_loop_iterations): Likewise.
39164 (get_max_loop_iterations): Likewise.
39165 (gcov_type_to_double_int): Rename to gcov_type_to_wide_int and
39166 update for wide-int.
39167 * cgraph.c (cgraph_add_thunk): Use wide-int interfaces.
39168 * combine.c (try_combine): Likewise.
39169 (subst): Use CONST_SCALAR_INT_P rather than CONST_INT_P.
39170 * config/aarch64/aarch64.c (aapcs_vfp_sub_candidate): Use wide-int
39172 (aarch64_float_const_representable_p): Likewise.
39173 * config/arc/arc.c: Include wide-int.h.
39174 (arc_can_use_doloop_p): Use wide-int interfaces.
39175 * config/arm/arm.c (aapcs_vfp_sub_candidate): Likewise.
39176 (vfp3_const_double_index): Likewise.
39177 * config/avr/avr.c (avr_out_round): Likewise.
39178 (avr_fold_builtin): Likewise.
39179 * config/bfin/bfin.c (bfin_local_alignment): Likewise.
39180 (bfin_can_use_doloop_p): Likewise.
39181 * config/darwin.c (darwin_mergeable_constant_section): Likewise.
39182 (machopic_select_rtx_section): Update to handle CONST_WIDE_INT.
39183 * config/i386/i386.c: Include wide-int.h.
39184 (ix86_data_alignment): Use wide-int interfaces.
39185 (ix86_local_alignment): Likewise.
39186 (ix86_emit_swsqrtsf): Update real_from_integer.
39187 * config/msp430/msp430.c (msp430_attr): Use wide-int interfaces.
39188 * config/nds32/nds32.c (nds32_insert_attributes): Likewise.
39189 * config/rs6000/predicates.md (any_operand): Add const_wide_int.
39190 (zero_constant): Likewise.
39191 (input_operand): Likewise.
39192 (splat_input_operand): Likewise.
39193 (non_logical_cint_operand): Change const_double to const_wide_int.
39194 * config/rs6000/rs6000.c (num_insns_constant): Handle CONST_WIDE_INT.
39195 (easy_altivec_constant): Remove comment.
39196 (paired_expand_vector_init): Use CONSTANT_P.
39197 (rs6000_legitimize_address): Handle CONST_WIDE_INT.
39198 (rs6000_emit_move): Update checks.
39199 (rs6000_aggregate_candidate): Use wide-int interfaces.
39200 (rs6000_expand_ternop_builtin): Likewise.
39201 (rs6000_output_move_128bit): Handle CONST_WIDE_INT.
39202 (rs6000_assemble_integer): Likewise.
39203 (rs6000_hash_constant): Likewise.
39204 (output_toc): Likewise.
39205 (rs6000_rtx_costs): Likewise.
39206 (rs6000_emit_swrsqrt); Update call to real_from_integer.
39207 * config/rs6000/rs6000-c.c: Include wide-int.h.
39208 (altivec_resolve_overloaded_builtin): Use wide-int interfaces.
39209 * config/rs6000/rs6000.h (TARGET_SUPPORTS_WIDE_INT): New.
39210 * config/rs6000/rs6000.md: Use const_scalar_int_operand.
39211 Handle CONST_WIDE_INT.
39212 * config/sol2-c.c (solaris_pragma_align): Change low to unsigned HWI.
39213 Use tree_fits_uhwi_p.
39214 * config/sparc/sparc.c: Include wide-int.h.
39215 (sparc_fold_builtin): Use wide-int interfaces.
39216 * config/vax/vax.c: Include wide-int.h.
39217 (vax_float_literal): Use real_from_integer.
39218 * coretypes.h (struct hwivec_def): New.
39220 (const_hwivec): New.
39221 * cse.c (hash_rtx_cb): Handle CONST_WIDE_INT.
39222 (equiv_constant): Handle CONST_WIDE_INT.
39223 * cselib.c (rtx_equal_for_cselib_1): Use CASE_CONST_UNIQUE.
39224 (cselib_hash_rtx): Handle CONST_WIDE_INT.
39225 * dbxout.c (stabstr_U): Use wide-int interfaces.
39226 (dbxout_type): Update to use cst_fits_shwi_p.
39227 * defaults.h (LOG2_BITS_PER_UNIT): Define.
39228 (TARGET_SUPPORTS_WIDE_INT): Add default.
39229 * dfp.c: Include wide-int.h.
39230 (decimal_real_to_integer2): Use wide-int interfaces and rename to
39231 decimal_real_to_integer.
39232 * dfp.h (decimal_real_to_integer2): Return a wide_int and rename to
39233 decimal_real_to_integer.
39234 * doc/generic.texi (Constant expressions): Update for wide_int.
39235 * doc/rtl.texi (const_double): Likewise.
39236 (const_wide_int, CONST_WIDE_INT, CONST_WIDE_INT_VEC): New.
39237 (CONST_WIDE_INT_NUNITS, CONST_WIDE_INT_ELT): New.
39238 * doc/tm.texi.in (REAL_VALUE_TO_INT): Remove.
39239 (REAL_VALUE_FROM_INT): Remove.
39240 (TARGET_SUPPORTS_WIDE_INT): New.
39241 * doc/tm.texi: Regenerate.
39242 * dojump.c (prefer_and_bit_test): Use wide-int interfaces.
39243 * double-int.h: Include wide-int.h.
39244 (struct wi::int_traits): New.
39245 * dwarf2out.c (get_full_len): New.
39246 (dw_val_equal_p): Add case dw_val_class_wide_int.
39247 (size_of_loc_descr): Likewise.
39248 (output_loc_operands): Likewise.
39249 (insert_double): Remove.
39250 (insert_wide_int): New.
39251 (add_AT_wide): New.
39252 (print_die): Add case dw_val_class_wide_int.
39253 (attr_checksum): Likewise.
39254 (attr_checksum_ordered): Likewise.
39255 (same_dw_val_p): Likewise.
39256 (size_of_die): Likewise.
39257 (value_format): Likewise.
39258 (output_die): Likewise.
39259 (double_int_type_size_in_bits): Rename to offset_int_type_size_in_bits.
39261 (clz_loc_descriptor): Use wide-int interfaces.
39262 (mem_loc_descriptor): Likewise. Handle CONST_WIDE_INT.
39263 (loc_descriptor): Use wide-int interfaces. Handle CONST_WIDE_INT.
39264 (round_up_to_align): Use wide-int interfaces.
39265 (field_byte_offset): Likewise.
39266 (insert_double): Rename to insert_wide_int. Use wide-int interfaces.
39267 (add_const_value_attribute): Handle CONST_WIDE_INT. Update
39268 CONST_DOUBLE handling. Use wide-int interfaces.
39269 (add_bound_info): Use tree_fits_uhwi_p. Use wide-int interfaces.
39270 (gen_enumeration_type_die): Use add_AT_wide.
39271 (hash_loc_operands): Add case dw_val_class_wide_int.
39272 (compare_loc_operands): Likewise.
39273 * dwarf2out.h: Include wide-int.h.
39274 (wide_int_ptr): New.
39275 (enum dw_val_class): Add dw_val_class_wide_int.
39276 (struct dw_val_struct): Add val_wide.
39277 * emit-rtl.c (const_wide_int_htab): New.
39278 (const_wide_int_htab_hash): New.
39279 (const_wide_int_htab_eq): New.
39280 (lookup_const_wide_int): New.
39281 (const_double_htab_hash): Use wide-int interfaces.
39282 (const_double_htab_eq): Likewise.
39283 (rtx_to_double_int): Conditionally compile for wide-int.
39284 (immed_double_int_const): Rename to immed_wide_int_const and
39285 update for wide-int.
39286 (immed_double_const): Conditionally compile for wide-int.
39287 (init_emit_once): Use wide-int interfaces.
39288 * explow.c (plus_constant): Likewise.
39289 * expmed.c (mask_rtx): Move further up file. Use wide-int interfaces.
39290 (lshift_value): Use wide-int interfaces.
39291 (expand_mult): Likewise.
39292 (choose_multiplier): Likewise.
39293 (expand_smod_pow2): Likewise.
39294 (make_tree): Likewise.
39295 * expr.c (convert_modes): Consolidate handling of constants.
39296 Use wide-int interfaces.
39297 (emit_group_load_1): Add note.
39298 (store_expr): Update comment.
39299 (get_inner_reference): Use wide-int interfaces.
39300 (expand_constructor): Update comment.
39301 (expand_expr_real_2): Use wide-int interfaces.
39302 (expand_expr_real_1): Likewise.
39303 (reduce_to_bit_field_precision): Likewise.
39304 (const_vector_from_tree): Likewise.
39305 * final.c: Include wide-int-print.h.
39306 (output_addr_const): Handle CONST_WIDE_INT. Use CONST_DOUBLE_AS_INT_P.
39307 * fixed-value.c: Include wide-int.h.
39308 (fixed_from_string): Use wide-int interfaces.
39309 (fixed_to_decimal): Likewise.
39310 (fixed_convert_from_real): Likewise.
39311 (real_convert_from_fixed): Likewise.
39312 * fold-const.h (mem_ref_offset): Return an offset_int.
39313 (div_if_zero_remainder): Remove code parameter.
39314 * fold-const.c (div_if_zero_remainder): Remove code parameter.
39315 Use wide-int interfaces.
39316 (may_negate_without_overflow_p): Use wide-int interfaces.
39317 (negate_expr_p): Likewise.
39318 (fold_negate_expr): Likewise.
39319 (int_const_binop_1): Likewise.
39320 (const_binop): Likewise.
39321 (fold_convert_const_int_from_int): Likewise.
39322 (fold_convert_const_int_from_real): Likewise.
39323 (fold_convert_const_int_from_fixed): Likewise.
39324 (fold_convert_const_fixed_from_int): Likewise.
39325 (all_ones_mask_p): Take an unsigned size. Use wide-int interfaces.
39326 (sign_bit_p): Use wide-int interfaces.
39327 (make_range_step): Likewise.
39328 (build_range_check): Likewise. Pass an integer of the correct type
39329 instead of using integer_one_node.
39330 (range_predecessor): Pass an integer of the correct type instead
39331 of using integer_one_node.
39332 (range_successor): Likewise.
39333 (merge_ranges): Likewise.
39334 (unextend): Use wide-int interfaces.
39335 (extract_muldiv_1): Likewise.
39336 (fold_div_compare): Likewise.
39337 (fold_single_bit_test): Likewise.
39338 (fold_sign_changed_comparison): Likewise.
39339 (try_move_mult_to_index): Update calls to div_if_zero_remainder.
39340 (fold_plusminus_mult_expr): Use wide-int interfaces.
39341 (native_encode_int): Likewise.
39342 (native_interpret_int): Likewise.
39343 (fold_unary_loc): Likewise.
39344 (pointer_may_wrap_p): Likewise.
39345 (size_low_cst): Likewise.
39346 (mask_with_tz): Likewise.
39347 (fold_binary_loc): Likewise.
39348 (fold_ternary_loc): Likewise.
39349 (multiple_of_p): Likewise.
39350 (tree_call_nonnegative_warnv_p): Update calls to
39351 tree_int_cst_min_precision and real_from_integer.
39352 (fold_negate_const): Use wide-int interfaces.
39353 (fold_abs_const): Likewise.
39354 (fold_relational_const): Use tree_int_cst_lt.
39355 (round_up_loc): Use wide-int interfaces.
39356 * genemit.c (gen_exp): Add CONST_WIDE_INT case.
39357 * gengenrtl.c (excluded_rtx): Add CONST_WIDE_INT case.
39358 * gengtype.c: Remove include of double-int.h.
39359 (do_typedef): Use wide-int interfaces.
39360 (open_base_files): Add wide-int.h.
39361 (main): Add offset_int and widest_int typedefs.
39362 * gengtype-lex.l: Handle "^".
39363 (CXX_KEYWORD): Add "static".
39364 * gengtype-parse.c (require3): New.
39365 (require_template_declaration): Handle constant template arguments
39366 and nested templates.
39367 * gengtype-state.c: Don't include "double-int.h".
39368 * genpreds.c (write_one_predicate_function): Update comment.
39369 (write_tm_constrs_h): Add check for hval and lval use in
39371 * genrecog.c (validate_pattern): Add CONST_WIDE_INT case.
39372 (add_to_sequence): Likewise.
39373 * gensupport.c (struct std_pred_table): Add const_scalar_int_operand
39374 and const_double_operand.
39375 * gimple.c (preprocess_case_label_vec_for_gimple): Use wide-int
39377 * gimple-fold.c (get_base_constructor): Likewise.
39378 (fold_array_ctor_reference): Likewise.
39379 (fold_nonarray_ctor_reference): Likewise.
39380 (fold_const_aggregate_ref_1): Likewise.
39381 (gimple_val_nonnegative_real_p): Likewise.
39382 (gimple_fold_indirect_ref): Likewise.
39383 * gimple-pretty-print.c (dump_ssaname_info): Likewise.
39384 * gimple-ssa-strength-reduction.c: Include wide-int-print.h.
39385 (struct slsr_cand_d): Change index to be widest_int.
39386 (struct incr_info_d): Change incr to be widest_int.
39387 (alloc_cand_and_find_basis): Use wide-int interfaces.
39388 (slsr_process_phi): Likewise.
39389 (backtrace_base_for_ref): Likewise. Return a widest_int.
39390 (restructure_reference): Take a widest_int instead of a double_int.
39391 (slsr_process_ref): Use wide-int interfaces.
39392 (create_mul_ssa_cand): Likewise.
39393 (create_mul_imm_cand): Likewise.
39394 (create_add_ssa_cand): Likewise.
39395 (create_add_imm_cand): Take a widest_int instead of a double_int.
39396 (slsr_process_add): Use wide-int interfaces.
39397 (slsr_process_cast): Likewise.
39398 (slsr_process_copy): Likewise.
39399 (dump_candidate): Likewise.
39400 (dump_incr_vec): Likewise.
39401 (replace_ref): Likewise.
39402 (cand_increment): Likewise. Return a widest_int.
39403 (cand_abs_increment): Likewise.
39404 (replace_mult_candidate): Take a widest_int instead of a double_int.
39405 (replace_unconditional_candidate): Use wide-int interfaces.
39406 (incr_vec_index): Take a widest_int instead of a double_int.
39407 (create_add_on_incoming_edge): Likewise.
39408 (create_phi_basis): Use wide-int interfaces.
39409 (replace_conditional_candidate): Likewise.
39410 (record_increment): Take a widest_int instead of a double_int.
39411 (record_phi_increments): Use wide-int interfaces.
39412 (phi_incr_cost): Take a widest_int instead of a double_int.
39413 (lowest_cost_path): Likewise.
39414 (total_savings): Likewise.
39415 (analyze_increments): Use wide-int interfaces.
39416 (ncd_with_phi): Take a widest_int instead of a double_int.
39417 (ncd_of_cand_and_phis): Likewise.
39418 (nearest_common_dominator_for_cands): Likewise.
39419 (insert_initializers): Use wide-int interfaces.
39420 (all_phi_incrs_profitable): Likewise.
39421 (replace_one_candidate): Likewise.
39422 (replace_profitable_candidates): Likewise.
39423 * godump.c: Include wide-int-print.h.
39424 (go_output_typedef): Use wide-int interfaces.
39425 * graphite-clast-to-gimple.c (gmp_cst_to_tree): Likewise.
39426 * graphite-sese-to-poly.c (tree_int_to_gmp): Likewise.
39427 (build_loop_iteration_domains): Likewise.
39428 * hooks.h: Include wide-int.h rather than double-int.h.
39429 (hook_bool_dint_dint_uint_bool_true): Delete.
39430 (hook_bool_wint_wint_uint_bool_true): Declare.
39431 * hooks.c (hook_bool_dint_dint_uint_bool_true): Removed.
39432 (hook_bool_wint_wint_uint_bool_true): New.
39433 * internal-fn.c (ubsan_expand_si_overflow_addsub_check): Use wide-int
39435 (ubsan_expand_si_overflow_mul_check): Likewise.
39436 * ipa-devirt.c (get_polymorphic_call_info): Likewise.
39437 * ipa-prop.c (compute_complex_assign_jump_func): Likewise.
39438 (get_ancestor_addr_info): Likewise.
39439 (ipa_modify_call_arguments): Likewise.
39440 * loop-doloop.c (doloop_modify): Likewise.
39441 (doloop_optimize): Likewise.
39442 * loop-iv.c (iv_number_of_iterations): Likewise.
39443 * loop-unroll.c (decide_unroll_constant_iterations): Likewise.
39444 (unroll_loop_constant_iterations): Likewise.
39445 (decide_unroll_runtime_iterations): Likewise.
39446 (unroll_loop_runtime_iterations): Likewise.
39447 (decide_peel_simple): Likewise.
39448 (decide_unroll_stupid): Likewise.
39449 * lto-streamer-in.c (streamer_read_wi): Add.
39450 (input_cfg): Use wide-int interfaces.
39451 (lto_input_tree_1): Likewise.
39452 * lto-streamer-out.c (streamer_write_wi): Add.
39453 (hash_tree): Use wide-int interfaces.
39454 (output_cfg): Likewise.
39455 * Makefile.in (OBJS): Add wide-int.o and wide-int-print.o.
39456 (GTFILES): Add wide-int.h and signop.h.
39457 (TAGS): Look for .cc files too.
39458 * omp-low.c (scan_omp_1_op): Use wide-int interfaces.
39459 * optabs.c (expand_subword_shift): Likewise.
39460 (expand_doubleword_shift): Likewise.
39461 (expand_absneg_bit): Likewise.
39462 (expand_copysign_absneg): Likewise.
39463 (expand_copysign_bit): Likewise.
39464 * postreload.c (reload_cse_simplify_set): Likewise.
39465 * predict.c (predict_iv_comparison): Likewise.
39466 * pretty-print.h: Include wide-int-print.h.
39468 * print-rtl.c (print_rtx): Add CONST_WIDE_INT case.
39469 * print-tree.c: Include wide-int-print.h.
39470 (print_node_brief): Use wide-int interfaces.
39471 (print_node): Likewise.
39472 * read-rtl.c (validate_const_wide_int): New.
39473 (read_rtx_code): Add CONST_WIDE_INT case.
39474 * real.c: Include wide-int.h.
39475 (real_to_integer2): Delete.
39476 (real_to_integer): New function, returning a wide_int.
39477 (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
39478 (ten_to_ptwo): Update call to real_from_integer.
39479 (real_digit): Likewise.
39480 * real.h: Include signop.h, wide-int.h and insn-modes.h.
39481 (real_to_integer2, REAL_VALUE_FROM_INT, REAL_VALUE_FROM_UNSIGNED_INT)
39482 (REAL_VALUE_TO_INT): Delete.
39483 (real_to_integer): Declare a wide-int form.
39484 (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
39485 * recog.c (const_int_operand): Improve comment.
39486 (const_scalar_int_operand): New.
39487 (const_double_operand): Add a separate definition for CONST_WIDE_INT.
39488 * rtlanal.c (commutative_operand_precedence): Handle CONST_WIDE_INT.
39489 (split_double): Likewise.
39490 * rtl.c (DEF_RTL_EXPR): Handle CONST_WIDE_INT.
39491 (rtx_size): Likewise.
39492 (rtx_alloc_stat_v): New.
39493 (rtx_alloc_stat): Now calls rtx_alloc_stat_v.
39494 (cwi_output_hex): New.
39495 (iterative_hash_rtx): Handle CONST_WIDE_INT.
39496 (cwi_check_failed_bounds): New.
39497 * rtl.def (CONST_WIDE_INT): New.
39498 * rtl.h: Include <utility> and wide-int.h.
39499 (struct hwivec_def): New.
39500 (CWI_GET_NUM_ELEM): New.
39501 (CWI_PUT_NUM_ELEM): New.
39502 (struct rtx_def): Add num_elem and hwiv.
39503 (CASE_CONST_SCALAR_INT): Modify for TARGET_SUPPORTS_WIDE_INT.
39504 (CASE_CONST_UNIQUE): Likewise.
39505 (CASE_CONST_ANY): Likewise.
39506 (CONST_SCALAR_INT_P): Likewise.
39507 (CONST_WIDE_INT_P): New.
39509 (HWIVEC_CHECK): New.
39510 (cwi_check_failed_bounds): New.
39512 (HWIVEC_CHECK): New.
39513 (CONST_WIDE_INT_VEC) New.
39514 (CONST_WIDE_INT_NUNITS) New.
39515 (CONST_WIDE_INT_ELT) New.
39516 (rtx_mode_t): New type.
39517 (wi::int_traits <rtx_mode_t>): New.
39519 (wi::min_value): New.
39520 (wi::max_value): New.
39522 (const_wide_int_alloc): New.
39523 (immed_wide_int_const): New.
39524 * sched-vis.c (print_value): Handle CONST_WIDE_INT.
39525 * sel-sched-ir.c (lhs_and_rhs_separable_p): Update comment.
39526 * signop.h: New file.
39527 * simplify-rtx.c (mode_signbit_p): Handle CONST_WIDE_INT.
39528 (simplify_const_unary_operation): Use wide-int interfaces.
39529 (simplify_binary_operation_1): Likewise.
39530 (simplify_const_binary_operation): Likewise.
39531 (simplify_const_relational_operation): Likewise.
39532 (simplify_immed_subreg): Likewise.
39533 * stmt.c (expand_case): Likewise.
39534 * stor-layout.h (set_min_and_max_values_for_integral_type): Take a
39535 signop rather than a bool.
39536 * stor-layout.c (layout_type): Use wide-int interfaces.
39537 (initialize_sizetypes): Update calls to
39538 set_min_and_max_values_for_integral_type.
39539 (set_min_and_max_values_for_integral_type): Take a signop rather
39540 than a bool. Use wide-int interfaces.
39541 (fixup_signed_type): Update accordingly. Remove
39542 HOST_BITS_PER_DOUBLE_INT limit.
39543 (fixup_unsigned_type): Likewise.
39544 * system.h (STATIC_CONSTANT_P): New.
39545 (STATIC_ASSERT): New.
39546 * target.def (can_use_doloop_p): Take widest_ints rather than
39548 * target.h: Include wide-int.h rather than double-int.h.
39549 * targhooks.h (can_use_doloop_if_innermost): Take widest_ints rather
39551 * targhooks.c (default_cxx_get_cookie_size): Use tree_int_cst_lt
39552 rather than INT_CST_LT_UNSIGNED.
39553 (can_use_doloop_if_innermost): Take widest_ints rather than
39555 * tree-affine.c: Include wide-int-print.h.
39556 (double_int_ext_for_comb): Delete.
39557 (wide_int_ext_for_comb): New.
39558 (aff_combination_zero): Use wide-int interfaces.
39559 (aff_combination_const): Take a widest_int instead of a double_int.
39560 (aff_combination_elt): Use wide-int interfaces.
39561 (aff_combination_scale): Take a widest_int instead of a double_int.
39562 (aff_combination_add_elt): Likewise.
39563 (aff_combination_add_cst): Likewise.
39564 (aff_combination_add): Use wide-int interfaces.
39565 (aff_combination_convert): Likewise.
39566 (tree_to_aff_combination): Likewise.
39567 (add_elt_to_tree): Take a widest_int instead of a double_int.
39568 (aff_combination_to_tree): Use wide-int interfaces.
39569 (aff_combination_remove_elt): Likewise.
39570 (aff_combination_add_product): Take a widest_int instead of
39572 (aff_combination_mult): Use wide-int interfaces.
39573 (aff_combination_expand): Likewise.
39574 (double_int_constant_multiple_p): Delete.
39575 (wide_int_constant_multiple_p): New.
39576 (aff_combination_constant_multiple_p): Take a widest_int pointer
39577 instead of a double_int pointer.
39578 (print_aff): Use wide-int interfaces.
39579 (get_inner_reference_aff): Take a widest_int pointer
39580 instead of a double_int pointer.
39581 (aff_comb_cannot_overlap_p): Take widest_ints instead of double_ints.
39582 * tree-affine.h: Include wide-int.h.
39583 (struct aff_comb_elt): Change type of coef to widest_int.
39584 (struct affine_tree_combination): Change type of offset to widest_int.
39585 (double_int_ext_for_comb): Delete.
39586 (wide_int_ext_for_comb): New.
39587 (aff_combination_const): Use widest_int instead of double_int.
39588 (aff_combination_scale): Likewise.
39589 (aff_combination_add_elt): Likewise.
39590 (aff_combination_constant_multiple_p): Likewise.
39591 (get_inner_reference_aff): Likewise.
39592 (aff_comb_cannot_overlap_p): Likewise.
39593 (aff_combination_zero_p): Use wide-int interfaces.
39594 * tree.c: Include tree.h.
39595 (init_ttree): Use make_int_cst.
39596 (tree_code_size): Removed code for INTEGER_CST case.
39597 (tree_size): Add INTEGER_CST case.
39598 (make_node_stat): Update comment.
39599 (get_int_cst_ext_nunits, build_new_int_cst, build_int_cstu): New.
39600 (build_int_cst_type): Use wide-int interfaces.
39601 (double_int_to_tree): Likewise.
39602 (double_int_fits_to_tree_p): Delete.
39603 (force_fit_type_double): Delete.
39604 (force_fit_type): New.
39605 (int_cst_hash_hash): Use wide-int interfaces.
39606 (int_cst_hash_eq): Likewise.
39607 (build_int_cst_wide): Delete.
39608 (wide_int_to_tree): New.
39609 (cache_integer_cst): Use wide-int interfaces.
39610 (build_low_bits_mask): Likewise.
39611 (cst_and_fits_in_hwi): Likewise.
39612 (real_value_from_int_cst): Likewise.
39613 (make_int_cst_stat): New.
39614 (integer_zerop): Use wide_int interfaces.
39615 (integer_onep): Likewise.
39616 (integer_all_onesp): Likewise.
39617 (integer_pow2p): Likewise.
39618 (integer_nonzerop): Likewise.
39619 (tree_log2): Likewise.
39620 (tree_floor_log2): Likewise.
39621 (tree_ctz): Likewise.
39622 (int_size_in_bytes): Likewise.
39623 (mem_ref_offset): Return an offset_int rather than a double_int.
39624 (build_type_attribute_qual_variant): Use wide_int interfaces.
39625 (type_hash_eq): Likewise
39626 (tree_int_cst_equal): Likewise.
39627 (tree_int_cst_lt): Delete.
39628 (tree_int_cst_compare): Likewise.
39629 (tree_fits_shwi_p): Use wide_int interfaces.
39630 (tree_fits_uhwi_p): Likewise.
39631 (tree_int_cst_sign_bit): Likewise.
39632 (tree_int_cst_sgn): Likewise.
39633 (tree_int_cst_min_precision): Take a signop rather than a bool.
39634 (simple_cst_equal): Use wide_int interfaces.
39635 (compare_tree_int): Likewise.
39636 (iterative_hash_expr): Likewise.
39637 (int_fits_type_p): Likewise. Use tree_int_cst_lt rather than
39639 (get_type_static_bounds): Use wide_int interfaces.
39640 (tree_int_cst_elt_check_failed): New.
39641 (build_common_tree_nodes): Reordered to set prec before filling in
39643 (int_cst_value): Check cst_and_fits_in_hwi.
39644 (widest_int_cst_value): Use wide_int interfaces.
39645 (upper_bound_in_type): Likewise.
39646 (lower_bound_in_type): Likewise.
39647 (num_ending_zeros): Likewise.
39648 (drop_tree_overflow): Likewise.
39649 * tree-call-cdce.c (check_pow): Update call to real_from_integer.
39650 (gen_conditions_for_pow_cst_base): Likewise.
39651 * tree-cfg.c: Include wide-int.h and wide-int-print.h.
39652 (group_case_labels_stmt): Use wide-int interfaces.
39653 (verify_gimple_assign_binary): Likewise.
39654 (print_loop): Likewise.
39655 * tree-chrec.c (tree_fold_binomial): Likewise.
39656 * tree-core.h (struct tree_base): Add int_length.
39657 (struct tree_int_cst): Change rep of value.
39658 * tree-data-ref.c (dr_analyze_innermost): Use wide-int interfaces.
39659 (dr_may_alias_p): Likewise.
39660 (max_stmt_executions_tree): Likewise.
39661 * tree.def (INTEGER_CST): Update comment.
39662 * tree-dfa.c (get_ref_base_and_extent): Use wide-int interfaces.
39663 * tree-dfa.h (get_addr_base_and_unit_offset_1): Likewise.
39664 * tree-dump.c: Include wide-int.h and wide-int-print.h.
39665 (dequeue_and_dump): Use wide-int interfaces.
39666 * tree.h: Include wide-int.h.
39667 (NULL_TREE): Moved to earlier loc in file.
39668 (TREE_INT_CST_ELT_CHECK): New.
39669 (tree_int_cst_elt_check_failed): New.
39671 (TREE_INT_CST): Delete.
39672 (TREE_INT_CST_LOW): Use wide-int interfaces.
39673 (TREE_INT_CST_HIGH): Delete.
39674 (TREE_INT_CST_NUNITS): New.
39675 (TREE_INT_CST_EXT_NUNITS): Likewise.
39676 (TREE_INT_CST_OFFSET_NUNITS): Likewise.
39677 (TREE_INT_CST_ELT): Likewise.
39678 (INT_CST_LT): Delete.
39679 (tree_int_cst_elt_check): New (two forms).
39680 (type_code_size): Update comment.
39681 (make_int_cst_stat, make_int_cst): New.
39682 (tree_to_double_int): Delete.
39683 (double_int_fits_to_tree_p): Delete.
39684 (force_fit_type_double): Delete.
39685 (build_int_cstu): Replace with out-of-line function.
39686 (build_int_cst_wide): Delete.
39687 (tree_int_cst_lt): Define inline.
39688 (tree_int_cst_le): New.
39689 (tree_int_cst_compare): Define inline.
39690 (tree_int_cst_min_precision): Take a signop rather than a bool.
39691 (wi::int_traits <const_tree>): New.
39692 (wi::int_traits <tree>): New.
39693 (wi::extended_tree): New.
39694 (wi::int_traits <wi::extended_tree>): New.
39695 (wi::to_widest): New.
39696 (wi::to_offset): New.
39697 (wi::fits_to_tree_p): New.
39698 (wi::min_value): New.
39699 (wi::max_value): New.
39700 * tree-inline.c (remap_gimple_op_r): Use wide-int interfaces.
39701 (copy_tree_body_r): Likewise.
39702 * tree-object-size.c (compute_object_offset): Likewise.
39703 (addr_object_size): Likewise.
39704 * tree-predcom.c: Include wide-int-print.h.
39705 (struct dref_d): Change type of offset to widest_int.
39706 (dump_dref): Call wide-int printer.
39707 (aff_combination_dr_offset): Use wide-int interfaces.
39708 (determine_offset): Take a widest_int pointer rather than a
39709 double_int pointer.
39710 (split_data_refs_to_components): Use wide-int interfaces.
39711 (suitable_component_p): Likewise.
39712 (order_drefs): Likewise.
39713 (add_ref_to_chain): Likewise.
39714 (valid_initializer_p): Likewise.
39715 (determine_roots_comp): Likewise.
39716 * tree-pretty-print.c: Include wide-int-print.h.
39717 (dump_generic_node): Use wide-int interfaces.
39718 * tree-sra.c (sra_ipa_modify_expr): Likewise.
39719 * tree-ssa-address.c (addr_for_mem_ref): Likewise.
39720 (move_fixed_address_to_symbol): Likewise.
39721 (move_hint_to_base): Likewise.
39722 (move_pointer_to_base): Likewise.
39723 (move_variant_to_index): Likewise.
39724 (most_expensive_mult_to_index): Likewise.
39725 (addr_to_parts): Likewise.
39726 (copy_ref_info): Likewise.
39727 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise.
39728 (indirect_refs_may_alias_p): Likewise.
39729 (stmt_kills_ref_p_1): Likewise.
39730 * tree-ssa.c (non_rewritable_mem_ref_base): Likewise.
39731 * tree-ssa-ccp.c: Update comment at top of file. Include
39733 (struct prop_value_d): Change type of mask to widest_int.
39734 (extend_mask): New function.
39735 (dump_lattice_value): Use wide-int interfaces.
39736 (get_default_value): Likewise.
39737 (set_constant_value): Likewise.
39738 (set_value_varying): Likewise.
39739 (valid_lattice_transition): Likewise.
39740 (set_lattice_value): Likewise.
39741 (value_to_double_int): Delete.
39742 (value_to_wide_int): New.
39743 (get_value_from_alignment): Use wide-int interfaces.
39744 (get_value_for_expr): Likewise.
39745 (do_dbg_cnt): Likewise.
39746 (ccp_finalize): Likewise.
39747 (ccp_lattice_meet): Likewise.
39748 (bit_value_unop_1): Use widest_ints rather than double_ints.
39749 (bit_value_binop_1): Likewise.
39750 (bit_value_unop): Use wide-int interfaces.
39751 (bit_value_binop): Likewise.
39752 (bit_value_assume_aligned): Likewise.
39753 (evaluate_stmt): Likewise.
39754 (ccp_fold_stmt): Likewise.
39755 (visit_cond_stmt): Likewise.
39756 (ccp_visit_stmt): Likewise.
39757 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise.
39758 (constant_pointer_difference): Likewise.
39759 (associate_pointerplus): Likewise.
39760 (combine_conversions): Likewise.
39761 * tree-ssa-loop.h: Include wide-int.h.
39762 (struct tree_niter_desc): Change type of max to widest_int.
39763 * tree-ssa-loop-im.c (mem_refs_may_alias_p): Use wide-int interfaces.
39764 * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Likewise.
39765 (remove_redundant_iv_tests): Likewise.
39766 (canonicalize_loop_induction_variables): Likewise.
39767 * tree-ssa-loop-ivopts.c (alloc_iv): Likewise.
39768 (constant_multiple_of): Take a widest_int pointer instead of
39769 a double_int pointer.
39770 (get_computation_aff): Use wide-int interfaces.
39771 (ptr_difference_cost): Likewise.
39772 (difference_cost): Likewise.
39773 (get_loop_invariant_expr_id): Likewise.
39774 (get_computation_cost_at): Likewise.
39775 (iv_elimination_compare_lt): Likewise.
39776 (may_eliminate_iv): Likewise.
39777 * tree-ssa-loop-niter.h (estimated_loop_iterations): Use widest_int
39778 instead of double_int.
39779 (max_loop_iterations): Likewise.
39780 (max_stmt_executions): Likewise.
39781 (estimated_stmt_executions): Likewise.
39782 * tree-ssa-loop-niter.c: Include wide-int-print.h.
39783 (split_to_var_and_offset): Use wide-int interfaces.
39784 (determine_value_range): Likewise.
39785 (bound_difference_of_offsetted_base): Likewise.
39786 (bounds_add): Take a widest_int instead of a double_int.
39787 (number_of_iterations_ne_max): Use wide-int interfaces.
39788 (number_of_iterations_ne): Likewise.
39789 (number_of_iterations_lt_to_ne): Likewise.
39790 (assert_loop_rolls_lt): Likewise.
39791 (number_of_iterations_lt): Likewise.
39792 (number_of_iterations_le): Likewise.
39793 (number_of_iterations_cond): Likewise.
39794 (number_of_iterations_exit): Likewise.
39795 (finite_loop_p): Likewise.
39796 (derive_constant_upper_bound_assign): Likewise.
39797 (derive_constant_upper_bound): Return a widest_int.
39798 (derive_constant_upper_bound_ops): Likewise.
39799 (do_warn_aggressive_loop_optimizations): Use wide-int interfaces.
39800 (record_estimate): Take a widest_int rather than a double_int.
39801 (record_nonwrapping_iv): Use wide-int interfaces.
39802 (double_int_cmp): Delete.
39803 (wide_int_cmp): New.
39804 (bound_index): Take a widest_int rather than a double_int.
39805 (discover_iteration_bound_by_body_walk): Use wide-int interfaces.
39806 (maybe_lower_iteration_bound): Likewise.
39807 (estimate_numbers_of_iterations_loop): Likewise.
39808 (estimated_loop_iterations): Take a widest_int pointer than than
39809 a double_int pointer.
39810 (estimated_loop_iterations_int): Use wide-int interfaces.
39811 (max_loop_iterations): Take a widest_int pointer than than
39812 a double_int pointer.
39813 (max_loop_iterations_int): Use wide-int interfaces.
39814 (max_stmt_executions): Take a widest_int pointer than than
39815 a double_int pointer.
39816 (estimated_stmt_executions): Likewise.
39817 (n_of_executions_at_most): Use wide-int interfaces.
39818 (scev_probably_wraps_p): Likewise.
39819 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Update calls
39820 to real_to_integer.
39821 * tree-scalar-evolution.c (simplify_peeled_chrec): Use wide-int
39823 * tree-ssanames.c (set_range_info): Use wide_int_refs rather than
39824 double_ints. Adjust for trailing_wide_ints <3> representation.
39825 (set_nonzero_bits): Likewise.
39826 (get_range_info): Return wide_ints rather than double_ints.
39827 Adjust for trailing_wide_ints <3> representation.
39828 (get_nonzero_bits): Likewise.
39829 (duplicate_ssa_name_range_info): Adjust for trailing_wide_ints <3>
39831 * tree-ssanames.h (struct range_info_def): Replace min, max and
39832 nonzero_bits with a trailing_wide_ints <3>.
39833 (set_range_info): Use wide_int_refs rather than double_ints.
39834 (set_nonzero_bits): Likewise.
39835 (get_range_info): Return wide_ints rather than double_ints.
39836 (get_nonzero_bits): Likewise.
39837 * tree-ssa-phiopt.c (jump_function_from_stmt): Use wide-int interfaces.
39838 * tree-ssa-pre.c (phi_translate_1): Likewise.
39839 * tree-ssa-reassoc.c (decrement_power): Use calls to real_from_integer.
39840 (acceptable_pow_call): Likewise.
39841 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use wide-int
39843 (vn_reference_fold_indirect): Likewise.
39844 (vn_reference_maybe_forwprop_address): Likewise.
39845 (valueize_refs_1): Likewise.
39846 * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Likewise.
39847 * tree-ssa-uninit.c (is_value_included_in): Use wide-int interfaces,
39848 tree_int_cst_lt and tree_int_cst_le.
39849 * tree-streamer-in.c (unpack_ts_base_value_fields): Use wide-int
39851 (streamer_alloc_tree): Likewise.
39852 * tree-streamer-out.c (pack_ts_int_cst_value_fields): Likewise.
39853 (streamer_write_tree_header): Likewise.
39854 (streamer_write_integer_cst): Likewise.
39855 * tree-switch-conversion.c (emit_case_bit_tests): Likewise.
39856 (build_constructors): Likewise.
39857 (array_value_type): Likewise.
39858 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Likewise.
39859 (vect_check_gather): Likewise.
39860 * tree-vect-generic.c (build_replicated_const): Likewise.
39861 (expand_vector_divmod): Likewise.
39862 * tree-vect-loop.c (vect_transform_loop): Likewise.
39863 * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise.
39864 (vect_do_peeling_for_alignment): Likewise.
39865 * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise.
39866 * tree-vrp.c: Include wide-int.h.
39867 (operand_less_p): Use wide-int interfaces and tree_int_cst_lt.
39868 (extract_range_from_assert): Use wide-int interfaces.
39869 (vrp_int_const_binop): Likewise.
39870 (zero_nonzero_bits_from_vr): Take wide_int pointers rather than
39871 double_int pointers.
39872 (ranges_from_anti_range): Use wide-int interfaces.
39873 (quad_int_cmp): Delete.
39874 (quad_int_pair_sort): Likewise.
39875 (extract_range_from_binary_expr_1): Use wide-int interfaces.
39876 (extract_range_from_unary_expr_1): Likewise.
39877 (adjust_range_with_scev): Likewise.
39878 (masked_increment): Take and return wide_ints rather than double_ints.
39879 (register_edge_assert_for_2): Use wide-int interfaces.
39880 (check_array_ref): Likewise.
39881 (search_for_addr_array): Likewise.
39882 (maybe_set_nonzero_bits): Likewise.
39883 (union_ranges): Pass an integer of the correct type instead of
39884 using integer_one_node.
39885 (intersect_ranges): Likewise.
39886 (simplify_truth_ops_using_ranges): Likewise.
39887 (simplify_bit_ops_using_ranges): Use wide-int interfaces.
39888 (range_fits_type_p): Likewise.
39889 (simplify_cond_using_ranges): Likewise. Take a signop rather than
39891 (simplify_conversion_using_ranges): Use wide-int interfaces.
39892 (simplify_float_conversion_using_ranges): Likewise.
39893 (vrp_finalize): Likewise.
39894 * value-prof.c (gimple_divmod_fixed_value_transform): Likewise.
39895 (gimple_stringops_transform): Likewise.
39896 * varasm.c (decode_addr_const): Likewise.
39897 (const_hash_1): Likewise.
39898 (const_rtx_hash_1): Likewise
39899 (output_constant): Likewise.
39900 (array_size_for_constructor): Likewise.
39901 (output_constructor_regular_field): Likewise.
39902 (output_constructor_bitfield): Likewise.
39903 * var-tracking.c (loc_cmp): Handle CONST_WIDE_INT.
39904 * mkconfig.sh: Include machmode.h to pick up BITS_PER_UNIT for
39906 * gencheck.c: Define BITS_PER_UNIT.
39907 * wide-int.cc: New.
39909 * wide-int-print.cc: New.
39910 * wide-int-print.h: New.
39912 2014-05-06 Jan-Benedict Glaw <jbglaw@lug-owl.de>
39914 * config/avr/avr.c (avr_can_eliminate): Mark unused argument.
39916 2014-05-06 Richard Biener <rguenther@suse.de>
39918 * tree-pass.h (TODO_verify_ssa, TODO_verify_flow,
39919 TODO_verify_stmts, TODO_verify_rtl_sharing): Remove.
39920 (TODO_verify_all): Adjust.
39921 * asan.c: Remove references to TODO_verify_ssa, TODO_verify_flow,
39922 TODO_verify_stmts and TODO_verify_rtl_sharing.
39923 * bb-reorder.c: Likewise.
39924 * cfgexpand.c: Likewise.
39925 * cprop.c: Likewise.
39927 * function.c: Likewise.
39928 * fwprop.c: Likewise.
39929 * gcse.c: Likewise.
39930 * gimple-ssa-isolate-paths.c: Likewise.
39931 * gimple-ssa-strength-reduction.c: Likewise.
39932 * ipa-split.c: Likewise.
39933 * loop-init.c: Likewise.
39934 * loop-unroll.c: Likewise.
39935 * lower-subreg.c: Likewise.
39936 * modulo-sched.c: Likewise.
39937 * postreload-gcse.c: Likewise.
39938 * predict.c: Likewise.
39939 * recog.c: Likewise.
39940 * sched-rgn.c: Likewise.
39941 * store-motion.c: Likewise.
39942 * tracer.c: Likewise.
39943 * trans-mem.c: Likewise.
39944 * tree-call-cdce.c: Likewise.
39945 * tree-cfg.c: Likewise.
39946 * tree-cfgcleanup.c: Likewise.
39947 * tree-complex.c: Likewise.
39948 * tree-eh.c: Likewise.
39949 * tree-emutls.c: Likewise.
39950 * tree-if-conv.c: Likewise.
39951 * tree-into-ssa.c: Likewise.
39952 * tree-loop-distribution.c: Likewise.
39953 * tree-object-size.c: Likewise.
39954 * tree-parloops.c: Likewise.
39955 * tree-pass.h: Likewise.
39956 * tree-sra.c: Likewise.
39957 * tree-ssa-ccp.c: Likewise.
39958 * tree-ssa-copy.c: Likewise.
39959 * tree-ssa-copyrename.c: Likewise.
39960 * tree-ssa-dce.c: Likewise.
39961 * tree-ssa-dom.c: Likewise.
39962 * tree-ssa-dse.c: Likewise.
39963 * tree-ssa-forwprop.c: Likewise.
39964 * tree-ssa-ifcombine.c: Likewise.
39965 * tree-ssa-loop-ch.c: Likewise.
39966 * tree-ssa-loop-ivcanon.c: Likewise.
39967 * tree-ssa-loop.c: Likewise.
39968 * tree-ssa-math-opts.c: Likewise.
39969 * tree-ssa-phiopt.c: Likewise.
39970 * tree-ssa-phiprop.c: Likewise.
39971 * tree-ssa-pre.c: Likewise.
39972 * tree-ssa-reassoc.c: Likewise.
39973 * tree-ssa-sink.c: Likewise.
39974 * tree-ssa-strlen.c: Likewise.
39975 * tree-ssa-tail-merge.c: Likewise.
39976 * tree-ssa-uncprop.c: Likewise.
39977 * tree-switch-conversion.c: Likewise.
39978 * tree-tailcall.c: Likewise.
39979 * tree-vect-generic.c: Likewise.
39980 * tree-vectorizer.c: Likewise.
39981 * tree-vrp.c: Likewise.
39982 * tsan.c: Likewise.
39983 * var-tracking.c: Likewise.
39984 * bt-load.c: Likewise.
39985 * cfgcleanup.c: Likewise.
39986 * combine-stack-adj.c: Likewise.
39987 * combine.c: Likewise.
39988 * compare-elim.c: Likewise.
39989 * config/epiphany/resolve-sw-modes.c: Likewise.
39990 * config/i386/i386.c: Likewise.
39991 * config/mips/mips.c: Likewise.
39992 * config/s390/s390.c: Likewise.
39993 * config/sh/sh_treg_combine.cc: Likewise.
39994 * config/sparc/sparc.c: Likewise.
39997 * final.c: Likewise.
39998 * ifcvt.c: Likewise.
39999 * mode-switching.c: Likewise.
40000 * passes.c: Likewise.
40001 * postreload.c: Likewise.
40003 * reg-stack.c: Likewise.
40004 * regcprop.c: Likewise.
40005 * regrename.c: Likewise.
40008 2014-05-06 Richard Biener <rguenther@suse.de>
40010 PR middle-end/61070
40011 * bitmap.c (debug_bitmap): Dump to stderr, not stdout.
40012 * tree-ssa-structalias.c (dump_solution_for_var): Likewise.
40014 2014-05-05 Jan Hubicka <hubicka@ucw.cz>
40017 * ipa-devirt.c (get_class_context): Allow POD to change to non-POD.
40019 2014-05-05 Radovan Obradovic <robradovic@mips.com>
40020 Tom de Vries <tom@codesourcery.com>
40022 * target.def (call_fusage_contains_non_callee_clobbers): New
40024 * doc/tm.texi.in (@node Stack and Calling): Add Miscellaneous Register
40026 (@node Miscellaneous Register Hooks): New node.
40027 (@hook TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): New hook.
40028 * doc/tm.texi: Regenerate.
40030 2014-05-05 Marek Polacek <polacek@redhat.com>
40033 * opts.c (common_handle_option): Call error_at instead of warning_at.
40035 2014-05-05 Richard Biener <rguenther@suse.de>
40037 * passes.c (execute_function_todo): Don't reset TODO_verify_ssa
40038 from last_verified if update_ssa ran. Move TODO_verify_rtl_sharing
40039 under the TODO_verify_il umbrella.
40041 2014-05-05 Richard Biener <rguenther@suse.de>
40043 * passes.c (execute_function_todo): Move TODO_verify_flow under
40044 the TODO_verify_ul umbrella.
40046 2014-05-05 Richard Biener <rguenther@suse.de>
40048 PR middle-end/61010
40049 * fold-const.c (fold_binary_loc): Consistently avoid canonicalizing
40050 X & CST away from a CST that is the mask of a mode.
40052 2014-05-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
40054 * config/picochip/picochip-protos.h (picochip_regno_nregs): Change
40055 int argument to enum machine_mode.
40056 (picochip_class_max_nregs): Ditto.
40057 * config/picochip/picochip.c (picochip_regno_nregs): Ditto.
40058 (picochip_class_max_nregs): Ditto.
40060 2014-05-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40062 * target.def: Add new target hook.
40063 * doc/tm.texi: Regenerate.
40064 * targhooks.h (default_keep_leaf_when_profiled): Add prototype.
40065 * targhooks.c (default_keep_leaf_when_profiled): New function.
40067 * config/s390/s390.c (s390_keep_leaf_when_profiled): New function.
40068 (TARGET_KEEP_LEAF_WHEN_PROFILED): Define.
40070 2014-05-05 Bin Cheng <bin.cheng@arm.com>
40072 PR tree-optimization/60363
40073 * gcc/tree-ssa-threadupdate.c (get_value_locus_in_path): New.
40074 (copy_phi_args): New parameters. Call get_value_locus_in_path.
40075 (update_destination_phis): New parameter.
40076 (create_edge_and_update_destination_phis): Ditto.
40077 (ssa_fix_duplicate_block_edges): Pass new arguments.
40078 (thread_single_edge): Ditto.
40080 2014-05-04 Peter Bergner <bergner@vnet.ibm.com>
40082 * config/rs6000/rs6000.h (RS6000_BTM_HARD_FLOAT): New define.
40083 (RS6000_BTM_COMMON): Add RS6000_BTM_HARD_FLOAT.
40084 (TARGET_EXTRA_BUILTINS): Add TARGET_HARD_FLOAT.
40085 * config/rs6000/rs6000-builtin.def (BU_MISC_1):
40086 Use RS6000_BTM_HARD_FLOAT.
40087 (BU_MISC_2): Likewise.
40088 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
40089 RS6000_BTM_HARD_FLOAT.
40090 (rs6000_option_override_internal): Enforce -mhard-float if -mhard-dfp
40091 is explicitly used.
40092 (rs6000_invalid_builtin): Add hard floating builtin support.
40093 (rs6000_expand_builtin): Relax the gcc_assert to allow the new
40094 hard float builtins.
40095 (rs6000_builtin_mask_names): Add RS6000_BTM_HARD_FLOAT.
40097 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
40099 * config/sh/sh_optimize_sett_clrt.cc (sh_optimize_sett_clrt::execute):
40100 Add missing function* argument.
40102 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
40104 * lra-constraints.c (valid_address_p): Move earlier in file.
40105 Add a constraint argument to the address_info version.
40106 (satisfies_memory_constraint_p): New function.
40107 (satisfies_address_constraint_p): Likewise.
40108 (process_alt_operands, curr_insn_transform): Use them.
40109 (process_address): Pass the constraint to valid_address_p when
40110 checking address operands.
40112 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
40114 * config/mips/mips.c (mips_isa_rev): New variable.
40115 (mips_set_architecture): Set it.
40116 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Set __mips_isa_rev
40118 (ISA_HAS_MUL3, ISA_HAS_FP_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4)
40119 (ISA_HAS_PAIRED_SINGLE, ISA_HAS_MADD_MSUB, ISA_HAS_FP_RECIP_RSQRT)
40120 (ISA_HAS_CLZ_CLO, ISA_HAS_ROR, ISA_HAS_WSBH, ISA_HAS_PREFETCH)
40121 (ISA_HAS_SEB_SEH, ISA_HAS_EXT_INS, ISA_HAS_MXHC1)
40122 (ISA_HAS_HILO_INTERLOCKS, ISA_HAS_SYNCI, MIN_FPRS_PER_FMT): Reexpress
40123 conditions in terms of mips_isa_rev.
40124 (mips_isa_rev): Declare.
40126 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
40128 * config/sh/sh-mem.cc: Use tabs instead of spaces.
40129 (prob_unlikely, prob_likely): Make variables const.
40131 2014-05-03 Denis Chertykov <chertykov@gmail.com>
40133 * config/avr/avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA.
40135 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
40137 * config/sh/sh.h (SH_ASM_SPEC): Handle m1, m2*, m3* and m4* cases.
40139 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
40141 * config/sh/sh.h (ROUND_ADVANCE): Delete macro.
40142 (ROUND_REG, PASS_IN_REG_P): Move and rename macros to ...
40143 * config/sh/sh.c (sh_round_reg, sh_pass_in_reg_p): ... these new
40145 (sh_arg_partial_bytes, sh_function_arg, sh_function_arg_advance,
40146 sh_setup_incoming_varargs): Replace usage of PASS_IN_REG_P with
40148 Replace usage of ROUND_REG with sh_round_reg.
40149 Use CEIL instead of ROUND_ADVANCE.
40151 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
40154 * config/sh/sh.c: Include stdlib headers before everything else.
40156 2014-05-02 Jakub Jelinek <jakub@redhat.com>
40158 * gimplify.c (gimplify_adjust_omp_clauses_1): Handle
40159 GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE.
40160 (gimplify_adjust_omp_clauses): Simd region is never
40161 directly nested in combined parallel. Instead, for linear
40162 with copyin/copyout, if in combined for simd loop, make decl
40163 firstprivate/lastprivate on OMP_FOR.
40164 * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
40165 expand_omp_for_static_chunk): When setting endvar, also set
40166 fd->loop.v to the same value.
40168 2014-05-02 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
40170 * hwint.h (zext_hwi): Fix signed overflow for prec == 63.
40172 2014-05-02 Alan Lawrence <alan.lawrence@arm.com>
40174 * config/aarch64/aarch64.c (aarch64_expand_vec_perm_1): Tidy bit-flip
40177 2014-05-02 Marek Polacek <polacek@redhat.com>
40179 * doc/invoke.texi: Describe -fsanitize=float-divide-by-zero.
40181 2014-05-02 Kito Cheng <kito@0xlab.org>
40183 * defaults.h (HONOR_REG_ALLOC_ORDER): Change HONOR_REG_ALLOC_ORDER
40184 to a C expression marco.
40185 * ira-color.c (HONOR_REG_ALLOC_ORDER) : Ditto.
40186 * config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Ditto.
40187 * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Ditto.
40188 * doc/tm.texi (HONOR_REG_ALLOC_ORDER): Update document for
40189 HONOR_REG_ALLOC_ORDER.
40190 * doc/tm.texi.in (HONOR_REG_ALLOC_ORDER): Ditto.
40192 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
40194 * config/arc/arc.c (TARGET_LRA_P): Undef before redefine.
40196 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
40198 * config/arc/arc.c (arc_select_cc_mode): Fix typo.
40200 2014-05-01 Yuri Rumyantsev <ysrumyan@gmail.com>
40202 * tree-if-conv.c (is_cond_scalar_reduction): New function.
40203 (convert_scalar_cond_reduction): Likewise.
40204 (predicate_scalar_phi): Add recognition and transformation
40205 of simple conditioanl reduction to be vectorizable.
40207 2014-05-01 Marek Polacek <polacek@redhat.com>
40210 * doc/invoke.texi: Document -Wdiscarded-qualifiers.
40212 2014-04-30 Alan Lawrence <alan.lawrence@arm.com>
40214 * config/aarch64/arm_neon.h (vuzp1_f32, vuzp1_p8, vuzp1_p16, vuzp1_s8,
40215 vuzp1_s16, vuzp1_s32, vuzp1_u8, vuzp1_u16, vuzp1_u32, vuzp1q_f32,
40216 vuzp1q_f64, vuzp1q_p8, vuzp1q_p16, vuzp1q_s8, vuzp1q_s16, vuzp1q_s32,
40217 vuzp1q_s64, vuzp1q_u8, vuzp1q_u16, vuzp1q_u32, vuzp1q_u64, vuzp2_f32,
40218 vuzp2_p8, vuzp2_p16, vuzp2_s8, vuzp2_s16, vuzp2_s32, vuzp2_u8,
40219 vuzp2_u16, vuzp2_u32, vuzp2q_f32, vuzp2q_f64, vuzp2q_p8, vuzp2q_p16,
40220 vuzp2q_s8, vuzp2q_s16, vuzp2q_s32, vuzp2q_s64, vuzp2q_u8, vuzp2q_u16,
40221 vuzp2q_u32, vuzp2q_u64): Replace temporary asm with __builtin_shuffle.
40223 2014-04-30 Joern Rennecke <joern.rennecke@embecosm.com>
40225 * config/arc/arc.opt (mlra): Move comment above option name
40226 to avoid mis-parsing as language options.
40228 2014-04-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
40230 * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Move ...
40231 * config/sol2.h: ... here.
40232 * config/sol2-10.h: Remove.
40234 * config/sol2-bi.h (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE)
40235 (WINT_TYPE_SIZE, MULTILIB_DEFAULTS, DEF_ARCH32_SPEC)
40236 (DEF_ARCH64_SPEC, ASM_CPU_DEFAULT_SPEC, LINK_ARCH64_SPEC_BASE)
40237 (LINK_ARCH64_SPEC, ARCH_DEFAULT_EMULATION, TARGET_LD_EMULATION)
40238 (LINK_ARCH_SPEC, SUBTARGET_EXTRA_SPECS): Move ...
40239 * config/sol2.h: ... here.
40240 (SECTION_NAME_FORMAT): Don't redefine.
40241 (STARTFILE_ARCH32_SPEC): Rename to ...
40242 (STARTFILE_ARCH_SPEC): ... this.
40243 (ASM_OUTPUT_ALIGNED_COMMON): Move ...
40244 * config/sparc/sol2.h: ... here.
40245 (SECTION_NAME_FORMAT): Don't undef.
40246 * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC)
40247 (SUBTARGET_EXTRA_SPECS): Remove.
40248 * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove.
40250 * config/i386/sol2-bi.h (TARGET_SUBTARGET_DEFAULT)
40251 (MD_STARTFILE_PREFIX): Remove.
40252 (SUBTARGET_OPTIMIZATION_OPTIONS, ASM_CPU32_DEFAULT_SPEC)
40253 (ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC, ASM_SPEC, DEFAULT_ARCH32_P)
40254 (ARCH64_SUBDIR, ARCH32_EMULATION, ARCH64_EMULATION)
40255 (ASM_COMMENT_START, JUMP_TABLES_IN_TEXT_SECTION)
40256 (ASM_OUTPUT_DWARF_PCREL, ASM_OUTPUT_ALIGNED_COMMON)
40257 (USE_IX86_FRAME_POINTER, USE_X86_64_FRAME_POINTER): Move ...
40258 * config/i386/sol2.h: ... here.
40259 (TARGET_SUBTARGET_DEFAULT, SIZE_TYPE, PTRDIFF_TYPE): Remove.
40260 * config/i386/sol2-bi.h: Remove.
40261 * config/sol2.h (MD_STARTFILE_PREFIX): Remove.
40262 (LINK_ARCH32_SPEC_BASE): Remove /usr/ccs/lib/libp, /usr/ccs/lib.
40264 * config/i386/t-sol2-64: Rename to ...
40265 * config/i386/t-sol2: ... this.
40266 * config/sparc/t-sol2-64: Rename to ...
40267 * config/sparc/t-sol2: ... this.
40269 * config.gcc (*-*-solaris2*): Split sol2_tm_file into
40270 sol2_tm_file_head, sol2_tm_file_tail.
40271 Include ${cpu_type}/sol2.h before sol2.h.
40273 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Include
40274 i386/x86-64.h between sol2_tm_file_head and sol2_tm_file_tail.
40275 Remove i386/sol2-bi.h, sol2-bi.h from tm_file.
40276 Reflect i386/t-sol2-64 renaming.
40277 (sparc*-*-solaris2*): Remove sol2-bi.h from tm_file.
40278 Reflect sparc/t-sol2-64 renaming.
40280 2014-04-30 Richard Biener <rguenther@suse.de>
40282 * passes.c (execute_function_todo): Move TODO_verify_stmts
40283 and TODO_verify_ssa under the TODO_verify_il umbrella.
40284 * tree-ssa.h (verify_ssa): Adjust prototype.
40285 * tree-ssa.c (verify_ssa): Add parameter to tell whether
40286 we should verify SSA operands.
40287 * tree-cfg.h (verify_gimple_in_cfg): Adjust prototype.
40288 * tree-cfg.c (verify_gimple_in_cfg): Add parameter to tell
40289 whether we should verify whether not throwing stmts have EH info.
40290 * graphite-scop-detection.c (create_sese_edges): Adjust.
40291 * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Likewise.
40292 * tree-eh.c (lower_try_finally_switch): Do not add the
40293 default case label twice.
40295 2014-04-30 Marek Polacek <polacek@redhat.com>
40297 * gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE.
40298 * builtins.def: Initialize builtins even for SANITIZE_FLOAT_DIVIDE.
40299 * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_DIVIDE.
40300 * opts.c (common_handle_option): Add -fsanitize=float-divide-by-zero.
40302 2014-04-29 Alan Lawrence <alan.lawrence@arm.com>
40304 * config/aarch64/arm_neon.h (vzip1_f32, vzip1_p8, vzip1_p16, vzip1_s8,
40305 vzip1_s16, vzip1_s32, vzip1_u8, vzip1_u16, vzip1_u32, vzip1q_f32,
40306 vzip1q_f64, vzip1q_p8, vzip1q_p16, vzip1q_s8, vzip1q_s16, vzip1q_s32,
40307 vzip1q_s64, vzip1q_u8, vzip1q_u16, vzip1q_u32, vzip1q_u64, vzip2_f32,
40308 vzip2_p8, vzip2_p16, vzip2_s8, vzip2_s16, vzip2_s32, vzip2_u8,
40309 vzip2_u16, vzip2_u32, vzip2q_f32, vzip2q_f64, vzip2q_p8, vzip2q_p16,
40310 vzip2q_s8, vzip2q_s16, vzip2q_s32, vzip2q_s64, vzip2q_u8, vzip2q_u16,
40311 vzip2q_u32, vzip2q_u64): Replace inline __asm__ with __builtin_shuffle.
40313 2014-04-29 David Malcolm <dmalcolm@redhat.com>
40315 * tree-cfg.c (dump_function_to_file): Dump the return type of
40316 functions, in a line to itself before the function body, mimicking
40317 the layout of a C function.
40319 2014-04-29 Jakub Jelinek <jakub@redhat.com>
40321 PR tree-optimization/60971
40322 * tree-tailcall.c (process_assignment): Reject conversions which
40325 2014-04-29 James Greenhalgh <james.greenhalgh@arm.com>
40327 * calls.c (initialize_argument_information): Always treat
40328 PUSH_ARGS_REVERSED as 1, simplify code accordingly.
40329 (expand_call): Likewise.
40330 (emit_library_call_calue_1): Likewise.
40331 * expr.c (PUSH_ARGS_REVERSED): Do not define.
40332 (emit_push_insn): Always treat PUSH_ARGS_REVERSED as 1, simplify
40335 2014-04-29 Nick Clifton <nickc@redhat.com>
40337 * config/msp430/msp430.md (umulsidi): Fix typo.
40338 (mulhisi3): Enable even inside interrupt handlers.
40339 * config/msp430/msp430.c (msp430_print_operand): %O: Allow for the
40340 bigger return address pushed in large mode.
40342 2014-04-29 Nick Clifton <nickc@redhat.com>
40344 * config/arc/arc.c (arc_select_cc_mode): Fix parentheses.
40345 (arc_init_reg_tables): Use a machine_mode enum to iterate over
40347 * config/m32r/m32r.c (init_reg_tables): Likewise.
40348 * config/m32c/m32c.c (m32c_illegal_subreg_p): Use a machine_mode
40349 enum to hold the modes.
40351 2014-04-29 Richard Biener <rguenther@suse.de>
40353 * dominance.c (free_dominance_info): Add overload with
40354 function parameter.
40355 (dom_info_state): Likewise.
40356 (dom_info_available_p): Likewise.
40357 * basic-block.h (free_dominance_info, dom_info_state,
40358 dom_info_available_p): Declare overloads.
40359 * passes.c (execute_function_todo): Verify that verifiers
40360 don't change dominator info state. Drop dominator info
40361 for IPA pass invocations.
40362 * cgraph.c (release_function_body): Restore asserts that
40363 dominator information is released.
40365 2014-04-29 Patrick Palka <patrick@parcs.ath.cx>
40367 * doc/invoke.texi: Fix typo.
40368 * tree-vrp.c: Fix typos.
40369 * gimple.c (infer_nonnull_range): Reorder operands of an && condition.
40371 2014-04-29 Zhenqiang Chen <zhenqiang.chen@linaro.org>
40373 * config/aarch64/aarch64.md (mov<mode>cc): New for GPF.
40375 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com>
40377 * config/aarch64/aarch64-builtins.c
40378 (aarch64_types_storestruct_lane_qualifiers): New.
40379 (TYPES_STORESTRUCT_LANE): Likewise.
40380 * config/aarch64/aarch64-simd-builtins.def (st2_lane): New.
40381 (st3_lane): Likewise.
40382 (st4_lane): Likewise.
40383 * config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>): New.
40384 (vec_store_lanesci_lane<mode>): Likewise.
40385 (vec_store_lanesxi_lane<mode>): Likewise.
40386 (aarch64_st2_lane<VQ:mode>): Likewise.
40387 (aarch64_st3_lane<VQ:mode>): Likewise.
40388 (aarch64_st4_lane<VQ:mode>): Likewise.
40389 * config/aarch64/aarch64.md (unspec): Add UNSPEC_ST{2,3,4}_LANE.
40390 * config/aarch64/arm_neon.h
40391 (__ST2_LANE_FUNC): Rewrite using builtins, update use points to
40392 use new macro arguments.
40393 (__ST3_LANE_FUNC): Likewise.
40394 (__ST4_LANE_FUNC): Likewise.
40395 * config/aarch64/iterators.md (V_TWO_ELEM): New.
40396 (V_THREE_ELEM): Likewise.
40397 (V_FOUR_ELEM): Likewise.
40399 2014-04-28 David Malcolm <dmalcolm@redhat.com>
40401 * doc/gimple.texi: Replace the description of the now-defunct
40402 union gimple_statement_d with a diagram showing the
40403 gimple_statement_base class hierarchy and its relationships to
40404 the GSS_ and GIMPLE_ enums.
40406 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com>
40408 * config/aarch64/aarch64-protos.h (aarch64_modes_tieable_p): New.
40409 * config/aarch64/aarch64.c
40410 (aarch64_cannot_change_mode_class): Weaken conditions.
40411 (aarch64_modes_tieable_p): New.
40412 * config/aarch64/aarch64.h (MODES_TIEABLE_P): Use it.
40414 2014-04-28 Pat Haugen <pthaugen@us.ibm.com>
40416 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
40417 (loadsync_<mode>): Change mode.
40418 (load_quadpti, store_quadpti): New.
40419 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
40420 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
40422 2014-04-28 Martin Jambor <mjambor@suse.cz>
40424 * tree-sra.c (sra_modify_expr): Generate new memory accesses with
40425 same alias type as the original statement.
40426 (subreplacement_assignment_data): New type.
40427 (handle_unscalarized_data_in_subtree): New type of parameter,
40428 generate new memory accesses with same alias type as the original
40430 (load_assign_lhs_subreplacements): Likewise.
40431 (sra_modify_constructor_assign): Generate new memory accesses with
40432 same alias type as the original statement.
40434 2014-04-28 Richard Biener <rguenther@suse.de>
40436 * tree-pass.h (TODO_verify_il): Define.
40437 (TODO_verify_all): Complete properly.
40438 * passes.c (execute_function_todo): Move existing loop-closed
40439 SSA verification under TODO_verify_il.
40440 (execute_one_pass): Trigger TODO_verify_il at todo-after time.
40441 * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps):
40442 Fix tree sharing issue.
40444 2014-04-28 Richard Biener <rguenther@suse.de>
40446 PR middle-end/60092
40447 * builtins.def (DEF_C11_BUILTIN): Add.
40448 (BUILT_IN_ALIGNED_ALLOC): Likewise.
40449 * coretypes.h (enum function_class): Add function_c11_misc.
40450 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
40451 BUILT_IN_ALIGNED_ALLOC like BUILT_IN_MALLOC.
40452 (call_may_clobber_ref_p_1): Likewise.
40453 * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
40454 (mark_all_reaching_defs_necessary_1): Likewise.
40455 (propagate_necessity): Likewise.
40456 (eliminate_unnecessary_stmts): Likewise.
40457 * tree-ssa-ccp.c (evaluate_stmt): Handle BUILT_IN_ALIGNED_ALLOC.
40459 2014-04-28 Richard Biener <rguenther@suse.de>
40461 * tree-vrp.c (vrp_var_may_overflow): Remove.
40462 (vrp_visit_phi_node): Rather than bumping to +-INF possibly
40463 with overflow immediately bump to one before that value and
40464 let iteration figure out overflow status.
40466 2014-04-28 Richard Biener <rguenther@suse.de>
40468 * configure.ac: Do valgrind header checks unconditionally.
40469 Add --enable-valgrind-annotations.
40470 * system.h: Guard valgrind header inclusion with
40471 ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING.
40472 * alloc-pool.c (pool_alloc, pool_free): Use
40473 ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING
40474 to guard possibly dead code.
40475 * config.in: Regenerated.
40476 * configure: Likewise.
40478 2014-04-28 Jeff Law <law@redhat.com>
40480 PR tree-optimization/60902
40481 * tree-ssa-threadedge.c
40482 (record_temporary_equivalences_from_stmts_at_dest): Only iterate
40483 over real defs when invalidating outputs from statements that do not
40484 produce useful outputs for threading.
40486 2014-04-28 Richard Biener <rguenther@suse.de>
40488 PR tree-optimization/60979
40489 * graphite-scop-detection.c (scopdet_basic_block_info): Reject
40490 SCOPs that end in a block with a successor with abnormal
40493 2014-04-28 Richard Biener <rguenther@suse.de>
40495 * tree-pass.h (execute_pass_list): Adjust prototype.
40496 * passes.c (pass_manager::execute_early_local_passes): Adjust.
40497 (do_per_function): Change callback signature, push all actual
40498 work to the callbals.
40499 (do_per_function_toporder): Likewise.
40500 (execute_function_dump): Adjust.
40501 (execute_function_todo): Likewise.
40502 (clear_last_verified): Likewise.
40503 (verify_curr_properties): Likewise.
40504 (update_properties_after_pass): Likewise.
40505 (execute_pass_list_1): Split out from ...
40506 (execute_pass_list): ... here. Adjust.
40507 (execute_ipa_pass_list): Likewise.
40508 * cgraphunit.c (cgraph_add_new_function): Adjust.
40509 (analyze_function): Likewise.
40510 (expand_function): Likewise.
40511 * cgraph.c (release_function_body): Free dominance info
40512 here instead of asserting it was magically freed elsewhere.
40514 2014-04-28 Eric Botcazou <ebotcazou@adacore.com>
40516 * configure.ac: Tweak GAS check for LEON instructions on SPARC.
40517 * configure: Regenerate.
40518 * config/sparc/sparc.opt (muser-mode): New option.
40519 * config/sparc/sync.md (atomic_compare_and_swap<mode>_1): Do not enable
40521 (atomic_compare_and_swap_leon3_1): New instruction for LEON3.
40522 * doc/invoke.texi (SPARC options): Document -muser-mode.
40524 2014-04-27 Richard Sandiford <rdsandiford@googlemail.com>
40526 * cselib.c (find_slot_memmode): Delete.
40527 (cselib_hasher): Change compare_type to a struct.
40528 (cselib_hasher::equal): Update accordingly. Don't expect wrapped
40530 (preserve_constants_and_equivs): Adjust for new compare_type.
40531 (cselib_find_slot): Likewise. Take the mode of the rtx as argument.
40532 (wrap_constant): Delete.
40533 (cselib_lookup_mem, cselib_lookup_1): Update calls to cselib_find_slot.
40535 2014-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40537 * doc/install.texi (Building with profile feedback): Remove
40540 2014-04-26 Tom de Vries <tom@codesourcery.com>
40542 * config/i386/i386.md (define_expand "ldexpxf3"): Fix out-of-bounds
40545 2014-04-25 Cary Coutant <ccoutant@google.com>
40548 * dwarf2out.c (should_move_die_to_comdat): A type definition
40549 can contain a subprogram definition, but don't move it to a
40551 (clone_as_declaration): Copy DW_AT_abstract_origin attribute.
40552 (generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute
40554 (clone_tree_hash): Rename to...
40555 (clone_tree_partial): ...this; change callers. Copy
40556 DW_TAG_subprogram DIEs as declarations.
40557 (copy_decls_walk): Don't copy children of a declaration into a
40560 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
40563 * config/i386/i386.md (*movsf_internal): Set MODE to SI for
40566 2014-04-25 Jiong Wang <jiong.wang@arm.com>
40568 * config/arm/predicates.md (call_insn_operand): Add long_call check.
40569 * config/arm/arm.md (sibcall, sibcall_value): Force the address to
40571 * config/arm/arm.c (arm_function_ok_for_sibcall): Remove long_call
40574 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
40576 * config/arm/arm.c (arm_cortex_a8_tune): Initialise T16-related fields.
40578 2014-04-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
40580 PR tree-optimization/60930
40581 * gimple-ssa-strength-reduction.c (create_mul_imm_cand): Reject
40582 creating a multiply candidate by folding two constant
40583 multiplicands when the result overflows.
40585 2014-04-25 Jakub Jelinek <jakub@redhat.com>
40587 PR tree-optimization/60960
40588 * tree-vect-generic.c (expand_vector_operation): Only call
40589 expand_vector_divmod if type's mode satisfies VECTOR_MODE_P.
40591 2014-04-25 Tom de Vries <tom@codesourcery.com>
40593 * expr.c (clobber_reg_mode): New function.
40594 * expr.h (clobber_reg): New function.
40596 2014-04-25 Tom de Vries <tom@codesourcery.com>
40598 * rtlanal.c (find_all_hard_reg_sets): Note INSN_CALL_FUNCTION_USAGE
40601 2014-04-25 Radovan Obradovic <robradovic@mips.com>
40602 Tom de Vries <tom@codesourcery.com>
40604 * rtlanal.c (find_all_hard_reg_sets): Add bool implicit parameter and
40606 * rtl.h (find_all_hard_reg_sets): Add bool parameter.
40607 * haifa-sched.c (recompute_todo_spec, check_clobbered_conditions): Add
40608 new argument to find_all_hard_reg_sets call.
40610 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
40612 * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p):
40613 Use HOST_WIDE_INT_C for mask literal.
40614 (aarch_rev16_shleft_mask_imm_p): Likewise.
40616 2014-04-25 Eric Botcazou <ebotcazou@adacore.com>
40619 * config/sparc/sparc.md (ashlsi3_extend): Delete.
40621 2014-04-25 Marc Glisse <marc.glisse@inria.fr>
40623 PR preprocessor/56540
40624 * config/i386/i386-c.c (ix86_target_macros): Define
40625 __SIZEOF_FLOAT80__ and __SIZEOF_FLOAT128__.
40627 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
40629 * configure.ac (tga_func): Remove.
40630 (LIB_TLS_SPEC): Remove.
40631 * configure: Regenerate.
40632 * config.in: Regenerate.
40633 * config/sol2.h (LIB_SPEC): Don't use LIB_TLS_SPEC.
40635 2014-04-25 Richard Biener <rguenther@suse.de>
40638 * tree-ssa-structalias.c (ipa_pta_execute): Compute direct
40639 call stmt use/clobber sets during stmt walk instead of
40640 walking the possibly incomplete set of caller edges.
40642 2014-04-25 Richard Biener <rguenther@suse.de>
40645 * passes.c (apply_ipa_transforms): Inline into only caller ...
40646 (execute_one_pass): ... here. Properly bring in function
40647 bodies for nodes we want to apply IPA transforms to.
40649 2014-04-24 Cong Hou <congh@google.com>
40651 PR tree-optimization/60896
40652 * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Pick up
40653 all statements in PATTERN_DEF_SEQ in recognized widen-mult pattern.
40654 (vect_mark_pattern_stmts): Set the def type of all statements in
40655 PATTERN_DEF_SEQ as vect_internal_def.
40657 2014-04-24 Michael Meissner <meissner@linux.vnet.ibm.com>
40659 * doc/extend.texi (PowerPC Built-in Functions): Document new
40660 powerpc extended divide, bcd, pack/unpack 128-bit, builtin functions.
40661 (PowerPC AltiVec/VSX Built-in Functions): Likewise.
40663 * config/rs6000/predicates.md (const_0_to_3_operand): New
40664 predicate to match 0..3 integer constants.
40666 * config/rs6000/rs6000-builtin.def (BU_DFP_MISC_1): Add new macros
40667 to support adding miscellaneous builtin functions.
40668 (BU_DFP_MISC_2): Likewise.
40669 (BU_P7_MISC_1): Likewise.
40670 (BU_P7_MISC_2): Likewise.
40671 (BU_P8V_MISC_3): Likewise.
40672 (BU_MISC_1): Likewise.
40673 (BU_MISC_2): Likewise.
40674 (DIVWE): Add extended divide builtin functions.
40675 (DIVWEO): Likewise.
40676 (DIVWEU): Likewise.
40677 (DIVWEUO): Likewise.
40679 (DIVDEO): Likewise.
40680 (DIVDEU): Likewise.
40681 (DIVDEUO): Likewise.
40682 (DXEX): Add decimal floating-point builtin functions.
40684 (DDEDPD): Likewise.
40685 (DDEDPDQ): Likewise.
40686 (DENBCD): Likewise.
40687 (DENBCDQ): Likewise.
40691 (DSCLIQ): Likewise.
40693 (DSCRIQ): Likewise.
40694 (CDTBCD): Add new BCD builtin functions.
40695 (CBCDTD): Likewise.
40696 (ADDG6S): Likewise.
40697 (BCDADD): Likewise.
40698 (BCDADD_LT): Likewise.
40699 (BCDADD_EQ): Likewise.
40700 (BCDADD_GT): Likewise.
40701 (BCDADD_OV): Likewise.
40702 (BCDSUB): Likewise.
40703 (BCDSUB_LT): Likewise.
40704 (BCDSUB_EQ): Likewise.
40705 (BCDSUB_GT): Likewise.
40706 (BCDSUB_OV): Likewise.
40707 (PACK_TD): Add new pack/unpack 128-bit type builtin functions.
40708 (UNPACK_TD): Likewise.
40709 (PACK_TF): Likewise.
40710 (UNPACK_TF): Likewise.
40711 (UNPACK_TF_0): Likewise.
40712 (UNPACK_TF_1): Likewise.
40713 (PACK_V1TI): Likewise.
40714 (UNPACK_V1TI): Likewise.
40716 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
40717 support for decimal floating point builtin functions.
40718 (rs6000_expand_ternop_builtin): Add checks for the new builtin
40719 functions that take constant arguments.
40720 (rs6000_invalid_builtin): Add decimal floating point builtin support.
40721 (rs6000_init_builtins): Setup long double, _Decimal64, and
40722 _Decimal128 types for new builtin functions.
40723 (builtin_function_type): Set the unsigned flags appropriately for
40724 the new builtin functions.
40725 (rs6000_opt_masks): Add support for decimal floating point builtin
40728 * config/rs6000/rs6000.h (RS6000_BTM_DFP): Add support for decimal
40729 floating point builtin functions.
40730 (RS6000_BTM_COMMON): Likewise.
40731 (RS6000_BTI_long_double): Likewise.
40732 (RS6000_BTI_dfloat64): Likewise.
40733 (RS6000_BTI_dfloat128): Likewise.
40734 (long_double_type_internal_node): Likewise.
40735 (dfloat64_type_internal_node): Likewise.
40736 (dfloat128_type_internal_node): Likewise.
40738 * config/rs6000/altivec.h (UNSPEC_BCDADD): Add support for ISA
40739 2.07 bcd arithmetic instructions.
40740 (UNSPEC_BCDSUB): Likewise.
40741 (UNSPEC_BCD_OVERFLOW): Likewise.
40742 (UNSPEC_BCD_ADD_SUB): Likewise.
40743 (bcd_add_sub): Likewise.
40744 (BCD_TEST): Likewise.
40745 (bcd<bcd_add_sub>): Likewise.
40746 (bcd<bcd_add_sub>_test): Likewise.
40747 (bcd<bcd_add_sub>_test2): Likewise.
40748 (bcd<bcd_add_sub>_<code>): Likewise.
40749 (peephole2 for combined bcd ops): Likewise.
40751 * config/rs6000/dfp.md (UNSPEC_DDEDPD): Add support for new
40752 decimal floating point builtin functions.
40753 (UNSPEC_DENBCD): Likewise.
40754 (UNSPEC_DXEX): Likewise.
40755 (UNSPEC_DIEX): Likewise.
40756 (UNSPEC_DSCLI): Likewise.
40757 (UNSPEC_DSCRI): Likewise.
40758 (D64_D128): Likewise.
40759 (dfp_suffix): Likewise.
40760 (dfp_ddedpd_<mode>): Likewise.
40761 (dfp_denbcd_<mode>): Likewise.
40762 (dfp_dxex_<mode>): Likewise.
40763 (dfp_diex_<mode>): Likewise.
40764 (dfp_dscli_<mode>): Likewise.
40765 (dfp_dscri_<mode>): Likewise.
40767 * config/rs6000/rs6000.md (UNSPEC_ADDG6S): Add support for new BCD
40769 (UNSPEC_CDTBCD): Likewise.
40770 (UNSPEC_CBCDTD): Likewise.
40771 (UNSPEC_DIVE): Add support for new extended divide builtin functions.
40772 (UNSPEC_DIVEO): Likewise.
40773 (UNSPEC_DIVEU): Likewise.
40774 (UNSPEC_DIVEUO): Likewise.
40775 (UNSPEC_UNPACK_128BIT): Add support for new builtin functions to
40776 pack/unpack 128-bit types.
40777 (UNSPEC_PACK_128BIT): Likewise.
40778 (idiv_ldiv): New mode attribute to set the 32/64-bit divide type.
40779 (udiv<mode>3): Use idiv_ldiv mode attribute.
40780 (div<mode>3): Likewise.
40781 (addg6s): Add new BCD builtin functions.
40782 (cdtbcd): Likewise.
40783 (cbcdtd): Likewise.
40784 (UNSPEC_DIV_EXTEND): Add support for new extended divide instructions.
40785 (div_extend): Likewise.
40786 (div<div_extend>_<mode>"): Likewise.
40787 (FP128_64): Add support for new builtin functions to pack/unpack
40789 (unpack<mode>): Likewise.
40790 (unpacktf_0): Likewise.
40791 (unpacktf_1): Likewise.
40792 (unpack<mode>_dm): Likewise.
40793 (unpack<mode>_nodm): Likewise.
40794 (pack<mode>): Likewise.
40795 (unpackv1ti): Likewise.
40796 (packv1ti): Likewise.
40798 2014-04-24 Vishnu K S <Vishnu.k_s@atmel.com>
40800 * gcc/config/avr/avr.c: Add comment on why -fdelete-null-pointer-checks
40803 2014-04-24 Jakub Jelinek <jakub@redhat.com>
40805 * tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define.
40806 * gimplify.c (omp_is_private): Change last argument's type to int.
40807 Only diagnose lastprivate if the simd argument is 1, only diagnose
40808 linear if the simd argument is 2.
40809 (gimplify_omp_for): Adjust omp_is_private callers. When adding
40810 lastprivate or private, add the clause to OMP_FOR_CLAUSES. Pass
40811 GOVD_EXPLICIT to omp_add_variable. For simd with collapse == 1
40812 create OMP_CLAUSE_LINEAR rather than OMP_CLAUSE_PRIVATE for var.
40813 If var != decl and decl is in OMP_CLAUSE_LINEAR, gimplify decl
40814 increment to OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
40815 * omp-low.c (scan_sharing_clauses, lower_lastprivate_clauses): Handle
40816 OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
40817 * tree-nested.c (convert_nonlocal_omp_clauses,
40818 convert_local_omp_clauses): Handle OMP_CLAUSE_LINEAR.
40820 2014-04-24 Segher Boessenkool <segher@kernel.crashing.org>
40823 * config/m68k/m68k.md (extendplussidi): Don't allow memory for
40826 2014-04-24 Dimitris Papavasiliou <dpapavas@gmail.com>
40828 * flag-types.h (enum ivar_visibility): Add.
40830 2014-04-24 Trevor Saunders <tsaunders@mozilla.com>
40832 * config/sh/sh_treg_combine.c (sh_treg_combine::execute): Take
40833 function * argument.
40835 2014-04-24 Alan Lawrence <alan.lawrence@arm.com>
40837 * config/aarch64/aarch64.c (aarch64_evpc_tbl): Enable for bigendian.
40839 2014-04-24 Radovan Obradovic <robradovic@mips.com>
40840 Tom de Vries <tom@codesourcery.com>
40842 * reg-notes.def (REG_NOTE (CALL_DECL)): New reg-note REG_CALL_DECL.
40843 * calls.c (expand_call, emit_library_call_value_1): Add REG_CALL_DECL
40845 * combine.c (distribute_notes): Handle REG_CALL_DECL reg-note.
40846 * emit-rtl.c (try_split): Same.
40848 2014-04-24 Radovan Obradovic <robradovic@mips.com>
40849 Tom de Vries <tom@codesourcery.com>
40851 * common.opt (fuse-caller-save): New option.
40853 2014-04-24 Tejas Belagod <tejas.belagod@arm.com>
40855 * config/aarch64/aarch64.c (aarch64_evpc_tbl): Reverse order of
40856 elements for big-endian.
40858 2014-04-24 Richard Biener <rguenther@suse.de>
40860 * expr.c (expand_expr_real_1): Avoid gimple_assign_rhs_to_tree
40861 during TER and instead use the sepops interface for expanding
40862 non-GIMPLE_SINGLE_RHS.
40864 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
40866 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Only redefine
40867 if not HAVE_AS_IX86_DIFF_SECT_DELTA.
40869 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
40871 * configure.ac (gcc_cv_as_cfi_directive): Support Solaris/x86
40872 assembler 64-bit option.
40873 * configure: Regenerate.
40875 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
40877 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Check
40878 TARGET_SIMD rather than TARGET_GENERAL_REGS_ONLY.
40879 (TARGET_SIMD): Take AARCH64_ISA_SIMD into account.
40880 (TARGET_FLOAT): Take AARCH64_ISA_FP into account.
40881 (TARGET_CRYPTO): Take TARGET_SIMD into account.
40883 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
40885 * config/aarch64/aarch64-builtins.c
40886 (aarch64_builtin_vectorized_function): Handle BUILT_IN_BSWAP16,
40887 BUILT_IN_BSWAP32, BUILT_IN_BSWAP64.
40888 * config/aarch64/aarch64-simd.md (bswap<mode>): New pattern.
40889 * config/aarch64/aarch64-simd-builtins.def: Define vector bswap
40891 * config/aarch64/iterator.md (VDQHSD): New mode iterator.
40892 (Vrevsuff): New mode attribute.
40894 2014-04-24 Terry Guo <terry.guo@arm.com>
40896 * config/arm/arm.h (machine_function): Define variable
40897 after_arm_reorg here.
40898 * config/arm/arm.c (after_arm_reorg): Remove the definition.
40899 (arm_split_constant): Update the way to access variable
40901 (arm_reorg): Ditto.
40902 (arm_output_function_epilogue): Remove the reset of after_arm_reorg.
40904 2014-04-23 Tom de Vries <tom@codesourcery.com>
40906 * target-hooks-macros.h: Fix DEFHOOKPOD argument order in comment.
40908 2014-04-23 David Malcolm <dmalcolm@redhat.com>
40910 * is-a.h: Update comments to reflect the following changes to the
40911 "pointerness" of the API, making the template parameter match the
40912 return type, allowing use of is-a.h with typedefs of pointers.
40913 (is_a_helper::cast): Return a T rather then a pointer to a T, so
40914 that the return type matches the parameter to the is_a_helper.
40916 (dyn_cast): Likewise.
40918 * cgraph.c (cgraph_node_for_asm): Update for removal of implicit
40919 pointer from the is-a.h API.
40921 * cgraph.h (is_a_helper <cgraph_node>::test): Convert to...
40922 (is_a_helper <cgraph_node *>::test): ...this, matching change to
40924 (is_a_helper <varpool_node>::test): Likewise, convert to...
40925 (is_a_helper <varpool_node *>::test): ...this.
40927 (varpool_first_variable): Update for removal of implicit pointer
40928 from the is-a.h API.
40929 (varpool_next_variable): Likewise.
40930 (varpool_first_static_initializer): Likewise.
40931 (varpool_next_static_initializer): Likewise.
40932 (varpool_first_defined_variable): Likewise.
40933 (varpool_next_defined_variable): Likewise.
40934 (cgraph_first_defined_function): Likewise.
40935 (cgraph_next_defined_function): Likewise.
40936 (cgraph_first_function): Likewise.
40937 (cgraph_next_function): Likewise.
40938 (cgraph_first_function_with_gimple_body): Likewise.
40939 (cgraph_next_function_with_gimple_body): Likewise.
40940 (cgraph_alias_target): Likewise.
40941 (varpool_alias_target): Likewise.
40942 (cgraph_function_or_thunk_node): Likewise.
40943 (varpool_variable_node): Likewise.
40944 (symtab_real_symbol_p): Likewise.
40945 * cgraphunit.c (referred_to_p): Likewise.
40946 (analyze_functions): Likewise.
40947 (handle_alias_pairs): Likewise.
40948 * gimple-fold.c (can_refer_decl_in_current_unit_p): Likewise.
40949 * gimple-ssa.h (gimple_vuse_op): Likewise.
40950 (gimple_vdef_op): Likewise.
40951 * gimple-streamer-in.c (input_gimple_stmt): Likewise.
40952 * gimple.c (gimple_build_asm_1): Likewise.
40953 (gimple_build_try): Likewise.
40954 (gimple_build_resx): Likewise.
40955 (gimple_build_eh_dispatch): Likewise.
40956 (gimple_build_omp_for): Likewise.
40957 (gimple_omp_for_set_clauses): Likewise.
40959 * gimple.h (is_a_helper <gimple_statement_asm>::test): Convert to...
40960 (is_a_helper <gimple_statement_asm *>::test): ...this.
40961 (is_a_helper <gimple_statement_bind>::test): Convert to...
40962 (is_a_helper <gimple_statement_bind *>::test): ...this.
40963 (is_a_helper <gimple_statement_call>::test): Convert to...
40964 (is_a_helper <gimple_statement_call *>::test): ...this.
40965 (is_a_helper <gimple_statement_catch>::test): Convert to...
40966 (is_a_helper <gimple_statement_catch *>::test): ...this.
40967 (is_a_helper <gimple_statement_resx>::test): Convert to...
40968 (is_a_helper <gimple_statement_resx *>::test): ...this.
40969 (is_a_helper <gimple_statement_eh_dispatch>::test): Convert to...
40970 (is_a_helper <gimple_statement_eh_dispatch *>::test): ...this.
40971 (is_a_helper <gimple_statement_eh_else>::test): Convert to...
40972 (is_a_helper <gimple_statement_eh_else *>::test): ...this.
40973 (is_a_helper <gimple_statement_eh_filter>::test): Convert to...
40974 (is_a_helper <gimple_statement_eh_filter *>::test): ...this.
40975 (is_a_helper <gimple_statement_eh_mnt>::test): Convert to...
40976 (is_a_helper <gimple_statement_eh_mnt *>::test): ...this.
40977 (is_a_helper <gimple_statement_omp_atomic_load>::test): Convert to...
40978 (is_a_helper <gimple_statement_omp_atomic_load *>::test): ...this.
40979 (is_a_helper <gimple_statement_omp_atomic_store>::test): Convert to...
40980 (is_a_helper <gimple_statement_omp_atomic_store *>::test): ...this.
40981 (is_a_helper <gimple_statement_omp_return>::test): Convert to...
40982 (is_a_helper <gimple_statement_omp_return *>::test): ...this.
40983 (is_a_helper <gimple_statement_omp_continue>::test): Convert to...
40984 (is_a_helper <gimple_statement_omp_continue *>::test): ...this.
40985 (is_a_helper <gimple_statement_omp_critical>::test): Convert to...
40986 (is_a_helper <gimple_statement_omp_critical *>::test): ...this.
40987 (is_a_helper <gimple_statement_omp_for>::test): Convert to...
40988 (is_a_helper <gimple_statement_omp_for *>::test): ...this.
40989 (is_a_helper <gimple_statement_omp_taskreg>::test): Convert to...
40990 (is_a_helper <gimple_statement_omp_taskreg *>::test): ...this.
40991 (is_a_helper <gimple_statement_omp_parallel>::test): Convert to...
40992 (is_a_helper <gimple_statement_omp_parallel *>::test): ...this.
40993 (is_a_helper <gimple_statement_omp_target>::test): Convert to...
40994 (is_a_helper <gimple_statement_omp_target *>::test): ...this.
40995 (is_a_helper <gimple_statement_omp_sections>::test): Convert to...
40996 (is_a_helper <gimple_statement_omp_sections *>::test): ...this.
40997 (is_a_helper <gimple_statement_omp_single>::test): Convert to...
40998 (is_a_helper <gimple_statement_omp_single *>::test): ...this.
40999 (is_a_helper <gimple_statement_omp_teams>::test): Convert to...
41000 (is_a_helper <gimple_statement_omp_teams *>::test): ...this.
41001 (is_a_helper <gimple_statement_omp_task>::test): Convert to...
41002 (is_a_helper <gimple_statement_omp_task *>::test): ...this.
41003 (is_a_helper <gimple_statement_phi>::test): Convert to...
41004 (is_a_helper <gimple_statement_phi *>::test): ...this.
41005 (is_a_helper <gimple_statement_transaction>::test): Convert to...
41006 (is_a_helper <gimple_statement_transaction *>::test): ...this.
41007 (is_a_helper <gimple_statement_try>::test): Convert to...
41008 (is_a_helper <gimple_statement_try *>::test): ...this.
41009 (is_a_helper <gimple_statement_wce>::test): Convert to...
41010 (is_a_helper <gimple_statement_wce *>::test): ...this.
41011 (is_a_helper <const gimple_statement_asm>::test): Convert to...
41012 (is_a_helper <const gimple_statement_asm *>::test): ...this.
41013 (is_a_helper <const gimple_statement_bind>::test): Convert to...
41014 (is_a_helper <const gimple_statement_bind *>::test): ...this.
41015 (is_a_helper <const gimple_statement_call>::test): Convert to...
41016 (is_a_helper <const gimple_statement_call *>::test): ...this.
41017 (is_a_helper <const gimple_statement_catch>::test): Convert to...
41018 (is_a_helper <const gimple_statement_catch *>::test): ...this.
41019 (is_a_helper <const gimple_statement_resx>::test): Convert to...
41020 (is_a_helper <const gimple_statement_resx *>::test): ...this.
41021 (is_a_helper <const gimple_statement_eh_dispatch>::test): Convert to...
41022 (is_a_helper <const gimple_statement_eh_dispatch *>::test): ...this.
41023 (is_a_helper <const gimple_statement_eh_filter>::test): Convert to...
41024 (is_a_helper <const gimple_statement_eh_filter *>::test): ...this.
41025 (is_a_helper <const gimple_statement_omp_atomic_load>::test):
41027 (is_a_helper <const gimple_statement_omp_atomic_load *>::test):
41029 (is_a_helper <const gimple_statement_omp_atomic_store>::test):
41031 (is_a_helper <const gimple_statement_omp_atomic_store *>::test):
41033 (is_a_helper <const gimple_statement_omp_return>::test): Convert to...
41034 (is_a_helper <const gimple_statement_omp_return *>::test): ...this.
41035 (is_a_helper <const gimple_statement_omp_continue>::test): Convert
41037 (is_a_helper <const gimple_statement_omp_continue *>::test): ...this.
41038 (is_a_helper <const gimple_statement_omp_critical>::test): Convert
41040 (is_a_helper <const gimple_statement_omp_critical *>::test): ...this.
41041 (is_a_helper <const gimple_statement_omp_for>::test): Convert to...
41042 (is_a_helper <const gimple_statement_omp_for *>::test): ...this.
41043 (is_a_helper <const gimple_statement_omp_taskreg>::test): Convert to...
41044 (is_a_helper <const gimple_statement_omp_taskreg *>::test): ...this.
41045 (is_a_helper <const gimple_statement_omp_parallel>::test): Convert
41047 (is_a_helper <const gimple_statement_omp_parallel *>::test): ...this.
41048 (is_a_helper <const gimple_statement_omp_target>::test): Convert to...
41049 (is_a_helper <const gimple_statement_omp_target *>::test): ...this.
41050 (is_a_helper <const gimple_statement_omp_sections>::test): Convert
41052 (is_a_helper <const gimple_statement_omp_sections *>::test): ...this.
41053 (is_a_helper <const gimple_statement_omp_single>::test): Convert to...
41054 (is_a_helper <const gimple_statement_omp_single *>::test): ...this.
41055 (is_a_helper <const gimple_statement_omp_teams>::test): Convert to...
41056 (is_a_helper <const gimple_statement_omp_teams *>::test): ...this.
41057 (is_a_helper <const gimple_statement_omp_task>::test): Convert to...
41058 (is_a_helper <const gimple_statement_omp_task *>::test): ...this.
41059 (is_a_helper <const gimple_statement_phi>::test): Convert to...
41060 (is_a_helper <const gimple_statement_phi *>::test): ...this.
41061 (is_a_helper <const gimple_statement_transaction>::test): Convert to...
41062 (is_a_helper <const gimple_statement_transaction *>::test): ...this.
41063 (is_a_helper <const gimple_statement_with_ops>::test): Convert to...
41064 (is_a_helper <const gimple_statement_with_ops *>::test): ...this.
41065 (is_a_helper <gimple_statement_with_ops>::test): Convert to...
41066 (is_a_helper <gimple_statement_with_ops *>::test): ...this.
41067 (is_a_helper <const gimple_statement_with_memory_ops>::test): Convert
41069 (is_a_helper <const gimple_statement_with_memory_ops *>::test):
41071 (is_a_helper <gimple_statement_with_memory_ops>::test): Convert to...
41072 (is_a_helper <gimple_statement_with_memory_ops *>::test): ...this.
41074 (gimple_use_ops): Update for removal of implicit pointer from the
41076 (gimple_set_use_ops): Likewise.
41077 (gimple_vuse): Likewise.
41078 (gimple_vdef): Likewise.
41079 (gimple_vuse_ptr): Likewise.
41080 (gimple_vdef_ptr): Likewise.
41081 (gimple_set_vuse): Likewise.
41082 (gimple_set_vdef): Likewise.
41083 (gimple_omp_return_set_lhs): Likewise.
41084 (gimple_omp_return_lhs): Likewise.
41085 (gimple_omp_return_lhs_ptr): Likewise.
41086 (gimple_call_fntype): Likewise.
41087 (gimple_call_set_fntype): Likewise.
41088 (gimple_call_set_internal_fn): Likewise.
41089 (gimple_call_use_set): Likewise.
41090 (gimple_call_clobber_set): Likewise.
41091 (gimple_bind_vars): Likewise.
41092 (gimple_bind_set_vars): Likewise.
41093 (gimple_bind_body_ptr): Likewise.
41094 (gimple_bind_set_body): Likewise.
41095 (gimple_bind_add_stmt): Likewise.
41096 (gimple_bind_block): Likewise.
41097 (gimple_bind_set_block): Likewise.
41098 (gimple_asm_ninputs): Likewise.
41099 (gimple_asm_noutputs): Likewise.
41100 (gimple_asm_nclobbers): Likewise.
41101 (gimple_asm_nlabels): Likewise.
41102 (gimple_asm_input_op): Likewise.
41103 (gimple_asm_input_op_ptr): Likewise.
41104 (gimple_asm_output_op): Likewise.
41105 (gimple_asm_output_op_ptr): Likewise.
41106 (gimple_asm_set_output_op): Likewise.
41107 (gimple_asm_clobber_op): Likewise.
41108 (gimple_asm_set_clobber_op): Likewise.
41109 (gimple_asm_label_op): Likewise.
41110 (gimple_asm_set_label_op): Likewise.
41111 (gimple_asm_string): Likewise.
41112 (gimple_catch_types): Likewise.
41113 (gimple_catch_types_ptr): Likewise.
41114 (gimple_catch_handler_ptr): Likewise.
41115 (gimple_catch_set_types): Likewise.
41116 (gimple_catch_set_handler): Likewise.
41117 (gimple_eh_filter_types): Likewise.
41118 (gimple_eh_filter_types_ptr): Likewise.
41119 (gimple_eh_filter_failure_ptr): Likewise.
41120 (gimple_eh_filter_set_types): Likewise.
41121 (gimple_eh_filter_set_failure): Likewise.
41122 (gimple_eh_must_not_throw_fndecl): Likewise.
41123 (gimple_eh_must_not_throw_set_fndecl): Likewise.
41124 (gimple_eh_else_n_body_ptr): Likewise.
41125 (gimple_eh_else_e_body_ptr): Likewise.
41126 (gimple_eh_else_set_n_body): Likewise.
41127 (gimple_eh_else_set_e_body): Likewise.
41128 (gimple_try_eval_ptr): Likewise.
41129 (gimple_try_cleanup_ptr): Likewise.
41130 (gimple_try_set_eval): Likewise.
41131 (gimple_try_set_cleanup): Likewise.
41132 (gimple_wce_cleanup_ptr): Likewise.
41133 (gimple_wce_set_cleanup): Likewise.
41134 (gimple_phi_capacity): Likewise.
41135 (gimple_phi_num_args): Likewise.
41136 (gimple_phi_result): Likewise.
41137 (gimple_phi_result_ptr): Likewise.
41138 (gimple_phi_set_result): Likewise.
41139 (gimple_phi_arg): Likewise.
41140 (gimple_phi_set_arg): Likewise.
41141 (gimple_resx_region): Likewise.
41142 (gimple_resx_set_region): Likewise.
41143 (gimple_eh_dispatch_region): Likewise.
41144 (gimple_eh_dispatch_set_region): Likewise.
41145 (gimple_omp_critical_name): Likewise.
41146 (gimple_omp_critical_name_ptr): Likewise.
41147 (gimple_omp_critical_set_name): Likewise.
41148 (gimple_omp_for_clauses): Likewise.
41149 (gimple_omp_for_clauses_ptr): Likewise.
41150 (gimple_omp_for_set_clauses): Likewise.
41151 (gimple_omp_for_collapse): Likewise.
41152 (gimple_omp_for_index): Likewise.
41153 (gimple_omp_for_index_ptr): Likewise.
41154 (gimple_omp_for_set_index): Likewise.
41155 (gimple_omp_for_initial): Likewise.
41156 (gimple_omp_for_initial_ptr): Likewise.
41157 (gimple_omp_for_set_initial): Likewise.
41158 (gimple_omp_for_final): Likewise.
41159 (gimple_omp_for_final_ptr): Likewise.
41160 (gimple_omp_for_set_final): Likewise.
41161 (gimple_omp_for_incr): Likewise.
41162 (gimple_omp_for_incr_ptr): Likewise.
41163 (gimple_omp_for_set_incr): Likewise.
41164 (gimple_omp_for_pre_body_ptr): Likewise.
41165 (gimple_omp_for_set_pre_body): Likewise.
41166 (gimple_omp_parallel_clauses): Likewise.
41167 (gimple_omp_parallel_clauses_ptr): Likewise.
41168 (gimple_omp_parallel_set_clauses): Likewise.
41169 (gimple_omp_parallel_child_fn): Likewise.
41170 (gimple_omp_parallel_child_fn_ptr): Likewise.
41171 (gimple_omp_parallel_set_child_fn): Likewise.
41172 (gimple_omp_parallel_data_arg): Likewise.
41173 (gimple_omp_parallel_data_arg_ptr): Likewise.
41174 (gimple_omp_parallel_set_data_arg): Likewise.
41175 (gimple_omp_task_clauses): Likewise.
41176 (gimple_omp_task_clauses_ptr): Likewise.
41177 (gimple_omp_task_set_clauses): Likewise.
41178 (gimple_omp_task_child_fn): Likewise.
41179 (gimple_omp_task_child_fn_ptr): Likewise.
41180 (gimple_omp_task_set_child_fn): Likewise.
41181 (gimple_omp_task_data_arg): Likewise.
41182 (gimple_omp_task_data_arg_ptr): Likewise.
41183 (gimple_omp_task_set_data_arg): Likewise.
41184 (gimple_omp_taskreg_clauses): Likewise.
41185 (gimple_omp_taskreg_clauses_ptr): Likewise.
41186 (gimple_omp_taskreg_set_clauses): Likewise.
41187 (gimple_omp_taskreg_child_fn): Likewise.
41188 (gimple_omp_taskreg_child_fn_ptr): Likewise.
41189 (gimple_omp_taskreg_set_child_fn): Likewise.
41190 (gimple_omp_taskreg_data_arg): Likewise.
41191 (gimple_omp_taskreg_data_arg_ptr): Likewise.
41192 (gimple_omp_taskreg_set_data_arg): Likewise.
41193 (gimple_omp_task_copy_fn): Likewise.
41194 (gimple_omp_task_copy_fn_ptr): Likewise.
41195 (gimple_omp_task_set_copy_fn): Likewise.
41196 (gimple_omp_task_arg_size): Likewise.
41197 (gimple_omp_task_arg_size_ptr): Likewise.
41198 (gimple_omp_task_set_arg_size): Likewise.
41199 (gimple_omp_task_arg_align): Likewise.
41200 (gimple_omp_task_arg_align_ptr): Likewise.
41201 (gimple_omp_task_set_arg_align): Likewise.
41202 (gimple_omp_single_clauses): Likewise.
41203 (gimple_omp_single_clauses_ptr): Likewise.
41204 (gimple_omp_single_set_clauses): Likewise.
41205 (gimple_omp_target_clauses): Likewise.
41206 (gimple_omp_target_clauses_ptr): Likewise.
41207 (gimple_omp_target_set_clauses): Likewise.
41208 (gimple_omp_target_child_fn): Likewise.
41209 (gimple_omp_target_child_fn_ptr): Likewise.
41210 (gimple_omp_target_set_child_fn): Likewise.
41211 (gimple_omp_target_data_arg): Likewise.
41212 (gimple_omp_target_data_arg_ptr): Likewise.
41213 (gimple_omp_target_set_data_arg): Likewise.
41214 (gimple_omp_teams_clauses): Likewise.
41215 (gimple_omp_teams_clauses_ptr): Likewise.
41216 (gimple_omp_teams_set_clauses): Likewise.
41217 (gimple_omp_sections_clauses): Likewise.
41218 (gimple_omp_sections_clauses_ptr): Likewise.
41219 (gimple_omp_sections_set_clauses): Likewise.
41220 (gimple_omp_sections_control): Likewise.
41221 (gimple_omp_sections_control_ptr): Likewise.
41222 (gimple_omp_sections_set_control): Likewise.
41223 (gimple_omp_for_set_cond): Likewise.
41224 (gimple_omp_for_cond): Likewise.
41225 (gimple_omp_atomic_store_set_val): Likewise.
41226 (gimple_omp_atomic_store_val): Likewise.
41227 (gimple_omp_atomic_store_val_ptr): Likewise.
41228 (gimple_omp_atomic_load_set_lhs): Likewise.
41229 (gimple_omp_atomic_load_lhs): Likewise.
41230 (gimple_omp_atomic_load_lhs_ptr): Likewise.
41231 (gimple_omp_atomic_load_set_rhs): Likewise.
41232 (gimple_omp_atomic_load_rhs): Likewise.
41233 (gimple_omp_atomic_load_rhs_ptr): Likewise.
41234 (gimple_omp_continue_control_def): Likewise.
41235 (gimple_omp_continue_control_def_ptr): Likewise.
41236 (gimple_omp_continue_set_control_def): Likewise.
41237 (gimple_omp_continue_control_use): Likewise.
41238 (gimple_omp_continue_control_use_ptr): Likewise.
41239 (gimple_omp_continue_set_control_use): Likewise.
41240 (gimple_transaction_body_ptr): Likewise.
41241 (gimple_transaction_label): Likewise.
41242 (gimple_transaction_label_ptr): Likewise.
41243 (gimple_transaction_set_body): Likewise.
41244 (gimple_transaction_set_label): Likewise.
41246 * ipa-devirt.c (build_type_inheritance_graph): Likewise.
41247 * ipa-inline-analysis.c (inline_write_summary): Likewise.
41248 * ipa-ref.c (ipa_record_reference): Likewise.
41249 * ipa-reference.c (analyze_function): Likewise.
41250 (ipa_reference_write_optimization_summary): Likewise.
41251 * ipa.c (symtab_remove_unreachable_nodes): Likewise.
41252 (address_taken_from_non_vtable_p): Likewise.
41253 (comdat_can_be_unshared_p_1): Likewise.
41254 * lto-cgraph.c (lto_output_ref): Likewise.
41255 (add_references): Likewise.
41256 (compute_ltrans_boundary): Likewise.
41257 (output_symtab): Likewise.
41258 (input_ref): Likewise.
41259 (input_cgraph_1): Likewise.
41260 (output_cgraph_opt_summary): Likewise.
41261 * lto-streamer-out.c (lto_output): Likewise.
41262 (output_symbol_p): Likewise.
41263 * lto-streamer.h (lsei_next_function_in_partition): Likewise.
41264 (lsei_start_function_in_partition): Likewise.
41265 (lsei_next_variable_in_partition): Likewise.
41266 (lsei_start_variable_in_partition): Likewise.
41267 * symtab.c (insert_to_assembler_name_hash): Likewise.
41268 (unlink_from_assembler_name_hash): Likewise.
41269 (symtab_unregister_node): Likewise.
41270 (symtab_remove_node): Likewise.
41271 (dump_symtab_node): Likewise.
41272 (verify_symtab_base): Likewise.
41273 (verify_symtab_node): Likewise.
41274 (symtab_make_decl_local): Likewise.
41275 (symtab_alias_ultimate_target): Likewise.
41276 (symtab_resolve_alias): Likewise.
41277 (symtab_get_symbol_partitioning_class): Likewise.
41278 * tree-phinodes.c (allocate_phi_node): Likewise.
41279 (reserve_phi_args_for_new_edge): Likewise.
41280 (remove_phi_args): Likewise.
41281 * varpool.c (varpool_node_for_asm): Likewise.
41282 (varpool_remove_unreferenced_decls): Likewise.
41284 2014-04-23 Jeff Law <law@redhat.com>
41286 PR tree-optimization/60902
41287 * tree-ssa-threadedge.c
41288 (record_temporary_equivalences_from_stmts_at_dest): Make sure to
41289 invalidate outputs from statements that do not produce useful
41290 outputs for threading.
41292 2014-04-23 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
41294 * config/aarch64/aarch64.md (stack_protect_set, stack_protect_test)
41295 (stack_protect_set_<mode>, stack_protect_test_<mode>): Add
41296 machine descriptions for Stack Smashing Protector.
41298 2014-04-23 Richard Earnshaw <rearnsha@arm.com>
41300 * aarch64.md (<optab>_rol<mode>3): New pattern.
41301 (<optab>_rolsi3_uxtw): Likewise.
41302 * aarch64.c (aarch64_strip_shift): Handle ROTATE and ROTATERT.
41304 2014-04-23 James Greenhalgh <james.greenhalgh@arm.com>
41306 * config/arm/arm.c (arm_cortex_a57_tune): Initialize all fields.
41307 (arm_cortex_a12_tune): Likewise.
41309 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41311 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle BSWAP.
41313 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41315 * config/arm/arm.md (arm_rev16si2): New pattern.
41316 (arm_rev16si2_alt): Likewise.
41317 * config/arm/arm.c (arm_new_rtx_costs): Handle rev16 case.
41319 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41321 * config/aarch64/aarch64.md (rev16<mode>2): New pattern.
41322 (rev16<mode>2_alt): Likewise.
41323 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle rev16 case.
41324 * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p): New.
41325 (aarch_rev16_shleft_mask_imm_p): Likewise.
41326 (aarch_rev16_p_1): Likewise.
41327 (aarch_rev16_p): Likewise.
41328 * config/arm/aarch-common-protos.h (aarch_rev16_p): Declare extern.
41329 (aarch_rev16_shright_mask_imm_p): Likewise.
41330 (aarch_rev16_shleft_mask_imm_p): Likewise.
41332 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41334 * config/arm/aarch-common-protos.h (alu_cost_table): Add rev field.
41335 * config/arm/aarch-cost-tables.h (generic_extra_costs): Specify
41337 (cortex_a53_extra_costs): Likewise.
41338 (cortex_a57_extra_costs): Likewise.
41339 * config/arm/arm.c (cortexa9_extra_costs): Likewise.
41340 (cortexa7_extra_costs): Likewise.
41341 (cortexa8_extra_costs): Likewise.
41342 (cortexa12_extra_costs): Likewise.
41343 (cortexa15_extra_costs): Likewise.
41344 (v7m_extra_costs): Likewise.
41345 (arm_new_rtx_costs): Handle BSWAP.
41347 2013-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41349 * config/arm/arm.c (cortexa8_extra_costs): New table.
41350 (arm_cortex_a8_tune): New tuning struct.
41351 * config/arm/arm-cores.def (cortex-a8): Use cortex_a8 tuning struct.
41353 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
41355 * config/arm/arm.c (arm_new_rtx_costs): Handle FMA.
41357 2014-04-23 Richard Biener <rguenther@suse.de>
41359 * Makefile.in (OBJS): Remove loop-unswitch.o.
41360 * tree-pass.h (make_pass_rtl_unswitch): Remove.
41361 * passes.def (pass_rtl_unswitch): Likewise.
41362 * loop-init.c (gate_rtl_unswitch): Likewise.
41363 (rtl_unswitch): Likewise.
41364 (pass_data_rtl_unswitch): Likewise.
41365 (pass_rtl_unswitch): Likewise.
41366 (make_pass_rtl_unswitch): Likewise.
41367 * rtl.h (reversed_condition): Likewise.
41368 (compare_and_jump_seq): Likewise.
41369 * loop-iv.c (reversed_condition): Move here from loop-unswitch.c
41371 * loop-unroll.c (compare_and_jump_seq): Likewise.
41373 2014-04-23 Richard Biener <rguenther@suse.de>
41375 PR tree-optimization/60903
41376 * tree-ssa-loop-im.c (analyze_memory_references): Remove
41377 commented code block.
41378 (execute_sm_if_changed): Properly apply IRREDUCIBLE_LOOP
41379 loop flags to newly created BBs and edges.
41381 2014-04-23 Nick Clifton <nickc@redhat.com>
41383 * config/msp430/msp430.c (msp430_handle_option): Move function
41385 (msp430_option_override): Simplify mcu and mcpu option handling.
41386 (msp430_is_f5_mcu): Rename to msp430_use_f5_series_hwmult. Add
41387 support for -mhwmult command line option.
41388 (has_32bit_hwmult): Rename to use_32bit_hwmult. Add support for
41389 -mhwmult command line option.
41390 (msp430_hwmult_enabled): Delete.
41391 (msp43o_output_labelref): Add support for -mhwmult command line option.
41392 * config/msp430/msp430.md (mulhisi3, umulhisi3, mulsidi3)
41393 (umulsidi3): Likewise.
41394 * config/msp430/msp430.opt (mmcu): Add Report attribute.
41395 (mcpu, mlarge, msmall): Likewise.
41396 (mhwmult): New option.
41397 * config/msp430/msp430-protos.h (msp430_hwmult_enabled): Remove
41399 (msp430_is_f5_mcu): Remove prototype.
41400 (msp430_use_f5_series_hwmult): Add prototype.
41401 * config/msp430/msp430-opts.h: New file.
41402 * common/config/msp430: New directory.
41403 * common/config/msp430/msp430-common.c: New file.
41404 * config.gcc (msp430): Remove target_has_targetm_common.
41405 * doc/invoke.texi: Document -mhwmult command line option.
41407 2014-04-23 Nick Clifton <nickc@redhat.com>
41409 * config/i386/cygwin.h (ENDFILE_SPEC): Include
41410 default-manifest.o if it can be found in the search path.
41411 * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
41413 2014-04-23 Terry Guo <terry.guo@arm.com>
41415 * config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way.
41417 2014-04-23 Richard Biener <rguenther@suse.de>
41419 PR middle-end/60895
41420 * tree-inline.c (declare_return_variable): Use mark_addressable.
41422 2014-04-23 Richard Biener <rguenther@suse.de>
41424 PR middle-end/60891
41425 * loop-init.c (loop_optimizer_init): Make sure to apply
41426 LOOPS_MAY_HAVE_MULTIPLE_LATCHES before fixing up loops.
41428 2014-04-22 Jakub Jelinek <jakub@redhat.com>
41431 * common.opt (fsanitize-recover, fsanitize-undefined-trap-on-error):
41433 * gcc.c (sanitize_spec_function): Don't return "" for "undefined"
41434 if flag_sanitize_undefined_trap_on_error.
41435 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DIVREM_OVERFLOW_ABORT,
41436 BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS_ABORT,
41437 BUILT_IN_UBSAN_HANDLE_VLA_BOUND_NOT_POSITIVE_ABORT,
41438 BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
41439 BUILT_IN_UBSAN_HANDLE_ADD_OVERFLOW_ABORT,
41440 BUILT_IN_UBSAN_HANDLE_SUB_OVERFLOW_ABORT,
41441 BUILT_IN_UBSAN_HANDLE_MUL_OVERFLOW_ABORT,
41442 BUILT_IN_UBSAN_HANDLE_NEGATE_OVERFLOW_ABORT,
41443 BUILT_IN_UBSAN_HANDLE_LOAD_INVALID_VALUE_ABORT): New builtins.
41444 * ubsan.c (ubsan_instrument_unreachable): Return
41445 __builtin_trap () if flag_sanitize_undefined_trap_on_error.
41446 (ubsan_expand_null_ifn): Emit __builtin_trap ()
41447 if flag_sanitize_undefined_trap_on_error and
41448 __ubsan_handle_type_mismatch_abort if !flag_sanitize_recover.
41449 (ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
41450 instrument_bool_enum_load): Emit __builtin_trap () if
41451 flag_sanitize_undefined_trap_on_error and
41452 __builtin_handle_*_abort () if !flag_sanitize_recover.
41453 * doc/invoke.texi (-fsanitize-recover,
41454 -fsanitize-undefined-trap-on-error): Document.
41456 2014-04-22 Christian Bruel <christian.bruel@st.com>
41458 * config/sh/sh.md (mov<mode>): Replace movQIHI.
41459 Force immediates to SImode.
41461 2014-04-22 Sandra Loosemore <sandra@codesourcery.com>
41463 * config/nios2/nios2.md (UNSPEC_ROUND): New.
41464 (lroundsfsi2): New.
41465 * config/nios2/nios2.opt (mno-custom-round, mcustom-round=): New.
41466 * config/nios2/nios2-opts.h (N2FPU_ALL_CODES): Add round.
41467 * config/nios2/nios2.c (N2F_NO_ERRNO): Define.
41468 (nios2_fpu_insn): Add entry for round.
41469 (N2FPU_NO_ERRNO_P): Define.
41470 (nios2_custom_check_insns): Add check for N2F_NO_ERRNO and
41472 * doc/invoke.texi (Nios II Options): Document -mcustom-round.
41474 2014-04-22 Richard Henderson <rth@redhat.com>
41476 * config/aarch64/aarch64 (addti3, subti3): New expanders.
41477 (add<GPI>3_compare0): Remove leading * from name.
41478 (add<GPI>3_carryin): Likewise.
41479 (sub<GPI>3_compare0): Likewise.
41480 (sub<GPI>3_carryin): Likewise.
41481 (<su_optab>mulditi3): New expander.
41482 (multi3): New expander.
41483 (madd<GPI>): Remove leading * from name.
41485 2014-04-22 Martin Jambor <mjambor@suse.cz>
41487 * cgraphclones.c (cgraph_function_versioning): Copy
41488 ipa_transforms_to_apply instead of asserting it is empty.
41490 2014-04-22 H.J. Lu <hongjiu.lu@intel.com>
41493 * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode
41494 on count_exp to get mode.
41496 2014-04-22 Andrew Pinski <apinski@cavium.com>
41498 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
41499 Handle TLS for ILP32.
41500 * config/aarch64/aarch64.md (tlsie_small): Rename to ...
41501 (tlsie_small_<mode>): this and handle PTR.
41502 (tlsie_small_sidi): New pattern.
41503 (tlsle_small): Change to an expand to handle ILP32.
41504 (tlsle_small_<mode>): New pattern.
41505 (tlsdesc_small): Rename to ...
41506 (tlsdesc_small_<mode>): this and handle PTR.
41508 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
41510 * config/aarch64/aarch64.c (TARGET_FLAGS_REGNUM): Define.
41512 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
41514 * config/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
41515 (aarch64_types_signed_unsigned_qualifiers): Qualifier added.
41516 (aarch64_types_signed_poly_qualifiers): Likewise.
41517 (aarch64_types_unsigned_signed_qualifiers): Likewise.
41518 (aarch64_types_poly_signed_qualifiers): Likewise.
41519 (TYPES_REINTERP_SS): Type macro added.
41520 (TYPES_REINTERP_SU): Likewise.
41521 (TYPES_REINTERP_SP): Likewise.
41522 (TYPES_REINTERP_US): Likewise.
41523 (TYPES_REINTERP_PS): Likewise.
41524 (aarch64_fold_builtin): New expression folding added.
41525 * config/aarch64/aarch64-simd-builtins.def (REINTERP):
41526 Declarations removed.
41527 (REINTERP_SS): Declarations added.
41528 (REINTERP_US): Likewise.
41529 (REINTERP_PS): Likewise.
41530 (REINTERP_SU): Likewise.
41531 (REINTERP_SP): Likewise.
41532 * config/aarch64/arm_neon.h (vreinterpret_p8_f64): Implemented.
41533 (vreinterpretq_p8_f64): Likewise.
41534 (vreinterpret_p16_f64): Likewise.
41535 (vreinterpretq_p16_f64): Likewise.
41536 (vreinterpret_f32_f64): Likewise.
41537 (vreinterpretq_f32_f64): Likewise.
41538 (vreinterpret_f64_f32): Likewise.
41539 (vreinterpret_f64_p8): Likewise.
41540 (vreinterpret_f64_p16): Likewise.
41541 (vreinterpret_f64_s8): Likewise.
41542 (vreinterpret_f64_s16): Likewise.
41543 (vreinterpret_f64_s32): Likewise.
41544 (vreinterpret_f64_s64): Likewise.
41545 (vreinterpret_f64_u8): Likewise.
41546 (vreinterpret_f64_u16): Likewise.
41547 (vreinterpret_f64_u32): Likewise.
41548 (vreinterpret_f64_u64): Likewise.
41549 (vreinterpretq_f64_f32): Likewise.
41550 (vreinterpretq_f64_p8): Likewise.
41551 (vreinterpretq_f64_p16): Likewise.
41552 (vreinterpretq_f64_s8): Likewise.
41553 (vreinterpretq_f64_s16): Likewise.
41554 (vreinterpretq_f64_s32): Likewise.
41555 (vreinterpretq_f64_s64): Likewise.
41556 (vreinterpretq_f64_u8): Likewise.
41557 (vreinterpretq_f64_u16): Likewise.
41558 (vreinterpretq_f64_u32): Likewise.
41559 (vreinterpretq_f64_u64): Likewise.
41560 (vreinterpret_s64_f64): Likewise.
41561 (vreinterpretq_s64_f64): Likewise.
41562 (vreinterpret_u64_f64): Likewise.
41563 (vreinterpretq_u64_f64): Likewise.
41564 (vreinterpret_s8_f64): Likewise.
41565 (vreinterpretq_s8_f64): Likewise.
41566 (vreinterpret_s16_f64): Likewise.
41567 (vreinterpretq_s16_f64): Likewise.
41568 (vreinterpret_s32_f64): Likewise.
41569 (vreinterpretq_s32_f64): Likewise.
41570 (vreinterpret_u8_f64): Likewise.
41571 (vreinterpretq_u8_f64): Likewise.
41572 (vreinterpret_u16_f64): Likewise.
41573 (vreinterpretq_u16_f64): Likewise.
41574 (vreinterpret_u32_f64): Likewise.
41575 (vreinterpretq_u32_f64): Likewise.
41577 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
41579 * config/aarch64/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
41580 * config/aarch64/aarch64/aarch64-simd-builtins.def (REINTERP): Removed.
41581 (vreinterpret_p8_s8): Likewise.
41582 * config/aarch64/aarch64/arm_neon.h (vreinterpret_p8_s8): Uses cast.
41583 (vreinterpret_p8_s16): Likewise.
41584 (vreinterpret_p8_s32): Likewise.
41585 (vreinterpret_p8_s64): Likewise.
41586 (vreinterpret_p8_f32): Likewise.
41587 (vreinterpret_p8_u8): Likewise.
41588 (vreinterpret_p8_u16): Likewise.
41589 (vreinterpret_p8_u32): Likewise.
41590 (vreinterpret_p8_u64): Likewise.
41591 (vreinterpret_p8_p16): Likewise.
41592 (vreinterpretq_p8_s8): Likewise.
41593 (vreinterpretq_p8_s16): Likewise.
41594 (vreinterpretq_p8_s32): Likewise.
41595 (vreinterpretq_p8_s64): Likewise.
41596 (vreinterpretq_p8_f32): Likewise.
41597 (vreinterpretq_p8_u8): Likewise.
41598 (vreinterpretq_p8_u16): Likewise.
41599 (vreinterpretq_p8_u32): Likewise.
41600 (vreinterpretq_p8_u64): Likewise.
41601 (vreinterpretq_p8_p16): Likewise.
41602 (vreinterpret_p16_s8): Likewise.
41603 (vreinterpret_p16_s16): Likewise.
41604 (vreinterpret_p16_s32): Likewise.
41605 (vreinterpret_p16_s64): Likewise.
41606 (vreinterpret_p16_f32): Likewise.
41607 (vreinterpret_p16_u8): Likewise.
41608 (vreinterpret_p16_u16): Likewise.
41609 (vreinterpret_p16_u32): Likewise.
41610 (vreinterpret_p16_u64): Likewise.
41611 (vreinterpret_p16_p8): Likewise.
41612 (vreinterpretq_p16_s8): Likewise.
41613 (vreinterpretq_p16_s16): Likewise.
41614 (vreinterpretq_p16_s32): Likewise.
41615 (vreinterpretq_p16_s64): Likewise.
41616 (vreinterpretq_p16_f32): Likewise.
41617 (vreinterpretq_p16_u8): Likewise.
41618 (vreinterpretq_p16_u16): Likewise.
41619 (vreinterpretq_p16_u32): Likewise.
41620 (vreinterpretq_p16_u64): Likewise.
41621 (vreinterpretq_p16_p8): Likewise.
41622 (vreinterpret_f32_s8): Likewise.
41623 (vreinterpret_f32_s16): Likewise.
41624 (vreinterpret_f32_s32): Likewise.
41625 (vreinterpret_f32_s64): Likewise.
41626 (vreinterpret_f32_u8): Likewise.
41627 (vreinterpret_f32_u16): Likewise.
41628 (vreinterpret_f32_u32): Likewise.
41629 (vreinterpret_f32_u64): Likewise.
41630 (vreinterpret_f32_p8): Likewise.
41631 (vreinterpret_f32_p16): Likewise.
41632 (vreinterpretq_f32_s8): Likewise.
41633 (vreinterpretq_f32_s16): Likewise.
41634 (vreinterpretq_f32_s32): Likewise.
41635 (vreinterpretq_f32_s64): Likewise.
41636 (vreinterpretq_f32_u8): Likewise.
41637 (vreinterpretq_f32_u16): Likewise.
41638 (vreinterpretq_f32_u32): Likewise.
41639 (vreinterpretq_f32_u64): Likewise.
41640 (vreinterpretq_f32_p8): Likewise.
41641 (vreinterpretq_f32_p16): Likewise.
41642 (vreinterpret_s64_s8): Likewise.
41643 (vreinterpret_s64_s16): Likewise.
41644 (vreinterpret_s64_s32): Likewise.
41645 (vreinterpret_s64_f32): Likewise.
41646 (vreinterpret_s64_u8): Likewise.
41647 (vreinterpret_s64_u16): Likewise.
41648 (vreinterpret_s64_u32): Likewise.
41649 (vreinterpret_s64_u64): Likewise.
41650 (vreinterpret_s64_p8): Likewise.
41651 (vreinterpret_s64_p16): Likewise.
41652 (vreinterpretq_s64_s8): Likewise.
41653 (vreinterpretq_s64_s16): Likewise.
41654 (vreinterpretq_s64_s32): Likewise.
41655 (vreinterpretq_s64_f32): Likewise.
41656 (vreinterpretq_s64_u8): Likewise.
41657 (vreinterpretq_s64_u16): Likewise.
41658 (vreinterpretq_s64_u32): Likewise.
41659 (vreinterpretq_s64_u64): Likewise.
41660 (vreinterpretq_s64_p8): Likewise.
41661 (vreinterpretq_s64_p16): Likewise.
41662 (vreinterpret_u64_s8): Likewise.
41663 (vreinterpret_u64_s16): Likewise.
41664 (vreinterpret_u64_s32): Likewise.
41665 (vreinterpret_u64_s64): Likewise.
41666 (vreinterpret_u64_f32): Likewise.
41667 (vreinterpret_u64_u8): Likewise.
41668 (vreinterpret_u64_u16): Likewise.
41669 (vreinterpret_u64_u32): Likewise.
41670 (vreinterpret_u64_p8): Likewise.
41671 (vreinterpret_u64_p16): Likewise.
41672 (vreinterpretq_u64_s8): Likewise.
41673 (vreinterpretq_u64_s16): Likewise.
41674 (vreinterpretq_u64_s32): Likewise.
41675 (vreinterpretq_u64_s64): Likewise.
41676 (vreinterpretq_u64_f32): Likewise.
41677 (vreinterpretq_u64_u8): Likewise.
41678 (vreinterpretq_u64_u16): Likewise.
41679 (vreinterpretq_u64_u32): Likewise.
41680 (vreinterpretq_u64_p8): Likewise.
41681 (vreinterpretq_u64_p16): Likewise.
41682 (vreinterpret_s8_s16): Likewise.
41683 (vreinterpret_s8_s32): Likewise.
41684 (vreinterpret_s8_s64): Likewise.
41685 (vreinterpret_s8_f32): Likewise.
41686 (vreinterpret_s8_u8): Likewise.
41687 (vreinterpret_s8_u16): Likewise.
41688 (vreinterpret_s8_u32): Likewise.
41689 (vreinterpret_s8_u64): Likewise.
41690 (vreinterpret_s8_p8): Likewise.
41691 (vreinterpret_s8_p16): Likewise.
41692 (vreinterpretq_s8_s16): Likewise.
41693 (vreinterpretq_s8_s32): Likewise.
41694 (vreinterpretq_s8_s64): Likewise.
41695 (vreinterpretq_s8_f32): Likewise.
41696 (vreinterpretq_s8_u8): Likewise.
41697 (vreinterpretq_s8_u16): Likewise.
41698 (vreinterpretq_s8_u32): Likewise.
41699 (vreinterpretq_s8_u64): Likewise.
41700 (vreinterpretq_s8_p8): Likewise.
41701 (vreinterpretq_s8_p16): Likewise.
41702 (vreinterpret_s16_s8): Likewise.
41703 (vreinterpret_s16_s32): Likewise.
41704 (vreinterpret_s16_s64): Likewise.
41705 (vreinterpret_s16_f32): Likewise.
41706 (vreinterpret_s16_u8): Likewise.
41707 (vreinterpret_s16_u16): Likewise.
41708 (vreinterpret_s16_u32): Likewise.
41709 (vreinterpret_s16_u64): Likewise.
41710 (vreinterpret_s16_p8): Likewise.
41711 (vreinterpret_s16_p16): Likewise.
41712 (vreinterpretq_s16_s8): Likewise.
41713 (vreinterpretq_s16_s32): Likewise.
41714 (vreinterpretq_s16_s64): Likewise.
41715 (vreinterpretq_s16_f32): Likewise.
41716 (vreinterpretq_s16_u8): Likewise.
41717 (vreinterpretq_s16_u16): Likewise.
41718 (vreinterpretq_s16_u32): Likewise.
41719 (vreinterpretq_s16_u64): Likewise.
41720 (vreinterpretq_s16_p8): Likewise.
41721 (vreinterpretq_s16_p16): Likewise.
41722 (vreinterpret_s32_s8): Likewise.
41723 (vreinterpret_s32_s16): Likewise.
41724 (vreinterpret_s32_s64): Likewise.
41725 (vreinterpret_s32_f32): Likewise.
41726 (vreinterpret_s32_u8): Likewise.
41727 (vreinterpret_s32_u16): Likewise.
41728 (vreinterpret_s32_u32): Likewise.
41729 (vreinterpret_s32_u64): Likewise.
41730 (vreinterpret_s32_p8): Likewise.
41731 (vreinterpret_s32_p16): Likewise.
41732 (vreinterpretq_s32_s8): Likewise.
41733 (vreinterpretq_s32_s16): Likewise.
41734 (vreinterpretq_s32_s64): Likewise.
41735 (vreinterpretq_s32_f32): Likewise.
41736 (vreinterpretq_s32_u8): Likewise.
41737 (vreinterpretq_s32_u16): Likewise.
41738 (vreinterpretq_s32_u32): Likewise.
41739 (vreinterpretq_s32_u64): Likewise.
41740 (vreinterpretq_s32_p8): Likewise.
41741 (vreinterpretq_s32_p16): Likewise.
41742 (vreinterpret_u8_s8): Likewise.
41743 (vreinterpret_u8_s16): Likewise.
41744 (vreinterpret_u8_s32): Likewise.
41745 (vreinterpret_u8_s64): Likewise.
41746 (vreinterpret_u8_f32): Likewise.
41747 (vreinterpret_u8_u16): Likewise.
41748 (vreinterpret_u8_u32): Likewise.
41749 (vreinterpret_u8_u64): Likewise.
41750 (vreinterpret_u8_p8): Likewise.
41751 (vreinterpret_u8_p16): Likewise.
41752 (vreinterpretq_u8_s8): Likewise.
41753 (vreinterpretq_u8_s16): Likewise.
41754 (vreinterpretq_u8_s32): Likewise.
41755 (vreinterpretq_u8_s64): Likewise.
41756 (vreinterpretq_u8_f32): Likewise.
41757 (vreinterpretq_u8_u16): Likewise.
41758 (vreinterpretq_u8_u32): Likewise.
41759 (vreinterpretq_u8_u64): Likewise.
41760 (vreinterpretq_u8_p8): Likewise.
41761 (vreinterpretq_u8_p16): Likewise.
41762 (vreinterpret_u16_s8): Likewise.
41763 (vreinterpret_u16_s16): Likewise.
41764 (vreinterpret_u16_s32): Likewise.
41765 (vreinterpret_u16_s64): Likewise.
41766 (vreinterpret_u16_f32): Likewise.
41767 (vreinterpret_u16_u8): Likewise.
41768 (vreinterpret_u16_u32): Likewise.
41769 (vreinterpret_u16_u64): Likewise.
41770 (vreinterpret_u16_p8): Likewise.
41771 (vreinterpret_u16_p16): Likewise.
41772 (vreinterpretq_u16_s8): Likewise.
41773 (vreinterpretq_u16_s16): Likewise.
41774 (vreinterpretq_u16_s32): Likewise.
41775 (vreinterpretq_u16_s64): Likewise.
41776 (vreinterpretq_u16_f32): Likewise.
41777 (vreinterpretq_u16_u8): Likewise.
41778 (vreinterpretq_u16_u32): Likewise.
41779 (vreinterpretq_u16_u64): Likewise.
41780 (vreinterpretq_u16_p8): Likewise.
41781 (vreinterpretq_u16_p16): Likewise.
41782 (vreinterpret_u32_s8): Likewise.
41783 (vreinterpret_u32_s16): Likewise.
41784 (vreinterpret_u32_s32): Likewise.
41785 (vreinterpret_u32_s64): Likewise.
41786 (vreinterpret_u32_f32): Likewise.
41787 (vreinterpret_u32_u8): Likewise.
41788 (vreinterpret_u32_u16): Likewise.
41789 (vreinterpret_u32_u64): Likewise.
41790 (vreinterpret_u32_p8): Likewise.
41791 (vreinterpret_u32_p16): Likewise.
41792 (vreinterpretq_u32_s8): Likewise.
41793 (vreinterpretq_u32_s16): Likewise.
41794 (vreinterpretq_u32_s32): Likewise.
41795 (vreinterpretq_u32_s64): Likewise.
41796 (vreinterpretq_u32_f32): Likewise.
41797 (vreinterpretq_u32_u8): Likewise.
41798 (vreinterpretq_u32_u16): Likewise.
41799 (vreinterpretq_u32_u64): Likewise.
41800 (vreinterpretq_u32_p8): Likewise.
41801 (vreinterpretq_u32_p16): Likewise.
41803 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
41805 * gcc/config/aarch64/aarch64-simd.md (aarch64_s<optab><mode>):
41807 * config/aarch64/aarch64-simd-builtins.def (sqneg): Iterator extended.
41809 * config/aarch64/arm_neon.h (vqneg_s64): New intrinsic.
41810 (vqnegd_s64): Likewise.
41811 (vqabs_s64): Likewise.
41812 (vqabsd_s64): Likewise.
41814 2014-04-22 Richard Henderson <rth@redhat.com>
41816 * config/sparc/sparc.c (sparc_init_modes): Hoist GET_MODE_SIZE
41817 computation to the top of the loop.
41819 2014-04-22 Renlin <renlin.li@arm.com>
41820 Jiong Wang <jiong.wang@arm.com>
41822 * config/aarch64/aarch64.h (aarch64_frame): Delete "fp_lr_offset".
41823 * config/aarch64/aarch64.c (aarch64_layout_frame)
41824 (aarch64_initial_elimination_offset): Likewise.
41826 2014-04-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
41828 * config/aarch64/aarch64.c (aarch64_initial_elimination_offset):
41831 2014-04-22 Richard Sandiford <rdsandiford@googlemail.com>
41833 * machmode.h (bitwise_mode_for_mode): Declare.
41834 * stor-layout.h (bitwise_type_for_mode): Likewise.
41835 * stor-layout.c (bitwise_mode_for_mode): New function.
41836 (bitwise_type_for_mode): Likewise.
41837 * builtins.c (fold_builtin_memory_op): Use it instead of
41838 int_mode_for_mode and build_nonstandard_integer_type.
41840 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
41842 * config.gcc (enable_obsolete): Remove *-*-solaris2.9*.
41843 (*-*-solaris2.[0-9] | *-*-solaris2.[0-9].*): Mark unsupported.
41844 (*-*-solaris2*): Simplify.
41845 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Likewise.
41846 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Remove
41847 *-*-solaris2.9* handling.
41849 * configure.ac (gcc_cv_as_hidden): Remove test for Solaris 9/x86
41851 (gcc_cv_ld_hidden): Remove *-*-solaris2.9* handling.
41852 (ld_tls_support): Remove i?86-*-solaris2.9, sparc*-*-solaris2.9
41853 handling, simplify.
41854 (gcc_cv_as_gstabs_flag): Remove workaround for Solaris 9/x86 as bug.
41855 * configure: Regenerate.
41857 * config/i386/sol2-9.h: Remove.
41859 * doc/install.texi (Specific, i?86-*-solaris2.9): Remove.
41860 (Specific, *-*-solaris2*): Mention Solaris 9 support removal.
41861 Remove Solaris 9 references.
41863 2014-04-22 Vidya Praveen <vidyapraveen@arm.com>
41865 * aarch64.md (float<GPI:mode><GPF:mode>2): Remove.
41866 (floatuns<GPI:mode><GPF:mode>2): Remove.
41867 (<optab><fcvt_target><GPF:mode>2): New pattern for equal width float
41868 and floatuns conversions.
41869 (<optab><fcvt_iesize><GPF:mode>2): New pattern for inequal width float
41870 and floatuns conversions.
41871 * iterators.md (fcvt_target, FCVT_TARGET): Support SF and DF modes.
41872 (w1,w2): New mode attributes for inequal width conversions.
41874 2014-04-22 Renlin Li <Renlin.Li@arm.com>
41876 * config/aarch64/aarch64.c (aarch64_print_operand_address): Adjust
41877 the output asm format.
41879 2014-04-22 James Greenhalgh <james.greenhalgh@arm.com>
41881 * config/aarch64/aarch64-simd.md
41882 (aarch64_cm<optab>di): Always split.
41883 (*aarch64_cm<optab>di): New.
41884 (aarch64_cmtstdi): Always split.
41885 (*aarch64_cmtstdi): New.
41887 2014-04-22 Jakub Jelinek <jakub@redhat.com>
41889 PR tree-optimization/60823
41890 * omp-low.c (ipa_simd_modify_function_body): Go through
41891 all SSA_NAMEs and for those refering to vector arguments
41892 which are going to be replaced adjust SSA_NAME_VAR and,
41893 if it is a default definition, change it into a non-default
41894 definition assigned at the beginning of function from new_decl.
41895 (ipa_simd_modify_stmt_ops): Rewritten.
41896 * tree-dfa.c (set_ssa_default_def): When removing default def,
41897 check for NULL loc instead of NULL *loc.
41899 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
41901 * config/arm/arm.c (arm_hard_regno_mode_ok): Loosen
41902 restrictions on core registers for DImode values in Thumb2.
41904 2014-04-22 Ian Bolton <ian.bolton@arm.com>
41906 * config/arm/arm.md (*anddi_notdi_zesidi): New pattern.
41907 * config/arm/thumb2.md (*iordi_notdi_zesidi): New pattern.
41909 2014-04-22 Ian Bolton <ian.bolton@arm.com>
41911 * config/arm/thumb2.md (*iordi_notdi_di): New pattern.
41912 (*iordi_notzesidi_di): Likewise.
41913 (*iordi_notsesidi_di): Likewise.
41915 2014-04-22 Ian Bolton <ian.bolton@arm.com>
41917 * config/arm/arm-protos.h (tune_params): New struct members.
41918 * config/arm/arm.c: Initialise tune_params per processor.
41919 (thumb2_reorg): Suppress conversion from t32 to t16 when optimizing
41920 for speed, based on new tune_params.
41922 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
41924 * config/aarch64/aarch64-builtins.c (BUILTIN_VDQF_DF): Macro added.
41925 * config/aarch64/aarch64-simd-builtins.def (frintn): Use added macro.
41926 * config/aarch64/aarch64-simd.md (<frint_pattern>): Comment corrected.
41927 * config/aarch64/aarch64.md (<frint_pattern>): Likewise.
41928 * config/aarch64/arm_neon.h (vrnd_f64): Added.
41929 (vrnda_f64): Likewise.
41930 (vrndi_f64): Likewise.
41931 (vrndm_f64): Likewise.
41932 (vrndn_f64): Likewise.
41933 (vrndp_f64): Likewise.
41934 (vrndx_f64): Likewise.
41936 2014-04-22 Zhenqiang Chen <zhenqiang.chen@linaro.org>
41938 * config/arm/arm.c (arm_print_operand, thumb_exit): Make sure
41939 GET_MODE_SIZE argument is enum machine_mode.
41941 2014-04-22 Jakub Jelinek <jakub@redhat.com>
41944 * config/sparc/sparc.c (sparc_init_modes): Pass enum machine_mode
41945 value instead of int to GET_MODE_CLASS and GET_MODE_SIZE macros.
41947 2014-04-22 Lin Zuojian <manjian2006@gmail.com>
41949 PR middle-end/60281
41950 * asan.c (asan_emit_stack_protection): Force the base to align to
41951 appropriate bits if STRICT_ALIGNMENT. Set shadow_mem align to
41952 appropriate bits if STRICT_ALIGNMENT.
41953 * cfgexpand.c (expand_stack_vars): Set base_align appropriately
41955 (expand_used_vars): Leave a space in the stack frame for alignment
41956 if STRICT_ALIGNMENT.
41958 2014-04-21 David Malcolm <dmalcolm@redhat.com>
41960 * gimple.h (gimple_assign_single_p): Accept a const_gimple rather
41962 (gimple_store_p): Likewise.
41963 (gimple_assign_load_p): Likewise.
41964 (gimple_assign_cast_p): Likewise.
41965 (gimple_clobber_p): Likewise.
41967 * doc/gimple.texi (gimple_assign_cast_p): Accept a const_gimple
41968 rather than a gimple.
41969 (gimple_assign_cast_p): Likewise.
41971 2014-04-21 Michael Meissner <meissner@linux.vnet.ibm.com>
41974 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case):
41975 If mode is DDmode and TARGET_E500_DOUBLE allow move.
41977 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some
41978 more debug information for E500 if -mdebug=reg.
41980 2014-04-21 Uros Bizjak <ubizjak@gmail.com>
41983 * config/i386/i386.c (ix86_expand_builtin)
41984 <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary
41985 register for target RTX.
41986 <case IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Ditto.
41988 2014-04-18 Cong Hou <congh@google.com>
41990 * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Enhance
41991 the widen-mult pattern by handling two operands with different sizes,
41992 and operands whose size is smaller than half of the result type.
41994 2014-04-18 Jan Hubicka <hubicka@ucw.cz>
41996 * ipa-inline.h (INLINE_HINT_known_hot): New hint.
41997 * ipa-inline-analysis.c (dump_inline_hints): Dump it.
41998 (do_estimate_edge_time): Compute it.
41999 * ipa-inline.c (want_inline_small_function_p): Bypass
42000 INLINE_INSNS_AUTO/SINGLE limits for calls that are known to be hot.
42002 2014-04-18 Jan Hubicka <hubicka@ucw.cz>
42004 * ipa-inline.c (spec_rem): New static variable.
42005 (dump_overall_stats): New function.
42006 (dump_inline_stats): New function.
42008 2014-04-18 Richard Henderson <rth@redhat.com>
42010 * config/aarch64/aarch64.c (aarch64_register_move_cost): Pass a mode
42011 to GET_MODE_SIZE, not a reg_class_t.
42013 2014-04-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
42015 * config/rs6000/vsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian.
42016 (vsx_xxmrglw_<mode>): Likewise.
42018 2014-04-17 Michael Meissner <meissner@linux.vnet.ibm.com>
42021 * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Make sure
42022 GET_MODE_SIZE gets passed an enum machine_mode type and not integer.
42023 (rs6000_init_hard_regno_mode_ok): Likewise.
42025 2014-04-17 Jan Hubicka <hubicka@ucw.cz>
42027 * ipa-inline.c (inline_small_functions): Account only non-cold
42029 * doc/invoke.texi (inline-unit-growth): Update documentation.
42031 2014-04-17 Pat Haugen <pthaugen@us.ibm.com>
42033 * config/rs6000/rs6000.md (addti3, subti3): New.
42035 2014-04-17 H.J. Lu <hongjiu.lu@intel.com>
42038 * config/i386/i386.c (ix86_expand_clear): Remove outdated
42039 comment. Check optimize_insn_for_size_p instead of
42040 optimize_insn_for_speed_p.
42042 2014-04-17 Martin Jambor <mjambor@suse.cz>
42044 * gimple-iterator.c (gsi_start_edge): New function.
42045 * gimple-iterator.h (gsi_start_edge): Declare.
42046 * tree-sra.c (single_non_eh_succ): New function.
42047 (disqualify_ops_if_throwing_stmt): Renamed to
42048 disqualify_if_bad_bb_terminating_stmt. Allow throwing statements
42049 having one non-EH successor BB.
42050 (sra_modify_expr): If stmt ends bb, use single non-EH successor to
42051 generate loads into replacements.
42052 (sra_modify_assign): Likewise and and also use the simple path for
42054 (sra_modify_function_body): Commit statements on edges.
42056 2014-04-17 Richard Biener <rguenther@suse.de>
42058 PR middle-end/60849
42059 * tree-ssa-propagate.c (valid_gimple_rhs_p): Allow vector
42060 comparison results and add clarifying comment.
42062 2014-04-17 Jakub Jelinek <jakub@redhat.com>
42064 * genmodes.c (struct mode_data): Add need_bytesize_adj field.
42065 (blank_mode): Initialize it.
42066 (emit_mode_size_inline, emit_mode_nunits_inline,
42067 emit_mode_inner_inline): New functions.
42068 (emit_insn_modes_h): Call them and surround their output with
42069 #if GCC_VERSION >= 4001 ... #endif.
42070 * machmode.h (GET_MODE_SIZE, GET_MODE_NUNITS, GET_MODE_INNER):
42071 For GCC_VERSION >= 4001 use mode_*_inline routines instead of
42072 mode_* arrays if the argument is __builtin_constant_p.
42073 * lower-subreg.c (dump_choices): Make sure GET_MODE_SIZE argument
42074 is enum machine_mode.
42076 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
42078 * passes.c (opt_pass::execute): Adjust.
42079 (pass_manager::execute_pass_mode_switching): Likewise.
42080 (early_local_passes::execute): Likewise.
42081 (execute_one_pass): Pass cfun to the pass's execute method.
42082 * tree-pass.h (opt_pass::execute): Add function * argument.
42083 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
42084 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
42085 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
42086 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
42087 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
42088 config/sparc/sparc.c, cprop.c, dce.c, df-core.c, dse.c, dwarf2cfi.c,
42089 except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c,
42090 gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
42091 graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
42092 ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c,
42093 ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c,
42094 lower-subreg.c, mode-switching.c, omp-low.c, postreload-gcse.c,
42095 postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c,
42096 reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c,
42097 store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
42098 tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
42099 tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
42100 tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-ssa-ccp.c,
42101 tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c,
42102 tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
42103 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
42104 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
42105 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
42106 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
42107 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
42108 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
42109 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
42110 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
42111 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
42114 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
42116 * passes.c (opt_pass::gate): Take function * argument.
42117 (gate_all_early_local_passes): Merge into
42118 (early_local_passes::gate): this.
42119 (gate_all_early_optimizations): Merge into
42120 (all_early_optimizations::gate): this.
42121 (gate_all_optimizations): Mege into
42122 (all_optimizations::gate): this.
42123 (gate_all_optimizations_g): Merge into
42124 (all_optimizations_g::gate): this.
42125 (gate_rest_of_compilation): Mege into
42126 (rest_of_compilation::gate): this.
42127 (gate_postreload): Merge into
42128 (postreload::gate): this.
42129 (dump_one_pass): Pass cfun to the pass's gate method.
42130 (execute_ipa_summary_passes): Likewise.
42131 (execute_one_pass): Likewise.
42132 (ipa_write_summaries_2): Likewise.
42133 (ipa_write_optimization_summaries_1): Likewise.
42134 (ipa_read_summaries_1): Likewise.
42135 (ipa_read_optimization_summaries_1): Likewise.
42136 (execute_ipa_stmt_fixups): Likewise.
42137 * tree-pass.h (opt_pass::gate): Add function * argument.
42138 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c,
42139 combine-stack-adj.c, combine.c, compare-elim.c,
42140 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
42141 config/rl78/rl78.c, config/sh/sh_optimize_sett_clrt.cc,
42142 config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c,
42143 dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c, fwprop.c, gcse.c,
42144 gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
42145 graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
42146 ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
42147 loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c,
42148 omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
42149 reg-stack.c, regcprop.c, regrename.c, reorg.c, sched-rgn.c,
42150 store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
42151 tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
42152 tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c,
42153 tree-nrv.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
42154 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
42155 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
42156 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
42157 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
42158 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
42159 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
42160 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
42161 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
42162 tree-ssa.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c,
42163 tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tsan.c, ubsan.c,
42164 var-tracking.c, vtable-verify.c, web.c: Adjust.
42166 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
42168 * configure.ac: Check for -Woverloaded-virtual and enable it if found.
42169 * configure: Regenerate.
42171 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
42173 * passes.c (dump_one_pass): don't check pass->has_gate.
42174 (execute_ipa_summary_passes): Likewise.
42175 (execute_one_pass): Likewise.
42176 (ipa_write_summaries_2): Likewise.
42177 (ipa_write_optimization_summaries_1): Likewise.
42178 (ipa_read_optimization_summaries_1): Likewise.
42179 (execute_ipa_stmt_fixups): Likewise.
42180 * tree-pass.h (pass_data::has_gate): Remove.
42181 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
42182 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
42183 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
42184 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
42185 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
42186 config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
42187 config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
42188 dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
42189 gimple-low.c, gimple-ssa-isolate-paths.c,
42190 gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
42191 ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
42192 ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
42193 ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c,
42194 modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c,
42195 recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
42196 reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c,
42197 trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c,
42198 tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c,
42199 tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
42200 tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
42201 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
42202 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
42203 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
42204 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
42205 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
42206 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
42207 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
42208 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
42209 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
42210 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
42211 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
42214 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
42216 * pass_manager.h (pass_manager::register_dump_files_1): Remove
42218 * passes.c (pass_manager::register_dump_files_1): Merge into
42219 (pass_manager::register_dump_files): this, and remove its handling of
42220 properties since the pass always has the properties anyway.
42221 (pass_manager::pass_manager): Adjust.
42223 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
42225 * pass_manager.h (pass_manager::register_dump_files_1): Adjust.
42226 * passes.c (pass_manager::register_dump_files_1): Remove dead code
42227 dealing with properties.
42228 (pass_manager::register_dump_files): Adjust.
42230 2014-03-20 Mark Wielaard <mjw@redhat.com>
42232 * dwarf2out.c (add_bound_info): If HOST_WIDE_INT is big enough,
42233 then represent the bound as normal constant value.
42235 2014-04-17 Jakub Jelinek <jakub@redhat.com>
42238 Forward port from 4.8 branch
42239 2013-07-19 Kirill Yukhin <kirill.yukhin@intel.com>
42241 * config/i386/bmiintrin.h (_blsi_u32): New.
42242 (_blsi_u64): Ditto.
42243 (_blsr_u32): Ditto.
42244 (_blsr_u64): Ditto.
42245 (_blsmsk_u32): Ditto.
42246 (_blsmsk_u64): Ditto.
42247 (_tzcnt_u32): Ditto.
42248 (_tzcnt_u64): Ditto.
42250 2014-04-17 Kito Cheng <kito@0xlab.org>
42252 * gcc.c (used_arg): Prevent out of bound access for multilib_options.
42254 2014-04-17 Richard Biener <rguenther@suse.de>
42256 PR middle-end/60849
42257 * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective
42258 boolean results for comparisons.
42260 2014-04-17 Richard Biener <rguenther@suse.de>
42262 PR tree-optimization/60836
42263 * tree-vect-loop.c (vect_create_epilog_for_reduction): Force
42264 initial PHI args to be gimple values.
42266 2014-04-17 Richard Biener <rguenther@suse.de>
42268 PR tree-optimization/60841
42269 * tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts.
42270 * tree-vect-loop.c (vect_analyze_loop_2): Pass down number
42271 of stmts to SLP build.
42272 * tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise.
42273 (vect_analyze_slp): Likewise.
42274 (vect_analyze_slp_instance): Likewise.
42275 (vect_build_slp_tree): Limit overall SLP tree growth.
42276 * tree-vectorizer.h (vect_analyze_data_refs,
42277 vect_analyze_slp): Adjust prototypes.
42279 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
42281 * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for
42284 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
42286 * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition.
42287 * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag.
42288 * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles
42289 for TARGET_SLOW_PSHUFB
42291 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
42293 * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost.
42294 * config/i386/i386.c (intel_cost): Ditto.
42296 2014-04-17 Joey Ye <joey.ye@arm.com>
42298 * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og.
42300 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
42302 * opts.c (common_handle_option): Disable -fipa-reference coorectly
42303 with -fuse-profile.
42305 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
42307 * ipa-devirt.c (odr_type_d): Add field all_derivations_known.
42308 (type_all_derivations_known_p): New predicate.
42309 (type_all_ctors_visible_p): New predicate.
42310 (type_possibly_instantiated_p): New predicate.
42311 (get_odr_type): Compute all_derivations_known.
42312 (dump_odr_type): Dump the flag.
42313 (maybe_record_type): Cleanup.
42314 (record_target_from_binfo): Add bases_to_consider array;
42315 record bases for types w/o instances and skip CXX destructor.
42316 (possible_polymorphic_call_targets_1): Add bases_to_consider
42317 and consider_construction parameters; check if type may have instance.
42318 (get_polymorphic_call_info): Set maybe_in_construction to true
42319 when we know nothing.
42320 (record_targets_from_bases): Skip CXX destructors; they are
42321 never called for types in construction.
42322 (possible_polymorphic_call_targets): Do not record target when
42323 type may not have instance.
42325 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
42328 * ipa.c (symtab_remove_unreachable_nodes): Mark targets of
42329 external aliases alive, too.
42331 2014-04-16 Andrew Pinski <apinski@cavium.com>
42333 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32
42336 2014-04-16 Eric Botcazou <ebotcazou@adacore.com>
42338 * final.c (compute_alignments): Do not apply loop alignment to a block
42339 falling through to the exit.
42341 2014-04-16 Catherine Moore <clm@codesourcery.com>
42343 * mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal):
42344 Adjust constraints for microMIPS store patterns.
42346 2014-04-16 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
42348 * config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro.
42350 2014-04-16 Eric Botcazou <ebotcazou@adacore.com>
42352 * tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.
42353 (append_use): Run at -O0.
42354 (append_vdef): Likewise.
42355 * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0.
42356 * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment.
42358 2014-04-16 Jakub Jelinek <jakub@redhat.com>
42360 PR tree-optimization/60844
42361 * tree-ssa-reassoc.c (reassoc_remove_stmt): New function.
42362 (propagate_op_to_single_use, remove_visited_stmt_chain,
42363 linearize_expr, repropagate_negates, reassociate_bb): Use it
42364 instead of gsi_remove.
42366 2014-04-16 Martin Jambor <mjambor@suse.cz>
42368 * cgraphclones.c (cgraph_create_virtual_clone): Duplicate
42369 ipa_transforms_to_apply.
42370 (cgraph_function_versioning): Assert that old_node has empty
42371 ipa_transforms_to_apply.
42372 * trans-mem.c (ipa_tm_create_version): Likewise.
42373 * tree-inline.c (tree_function_versioning): Do not duplicate
42374 ipa_transforms_to_apply.
42376 2014-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
42379 * configure.ac (set_have_as_tls): Merge i[34567]86-*-* and
42381 Pass necessary as flags on 64-bit Solaris/x86.
42382 Use lowercase relocs for x86_64-*-*.
42383 * configure: Regenerate.
42385 2014-04-15 Jan Hubicka <jh@suse.cz>
42387 * ipa-devirt.c (referenced_from_vtable_p): New predicate.
42388 (maybe_record_node, likely_target_p): Use it.
42390 2014-04-15 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
42393 Revert following patch
42395 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
42398 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
42399 software floating point or no floating point registers, do not
42400 allow any type in the FPRs. Eliminate a test for SPE SIMD types
42401 in GPRs that occurs after we tested for GPRs that would never be
42404 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
42405 Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
42406 since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE,
42407 specifically allow DDmode, since that does not use the SPE SIMD
42410 2014-03-21 Mark Wielaard <mjw@redhat.com>
42412 * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value
42413 as unsigned or int depending on type and value used.
42415 2014-04-15 Richard Biener <rguenther@suse.de>
42417 PR rtl-optimization/56965
42418 * alias.c (ncr_compar, nonoverlapping_component_refs_p): Move ...
42419 * tree-ssa-alias.c (ncr_compar, nonoverlapping_component_refs_p):
42421 * alias.c (true_dependence_1): Do not call
42422 nonoverlapping_component_refs_p.
42423 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Call
42424 nonoverlapping_component_refs_p.
42425 (indirect_refs_may_alias_p): Likewise.
42427 2014-04-15 Teresa Johnson <tejohnson@google.com>
42429 * cfg.c (dump_bb_info): Fix flags check.
42430 * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing.
42432 2014-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
42434 PR rtl-optimization/60663
42435 * config/arm/arm.c (arm_new_rtx_costs): Improve ASM_OPERANDS case,
42438 2014-04-15 Richard Biener <rguenther@suse.de>
42440 * lto-streamer.h (LTO_major_version): Bump to 4.
42442 2014-04-15 Richard Biener <rguenther@suse.de>
42444 * common.opt (lto_partition_model): New enum.
42445 (flto-partition=): Merge separate options with a single with argument,
42446 add -flto-partition=one support.
42447 * flag-types.h (enum lto_partition_model): Declare.
42448 * opts.c (finish_options): Remove duplicate -flto-partition=
42450 * lto-wrapper.c (run_gcc): Adjust.
42452 2014-04-15 Richard Biener <rguenther@suse.de>
42454 * alias.c (ncr_compar): New function.
42455 (nonoverlapping_component_refs_p): Re-implement in O (n log n).
42457 2014-04-15 Richard Biener <rguenther@suse.de>
42459 * alias.c (record_component_aliases): Do not walk BINFOs.
42461 2014-04-15 Richard Biener <rguenther@suse.de>
42463 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
42464 Add struct function argument and adjust.
42465 (find_func_aliases_for_call): Likewise.
42466 (find_func_aliases): Likewise.
42467 (find_func_clobbers): Likewise.
42468 (intra_create_variable_infos): Likewise.
42469 (compute_points_to_sets): Likewise.
42470 (ipa_pta_execute): Adjust. Do not push/pop cfun.
42472 2014-04-15 Richard Biener <rguenther@suse.de>
42474 * tree.c (iterative_hash_expr): Use enum tree_code_class
42475 to store TREE_CODE_CLASS.
42476 (tree_block): Likewise.
42477 (tree_set_block): Likewise.
42478 * tree.h (fold_build_pointer_plus_loc): Use
42479 convert_to_ptrofftype_loc.
42481 2014-04-15 Jakub Jelinek <jakub@redhat.com>
42484 * Makefile.in (PLUGIN_HEADERS): Add various headers that have been
42487 2014-04-15 Eric Botcazou <ebotcazou@adacore.com>
42489 * cfgloop.h (struct loop): Move force_vectorize down.
42490 * gimplify.c (gimple_boolify) <ANNOTATE_EXPR>: Handle new kinds.
42491 (gimplify_expr) <ANNOTATE_EXPR>: Minor tweak.
42492 * lto-streamer-in.c (input_cfg): Read dont_vectorize field.
42493 * lto-streamer-out.c (output_cfg): Write dont_vectorize field.
42494 * tree-cfg.c (replace_loop_annotate): Revamp and handle new kinds.
42495 * tree-core.h (enum annot_expr_kind): Add new kind values.
42496 * tree-inline.c (copy_loops): Copy dont_vectorize field and reorder.
42497 * tree-pretty-print.c (dump_generic_node) <ANNOTATE_EXPR>: Handle new
42499 * tree.def (ANNOTATE_EXPR): Tweak comment.
42501 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
42503 * ipa-devirt.c (maybe_record_node): Ignore all non-methods (including
42506 2014-04-14 Paolo Carlini <paolo.carlini@oracle.com>
42508 * tree.h (TYPE_IDENTIFIER): Declare.
42509 * tree.c (subrange_type_for_debug_p): Use it.
42510 * godump.c (go_format_type): Likewise.
42511 * dwarf2out.c (is_cxx_auto, modified_type_die,
42512 gen_type_die_with_usage, gen_type_die_with_usage): Likewise.
42513 * dbxout.c (dbxout_type, dbxout_symbol): Likewise.
42515 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
42518 * varpool.c (varpool_remove_node): Do not alter decls when streaming.
42520 2014-04-14 Uros Bizjak <ubizjak@gmail.com>
42522 * config/i386/i386.c (examine_argument): Return bool. Return true if
42523 parameter should be passed in memory.
42524 <case X86_64_COMPLEX_X87_CLASS>: Adjust.
42525 (construct_container): Update calls to examine_argument.
42526 (function_arg_advance_64): Ditto.
42527 (return_in_memory_32): Merge with ix86_return_in_memory.
42528 (return_in_memory_64): Ditto.
42529 (return_in_memory_ms_64): Ditto.
42531 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
42533 * ipa-utils.c (ipa_merge_profiles): Merge profile_id.
42534 * coverage.c (coverage_compute_profile_id): Handle externally visible
42537 2014-04-14 Martin Jambor <mjambor@suse.cz>
42539 * tree-sra.c (ipa_sra_preliminary_function_checks): Skip
42540 DECL_DISREGARD_INLINE_LIMITS functions.
42542 2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
42545 * config/i386/i386.md (*fixuns_trunc<mode>_1): Revert the last change.
42547 2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
42550 * config/i386/i386.md (*fixuns_trunc<mode>_1): Check
42551 optimize_insn_for_speed_p instead of
42552 optimize_function_for_speed_p.
42554 2014-04-14 Yufeng Zhang <yufeng.zhang@arm.com>
42556 * doc/invoke.texi (free): Document AArch64.
42558 2014-04-14 Richard Biener <rguenther@suse.de>
42560 PR tree-optimization/60042
42561 * tree-ssa-pre.c (inhibit_phi_insertion): Remove.
42562 (insert_into_preds_of_block): Do not prevent PHI insertion
42563 for REFERENCE exprs here ...
42564 (eliminate_dom_walker::before_dom_children): ... but prevent
42565 their use here under similar conditions when applied to the
42566 IL after PRE optimizations.
42568 2014-04-14 Richard Biener <rguenther@suse.de>
42570 * passes.def: Move early points-to after early SRA.
42572 2014-04-14 Richard Biener <rguenther@suse.de>
42574 * tree-ssa-forwprop.c (simplify_gimple_switch): Enhance
42575 check for which sign-changes we allow when forwarding
42576 a converted value into a switch.
42578 2014-04-14 Eric Botcazou <ebotcazou@adacore.com>
42580 * stor-layout.c (place_field): Finalize non-constant offset for the
42583 2014-04-14 Richard Biener <rguenther@suse.de>
42585 * tree-switch-conversion.c (lshift_cheap_p): Get speed_p
42587 (expand_switch_using_bit_tests_p): Likewise.
42588 (process_switch): Compute and pass on speed_p based on the
42590 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Use
42591 optimize_bb_for_speed_p.
42593 2014-04-14 Eric Botcazou <ebotcazou@adacore.com>
42595 * cfgloop.h (struct loop): Rename force_vect into force_vectorize.
42596 * function.h (struct function): Rename has_force_vect_loops into
42597 has_force_vectorize_loops.
42598 * lto-streamer-in.c (input_cfg): Adjust for renaming.
42599 (input_struct_function_base): Likewise.
42600 * lto-streamer-out.c (output_cfg): Likewise.
42601 (output_struct_function_base): Likewise.
42602 * omp-low.c (expand_omp_simd): Likewise.
42603 * tree-cfg.c (move_sese_region_to_fn): Likewise.
42604 * tree-if-conv.c (ifcvt_can_use_mask_load_store): Likewise.
42605 (version_loop_for_if_conversion): Likewise.
42606 (tree_if_conversion): Likewise.
42607 (main_tree_if_conversion): Likewise.
42608 (gate_tree_if_conversion): Likewise.
42609 * tree-inline.c (copy_loops): Likewise.
42610 * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Likewise.
42611 * tree-ssa-loop.c (tree_loop_vectorize): Likewise.
42612 * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Likewise.
42613 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Likewise.
42614 * tree-vectorizer.c (vectorize_loops): Likewise.
42615 * tree-vectorizer.h (unlimited_cost_model): Likewise.
42617 2014-04-14 Richard Biener <rguenther@suse.de>
42620 * lto-streamer-out.c (wrap_refs): New function.
42621 (lto_output): Wrap symbol references in global initializes in
42622 type-preserving MEM_REFs.
42624 2014-04-14 Christian Bruel <christian.bruel@st.com>
42626 * config/sh/sh-mem.cc (sh_expand_strlen): Unroll last word.
42628 2014-04-14 Christian Bruel <christian.bruel@st.com>
42630 * config/sh/sh.md (setmemqi): New expand pattern.
42631 * config/sh/sh.h (CLEAR_RATIO): Define.
42632 * config/sh/sh-mem.cc (sh_expand_setmem): Define.
42633 * config/sh/sh-protos.h (sh_expand_setmem): Declare.
42635 2014-04-14 Richard Biener <rguenther@suse.de>
42637 PR middle-end/55022
42638 * fold-const.c (negate_expr_p): Don't negate directional rounding
42640 (fold_negate_expr): Likewise.
42642 2014-04-14 Richard Biener <rguenther@suse.de>
42644 PR tree-optimization/59817
42645 PR tree-optimization/60453
42646 * graphite-scop-detection.c (graphite_can_represent_scev): Complete
42647 recursion to catch all CHRECs in the scalar evolution and restrict
42648 the predicate for the remains appropriately.
42650 2014-04-12 Catherine Moore <clm@codesourcery.com>
42652 * config/mips/constraints.md: Add new register constraint "kb".
42653 * config/mips/mips.md (*mov<mode>_internal): Use constraint "kb".
42654 (*movhi_internal): Likewise.
42655 (*movqi_internal): Likewise.
42656 * config/mips/mips.h (M16_STORE_REGS): New register class.
42657 (REG_CLASS_NAMES): Add M16_STORE_REGS.
42658 (REG_CLASS_CONTENTS): Likewise.
42659 * config/mips/mips.c (mips_regno_to_class): Add M16_STORE_REGS.
42661 2014-04-11 Tobias Burnus <burnus@net-b.de>
42664 * doc/invoke.texi (-Wformat-signedness): Document it.
42665 (Wformat=2): Mention that this enables -Wformat-signedness.
42667 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
42669 * common/config/epiphany/epiphany-common.c
42670 (epiphany_option_optimization_table): Enable section anchors by
42671 default at -O1 or higher.
42672 * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define.
42673 (TARGET_MIN_ANCHOR_OFFSET): Likewise.
42674 (epiphany_rtx_costs) <SET>: For binary operators, the set as such
42675 carries no extra cost.
42676 (epiphany_legitimate_address_p): For BLKmode, apply SImode check.
42677 * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define.
42678 * config/epiphany/predicates.md (memclob_operand): New predicate.
42679 * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str):
42680 Use memclob_operand predicate and X constraint for operand 3.
42682 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
42684 * config/epiphany/epiphany.c (epiphany_rtx_cost): Compare
42685 with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for
42688 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
42690 PR rtl-optimization/60651
42691 * mode-switching.c (optimize_mode_switching): Make sure to emit
42692 sets of a lower numbered entity before sets of a higher numbered
42693 entity to a mode of the same or lower priority.
42694 When creating a seginfo for a basic block that starts with a code
42695 label, move the insertion point past the code label.
42696 (new_seginfo): Document and enforce requirement that
42697 NOTE_INSN_BASIC_BLOCK only appears for empty blocks.
42698 * doc/tm.texi.in: Document ordering constraint for emitted mode sets.
42699 * doc/tm.texi: Regenerate.
42701 2014-01-11 Joern Rennecke <joern.rennecke@embecosm.com>
42704 * config/arc/arc.c (arc_save_restore): Fix assert typo.
42706 2013-04-11 Jakub Jelinek <jakub@redhat.com>
42708 * BASE-VER: Set to 4.10.0.
42710 2014-04-11 Tobias Burnus <burnus@net-b.de>
42713 * doc/bugreport.texi (Bugs): Remove nodes pointing to the nirvana.
42714 * doc/gcc.texi (Service): Update description in the @menu
42715 * doc/invoke.texi (Option Summary): Remove misplaced and
42718 2014-04-11 Steve Ellcey <sellcey@mips.com>
42719 Jakub Jelinek <jakub@redhat.com>
42721 PR middle-end/60556
42722 * expr.c (convert_move): Use emit_store_flag_force instead of
42723 emit_store_flag. Pass lowpart_mode instead of VOIDmode as 5th
42726 2014-04-11 Richard Biener <rguenther@suse.de>
42728 PR middle-end/60797
42729 * varasm.c (assemble_alias): Avoid endless error reporting
42730 recursion by setting TREE_ASM_WRITTEN.
42732 2014-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42734 * config/s390/s390.md: Add a splitter for NOT rtx.
42736 2014-04-11 Jakub Jelinek <jakub@redhat.com>
42738 PR rtl-optimization/60663
42739 * cse.c (cse_insn): Set src_volatile on ASM_OPERANDS in PARALLEL.
42741 2014-04-10 Jan Hubicka <hubicka@ucw.cz>
42742 Jakub Jelinek <jakub@redhat.com>
42745 * ipa.c (function_and_variable_visibility): Copy forced_by_abi
42746 flag from decl_node to node.
42748 2014-04-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
42751 * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define
42752 (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's
42753 ameliorating the cases where it can be.
42755 2014-04-09 David Edelsohn <dje.gcc@gmail.com>
42758 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>
42760 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
42761 (loadsync_<mode>): Change mode.
42762 (load_quadpti, store_quadpti): New.
42763 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
42764 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
42765 * config/rs6000/predicates.md (quad_memory_operand): !TARGET_SYNC_TI.
42767 2014-04-09 Cong Hou <congh@google.com>
42770 * doc/sourcebuild.texi (vect_widen_mult_si_to_di_pattern): Add
42773 2014-04-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
42775 * config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand
42776 instead of vnor to exploit possible fusion opportunity in the
42778 (altivec_expand_vec_perm_const_le): Likewise.
42780 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>
42782 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
42783 (loadsync_<mode>): Change mode.
42784 (load_quadpti, store_quadpti): New.
42785 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
42786 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
42788 2014-04-08 Richard Sandiford <rdsandiford@googlemail.com>
42791 * config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode.
42792 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly.
42793 Use gen_rtx_REG rather than simplify_gen_subreg for op0_di.
42795 2014-04-08 Richard Biener <rguenther@suse.de>
42797 PR middle-end/60706
42798 * tree-pretty-print.c (pp_double_int): For HWI32 hosts with
42799 a 64bit widest int print double-int similar to on HWI64 hosts.
42801 2014-04-08 Richard Biener <rguenther@suse.de>
42803 PR tree-optimization/60785
42804 * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat
42805 default defs properly.
42807 2014-04-08 Nathan Sidwell <nathan@codesourcery.com>
42809 * doc/invoke (Wnon-virtual-dtor): Update to match implementation.
42810 (Weffc++): Likewise.
42812 2014-04-07 Jan Hubicka <hubcika@ucw.cz>
42814 * ipa-devirt.c (maybe_record_node): When node is not recorded,
42815 set completep to false rather than true.
42817 2014-04-07 Douglas B Rupp <rupp@adacore.com>
42820 * config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from
42821 ARM_TARGET2_DWARF_FORMAT.
42823 2014-04-07 Charles Baylis <charles.baylis@linaro.org>
42826 * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove.
42827 (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after
42830 2014-04-07 Richard Biener <rguenther@suse.de>
42832 PR tree-optimization/60766
42833 * tree-ssa-loop-ivopts.c (cand_value_at): Compute in an unsigned type.
42834 (may_eliminate_iv): Convert cand_value_at result to desired type.
42836 2014-04-07 Jason Merrill <jason@redhat.com>
42839 * common.opt (-fno-gnu-unique): Add.
42840 * config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.
42842 2014-04-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
42844 * haifa-sched.c: Fix outdated function reference and minor
42845 grammar errors in introductory comment.
42847 2014-04-07 Richard Biener <rguenther@suse.de>
42849 PR middle-end/60750
42850 * tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs
42851 for noreturn calls.
42852 * tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs.
42854 2014-04-06 John David Anglin <danglin@gcc.gnu.org>
42857 * config/pa/pa.c (pa_output_function_epilogue): Skip address and code
42858 size accounting for thunks.
42859 (pa_asm_output_mi_thunk): Use final_start_function() and
42860 final_end_function() to output function start and end directives.
42862 2014-04-05 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
42864 * config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have
42865 device specific ISA/ feature information. Remove short_sp and
42866 errata_skip ds. Add avr_device_specific_features enum to have device
42868 * config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
42869 errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
42870 * config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
42871 updated device specific info.
42872 * config/avr/avr-mcus.def: Merge device specific details to
42873 dev_attribute field.
42874 * config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
42876 * config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
42877 * config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
42878 assembler if RMW isa supported by current device.
42879 * config/avr/genmultilib.awk: Update as device info structure changed.
42880 * doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro
42882 2014-04-04 Cong Hou <congh@google.com>
42884 PR tree-optimization/60656
42885 * tree-vect-stmts.c (supportable_widening_operation):
42886 Fix a bug that elements in a vector with vect_used_by_reduction
42887 property are incorrectly reordered when the operation on it is not
42888 consistant with the one in reduction operation.
42890 2014-04-04 John David Anglin <danglin@gcc.gnu.org>
42892 PR rtl-optimization/60155
42893 * gcse.c (record_set_data): New function.
42894 (single_set_gcse): New function.
42895 (gcse_emit_move_after): Use single_set_gcse instead of single_set.
42896 (hoist_code): Likewise.
42897 (get_pressure_class_and_nregs): Likewise.
42899 2014-04-04 Eric Botcazou <ebotcazou@adacore.com>
42901 * explow.c (probe_stack_range): Emit a final optimization blockage.
42903 2014-04-04 Anthony Green <green@moxielogic.com>
42905 * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2): Fix
42908 2014-04-04 Jan Hubicka <hubicka@ucw.cz>
42911 * lto-cgraph.c (input_overwrite_node): Check that partitioning
42912 flags are set only during streaming.
42913 * ipa.c (process_references, walk_polymorphic_call_targets,
42914 symtab_remove_unreachable_nodes): Drop bodies of always inline
42915 after early inlining.
42916 (symtab_remove_unreachable_nodes): Remove always_inline attribute.
42918 2014-04-04 Jakub Jelinek <jakub@redhat.com>
42919 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
42922 * dwarf2out.c (const_ok_for_output_1): Reject expressions
42925 2014-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
42928 * config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation
42930 (cortex_a53_fdivd): Likewise.
42932 2014-04-04 Martin Jambor <mjambor@suse.cz>
42935 * cgraph.h (cgraph_clone_node): New parameter added to declaration.
42936 Adjust all callers.
42937 * cgraph.c (clone_of_p): Also return true if thunks match.
42938 (verify_edge_corresponds_to_fndecl): Removed extraneous call to
42939 cgraph_function_or_thunk_node and an obsolete comment.
42940 * cgraphclones.c (build_function_type_skip_args): Moved upwards in the
42942 (build_function_decl_skip_args): Likewise.
42943 (set_new_clone_decl_and_node_flags): New function.
42944 (duplicate_thunk_for_node): Likewise.
42945 (redirect_edge_duplicating_thunks): Likewise.
42946 (cgraph_clone_node): New parameter args_to_skip, pass it to
42947 redirect_edge_duplicating_thunks which is called instead of
42948 cgraph_redirect_edge_callee.
42949 (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node,
42950 moved setting of a lot of flags to set_new_clone_decl_and_node_flags.
42952 2014-04-04 Jeff Law <law@redhat.com>
42955 * config/arm/predicates.md (const_int_I_operand): New predicate.
42956 (const_int_M_operand): Similarly.
42957 * config/arm/arm.md (insv_zero): Use const_int_M_operand instead of
42959 (insv_t2, extv_reg, extzv_t2): Likewise.
42960 (load_multiple_with_writeback): Similarly for const_int_I_operand.
42961 (pop_multiple_with_writeback_and_return): Likewise.
42962 (vfp_pop_multiple_with_writeback): Likewise
42964 2014-04-04 Richard Biener <rguenther@suse.de>
42967 * tree-ssanames.c (make_ssa_name_fn): Fix assert.
42968 * gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for
42970 * gimplify.h (gimple_add_tmp_var_fn): Declare.
42971 * gimplify.c (gimple_add_tmp_var_fn): New function.
42972 * gimple-expr.h (create_tmp_reg_fn): Declare.
42973 * gimple-expr.c (create_tmp_reg_fn): New function.
42974 * gimple-low.c (record_vars_into): Don't change cfun.
42975 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix
42976 code generation without cfun.
42978 2014-04-04 Thomas Schwinge <thomas@codesourcery.com>
42981 * Makefile.in (install-driver): Fix shell scripting.
42983 2014-04-03 Cong Hou <congh@google.com>
42985 PR tree-optimization/60505
42986 * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
42987 threshold of number of iterations below which no vectorization
42989 * tree-vect-loop.c (new_loop_vec_info):
42990 Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
42991 * tree-vect-loop.c (vect_analyze_loop_operations):
42992 Set LOOP_VINFO_COST_MODEL_THRESHOLD.
42993 * tree-vect-loop.c (vect_transform_loop):
42994 Use LOOP_VINFO_COST_MODEL_THRESHOLD.
42995 * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
42996 of iterations of the loop and see if we should build the epilogue.
42998 2014-04-03 Richard Biener <rguenther@suse.de>
43000 * tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member.
43001 (streamer_tree_cache_create): Adjust.
43002 * tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust
43003 to allow optional nodes array.
43004 (streamer_tree_cache_insert_1): Use next_idx to assign idx.
43005 (streamer_tree_cache_append): Likewise.
43006 (streamer_tree_cache_create): Create nodes array optionally
43007 as specified by parameter.
43008 * lto-streamer-out.c (create_output_block): Avoid maintaining
43009 the node array in the writer cache.
43010 (DFS_write_tree): Remove assertion.
43011 (produce_asm_for_decls): Free the out decl state hash table early.
43012 * lto-streamer-in.c (lto_data_in_create): Adjust for
43013 streamer_tree_cache_create prototype change.
43015 2014-04-03 Richard Biener <rguenther@suse.de>
43017 * tree-streamer-out.c (streamer_write_chain): Do not temporarily
43018 set TREE_CHAIN to NULL_TREE.
43020 2014-04-03 Richard Biener <rguenther@suse.de>
43022 PR tree-optimization/60740
43023 * graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate
43024 over all GIMPLE_COND operands.
43026 2014-04-03 Nathan Sidwell <nathan@codesourcery.com>
43028 * doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
43029 (Weffc++): Remove Scott's numbering, merge lists and reference
43032 2014-04-03 Nick Clifton <nickc@redhat.com>
43034 * config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
43037 2014-04-03 Martin Jambor <mjambor@suse.cz>
43039 * ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
43040 mention gcc_unreachable before failing.
43041 * ipa.c (symtab_remove_unreachable_nodes): Also print order of
43044 2014-04-02 Jan Hubicka <hubicka@ucw.cz>
43047 * ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type
43048 inconsistent code and instead mark the context inconsistent.
43049 (possible_polymorphic_call_targets): For inconsistent contexts
43050 return empty complete list.
43052 2014-04-02 Anthony Green <green@moxielogic.com>
43054 * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2)
43055 (extendqisi2, extendhisi2): Define.
43056 * config/moxie/moxie.h (DEFAULT_SIGNED_CHAR): Change to 0.
43057 (WCHAR_TYPE): Change to unsigned int.
43059 2014-04-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
43061 PR tree-optimization/60733
43062 * gimple-ssa-strength-reduction.c (ncd_with_phi): Change required
43063 insertion point for PHI candidates to be the end of the feeding
43064 block for the PHI argument.
43066 2014-04-02 Vladimir Makarov <vmakarov@redhat.com>
43068 PR rtl-optimization/60650
43069 * lra-constraints.c (process_alt_operands): Decrease reject for
43070 earlyclobber matching.
43072 2014-04-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43074 * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
43076 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43078 * config/spu/spu.c (pad_bb): Do not crash when the last
43079 insn is CODE_FOR_blockage.
43081 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43083 * config/spu/spu.md ("insv"): Fail if bitoffset+bitsize
43084 lies outside the target mode.
43086 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
43089 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
43090 software floating point or no floating point registers, do not
43091 allow any type in the FPRs. Eliminate a test for SPE SIMD types
43092 in GPRs that occurs after we tested for GPRs that would never be
43095 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
43096 Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
43097 since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE,
43098 specifically allow DDmode, since that does not use the SPE SIMD
43101 2014-04-02 Richard Biener <rguenther@suse.de>
43103 PR middle-end/60729
43104 * optabs.c (expand_abs_nojump): Honor flag_trapv only for
43105 MODE_INTs. Properly use negv_optab.
43106 (expand_abs): Likewise.
43108 2014-04-02 Richard Biener <rguenther@suse.de>
43111 * Makefile.in (install-driver): Guard extra installs with special
43114 2014-04-01 Michael Meissner <meissner@linux.vnet.ibm.com>
43116 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
43117 Document vec_vgbbd.
43119 2014-04-01 Richard Henderson <rth@redhat.com>
43122 * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Leave the second
43123 alternative enabled before register allocation.
43125 2014-04-01 Chung-Lin Tang <cltang@codesourcery.com>
43127 * config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
43128 * config/nios2/nios2.c (nios2_function_profiler): Fix addi operand
43130 (nios2_large_got_address): Remove unneeded 'sym' parameter.
43131 (nios2_got_address): Update nios2_large_got_address call site.
43132 (nios2_delegitimize_address): New function.
43133 (TARGET_DELEGITIMIZE_ADDRESS): Define to nios2_delegitimize_address.
43134 * config/nios2/linux.h (GLIBC_DYNAMIC_LINKER): Define.
43135 (LINK_SPEC): Specify dynamic linker using GNU_USER_DYNAMIC_LINKER.
43137 2014-04-01 Martin Husemann <martin@duskware.de>
43139 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
43142 2014-04-01 Richard Sandiford <rdsandiford@googlemail.com>
43144 PR rtl-optimization/60604
43145 * recog.c (general_operand): Incorporate REG_CANNOT_CHANGE_MODE_P
43146 check from register_operand.
43147 (register_operand): Redefine in terms of general_operand.
43148 (nonmemory_operand): Use register_operand for the non-constant cases.
43150 2014-04-01 Richard Biener <rguenther@suse.de>
43152 * gimple.h (struct gimple_statement_base): Align subcode to 16 bits.
43154 2014-04-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
43156 * doc/invoke.texi (mapp-regs): Clarify.
43158 2014-03-31 Ulrich Drepper <drepper@gmail.com>
43160 * config/i386/avx512fintrin.h (__v32hi): Define type.
43161 (__v64qi): Likewise.
43162 (_mm512_set1_epi8): Define.
43163 (_mm512_set1_epi16): Define.
43164 (_mm512_set4_epi32): Define.
43165 (_mm512_set4_epi64): Define.
43166 (_mm512_set4_pd): Define.
43167 (_mm512_set4_ps): Define.
43168 (_mm512_setr4_epi64): Define.
43169 (_mm512_setr4_epi32): Define.
43170 (_mm512_setr4_pd): Define.
43171 (_mm512_setr4_ps): Define.
43172 (_mm512_setzero_epi32): Define.
43174 2014-03-31 Martin Jambor <mjambor@suse.cz>
43176 PR middle-end/60647
43177 * tree-sra.c (callsite_has_enough_arguments_p): Renamed to
43178 callsite_arguments_match_p. Updated all callers. Also check types of
43179 corresponding formal parameters and actual arguments.
43180 (not_all_callers_have_enough_arguments_p) Renamed to
43181 some_callers_have_mismatched_arguments_p.
43183 2014-03-31 Yuri Rumyantsev <ysrumyan@gmail.com>
43185 * tree-inline.c (copy_loops): Add missed copy of 'safelen'.
43187 2014-03-31 Kugan Vivekanandarajah <kuganv@linaro.org>
43190 * aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
43193 2014-03-30 Uros Bizjak <ubizjak@gmail.com>
43195 * config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
43196 (<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>):
43198 <sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>.
43199 Use FMAMODE_NOVF512 mode iterator.
43200 (<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto.
43201 (<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto.
43202 (<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto.
43203 (<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>):
43205 <sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>.
43206 Use VF_128_256 mode iterator.
43207 (<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>):
43210 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
43212 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
43213 static chain if needed.
43215 2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
43218 * lra-constraints.c (index_part_to_reg): New.
43219 (process_address): Use it.
43221 2014-03-27 Jeff Law <law@redhat.com>
43222 Jakub Jelinek <jakub@redhat.com>
43225 * expr.c (do_tablejump): Use simplify_gen_binary rather than
43226 gen_rtx_{PLUS,MULT} to build up the address expression.
43228 * i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid
43229 creating non-canonical RTL.
43231 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
43234 * ipa-inline.c (want_inline_small_function_p): Short circuit large
43235 functions; reorganize to make cheap checks first.
43236 (inline_small_functions): Do not estimate growth when dumping;
43238 * ipa-inline.h (inline_summary): Add min_size.
43239 (growth_likely_positive): New function.
43240 * ipa-inline-analysis.c (dump_inline_summary): Add min_size.
43241 (set_cond_stmt_execution_predicate): Cleanup.
43242 (estimate_edge_size_and_time): Compute min_size.
43243 (estimate_calls_size_and_time): Likewise.
43244 (estimate_node_size_and_time): Likewise.
43245 (inline_update_overall_summary): Update min_size.
43246 (do_estimate_edge_time): Likewise.
43247 (do_estimate_edge_size): Update.
43248 (do_estimate_edge_hints): Update.
43249 (growth_likely_positive): New function.
43251 2014-03-28 Jakub Jelinek <jakub@redhat.com>
43254 * config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg
43255 also if addr has VOIDmode.
43257 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
43259 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New.
43260 * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
43262 * config/arm/cortex-a53.md: Add reservations and bypass for crypto
43263 instructions as well as AdvancedSIMD loads.
43265 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
43267 * config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi):
43268 Use crypto_aese type.
43269 (aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type.
43270 * config/arm/arm.md (is_neon_type): Replace crypto_aes with
43271 crypto_aese, crypto_aesmc. Move to types.md.
43272 * config/arm/types.md (crypto_aes): Split into crypto_aese,
43274 * config/arm/iterators.md (crypto_type): Likewise.
43276 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
43278 * cgraph.c: Include expr.h and tree-dfa.h.
43279 (cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn;
43282 2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
43285 * lra-assigns.c (find_hard_regno_for): Remove unavailable hard
43286 regs from checking multi-reg pseudos.
43288 2014-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
43290 * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule.
43292 2014-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43294 * config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization
43295 if it would clobber the stack pointer, even temporarily.
43297 2014-03-28 Eric Botcazou <ebotcazou@adacore.com>
43299 * mode-switching.c: Make small adjustments to the top comment.
43301 2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com>
43303 * config/rs6000/constraints.md (wD constraint): New constraint to
43304 match the constant integer to get the top DImode/DFmode out of a
43305 vector in a VSX register.
43307 * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to
43308 match the constant integer to get the top DImode/DFmode out of a
43309 vector in a VSX register.
43311 * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
43314 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
43317 * config/rs6000/rs6000.c (rs6000_debug_reg_global): If
43318 -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT.
43320 * config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes):
43321 Optimize vec_extract of 64-bit values, where the value being
43322 extracted is in the top word, where we can use scalar
43323 instructions. Add direct move and store support. Combine the big
43324 endian/little endian vector select load support into a single insn.
43325 (vsx_extract_<mode>_internal1): Likewise.
43326 (vsx_extract_<mode>_internal2): Likewise.
43327 (vsx_extract_<mode>_load): Likewise.
43328 (vsx_extract_<mode>_store): Likewise.
43329 (vsx_extract_<mode>_zero): Delete, big and little endian insns are
43330 combined into vsx_extract_<mode>_load.
43331 (vsx_extract_<mode>_one_le): Likewise.
43333 * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to
43334 define the top 64-bit vector element.
43336 * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD
43339 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
43340 Document vec_vbpermq builtin.
43343 * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
43344 enable use of xxsldwi and xxpermdi builtin functions.
43345 (vec_xxpermdi): Likewise.
43347 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
43348 Document use of vec_xxsldwi and vec_xxpermdi builtins.
43350 2014-03-27 Vladimir Makarov <vmakarov@redhat.com>
43352 PR rtl-optimization/60650
43353 * lra-assign.c (find_hard_regno_for, spill_for): Add parameter
43355 (find_spills_for): New.
43356 (assign_by_spills): Pass the new parameter to find_hard_regno_for.
43357 Spill all pseudos on the second iteration.
43359 2014-03-27 Marek Polacek <polacek@redhat.com>
43362 * doc/extend.texi (ffs Builtins): Change unsigned types to signed
43365 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43367 * config/s390/s390.c (s390_can_use_return_insn): Check for
43368 call-saved FPRs on 31 bit.
43370 2014-03-27 Jakub Jelinek <jakub@redhat.com>
43372 PR middle-end/60682
43373 * omp-low.c (lower_omp_1): For gimple_clobber_p stmts,
43374 if they need regimplification, just drop them instead of
43375 calling gimple_regimplify_operands on them.
43377 2014-03-27 Marcus Shawcroft <marcus.shawcroft@arm.com>
43380 * config/aarch64/aarch64.c (faked_omit_frame_pointer): Remove.
43381 (aarch64_frame_pointer_required): Adjust logic.
43382 (aarch64_can_eliminate): Adjust logic.
43383 (aarch64_override_options_after_change): Adjust logic.
43385 2014-03-27 Dehao Chen <dehao@google.com>
43387 * ipa-inline.c (early_inliner): Update node's inline info.
43389 2014-03-26 Dehao Chen <dehao@google.com>
43391 * dojump.c (do_compare_rtx_and_jump): Sets correct probability for
43392 compiler inserted conditional jumps for NAN float check.
43394 2014-03-26 Jakub Jelinek <jakub@redhat.com>
43396 * ubsan.h (ubsan_create_data): Change second argument's type
43397 to const location_t *.
43398 * ubsan.c (ubsan_source_location): If xloc.file is NULL, set it to
43400 (ubsan_create_data): Change second argument to const location_t *PLOC.
43401 Create Loc field whenever PLOC is non-NULL.
43402 (ubsan_instrument_unreachable, ubsan_expand_null_ifn,
43403 ubsan_build_overflow_builtin, instrument_bool_enum_load): Adjust
43407 * real.c (real_to_integer2): Change type of low to UHWI.
43409 2014-03-26 Tobias Burnus <burnus@net-b.de>
43411 * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
43412 (CILK_SELF_SPECS): New define.
43413 (driver_self_specs): Use it.
43415 2014-03-26 Richard Biener <rguenther@suse.de>
43417 * tree-pretty-print.c (percent_K_format): Implement special
43418 case for LTO and its stripped down BLOCK tree.
43420 2014-03-26 Jakub Jelinek <jakub@redhat.com>
43423 * ubsan.c (instrument_si_overflow): Instrument ABS_EXPR.
43425 * tree-vrp.c (simplify_internal_call_using_ranges): If only
43426 one range is range_int_cst_p, but not both, at least optimize
43427 addition/subtraction of 0 and multiplication by 0 or 1.
43428 * gimple-fold.c (gimple_fold_call): Fold
43429 IFN_UBSAN_CHECK_{ADD,SUB,MUL}.
43430 (gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't
43431 INTEGER_CSTs, try to fold at least x * 0 and y - y.
43433 2014-03-26 Eric Botcazou <ebotcazou@adacore.com>
43435 PR rtl-optimization/60452
43436 * rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment.
43437 <case REG>: Return 1 for invalid offsets from the frame pointer.
43439 2014-03-26 Marek Polacek <polacek@redhat.com>
43442 * doc/extend.texi (C Extensions): Mention variable-length arrays in
43445 2014-03-26 Marek Polacek <polacek@redhat.com>
43448 * doc/extend.texi (Designated Inits): Describe what happens to omitted
43451 2014-03-26 Marek Polacek <polacek@redhat.com>
43454 * ira-color.c (update_conflict_hard_regno_costs): Perform the
43455 multiplication in unsigned type.
43457 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com>
43459 * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.
43461 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com>
43463 * doc/contrib.texi: Add myself as Andes nds32 port contributor.
43465 2014-03-25 Jan Hubicka <hubicka@ucw.cz>
43468 * cif-code.def (UNREACHABLE) New code.
43469 * ipa-inline.c (inline_small_functions): Skip edges to
43470 __builtlin_unreachable.
43471 (estimate_edge_growth): Allow edges to __builtlin_unreachable.
43472 * ipa-inline-analysis.c (edge_set_predicate): Redirect edges with false
43473 predicate to __bulitin_unreachable.
43474 (set_cond_stmt_execution_predicate): Fix issue when
43475 invert_tree_comparison returns ERROR_MARK.
43476 * ipa-pure-const.c (propagate_pure_const, propagate_nothrow): Do not
43477 propagate to inline clones.
43478 * cgraph.c (verify_edge_corresponds_to_fndecl): Allow redirection
43480 * ipa-cp.c (create_specialized_node): Be ready for new node to appear.
43481 * cgraphclones.c (cgraph_clone_node): If call destination is already
43482 ureachable, do not redirect it back.
43483 * tree-inline.c (fold_marked_statements): Hanlde calls becoming
43486 2014-03-25 Jan Hubicka <hubicka@ucw.cz>
43488 * ipa-pure-const.c (propagate_pure_const, propagate_nothrow):
43489 Do not modify inline clones.
43491 2014-03-25 Jakub Jelinek <jakub@redhat.com>
43493 * config/i386/i386.md (general_sext_operand): New mode attr.
43494 (addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT,
43495 don't generate (sign_extend (const_int)).
43496 (*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P
43497 operands[2]. Use We constraint instead of <i> and
43498 <general_sext_operand> predicate instead of <general_operand>.
43499 (*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns.
43500 * config/i386/constraints.md (We): New constraint.
43501 * config/i386/predicates.md (x86_64_sext_operand,
43502 sext_operand): New predicates.
43504 2014-03-25 Martin Jambor <mjambor@suse.cz>
43507 * ipa-cp.c (ipa_get_indirect_edge_target_1): Redirect type
43508 inconsistent devirtualizations to __builtin_unreachable.
43510 2014-03-25 Marek Polacek <polacek@redhat.com>
43513 * doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.
43515 2014-03-25 Alan Lawrence <alan.lawrence@arm.com>
43517 * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Reverse
43518 order of elements for big-endian.
43520 2014-03-25 Richard Biener <rguenther@suse.de>
43522 PR middle-end/60635
43523 * gimplify-me.c (gimple_regimplify_operands): Update the
43526 2014-03-25 Martin Jambor <mjambor@suse.cz>
43529 * lto-cgraph.c (lto_output_node): Stream body_removed flag.
43530 (lto_output_varpool_node): Likewise.
43531 (input_overwrite_node): Likewise.
43532 (input_varpool_node): Likewise.
43534 2014-03-25 Richard Biener <rguenther@suse.de>
43536 * lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like OPT_fpie.
43537 (run_gcc): Likewise.
43539 2014-03-25 Jakub Jelinek <jakub@redhat.com>
43541 * combine.c (simplify_compare_const): Add MODE argument.
43542 Handle mode_width 0 as very large mode_width.
43543 (try_combine, simplify_comparison): Adjust callers.
43545 * cselib.c (cselib_hash_rtx): Perform addition in unsigned
43546 type to avoid signed integer overflow.
43547 * explow.c (plus_constant): Likewise.
43549 2014-03-25 Dominik Vogt <vogt@linux.vnet.ibm.com>
43551 * doc/generic.texi: Correct typos.
43553 2014-03-24 Tobias Burnus <burnus@net-b.de>
43555 * doc/invoke.texi (-flto): Expand section about
43556 using static libraries with LTO.
43558 2014-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43560 PR rtl-optimization/60501
43561 * optabs.def (addptr3_optab): New optab.
43562 * optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
43563 * doc/md.texi ("addptrm3"): Document new RTL standard expander.
43564 * expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.
43566 * lra.c (emit_add3_insn): Use the addptr pattern if available.
43568 * config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.
43570 2014-03-24 Ulrich Drepper <drepper@gmail.com>
43572 * config/i386/avx512fintrin.h: Define _mm512_set1_ps and
43575 * config/i386/avxintrin.h (_mm256_undefined_si256): Define.
43576 (_mm256_undefined_ps): Define.
43577 (_mm256_undefined_pd): Define.
43578 * config/i386/emmintrin.h (_mm_undefined_si128): Define.
43579 (_mm_undefined_pd): Define.
43580 * config/i386/xmmintrin.h (_mm_undefined_ps): Define.
43581 * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define.
43582 (_mm512_undefined_ps): Define.
43583 (_mm512_undefined_pd): Define.
43584 Use _mm*_undefined_*.
43585 * config/i386/avx2intrin.h: Use _mm*_undefined_*.
43587 2014-03-24 Alex Velenko <Alex.Velenko@arm.com>
43589 * config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded.
43590 (lshr_simd): DI mode added.
43591 * config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern.
43592 (aarch64_ushr_simddi): Likewise.
43593 * config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec.
43594 * config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed.
43595 (vshrd_n_u64): Likewise.
43597 2014-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
43599 * Makefile.in (s-macro_list): Depend on cc1.
43601 2014-03-23 Teresa Johnson <tejohnson@google.com>
43603 * ipa-utils.c (ipa_print_order): Use specified dump file.
43605 2014-03-23 Eric Botcazou <ebotcazou@adacore.com>
43607 PR rtl-optimization/60601
43608 * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
43610 * gcc.c (eval_spec_function): Initialize save_growing_value.
43612 2014-03-22 Jakub Jelinek <jakub@redhat.com>
43615 * internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
43616 code == MINUS_EXPR, never swap op0 with op1.
43618 * toplev.c (init_local_tick): Avoid signed integer multiplication
43620 * genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid
43621 shift by first operand's bitsize.
43623 2014-03-21 Jakub Jelinek <jakub@redhat.com>
43626 * config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH,
43627 redefine to 1 or 0.
43628 * config/i386/darwin.h (TARGET_64BIT_P): Redefine to
43629 TARGET_ISA_64BIT_P(x).
43631 2014-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
43633 * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a
43634 pattern for vector nor instead of subtract from splat(-1).
43635 (altivec_expand_vec_perm_const_le): Likewise.
43637 2014-03-21 Richard Henderson <rth@twiddle.net>
43640 * ifcvt.c (dead_or_predicable): Return FALSE if there are any frame
43641 related insns after epilogue_completed.
43643 2014-03-21 Martin Jambor <mjambor@suse.cz>
43646 * cgraph.h (symtab_node): New flag body_removed.
43647 * ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag
43648 when removing bodies.
43649 * symtab.c (dump_symtab_base): Dump body_removed flag.
43650 * cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which
43651 had their bodies removed.
43653 2014-03-21 Martin Jambor <mjambor@suse.cz>
43656 * ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes
43659 2014-03-21 Richard Biener <rguenther@suse.de>
43661 PR tree-optimization/60577
43662 * tree-core.h (struct tree_base): Document nothrow_flag use
43663 in DECL_NONALIASED.
43664 * tree.h (DECL_NONALIASED): New.
43665 (may_be_aliased): Adjust.
43666 * coverage.c (build_var): Set DECL_NONALIASED.
43668 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
43670 * expr.c (expand_expr_real_1): Remove outdated comment.
43672 2014-03-20 Jakub Jelinek <jakub@redhat.com>
43674 PR middle-end/60597
43675 * ira.c (adjust_cleared_regs): Call copy_rtx on
43676 *reg_equiv[REGNO (loc)].src_p before passing it to
43677 simplify_replace_fn_rtx.
43680 * config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
43681 into CONST, put pic register as first operand of PLUS. Use
43682 gen_const_mem for both 32-bit and 64-bit PIC got loads.
43684 2014-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
43686 * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete.
43688 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
43690 * config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
43691 around for store forwarding issue in the FPU on the UT699.
43692 * config/sparc/sparc.md (in_branch_delay): Return false for single FP
43693 loads and operations if -mfix-ut699 is specified.
43694 (divtf3_hq): Tweak attribute.
43695 (sqrttf2_hq): Likewise.
43697 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
43699 * calls.c (store_one_arg): Remove incorrect const qualification on the
43700 type of the temporary.
43701 * cfgexpand.c (expand_return): Likewise.
43702 * expr.c (expand_constructor): Likewise.
43703 (expand_expr_real_1): Likewise.
43705 2014-03-20 Zhenqiang Chen <zhenqiang.chen@linaro.org>
43707 * config/arm/arm.c (arm_dwarf_register_span): Update the element number
43710 2014-03-19 Kaz Kojima <kkojima@gcc.gnu.org>
43713 * config/sh/sh.md (udivsi3_i1): Clobber R1 register.
43715 2014-03-19 James Greenhalgh <james.greenhalgh@arm.com>
43717 * config/arm/aarch-common-protos.h
43718 (alu_cost_table): Fix spelling of "extend".
43719 * config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend".
43721 2014-03-19 Richard Biener <rguenther@suse.de>
43723 PR middle-end/60553
43724 * tree-core.h (tree_type_common): Re-order pointer members
43725 to reduce recursion depth during GC walks.
43727 2014-03-19 Marek Polacek <polacek@redhat.com>
43730 * ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull
43731 before accessing it.
43733 2014-03-19 Richard Biener <rguenther@suse.de>
43736 * lto-streamer-in.c (input_function): In WPA stage do not drop
43739 2014-03-19 Jakub Jelinek <jakub@redhat.com>
43741 PR tree-optimization/60559
43742 * vectorizable_mask_load_store): Replace scalar MASK_LOAD
43743 with build_zero_cst assignment.
43745 2014-03-18 Kai Tietz <ktietz@redhat.com>
43747 PR rtl-optimization/56356
43748 * sdbout.c (sdbout_parms): Verify that parms'
43749 incoming argument is valid.
43750 (sdbout_reg_parms): Likewise.
43752 2014-03-18 Richard Henderson <rth@redhat.com>
43755 * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to
43756 be shadowed by *float<SWI48><MODEF>2_sse. Test X87_ENABLE_FLOAT.
43757 (*float<SWI48><MODEF>2_sse): Check X87_ENABLE_FLOAT for alternative 0.
43759 2014-03-18 Basile Starynkevitch <basile@starynkevitch.net>
43761 * plugin.def: Improve comment for PLUGIN_INCLUDE_FILE.
43762 * doc/plugins.texi (Plugin callbacks): Mention PLUGIN_INCLUDE_FILE.
43763 Italicize plugin event names in description. Explain that
43764 PLUGIN_PRAGMAS has no sense for lto1. Explain PLUGIN_INCLUDE_FILE.
43765 Remind that no GCC functions should be called after PLUGIN_FINISH.
43766 Explain what pragmas with expansion are.
43768 2014-03-18 Martin Liska <mliska@suse.cz>
43770 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when
43771 gimple call statement is update.
43772 * gimple-fold.c (gimple_fold_call): Changed order for GIMPLE_ASSIGN and
43773 GIMPLE_CALL, where gsi iterator still points to GIMPLE CALL.
43775 2014-03-18 Jakub Jelinek <jakub@redhat.com>
43778 * ubsan.c (ubsan_instrument_unreachable): Call
43779 initialize_sanitizer_builtins.
43780 (ubsan_pass): Likewise.
43783 * ubsan.c (ubsan_type_descriptor, ubsan_create_data): Call
43784 varpool_finalize_decl instead of rest_of_decl_compilation.
43786 2014-03-18 Richard Biener <rguenther@suse.de>
43788 * df-problems.c (df_rd_confluence_n): Avoid bitmap_copy
43789 by using bitmap_and_compl instead of bitmap_and_compl_into.
43790 (df_rd_transfer_function): Likewise.
43792 2014-03-18 Richard Biener <rguenther@suse.de>
43794 * doc/lto.texi (fresolution): Fix typo.
43796 2014-03-18 Richard Biener <rguenther@suse.de>
43798 * doc/invoke.texi (flto): Update for changes in 4.9.
43800 2014-03-18 Richard Biener <rguenther@suse.de>
43802 * doc/loop.texi: Remove section on the removed lambda framework.
43803 Update loop docs with recent changes in preserving loop structure.
43805 2014-03-18 Richard Biener <rguenther@suse.de>
43807 * doc/lto.texi (-fresolution): Document.
43809 2014-03-18 Richard Biener <rguenther@suse.de>
43811 * doc/contrib.texi: Adjust my name.
43813 2014-03-18 Jakub Jelinek <jakub@redhat.com>
43816 * internal-fn.c: Include diagnostic-core.h.
43817 (expand_BUILTIN_EXPECT): New function.
43818 * gimplify.c (gimplify_call_expr): Use false instead of FALSE.
43819 (gimplify_modify_expr): Gimplify 3 argument __builtin_expect into
43820 IFN_BUILTIN_EXPECT call instead of __builtin_expect builtin call.
43821 * ipa-inline-analysis.c (find_foldable_builtin_expect): Handle
43822 IFN_BUILTIN_EXPECT.
43823 * predict.c (expr_expected_value_1): Handle IFN_BUILTIN_EXPECT.
43824 Revert 3 argument __builtin_expect code.
43825 (strip_predict_hints): Handle IFN_BUILTIN_EXPECT.
43826 * gimple-fold.c (gimple_fold_call): Likewise.
43827 * tree.h (fold_builtin_expect): New prototype.
43828 * builtins.c (build_builtin_expect_predicate): Add predictor
43829 argument, if non-NULL, create 3 argument __builtin_expect.
43830 (fold_builtin_expect): No longer static. Add ARG2 argument,
43831 pass it through to build_builtin_expect_predicate.
43832 (fold_builtin_2): Adjust caller.
43833 (fold_builtin_3): Handle BUILT_IN_EXPECT.
43834 * internal-fn.def (BUILTIN_EXPECT): New.
43836 2014-03-18 Tobias Burnus <burnus@net-b.de>
43839 * predict.def (PRED_FORTRAN_OVERFLOW, PRED_FORTRAN_FAIL_ALLOC,
43840 PRED_FORTRAN_FAIL_IO, PRED_FORTRAN_WARN_ONCE, PRED_FORTRAN_SIZE_ZERO,
43841 PRED_FORTRAN_INVALID_BOUND, PRED_FORTRAN_ABSENT_DUMMY): Add.
43843 2014-03-18 Jan Hubicka <hubicka@ucw.cz>
43846 * predict.c (combine_predictions_for_bb): Fix up formatting.
43847 (expr_expected_value_1, expr_expected_value): Add predictor argument,
43848 fill what it points to if non-NULL.
43849 (tree_predict_by_opcode): Adjust caller, use the predictor.
43850 * predict.def (PRED_COMPARE_AND_SWAP): Add.
43852 2014-03-18 Eric Botcazou <ebotcazou@adacore.com>
43854 * config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use
43855 proper constant for the store mode.
43857 2014-03-18 Ilya Enkovich <ilya.enkovich@intel.com>
43859 * symtab.c (change_decl_assembler_name): Fix transparent alias
43860 chain construction.
43862 2014-03-16 Renlin Li <Renlin.Li@arm.com>
43864 * config/aarch64/aarch64.c: Correct the comments about the
43865 aarch64 stack layout.
43867 2014-03-18 Thomas Schwinge <thomas@codesourcery.com>
43869 * omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore
43870 check for GF_OMP_FOR_KIND_FOR.
43872 2013-03-18 Kirill Yukhin <kirill.yukhin@intel.com>
43874 * config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add
43875 ymm and zmm register names.
43877 2014-03-17 Jakub Jelinek <jakub@redhat.com>
43880 * config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA
43881 note creation for the 2010-08-31 changes.
43883 2014-03-17 Marek Polacek <polacek@redhat.com>
43885 PR middle-end/60534
43886 * omp-low.c (omp_max_vf): Treat -fno-tree-loop-optimize the same
43887 as -fno-tree-loop-vectorize.
43888 (expand_omp_simd): Likewise.
43890 2014-03-15 Eric Botcazou <ebotcazou@adacore.com>
43892 * config/sparc/sparc-protos.h (tls_call_delay): Delete.
43893 (eligible_for_call_delay): New prototype.
43894 * config/sparc/sparc.c (tls_call_delay): Rename into...
43895 (eligible_for_call_delay): ...this. Return false if the instruction
43896 cannot be put in the delay slot of a branch.
43897 (eligible_for_restore_insn): Simplify.
43898 (eligible_for_return_delay): Return false if the instruction cannot be
43899 put in the delay slot of a branch and simplify.
43900 (eligible_for_sibcall_delay): Return false if the instruction cannot be
43901 put in the delay slot of a branch.
43902 * config/sparc/sparc.md (fix_ut699): New attribute.
43903 (tls_call_delay): Delete.
43904 (in_call_delay): Reimplement.
43905 (eligible_for_sibcall_delay): Rename into...
43906 (in_sibcall_delay): ...this.
43907 (eligible_for_return_delay): Rename into...
43908 (in_return_delay): ...this.
43909 (in_branch_delay): Reimplement.
43910 (in_uncond_branch_delay): Delete.
43911 (in_annul_branch_delay): Delete.
43913 2014-03-14 Richard Henderson <rth@redhat.com>
43916 * config/i386/i386.md (floathi<X87MODEF>2): Delete expander; rename
43917 define_insn from *floathi<X87MODEF>2_i387; allow nonimmediate_operand.
43918 (*floathi<X87MODEF>2_i387_with_temp): Remove.
43919 (floathi splitters): Remove.
43920 (float<SWI48x>xf2): New pattern.
43921 (float<SWI48><MODEF>2): Rename from float<SWI48x><X87MODEF>2. Drop
43922 code that tried to handle DImode for 32-bit, but which was excluded
43923 by the pattern's condition. Drop allocation of stack temporary.
43924 (*floatsi<MODEF>2_vector_mixed_with_temp): Remove.
43925 (*float<SWI48><MODEF>2_mixed_with_temp): Remove.
43926 (*float<SWI48><MODEF>2_mixed_interunit): Remove.
43927 (*float<SWI48><MODEF>2_mixed_nointerunit): Remove.
43928 (*floatsi<MODEF>2_vector_sse_with_temp): Remove.
43929 (*float<SWI48><MODEF>2_sse_with_temp): Remove.
43930 (*float<SWI48><MODEF>2_sse_interunit): Remove.
43931 (*float<SWI48><MODEF>2_sse_nointerunit): Remove.
43932 (*float<SWI48x><X87MODEF>2_i387_with_temp): Remove.
43933 (*float<SWI48x><X87MODEF>2_i387): Remove.
43934 (all float _with_temp splitters): Remove.
43935 (*float<SWI48x><MODEF>2_i387): New pattern.
43936 (*float<SWI48><MODEF>2_sse): New pattern.
43937 (float TARGET_USE_VECTOR_CONVERTS splitters): Merge them.
43938 (float TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters): Merge them.
43940 2014-03-14 Jakub Jelinek <jakub@redhat.com>
43941 Marek Polacek <polacek@redhat.com>
43943 PR middle-end/60484
43944 * common.opt (dump_base_name_prefixed): New Variable.
43945 * opts.c (finish_options): Don't prepend directory to x_dump_base_name
43946 if x_dump_base_name_prefixed is already set, set it at the end.
43948 2014-03-14 Vladimir Makarov <vmakarov@redhat.com>
43950 PR rtl-optimization/60508
43951 * lra-constraints.c (get_reload_reg): Add new parameter
43953 (process_addr_reg, simplify_operand_subreg, curr_insn_transform):
43954 Pass the new parameter values.
43956 2014-03-14 Richard Biener <rguenther@suse.de>
43958 * common.opt: Revert unintented changes from r205065.
43959 * opts.c: Likewise.
43961 2014-03-14 Richard Biener <rguenther@suse.de>
43963 PR middle-end/60518
43964 * cfghooks.c (split_block): Properly adjust all loops the
43965 block was a latch of.
43967 2014-03-14 Martin Jambor <mjambor@suse.cz>
43970 * ipa-prop.c (ipa_modify_call_arguments): Fix iteration condition
43973 2014-03-14 Georg-Johann Lay <avr@gjlay.de>
43976 * config/avr/avr.c (avr_set_current_function): Pass function name
43977 through default_strip_name_encoding before sanity checking instead
43978 of skipping the first char of the assembler name.
43980 2014-03-13 Richard Henderson <rth@redhat.com>
43983 * config/i386/i386.c (ix86_split_fp_branch): Remove pushed argument.
43984 (ix86_force_to_memory, ix86_free_from_memory): Remove.
43985 * config/i386/i386-protos.h: Likewise.
43986 * config/i386/i386.md (floathi<X87MODEF>2): Use assign_386_stack_local
43987 in the expander instead of a splitter.
43988 (float<SWI48x><X87MODEF>2): Use assign_386_stack_local if there is
43989 any possibility of requiring a memory.
43990 (*floatsi<MODEF>2_vector_mixed): Remove, and the splitters.
43991 (*floatsi<MODEF>2_vector_sse): Remove, and the splitters.
43992 (fp branch splitters): Update for ix86_split_fp_branch.
43993 (*jcc<X87MODEF>_<SWI24>_i387): Remove r/f alternative.
43994 (*jcc<X87MODEF>_<SWI24>_r_i387): Likewise.
43995 (splitter for jcc<X87MODEF>_<SWI24>_i387 r/f): Remove.
43996 (*fop_<MODEF>_2_i387): Remove f/r alternative.
43997 (*fop_<MODEF>_3_i387): Likewise.
43998 (*fop_xf_2_i387, *fop_xf_3_i387): Likewise.
43999 (splitters for the fop_* register patterns): Remove.
44000 (fscalexf4_i387): Rename from *fscalexf4_i387.
44001 (ldexpxf3): Use gen_floatsixf2 and gen_fscalexf4_i387.
44003 2014-03-13 Jakub Jelinek <jakub@redhat.com>
44005 PR tree-optimization/59779
44006 * tree-dfa.c (get_ref_base_and_extent): Use double_int
44007 type for bitsize and maxsize instead of HOST_WIDE_INT.
44009 2014-03-13 Steven Bosscher <steven@gcc.gnu.org>
44011 PR rtl-optimization/57320
44012 * function.c (rest_of_handle_thread_prologue_and_epilogue): Cleanup
44013 the CFG after thread_prologue_and_epilogue_insns.
44015 2014-03-13 Vladimir Makarov <vmakarov@redhat.com>
44017 PR rtl-optimization/57189
44018 * lra-constraints.c (process_alt_operands): Disfavor spilling
44021 2014-03-13 Cesar Philippidis <cesar@codesourcery.com>
44023 * lto-wrapper.c (maybe_unlink_file): Suppress diagnostic messages.
44025 2014-03-13 Jakub Jelinek <jakub@redhat.com>
44027 PR tree-optimization/59025
44028 PR middle-end/60418
44029 * tree-ssa-reassoc.c (sort_by_operand_rank): For SSA_NAMEs with the
44030 same rank, sort by bb_rank and gimple_uid of SSA_NAME_DEF_STMT first.
44032 2014-03-13 Georg-Johann Lay <avr@gjlay.de>
44035 * config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in
44036 calls of avr_out_plus_1.
44038 2014-03-13 Bin Cheng <bin.cheng@arm.com>
44040 * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Record
44041 BB's single pred and update the father loop's latch info later.
44043 2014-03-12 Michael Meissner <meissner@linux.vnet.ibm.com>
44045 * config/rs6000/vector.md (VEC_L): Add V1TI mode to vector types.
44049 (VEC_base): Likewise.
44050 (mov<MODE>, VEC_M modes): If we are loading TImode into VSX
44051 registers, we need to swap double words in little endian mode.
44053 * config/rs6000/rs6000-modes.def (V1TImode): Add new vector mode
44054 to be a container mode for 128-bit integer operations added in ISA
44055 2.07. Unlike TImode and PTImode, the preferred register set is
44056 the Altivec/VMX registers for the 128-bit operations.
44058 * config/rs6000/rs6000-protos.h (rs6000_move_128bit_ok_p): Add
44060 (rs6000_split_128bit_ok_p): Likewise.
44062 * config/rs6000/rs6000-builtin.def (BU_P8V_AV_3): Add new support
44063 macros for creating ISA 2.07 normal and overloaded builtin
44064 functions with 3 arguments.
44065 (BU_P8V_OVERLOAD_3): Likewise.
44066 (VPERM_1T): Add support for V1TImode in 128-bit vector operations
44067 for use as overloaded functions.
44068 (VPERM_1TI_UNS): Likewise.
44069 (VSEL_1TI): Likewise.
44070 (VSEL_1TI_UNS): Likewise.
44071 (ST_INTERNAL_1ti): Likewise.
44072 (LD_INTERNAL_1ti): Likewise.
44073 (XXSEL_1TI): Likewise.
44074 (XXSEL_1TI_UNS): Likewise.
44075 (VPERM_1TI): Likewise.
44076 (VPERM_1TI_UNS): Likewise.
44077 (XXPERMDI_1TI): Likewise.
44078 (SET_1TI): Likewise.
44079 (LXVD2X_V1TI): Likewise.
44080 (STXVD2X_V1TI): Likewise.
44081 (VEC_INIT_V1TI): Likewise.
44082 (VEC_SET_V1TI): Likewise.
44083 (VEC_EXT_V1TI): Likewise.
44084 (EQV_V1TI): Likewise.
44085 (NAND_V1TI): Likewise.
44086 (ORC_V1TI): Likewise.
44087 (VADDCUQ): Add support for 128-bit integer arithmetic instructions
44088 added in ISA 2.07. Add both normal 'altivec' builtins, and the
44089 overloaded builtin.
44090 (VADDUQM): Likewise.
44091 (VSUBCUQ): Likewise.
44092 (VADDEUQM): Likewise.
44093 (VADDECUQ): Likewise.
44094 (VSUBEUQM): Likewise.
44095 (VSUBECUQ): Likewise.
44097 * config/rs6000/rs6000-c.c (__int128_type): New static to hold
44098 __int128_t and __uint128_t types.
44099 (__uint128_type): Likewise.
44100 (altivec_categorize_keyword): Add support for vector __int128_t,
44101 vector __uint128_t, vector __int128, and vector unsigned __int128
44102 as a container type for TImode operations that need to be done in
44103 VSX/Altivec registers.
44104 (rs6000_macro_to_expand): Likewise.
44105 (altivec_overloaded_builtins): Add ISA 2.07 overloaded functions
44106 to support 128-bit integer instructions vaddcuq, vadduqm,
44107 vaddecuq, vaddeuqm, vsubcuq, vsubuqm, vsubecuq, vsubeuqm.
44108 (altivec_resolve_overloaded_builtin): Add support for V1TImode.
44110 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Add support
44111 for V1TImode, and set up preferences to use VSX/Altivec registers.
44112 Setup VSX reload handlers.
44113 (rs6000_debug_reg_global): Likewise.
44114 (rs6000_init_hard_regno_mode_ok): Likewise.
44115 (rs6000_preferred_simd_mode): Likewise.
44116 (vspltis_constant): Do not allow V1TImode as easy altivec constants.
44117 (easy_altivec_constant): Likewise.
44118 (output_vec_const_move): Likewise.
44119 (rs6000_expand_vector_set): Convert V1TImode set and extract to
44121 (rs6000_expand_vector_extract): Likewise.
44122 (reg_offset_addressing_ok_p): Setup V1TImode to use VSX reg+reg
44124 (rs6000_const_vec): Add support for V1TImode.
44125 (rs6000_emit_le_vsx_load): Swap double words when loading or
44126 storing TImode/V1TImode.
44127 (rs6000_emit_le_vsx_store): Likewise.
44128 (rs6000_emit_le_vsx_move): Likewise.
44129 (rs6000_emit_move): Add support for V1TImode.
44130 (altivec_expand_ld_builtin): Likewise.
44131 (altivec_expand_st_builtin): Likewise.
44132 (altivec_expand_vec_init_builtin): Likewise.
44133 (altivec_expand_builtin): Likewise.
44134 (rs6000_init_builtins): Add support for V1TImode type. Add
44135 support for ISA 2.07 128-bit integer builtins. Define type names
44136 for the VSX/Altivec vector types.
44137 (altivec_init_builtins): Add support for overloaded vector
44138 functions with V1TImode type.
44139 (rs6000_preferred_reload_class): Prefer Altivec registers for V1TImode.
44140 (rs6000_move_128bit_ok_p): Move 128-bit move/split validation to
44142 (rs6000_split_128bit_ok_p): Likewise.
44143 (rs6000_handle_altivec_attribute): Create V1TImode from vector
44144 __int128_t and vector __uint128_t.
44146 * config/rs6000/vsx.md (VSX_L): Add V1TImode to vector iterators
44147 and mode attributes.
44149 (VSX_M2): Likewise.
44154 (VS_scalar): Likewise.
44155 (VS_double): Likewise.
44156 (vsx_set_v1ti): New builtin function to create V1TImode from TImode.
44158 * config/rs6000/rs6000.h (TARGET_VADDUQM): New macro to say whether
44159 we support the ISA 2.07 128-bit integer arithmetic instructions.
44160 (ALTIVEC_OR_VSX_VECTOR_MODE): Add V1TImode.
44161 (enum rs6000_builtin_type_index): Add fields to hold V1TImode
44162 and TImode types for use with the builtin functions.
44163 (V1TI_type_node): Likewise.
44164 (unsigned_V1TI_type_node): Likewise.
44165 (intTI_type_internal_node): Likewise.
44166 (uintTI_type_internal_node): Likewise.
44168 * config/rs6000/altivec.md (UNSPEC_VADDCUQ): New unspecs for ISA 2.07
44169 128-bit builtin functions.
44170 (UNSPEC_VADDEUQM): Likewise.
44171 (UNSPEC_VADDECUQ): Likewise.
44172 (UNSPEC_VSUBCUQ): Likewise.
44173 (UNSPEC_VSUBEUQM): Likewise.
44174 (UNSPEC_VSUBECUQ): Likewise.
44175 (VM): Add V1TImode to vector mode iterators.
44177 (VI_unit): Likewise.
44178 (altivec_vadduqm): Add ISA 2.07 128-bit binary builtins.
44179 (altivec_vaddcuq): Likewise.
44180 (altivec_vsubuqm): Likewise.
44181 (altivec_vsubcuq): Likewise.
44182 (altivec_vaddeuqm): Likewise.
44183 (altivec_vaddecuq): Likewise.
44184 (altivec_vsubeuqm): Likewise.
44185 (altivec_vsubecuq): Likewise.
44187 * config/rs6000/rs6000.md (FMOVE128_GPR): Add V1TImode to vector
44189 (BOOL_128): Likewise.
44190 (BOOL_REGS_OUTPUT): Likewise.
44191 (BOOL_REGS_OP1): Likewise.
44192 (BOOL_REGS_OP2): Likewise.
44193 (BOOL_REGS_UNARY): Likewise.
44194 (BOOL_REGS_AND_CR0): Likewise.
44196 * config/rs6000/altivec.h (vec_vaddcuq): Add support for ISA 2.07
44197 128-bit integer builtin support.
44198 (vec_vadduqm): Likewise.
44199 (vec_vaddecuq): Likewise.
44200 (vec_vaddeuqm): Likewise.
44201 (vec_vsubecuq): Likewise.
44202 (vec_vsubeuqm): Likewise.
44203 (vec_vsubcuq): Likewise.
44204 (vec_vsubuqm): Likewise.
44206 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
44207 Document vec_vaddcuq, vec_vadduqm, vec_vaddecuq, vec_vaddeuqm,
44208 vec_subecuq, vec_subeuqm, vec_vsubcuq, vec_vsubeqm builtins adding
44209 128-bit integer add/subtract to ISA 2.07.
44211 2014-03-12 Joern Rennecke <joern.rennecke@embecosm.com>
44213 * config/arc/arc.c (arc_predicate_delay_insns):
44214 Fix third argument passed to conditionalize_nonjump.
44216 2014-03-12 Yufeng Zhang <yufeng.zhang@arm.com>
44218 * config/aarch64/aarch64-builtins.c
44219 (aarch64_builtin_vectorized_function): Add BUILT_IN_LFLOORF,
44220 BUILT_IN_LLFLOOR, BUILT_IN_LCEILF and BUILT_IN_LLCEIL.
44221 * config/aarch64/arm_neon.h (vcvtaq_u64_f64): Call __builtin_llfloor
44222 instead of __builtin_lfloor.
44223 (vcvtnq_u64_f64): Call __builtin_llceil instead of __builtin_lceil.
44225 2014-03-12 Jakub Jelinek <jakub@redhat.com>
44227 * tree-ssa-ifcombine.c (forwarder_block_to): New function.
44228 (tree_ssa_ifcombine_bb_1): New function.
44229 (tree_ssa_ifcombine_bb): Use it. Handle also cases where else_bb
44230 is an empty forwarder block to then_bb or vice versa and then_bb
44231 and else_bb are effectively swapped.
44233 2014-03-12 Christian Bruel <christian.bruel@st.com>
44236 * config/arm/arm.c (arm_emit_vfp_multi_reg_pop): Emit a
44237 REG_CFA_DEF_CFA note.
44238 (arm_expand_epilogue_apcs_frame): call arm_add_cfa_adjust_cfa_note.
44239 (arm_unwind_emit): Allow REG_CFA_DEF_CFA.
44241 2014-03-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
44243 PR tree-optimization/60454
44244 * tree-ssa-math-opts.c (find_bswap_1): Fix bswap detection.
44246 2014-03-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
44248 * config.gcc (aarch64*-*-*): Use ISA flags from aarch64-arches.def.
44249 Do not define target_cpu_default2 to generic.
44250 * config/aarch64/aarch64.h (TARGET_CPU_DEFAULT): Use generic cpu.
44251 * config/aarch64/aarch64.c (aarch64_override_options): Update comment.
44252 * config/aarch64/aarch64-arches.def (armv8-a): Use generic cpu.
44254 2014-03-12 Jakub Jelinek <jakub@redhat.com>
44255 Marc Glisse <marc.glisse@inria.fr>
44257 PR tree-optimization/60502
44258 * tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst
44259 instead of build_low_bits_mask.
44261 2014-03-12 Jakub Jelinek <jakub@redhat.com>
44263 PR middle-end/60482
44264 * tree-vrp.c (register_edge_assert_for_1): Don't add assert
44265 if there are multiple uses, but op doesn't live on E edge.
44266 * tree-cfg.c (assert_unreachable_fallthru_edge_p): Also ignore
44267 clobber stmts before __builtin_unreachable.
44269 2014-03-11 Richard Sandiford <rdsandiford@googlemail.com>
44271 * builtins.c (expand_builtin_setjmp_receiver): Use and clobber
44272 hard_frame_pointer_rtx.
44273 * cse.c (cse_insn): Remove volatile check.
44274 * cselib.c (cselib_process_insn): Likewise.
44275 * dse.c (scan_insn): Likewise.
44277 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com>
44279 * config/arc/arc.c (conditionalize_nonjump): New function,
44281 (arc_ifcvt): ... this.
44282 (arc_predicate_delay_insns): Use it.
44284 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com>
44286 * config/arc/predicates.md (extend_operand): During/after reload,
44287 allow const_int_operand.
44288 * config/arc/arc.md (mulsidi3_700): Use extend_operand predicate.
44289 (umulsidi3_700): Likewise. Change operand 2 constraint back to "cL".
44290 (mulsi3_highpart): Change operand 2 constraint alternatives 2 and 3
44292 (umulsi3_highpart_i): Likewise.
44294 2014-03-11 Richard Biener <rguenther@suse.de>
44296 * tree-ssa-structalias.c (get_constraint_for_ptr_offset):
44297 Add asserts to guard possible wrong-code bugs.
44299 2014-03-11 Richard Biener <rguenther@suse.de>
44301 PR tree-optimization/60429
44302 PR tree-optimization/60485
44303 * tree-ssa-structalias.c (set_union_with_increment): Properly
44304 take into account all fields that overlap the shifted vars.
44305 (do_sd_constraint): Likewise.
44306 (do_ds_constraint): Likewise.
44307 (get_constraint_for_ptr_offset): Likewise.
44309 2014-03-11 Chung-Lin Tang <cltang@codesourcery.com>
44311 * config/nios2/nios2.c (machine_function): Add fp_save_offset field.
44312 (nios2_compute_frame_layout):
44313 Add calculation of cfun->machine->fp_save_offset.
44314 (nios2_expand_prologue): Correct setting of frame pointer register
44316 (nios2_expand_epilogue): Update recovery of stack pointer from
44317 frame pointer accordingly.
44318 (nios2_initial_elimination_offset): Update calculation of offset
44319 for eliminating to HARD_FRAME_POINTER_REGNUM.
44321 2014-03-10 Jakub Jelinek <jakub@redhat.com>
44324 * ipa.c (symtab_remove_unreachable_nodes): Don't call
44325 cgraph_get_create_node on VAR_DECLs.
44327 2014-03-10 Richard Biener <rguenther@suse.de>
44329 PR middle-end/60474
44330 * tree.c (signed_or_unsigned_type_for): Handle OFFSET_TYPEs.
44332 2014-03-08 Douglas B Rupp <rupp@gnat.com>
44334 * config/vms/vms.opt (vms_float_format): New variable.
44336 2014-03-08 Tobias Burnus <burnus@net-b.de>
44338 * doc/invoke.texi (-fcilkplus): Update implementation status.
44340 2014-03-08 Paulo Matos <paulo@matos-sorge.com>
44341 Richard Biener <rguenther@suse.de>
44343 * lto-wrapper.c (merge_and_complain): Ensure -fshort-double is used
44344 consistently accross all TUs.
44345 (run_gcc): Enable -fshort-double automatically at link at link-time
44346 and disallow override.
44348 2014-03-08 Richard Sandiford <rdsandiford@googlemail.com>
44351 * config/mips/mips.c (mips_option_override): Promote -mpaired-single
44352 warning to an error. Disable TARGET_PAIRED_SINGLE and TARGET_MIPS3D
44353 if they can't be used.
44355 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
44357 * configure.ac (HAVE_AS_IX86_TLSLDMPLT): Improve test
44358 for Solaris 11/x86 ld.
44359 * configure: Regenerate.
44361 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
44363 * configure.ac (TLS_SECTION_ASM_FLAG): Save as tls_section_flag.
44364 (LIB_TLS_SPEC): Save as ld_tls_libs.
44365 (HAVE_AS_IX86_TLSLDMPLT): Define as 1/0.
44366 (HAVE_AS_IX86_TLSLDM): New test.
44367 * configure, config.in: Regenerate.
44368 * config/i386/i386.c (legitimize_tls_address): Fall back to
44369 TLS_MODEL_GLOBAL_DYNAMIC on 32-bit Solaris/x86 if tool chain
44370 cannot support TLS_MODEL_LOCAL_DYNAMIC.
44371 * config/i386/i386.md (*tls_local_dynamic_base_32_gnu): Use if
44372 instead of #ifdef in HAVE_AS_IX86_TLSLDMPLT test.
44374 2014-03-07 Paulo Matos <paulo@matos-sorge.com>
44376 * common.opt (fira-loop-pressure): Mark as optimization.
44378 2014-03-07 Thomas Schwinge <thomas@codesourcery.com>
44380 * langhooks.c (lhd_omp_mappable_type): The error_mark_node is not
44381 an OpenMP mappable type.
44383 2014-03-06 Matthias Klose <doko@ubuntu.com>
44385 * Makefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if
44386 MULTILIB_OSDIRNAMES is not defined.
44388 2014-03-06 Jakub Jelinek <jakub@redhat.com>
44389 Meador Inge <meadori@codesourcery.com>
44392 * config/arm/arm.c (arm_tls_symbol_p): Remove.
44393 (arm_legitimize_address): Call legitimize_tls_address for any
44394 arm_tls_referenced_p expression, handle constant addend. Call it
44395 before testing for !TARGET_ARM.
44396 (thumb_legitimize_address): Don't handle arm_tls_symbol_p here.
44398 2014-03-06 Richard Biener <rguenther@suse.de>
44400 PR middle-end/60445
44404 2014-03-04 Paulo Matos <paulo@matos-sorge.com>
44406 * tree-streamer.c (record_common_node): Assert we don't record
44407 nodes with type double.
44408 (preload_common_node): Skip type double, complex double and double
44409 pointer since it is now frontend dependent due to fshort-double option.
44411 2014-03-06 Richard Biener <rguenther@suse.de>
44413 * gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin
44414 or -fno-lto is specified and the linker has full plugin support.
44415 * collect2.c (lto_mode): Default to LTO_MODE_WHOPR if LTO is enabled.
44416 (main): Remove -flto processing, adjust lto_mode using use_plugin late.
44417 * lto-wrapper.c (merge_and_complain): Merge compile-time
44418 optimization levels.
44419 (run_gcc): And pass it through to the link options.
44421 2014-03-06 Alexandre Oliva <aoliva@redhat.com>
44425 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
44427 * cselib.c (remove_useless_values): Skip to avoid quadratic
44428 behavior if the condition moved from...
44429 (cselib_process_insn): ... here holds.
44431 2014-03-05 Jakub Jelinek <jakub@redhat.com>
44434 * Makefile.in (PLUGIN_HEADERS): Add tree-phinodes.h, stor-layout.h,
44435 ssa-iterators.h, $(RESOURCE_H) and tree-cfgcleanup.h.
44438 * config/i386/t-i386 (OPTIONS_H_EXTRA): Add stringop.def.
44439 (TM_H): Add x86-tune.def.
44441 2014-03-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
44443 * config/aarch64/aarch64.c (generic_tunings):
44444 Use cortexa57_extra_costs.
44446 2014-03-05 Jakub Jelinek <jakub@redhat.com>
44449 * cfgexpand.c (expand_used_vars): Do not assume all SSA_NAMEs
44450 of PARM/RESULT_DECLs must be coalesced with optimize && in_lto_p.
44451 * tree-ssa-coalesce.c (coalesce_ssa_name): Use MUST_COALESCE_COST - 1
44454 2014-03-04 Heiher <r@hev.cc>
44456 * config/mips/mips-cpus.def (loongson3a): Mark as a MIPS64r2 processor.
44457 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Adjust accordingly.
44459 2014-03-04 Uros Bizjak <ubizjak@gmail.com>
44461 * config/i386/predicates.md (const2356_operand): Change to ...
44462 (const2367_operand): ... this.
44463 * config/i386/sse.md (avx512pf_scatterpf<mode>sf): Use
44465 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
44466 (*avx512pf_scatterpf<mode>sf): Ditto.
44467 (avx512pf_scatterpf<mode>df): Ditto.
44468 (*avx512pf_scatterpf<mode>df_mask): Ditto.
44469 (*avx512pf_scatterpf<mode>df): Ditto.
44470 * config/i386/i386.c (ix86_expand_builtin): Update
44471 incorrect hint operand error message.
44473 2014-03-04 Richard Biener <rguenther@suse.de>
44475 * lto-section-in.c (lto_get_section_data): Fix const cast.
44477 2014-03-04 Paulo Matos <paulo@matos-sorge.com>
44479 * tree-streamer.c (record_common_node): Assert we don't record
44480 nodes with type double.
44481 (preload_common_node): Skip type double, complex double and double
44482 pointer since it is now frontend dependent due to fshort-double option.
44484 2014-03-04 Richard Biener <rguenther@suse.de>
44487 * lto-streamer-in.c (lto_read_body): Remove LTO bytecode version check.
44488 (lto_input_toplevel_asms): Likewise.
44489 * lto-section-in.c (lto_get_section_data): Instead do it here
44492 2014-03-04 Richard Biener <rguenther@suse.de>
44494 PR tree-optimization/60382
44495 * tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider
44496 dead PHIs a reduction.
44498 2014-03-03 Uros Bizjak <ubizjak@gmail.com>
44500 * config/i386/xmmintrin.h (enum _mm_hint) <_MM_HINT_ET0>: Correct
44502 (_mm_prefetch): Move out of GCC target("sse") pragma.
44503 * config/i386/prfchwintrin.h (_m_prefetchw): Move out of
44504 GCC target("prfchw") pragma.
44505 * config/i386/i386.md (prefetch): Emit prefetchwt1 only
44507 * config/i386/i386.c (ix86_option_override_internal): Enable
44508 -mprfchw with -mprefetchwt1.
44510 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com>
44512 * config/arc/arc.md (casesi_load) <length attribute alternative 0>:
44515 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com>
44517 * opts.h (CL_PCH_IGNORE): Define.
44518 * targhooks.c (option_affects_pch_p):
44519 Return false for options that have CL_PCH_IGNORE set.
44520 * opt-functions.awk: Process PchIgnore.
44521 * doc/options.texi: Document PchIgnore.
44523 * config/arc/arc.opt (misize): Add PchIgnore property.
44525 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
44527 * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow
44528 reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax
44529 constraint on constants to permit them being loaded into
44530 GENERAL_REGS or BASE_REGS.
44532 2014-03-03 Nick Clifton <nickc@redhat.com>
44534 * config/rl78/rl78-real.md (cbranchsi4_real_signed): Add
44535 anti-cacnonical alternatives.
44536 (negandhi3_real): New pattern.
44537 * config/rl78/rl78-virt.md (negandhi3_virt): New pattern.
44539 2014-03-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
44541 * config/avr/avr-mcus.def: Remove atxmega16x1.
44542 * config/avr/avr-tables.opt: Regenerate.
44543 * config/avr/t-multilib: Regenerate.
44544 * doc/avr-mmcu.texi: Regenerate.
44546 2014-03-03 Tobias Grosser <tobias@grosser.es>
44547 Mircea Namolaru <mircea.namolaru@inria.fr>
44549 PR tree-optimization/58028
44550 * graphite-clast-to-gimple.c (set_cloog_options): Don't remove
44553 2014-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
44555 * config/arm/neon.md (*movmisalign<mode>): Legitimize addresses
44556 not handled by recognizers.
44558 2014-03-03 Jakub Jelinek <jakub@redhat.com>
44560 PR middle-end/60175
44561 * function.c (expand_function_end): Don't emit
44562 clobber_return_register sequence if clobber_after is a BARRIER.
44563 * cfgexpand.c (construct_exit_block): Append instructions before
44564 return_label to prev_bb.
44566 2014-03-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
44568 * config/rs6000/constraints.md: Document reserved use of "wc".
44570 2014-03-02 Jan Hubicka <hubicka@ucw.cz>
44573 * ipa.c (function_and_variable_visibility): When dissolving comdat
44574 group, also set all symbols to local.
44576 2014-03-02 Jan Hubicka <hubicka@ucw.cz>
44581 2013-12-14 Jan Hubicka <jh@suse.cz>
44582 PR middle-end/58477
44583 * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers.
44585 2014-03-02 Jon Beniston <jon@beniston.com>
44591 * config/lm32/lm32.c (lm32_legitimate_constant_p): Remove, as incorrect.
44592 (TARGET_LEGITIMATE_CONSTANT_P): Undefine, as not needed.
44593 * config/lm32/lm32.md (movsi_insn): Add 32-bit immediate support.
44594 (simple_return, *simple_return): New patterns
44595 * config/lm32/predicates.md (movsi_rhs_operand): Remove as obsolete.
44596 * configure.ac (force_sjlj_exceptions): Force sjlj exceptions for lm32.
44598 2014-03-01 Paolo Carlini <paolo.carlini@oracle.com>
44600 * dwarf2out.c (gen_subprogram_die): Tidy.
44602 2014-03-01 Oleg Endo <olegendo@gcc.gnu.org>
44605 * config/sh/sh.md (*mov_t_msb_neg): Split into ...
44606 (*mov_t_msb_neg_negc): ... this new insn.
44608 2014-02-28 Jason Merrill <jason@redhat.com>
44611 * ipa-devirt.c (ipa_devirt): Don't choose an implicitly-declared
44614 2014-02-28 Paolo Carlini <paolo.carlini@oracle.com>
44617 * dwarf2out.c (decltype_auto_die): New static.
44618 (gen_subprogram_die): Handle 'decltype(auto)' like 'auto'.
44619 (gen_type_die_with_usage): Handle 'decltype(auto)'.
44620 (is_cxx_auto): Likewise.
44622 2014-02-28 Ian Bolton <ian.bolton@arm.com>
44624 * config/aarch64/aarch64.h: Define __ARM_NEON by default if
44625 we are not using general regs only.
44627 2014-02-28 Richard Biener <rguenther@suse.de>
44630 * tree-cfgcleanup.c (tree_forwarder_block_p): Restrict
44631 previous fix and only allow to remove trivial pre-headers
44632 and latches. Also honor LOOPS_MAY_HAVE_MULTIPLE_LATCHES.
44633 (remove_forwarder_block): Properly update the latch of a loop.
44635 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
44638 * cselib.c (cselib_hasher::equal): Special-case VALUE lookup.
44639 (cselib_preserved_hash_table): New.
44640 (preserve_constants_and_equivs): Move preserved vals to it.
44641 (cselib_find_slot): Look it up first.
44642 (cselib_init): Initialize it.
44643 (cselib_finish): Release it.
44644 (dump_cselib_table): Dump it.
44646 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
44649 * cselib.c (remove_useless_values): Skip to avoid quadratic
44650 behavior if the condition moved from...
44651 (cselib_process_insn): ... here holds.
44653 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
44656 * var-tracking.c (vt_initialize): Apply the same condition to
44657 preserve the CFA base value.
44659 2014-02-28 Joey Ye <joey.ye@arm.com>
44662 * config/arm/arm.c (thumb_far_jump_used_p): Don't change
44663 if reload in progress or completed.
44665 2014-02-28 Tobias Burnus <burnus@net-b.de>
44667 PR middle-end/60147
44668 * tree-pretty-print.c (dump_generic_node, print_declaration): Handle
44671 2014-02-27 H.J. Lu <hongjiu.lu@intel.com>
44673 * doc/tm.texi.in (Condition Code Status): Update documention for
44674 relative locations of cc0-setter and cc0-user.
44676 2014-02-27 Jeff Law <law@redhat.com>
44678 PR rtl-optimization/52714
44679 * combine.c (try_combine): When splitting an unrecognized PARALLEL
44680 into two independent simple sets, if I3 is a jump, ensure the
44681 pattern we place into I3 is a (set (pc) ...).
44683 2014-02-27 Mikael Pettersson <mikpe@it.uu.se>
44684 Jeff Law <law@redhat.com>
44686 PR rtl-optimization/49847
44687 * cse.c (fold_rtx) Handle case where cc0 setter and cc0 user
44688 are in different blocks.
44689 * doc/tm.texi (Condition Code Status): Update documention for
44690 relative locations of cc0-setter and cc0-user.
44692 2014-02-27 Vladimir Makarov <vmakarov@redhat.com>
44695 * lra.c (lra_emit_add): Check SUBREG too.
44697 2014-02-27 Andreas Schwab <schwab@suse.de>
44699 * config/m68k/m68k.c (m68k_option_override): Disable
44700 -flive-range-shrinkage for classic m68k.
44701 (m68k_override_options_after_change): Likewise.
44703 2014-02-27 Marek Polacek <polacek@redhat.com>
44705 PR middle-end/59223
44706 * tree-ssa-uninit.c (gate_warn_uninitialized): Run the pass even for
44707 -Wmaybe-uninitialized.
44709 2014-02-27 Alan Modra <amodra@gmail.com>
44712 * reload1.c (emit_input_reload_insns): When reload_override_in,
44713 set old to rl->in_reg when rl->in_reg is a subreg.
44715 2014-02-26 Richard Biener <rguenther@suse.de>
44718 * lra-assigns.c (spill_for): Avoid mixed-sign comparison.
44720 2014-02-25 Ilya Tocar <ilya.tocar@intel.com>
44722 * common/config/i386/predicates.md (const1256_operand): Remove.
44723 (const2356_operand): New.
44724 (const_1_to_2_operand): Remove.
44725 * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
44726 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
44727 (*avx512pf_gatherpf<mode>sf): Ditto.
44728 (avx512pf_gatherpf<mode>df): Ditto.
44729 (*avx512pf_gatherpf<mode>df_mask): Ditto.
44730 (*avx512pf_gatherpf<mode>df): Ditto.
44731 (avx512pf_scatterpf<mode>sf): Ditto.
44732 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
44733 (*avx512pf_scatterpf<mode>sf): Ditto.
44734 (avx512pf_scatterpf<mode>df): Ditto.
44735 (*avx512pf_scatterpf<mode>df_mask): Ditto.
44736 (*avx512pf_scatterpf<mode>df): Ditto.
44737 * common/config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET0.
44739 2014-02-26 Ilya Tocar <ilya.tocar@intel.com>
44741 * config/i386/avx512fintrin.h (_mm512_testn_epi32_mask),
44742 (_mm512_mask_testn_epi32_mask), (_mm512_testn_epi64_mask),
44743 (_mm512_mask_testn_epi64_mask): Move to ...
44744 * config/i386/avx512cdintrin.h: Here.
44745 * config/i386/i386.c (bdesc_args): Change MASK_ISA for testnm.
44746 * config/i386/sse.md (avx512f_vmscalef<mode><round_name>): Remove %.
44747 (avx512f_scalef<mode><mask_name><round_name>): Ditto.
44748 (avx512f_testnm<mode>3<mask_scalar_merge_name>): Change conditon to
44749 TARGET_AVX512F from TARGET_AVX512CD.
44751 2014-02-26 Richard Biener <rguenther@suse.de>
44754 * ipa.c (walk_polymorphic_call_targets): Properly guard
44755 call to inline_update_overall_summary.
44757 2014-02-26 Bin Cheng <bin.cheng@arm.com>
44760 * tree-cfgcleanup.c (tree_forwarder_block_p): Protect loop preheaders
44761 and latches only if requested. Fix latch if it is removed.
44762 * tree-ssa-dom.c (tree_ssa_dominator_optimize): Set
44763 LOOPS_HAVE_PREHEADERS.
44765 2014-02-25 Andrew Pinski <apinski@cavium.com>
44767 * builtins.c (expand_builtin_thread_pointer): Create a new target
44768 when the target is NULL.
44770 2014-02-25 Vladimir Makarov <vmakarov@redhat.com>
44772 PR rtl-optimization/60317
44773 * params.def (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
44774 * params.h (LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
44775 * lra-assigns.c: Include params.h.
44776 (spill_for): Use LRA_MAX_CONSIDERED_RELOAD_PSEUDOS as guard for
44777 other reload pseudos considerations.
44779 2014-02-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
44781 * config/rs6000/vector.md (*vector_unordered<mode>): Change split
44782 to use canonical form for nor<mode>3.
44784 2014-02-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
44787 * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit
44790 2014-02-25 Ilya Tocar <ilya.tocar@intel.com>
44792 * common/config/i386/i386-common.c (OPTION_MASK_ISA_PREFETCHWT1_SET),
44793 (OPTION_MASK_ISA_PREFETCHWT1_UNSET): New.
44794 (ix86_handle_option): Handle OPT_mprefetchwt1.
44795 * config/i386/cpuid.h (bit_PREFETCHWT1): New.
44796 * config/i386/driver-i386.c (host_detect_local_cpu): Detect
44798 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
44799 OPTION_MASK_ISA_PREFETCHWT1.
44800 * config/i386/i386.c (ix86_target_string): Handle mprefetchwt1.
44801 (PTA_PREFETCHWT1): New.
44802 (ix86_option_override_internal): Handle PTA_PREFETCHWT1.
44803 (ix86_valid_target_attribute_inner_p): Handle OPT_mprefetchwt1.
44804 * config/i386/i386.h (TARGET_PREFETCHWT1, TARGET_PREFETCHWT1_P): New.
44805 * config/i386/i386.md (prefetch): Check TARGET_PREFETCHWT1
44806 (*prefetch_avx512pf_<mode>_: Change into ...
44807 (*prefetch_prefetchwt1_<mode>: This.
44808 * config/i386/i386.opt (mprefetchwt1): New.
44809 * config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET1.
44810 (_mm_prefetch): Handle intent to write.
44811 * doc/invoke.texi (mprefetchwt1), (mno-prefetchwt1): Doccument.
44813 2014-02-25 Richard Biener <rguenther@suse.de>
44815 PR middle-end/60291
44816 * emit-rtl.c (mem_attrs_htab): Remove.
44817 (mem_attrs_htab_hash): Likewise.
44818 (mem_attrs_htab_eq): Likewise.
44819 (set_mem_attrs): Always allocate new mem-attrs when something changed.
44820 (init_emit_once): Do not allocate mem_attrs_htab.
44822 2014-02-25 Richard Biener <rguenther@suse.de>
44825 * lto-opts.c (lto_write_options): Output non-explicit conservative
44826 -fwrapv, -fno-trapv and -fno-strict-overflow.
44827 * lto-wrapper.c (merge_and_complain): Handle merging those options.
44828 (run_gcc): And pass them through.
44830 2014-02-25 Andrey Belevantsev <abel@ispras.ru>
44832 * sel-sched.c (calculate_new_fences): New parameter ptime.
44833 Calculate it as a maximum over all fence cycles.
44834 (sel_sched_region_2): Adjust the call to calculate_new_fences.
44835 Print the final schedule timing when sched_verbose.
44837 2014-02-25 Andrey Belevantsev <abel@ispras.ru>
44839 PR rtl-optimization/60292
44840 * sel-sched.c (fill_vec_av_set): Do not reset target availability
44841 bit fot the fence instruction.
44843 2014-02-24 Alangi Derick <alangiderick@gmail.com>
44845 * calls.h: Fix typo in comment.
44847 2014-02-24 John David Anglin <danglin@gcc.gnu.org>
44849 * config/pa/pa.c (pa_output_move_double): Don't valididate when
44850 adjusting offsetable addresses.
44852 2014-02-24 Guozhi Wei <carrot@google.com>
44854 * sparseset.h (sparseset_pop): Fix the wrong index.
44856 2014-02-24 Walter Lee <walt@tilera.com>
44858 * config.gcc (tilepro-*-*): Change to tilepro*-*-*.
44859 (tilegx-*-linux*): Change to tilegx*-*-linux*; Support tilegxbe
44861 * common/config/tilegx/tilegx-common.c
44862 (TARGET_DEFAULT_TARGET_FLAGS): Define.
44863 * config/tilegx/linux.h (ASM_SPEC): Add endian_spec.
44864 (LINK_SPEC): Ditto.
44865 * config/tilegx/sync.md (atomic_test_and_set): Handle big endian.
44866 * config/tilegx/tilegx.c (tilegx_return_in_msb): New.
44867 (tilegx_gimplify_va_arg_expr): Handle big endian.
44868 (tilegx_expand_unaligned_load): Ditto.
44869 (tilegx_expand_unaligned_store): Ditto.
44870 (TARGET_RETURN_IN_MSB): New.
44871 * config/tilegx/tilegx.h (TARGET_DEFAULT): New.
44872 (TARGET_ENDIAN_DEFAULT): New.
44873 (TARGET_BIG_ENDIAN): Handle big endian.
44874 (BYTES_BIG_ENDIAN): Ditto.
44875 (WORDS_BIG_ENDIAN): Ditto.
44876 (FLOAT_WORDS_BIG_ENDIAN): Ditto.
44877 (ENDIAN_SPEC): New.
44878 (EXTRA_SPECS): New.
44879 * config/tilegx/tilegx.md (extv): Handle big endian.
44881 (insn_st<n>): Ditto.
44882 (insn_st<n>_add<bitsuffix>): Ditto.
44883 (insn_stnt<n>): Ditto.
44884 (insn_stnt<n>_add<bitsuffix>):Ditto.
44885 (vec_interleave_highv8qi): Handle big endian.
44886 (vec_interleave_highv8qi_be): New.
44887 (vec_interleave_highv8qi_le): New.
44888 (insn_v1int_h): Handle big endian.
44889 (vec_interleave_lowv8qi): Handle big endian.
44890 (vec_interleave_lowv8qi_be): New.
44891 (vec_interleave_lowv8qi_le): New.
44892 (insn_v1int_l): Handle big endian.
44893 (vec_interleave_highv4hi): Handle big endian.
44894 (vec_interleave_highv4hi_be): New.
44895 (vec_interleave_highv4hi_le): New.
44896 (insn_v2int_h): Handle big endian.
44897 (vec_interleave_lowv4hi): Handle big endian.
44898 (vec_interleave_lowv4hi_be): New.
44899 (vec_interleave_lowv4hi_le): New.
44900 (insn_v2int_l): Handle big endian.
44901 (vec_interleave_highv2si): Handle big endian.
44902 (vec_interleave_highv2si_be): New.
44903 (vec_interleave_highv2si_le): New.
44904 (insn_v4int_h): Handle big endian.
44905 (vec_interleave_lowv2si): Handle big endian.
44906 (vec_interleave_lowv2si_be): New.
44907 (vec_interleave_lowv2si_le): New.
44908 (insn_v4int_l): Handle big endian.
44909 * config/tilegx/tilegx.opt (mbig-endian): New option.
44910 (mlittle-endian): New option.
44911 * doc/install.texi: Document tilegxbe-linux.
44912 * doc/invoke.texi: Document -mbig-endian and -mlittle-endian.
44914 2014-02-24 Martin Jambor <mjambor@suse.cz>
44917 * ipa-cp.c (propagate_constants_accross_call): Bail out early if
44918 there are no parameter descriptors.
44920 2014-02-24 Andrey Belevantsev <abel@ispras.ru>
44922 PR rtl-optimization/60268
44923 * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable
44924 initialization to ...
44925 (sched_rgn_init): ... here.
44926 (schedule_region): Check for SCHED_PRESSURE_NONE earlier.
44928 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
44930 * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg
44933 2014-02-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
44935 * config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED
44938 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
44940 * /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk,
44941 define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK.
44943 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
44945 * config/microblaze/predicates.md: Add cmp_op predicate.
44946 * config/microblaze/microblaze.md: Add branch_compare instruction
44947 which uses cmp_op predicate and emits cmp insn before branch.
44948 * config/microblaze/microblaze.c (microblaze_emit_compare): Rename
44949 to microblaze_expand_conditional_branch and consolidate logic.
44950 (microblaze_expand_conditional_branch): emit branch_compare
44951 insn instead of handling cmp op separate from branch insn.
44953 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
44955 * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert
44958 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
44960 * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace
44961 define_insn with define_expand and new define_insn
44962 *altivec_lve<VI_char>x_internal.
44963 (altivec_stve<VI_char>x): Replace define_insn with define_expand
44964 and new define_insn *altivec_stve<VI_char>x_internal.
44965 * config/rs6000/rs6000-protos.h (altivec_expand_stvex_be): New
44967 * config/rs6000/rs6000.c (altivec_expand_lvx_be): Document use by
44969 (altivec_expand_stvex_be): New function.
44971 2014-02-22 Joern Rennecke <joern.rennecke@embecosm.com>
44973 * config/avr/avr.c (avr_can_eliminate): Allow elimination from
44974 ARG_POINTER_REGNUM to STACK_POINTER_REGNUM if !frame_pointer_needed.
44975 * config/avr/avr.c (ELIMINABLE_REGS): Add elimination from
44976 ARG_POINTER_REGNUM to STACK_POINTER_REGNUM.
44978 2014-02-21 Vladimir Makarov <vmakarov@redhat.com>
44981 * lra-constraints.c (inherit_reload_reg): Use lra_emit_move
44982 instead of emit_move_insn.
44984 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
44986 * config/rs6000/altivec.md (altivec_vsumsws): Replace second
44987 vspltw with vsldoi.
44988 (reduc_uplus_v16qi): Use gen_altivec_vsumsws_direct instead of
44989 gen_altivec_vsumsws.
44991 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
44993 * config/rs6000/altivec.md (altivec_lvxl): Rename as
44994 *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI.
44995 (altivec_lvxl_<mode>): New define_expand incorporating
44996 -maltivec=be semantics where needed.
44997 (altivec_lvx): Rename as *altivec_lvx_<mode>_internal.
44998 (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be
44999 semantics where needed.
45000 (altivec_stvx): Rename as *altivec_stvx_<mode>_internal.
45001 (altivec_stvx_<mode>): New define_expand incorporating
45002 -maltivec=be semantics where needed.
45003 (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use
45004 VM2 iterator instead of V4SI.
45005 (altivec_stvxl_<mode>): New define_expand incorporating
45006 -maltivec=be semantics where needed.
45007 * config/rs6000/rs6000-builtin.def: Add new built-in definitions
45008 LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI,
45009 LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF,
45010 STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF,
45011 STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI.
45012 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace
45013 ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout;
45014 similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and
45015 ALTIVEC_BUILTIN_STVXL.
45016 * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype.
45017 (altivec_expand_stvx_be): Likewise.
45018 * config/rs6000/rs6000.c (swap_selector_for_mode): New function.
45019 (altivec_expand_lvx_be): Likewise.
45020 (altivec_expand_stvx_be): Likewise.
45021 (altivec_expand_builtin): Add cases for
45022 ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>,
45023 ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>.
45024 (altivec_init_builtins): Add definitions for
45025 __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>,
45026 __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>.
45028 2014-02-21 Catherine Moore <clm@codesourcery.com>
45030 * doc/invoke.texi (mvirt, mno-virt): Document.
45031 * config/mips/mips.opt (mvirt): New option.
45032 * config/mips/mips.h (ASM_SPEC): Pass mvirt to the assembler.
45034 2014-02-21 Richard Biener <rguenther@suse.de>
45036 PR tree-optimization/60276
45037 * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field.
45038 (STMT_VINFO_MIN_NEG_DIST): New macro.
45039 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record
45040 STMT_VINFO_MIN_NEG_DIST.
45041 * tree-vect-stmts.c (vectorizable_load): Verify if assumptions
45042 made for negative dependence distances still hold.
45044 2014-02-21 Richard Biener <rguenther@suse.de>
45046 PR middle-end/60291
45047 * tree-ssa-live.c (mark_all_vars_used_1): Do not walk
45048 DECL_INITIAL for globals not in the current function context.
45050 2014-02-21 Jakub Jelinek <jakub@redhat.com>
45052 PR tree-optimization/56490
45053 * params.def (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS): New param.
45054 * tree-ssa-uninit.c: Include params.h.
45055 (compute_control_dep_chain): Add num_calls argument, return false
45056 if it exceed PARAM_UNINIT_CONTROL_DEP_ATTEMPTS param, pass
45057 num_calls to recursive call.
45058 (find_predicates): Change dep_chain into normal array,
45059 cur_chain into auto_vec<edge, MAX_CHAIN_LEN + 1>, add num_calls
45060 variable and adjust compute_control_dep_chain caller.
45061 (find_def_preds): Likewise.
45063 2014-02-21 Thomas Schwinge <thomas@codesourcery.com>
45065 * gimple-pretty-print.c (dump_gimple_omp_for) [flags & TDF_RAW]
45066 <case GF_OMP_FOR_KIND_CILKSIMD>: Add missing break statement.
45068 2014-02-21 Nick Clifton <nickc@redhat.com>
45070 * config/stormy16/stormy16.md (pushdqi1): Add mode to post_inc.
45071 (pushhi1): Likewise.
45072 (popqi1): Add mode to pre_dec.
45073 (pophi1): Likewise.
45075 2014-02-21 Jakub Jelinek <jakub@redhat.com>
45077 * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
45078 mode for mask of V8SFmode permutation.
45080 2014-02-20 Richard Henderson <rth@redhat.com>
45083 * builtins.c (expand_builtin_atomic_compare_exchange): Always make
45084 a new pseudo for OLDVAL.
45086 2014-02-20 Jakub Jelinek <jakub@redhat.com>
45089 * config/i386/i386.c (expand_vec_perm_interleave2): Don't call
45090 gen_reg_rtx if d->testing_p.
45091 (expand_vec_perm_pshufb2, expand_vec_perm_broadcast_1): Return early
45092 if d->testing_p and we will certainly return true.
45093 (expand_vec_perm_even_odd_1): Likewise. Don't call gen_reg_rtx
45096 2014-02-20 Uros Bizjak <ubizjak@gmail.com>
45098 * emit-rtl.c (gen_reg_rtx): Assert that
45099 crtl->emit.regno_pointer_align_length is non-zero.
45101 2014-02-20 Richard Henderson <rth@redhat.com>
45104 * builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize
45105 on failure the store back into EXPECT.
45107 2014-02-20 Chung-Lin Tang <cltang@codesourcery.com>
45108 Sandra Loosemore <sandra@codesourcery.com>
45110 * config/nios2/nios2.md (unspec): Add UNSPEC_PIC_GOTOFF_SYM enum.
45111 * config/nios2/nios2.c (nios2_function_profiler): Add
45112 -fPIC (flag_pic == 2) support.
45113 (nios2_handle_custom_fpu_cfg): Fix warning parameter.
45114 (nios2_large_offset_p): New function.
45115 (nios2_unspec_reloc_p): Move up position, update to use
45116 nios2_large_offset_p.
45117 (nios2_unspec_address): Remove function.
45118 (nios2_unspec_offset): New function.
45119 (nios2_large_got_address): New function.
45120 (nios2_got_address): Add large offset support.
45121 (nios2_legitimize_tls_address): Update usage of removed and new
45123 (nios2_symbol_binds_local_p): New function.
45124 (nios2_load_pic_address): Add -fPIC (flag_pic == 2) support.
45125 (nios2_legitimize_address): Update to use nios2_large_offset_p.
45126 (nios2_emit_move_sequence): Avoid legitimizing (const (unspec ...)).
45127 (nios2_print_operand): Merge H/L processing, add hiadj/lo
45128 processing for (const (unspec ...)).
45129 (nios2_unspec_reloc_name): Add UNSPEC_PIC_GOTOFF_SYM case.
45131 2014-02-20 Richard Biener <rguenther@suse.de>
45133 * tree-cfg.c (replace_uses_by): Mark altered BBs before
45134 doing the substitution.
45135 (verify_gimple_assign_single): Also verify bare MEM_REFs on the lhs.
45137 2014-02-20 Martin Jambor <mjambor@suse.cz>
45140 * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Uce correct
45141 info when checking whether lattices are bottom.
45143 2014-02-20 Richard Biener <rguenther@suse.de>
45145 PR middle-end/60221
45146 * tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH
45149 2014-02-20 Jan Hubicka <hubicka@ucw.cz>
45152 * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale
45153 parameter specifying the scaling.
45154 (inline_call): Update.
45155 (want_inline_recursively): Guard division by zero.
45156 (recursive_inlining): Update.
45157 * ipa-inline.h (clone_inlined_nodes): Update.
45159 2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
45162 * config/i386/i386.c (classify_argument): Pass structures of size
45163 64 bytes or less in register.
45165 2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
45166 Kirill Yukhin <kirill.yukhin@intel.com>
45168 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): Swap operands.
45169 (_mm_rcp28_round_ss): Ditto.
45170 (_mm_rsqrt28_round_sd): Ditto.
45171 (_mm_rsqrt28_round_ss): Ditto.
45172 * config/i386/avx512erintrin.h (_mm_rcp14_round_sd): Ditto.
45173 (_mm_rcp14_round_ss): Ditto.
45174 (_mm_rsqrt14_round_sd): Ditto.
45175 (_mm_rsqrt14_round_ss): Ditto.
45176 * config/i386/sse.md (rsqrt14<mode>): Put nonimmediate operand as
45177 the first input operand, get rid of match_dup.
45178 (avx512er_exp2<mode><mask_name><round_saeonly_name>): Set type
45180 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
45182 (avx512er_vmrcp28<mode><round_saeonly_name>): Put nonimmediate
45183 operand as the first input operand, set type attribute.
45184 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
45185 Set type attribute.
45186 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Put nonimmediate
45187 operand as the first input operand, set type attribute.
45189 2014-02-19 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
45191 * config/rs6000/rs6000.c (vspltis_constant): Fix most significant
45194 2014-02-19 H.J. Lu <hongjiu.lu@intel.com>
45197 * config/i386/i386.c (construct_container): Remove TFmode check
45198 for X86_64_INTEGER_CLASS.
45200 2014-02-19 Uros Bizjak <ubizjak@gmail.com>
45203 * config/i386/i386.c (type_natural_mode): Warn for ABI changes
45204 only when -Wpsabi is enabled.
45206 2014-02-19 Michael Hudson-Doyle <michael.hudson@linaro.org>
45209 * config/aarch64/aarch64.c (aarch64_pass_by_reference): The rules for
45210 passing arrays in registers are the same as for structs, so remove the
45211 special case for them.
45213 2014-02-19 Eric Botcazou <ebotcazou@adacore.com>
45215 * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: For a bit-field
45216 destination type, extract only the valid bits if the source type is not
45217 integral and has a different mode.
45219 2014-02-19 Richard Biener <rguenther@suse.de>
45222 * tree-inline.c (estimate_num_insns): Avoid calling cgraph_get_node
45225 2014-02-19 Richard Biener <rguenther@suse.de>
45228 * ipa-prop.c: Include stringpool.h and tree-ssanames.h.
45229 (ipa_modify_call_arguments): Emit an argument load explicitely and
45230 preserve virtual SSA form there and for the replacement call.
45231 Do not update SSA form nor free dominance info.
45233 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
45235 * ipa.c (function_and_variable_visibility): Also clear WEAK
45236 flag when disolving COMDAT_GROUP.
45238 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
45240 * ipa-prop.h (ipa_ancestor_jf_data): Update ocmment.
45241 * ipa-prop.c (ipa_set_jf_known_type): Return early when
45242 not devirtualizing.
45243 (ipa_set_ancestor_jf): Set type to NULL hwen it is not preserved;
45244 do more sanity checks.
45245 (detect_type_change): Return true when giving up early.
45246 (compute_complex_assign_jump_func): Fix type parameter of
45247 ipa_set_ancestor_jf.
45248 (compute_complex_ancestor_jump_func): Likewise.
45249 (update_jump_functions_after_inlining): Fix updating of
45251 * ipa-cp.c (ipa_get_jf_ancestor_result): Be ready for type to be NULL.
45253 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
45255 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Also remove
45256 inline clones when edge disappears.
45258 2014-02-18 Michael Meissner <meissner@linux.vnet.ibm.com>
45261 * config/rs6000/rs6000.md (mov<mode>_64bit, TF/TDmode moves):
45262 Split 64-bit moves into 2 patterns. Do not allow the use of
45263 direct move for TDmode in little endian, since the decimal value
45264 has little endian bytes within a word, but the 64-bit pieces are
45265 ordered in a big endian fashion, and normal subreg's of TDmode are
45267 (mov<mode>_64bit_dm): Likewise.
45268 (movtd_64bit_nodm): Likewise.
45270 2014-02-18 Eric Botcazou <ebotcazou@adacore.com>
45272 PR tree-optimization/60174
45273 * tree-ssa-reassoc.c (init_range_entry): Do not look into the defining
45274 statement of an SSA_NAME that occurs in an abnormal PHI node.
45276 2014-02-18 Jakub Jelinek <jakub@redhat.com>
45279 * final.c (SEEN_BB): Remove.
45280 (SEEN_NOTE, SEEN_EMITTED): Renumber.
45281 (final_scan_insn): Don't force_source_line on second
45282 NOTE_INSN_BASIC_BLOCK.
45284 2014-02-18 Uros Bizjak <ubizjak@gmail.com>
45287 * config/i386/i386.h (struct ix86_args): Add warn_avx512f.
45288 * config/i386/i386.c (init_cumulative_args): Initialize warn_avx512f.
45289 (type_natural_mode): Warn ABI change when %zmm register is not
45290 available for AVX512F vector value passing.
45292 2014-02-18 Kai Tietz <ktietz@redhat.com>
45295 * config/i386/i386.c (ix86_expand_prologue): Use value in
45296 rax register as displacement when restoring %r10 or %rax.
45297 Fix wrong offset when restoring both registers.
45299 2014-02-18 Eric Botcazou <ebotcazou@adacore.com>
45301 * ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous
45302 assertion with conditional return.
45304 2014-02-18 Jakub Jelinek <jakub@redhat.com>
45305 Uros Bizjak <ubizjak@gmail.com>
45308 * config/i386/driver-i386.c (host_detect_local_cpu): If
45309 YMM state is not saved by the OS, also clear has_f16c. Move
45310 CPUID 0x80000001 handling before YMM state saving checking.
45312 2014-02-18 Andrey Belevantsev <abel@ispras.ru>
45314 PR rtl-optimization/58960
45315 * haifa-sched.c (alloc_global_sched_pressure_data): New,
45316 factored out from ...
45317 (sched_init): ... here.
45318 (free_global_sched_pressure_data): New, factored out from ...
45319 (sched_finish): ... here.
45320 * sched-int.h (free_global_sched_pressure_data): Declare.
45321 * sched-rgn.c (nr_regions_initial): New static global.
45322 (haifa_find_rgns): Initialize it.
45323 (schedule_region): Disable sched-pressure for the newly
45326 2014-02-17 Richard Biener <rguenther@suse.de>
45328 * tree-vect-stmts.c (free_stmt_vec_info): Clear BB and
45329 release SSA defs of pattern stmts.
45331 2014-02-17 Richard Biener <rguenther@suse.de>
45333 * tree-inline.c (expand_call_inline): Release the virtual
45334 operand defined by the call we are about to inline.
45336 2014-02-17 Richard Biener <rguenther@suse.de>
45338 * tree-ssa.c (verify_ssa): If verify_def found an error, ICE.
45340 2014-02-17 Kirill Yukhin <kirill.yukhin@intel.com>
45341 Ilya Tocar <ilya.tocar@intel.com>
45343 * config/i386/avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap
45344 arguments order in builtin.
45345 (_mm512_permutexvar_epi64): Ditto.
45346 (_mm512_mask_permutexvar_epi64): Ditto
45347 (_mm512_maskz_permutexvar_epi32): Ditto
45348 (_mm512_permutexvar_epi32): Ditto
45349 (_mm512_mask_permutexvar_epi32): Ditto
45351 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
45353 * config/rs6000/altivec.md (p8_vmrgew): Handle little endian targets.
45354 (p8_vmrgow): Likewise.
45356 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
45358 * config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Handle little
45361 2014-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
45364 * config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
45365 (mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
45366 into 64-bit and 32-bit moves. On 64-bit moves, add support for
45367 using direct move instructions on ISA 2.07. Also adjust
45368 instruction length for 64-bit.
45369 (mov<mode>_64bit, TFmode/TDmode): Likewise.
45370 (mov<mode>_32bit, TFmode/TDmode): Likewise.
45372 2014-02-15 Alan Modra <amodra@gmail.com>
45376 * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
45377 find_replacement on parts of insn rtl that might be reloaded.
45379 2014-02-15 Richard Biener <rguenther@suse.de>
45381 PR tree-optimization/60183
45382 * tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating loads.
45383 (tree_ssa_phiprop): Calculate and free post-dominators.
45385 2014-02-14 Jeff Law <law@redhat.com>
45387 PR rtl-optimization/60131
45388 * ree.c (get_extended_src_reg): New function.
45389 (combine_reaching_defs): Use it rather than assuming location of REG.
45390 (find_and_remove_re): Verify first operand of extension is
45391 a REG before adding the insns to the copy list.
45393 2014-02-14 Roland McGrath <mcgrathr@google.com>
45395 * configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic.
45396 * configure: Regenerated.
45397 * config.in: Regenerated.
45398 * config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic
45399 instead of ASM_SHORT.
45401 2014-02-14 Vladimir Makarov <vmakarov@redhat.com>
45402 Richard Earnshaw <rearnsha@arm.com>
45404 PR rtl-optimization/59535
45405 * lra-constraints.c (process_alt_operands): Encourage alternative
45406 when unassigned pseudo class is superset of the alternative class.
45407 (inherit_reload_reg): Don't inherit when optimizing for code size.
45408 * config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA
45409 returning CORE_REGS for anything but Thumb1 and BASE_REGS for
45410 modes not less than 4 for Thumb1.
45412 2014-02-14 Kyle McMartin <kyle@redhat.com>
45415 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64.
45417 2014-02-14 Richard Biener <rguenther@suse.de>
45419 * cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
45420 (get_frame_arg): Drop the assert with langhook types_compatible_p.
45421 Do not strip INDIRECT_REFs.
45423 2014-02-14 Richard Biener <rguenther@suse.de>
45426 * lto-streamer-out.c (DFS_write_tree_body): Do not follow
45427 DECL_FUNCTION_SPECIFIC_TARGET.
45428 (hash_tree): Do not hash DECL_FUNCTION_SPECIFIC_TARGET.
45429 * tree-streamer-out.c (pack_ts_target_option): Remove.
45430 (streamer_pack_tree_bitfields): Do not stream TS_TARGET_OPTION.
45431 (write_ts_function_decl_tree_pointers): Do not stream
45432 DECL_FUNCTION_SPECIFIC_TARGET.
45433 * tree-streamer-in.c (unpack_ts_target_option): Remove.
45434 (unpack_value_fields): Do not stream TS_TARGET_OPTION.
45435 (lto_input_ts_function_decl_tree_pointers): Do not stream
45436 DECL_FUNCTION_SPECIFIC_TARGET.
45438 2014-02-14 Jakub Jelinek <jakub@redhat.com>
45440 * tree-vect-loop.c (vect_is_slp_reduction): Don't set use_stmt twice.
45441 (get_initial_def_for_induction, vectorizable_induction): Ignore
45442 debug stmts when looking for exit_phi.
45443 (vectorizable_live_operation): Fix up condition.
45445 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
45447 * config/nds32/nds32.c (nds32_asm_function_prologue): Do not use
45448 nreverse() because it changes the content of original tree list.
45450 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
45452 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
45453 * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise.
45455 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
45457 * config/nds32/nds32.c (nds32_naked_function_p): Follow the
45458 GNU coding standards.
45460 2014-02-13 Jakub Jelinek <jakub@redhat.com>
45463 * dwarf2out.c (gen_subprogram_die): Don't call
45464 add_calling_convention_attribute if subr_die is old_die.
45466 2014-02-13 Sharad Singhai <singhai@google.com>
45468 * doc/optinfo.texi: Fix order of nodes.
45470 2014-02-13 Uros Bizjak <ubizjak@gmail.com>
45472 * config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
45473 operands[2], not operands[3].
45475 2014-02-13 Richard Biener <rguenther@suse.de>
45478 * doc/install.texi (ISL): Update recommended version to 0.12.2,
45479 mention the possibility of an in-tree build.
45480 (CLooG): Update recommended version to 0.18.1, mention the
45481 possibility of an in-tree build and clarify that the ISL
45482 bundled with CLooG does not work.
45484 2014-02-13 Jakub Jelinek <jakub@redhat.com>
45487 * expr.c (compress_float_constant): If x is a hard register,
45488 extend into a pseudo and then move to x.
45490 2014-02-13 Dominik Vogt <vogt@linux.vnet.ibm.com>
45492 * config/s390/s390.c (s390_asm_output_function_label): Fix crash
45493 caused by bad second argument to warning_at() with -mhotpatch and
45494 nested functions (e.g. with gfortran).
45496 2014-02-13 Richard Sandiford <rdsandiford@googlemail.com>
45498 * opts.c (option_name): Remove "enabled by default" rider.
45500 2014-02-12 John David Anglin <danglin@gcc.gnu.org>
45502 * config/pa/pa.c (pa_option_override): Remove auto increment FIXME.
45504 2014-02-12 H.J. Lu <hongjiu.lu@intel.com>
45505 Uros Bizjak <ubizjak@gmail.com>
45508 * configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU assembler.
45509 * configure: Regenerated.
45511 2014-02-12 Richard Biener <rguenther@suse.de>
45513 * vec.c (vec_prefix::calculate_allocation): Move as
45514 inline variant to vec.h.
45515 (vec_prefix::calculate_allocation_1): New out-of-line version.
45516 * vec.h (vec_prefix::calculate_allocation_1): Declare.
45517 (vec_prefix::m_has_auto_buf): Rename to ...
45518 (vec_prefix::m_using_auto_storage): ... this.
45519 (vec_prefix::calculate_allocation): Inline the easy cases
45520 and dispatch to calculate_allocation_1 which doesn't need the
45522 (va_heap::reserve): Use gcc_checking_assert.
45523 (vec<T, A, vl_embed>::embedded_init): Add argument to initialize
45524 m_using_auto_storage.
45525 (auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed>
45527 (vec<T, va_heap, vl_ptr>::reserve): Remove redundant check.
45528 (vec<T, va_heap, vl_ptr>::release): Avoid casting.
45529 (vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify.
45531 2014-02-12 Richard Biener <rguenther@suse.de>
45533 * gcse.c (compute_transp): break from loop over canon_modify_mem_list
45534 when we found a dependence.
45536 2014-02-12 Thomas Schwinge <thomas@codesourcery.com>
45538 * gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move
45540 (maybe_fold_stmt): ... into this new function.
45541 * omp-low.c (lower_omp): Update comment.
45543 * omp-low.c (lower_omp_target): Add clobber for sizes array, after
45546 * omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
45549 2014-02-12 James Greenhalgh <james.greenhalgh@arm.com>
45551 * config/arm/aarch-cost-tables.h (generic_extra_costs): Fix
45552 identifiers in comments.
45553 (cortexa53_extra_costs): Likewise.
45554 * config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in comments.
45555 (cortexa7_extra_costs): Likewise.
45556 (cortexa12_extra_costs): Likewise.
45557 (cortexa15_extra_costs): Likewise.
45558 (v7m_extra_costs): Likewise.
45560 2014-02-12 Richard Biener <rguenther@suse.de>
45562 PR middle-end/60092
45563 * gimple-low.c (lower_builtin_posix_memalign): Lower conditional
45564 of posix_memalign being successful.
45565 (lower_stmt): Restrict lowering of posix_memalign to when
45566 -ftree-bit-ccp is enabled.
45568 2014-02-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
45570 * config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for
45572 * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.
45574 2014-02-12 Eric Botcazou <ebotcazou@adacore.com>
45576 PR rtl-optimization/60116
45577 * combine.c (try_combine): Also remove dangling REG_DEAD notes on the
45578 other_insn once the combination has been validated.
45580 2014-02-11 Jan Hubicka <hubicka@ucw.cz>
45583 * ipa-utils.h (possible_polymorphic_call_targets): Update prototype
45585 * ipa-devirt.c: Include demangle.h
45586 (odr_violation_reported): New static variable.
45587 (add_type_duplicate): Update odr_violations.
45588 (maybe_record_node): Add completep parameter; update it.
45589 (record_target_from_binfo): Add COMPLETEP parameter;
45590 update it as needed.
45591 (possible_polymorphic_call_targets_1): Likewise.
45592 (struct polymorphic_call_target_d): Add nonconstruction_targets;
45593 rename FINAL to COMPLETE.
45594 (record_targets_from_bases): Sanity check we found the binfo;
45595 fix COMPLETEP updating.
45596 (possible_polymorphic_call_targets): Add NONCONSTRUTION_TARGETSP
45597 parameter, fix computing of COMPLETEP.
45598 (dump_possible_polymorphic_call_targets): Imrove readability of dump;
45599 at LTO time do demangling.
45600 (ipa_devirt): Use nonconstruction_targets; Improve dumps.
45601 * gimple-fold.c (gimple_get_virt_method_for_vtable): Add can_refer
45603 (gimple_get_virt_method_for_binfo): Likewise.
45604 * gimple-fold.h (gimple_get_virt_method_for_binfo,
45605 gimple_get_virt_method_for_vtable): Update prototypes.
45607 2014-02-11 Vladimir Makarov <vmakarov@redhat.com>
45610 * genautomata.c (add_presence_absence): Fix typo with
45611 {final_}presence_list.
45613 2014-02-11 Michael Meissner <meissner@linux.vnet.ibm.com>
45616 * config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
45617 for VSX/Altivec vectors that land in GPR registers.
45619 2014-02-11 Richard Henderson <rth@redhat.com>
45620 Jakub Jelinek <jakub@redhat.com>
45623 * tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR
45624 around drhs if type conversion to lacc->type is not useless.
45626 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
45628 * config/aarch64/aarch64-cores.def (cortex-a57): Use cortexa57
45630 (cortex-a57.cortex-a53): Likewise.
45631 * config/aarch64/aarch64.c (cortexa57_tunings): New tuning struct.
45633 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
45635 * config/arm/thumb2.md (*thumb2_movhi_insn): Add alternatives for
45638 2014-02-11 Renlin Li <Renlin.Li@arm.com>
45640 * doc/sourcebuild.texi: Document check_effective_target_arm_vfp3_ok and
45641 add_options_for_arm_vfp3.
45643 2014-02-11 Jeff Law <law@redhat.com>
45645 PR middle-end/54041
45646 * expr.c (expand_expr_addr_expr_1): Handle expand_expr returning an
45647 object with an undesirable mode.
45649 2014-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
45652 * config/i386/sol2-9.h: New file.
45653 * config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*,
45654 *-*-solaris2.9*): Use it.
45656 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
45658 * config/microblaze/microblaze.md: Add movsi4_rev insn pattern.
45659 * config/microblaze/predicates.md: Add reg_or_mem_operand predicate.
45661 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
45663 * config/microblaze/microblaze.c: Extend mcpu version format
45665 2014-02-10 David Holsgrove <david.holsgrove@xilinx.com>
45667 * config/microblaze/microblaze.h: Define SIZE_TYPE and PTRDIFF_TYPE.
45669 2014-02-10 Richard Henderson <rth@redhat.com>
45672 * calls.c (expand_call): Don't double-push for reg_parm_stack_space.
45673 * config/i386/i386.c (init_cumulative_args): Remove sorry for 64-bit
45674 ms-abi vs -mno-accumulate-outgoing-args.
45675 (ix86_expand_prologue): Unconditionally call ix86_eax_live_at_start_p.
45676 * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Fix comment with
45679 2014-02-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
45681 PR middle-end/60080
45682 * cfgexpand.c (expand_asm_operands): Attach source location to
45683 ASM_INPUT rtx objects.
45684 * print-rtl.c (print_rtx): Check for UNKNOWN_LOCATION.
45686 2014-02-10 Nick Clifton <nickc@redhat.com>
45688 * config/mn10300/mn10300.c (popcount): New function.
45689 (mn10300_expand_prologue): Include saved registers in stack usage
45692 2014-02-10 Jeff Law <law@redhat.com>
45694 PR middle-end/52306
45695 * reload1.c (emit_input_reload_insns): Do not create invalid RTL
45696 when changing the SET_DEST of a prior insn to avoid an input reload.
45698 2014-02-10 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
45700 * config/rs6000/sysv4.h (ENDIAN_SELECT): Do not attempt to enforce
45701 big-endian mode for -mcall-aixdesc, -mcall-freebsd, -mcall-netbsd,
45702 -mcall-openbsd, or -mcall-linux.
45703 (CC1_ENDIAN_BIG_SPEC): Remove.
45704 (CC1_ENDIAN_LITTLE_SPEC): Remove.
45705 (CC1_ENDIAN_DEFAULT_SPEC): Remove.
45706 (CC1_SPEC): Remove (always empty) %cc1_endian_... spec.
45707 (SUBTARGET_EXTRA_SPECS): Remove %cc1_endian_big, %cc1_endian_little,
45708 and %cc1_endian_default.
45709 * config/rs6000/sysv4le.h (CC1_ENDIAN_DEFAULT_SPEC): Remove.
45711 2014-02-10 Richard Biener <rguenther@suse.de>
45713 PR tree-optimization/60115
45714 * tree-eh.c (tree_could_trap_p): Unify TARGET_MEM_REF and
45715 MEM_REF handling. Properly verify that the accesses are not
45716 out of the objects bound.
45718 2014-02-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
45720 * config/aarch64/aarch64.c (aarch64_override_options): Fix typo from
45723 2014-02-10 Eric Botcazou <ebotcazou@adacore.com>
45725 * ipa-devirt.c (get_polymorphic_call_info_from_invariant): Return
45726 proper constants and fix formatting.
45727 (possible_polymorphic_call_targets): Fix formatting.
45729 2014-02-10 Kirill Yukhin <kirill.yukhin@intel.com>
45730 Ilya Tocar <ilya.tocar@intel.com>
45732 * config/i386/avx512fintrin.h (_mm512_storeu_epi64): Removed.
45733 (_mm512_loadu_epi32): Renamed into...
45734 (_mm512_loadu_si512): This.
45735 (_mm512_storeu_epi32): Renamed into...
45736 (_mm512_storeu_si512): This.
45737 (_mm512_maskz_ceil_ps): Removed.
45738 (_mm512_maskz_ceil_pd): Ditto.
45739 (_mm512_maskz_floor_ps): Ditto.
45740 (_mm512_maskz_floor_pd): Ditto.
45741 (_mm512_floor_round_ps): Ditto.
45742 (_mm512_floor_round_pd): Ditto.
45743 (_mm512_ceil_round_ps): Ditto.
45744 (_mm512_ceil_round_pd): Ditto.
45745 (_mm512_mask_floor_round_ps): Ditto.
45746 (_mm512_mask_floor_round_pd): Ditto.
45747 (_mm512_mask_ceil_round_ps): Ditto.
45748 (_mm512_mask_ceil_round_pd): Ditto.
45749 (_mm512_maskz_floor_round_ps): Ditto.
45750 (_mm512_maskz_floor_round_pd): Ditto.
45751 (_mm512_maskz_ceil_round_ps): Ditto.
45752 (_mm512_maskz_ceil_round_pd): Ditto.
45753 (_mm512_expand_pd): Ditto.
45754 (_mm512_expand_ps): Ditto.
45755 * config/i386/i386.c (ix86_builtins): Remove
45756 IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK.
45757 (bdesc_args): Ditto.
45758 * config/i386/predicates.md (const1256_operand): New.
45759 (const_1_to_2_operand): Ditto.
45760 * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
45761 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
45762 (*avx512pf_gatherpf<mode>sf): Ditto.
45763 (avx512pf_gatherpf<mode>df): Ditto.
45764 (*avx512pf_gatherpf<mode>df_mask): Ditto.
45765 (*avx512pf_gatherpf<mode>df): Ditto.
45766 (avx512pf_scatterpf<mode>sf): Ditto.
45767 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
45768 (*avx512pf_scatterpf<mode>sf): Ditto.
45769 (avx512pf_scatterpf<mode>df): Ditto.
45770 (*avx512pf_scatterpf<mode>df_mask): Ditto.
45771 (*avx512pf_scatterpf<mode>df): Ditto.
45772 (avx512f_expand<mode>): Removed.
45773 (<shift_insn><mode>3<mask_name>): Change predicate type.
45775 2014-02-08 Jakub Jelinek <jakub@redhat.com>
45777 * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers
45778 not at the end of datarefs vector use ordered_remove to avoid
45779 reordering datarefs vector.
45782 * gimplify.c (gimplify_bind_expr): In ORT_SIMD region
45783 mark local addressable non-static vars as GOVD_PRIVATE
45784 instead of GOVD_LOCAL.
45785 * omp-low.c (lower_omp_for): Move gimple_bind_vars
45786 and BLOCK_VARS of gimple_bind_block to new_stmt rather
45789 PR middle-end/60092
45790 * tree-ssa-ccp.c (surely_varying_stmt_p): Don't return true
45791 if TYPE_ATTRIBUTES (gimple_call_fntype ()) contain
45792 assume_aligned or alloc_align attributes.
45793 (bit_value_assume_aligned): Add ATTR, PTRVAL and ALLOC_ALIGN
45794 arguments. Handle also assume_aligned and alloc_align attributes.
45795 (evaluate_stmt): Adjust bit_value_assume_aligned caller. Handle
45796 calls to functions with assume_aligned or alloc_align attributes.
45797 * doc/extend.texi: Document assume_aligned and alloc_align attributes.
45799 2014-02-08 Terry Guo <terry.guo@arm.com>
45801 * doc/invoke.texi: Document ARM -march=armv7e-m.
45803 2014-02-08 Jakub Jelinek <jakub@redhat.com>
45805 * cilk-common.c (cilk_init_builtins): Clear TREE_NOTHROW
45806 flag on __cilkrts_rethrow builtin.
45809 * ipa-cp.c (determine_versionability): Fail at -O0
45810 or __attribute__((optimize (0))) or -fno-ipa-cp functions.
45811 * tree-sra.c (ipa_sra_preliminary_function_checks): Similarly.
45814 2014-02-04 Jakub Jelinek <jakub@redhat.com>
45817 * tree-inline.c (copy_forbidden): Fail for
45818 __attribute__((optimize (0))) functions.
45820 2014-02-07 Jan Hubicka <hubicka@ucw.cz>
45822 * varpool.c: Include pointer-set.h.
45823 (varpool_remove_unreferenced_decls): Variables in other partitions
45824 will not be output; be however careful to not lose information
45825 about partitioning.
45827 2014-02-07 Jan Hubicka <hubicka@ucw.cz>
45829 * gimple-fold.c (gimple_get_virt_method_for_vtable): Do O(1)
45830 lookup in the vtable constructor.
45832 2014-02-07 Jeff Law <law@redhat.com>
45835 * config/m68k/m68k.md (ashldi_extsi): Turn into a
45836 define_insn_and_split.
45838 * ipa-inline.c (inline_small_functions): Fix typos.
45840 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
45842 * config/s390/s390-protos.h (s390_can_use_simple_return_insn)
45843 (s390_can_use_return_insn): Declare.
45844 * config/s390/s390.h (EPILOGUE_USES): Define.
45845 * config/s390/s390.c (s390_mainpool_start): Allow two main_pool
45847 (s390_chunkify_start): Handle return JUMP_LABELs.
45848 (s390_early_mach): Emit a main_pool instruction on the entry edge.
45849 (s300_set_up_by_prologue, s390_can_use_simple_return_insn)
45850 (s390_can_use_return_insn): New functions.
45851 (s390_fix_long_loop_prediction): Handle conditional returns.
45852 (TARGET_SET_UP_BY_PROLOGUE): Define.
45853 * config/s390/s390.md (ANY_RETURN): New code iterator.
45854 (*creturn, *csimple_return, return, simple_return): New patterns.
45856 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
45858 * config/s390/s390.c (s390_restore_gprs_from_fprs): Add REG_CFA_RESTORE
45859 notes to each restore. Also add REG_CFA_DEF_CFA when restoring %r15.
45860 (s390_optimize_prologue): Don't clear RTX_FRAME_RELATED_P. Update the
45861 REG_CFA_RESTORE list when deciding not to restore a register.
45863 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
45865 * config/s390/s390.c: Include tree-pass.h and context.h.
45866 (s390_early_mach): New function, split out from...
45867 (s390_emit_prologue): ...here.
45868 (pass_data_s390_early_mach): New pass structure.
45869 (pass_s390_early_mach): New class.
45870 (s390_option_override): Create and register early_mach pass.
45871 Move to end of file.
45873 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
45875 * var-tracking.c (vt_stack_adjustments): Don't require stack_adjusts
45876 to match for the exit block.
45878 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45880 * config/s390/s390.md ("atomic_load<mode>", "atomic_store<mode>")
45881 ("atomic_compare_and_swap<mode>", "atomic_fetch_<atomic><mode>"):
45882 Reject misaligned operands.
45884 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45886 * optabs.c (expand_atomic_compare_and_swap): Allow expander to fail.
45888 2014-02-07 Richard Biener <rguenther@suse.de>
45890 PR middle-end/60092
45891 * gimple-low.c (lower_builtin_posix_memalign): New function.
45892 (lower_stmt): Call it to lower posix_memalign in a way
45893 to make alignment info accessible.
45895 2014-02-07 Jakub Jelinek <jakub@redhat.com>
45898 * tree.c (build_common_builtin_nodes): Set ECF_LEAF for
45899 __builtin_setjmp_receiver.
45901 2014-02-07 Richard Biener <rguenther@suse.de>
45903 PR middle-end/60092
45904 * builtin-types.def (BT_FN_INT_PTRPTR_SIZE_SIZE): Add.
45905 * builtins.def (BUILT_IN_POSIX_MEMALIGN): Likewise.
45906 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
45907 Handle BUILT_IN_POSIX_MEMALIGN.
45908 (find_func_clobbers): Likewise.
45909 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
45910 (call_may_clobber_ref_p_1): Likewise.
45912 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
45915 * ipa-devirt.c (record_target_from_binfo): Remove overactive
45918 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
45921 * lto-cgraph.c (lto_output_node): Use
45922 symtab_get_symbol_partitioning_class.
45923 (lto_output_varpool_node): likewise.
45924 (symtab_get_symbol_partitioning_class): Move here from
45925 lto/lto-partition.c
45926 * cgraph.h (symbol_partitioning_class): Likewise.
45927 (symtab_get_symbol_partitioning_class): Declare.
45929 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
45931 * ggc.h (ggc_internal_cleared_alloc): New macro.
45932 * vec.h (vec_safe_copy): Handle memory stats.
45933 * omp-low.c (simd_clone_struct_alloc): Use ggc_internal_cleared_alloc.
45934 * target-globals.c (save_target_globals): Likewise.
45936 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
45939 * expr.c (emit_move_resolve_push): Export; be bit more selective
45940 on when to clear alias set.
45941 * expr.h (emit_move_resolve_push): Declare.
45942 * function.h (struct function): Add tail_call_marked.
45943 * tree-tailcall.c (optimize_tail_call): Set tail_call_marked.
45944 * config/i386/i386-protos.h (ix86_expand_push): Remove.
45945 * config/i386/i386.md (TImode move expander): De not call
45947 (FP push expanders): Preserve memory attributes.
45948 * config/i386/sse.md (push<mode>1): Remove.
45949 * config/i386/i386.c (ix86_expand_vector_move): Handle push operation.
45950 (ix86_expand_push): Remove.
45951 * config/i386/mmx.md (push<mode>1): Remove.
45953 2014-02-06 Jakub Jelinek <jakub@redhat.com>
45955 PR rtl-optimization/60030
45956 * internal-fn.c (ubsan_expand_si_overflow_mul_check): Surround
45957 lopart with paradoxical subreg before shifting it up by hprec.
45959 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
45961 * config/arm/aarch-cost-tables.h (cortexa57_extra_costs): New table.
45962 Remove extra newline at end of file.
45963 * config/arm/arm.c (arm_cortex_a57_tune): New tuning struct.
45964 (arm_issue_rate): Handle cortexa57.
45965 * config/arm/arm-cores.def (cortex-a57): Use cortex_a57 tuning.
45966 (cortex-a57.cortex-a53): Likewise.
45968 2014-02-06 Jakub Jelinek <jakub@redhat.com>
45971 * config/arm/arm.c (emit_multi_reg_push): Add dwarf_regs_mask argument,
45972 don't record in REG_FRAME_RELATED_EXPR registers not set in that
45974 (arm_expand_prologue): Adjust all callers.
45975 (arm_unwind_emit_sequence): Allow saved, but not important for unwind
45976 info, registers also at the lowest numbered registers side. Use
45977 gcc_assert instead of abort, and SET_SRC/SET_DEST macros instead of
45981 * var-tracking.c (adjust_mems): Before adding a SET to
45982 amd->side_effects, adjust it's SET_SRC using simplify_replace_fn_rtx.
45984 2014-02-06 Alan Modra <amodra@gmail.com>
45987 * config/rs6000/rs6000.c (rs6000_secondary_memory_needed_mode): Only
45988 change SDmode to DDmode when lra_in_progress.
45990 2014-02-06 Jakub Jelinek <jakub@redhat.com>
45992 PR middle-end/59150
45993 * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers, call
45994 free_data_ref on the dr first, and before goto again also set dr
45995 to the next dr. For simd_lane_access, free old datarefs[i] before
45996 overwriting it. For get_vectype_for_scalar_type failure, don't
45997 free_data_ref if simd_lane_access.
45999 * Makefile.in (prefix.o, cppbuiltin.o): Depend on $(BASEVER).
46002 * tree.h (opts_for_fn): New inline function.
46003 (opt_for_fn): Define.
46004 * config/i386/i386.c (ix86_function_regparm): Use
46005 opt_for_fn (decl, optimize) instead of optimize.
46007 2014-02-06 Marcus Shawcroft <marcus.shawcroft@arm.com>
46009 * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix logic
46010 for SYMBOL_REF in large memory model.
46012 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
46014 * config/aarch64/aarch64-cores.def (cortex-a53): Specify CRC32
46015 and crypto support.
46016 (cortex-a57): Likewise.
46017 (cortex-a57.cortex-a53): Likewise.
46019 2014-02-06 Yury Gribov <y.gribov@samsung.com>
46020 Kugan Vivekanandarajah <kuganv@linaro.org>
46022 * config/arm/arm.c (arm_vector_alignment_reachable): Check
46024 * config/arm/arm.c (arm_builtin_support_vector_misalignment): Likewise.
46026 2014-02-06 Richard Biener <rguenther@suse.de>
46028 * tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of
46029 set_loop_copy and initialize_original_copy_tables.
46031 2014-02-06 Alex Velenko <Alex.Velenko@arm.com>
46033 * config/aarch64/aarch64-simd.md
46034 (aarch64_ashr_simddi): Change QI to SI.
46036 2014-02-05 Jan Hubicka <hubicka@ucw.cz>
46037 Jakub Jelinek <jakub@redhat.com>
46039 PR middle-end/60013
46040 * ipa-inline-analysis.c (compute_bb_predicates): Ensure monotonicity
46043 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
46045 * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Change
46046 CODE_FOR_altivec_vpku[hw]um to
46047 CODE_FOR_altivec_vpku[hw]um_direct.
46048 * config/rs6000/altivec.md (vec_unpacks_hi_<VP_small_lc>): Change
46049 UNSPEC_VUNPACK_HI_SIGN to UNSPEC_VUNPACK_HI_SIGN_DIRECT.
46050 (vec_unpacks_lo_<VP_small_lc>): Change UNSPEC_VUNPACK_LO_SIGN to
46051 UNSPEC_VUNPACK_LO_SIGN_DIRECT.
46053 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
46055 * config/rs6000/altivec.md (altivec_vsum2sws): Adjust code
46056 generation for -maltivec=be.
46057 (altivec_vsumsws): Simplify redundant test.
46059 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
46061 * altivec.md (UNSPEC_VPACK_UNS_UNS_MOD_DIRECT): New unspec.
46062 (UNSPEC_VUNPACK_HI_SIGN_DIRECT): Likewise.
46063 (UNSPEC_VUNPACK_LO_SIGN_DIRECT): Likewise.
46064 (mulv8hi3): Use gen_altivec_vpkuwum_direct instead of
46065 gen_altivec_vpkuwum.
46066 (altivec_vpkpx): Test for VECTOR_ELT_ORDER_BIG instead of for
46068 (altivec_vpks<VI_char>ss): Likewise.
46069 (altivec_vpks<VI_char>us): Likewise.
46070 (altivec_vpku<VI_char>us): Likewise.
46071 (altivec_vpku<VI_char>um): Likewise.
46072 (altivec_vpku<VI_char>um_direct): New (copy of
46073 altivec_vpku<VI_char>um that still relies on BYTES_BIG_ENDIAN, for
46075 (altivec_vupkhs<VU_char>): Emit vupkls* instead of vupkhs* when
46076 target is little endian and -maltivec=be is not specified.
46077 (*altivec_vupkhs<VU_char>_direct): New (copy of
46078 altivec_vupkhs<VU_char> that always emits vupkhs*, for internal use).
46079 (altivec_vupkls<VU_char>): Emit vupkhs* instead of vupkls* when
46080 target is little endian and -maltivec=be is not specified.
46081 (*altivec_vupkls<VU_char>_direct): New (copy of
46082 altivec_vupkls<VU_char> that always emits vupkls*, for internal use).
46083 (altivec_vupkhpx): Emit vupklpx instead of vupkhpx when target is
46084 little endian and -maltivec=be is not specified.
46085 (altivec_vupklpx): Emit vupkhpx instead of vupklpx when target is
46086 little endian and -maltivec=be is not specified.
46088 2014-02-05 Richard Henderson <rth@redhat.com>
46091 * combine-stack-adj.c: Revert r206943.
46092 * sched-int.h (struct deps_desc): Add last_args_size.
46093 * sched-deps.c (init_deps): Initialize it.
46094 (sched_analyze_insn): Add OUTPUT dependencies between insns that
46095 contain REG_ARGS_SIZE notes.
46097 2014-02-05 Jan Hubicka <hubicka@ucw.cz>
46099 * lto-cgraph.c (asm_nodes_output): Make global.
46100 * lto-wrapper.c (run_gcc): Pass down paralelizm to WPA.
46101 * gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA parameter
46102 (driver_handle_option): Handle OPT_fwpa.
46104 2014-02-05 Jakub Jelinek <jakub@redhat.com>
46107 * ipa-devirt.c (possible_polymorphic_call_targets): Fix
46108 a comment typo and formatting issue. If odr_hash hasn't been
46109 created, return vNULL and set *completep to false.
46111 PR middle-end/57499
46112 * tree-eh.c (cleanup_empty_eh): Bail out on totally empty
46113 bb with no successors.
46115 2014-02-05 James Greenhalgh <james.greenhalgh@arm.com>
46118 * doc/invoke.texi (-march): Clarify documentation for ARM.
46119 (-mtune): Likewise.
46122 2014-02-05 Richard Biener <rguenther@suse.de>
46124 * tree-vect-loop.c (vect_analyze_loop_2): Be more informative
46125 when not vectorizing because of too many alias checks.
46126 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
46127 Add more verboseness, avoid duplicate MSG_MISSED_OPTIMIZATION.
46129 2014-02-05 Nick Clifton <nickc@redhat.com>
46131 * config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not
46132 accept extended registers in any mode when compiling for the MN10300.
46134 2014-02-05 Yury Gribov <y.gribov@samsung.com>
46136 * cif-code.def (ATTRIBUTE_MISMATCH): New CIF code.
46137 * ipa-inline.c (report_inline_failed_reason): Handle mismatched
46138 sanitization attributes.
46139 (can_inline_edge_p): Likewise.
46140 (sanitize_attrs_match_for_inline_p): New function.
46142 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
46144 * ipa-prop.c (detect_type_change): Shor circuit testing of
46145 type changes on THIS pointer.
46147 2014-02-04 John David Anglin <danglin@gcc.gnu.org>
46150 * config/pa/pa.c (legitimize_tls_address): Return original address
46151 if not passed a SYMBOL_REF rtx.
46152 (hppa_legitimize_address): Call legitimize_tls_address for all TLS
46154 (pa_emit_move_sequence): Simplify TLS source operands.
46155 (pa_legitimate_constant_p): Reject all TLS constants.
46156 * config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment.
46157 (CONSTANT_ADDRESS_P): Reject TLS CONST addresses.
46159 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
46161 * ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY
46162 groups when we know they are controlled by LTO.
46163 * varasm.c (default_binds_local_p_1): If object is in other partition,
46164 it will be resolved locally.
46166 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
46168 * config/host-linux.c (linux_gt_pch_use_address): Don't
46169 use SSIZE_MAX because it is not always defined.
46171 2014-02-04 Vladimir Makarov <vmakarov@redhat.com>
46174 * lra-constraints.c (need_for_split_p): Use more 3 reloads as
46175 threshold for pseudo splitting.
46176 (update_ebb_live_info): Process call argument hard registers and
46177 hard registers from insn definition too.
46178 (max_small_class_regs_num): New constant.
46179 (inherit_in_ebb): Update live hard regs through EBBs. Update
46180 reloads_num only for small register classes. Don't split for
46183 2014-02-04 Markus Trippelsdorf <markus@trippelsdorf.de>
46186 * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that target
46189 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
46191 * gimple-fold.c (can_refer_decl_in_current_unit_p): Default
46192 visibility is safe.
46194 2014-02-04 Marek Polacek <polacek@redhat.com>
46196 * gdbinit.in (pel): Define.
46198 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
46200 * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current
46203 2014-02-04 Richard Biener <rguenther@suse.de>
46206 * lto-streamer-out.c (tree_is_indexable): Force NAMELIST_DECLs
46207 in function context local.
46208 (lto_output_tree_ref): Do not write trees from lto_output_tree_ref.
46209 * lto-streamer-in.c (lto_input_tree_ref): Handle LTO_namelist_decl_ref
46210 similar to LTO_imported_decl_ref.
46212 2014-02-04 Jakub Jelinek <jakub@redhat.com>
46214 PR tree-optimization/60002
46215 * cgraphclones.c (build_function_decl_skip_args): Clear
46216 DECL_LANG_SPECIFIC.
46218 PR tree-optimization/60023
46219 * tree-if-conv.c (predicate_mem_writes): Pass true instead of
46220 false to gsi_replace.
46221 * tree-vect-stmts.c (vect_finish_stmt_generation): If stmt
46222 has been in some EH region and vec_stmt could throw, add
46223 vec_stmt into the same EH region.
46224 * tree-data-ref.c (get_references_in_stmt): If IFN_MASK_LOAD
46225 has no lhs, ignore it.
46226 * internal-fn.c (expand_MASK_LOAD): Likewise.
46229 * tree-inline.c (copy_forbidden): Fail for
46230 __attribute__((optimize (0))) functions.
46233 * omp-low.c (simd_clone_struct_copy): If from->inbranch
46234 is set, copy one less argument.
46235 (expand_simd_clones): Don't subtract clone_info->inbranch
46236 from simd_clone_struct_alloc argument.
46238 PR rtl-optimization/57915
46239 * recog.c (simplify_while_replacing): If all unary/binary/relational
46240 operation arguments are constant, attempt to simplify those.
46242 PR middle-end/59261
46243 * expmed.c (expand_mult): For MODE_VECTOR_INT multiplication
46244 if there is no vashl<mode>3 or ashl<mode>3 insn, skip_synth.
46246 2014-02-04 Richard Biener <rguenther@suse.de>
46248 PR tree-optimization/60012
46249 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Apply
46250 TBAA disambiguation to all DDRs.
46252 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
46255 * config/sol2.h (LINK_LIBGCC_MAPFILE_SPEC): Define.
46256 (LINK_SPEC): Use it for -shared, -shared-libgcc.
46258 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
46261 * tree.c (get_binfo_at_offset): Do not get confused by empty classes;
46263 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
46265 * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Remove.
46266 * gimple-fold.h (gimple_extract_devirt_binfo_from_cst): Remove.
46268 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
46271 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use ipa-devirt
46272 to figure out targets of polymorphic calls with known decl.
46273 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
46274 * ipa-utils.h (get_polymorphic_call_info_from_invariant): Declare.
46275 * ipa-devirt.c (get_polymorphic_call_info_for_decl): Break out from ...
46276 (get_polymorphic_call_info): ... here.
46277 (get_polymorphic_call_info_from_invariant): New function.
46279 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
46281 * ipa-cp.c (ipa_get_indirect_edge_target_1): Do direct
46282 lookup via vtable pointer; check for type consistency
46283 and turn inconsitent facts into UNREACHABLE.
46284 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
46285 * gimple-fold.c (gimple_get_virt_method_for_vtable): Do not ICE on
46286 type inconsistent querries; return UNREACHABLE instead.
46288 2014-02-03 Richard Henderson <rth@twiddle.net>
46291 * tree-ssa-uninit.c (push_to_worklist): Don't re-push if we've
46292 already processed this node.
46293 (normalize_one_pred_1): Pass along mark_set.
46294 (normalize_one_pred): Create and destroy a pointer_set_t.
46295 (normalize_one_pred_chain): Likewise.
46297 2014-02-03 Laurent Aflonsi <laurent.alfonsi@st.com>
46299 PR gcov-profile/58602
46300 * gcc/gcov-io.c (gcov_open): Open with truncation when mode < 0.
46302 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
46305 * ipa-cp.c (ipa_get_indirect_edge_target_1): Give up on
46306 -fno-devirtualize; try to devirtualize by the knowledge of
46307 virtual table pointer given by aggregate propagation.
46308 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
46309 (ipa_print_node_jump_functions): Dump also offset that
46310 is relevant for polymorphic calls.
46311 (determine_known_aggregate_parts): Add arg_type parameter; use it
46312 instead of determining the type from pointer type.
46313 (ipa_compute_jump_functions_for_edge): Update call of
46314 determine_known_aggregate_parts.
46315 * gimple-fold.c (gimple_get_virt_method_for_vtable): Break out from ...
46316 (gimple_get_virt_method_for_binfo): ... here; simplify using
46317 vtable_pointer_value_to_vtable.
46318 * gimple-fold.h (gimple_get_virt_method_for_vtable): Declare.
46319 * ipa-devirt.c (subbinfo_with_vtable_at_offset): Turn OFFSET parameter
46320 to unsigned HOST_WIDE_INT; use vtable_pointer_value_to_vtable.
46321 (vtable_pointer_value_to_vtable): Break out from ...; handle also
46323 (vtable_pointer_value_to_binfo): ... here.
46324 * ipa-utils.h (vtable_pointer_value_to_vtable): Declare.
46326 2014-02-03 Teresa Johnson <tejohnson@google.com>
46328 * tree-vect-slp.c (vect_supported_load_permutation_p): Avoid
46329 redef of outer loop index variable.
46331 2014-02-03 Marc Glisse <marc.glisse@inria.fr>
46335 * doc/extend.texi (Function Attributes): Typo.
46337 2014-02-03 Cong Hou <congh@google.com>
46339 PR tree-optimization/60000
46340 * tree-vect-loop.c (vect_transform_loop): Set pattern_def_seq to NULL
46341 if the vectorized statement is a store. A store statement can only
46342 appear at the end of pattern statements.
46344 2014-02-03 H.J. Lu <hongjiu.lu@intel.com>
46346 * config/i386/i386.c (flag_opts): Add -mlong-double-128.
46347 (ix86_option_override_internal): Default long double to 64-bit for
46348 32-bit Bionic and to 128-bit for 64-bit Bionic.
46350 * config/i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Use 128 if
46351 TARGET_LONG_DOUBLE_128 is true.
46352 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
46354 * config/i386/i386.opt (mlong-double-80): Negate -mlong-double-64.
46355 (mlong-double-64): Negate -mlong-double-128.
46356 (mlong-double-128): New option.
46358 * config/i386/i386-c.c (ix86_target_macros): Define
46359 __LONG_DOUBLE_128__ for TARGET_LONG_DOUBLE_128.
46361 * doc/invoke.texi: Document -mlong-double-128.
46363 2014-02-03 H.J. Lu <hongjiu.lu@intel.com>
46365 PR rtl-optimization/60024
46366 * sel-sched.c (init_regs_for_mode): Check if mode is OK first.
46368 2014-02-03 Markus Trippelsdorf <markus@trippelsdorf.de>
46370 * doc/invoke.texi (fprofile-reorder-functions): Fix typo.
46372 2014-02-03 Andrey Belevantsev <abel@ispras.ru>
46374 PR rtl-optimization/57662
46375 * sel-sched.c (code_motion_path_driver): Do not mark already not
46376 existing blocks in the visiting bitmap.
46378 2014-02-03 Andrey Belevantsev <abel@ispras.ru>
46380 * sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P
46381 on the insn being emitted.
46383 2014-02-03 James Greenhalgh <james.greenhalgh@arm.com>
46384 Will Deacon <will.deacon@arm.com>
46386 * doc/gimple.texi (gimple_asm_clear_volatile): Remove.
46388 2014-02-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
46390 * config/arm/arm-tables.opt: Regenerate.
46392 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
46394 * config/rs6000/rs6000.c (altivec_expand_vec_perm_le): Generalize
46395 for vector types other than V16QImode.
46396 * config/rs6000/altivec.md (altivec_vperm_<mode>): Change to a
46397 define_expand, and call altivec_expand_vec_perm_le when producing
46398 code with little endian element order.
46399 (*altivec_vperm_<mode>_internal): New insn having previous
46400 behavior of altivec_vperm_<mode>.
46401 (altivec_vperm_<mode>_uns): Change to a define_expand, and call
46402 altivec_expand_vec_perm_le when producing code with little endian
46404 (*altivec_vperm_<mode>_uns_internal): New insn having previous
46405 behavior of altivec_vperm_<mode>_uns.
46407 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
46409 * config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec.
46410 (altivec_vsumsws): Add handling for -maltivec=be with a little
46412 (altivec_vsumsws_direct): New.
46413 (reduc_splus_<mode>): Call gen_altivec_vsumsws_direct instead of
46414 gen_altivec_vsumsws.
46416 2014-02-02 Jan Hubicka <hubicka@ucw.cz>
46418 * ipa-devirt.c (subbinfo_with_vtable_at_offset,
46419 vtable_pointer_value_to_binfo): New functions.
46420 * ipa-utils.h (vtable_pointer_value_to_binfo): Declare.
46421 * ipa-prop.c (extr_type_from_vtbl_ptr_store): Use it.
46423 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
46425 * config/nios2/nios2.md (load_got_register): Initialize GOT
46426 pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_.
46427 * config/nios2/nios2.c (nios2_function_profiler): Likewise.
46429 2014-02-02 Jan Hubicka <hubicka@ucw.cz>
46431 * ipa-prop.c (update_jump_functions_after_inlining): When type is not
46432 preserverd by passthrough, do not propagate the type.
46434 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
46436 * config/mips/mips.c (MIPS_GET_FCSR, MIPS_SET_FCSR): New macros.
46437 (mips_atomic_assign_expand_fenv): New function.
46438 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
46440 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
46442 * doc/extend.texi (__builtin_mips_get_fcsr): Document.
46443 (__builtin_mips_set_fcsr): Likewise.
46444 * config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and
46445 MIPS_USI_FTYPE_VOID.
46446 * config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare
46447 (mips16_expand_set_fcsr): Likewise.
46448 * config/mips/mips.c (mips16_get_fcsr_stub): New variable.
46449 (mips16_set_fcsr_stub): Likewise.
46450 (mips16_get_fcsr_one_only_stub): New class.
46451 (mips16_set_fcsr_one_only_stub): Likewise.
46452 (mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions.
46453 (mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed.
46454 (BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros.
46455 (hard_float): New availability predicate.
46456 (mips_builtins): Add get_fcsr and set_fcsr.
46457 (mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16.
46458 * config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs.
46459 (GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants.
46460 (mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>)
46461 (mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New
46464 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
46466 * config/mips/mips.c (mips_one_only_stub): New class.
46467 (mips_need_mips16_rdhwr_p): Replace with...
46468 (mips16_rdhwr_stub): ...this new variable.
46469 (mips16_stub_call_address): New function.
46470 (mips16_rdhwr_one_only_stub): New class.
46471 (mips_expand_thread_pointer): Use mips16_stub_call_address.
46472 (mips_output_mips16_rdhwr): Delete.
46473 (mips_finish_stub): New function.
46474 (mips_code_end): Use it to handle rdhwr stubs.
46476 2014-02-02 Uros Bizjak <ubizjak@gmail.com>
46479 * config/i386/i386.c (classify_argument): Fix handling of bit_offset
46480 when calculating size of integer atomic types.
46482 2014-02-02 H.J. Lu <hongjiu.lu@intel.com>
46484 * ipa-inline-analysis.c (true_predicate_p): Fix a typo in comments.
46486 2014-02-01 Jakub Jelinek <jakub@redhat.com>
46488 PR tree-optimization/60003
46489 * gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label.
46490 * profile.c (branch_prob): Use gimple_call_builtin_p
46491 to check for BUILT_IN_SETJMP_RECEIVER.
46492 * tree-inline.c (copy_bb): Call notice_special_calls.
46494 2014-01-31 Vladimir Makarov <vmakarov@redhat.com>
46497 * lra-constraints.c (process_alt_operands): Update reload_sum only
46500 2014-01-31 Richard Henderson <rth@redhat.com>
46502 PR middle-end/60004
46503 * tree-eh.c (lower_try_finally_switch): Delay lowering finally block
46504 until after else_eh is processed.
46506 2014-01-31 Ilya Tocar <ilya.tocar@intel.com>
46508 * config/i386/avx512fintrin.h (_MM_FROUND_TO_NEAREST_INT),
46509 (_MM_FROUND_TO_NEG_INF), (_MM_FROUND_TO_POS_INF),
46510 (_MM_FROUND_TO_ZERO), (_MM_FROUND_CUR_DIRECTION): Are already defined
46511 in smmintrin.h, remove them.
46512 (_MM_FROUND_NO_EXC): Same as above, bit also wrong value.
46513 * config/i386/i386.c (ix86_print_operand): Split sae and rounding.
46514 * config/i386/i386.md (ROUND_SAE): Fix value.
46515 * config/i386/predicates.md (const_4_or_8_to_11_operand): New.
46516 (const48_operand): New.
46517 * config/i386/subst.md (round), (round_expand): Use
46518 const_4_or_8_to_11_operand.
46519 (round_saeonly), (round_saeonly_expand): Use const48_operand.
46521 2014-01-31 Ilya Tocar <ilya.tocar@intel.com>
46523 * config/i386/constraints.md (Yk): Swap meaning with k.
46524 * config/i386/i386.md (movhi_internal): Change Yk to k.
46525 (movqi_internal): Ditto.
46526 (*k<logic><mode>): Ditto.
46529 (kandn<mode>): Ditto.
46530 (*<code>hi_1): Ditto.
46531 (*<code>qi_1): Ditto.
46532 (kxnor<mode>): Ditto.
46533 (kortestzhi): Ditto.
46534 (kortestchi): Ditto.
46536 (*one_cmplhi2_1): Ditto.
46537 (*one_cmplqi2_1): Ditto.
46538 * config/i386/sse.md (): Change k to Yk.
46539 (avx512f_load<mode>_mask): Ditto.
46540 (avx512f_blendm<mode>): Ditto.
46541 (avx512f_store<mode>_mask): Ditto.
46542 (avx512f_storeu<ssemodesuffix>512_mask): Ditto.
46543 (avx512f_storedqu<mode>_mask): Ditto.
46544 (avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>):
46546 (avx512f_ucmp<mode>3<mask_scalar_merge_name>): Ditto.
46547 (avx512f_vmcmp<mode>3<round_saeonly_name>): Ditto.
46548 (avx512f_vmcmp<mode>3_mask<round_saeonly_name>): Ditto.
46549 (avx512f_maskcmp<mode>3): Ditto.
46550 (avx512f_fmadd_<mode>_mask<round_name>): Ditto.
46551 (avx512f_fmadd_<mode>_mask3<round_name>): Ditto.
46552 (avx512f_fmsub_<mode>_mask<round_name>): Ditto.
46553 (avx512f_fmsub_<mode>_mask3<round_name>): Ditto.
46554 (avx512f_fnmadd_<mode>_mask<round_name>): Ditto.
46555 (avx512f_fnmadd_<mode>_mask3<round_name>): Ditto.
46556 (avx512f_fnmsub_<mode>_mask<round_name>): Ditto.
46557 (avx512f_fnmsub_<mode>_mask3<round_name>): Ditto.
46558 (avx512f_fmaddsub_<mode>_mask<round_name>): Ditto.
46559 (avx512f_fmaddsub_<mode>_mask3<round_name>): Ditto.
46560 (avx512f_fmsubadd_<mode>_mask<round_name>): Ditto.
46561 (avx512f_fmsubadd_<mode>_mask3<round_name>): Ditto.
46562 (avx512f_vextract<shuffletype>32x4_1_maskm): Ditto.
46563 (vec_extract_lo_<mode>_maskm): Ditto.
46564 (vec_extract_hi_<mode>_maskm): Ditto.
46565 (avx512f_vternlog<mode>_mask): Ditto.
46566 (avx512f_fixupimm<mode>_mask<round_saeonly_name>): Ditto.
46567 (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Ditto.
46568 (avx512f_<code><pmov_src_lower><mode>2_mask): Ditto.
46569 (avx512f_<code>v8div16qi2_mask): Ditto.
46570 (avx512f_<code>v8div16qi2_mask_store): Ditto.
46571 (avx512f_eq<mode>3<mask_scalar_merge_name>_1): Ditto.
46572 (avx512f_gt<mode>3<mask_scalar_merge_name>): Ditto.
46573 (avx512f_testm<mode>3<mask_scalar_merge_name>): Ditto.
46574 (avx512f_testnm<mode>3<mask_scalar_merge_name>): Ditto.
46575 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
46576 (*avx512pf_gatherpf<mode>df_mask): Ditto.
46577 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
46578 (*avx512pf_scatterpf<mode>df_mask): Ditto.
46579 (avx512cd_maskb_vec_dupv8di): Ditto.
46580 (avx512cd_maskw_vec_dupv16si): Ditto.
46581 (avx512f_vpermi2var<mode>3_maskz): Ditto.
46582 (avx512f_vpermi2var<mode>3_mask): Ditto.
46583 (avx512f_vpermi2var<mode>3_mask): Ditto.
46584 (avx512f_vpermt2var<mode>3_maskz): Ditto.
46585 (*avx512f_gathersi<mode>): Ditto.
46586 (*avx512f_gathersi<mode>_2): Ditto.
46587 (*avx512f_gatherdi<mode>): Ditto.
46588 (*avx512f_gatherdi<mode>_2): Ditto.
46589 (*avx512f_scattersi<mode>): Ditto.
46590 (*avx512f_scatterdi<mode>): Ditto.
46591 (avx512f_compress<mode>_mask): Ditto.
46592 (avx512f_compressstore<mode>_mask): Ditto.
46593 (avx512f_expand<mode>_mask): Ditto.
46594 * config/i386/subst.md (mask): Change k to Yk.
46595 (mask_scalar_merge): Ditto.
46598 2014-01-31 Marc Glisse <marc.glisse@inria.fr>
46600 * doc/extend.texi (Vector Extensions): Document ?: in C++.
46602 2014-01-31 Richard Biener <rguenther@suse.de>
46604 PR middle-end/59990
46605 * builtins.c (fold_builtin_memory_op): Make sure to not
46606 use a floating-point mode or a boolean or enumeral type for
46607 the copy operation.
46609 2014-01-30 DJ Delorie <dj@redhat.com>
46611 * config/msp430/msp430.h (LIB_SPEC): Add -lcrt
46612 * config/msp430/msp430.md (msp430_refsym_need_exit): New.
46613 * config/msp430/msp430.c (msp430_expand_epilogue): Call it
46614 whenever main() has an epilogue.
46616 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
46618 * config/rs6000/rs6000.c (rs6000_expand_vector_init): Remove
46619 unused variable "field".
46620 * config/rs6000/vsx.md (vsx_mergel_<mode>): Add missing DONE.
46621 (vsx_mergeh_<mode>): Likewise.
46622 * config/rs6000/altivec.md (altivec_vmrghb): Likewise.
46623 (altivec_vmrghh): Likewise.
46624 (altivec_vmrghw): Likewise.
46625 (altivec_vmrglb): Likewise.
46626 (altivec_vmrglh): Likewise.
46627 (altivec_vmrglw): Likewise.
46628 (altivec_vspltb): Add missing uses.
46629 (altivec_vsplth): Likewise.
46630 (altivec_vspltw): Likewise.
46631 (altivec_vspltsf): Likewise.
46633 2014-01-30 Jakub Jelinek <jakub@redhat.com>
46636 * ifcvt.c (cond_exec_process_insns): Don't conditionalize
46637 frame related instructions.
46639 2014-01-30 Vladimir Makarov <vmakarov@redhat.com>
46641 PR rtl-optimization/59959
46642 * lra-constrains.c (simplify_operand_subreg): Assign NO_REGS to
46643 any reload of register whose subreg is invalid.
46645 2014-01-30 Jakub Jelinek <jakub@redhat.com>
46647 * config/i386/f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning.
46648 * config/i386/avx512fintrin.h (_mm512_mask_cvtusepi64_storeu_epi32):
46649 Add missing return type - void.
46651 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
46653 * gcc/config/rs6000/rs6000.c (rs6000_expand_vector_init): Use
46654 gen_vsx_xxspltw_v4sf_direct instead of gen_vsx_xxspltw_v4sf;
46655 remove element index adjustment for endian (now handled in vsx.md
46657 (altivec_expand_vec_perm_const): Use
46658 gen_altivec_vsplt[bhw]_direct instead of gen_altivec_vsplt[bhw].
46659 * gcc/config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTW): New unspec.
46660 (vsx_xxspltw_<mode>): Adjust element index for little endian.
46661 * gcc/config/rs6000/altivec.md (altivec_vspltb): Divide into a
46662 define_expand and a new define_insn *altivec_vspltb_internal;
46663 adjust for -maltivec=be on a little endian target.
46664 (altivec_vspltb_direct): New.
46665 (altivec_vsplth): Divide into a define_expand and a new
46666 define_insn *altivec_vsplth_internal; adjust for -maltivec=be on a
46667 little endian target.
46668 (altivec_vsplth_direct): New.
46669 (altivec_vspltw): Divide into a define_expand and a new
46670 define_insn *altivec_vspltw_internal; adjust for -maltivec=be on a
46671 little endian target.
46672 (altivec_vspltw_direct): New.
46673 (altivec_vspltsf): Divide into a define_expand and a new
46674 define_insn *altivec_vspltsf_internal; adjust for -maltivec=be on
46675 a little endian target.
46677 2014-01-30 Richard Biener <rguenther@suse.de>
46679 PR tree-optimization/59993
46680 * tree-ssa-forwprop.c (associate_pointerplus): Check we
46681 can propagate form the earlier stmt and avoid the transform
46682 when the intermediate result is needed.
46684 2014-01-30 Alangi Derick <alangiderick@gmail.com>
46686 * README.Portability: Fix typo.
46688 2014-01-30 David Holsgrove <david.holsgrove@xilinx.com>
46690 * config/microblaze/microblaze.md(cstoresf4, cbranchsf4): Replace
46691 comparison_operator with ordered_comparison_operator.
46693 2014-01-30 Nick Clifton <nickc@redhat.com>
46695 * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation_p):
46696 Rename to mn10300_store_multiple_regs.
46697 * config/mn10300/mn10300.c: Likewise.
46698 * config/mn10300/mn10300.md (store_movm): Fix typo: call
46699 store_multiple_regs.
46700 * config/mn10300/predicates.md (mn10300_store_multiple_operation):
46701 Call mn10300_store_multiple_regs.
46703 2014-01-30 Nick Clifton <nickc@redhat.com>
46704 DJ Delorie <dj@redhat.com>
46706 * config/rl78/rl78.c (register_sizes): Make the "upper half" of
46707 %fp 2 to keep registers after it properly word-aligned.
46708 (rl78_alloc_physical_registers_umul): Handle the case where both
46709 input operands are the same.
46711 2014-01-30 Richard Biener <rguenther@suse.de>
46713 PR tree-optimization/59903
46714 * tree-vect-loop.c (vect_transform_loop): Guard multiple-types
46717 2014-01-30 Jason Merrill <jason@redhat.com>
46720 * tree.c (walk_type_fields): Handle VECTOR_TYPE.
46723 * cgraphunit.c (expand_thunk): Copy volatile arg to a temporary.
46725 2014-01-30 Richard Biener <rguenther@suse.de>
46727 PR tree-optimization/59951
46728 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Skip uses in debug insns.
46730 2014-01-30 Savin Zlobec <savin.zlobec@gmail.com>
46733 * config/nios2/nios2.c (nios2_fpu_insn_asm): Fix asm output of
46734 SFmode to DFmode case.
46736 2014-01-29 DJ Delorie <dj@redhat.com>
46738 * config/msp430/msp430.opt (-minrt): New.
46739 * config/msp430/msp430.h (STARTFILE_SPEC): Link alternate runtime
46741 (ENDFILE_SPEC): Likewise.
46743 2014-01-29 Jan Hubicka <hubicka@ucw.cz>
46745 * ipa-inline-analysis.c (clobber_only_eh_bb_p): New function.
46746 (estimate_function_body_sizes): Use it.
46748 2014-01-29 Paolo Carlini <paolo.carlini@oracle.com>
46751 * dwarf2out.c (is_cxx_auto): New.
46752 (is_base_type): Use it.
46753 (gen_type_die_with_usage): Likewise.
46755 2014-01-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
46757 * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Use
46758 CODE_FOR_altivec_vmrg*_direct rather than CODE_FOR_altivec_vmrg*.
46759 * config/rs6000/vsx.md (vsx_mergel_<mode>): Adjust for
46760 -maltivec=be with LE targets.
46761 (vsx_mergeh_<mode>): Likewise.
46762 * config/rs6000/altivec.md (UNSPEC_VMRG[HL]_DIRECT): New unspecs.
46763 (mulv8hi3): Use gen_altivec_vmrg[hl]w_direct.
46764 (altivec_vmrghb): Replace with define_expand and new
46765 *altivec_vmrghb_internal insn; adjust for -maltivec=be with LE targets.
46766 (altivec_vmrghb_direct): New define_insn.
46767 (altivec_vmrghh): Replace with define_expand and new
46768 *altivec_vmrghh_internal insn; adjust for -maltivec=be with LE targets.
46769 (altivec_vmrghh_direct): New define_insn.
46770 (altivec_vmrghw): Replace with define_expand and new
46771 *altivec_vmrghw_internal insn; adjust for -maltivec=be with LE targets.
46772 (altivec_vmrghw_direct): New define_insn.
46773 (*altivec_vmrghsf): Adjust for endianness.
46774 (altivec_vmrglb): Replace with define_expand and new
46775 *altivec_vmrglb_internal insn; adjust for -maltivec=be with LE targets.
46776 (altivec_vmrglb_direct): New define_insn.
46777 (altivec_vmrglh): Replace with define_expand and new
46778 *altivec_vmrglh_internal insn; adjust for -maltivec=be with LE targets.
46779 (altivec_vmrglh_direct): New define_insn.
46780 (altivec_vmrglw): Replace with define_expand and new
46781 *altivec_vmrglw_internal insn; adjust for -maltivec=be with LE targets.
46782 (altivec_vmrglw_direct): New define_insn.
46783 (*altivec_vmrglsf): Adjust for endianness.
46784 (vec_widen_umult_hi_v16qi): Use gen_altivec_vmrghh_direct.
46785 (vec_widen_umult_lo_v16qi): Use gen_altivec_vmrglh_direct.
46786 (vec_widen_smult_hi_v16qi): Use gen_altivec_vmrghh_direct.
46787 (vec_widen_smult_lo_v16qi): Use gen_altivec_vmrglh_direct.
46788 (vec_widen_umult_hi_v8hi): Use gen_altivec_vmrghw_direct.
46789 (vec_widen_umult_lo_v8hi): Use gen_altivec_vmrglw_direct.
46790 (vec_widen_smult_hi_v8hi): Use gen_altivec_vmrghw_direct.
46791 (vec_widen_smult_lo_v8hi): Use gen_altivec_vmrglw_direct.
46793 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
46795 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate)
46796 (aarch64_legitimate_address_p, aarch64_class_max_nregs): Adjust
46799 2014-01-29 Richard Biener <rguenther@suse.de>
46801 PR tree-optimization/58742
46802 * tree-ssa-forwprop.c (associate_pointerplus): Rename to
46803 associate_pointerplus_align.
46804 (associate_pointerplus_diff): New function.
46805 (associate_pointerplus): Likewise. Call associate_pointerplus_align
46806 and associate_pointerplus_diff.
46808 2014-01-29 Richard Biener <rguenther@suse.de>
46810 * lto-streamer.h (LTO_major_version): Bump to 3.
46811 (LTO_minor_version): Reset to 0.
46813 2014-01-29 Renlin Li <Renlin.Li@arm.com>
46815 * config/arm/arm-arches.def (ARM_ARCH): Add armv7ve arch.
46816 * config/arm/arm.c (FL_FOR_ARCH7VE): New.
46817 (arm_file_start): Generate correct asm header for armv7ve.
46818 * config/arm/bpabi.h: Add multilib support for armv7ve.
46819 * config/arm/driver-arm.c: Change the architectures of cortex-a7
46820 and cortex-a15 to armv7ve.
46821 * config/arm/t-aprofile: Add multilib support for armv7ve.
46822 * doc/invoke.texi: Document -march=armv7ve.
46824 2014-01-29 Richard Biener <rguenther@suse.de>
46826 PR tree-optimization/58742
46827 * tree-ssa-forwprop.c (associate_plusminus): Return true
46828 if we changed sth, defer EH cleanup to ...
46829 (ssa_forward_propagate_and_combine): ... here. Call simplify_mult.
46830 (simplify_mult): New function.
46832 2014-01-29 Jakub Jelinek <jakub@redhat.com>
46834 PR middle-end/59917
46835 PR tree-optimization/59920
46836 * tree.c (build_common_builtin_nodes): Remove
46837 __builtin_setjmp_dispatcher initialization.
46838 * omp-low.h (make_gimple_omp_edges): Add a new int * argument.
46839 * profile.c (branch_prob): Use gsi_start_nondebug_after_labels_bb
46840 instead of gsi_after_labels + manually skipping debug stmts.
46841 Don't ignore bbs with BUILT_IN_SETJMP_DISPATCHER, instead
46842 ignore bbs with IFN_ABNORMAL_DISPATCHER.
46843 * tree-inline.c (copy_edges_for_bb): Remove
46844 can_make_abnormal_goto argument, instead add abnormal_goto_dest
46845 argument. Ignore computed_goto_p stmts. Don't call
46846 make_abnormal_goto_edges. If a call might need abnormal edges
46847 for non-local gotos, see if it already has an edge to
46848 IFN_ABNORMAL_DISPATCHER or if it is IFN_ABNORMAL_DISPATCHER
46849 with true argument, don't do anything then, otherwise add
46850 EDGE_ABNORMAL from the call's bb to abnormal_goto_dest.
46851 (copy_cfg_body): Compute abnormal_goto_dest, adjust copy_edges_for_bb
46853 * gimple-low.c (struct lower_data): Remove calls_builtin_setjmp.
46854 (lower_function_body): Don't emit __builtin_setjmp_dispatcher.
46855 (lower_stmt): Don't set data->calls_builtin_setjmp.
46856 (lower_builtin_setjmp): Adjust comment.
46857 * builtins.def (BUILT_IN_SETJMP_DISPATCHER): Remove.
46858 * tree-cfg.c (found_computed_goto): Remove.
46859 (factor_computed_gotos): Remove.
46860 (make_goto_expr_edges): Return bool, true for computed gotos.
46861 Don't call make_abnormal_goto_edges.
46862 (build_gimple_cfg): Don't set found_computed_goto, don't call
46863 factor_computed_gotos.
46864 (computed_goto_p): No longer static.
46865 (make_blocks): Don't set found_computed_goto.
46866 (get_abnormal_succ_dispatcher, handle_abnormal_edges): New functions.
46867 (make_edges): If make_goto_expr_edges returns true, push bb
46868 into ab_edge_goto vector, for stmt_can_make_abnormal_goto calls
46869 instead of calling make_abnormal_goto_edges push bb into ab_edge_call
46870 vector. Record mapping between bbs and OpenMP regions if there
46871 are any, adjust make_gimple_omp_edges caller. Call
46872 handle_abnormal_edges.
46873 (make_abnormal_goto_edges): Remove.
46874 * tree-cfg.h (make_abnormal_goto_edges): Remove.
46875 (computed_goto_p, get_abnormal_succ_dispatcher): New prototypes.
46876 * internal-fn.c (expand_ABNORMAL_DISPATCHER): New function.
46877 * builtins.c (expand_builtin): Don't handle BUILT_IN_SETJMP_DISPATCHER.
46878 * internal-fn.def (ABNORMAL_DISPATCHER): New.
46879 * omp-low.c (make_gimple_omp_edges): Add region_idx argument, when
46880 filling *region also set *region_idx to (*region)->entry->index.
46883 * read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code).
46884 For REGs set ORIGINAL_REGNO.
46886 2014-01-29 Bingfeng Mei <bmei@broadcom.com>
46888 * doc/md.texi: Mention that a target shouldn't implement
46889 vec_widen_(s|u)mul_even/odd pair if it is less efficient
46892 2014-01-29 Jakub Jelinek <jakub@redhat.com>
46894 PR tree-optimization/59594
46895 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Sort
46896 a copy of the datarefs vector rather than the vector itself.
46898 2014-01-28 Jason Merrill <jason@redhat.com>
46901 * dwarf2out.c (auto_die): New static.
46902 (gen_type_die_with_usage): Handle C++1y 'auto'.
46903 (gen_subprogram_die): If in-class DIE had 'auto', emit type again
46906 2014-01-28 H.J. Lu <hongjiu.lu@intel.com>
46909 * config/i386/gnu-user64.h (SPEC_32): Add "m16|" to "m32".
46910 (SPEC_X32): Likewise.
46911 (SPEC_64): Likewise.
46912 * config/i386/i386.c (ix86_option_override_internal): Turn off
46913 OPTION_MASK_ISA_64BIT, OPTION_MASK_ABI_X32 and OPTION_MASK_ABI_64
46915 (x86_file_start): Output .code16gcc for TARGET_16BIT.
46916 * config/i386/i386.h (TARGET_16BIT): New macro.
46917 (TARGET_16BIT_P): Likewise.
46918 * config/i386/i386.opt: Add m16.
46919 * doc/invoke.texi: Document -m16.
46921 2014-01-28 Jakub Jelinek <jakub@redhat.com>
46923 PR preprocessor/59935
46924 * input.c (location_get_source_line): Bail out on when line number
46925 is zero, and test the return value of lookup_or_add_file_to_cache_tab.
46927 2014-01-28 Richard Biener <rguenther@suse.de>
46929 PR tree-optimization/58742
46930 * tree-ssa-forwprop.c (associate_plusminus): Handle
46931 pointer subtraction of the form (T)(P + A) - (T)P.
46933 2014-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
46935 * config/arm/arm.c (arm_new_rtx_costs): Remove useless statement
46938 2014-01-28 Richard Biener <rguenther@suse.de>
46941 2014-01-28 Richard Biener <rguenther@suse.de>
46943 PR rtl-optimization/45364
46944 PR rtl-optimization/59890
46945 * var-tracking.c (local_get_addr_clear_given_value): Handle
46946 already cleared slot.
46947 (val_reset): Handle not allocated local_get_addr_cache.
46948 (vt_find_locations): Use post-order on the inverted CFG.
46950 2014-01-28 Richard Biener <rguenther@suse.de>
46952 * tree-data-ref.h (ddr_is_anti_dependent, ddrs_have_anti_deps): Remove.
46954 2014-01-28 Richard Biener <rguenther@suse.de>
46956 PR rtl-optimization/45364
46957 PR rtl-optimization/59890
46958 * var-tracking.c (local_get_addr_clear_given_value): Handle
46959 already cleared slot.
46960 (val_reset): Handle not allocated local_get_addr_cache.
46961 (vt_find_locations): Use post-order on the inverted CFG.
46963 2014-01-28 Alan Modra <amodra@gmail.com>
46965 * Makefile.in (BUILD_CPPFLAGS): Do not use ALL_CPPFLAGS.
46966 * configure.ac <recursive call for build != host>: Define
46967 GENERATOR_FILE. Comment. Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD
46968 and LD_FOR_BUILD too.
46969 * configure: Regenerate.
46971 2014-01-27 Allan Sandfeld Jensen <sandfeld@kde.org>
46973 * config/i386/i386.c (get_builtin_code_for_version): Separate
46974 Westmere from Nehalem, Ivy Bridge from Sandy Bridge and
46975 Broadwell from Haswell.
46977 2014-01-27 Steve Ellcey <sellcey@mips.com>
46979 * common/config/mips/mips-common.c (TARGET_DEFAULT_TARGET_FLAGS):
46980 Remove TARGET_FP_EXCEPTIONS_DEFAULT and MASK_FUSED_MADD.
46981 * config/mips/mips.c (mips_option_override): Change setting
46983 * config/mips/mips.h (TARGET_FP_EXCEPTIONS_DEFAULT): Remove.
46984 * config/mips/mips.opt (DSP, DSPR2, FP_EXCEPTIONS, FUSED_MADD, MIPS3D):
46985 Change from Mask to Var.
46987 2014-01-27 Jeff Law <law@redhat.com>
46989 * ipa-inline.c (inline_small_functions): Fix typo.
46991 2014-01-27 Ilya Tocar <ilya.tocar@intel.com>
46993 * config/i386/avx512fintrin.h (_mm512_mask_cvtepi32_storeu_epi8): New.
46994 (_mm512_mask_cvtsepi32_storeu_epi8): Ditto.
46995 (_mm512_mask_cvtusepi32_storeu_epi8): Ditto.
46996 (_mm512_mask_cvtepi32_storeu_epi16): Ditto.
46997 (_mm512_mask_cvtsepi32_storeu_epi16): Ditto.
46998 (_mm512_mask_cvtusepi32_storeu_epi16): Ditto.
46999 (_mm512_mask_cvtepi64_storeu_epi32): Ditto.
47000 (_mm512_mask_cvtsepi64_storeu_epi32): Ditto.
47001 (_mm512_mask_cvtusepi64_storeu_epi32): Ditto.
47002 (_mm512_mask_cvtepi64_storeu_epi16): Ditto.
47003 (_mm512_mask_cvtsepi64_storeu_epi16): Ditto.
47004 (_mm512_mask_cvtusepi64_storeu_epi16): Ditto.
47005 (_mm512_mask_cvtepi64_storeu_epi8): Ditto.
47006 (_mm512_mask_cvtsepi64_storeu_epi8): Ditto.
47007 (_mm512_mask_cvtusepi64_storeu_epi8): Ditto.
47008 (_mm512_storeu_epi64): Ditto.
47009 (_mm512_cmpge_epi32_mask): Ditto.
47010 (_mm512_cmpge_epu32_mask): Ditto.
47011 (_mm512_cmpge_epi64_mask): Ditto.
47012 (_mm512_cmpge_epu64_mask): Ditto.
47013 (_mm512_cmple_epi32_mask): Ditto.
47014 (_mm512_cmple_epu32_mask): Ditto.
47015 (_mm512_cmple_epi64_mask): Ditto.
47016 (_mm512_cmple_epu64_mask): Ditto.
47017 (_mm512_cmplt_epi32_mask): Ditto.
47018 (_mm512_cmplt_epu32_mask): Ditto.
47019 (_mm512_cmplt_epi64_mask): Ditto.
47020 (_mm512_cmplt_epu64_mask): Ditto.
47021 (_mm512_cmpneq_epi32_mask): Ditto.
47022 (_mm512_cmpneq_epu32_mask): Ditto.
47023 (_mm512_cmpneq_epi64_mask): Ditto.
47024 (_mm512_cmpneq_epu64_mask): Ditto.
47025 (_mm512_expand_pd): Ditto.
47026 (_mm512_expand_ps): Ditto.
47027 * config/i386/i386-builtin-types.def: Add PV16QI, PV16QI, PV16HI,
47028 VOID_PV8SI_V8DI_QI, VOID_PV8HI_V8DI_QI, VOID_PV16QI_V8DI_QI,
47029 VOID_PV16QI_V16SI_HI, VOID_PV16HI_V16SI_HI.
47030 * config/i386/i386.c (ix86_builtins): Add
47031 IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK,
47032 IX86_BUILTIN_PMOVDB512_MEM, IX86_BUILTIN_PMOVDW512_MEM,
47033 IX86_BUILTIN_PMOVQB512_MEM, IX86_BUILTIN_PMOVQD512_MEM,
47034 IX86_BUILTIN_PMOVQW512_MEM, IX86_BUILTIN_PMOVSDB512_MEM,
47035 IX86_BUILTIN_PMOVSDW512_MEM, IX86_BUILTIN_PMOVSQB512_MEM,
47036 IX86_BUILTIN_PMOVSQD512_MEM, IX86_BUILTIN_PMOVSQW512_MEM,
47037 IX86_BUILTIN_PMOVUSDB512_MEM, IX86_BUILTIN_PMOVUSDW512_MEM,
47038 IX86_BUILTIN_PMOVUSQB512_MEM, IX86_BUILTIN_PMOVUSQD512_MEM,
47039 IX86_BUILTIN_PMOVUSQW512_MEM.
47040 (bdesc_special_args): Add __builtin_ia32_pmovusqd512mem_mask,
47041 __builtin_ia32_pmovsqd512mem_mask,
47042 __builtin_ia32_pmovqd512mem_mask,
47043 __builtin_ia32_pmovusqw512mem_mask,
47044 __builtin_ia32_pmovsqw512mem_mask,
47045 __builtin_ia32_pmovqw512mem_mask,
47046 __builtin_ia32_pmovusdw512mem_mask,
47047 __builtin_ia32_pmovsdw512mem_mask,
47048 __builtin_ia32_pmovdw512mem_mask,
47049 __builtin_ia32_pmovqb512mem_mask,
47050 __builtin_ia32_pmovusqb512mem_mask,
47051 __builtin_ia32_pmovsqb512mem_mask,
47052 __builtin_ia32_pmovusdb512mem_mask,
47053 __builtin_ia32_pmovsdb512mem_mask,
47054 __builtin_ia32_pmovdb512mem_mask.
47055 (bdesc_args): Add __builtin_ia32_expanddf512,
47056 __builtin_ia32_expandsf512.
47057 (ix86_expand_special_args_builtin): Handle VOID_FTYPE_PV8SI_V8DI_QI,
47058 VOID_FTYPE_PV8HI_V8DI_QI, VOID_FTYPE_PV16HI_V16SI_HI,
47059 VOID_FTYPE_PV16QI_V8DI_QI, VOID_FTYPE_PV16QI_V16SI_HI.
47060 * config/i386/sse.md (unspec): Add UNSPEC_EXPAND_NOMASK.
47061 (avx512f_<code><pmov_src_lower><mode>2_mask_store): New.
47062 (*avx512f_<code>v8div16qi2_store_mask): Renamed to ...
47063 (avx512f_<code>v8div16qi2_mask_store): This.
47064 (avx512f_expand<mode>): New.
47066 2014-01-27 Kirill Yukhin <kirill.yukhin@intel.com>
47068 * config/i386/avx512pfintrin.h (_mm512_mask_prefetch_i32gather_pd):
47070 (_mm512_mask_prefetch_i64gather_pd): Ditto.
47071 (_mm512_prefetch_i32scatter_pd): Ditto.
47072 (_mm512_mask_prefetch_i32scatter_pd): Ditto.
47073 (_mm512_prefetch_i64scatter_pd): Ditto.
47074 (_mm512_mask_prefetch_i64scatter_pd): Ditto.
47075 (_mm512_mask_prefetch_i32gather_ps): Fix operand type.
47076 (_mm512_mask_prefetch_i64gather_ps): Ditto.
47077 (_mm512_prefetch_i32scatter_ps): Ditto.
47078 (_mm512_mask_prefetch_i32scatter_ps): Ditto.
47079 (_mm512_prefetch_i64scatter_ps): Ditto.
47080 (_mm512_mask_prefetch_i64scatter_ps): Ditto.
47081 * config/i386/i386-builtin-types.def: Define
47082 VOID_FTYPE_QI_V8SI_PCINT64_INT_INT
47083 and VOID_FTYPE_QI_V8DI_PCINT64_INT_INT.
47084 * config/i386/i386.c (ix86_builtins): Define IX86_BUILTIN_GATHERPFQPD,
47085 IX86_BUILTIN_GATHERPFDPD, IX86_BUILTIN_SCATTERPFDPD,
47086 IX86_BUILTIN_SCATTERPFQPD.
47087 (ix86_init_mmx_sse_builtins): Define __builtin_ia32_gatherpfdpd,
47088 __builtin_ia32_gatherpfdps, __builtin_ia32_gatherpfqpd,
47089 __builtin_ia32_gatherpfqps, __builtin_ia32_scatterpfdpd,
47090 __builtin_ia32_scatterpfdps, __builtin_ia32_scatterpfqpd,
47091 __builtin_ia32_scatterpfqps.
47092 (ix86_expand_builtin): Expand new built-ins.
47093 * config/i386/sse.md (avx512pf_gatherpf<mode>): Add SF suffix,
47094 fix memory access data type.
47095 (*avx512pf_gatherpf<mode>_mask): Ditto.
47096 (*avx512pf_gatherpf<mode>): Ditto.
47097 (avx512pf_scatterpf<mode>): Ditto.
47098 (*avx512pf_scatterpf<mode>_mask): Ditto.
47099 (*avx512pf_scatterpf<mode>): Ditto.
47100 (GATHER_SCATTER_SF_MEM_MODE): New.
47101 (avx512pf_gatherpf<mode>df): Ditto.
47102 (*avx512pf_gatherpf<mode>df_mask): Ditto.
47103 (*avx512pf_scatterpf<mode>df): Ditto.
47105 2014-01-27 Jakub Jelinek <jakub@redhat.com>
47108 * expmed.h (expmed_mode_index): Rework so that analysis and optimziers
47109 know when the MODE_PARTIAL_INT and MODE_VECTOR_INT cases can never be
47112 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com>
47114 * common/config/arm/arm-common.c
47115 (arm_rewrite_mcpu): Handle multiple names.
47117 (BIG_LITTLE_SPEC): Do not discard mcpu switches.
47119 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com>
47121 * gimple-builder.h (create_gimple_tmp): Delete.
47123 2014-01-27 Christian Bruel <christian.bruel@st.com>
47125 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Fix remaining bytes after
47128 2014-01-26 John David Anglin <danglin@gcc.gnu.org>
47130 * config/pa/pa.md (call): Generate indirect long calls to non-local
47131 functions when outputing 32-bit code.
47132 (call_value): Likewise except for special call to buggy powf function.
47134 * config/pa/pa.c (pa_attr_length_indirect_call): Adjust length of
47135 portable runtime and PIC indirect calls.
47136 (pa_output_indirect_call): Remove unnecessary nop from portable runtime
47137 and PIC call sequences. Use ldo instead of blr to set return register
47138 in PIC call sequence.
47140 2014-01-25 Walter Lee <walt@tilera.com>
47142 * config/tilegx/sync.md (atomic_fetch_sub): Fix negation and
47143 avoid clobbering a live register.
47145 2014-01-25 Walter Lee <walt@tilera.com>
47147 * config/tilegx/tilegx-c.c (tilegx_cpu_cpp_builtins):
47148 Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2}.
47149 * config/tilegx/tilepro-c.c (tilepro_cpu_cpp_builtins):
47150 Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}.
47152 2014-01-25 Walter Lee <walt@tilera.com>
47154 * config/tilegx/tilegx.c (tilegx_function_arg): Start 16-byte
47155 arguments on even registers.
47156 (tilegx_gimplify_va_arg_expr): Align 16-byte var args to
47158 * config/tilegx/tilegx.h (STACK_BOUNDARY): Change to 16 bytes.
47159 (BIGGEST_ALIGNMENT): Ditto.
47160 (BIGGEST_FIELD_ALIGNMENT): Ditto.
47162 2014-01-25 Walter Lee <walt@tilera.com>
47164 * config/tilegx/tilegx.c (tilegx_gen_bundles): Delete barrier
47165 insns before bundling.
47166 * config/tilegx/tilegx.md (tile_network_barrier): Update comment.
47168 2014-01-25 Walter Lee <walt@tilera.com>
47170 * config/tilegx/tilegx.c (tilegx_expand_builtin): Set
47171 PREFETCH_SCHEDULE_BARRIER_P to true for prefetches.
47172 * config/tilepro/tilepro.c (tilepro_expand_builtin): Ditto.
47174 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com>
47176 * config/mips/constraints.md (kl): Delete.
47177 * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Turn into
47178 define expands, using...
47179 (divmod<mode>4_mips16, udivmod<mode>4_mips16): ...these new
47180 instructions for MIPS16.
47181 (*divmod<mode>4, *udivmod<mode>4): New patterns, taken from the
47182 non-MIPS16 version of the old divmod<mode>4 and udivmod<mode>4.
47184 2014-01-25 Walter Lee <walt@tilera.com>
47186 * config/tilepro/tilepro.md (ctzdi2): Use register_operand predicate.
47190 2014-01-25 Walter Lee <walt@tilera.com>
47192 * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook): New.
47193 (TARGET_EXPAND_TO_RTL_HOOK): Define.
47195 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com>
47197 * rtlanal.c (canonicalize_condition): Split out duplicated mode check.
47200 2014-01-25 Jakub Jelinek <jakub@redhat.com>
47202 * print-rtl.c (in_call_function_usage): New var.
47203 (print_rtx): When in CALL_INSN_FUNCTION_USAGE, always print
47204 EXPR_LIST mode as mode and not as reg note name.
47206 PR middle-end/59561
47207 * cfgloopmanip.c (copy_loop_info): If
47208 loop->warned_aggressive_loop_optimizations, make sure
47209 the flag is set in target loop too.
47211 2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
47213 * builtins.c (is_builtin_name): Renamed flag_enable_cilkplus to
47215 * builtins.def: Likewise.
47216 * cilk.h (fn_contains_cilk_spawn_p): Likewise.
47217 * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Likewise.
47218 * ira.c (ira_setup_eliminable_regset): Likewise.
47219 * omp-low.c (gate_expand_omp): Likewise.
47220 (execute_lower_omp): Likewise.
47221 (diagnose_sb_0): Likewise.
47222 (gate_diagnose_omp_blocks): Likewise.
47223 (simd_clone_clauses_extract): Likewise.
47226 2014-01-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
47228 * config/rs6000/rs6000.c (rs6000_expand_vec_perm_const_1): Remove
47229 correction for little endian...
47230 * config/rs6000/vsx.md (vsx_xxpermdi2_<mode>_1): ...and move it to
47233 2014-01-24 Jeff Law <law@redhat.com>
47235 PR tree-optimization/59919
47236 * tree-vrp.c (find_assert_locations_1): Do not register asserts
47237 for non-returning calls.
47239 2014-01-24 James Greenhalgh <james.greenhalgh@arm.com>
47241 * common/config/aarch64/aarch64-common.c
47242 (aarch64_rewrite_mcpu): Handle multiple names.
47243 * config/aarch64/aarch64.h
47244 (BIG_LITTLE_SPEC): Do not discard mcpu switches.
47246 2014-01-24 Dodji Seketeli <dodji@redhat.com>
47248 * input.c (add_file_to_cache_tab): Handle the case where fopen
47251 2014-01-23 H.J. Lu <hongjiu.lu@intel.com>
47254 * config/i386/i386.md (pushsf splitter): Get stack adjustment
47255 from push operand if code of push isn't PRE_DEC.
47257 2014-01-23 Michael Meissner <meissner@linux.vnet.ibm.com>
47260 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
47261 -mquad-memory-atomic. Update -mquad-memory documentation to say
47262 it is only used for non-atomic loads/stores.
47264 * config/rs6000/predicates.md (quad_int_reg_operand): Allow either
47265 -mquad-memory or -mquad-memory-atomic switches.
47267 * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Add
47268 -mquad-memory-atomic to ISA 2.07 support.
47270 * config/rs6000/rs6000.opt (-mquad-memory-atomic): Add new switch
47271 to separate support of normal quad word memory operations (ldq, stq)
47272 from the atomic quad word memory operations.
47274 * config/rs6000/rs6000.c (rs6000_option_override_internal): Add
47275 support to separate non-atomic quad word operations from atomic
47276 quad word operations. Disable non-atomic quad word operations in
47277 little endian mode so that we don't have to swap words after the
47278 load and before the store.
47279 (quad_load_store_p): Add comment about atomic quad word support.
47280 (rs6000_opt_masks): Add -mquad-memory-atomic to the list of
47281 options printed with -mdebug=reg.
47283 * config/rs6000/rs6000.h (TARGET_SYNC_TI): Use
47284 -mquad-memory-atomic as the test for whether we have quad word
47285 atomic instructions.
47286 (TARGET_SYNC_HI_QI): If either -mquad-memory-atomic, -mquad-memory,
47287 or -mp8-vector are used, allow byte/half-word atomic operations.
47289 * config/rs6000/sync.md (load_lockedti): Insure that the address
47290 is a proper indexed or indirect address for the lqarx instruction.
47291 On little endian systems, swap the hi/lo registers after the lqarx
47293 (load_lockedpti): Use indexed_or_indirect_operand predicate to
47294 insure the address is valid for the lqarx instruction.
47295 (store_conditionalti): Insure that the address is a proper indexed
47296 or indirect address for the stqcrx. instruction. On little endian
47297 systems, swap the hi/lo registers before doing the stqcrx.
47299 (store_conditionalpti): Use indexed_or_indirect_operand predicate to
47300 insure the address is valid for the stqcrx. instruction.
47302 * gcc/config/rs6000/rs6000-c.c (rs6000_target_modify_macros):
47303 Define __QUAD_MEMORY__ and __QUAD_MEMORY_ATOMIC__ based on what
47304 type of quad memory support is available.
47306 2014-01-23 Vladimir Makarov <vmakarov@redhat.com>
47308 PR regression/59915
47309 * lra-constraints.c (simplify_operand_subreg): Spill pseudo if
47310 there is a danger of looping.
47312 2014-01-23 Pat Haugen <pthaugen@us.ibm.com>
47314 * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
47315 force flag_ira_loop_pressure if set via command line.
47317 2014-01-23 Alex Velenko <Alex.Velenko@arm.com>
47319 * config/aarch64/aarch64-simd-builtins.def (ashr): DI mode removed.
47320 (ashr_simd): New builtin handling DI mode.
47321 * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): New pattern.
47322 (aarch64_sshr_simddi): New match pattern.
47323 * config/aarch64/arm_neon.h (vshr_n_s32): Builtin call modified.
47324 (vshrd_n_s64): Likewise.
47325 * config/aarch64/predicates.md (aarch64_shift_imm64_di): New predicate.
47327 2014-01-23 Nick Clifton <nickc@redhat.com>
47329 * config/msp430/msp430.h (ASM_SPEC): Pass the -mcpu as -mcpu.
47330 (LIB_SPEC): Drop use of memory.ld and peripherals.ld scripts in
47331 favour of mcu specific scripts.
47332 * config/msp430/t-msp430 (MULTILIB_MATCHES): Add more matches for
47335 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
47336 Alex Velenko <Alex.Velenko@arm.com>
47338 * config/aarch64/arm_neon.h (vaddv_s8): __LANE0 cleanup.
47339 (vaddv_s16): Likewise.
47340 (vaddv_s32): Likewise.
47341 (vaddv_u8): Likewise.
47342 (vaddv_u16): Likewise.
47343 (vaddv_u32): Likewise.
47344 (vaddvq_s8): Likewise.
47345 (vaddvq_s16): Likewise.
47346 (vaddvq_s32): Likewise.
47347 (vaddvq_s64): Likewise.
47348 (vaddvq_u8): Likewise.
47349 (vaddvq_u16): Likewise.
47350 (vaddvq_u32): Likewise.
47351 (vaddvq_u64): Likewise.
47352 (vaddv_f32): Likewise.
47353 (vaddvq_f32): Likewise.
47354 (vaddvq_f64): Likewise.
47355 (vmaxv_f32): Likewise.
47356 (vmaxv_s8): Likewise.
47357 (vmaxv_s16): Likewise.
47358 (vmaxv_s32): Likewise.
47359 (vmaxv_u8): Likewise.
47360 (vmaxv_u16): Likewise.
47361 (vmaxv_u32): Likewise.
47362 (vmaxvq_f32): Likewise.
47363 (vmaxvq_f64): Likewise.
47364 (vmaxvq_s8): Likewise.
47365 (vmaxvq_s16): Likewise.
47366 (vmaxvq_s32): Likewise.
47367 (vmaxvq_u8): Likewise.
47368 (vmaxvq_u16): Likewise.
47369 (vmaxvq_u32): Likewise.
47370 (vmaxnmv_f32): Likewise.
47371 (vmaxnmvq_f32): Likewise.
47372 (vmaxnmvq_f64): Likewise.
47373 (vminv_f32): Likewise.
47374 (vminv_s8): Likewise.
47375 (vminv_s16): Likewise.
47376 (vminv_s32): Likewise.
47377 (vminv_u8): Likewise.
47378 (vminv_u16): Likewise.
47379 (vminv_u32): Likewise.
47380 (vminvq_f32): Likewise.
47381 (vminvq_f64): Likewise.
47382 (vminvq_s8): Likewise.
47383 (vminvq_s16): Likewise.
47384 (vminvq_s32): Likewise.
47385 (vminvq_u8): Likewise.
47386 (vminvq_u16): Likewise.
47387 (vminvq_u32): Likewise.
47388 (vminnmv_f32): Likewise.
47389 (vminnmvq_f32): Likewise.
47390 (vminnmvq_f64): Likewise.
47392 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
47394 * config/aarch64/aarch64-simd.md
47395 (aarch64_dup_lane<mode>): Correct lane number on big-endian.
47396 (aarch64_dup_lane_<vswap_widthi_name><mode>): Likewise.
47397 (*aarch64_mul3_elt<mode>): Likewise.
47398 (*aarch64_mul3_elt<vswap_width_name><mode>): Likewise.
47399 (*aarch64_mul3_elt_to_64v2df): Likewise.
47400 (*aarch64_mla_elt<mode>): Likewise.
47401 (*aarch64_mla_elt_<vswap_width_name><mode>): Likewise.
47402 (*aarch64_mls_elt<mode>): Likewise.
47403 (*aarch64_mls_elt_<vswap_width_name><mode>): Likewise.
47404 (*aarch64_fma4_elt<mode>): Likewise.
47405 (*aarch64_fma4_elt_<vswap_width_name><mode>): Likewise.
47406 (*aarch64_fma4_elt_to_64v2df): Likewise.
47407 (*aarch64_fnma4_elt<mode>): Likewise.
47408 (*aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise.
47409 (*aarch64_fnma4_elt_to_64v2df): Likewise.
47410 (aarch64_sq<r>dmulh_lane<mode>): Likewise.
47411 (aarch64_sq<r>dmulh_laneq<mode>): Likewise.
47412 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
47413 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
47414 (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
47415 (aarch64_sqdmull_lane<mode>_internal): Likewise.
47416 (aarch64_sqdmull2_lane<mode>_internal): Likewise.
47418 2013-01-23 Alex Velenko <Alex.Velenko@arm.com>
47420 * config/aarch64/aarch64-simd.md
47421 (aarch64_be_checked_get_lane<mode>): New define_expand.
47422 * config/aarch64/aarch64-simd-builtins.def
47423 (BUILTIN_VALL (GETLANE, be_checked_get_lane, 0)):
47424 New builtin definition.
47425 * config/aarch64/arm_neon.h: (__aarch64_vget_lane_any):
47426 Use new safe be builtin.
47428 2014-01-23 Alex Velenko <Alex.Velenko@arm.com>
47430 * config/aarch64/aarch64-simd.md (aarch64_be_ld1<mode>):
47432 (aarch64_be_st1<mode>): Likewise.
47433 (aarch_ld1<VALL:mode>): Define_expand modified.
47434 (aarch_st1<VALL:mode>): Likewise.
47435 * config/aarch64/aarch64.md (UNSPEC_LD1): New unspec definition.
47436 (UNSPEC_ST1): Likewise.
47438 2014-01-23 David Holsgrove <david.holsgrove@xilinx.com>
47440 * config/microblaze/microblaze.md: Add trap insn and attribute
47442 2014-01-23 Dodji Seketeli <dodji@redhat.com>
47444 PR preprocessor/58580
47445 * input.h (location_get_source_line): Take an additional line_size
47447 (void diagnostics_file_cache_fini): Declare new function.
47448 * input.c (struct fcache): New type.
47449 (fcache_tab_size, fcache_buffer_size, fcache_line_record_size):
47450 New static constants.
47451 (diagnostic_file_cache_init, total_lines_num)
47452 (lookup_file_in_cache_tab, evicted_cache_tab_entry)
47453 (add_file_to_cache_tab, lookup_or_add_file_to_cache_tab)
47454 (needs_read, needs_grow, maybe_grow, read_data, maybe_read_data)
47455 (get_next_line, read_next_line, goto_next_line, read_line_num):
47456 New static function definitions.
47457 (diagnostic_file_cache_fini): New function.
47458 (location_get_source_line): Take an additional output line_len
47459 parameter. Re-write using lookup_or_add_file_to_cache_tab and
47461 * diagnostic.c (diagnostic_finish): Call
47462 diagnostic_file_cache_fini.
47463 (adjust_line): Take an additional input parameter for the length
47464 of the line, rather than calculating it with strlen.
47465 (diagnostic_show_locus): Adjust the use of
47466 location_get_source_line and adjust_line with respect to their new
47467 signature. While displaying a line now, do not stop at the first
47468 null byte. Rather, display the zero byte as a space and keep
47469 going until we reach the size of the line.
47470 * Makefile.in: Add vec.o to OBJS-libcommon
47472 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
47473 Ilya Tocar <ilya.tocar@intel.com>
47475 * config/i386/avx512fintrin.h (_mm512_kmov): New.
47476 * config/i386/i386.c (IX86_BUILTIN_KMOV16): Ditto.
47477 (__builtin_ia32_kmov16): Ditto.
47478 * config/i386/i386.md (UNSPEC_KMOV): New.
47481 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
47483 * config/i386/avx512fintrin.h (_mm512_loadu_si512): Rename.
47484 (_mm512_storeu_si512): Ditto.
47486 2014-01-23 Richard Sandiford <rdsandiford@googlemail.com>
47489 * rtl.h (get_referenced_operands): Declare.
47490 * recog.c (get_referenced_operands): New function.
47491 * config/mips/mips.c (mips_reorg_process_insns): Check which asm
47492 operands have been referenced when recording LO_SUM references.
47494 2014-01-22 David Holsgrove <david.holsgrove@xilinx.com>
47496 * config/microblaze/microblaze.md: Correct bswaphi2 insn.
47498 2014-01-22 Jan Hubicka <hubicka@ucw.cz>
47500 * config/i386/x86-tune.def (X86_TUNE_ACCUMULATE_OUTGOING_ARGS):
47501 Enable for generic and recent AMD targets.
47503 2014-01-22 Jan Hubicka <hubicka@ucw.cz>
47505 * combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
47506 ARG_SIZE note when adjustment was eliminated.
47508 2014-01-22 Jeff Law <law@redhat.com>
47510 PR tree-optimization/59597
47511 * tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier
47512 in file. Accept new argument REGISTERING and use it to modify
47513 dump output appropriately.
47514 (register_jump_thread): Corresponding changes.
47515 (mark_threaded_blocks): Reinstate code to cancel unprofitable
47516 thread paths involving joiner blocks. Add code to dump cancelled
47517 jump threading paths.
47519 2014-01-22 Vladimir Makarov <vmakarov@redhat.com>
47521 PR rtl-optimization/59477
47522 * lra-constraints.c (inherit_in_ebb): Process call for living hard
47523 regs. Update reloads_num and potential_reload_hard_regs for all insns.
47525 2014-01-22 Tom Tromey <tromey@redhat.com>
47527 * config/i386/i386-interix.h (i386_pe_unique_section): Don't use
47529 * config/cr16/cr16-protos.h (notice_update_cc): Don't use PARAMS.
47531 2014-01-21 Vladimir Makarov <vmakarov@redhat.com>
47533 PR rtl-optimization/59896
47534 * lra-constraints.c (process_alt_operands): Check unused note for
47535 matched operands of insn with no output reloads.
47537 2014-01-21 Richard Sandiford <rdsandiford@googlemail.com>
47539 * config/mips/mips.c (mips_move_to_gpr_cost): Add M16_REGS case.
47540 (mips_move_from_gpr_cost): Likewise.
47542 2014-01-21 Vladimir Makarov <vmakarov@redhat.com>
47544 PR rtl-optimization/59858
47545 * lra-constraints.c (SMALL_REGISTER_CLASS_P): Use
47546 ira_class_hard_regs_num.
47547 (process_alt_operands): Increase reject for dying matched operand.
47549 2014-01-21 Jakub Jelinek <jakub@redhat.com>
47552 * config/i386/i386.c (expand_small_movmem_or_setmem): If mode is
47553 smaller than size, perform several stores or loads and stores
47554 at dst + count - size to store or copy all of size bytes, rather
47555 than just last modesize bytes.
47557 2014-01-20 DJ Delorie <dj@redhat.com>
47559 * config/rl78/rl78.c (rl78_propogate_register_origins): Verify
47560 that CLOBBERs are REGs before propogating their values.
47562 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
47564 PR middle-end/59789
47565 * cgraph.c (cgraph_inline_failed_string): Add type to DEFCIFCODE.
47566 (cgraph_inline_failed_type): New function.
47567 * cgraph.h (DEFCIFCODE): Add type.
47568 (cgraph_inline_failed_type_t): New enum.
47569 (cgraph_inline_failed_type): New prototype.
47570 * cif-code.def: Add CIF_FINAL_NORMAL to OK, FUNCTION_NOT_CONSIDERED,
47571 FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
47572 FUNCTION_NOT_INLINE_CANDIDATE, LARGE_FUNCTION_GROWTH_LIMIT,
47573 LARGE_STACK_FRAME_GROWTH_LIMIT, MAX_INLINE_INSNS_SINGLE_LIMIT,
47574 MAX_INLINE_INSNS_AUTO_LIMIT, INLINE_UNIT_GROWTH_LIMIT,
47575 RECURSIVE_INLINING, UNLIKELY_CALL, NOT_DECLARED_INLINED,
47576 OPTIMIZING_FOR_SIZE, ORIGINALLY_INDIRECT_CALL,
47577 INDIRECT_UNKNOWN_CALL, USES_COMDAT_LOCAL.
47578 Add CIF_FINAL_ERROR to UNSPECIFIED, BODY_NOT_AVAILABLE,
47579 FUNCTION_NOT_INLINABLE, OVERWRITABLE, MISMATCHED_ARGUMENTS,
47580 EH_PERSONALITY, NON_CALL_EXCEPTIONS, TARGET_OPTION_MISMATCH,
47581 OPTIMIZATION_MISMATCH.
47582 * tree-inline.c (expand_call_inline): Emit errors during
47583 early_inlining if cgraph_inline_failed_type returns CIF_FINAL_ERROR.
47585 2014-01-20 Uros Bizjak <ubizjak@gmail.com>
47588 * config/i386/sse.md (*andnot<mode>3<mask_name>): Handle MODE_V16SF
47589 mode attribute in insn output.
47591 2014-01-20 Eric Botcazou <ebotcazou@adacore.com>
47593 * output.h (output_constant): Delete.
47594 * varasm.c (output_constant): Make private.
47596 2014-01-20 Alex Velenko <Alex.Velenko@arm.com>
47598 * config/aarch64/aarch64-simd.md (vec_perm<mode>): Add BE check.
47600 2014-01-20 Jakub Jelinek <jakub@redhat.com>
47602 PR middle-end/59860
47603 * tree.h (fold_builtin_strcat): New prototype.
47604 * builtins.c (fold_builtin_strcat): No longer static. Add len
47605 argument, if non-NULL, don't call c_strlen. Optimize
47606 directly into __builtin_memcpy instead of __builtin_strcpy.
47607 (fold_builtin_2): Adjust fold_builtin_strcat caller.
47608 * gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT.
47610 2014-01-20 Uros Bizjak <ubizjak@gmail.com>
47612 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
47613 for SImode_address_operand operands, having only a REG argument.
47615 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
47617 * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
47618 loader name using mbig-endian.
47619 (LINUX_TARGET_LINK_SPEC): Pass linker -m flag.
47621 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
47623 * doc/invoke.texi (-march): Clarify documentation for AArch64.
47624 (-mtune): Likewise.
47627 2014-01-20 Tejas Belagod <tejas.belagod@arm.com>
47629 * config/aarch64/aarch64-protos.h
47630 (aarch64_cannot_change_mode_class_ptr): Declare.
47631 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class,
47632 aarch64_cannot_change_mode_class_ptr): New.
47633 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Change to call
47634 backend hook aarch64_cannot_change_mode_class.
47636 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
47638 * common/config/aarch64/aarch64-common.c
47639 (aarch64_handle_option): Don't handle any option order logic here.
47640 * config/aarch64/aarch64.c (aarch64_parse_arch): Do not override
47641 selected_cpu, warn on architecture version mismatch.
47642 (aarch64_override_options): Fix parsing order for option strings.
47644 2014-01-20 Jan-Benedict Glaw <jbglaw@lug-owl.de>
47645 Iain Sandoe <iain@codesourcery.com>
47648 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Fix unused variable
47649 warning. Amend comment to reflect current functionality.
47651 2014-01-20 Richard Biener <rguenther@suse.de>
47653 PR middle-end/59860
47654 * builtins.c (fold_builtin_strcat): Remove case better handled
47655 by tree-ssa-strlen.c.
47657 2014-01-20 Alan Lawrence <alan.lawrence@arm.com>
47659 * config/aarch64/aarch64.opt
47660 (mcpu, march, mtune): Make case-insensitive.
47662 2014-01-20 Jakub Jelinek <jakub@redhat.com>
47665 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
47666 if operands[1] is a REG or ZERO_EXTEND of a REG.
47668 2014-01-19 Jan Hubicka <hubicka@ucw.cz>
47670 * varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
47672 2014-01-19 John David Anglin <danglin@gcc.gnu.org>
47674 * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
47675 long non-pic millicode calls.
47677 2014-01-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
47679 * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning.
47681 2014-01-19 Kito Cheng <kito@0xlab.org>
47683 * builtins.c (expand_movstr): Check movstr expand done or fail.
47685 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
47686 H.J. Lu <hongjiu.lu@intel.com>
47689 * config/i386/i386.md (*lea<mode>): Zero-extend return register
47690 to DImode for zero-extended addresses.
47692 2014-01-19 Jakub Jelinek <jakub@redhat.com>
47694 PR rtl-optimization/57763
47695 * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL
47696 on the new indirect jump_insn and increment LABEL_NUSES (label).
47698 2014-01-18 H.J. Lu <hongjiu.lu@intel.com>
47702 * config.gcc (x86_archs): New variable.
47703 (x86_64_archs): Likewise.
47704 (x86_cpus): Likewise.
47705 Use $x86_archs, $x86_64_archs and $x86_cpus to check valid
47706 --with-arch/--with-cpu= options.
47707 Support --with-arch=/--with-cpu={nehalem,westmere,
47708 sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}.
47710 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
47712 * config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8
47713 and PROCESSOR_ATHLON to simplify code. Move "memory" calculation.
47715 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
47717 * config/i386/i386.md (*swap<mode>): Rename from swap<mode>.
47719 2014-01-18 Jakub Jelinek <jakub@redhat.com>
47722 * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily
47723 clear cpp_get_options (parse_in)->warn_unused_macros for
47724 ix86_target_macros_internal with cpp_define.
47726 2014-01-18 Richard Sandiford <rdsandiford@googlemail.com>
47728 * jump.c (delete_related_insns): Keep (use (insn))s.
47729 * reorg.c (redundant_insn): Check for barriers too.
47731 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
47733 * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo.
47735 2014-01-17 John David Anglin <danglin@gcc.gnu.org>
47737 * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
47738 call to $$dyncall when TARGET_LONG_CALLS is true.
47740 2014-01-17 Jeff Law <law@redhat.com>
47742 * ree.c (combine_set_extension): Temporarily disable test for
47743 changing number of hard registers.
47745 2014-01-17 Jan Hubicka <hubicka@ucw.cz>
47747 PR middle-end/58125
47748 * ipa-inline-analysis.c (inline_free_summary):
47749 Do not free summary of aliases.
47751 2014-01-17 Jakub Jelinek <jakub@redhat.com>
47753 PR middle-end/59706
47754 * gimplify.c (gimplify_expr): Use create_tmp_var
47755 instead of create_tmp_var_raw. If cond doesn't have
47756 integral type, don't add the IFN_ANNOTATE builtin at all.
47758 2014-01-17 Martin Jambor <mjambor@suse.cz>
47761 * ipa-cp.c (prev_edge_clone): New variable.
47762 (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors.
47763 Also resize prev_edge_clone vector.
47764 (ipcp_edge_duplication_hook): Also update prev_edge_clone.
47765 (ipcp_edge_removal_hook): New function.
47766 (ipcp_driver): Register ipcp_edge_removal_hook.
47768 2014-01-17 Andrew Pinski <apinski@cavium.com>
47769 Steve Ellcey <sellcey@mips.com>
47772 * config/mips/mips.c (mips_print_operand): Check operand mode instead
47775 2014-01-17 Jeff Law <law@redhat.com>
47777 PR middle-end/57904
47778 * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence
47779 so that pass_ccp runs first.
47781 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
47783 * config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX.
47784 (ix86_adjust_cost): Use !TARGET_XXX.
47785 (do_reorder_for_imul): Likewise.
47786 (swap_top_of_ready_list): Likewise.
47787 (ix86_sched_reorder): Likewise.
47789 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
47791 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
47792 PROCESSOR_INTEL. Treat like PROCESSOR_GENERIC.
47793 * config/i386/i386.c (intel_memcpy): New. Duplicate slm_memcpy.
47794 (intel_memset): New. Duplicate slm_memset.
47795 (intel_cost): New. Duplicate slm_cost.
47796 (m_INTEL): New macro.
47797 (processor_target_table): Add "intel".
47798 (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT
47799 with PROCESSOR_INTEL for "intel".
47800 (ix86_lea_outperforms): Support PROCESSOR_INTEL. Duplicate
47801 PROCESSOR_SILVERMONT.
47802 (ix86_issue_rate): Likewise.
47803 (ix86_adjust_cost): Likewise.
47804 (ia32_multipass_dfa_lookahead): Likewise.
47805 (swap_top_of_ready_list): Likewise.
47806 (ix86_sched_reorder): Likewise.
47807 (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR
47808 instead of TARGET_OPT_AGU.
47809 * config/i386/i386.h (TARGET_INTEL): New.
47810 (TARGET_AVOID_LEA_FOR_ADDR): Likewise.
47811 (processor_type): Add PROCESSOR_INTEL.
47812 * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT.
47813 Add X86_TUNE_AVOID_LEA_FOR_ADDR.
47815 2014-01-17 Marek Polacek <polacek@redhat.com>
47818 * gimple-fold.c (fold_array_ctor_reference): Don't fold if element
47821 2014-01-17 Richard Biener <rguenther@suse.de>
47823 PR tree-optimization/46590
47824 * opts.c (default_options_table): Add entries for
47825 OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta,
47826 all enabled at -O1 but not for -Og.
47827 * common.opt (fbranch-count-reg): Remove Init(1).
47828 (fmove-loop-invariants): Likewise.
47829 (ftree-pta): Likewise.
47831 2014-01-17 Jakub Jelinek <jakub@redhat.com>
47833 * config/i386/i386.c (ix86_data_alignment): For compatibility with
47834 (incorrect) GCC 4.8 and earlier alignment assumptions ensure we align
47835 decls to at least the GCC 4.8 used alignments.
47838 * tree-nested.c (convert_nonlocal_reference_stmt,
47839 convert_local_reference_stmt): For NAMELIST_DECLs in gimple_bind_vars
47840 of GIMPLE_BIND stmts, adjust associated decls.
47842 2014-01-17 Richard Biener <rguenther@suse.de>
47844 PR tree-optimization/46590
47845 * vec.h (vec<>::bseach): New member function implementing
47846 binary search according to C89 bsearch.
47847 (vec<>::qsort): Avoid calling ::qsort for vectors with sizes 0 or 1.
47848 * tree-ssa-loop-im.c (struct mem_ref): Make stored member a
47849 bitmap pointer again. Make accesses_in_loop a flat array.
47850 (mem_ref_obstack): New global.
47851 (outermost_indep_loop): Adjust for mem_ref->stored changes.
47852 (mark_ref_stored): Likewise.
47853 (ref_indep_loop_p_2): Likewise.
47854 (set_ref_stored_in_loop): New helper function.
47855 (mem_ref_alloc): Allocate mem_refs on the mem_ref_obstack obstack.
47856 (memref_free): Adjust.
47857 (record_mem_ref_loc): Simplify.
47858 (gather_mem_refs_stmt): Adjust.
47859 (sort_locs_in_loop_postorder_cmp): New function.
47860 (analyze_memory_references): Sort accesses_in_loop after
47861 loop postorder number.
47862 (find_ref_loc_in_loop_cmp): New function.
47863 (for_all_locs_in_loop): Find relevant cluster of locs in
47864 accesses_in_loop and iterate without recursion.
47865 (execute_sm): Avoid uninit warning.
47866 (struct ref_always_accessed): Simplify.
47867 (ref_always_accessed::operator ()): Likewise.
47868 (ref_always_accessed_p): Likewise.
47869 (tree_ssa_lim_initialize): Initialize mem_ref_obstack, compute
47870 loop postorder numbers here.
47871 (tree_ssa_lim_finalize): Free mem_ref_obstack and loop postorder
47874 2014-01-17 Jan Hubicka <hubicka@ucw.cz>
47877 * passes.c (rest_of_decl_compilation): Don't call varpool_finalize_decl
47878 on decls for which assemble_alias has been called.
47880 2014-01-17 Nick Clifton <nickc@redhat.com>
47882 * config/msp430/msp430.opt: (mcpu): New option.
47883 * config/msp430/msp430.c (msp430_mcu_name): Use target_mcu.
47884 (msp430_option_override): Parse target_cpu. If the MCU name
47885 matches a generic string, clear target_mcu.
47886 (msp430_attr): Allow numeric interrupt values up to 63.
47887 (msp430_expand_epilogue): No longer invert operand 1 of gen_popm.
47888 * config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu
47890 * config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches.
47892 * config/msp430/msp430.md (popm): Use %J rather than %I.
47893 (addsi3): Use msp430_nonimmediate_operand for operand 2.
47894 (addhi_cy_i): Use immediate_operand for operand 2.
47895 * doc/invoke.texi: Document -mcpu option.
47897 2014-01-17 Richard Biener <rguenther@suse.de>
47899 PR rtl-optimization/38518
47900 * df.h (df_analyze_loop): Declare.
47901 * df-core.c: Include cfgloop.h.
47902 (df_analyze_1): Split out main part of df_analyze.
47903 (df_analyze): Adjust.
47904 (loop_inverted_post_order_compute): New function.
47905 (loop_post_order_compute): Likewise.
47906 (df_analyze_loop): New function avoiding whole-function
47907 postorder computes.
47908 * loop-invariant.c (find_defs): Use df_analyze_loop.
47909 (find_invariants): Adjust.
47910 * loop-iv.c (iv_analysis_loop_init): Use df_analyze_loop.
47912 2014-01-17 Zhenqiang Chen <zhenqiang.chen@arm.com>
47914 * config/arm/arm.c (arm_v7m_tune): Set max_insns_skipped to 2.
47915 (thumb2_final_prescan_insn): Set max to MAX_INSN_PER_IT_BLOCK.
47917 2014-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
47919 * ipa-ref.c (ipa_remove_stmt_references): Fix references
47920 traversal when removing references.
47922 2014-01-16 Jan Hubicka <hubicka@ucw.cz>
47925 * tree.c (get_binfo_at_offset): Look harder for virtual bases.
47927 2014-01-16 Bernd Schmidt <bernds@codesourcery.com>
47929 PR middle-end/56791
47930 * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER when
47931 pushing a reload for an autoinc when we had previously reloaded an
47932 inner part of the address.
47934 2014-01-16 Jakub Jelinek <jakub@redhat.com>
47936 * tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies
47938 (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define.
47939 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it
47940 when not giving up or versioning for alias only because of
47942 (vect_analyze_data_ref_dependences): Set to true.
47943 * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt
47945 (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of
47946 LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop
47949 PR middle-end/58344
47950 * expr.c (expand_expr_real_1): Handle init == NULL_TREE.
47953 * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy
47954 operand 0 predicate for gathers, use a new pseudo as subtarget.
47956 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
47958 PR middle-end/59609
47959 * lra-constraints.c (process_alt_operands): Add printing debug info.
47960 Check absence of input/output reloads for matched operands too.
47962 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
47964 PR rtl-optimization/59835
47965 * ira.c (ira_init_register_move_cost): Increase cost for
47968 2014-01-16 Alan Lawrence <alan.lawrence@arm.com>
47970 * config/arm/arm.opt (mcpu, march, mtune): Make case-insensitive.
47972 2014-01-16 Richard Earnshaw <rearnsha@arm.com>
47975 * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on
47976 non-register objects. Use gen_(high/low)part more consistently.
47979 2014-01-16 Michael Meissner <meissner@linux.vnet.ibm.com>
47982 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little
47983 endian support, remove tests for WORDS_BIG_ENDIAN.
47984 (p8_mfvsrd_3_<mode>): Likewise.
47985 (reload_gpr_from_vsx<mode>): Likewise.
47986 (reload_gpr_from_vsxsf): Likewise.
47987 (p8_mfvsrd_4_disf): Likewise.
47989 2014-01-16 Richard Biener <rguenther@suse.de>
47991 PR rtl-optimization/46590
47992 * lcm.c (compute_antinout_edge): Use postorder iteration.
47993 (compute_laterin): Use inverted postorder iteration.
47995 2014-01-16 Nick Clifton <nickc@redhat.com>
47997 PR middle-end/28865
47998 * varasm.c (output_constant): Return the number of bytes actually
48000 (output_constructor_array_range): Update the field size with the
48001 number of bytes emitted by output_constant.
48002 (output_constructor_regular_field): Likewise. Also do not
48003 complain if the total number of bytes emitted is now greater
48004 than the expected fieldpos.
48005 * output.h (output_constant): Update prototype and descriptive comment.
48007 2014-01-16 Marek Polacek <polacek@redhat.com>
48009 PR middle-end/59827
48010 * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
48011 it is error_mark_node.
48013 2014-01-15 Uros Bizjak <ubizjak@gmail.com>
48015 * config/i386/i386.c (ix86_hard_regno_mode_ok): Use
48016 VALID_AVX256_REG_OR_OI_MODE.
48018 2014-01-15 Pat Haugen <pthaugen@us.ibm.com>
48020 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if
48021 current procedure should be profiled.
48023 2014-01-15 Andrew Pinski <apinski@cavium.com>
48025 * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost
48026 of moving from/to the STACK_REG register class.
48028 2014-01-15 Richard Henderson <rth@redhat.com>
48031 * reginfo.c (global_regs_decl): Globalize.
48032 * rtl.h (global_regs_decl): Declare.
48033 * ira.c (do_reload): Diagnose frame_pointer_needed and it
48034 reserved via global_regs.
48036 2014-01-15 Teresa Johnson <tejohnson@google.com>
48038 * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.
48040 2014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
48042 * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh
48043 and vmulosh rather than call gen_vec_widen_smult_*.
48044 (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather
48045 than BYTES_BIG_ENDIAN to determine use of even or odd instruction.
48046 (vec_widen_smult_even_v16qi): Likewise.
48047 (vec_widen_umult_even_v8hi): Likewise.
48048 (vec_widen_smult_even_v8hi): Likewise.
48049 (vec_widen_umult_odd_v16qi): Likewise.
48050 (vec_widen_smult_odd_v16qi): Likewise.
48051 (vec_widen_umult_odd_v8hi): Likewise.
48052 (vec_widen_smult_odd_v8hi): Likewise.
48053 (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and
48054 vmuloub rather than call gen_vec_widen_umult_*.
48055 (vec_widen_umult_lo_v16qi): Likewise.
48056 (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and
48057 vmulosb rather than call gen_vec_widen_smult_*.
48058 (vec_widen_smult_lo_v16qi): Likewise.
48059 (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh
48060 rather than call gen_vec_widen_umult_*.
48061 (vec_widen_umult_lo_v8hi): Likewise.
48062 (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh
48063 rather than call gen_vec_widen_smult_*.
48064 (vec_widen_smult_lo_v8hi): Likewise.
48066 2014-01-15 Jeff Law <law@redhat.com>
48068 PR tree-optimization/59747
48069 * ree.c (find_and_remove_re): Properly handle case where a second
48070 eliminated extension requires widening a copy created for elimination
48071 of a prior extension.
48072 (combine_set_extension): Ensure that the number of hard regs needed
48073 for a destination register does not change when we widen it.
48075 2014-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
48077 * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
48078 (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
48079 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
48080 (arm*-*-rtems*): Use t-rtems from existing tmake_file.
48081 (avr-*-rtems*): Likewise.
48082 (bfin*-rtems*): Likewise.
48083 (moxie-*-rtems*): Likewise.
48084 (h8300-*-rtems*): Likewise.
48085 (i[34567]86-*-rtems*): Likewise.
48086 (lm32-*-rtems*): Likewise.
48087 (m32r-*-rtems*): Likewise.
48088 (m68k-*-rtems*): Likewise.
48089 (microblaze*-*-rtems*): Likewise.
48090 (mips*-*-rtems*): Likewise.
48091 (powerpc-*-rtems*): Likewise.
48092 (sh-*-rtems*): Likewise.
48093 (sparc-*-rtems*): Likewise.
48094 (sparc64-*-rtems*): Likewise.
48095 (v850-*-rtems*): Likewise.
48096 (m32c-*-rtems*): Likewise.
48098 2014-01-15 Vladimir Makarov <vmakarov@redhat.com>
48100 PR rtl-optimization/59511
48101 * ira.c (ira_init_register_move_cost): Use memory costs for some
48102 cases of register move cost calculations.
48103 * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB
48104 instead of BB frequency.
48105 * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto.
48106 * lra-assigns.c (find_hard_regno_for): Ditto.
48108 2014-01-15 Richard Biener <rguenther@suse.de>
48110 PR tree-optimization/59822
48111 * tree-vect-stmts.c (hoist_defs_of_uses): New function.
48112 (vectorizable_load): Use it to hoist defs of uses of invariant
48113 loads out of the loop.
48115 2014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
48116 Kugan Vivekanandarajah <kuganv@linaro.org>
48119 * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
48122 2014-01-15 Richard Biener <rguenther@suse.de>
48124 PR rtl-optimization/59802
48125 * lcm.c (compute_available): Use inverted postorder to seed
48126 the initial worklist.
48128 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48131 * config/s390/s390.c (s390_preferred_reload_class): Don't return
48132 ADDR_REGS for invalid symrefs in non-PIC code.
48134 2014-01-15 Jakub Jelinek <jakub@redhat.com>
48137 * builtins.c (determine_block_size): Initialize *probable_max_size
48138 even if len_rtx is CONST_INT.
48140 2014-01-14 Andrew Pinski <apinski@cavium.com>
48142 * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
48143 * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
48144 (cortexa53_tunings): Likewise.
48145 (aarch64_sched_issue_rate): New function.
48146 (TARGET_SCHED_ISSUE_RATE): Define.
48148 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
48150 * ira-costs.c (find_costs_and_classes): Add missed
48151 ira_init_register_move_cost_if_necessary.
48153 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
48156 * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.
48158 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
48161 * config/i386/i386.c (type_natural_mode): Add a bool parameter
48162 to indicate if type is used for function return value. Warn ABI
48163 change if the vector mode isn't available for function return value.
48164 (ix86_function_arg_advance): Pass false to type_natural_mode.
48165 (ix86_function_arg): Likewise.
48166 (ix86_gimplify_va_arg): Likewise.
48167 (function_arg_32): Don't warn ABI change.
48168 (ix86_function_value): Pass true to type_natural_mode.
48169 (ix86_return_in_memory): Likewise.
48170 (ix86_struct_value_rtx): Removed.
48171 (TARGET_STRUCT_VALUE_RTX): Likewise.
48173 2014-01-14 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
48175 * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
48176 converting a conditional jump into a conditional return.
48178 2014-01-14 Richard Biener <rguenther@suse.de>
48180 PR tree-optimization/58921
48181 PR tree-optimization/59006
48182 * tree-vect-loop-manip.c (vect_loop_versioning): Remove code
48183 hoisting invariant stmts.
48184 * tree-vect-stmts.c (vectorizable_load): Insert the splat of
48185 invariant loads on the preheader edge if possible.
48187 2014-01-14 Joey Ye <joey.ye@arm.com>
48189 * doc/plugin.texi (Building GCC plugins): Update to C++.
48191 2014-01-14 Kirill Yukhin <kirill.yukhin@intel.com>
48193 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
48194 (_mm_rcp28_round_ss): Ditto.
48195 (_mm_rsqrt28_round_sd): Ditto.
48196 (_mm_rsqrt28_round_ss): Ditto.
48197 (_mm_rcp28_sd): Ditto.
48198 (_mm_rcp28_ss): Ditto.
48199 (_mm_rsqrt28_sd): Ditto.
48200 (_mm_rsqrt28_ss): Ditto.
48201 * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
48202 * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
48203 * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
48204 (IX86_BUILTIN_RCP28SD): Ditto.
48205 (IX86_BUILTIN_RCP28SS): Ditto.
48206 (IX86_BUILTIN_RSQRT28SD): Ditto.
48207 (IX86_BUILTIN_RSQRT28SS): Ditto.
48208 (bdesc_special_args): Define __builtin_ia32_movntdqa512,
48209 __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
48210 __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
48211 (ix86_expand_special_args_builtin): Expand new FTYPE.
48212 * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
48213 (srcp14<mode>): Make insn unary.
48214 (avx512f_vmscalef<mode><round_name>): Use substed predicate.
48215 (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
48216 (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
48217 (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
48218 (avx512er_exp2<mode><mask_name><round_saeonly_name>):
48219 Fix rounding: make it SAE only.
48220 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
48222 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
48224 (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
48225 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
48226 (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
48227 * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
48228 (round_saeonly_mask_scalar_operand4): Ditto.
48229 (round_saeonly_mask_scalar_op3): Ditto.
48230 (round_saeonly_mask_scalar_op4): Ditto.
48232 2014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
48234 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
48235 Implement -maltivec=be for vec_insert and vec_extract.
48237 2014-01-10 DJ Delorie <dj@redhat.com>
48239 * config/msp430/msp430.md (call_internal): Don't allow memory
48240 references with SP as the base register.
48241 (call_value_internal): Likewise.
48242 * config/msp430/constraints.md (Yc): New. For memory references
48243 that don't use SP as a base register.
48245 * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
48246 "an integer without a # prefix"
48247 * config/msp430/msp430.md (epilogue_helper): Use it.
48249 2014-01-13 Jakub Jelinek <jakub@redhat.com>
48252 * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
48253 AVX512F gather builtins.
48254 * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
48255 on gather decls with INTEGER_TYPE masktype.
48256 (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
48257 directly into the builtin rather than hoisting it before loop.
48259 PR tree-optimization/59387
48260 * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
48261 (scev_const_prop): If folded_casts and type has undefined overflow,
48262 use force_gimple_operand instead of force_gimple_operand_gsi and
48263 for each added stmt if it is assign with
48264 arith_code_with_undefined_signed_overflow, call
48265 rewrite_to_defined_overflow.
48266 * tree-ssa-loop-im.c: Don't include gimplify-me.h, include
48267 gimple-fold.h instead.
48268 (arith_code_with_undefined_signed_overflow,
48269 rewrite_to_defined_overflow): Moved to ...
48270 * gimple-fold.c (arith_code_with_undefined_signed_overflow,
48271 rewrite_to_defined_overflow): ... here. No longer static.
48272 Include gimplify-me.h.
48273 * gimple-fold.h (arith_code_with_undefined_signed_overflow,
48274 rewrite_to_defined_overflow): New prototypes.
48276 2014-01-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
48278 * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.
48280 2014-01-13 Eric Botcazou <ebotcazou@adacore.com>
48282 * builtins.c (get_object_alignment_2): Minor tweak.
48283 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.
48285 2014-01-13 Christian Bruel <christian.bruel@st.com>
48287 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
48288 optimized non constant lengths.
48290 2014-01-13 Jakub Jelinek <jakub@redhat.com>
48293 * omp-low.c (expand_omp_atomic_pipeline): Expand the initial
48294 load as __atomic_load_N if possible.
48296 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
48298 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
48300 (rs6000_expand_builtin): Adjust call.
48302 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
48305 * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
48306 * config/rs6000/rs6000.c: Include target-globals.h.
48307 (rs6000_set_current_function): Instead of doing target_reinit
48308 unconditionally, use save_target_globals_default_opts and
48309 restore_target_globals.
48311 * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
48313 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
48314 (rs6000_expand_builtin): Handle mffs and mtfsf.
48315 (rs6000_init_builtins): Define mffs and mtfsf.
48316 * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants.
48317 (rs6000_mffs): New pattern.
48318 (rs6000_mtfsf): New pattern.
48320 2014-01-11 Bin Cheng <bin.cheng@arm.com>
48322 * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
48323 Start narrowing with START. Apply candidate-use pair
48324 and check overall cost in narrowing.
48325 (iv_ca_prune): Pass new argument.
48327 2014-01-10 Jeff Law <law@redhat.com>
48329 PR middle-end/59743
48330 * ree.c (combine_reaching_defs): Ensure the defining statement
48331 occurs before the extension when optimizing extensions with
48332 different source and destination hard registers.
48334 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
48337 * ipa-devirt.c (build_type_inheritance_graph): Also add types of
48338 vtables into the type inheritance graph.
48340 2014-01-10 Jakub Jelinek <jakub@redhat.com>
48342 PR rtl-optimization/59754
48343 * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
48344 modes in the REGNO != REGNO case.
48346 2014-01-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
48348 * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.
48350 2014-01-10 Jakub Jelinek <jakub@redhat.com>
48352 PR tree-optimization/59745
48353 * tree-predcom.c (tree_predictive_commoning_loop): Call
48354 free_affine_expand_cache if giving up because components is NULL.
48356 * target-globals.c (save_target_globals): Allocate < 4KB structs using
48357 GC in payload of target_globals struct instead of allocating them on
48358 the heap and the larger structs separately using GC.
48359 * target-globals.h (struct target_globals): Make regs, hard_regs,
48360 reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
48361 of GTY((skip)) and change type to void *.
48362 (reset_target_globals): Cast loads from those fields to corresponding
48365 2014-01-10 Steve Ellcey <sellcey@mips.com>
48368 * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
48369 gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
48370 tree-ssanames.h, print-tree.h, varasm.h, and context.h.
48372 2014-01-10 Richard Earnshaw <rearnsha@arm.com>
48375 * aarch64-modes.def (CC_Zmode): New flags mode.
48376 * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
48377 represents an equality.
48378 (aarch64_get_condition_code): Handle CC_Zmode.
48379 * aarch64.md (compare_neg<mode>): Restrict to equality operations.
48381 2014-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48383 * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
48384 extraction in good case.
48386 2014-01-10 Richard Biener <rguenther@suse.de>
48388 PR tree-optimization/59374
48389 * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
48390 checking after SLP discovery. Mark stmts not participating
48391 in any SLP instance properly.
48393 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
48395 * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
48396 when handling a SET rtx.
48398 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
48400 * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
48401 (cortex-a57): Likewise.
48402 (cortex-a57.cortex-a53): Likewise. Remove redundant flags.
48404 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
48406 * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
48407 non-iwmmxt builtins.
48409 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
48413 * ipa-devirt.c record_target_from_binfo): Take as argument
48414 stack of binfos and lookup matching one for virtual inheritance.
48415 (possible_polymorphic_call_targets_1): Update.
48417 2014-01-10 Huacai Chen <chenhc@lemote.com>
48419 * config/mips/driver-native.c (host_detect_local_cpu): Handle new
48420 kernel strings for Loongson-2E/2F/3A.
48422 2014-01-10 Jakub Jelinek <jakub@redhat.com>
48424 PR middle-end/59670
48425 * tree-vect-data-refs.c (vect_analyze_data_refs): Check
48426 is_gimple_call before calling gimple_call_internal_p.
48428 2014-01-09 Steve Ellcey <sellcey@mips.com>
48430 * Makefile.in (TREE_FLOW_H): Remove.
48431 (TREE_SSA_H): Add file names from tree-flow.h.
48432 * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
48433 * tree.h: Remove tree-flow.h reference.
48434 * hash-table.h: Remove tree-flow.h reference.
48435 * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
48436 reference with tree-ssa-loop.h.
48438 2014-01-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
48440 * doc/invoke.texi: Add -maltivec={be,le} options, and document
48441 default element-order behavior for -maltivec.
48442 * config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
48443 * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
48444 that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
48445 when targeting big endian, at least for now.
48446 * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
48448 2014-01-09 Jakub Jelinek <jakub@redhat.com>
48450 PR middle-end/47735
48451 * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
48452 var satisfies use_register_for_decl, just take into account type
48453 alignment, rather than decl alignment.
48455 PR tree-optimization/59622
48456 * gimple-fold.c (gimple_fold_call): Fix a typo in message. For
48457 __builtin_unreachable replace the OBJ_TYPE_REF call with a call to
48458 __builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
48459 Don't devirtualize for inplace at all. For targets.length () == 1,
48460 if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
48462 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
48464 * config/i386/i386.md (cpu): Remove the unused btver1.
48466 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
48468 * gdbasan.in: Put a breakpoint on __sanitizer::Report.
48470 2014-01-09 Jakub Jelinek <jakub@redhat.com>
48473 * tree-core.h (struct target_globals): New forward declaration.
48474 (struct tree_target_option): Add globals field.
48475 * tree.h (TREE_TARGET_GLOBALS): Define.
48476 (prepare_target_option_nodes_for_pch): New prototype.
48477 * target-globals.h (struct target_globals): Define even if
48478 !SWITCHABLE_TARGET.
48479 * tree.c (prepare_target_option_node_for_pch,
48480 prepare_target_option_nodes_for_pch): New functions.
48481 * config/i386/i386.h (SWITCHABLE_TARGET): Define.
48482 * config/i386/i386.c: Include target-globals.h.
48483 (ix86_set_current_function): Instead of doing target_reinit
48484 unconditionally, use save_target_globals_default_opts and
48485 restore_target_globals.
48487 2014-01-09 Richard Biener <rguenther@suse.de>
48489 PR tree-optimization/59715
48490 * tree-cfg.h (split_critical_edges): Declare.
48491 * tree-cfg.c (split_critical_edges): Export.
48492 * tree-ssa-sink.c (execute_sink_code): Split critical edges.
48494 2014-01-09 Max Ostapenko <m.ostapenko@partner.samsung.com>
48496 * cfgexpand.c (expand_stack_vars): Optionally disable
48497 asan stack protection.
48498 (expand_used_vars): Likewise.
48499 (partition_stack_vars): Likewise.
48500 * asan.c (asan_emit_stack_protection): Optionally disable
48501 after return stack usage.
48502 (instrument_derefs): Optionally disable memory access instrumentation.
48503 (instrument_builtin_call): Likewise.
48504 (instrument_strlen_call): Likewise.
48505 (asan_protect_global): Optionally disable global variables protection.
48506 * doc/invoke.texi: Added doc for new options.
48507 * params.def: Added new options.
48508 * params.h: Likewise.
48510 2014-01-09 Jakub Jelinek <jakub@redhat.com>
48512 PR rtl-optimization/59724
48513 * ifcvt.c (cond_exec_process_if_block): Don't call
48514 flow_find_head_matching_sequence with 0 longest_match.
48515 * cfgcleanup.c (flow_find_head_matching_sequence): Count even
48516 non-active insns if !stop_after.
48517 (try_head_merge_bb): Revert 2014-01-07 changes.
48519 2014-01-08 Jeff Law <law@redhat.com>
48521 * ree.c (get_sub_rtx): New function, extracted from...
48522 (merge_def_and_ext): Here.
48523 (combine_reaching_defs): Use get_sub_rtx.
48525 2014-01-08 Eric Botcazou <ebotcazou@adacore.com>
48527 * cgraph.h (varpool_variable_node): Do not choke on null node.
48529 2014-01-08 Catherine Moore <clm@codesourcery.com>
48531 * config/mips/mips.md (simple_return): Attempt to use JRC
48533 * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.
48535 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
48537 PR rtl-optimization/59137
48538 * reorg.c (steal_delay_list_from_target): Call update_block for
48540 (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.
48542 2014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
48544 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
48545 two duplicate entries.
48547 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
48550 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com>
48552 * config/mips/mips.c (mips_truncated_op_cost): New function.
48553 (mips_rtx_costs): Adjust test for BADDU.
48554 * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
48556 2012-10-02 Richard Sandiford <rdsandiford@googlemail.com>
48558 * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
48559 (*baddu_si): ...this new pattern.
48561 2014-01-08 Jakub Jelinek <jakub@redhat.com>
48564 * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
48566 2014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
48568 PR middle-end/57748
48569 * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
48571 (expand_expr, expand_normal): Adjust.
48572 * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
48573 inner_reference_p. Use inner_reference_p to expand inner references.
48574 (store_expr): Adjust.
48575 * cfgexpand.c (expand_call_stmt): Adjust.
48577 2014-01-08 Rong Xu <xur@google.com>
48579 * gcov-io.c (gcov_var): Move from gcov-io.h.
48580 (gcov_position): Ditto.
48581 (gcov_is_error): Ditto.
48582 (gcov_rewrite): Ditto.
48583 * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
48584 only part to libgcc/libgcov.h.
48586 2014-01-08 Marek Polacek <polacek@redhat.com>
48588 PR middle-end/59669
48589 * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
48591 2014-01-08 Marek Polacek <polacek@redhat.com>
48594 * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
48596 2014-01-08 Jakub Jelinek <jakub@redhat.com>
48598 PR rtl-optimization/59649
48599 * stor-layout.c (get_mode_bounds): For BImode return
48600 0 and STORE_FLAG_VALUE.
48602 2014-01-08 Richard Biener <rguenther@suse.de>
48604 PR middle-end/59630
48605 * gimple.h (is_gimple_builtin_call): Remove.
48606 (gimple_builtin_call_types_compatible_p): New.
48607 (gimple_call_builtin_p): New overload.
48608 * gimple.c (is_gimple_builtin_call): Remove.
48609 (validate_call): Rename to ...
48610 (gimple_builtin_call_types_compatible_p): ... this and export. Also
48611 check return types.
48612 (validate_type): New static function.
48613 (gimple_call_builtin_p): New overload and adjust.
48614 * gimple-fold.c (gimple_fold_builtin): Fold the return value.
48615 (gimple_fold_call): Likewise. Use gimple_call_builtin_p.
48616 (gimple_fold_stmt_to_constant_1): Likewise.
48617 * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
48619 2014-01-08 Richard Biener <rguenther@suse.de>
48621 PR middle-end/59471
48622 * gimplify.c (gimplify_expr): Gimplify register-register type
48623 VIEW_CONVERT_EXPRs to separate stmts.
48625 2014-01-07 Jeff Law <law@redhat.com>
48627 PR middle-end/53623
48628 * ree.c (combine_set_extension): Handle case where source
48629 and destination registers in an extension insn are different.
48630 (combine_reaching_defs): Allow source and destination registers
48631 in extension to be different under limited circumstances.
48632 (add_removable_extension): Remove restriction that the
48633 source and destination registers in the extension are the same.
48634 (find_and_remove_re): Emit a copy from the extension's
48635 destination to its source after the defining insn if
48636 the source and destination registers are different.
48638 PR middle-end/59285
48639 * ifcvt.c (merge_if_block): If we are merging a block with more than
48640 one successor with a block with no successors, remove any BARRIER
48641 after the second block.
48643 2014-01-07 Dan Xio Qiang <ziyan01@163.com>
48645 * hw-doloop.c (reorg_loops): Release the bitmap obstack.
48647 2014-01-07 John David Anglin <danglin@gcc.gnu.org>
48650 * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
48651 for 14-bit register offsets when INT14_OK_STRICT is false.
48653 2014-01-07 Roland Stigge <stigge@antcom.de>
48654 Michael Meissner <meissner@linux.vnet.ibm.com>
48657 * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
48658 Only check TFmode for SPE constants. Don't check TImode or TDmode.
48660 2014-01-07 James Greenhalgh <james.greenhalgh@arm.com>
48662 * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
48665 2014-01-07 Yufeng Zhang <yufeng.zhang@arm.com>
48667 * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
48668 with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
48669 rtx is const0_rtx or not.
48671 2014-01-07 Richard Sandiford <rdsandiford@googlemail.com>
48674 * target-globals.c (save_target_globals): Remove this_fn_optab
48676 * toplev.c: Include optabs.h.
48677 (target_reinit): Temporarily restore the global options if another
48678 set of options are in force.
48680 2014-01-07 Jakub Jelinek <jakub@redhat.com>
48682 PR rtl-optimization/58668
48683 * cfgcleanup.c (flow_find_cross_jump): Don't count
48684 any jumps if dir_p is NULL. Remove p1 variable, use active_insn_p
48685 to determine what is counted.
48686 (flow_find_head_matching_sequence): Use active_insn_p to determine
48688 (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
48690 * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
48691 determine what is counted.
48693 PR tree-optimization/59643
48694 * tree-predcom.c (split_data_refs_to_components): If one dr is
48695 read and one write, determine_offset fails and the write isn't
48696 in the bad component, just put the read into the bad component.
48698 2014-01-07 Mike Stump <mikestump@comcast.net>
48699 Jakub Jelinek <jakub@redhat.com>
48702 * tree-core.h (struct tree_optimization_option): Change optabs
48703 type from unsigned char * to void *.
48704 * optabs.c (init_tree_optimization_optabs): Adjust
48705 TREE_OPTIMIZATION_OPTABS initialization.
48707 2014-01-06 Jakub Jelinek <jakub@redhat.com>
48710 * config/i386/i386.h (struct machine_function): Add
48711 no_drap_save_restore field.
48712 * config/i386/i386.c (ix86_save_reg): Use
48713 !cfun->machine->no_drap_save_restore instead of
48714 crtl->stack_realign_needed.
48715 (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
48716 this function clears frame_pointer_needed. Set
48717 cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
48718 and DRAP reg is needed.
48720 2014-01-06 Marek Polacek <polacek@redhat.com>
48723 * doc/implement-c.texi: Mention that other integer types are
48724 permitted as bit-field types in strictly conforming mode.
48726 2014-01-06 Felix Yang <fei.yang0953@gmail.com>
48728 * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
48729 is newly allocated.
48731 2014-01-06 Richard Earnshaw <rearnsha@arm.com>
48733 * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
48735 2014-01-06 Martin Jambor <mjambor@suse.cz>
48738 * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
48740 * ipa-prop.c (ipa_print_node_params): Fix indentation.
48742 2014-01-06 Eric Botcazou <ebotcazou@adacore.com>
48746 * var-tracking.c (add_stores): Preserve the value of the source even if
48747 we don't record the store.
48749 2014-01-06 Terry Guo <terry.guo@arm.com>
48751 * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
48753 2014-01-05 Iain Sandoe <iain@codesourcery.com>
48756 * config/darwin.c (darwin_function_section): Adjust return values to
48757 correspond to optimisation changes made in r206070.
48759 2014-01-05 Uros Bizjak <ubizjak@gmail.com>
48761 * config/i386/i386.c (ix86_data_alignment): Calculate max_align
48762 from prefetch_block tune setting.
48763 (nocona_cost): Correct size of prefetch block to 64.
48765 2014-01-04 Eric Botcazou <ebotcazou@adacore.com>
48767 * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
48768 (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
48769 used to save the static chain register in the computation of the offset
48770 from which the FP registers need to be restored.
48772 2014-01-04 Jakub Jelinek <jakub@redhat.com>
48774 PR tree-optimization/59519
48775 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
48776 ICE if get_current_def (current_new_name) is already non-NULL, as long
48777 as it is a phi result of some other phi in *new_exit_bb that has
48780 * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
48781 or vmovdqu* for misaligned_operand.
48782 (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
48783 <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
48784 * config/i386/i386.c (ix86_expand_special_args_builtin): Set
48785 aligned_mem for AVX512F masked aligned load and store builtins and for
48786 non-temporal moves.
48788 2014-01-03 Bingfeng Mei <bmei@broadcom.com>
48790 PR tree-optimization/59651
48791 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
48792 Address range for negative step should be added by TYPE_SIZE_UNIT.
48794 2014-01-03 Andreas Schwab <schwab@linux-m68k.org>
48796 * config/m68k/m68k.c (handle_move_double): Handle pushes with
48797 overlapping registers also for registers other than the stack pointer.
48799 2014-01-03 Marek Polacek <polacek@redhat.com>
48802 * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
48805 2014-01-03 Jakub Jelinek <jakub@redhat.com>
48808 * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
48811 * config/i386/i386.md (MODE_SIZE): New mode attribute.
48812 (push splitter): Use <P:MODE_SIZE> instead of
48813 GET_MODE_SIZE (<P:MODE>mode).
48814 (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
48815 (mov -1, reg peephole2): Likewise.
48816 * config/i386/sse.md (*mov<mode>_internal,
48817 <sse>_storeu<ssemodesuffix><avxsizesuffix>,
48818 <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
48819 *<code><mode>3, *andnot<mode>3<mask_name>,
48820 <mask_codefor><code><mode>3<mask_name>): Likewise.
48821 * config/i386/subst.md (mask_mode512bit_condition,
48822 sd_mask_mode512bit_condition): Likewise.
48824 2014-01-02 Xinliang David Li <davidxl@google.com>
48826 PR tree-optimization/59303
48827 * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
48828 (dump_predicates): Better output format.
48829 (pred_equal_p): New function.
48830 (is_neq_relop_p): Ditto.
48831 (is_neq_zero_form_p): Ditto.
48832 (pred_expr_equal_p): Ditto.
48833 (pred_neg_p): Ditto.
48834 (simplify_pred): Ditto.
48835 (simplify_preds_2): Ditto.
48836 (simplify_preds_3): Ditto.
48837 (simplify_preds_4): Ditto.
48838 (simplify_preds): Ditto.
48839 (push_pred): Ditto.
48840 (push_to_worklist): Ditto.
48841 (get_pred_info_from_cmp): Ditto.
48842 (is_degenerated_phi): Ditto.
48843 (normalize_one_pred_1): Ditto.
48844 (normalize_one_pred): Ditto.
48845 (normalize_one_pred_chain): Ditto.
48846 (normalize_preds): Ditto.
48847 (normalize_cond_1): Remove function.
48848 (normalize_cond): Ditto.
48849 (is_gcond_subset_of): Ditto.
48850 (is_subset_of_any): Ditto.
48851 (is_or_set_subset_of): Ditto.
48852 (is_and_set_subset_of): Ditto.
48853 (is_norm_cond_subset_of): Ditto.
48854 (pred_chain_length_cmp): Ditto.
48855 (convert_control_dep_chain_into_preds): Type change.
48856 (find_predicates): Ditto.
48857 (find_def_preds): Ditto.
48858 (destroy_predicates_vecs): Ditto.
48859 (find_matching_predicates_in_rest_chains): Ditto.
48860 (use_pred_not_overlap_with_undef_path_pred): Ditto.
48861 (is_pred_expr_subset): Ditto.
48862 (is_pred_chain_subset_of): Ditto.
48863 (is_included_in): Ditto.
48864 (is_superset_of): Ditto.
48866 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
48868 Update copyright years.
48870 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
48872 * common/config/arc/arc-common.c, config/arc/arc-modes.def,
48873 config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
48874 config/arc/arc.md, config/arc/arc.opt,
48875 config/arm/arm_neon_builtins.def, config/arm/crypto.def,
48876 config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
48877 config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
48878 config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
48879 config/linux-protos.h, config/linux.c, config/winnt-c.c,
48880 diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
48881 vtable-verify.c, vtable-verify.h: Use the standard form for the
48884 2014-01-02 Tobias Burnus <burnus@net-b.de>
48886 * gcc.c (process_command): Update copyright notice dates.
48887 * gcov-dump.c: Ditto.
48889 * doc/cpp.texi: Bump @copying's copyright year.
48890 * doc/cppinternals.texi: Ditto.
48891 * doc/gcc.texi: Ditto.
48892 * doc/gccint.texi: Ditto.
48893 * doc/gcov.texi: Ditto.
48894 * doc/install.texi: Ditto.
48895 * doc/invoke.texi: Ditto.
48897 2014-01-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
48899 * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
48901 2014-01-01 Jakub Jelinek <jakub@redhat.com>
48903 * config/i386/sse.md (*mov<mode>_internal): Guard
48904 EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
48906 PR rtl-optimization/59647
48907 * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
48908 new_rtx into UNSIGNED_FLOAT rtxes.
48910 Copyright (C) 2014 Free Software Foundation, Inc.
48912 Copying and distribution of this file, with or without modification,
48913 are permitted in any medium without royalty provided the copyright
48914 notice and this notice are preserved.