2016-05-16 22:37:43 +02:00
|
|
|
|
2016-05-16 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (AArch64 Options): Various updates.
|
|
|
|
|
|
2016-05-16 21:33:02 +02:00
|
|
|
|
2016-05-16 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* ipa-inline-analysis.c (compute_inline_parameters): Disable inlinig
|
|
|
|
|
into instrumentation thunks.
|
|
|
|
|
* cif-code.def (CIF_CHKP): New.
|
|
|
|
|
|
2016-05-16 20:56:33 +02:00
|
|
|
|
2016-05-16 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/xopintrin.h: Correct "unsinged" typo in the comments.
|
|
|
|
|
|
2016-05-16 19:49:44 +02:00
|
|
|
|
2016-05-16 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa-gen.c (fillup_for_decl): Increase alignment to natural one.
|
|
|
|
|
(get_symbol_for_decl): Sorry if a global symbol in under-aligned.
|
|
|
|
|
|
2016-05-16 19:33:23 +02:00
|
|
|
|
2016-05-16 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gimple.c (maybe_remove_unused_call_args): Fix typos in the
|
|
|
|
|
commentary.
|
|
|
|
|
|
2016-05-16 17:40:30 +02:00
|
|
|
|
2016-05-16 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR hsa/70857
|
|
|
|
|
* omp-low.c (grid_expand_target_grid_body): Copy RESULT_DECL of
|
|
|
|
|
the outlined kernel function.
|
|
|
|
|
|
2016-05-16 16:21:02 +02:00
|
|
|
|
2016-05-16 Robert Suchanek <robert.suchanek@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips.h (ISA_HAS_LSA): Enable for -mmsa.
|
|
|
|
|
(ISA_HAS_DLSA): Ditto.
|
|
|
|
|
|
2016-05-16 16:20:47 +02:00
|
|
|
|
2016-05-16 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/m5100.md (m51_int_load): Update the latency to 2.
|
|
|
|
|
|
2016-05-16 15:16:28 +02:00
|
|
|
|
2016-05-16 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/nvptx.c (nvptx_mangle_decl_assembler_name): Revert.
|
|
|
|
|
(nvptx_name_replacement): Restore. Add comment.
|
|
|
|
|
(write_fn_proto, write_fn_proto_from_insn,
|
|
|
|
|
nvptx_output_call_insn): Restore
|
|
|
|
|
(TARGET_MANGLE_DECL_ASSEMBLER_NAME): Delete.
|
|
|
|
|
|
2016-05-16 14:52:22 +02:00
|
|
|
|
2016-05-16 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.md
|
|
|
|
|
(add<mode>3_compareC_cconly_imm): Remove use of %w.
|
|
|
|
|
(add<mode>3_compareC_imm): Likewise.
|
|
|
|
|
(<optab>si3_uxtw): Split into register and immediate variants.
|
|
|
|
|
(andsi3_compare0_uxtw): Likewise.
|
|
|
|
|
(and<mode>3_compare0): Likewise.
|
|
|
|
|
(and<mode>3nr_compare0): Likewise.
|
|
|
|
|
(stack_protect_test_<mode>): Don't use %x for memory operands.
|
|
|
|
|
|
2016-05-16 14:45:31 +02:00
|
|
|
|
2016-05-16 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips-cpus.def (p5600): Add multi-line brackets.
|
|
|
|
|
|
2016-05-16 13:01:36 +02:00
|
|
|
|
2016-05-16 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* gcc/config/aarch64/aarch64.md (aarch64_ashl_sisd_or_int_<mode>3):
|
|
|
|
|
Split integer shifts into shift_reg and bfm.
|
|
|
|
|
(aarch64_lshr_sisd_or_int_<mode>3): Likewise.
|
|
|
|
|
(aarch64_ashr_sisd_or_int_<mode>3): Likewise.
|
|
|
|
|
(ror<mode>3_insn): Likewise.
|
|
|
|
|
(<optab>si3_insn_uxtw): Likewise.
|
|
|
|
|
(<optab><mode>3_insn): Change to rotate_imm.
|
|
|
|
|
(extr<mode>5_insn_alt): Likewise.
|
|
|
|
|
(extrsi5_insn_uxtw): Likewise.
|
|
|
|
|
(extrsi5_insn_uxtw_alt): Likewise.
|
|
|
|
|
|
2016-05-16 12:22:25 +02:00
|
|
|
|
2016-05-16 Matthew Wahab <matthew.wahab@arm.com>
|
|
|
|
|
|
|
|
|
|
* doc/tm.texi: Regenerate.
|
|
|
|
|
* doc/tm.texi.in (TARGET_INVALID_PARAMETER_TYPE): Remove.
|
|
|
|
|
(TARGET_INVALID_RETURN_TYPE): Remove.
|
|
|
|
|
* system.h: Poison TARGET_INVALID_PARAMETER_TYPE and
|
|
|
|
|
TARGET_INVALID_RETURN_TYPE.
|
|
|
|
|
* target.def (invalid_parameter_type): Remove.
|
|
|
|
|
(invalid_return_type): Remove.
|
|
|
|
|
|
2016-05-16 12:10:28 +02:00
|
|
|
|
2016-05-16 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* ipa-inline-analysis.c (compute_inline_parameters): Be more reailistic
|
|
|
|
|
on estimating thunk bodies; do not set inline_failed to CIF_THUNK for
|
|
|
|
|
calls from thunk.
|
|
|
|
|
* ipa-inline-transform.c (inline_call): When inlining into thunk produce
|
|
|
|
|
gimple body.
|
|
|
|
|
(preserve_function_body_p): No need to preserve function body
|
|
|
|
|
* cif-codes.def (CIF_THUNK): Remove.
|
|
|
|
|
* cgraphclones.c (duplicate_thunk_for_node): Thunks calls are inlinable.
|
|
|
|
|
|
2016-05-16 12:01:57 +02:00
|
|
|
|
2016-05-16 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* tree-inline.c (expand_call_inline): recurse after inlining thunk.
|
|
|
|
|
|
2016-05-16 11:59:25 +02:00
|
|
|
|
2016-05-16 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* tree.c (free_lang_data_in_decl): Also set target/optimization flags
|
|
|
|
|
for thunks.
|
|
|
|
|
|
2016-05-16 11:56:19 +02:00
|
|
|
|
2016-05-16 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* ipa-inline.c (report_inline_failed_reason): Look into thunks, too
|
2016-05-16 15:16:28 +02:00
|
|
|
|
(inline_small_functions): Do not look for function symbol when
|
|
|
|
|
resetting caches.
|
2016-05-16 11:56:19 +02:00
|
|
|
|
|
2016-05-16 11:55:14 +02:00
|
|
|
|
2016-05-16 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* lto-cgraph.c (compute_ltrans_boundary, output_symtab): Fix handling
|
|
|
|
|
of inline thunks
|
|
|
|
|
|
2016-05-16 11:31:58 +02:00
|
|
|
|
2016-05-16 Matthew Wahab <matthew.wahab@arm.com>
|
|
|
|
|
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-c.c (arm_cpu_builtins): Use def_or_undef_macro
|
|
|
|
|
for __ARM_FP16_FORMAT_IEEE and __ARM_FP16_FORMAT_ALTERNATIVE.
|
|
|
|
|
Define __ARM_FP16_ARGS when appropriate.
|
|
|
|
|
* config/arm/arm.c (arm_invalid_parameter_type): Remove
|
|
|
|
|
declaration.
|
|
|
|
|
(arm_invalid_return_type): Likewise.
|
|
|
|
|
(TARGET_INVALID_PARAMETER_TYPE): Remove.
|
|
|
|
|
(TARGET_INVALID_RETURN_TYPE): Remove.
|
|
|
|
|
(aapcs_vfp_sub_candidate): Allow HFmode.
|
|
|
|
|
(aapcs_vfp_allocate): Add comment. Support HFmode.
|
|
|
|
|
(aapcs_vfp_allocate_return_reg): Likewise.
|
|
|
|
|
(struct aapcs_cp_arg_layout): Slightly reword comments for
|
|
|
|
|
is_return_candidate and allocate_return_reg.
|
|
|
|
|
(output_mov_vfp): Update assert.
|
|
|
|
|
(arm_hard_regno_mode_ok): Remove comment, update HF-mode
|
|
|
|
|
condition.
|
|
|
|
|
(arm_invalid_parameter_type): Remove.
|
|
|
|
|
(amr_invalid_return_type): Remove.
|
|
|
|
|
* config/arm/arm.h (TARGET_NEON_FP16): Fix definition.
|
|
|
|
|
* config/arm/arm.md (*arm32_movhf): Disable for TARGET_VFP.
|
|
|
|
|
* config/arm/vfp.md (*movhf_vfp): Enable for TARGET_VFP.
|
|
|
|
|
|
2016-05-16 11:20:50 +02:00
|
|
|
|
2016-05-16 Matthew Wahab <matthew.wahab@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.h (LEGITIMIZE_RELOAD_ADDRESS): Remove.
|
|
|
|
|
* config/aarch64/arch64-protos.h
|
|
|
|
|
(aarch64_legitimize_reload_address): Remove.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_legitimize_reload_address):
|
|
|
|
|
Remove.
|
|
|
|
|
|
2016-05-16 10:55:12 +02:00
|
|
|
|
2016-05-16 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Add ACX_NONCANONICAL_HOST.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Set host_noncanonical.
|
|
|
|
|
|
2016-05-14 15:22:45 +02:00
|
|
|
|
2016-05-14 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/71097
|
|
|
|
|
* config/i386/i386.md (*movtf_internal): Before register allocation,
|
|
|
|
|
do not allow FP constants for CM_MEDIUM memory model, allow only
|
|
|
|
|
standard FP constants for CM_LARGE and CM_LARGE_PIC models.
|
|
|
|
|
(*movxf_internal): Ditto.
|
|
|
|
|
(*movdf_internal): Ditto.
|
|
|
|
|
(*movsf_internal): Ditto.
|
|
|
|
|
|
2016-05-14 01:01:40 +02:00
|
|
|
|
2016-05-13 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/67483
|
|
|
|
|
* combine.c (make_compound_operation): Don't call extract_left_shift
|
|
|
|
|
with negative shift amounts.
|
|
|
|
|
|
2016-05-13 19:26:53 +02:00
|
|
|
|
2016-05-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-05-13 22:24:22 +02:00
|
|
|
|
PR bootstrap/71071
|
|
|
|
|
* fold-const.c (fold_checksum_tree): Allow modification
|
|
|
|
|
of TYPE_ALIAS_SET during folding.
|
|
|
|
|
|
2016-05-13 19:26:53 +02:00
|
|
|
|
* config/i386/i386.c (ix86_compute_frame_layout, ix86_expand_prologue,
|
|
|
|
|
ix86_expand_split_stack_prologue): Use HOST_WIDE_INT_C macro.
|
|
|
|
|
(ix86_split_to_parts): Likewise. Fix up formatting.
|
|
|
|
|
|
2016-05-13 18:51:27 +02:00
|
|
|
|
2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (create_new_ivs): Cast to
|
|
|
|
|
unsigned HOST_WIDE_INT with HOST_WIDE_INT_PRINT_UNSIGNED in
|
|
|
|
|
printf format.
|
|
|
|
|
|
2016-05-13 14:57:50 +02:00
|
|
|
|
2016-05-13 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
2016-05-13 17:51:24 +02:00
|
|
|
|
* config/nvptx/nvptx.c (nvptx_mangle_decl_assembler_name): New.
|
|
|
|
|
(nvptx_name_replacement): Delete.
|
|
|
|
|
(write_fn_proto, write_fn_proto_from_insn,
|
|
|
|
|
nvptx_output_call_insn): Remove nvptx_name_replacement call.
|
|
|
|
|
(TARGET_MANGLE_DECL_ASSEMBLER_NAME): Override.
|
|
|
|
|
* langhooks.c (add_builtin_funcction_common): Call
|
|
|
|
|
targetm.mangle_decl_assembler_name.
|
|
|
|
|
|
2016-05-13 14:57:50 +02:00
|
|
|
|
* config/nvptx/nvptx.c (write_fn_proto): Handle
|
|
|
|
|
BUILT_IN_ATOMIC_COMPARE_EXCHANGE_n oddity.
|
|
|
|
|
|
2016-05-13 14:51:29 +02:00
|
|
|
|
2016-05-13 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (create_new_ivs): Use HOST_WIDE_INT_PRINT_DEC
|
|
|
|
|
and PRIu64 in printf format.
|
|
|
|
|
|
2016-05-13 14:36:01 +02:00
|
|
|
|
2016-05-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivanon.c (try_unroll_loop_completely): Typo fix in
|
|
|
|
|
comment.
|
|
|
|
|
|
2016-05-13 14:33:55 +02:00
|
|
|
|
2016-05-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely):
|
|
|
|
|
Change --param max-completely-peeled-times to
|
|
|
|
|
--param max-completely-peel-times in dump file printing.
|
|
|
|
|
|
2016-05-13 14:27:18 +02:00
|
|
|
|
2016-05-13 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/42587
|
|
|
|
|
* tree-ssa-math-opts.c (perform_symbolic_merge): Handle BIT_FIELD_REF.
|
|
|
|
|
(find_bswap_or_nop_1): Likewise.
|
|
|
|
|
(bswap_replace): Likewise.
|
|
|
|
|
|
2016-05-13 13:16:59 +02:00
|
|
|
|
2016-05-13 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-vect-patterns.c (vect_recog_mask_conversion_pattern):
|
|
|
|
|
Initialize a variable with default value.
|
|
|
|
|
|
2016-05-13 13:12:35 +02:00
|
|
|
|
2016-05-13 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi: Enhance explanation of error recovery
|
|
|
|
|
of sanitizers.
|
|
|
|
|
|
2016-05-13 12:44:17 +02:00
|
|
|
|
2016-05-13 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (avg_loop_niter): Fix coding style.
|
|
|
|
|
(struct cost_pair): Change inv_expr_id (int) to inv_expr
|
|
|
|
|
(iv_inv_expr_ent *).
|
|
|
|
|
(struct iv_inv_expr_ent): Comment struct fields.
|
|
|
|
|
(sort_iv_inv_expr_ent): New function.
|
|
|
|
|
(struct ivopts_data): Rename inv_expr_id to max_inv_expr_id.
|
|
|
|
|
(struct iv_ca): Replace used_inv_expr and num_used_inv_expr with
|
|
|
|
|
a hash_map between iv_inv_expr_ent and number of usages.
|
|
|
|
|
(niter_for_exit): Fix coding style.
|
|
|
|
|
(tree_ssa_iv_optimize_init): Use renamed variable.
|
|
|
|
|
(determine_base_object): Fix coding style.
|
|
|
|
|
(alloc_iv): Likewise.
|
|
|
|
|
(find_interesting_uses_outside): Likewise.
|
|
|
|
|
(add_candidate_1): Likewise.
|
|
|
|
|
(add_standard_iv_candidates): Likewise.
|
|
|
|
|
(set_group_iv_cost): Replace inv_expr_id with inv_expr.
|
|
|
|
|
(prepare_decl_rtl): Fix coding style.
|
|
|
|
|
(get_address_cost): Likewise.
|
|
|
|
|
(get_shiftadd_cost): Likewise.
|
|
|
|
|
(force_expr_to_var_cost): Likewise.
|
|
|
|
|
(compare_aff_trees): Likewise.
|
|
|
|
|
(get_expr_id): Restructure the function.
|
|
|
|
|
(get_loop_invariant_expr_id): Renamed to
|
|
|
|
|
get_loop_invariant_expr.
|
|
|
|
|
(get_computation_cost_at): Replace usage of inv_expr_id with
|
|
|
|
|
inv_expr.
|
|
|
|
|
(get_computation_cost): Likewise.
|
|
|
|
|
(determine_group_iv_cost_generic): Likewise.
|
|
|
|
|
(determine_group_iv_cost_address): Likewise.
|
|
|
|
|
(iv_period): Fix coding style.
|
|
|
|
|
(iv_elimination_compare_lt): Likewise.
|
|
|
|
|
(may_eliminate_iv): Likewise.
|
|
|
|
|
(determine_group_iv_cost_cond): Replace usage of inv_expr_id with
|
|
|
|
|
inv_expr.
|
|
|
|
|
(determine_group_iv_costs): Dump invariant expressions.
|
|
|
|
|
(iv_ca_recount_cost): Use the newly added hash_map.
|
|
|
|
|
(iv_ca_set_remove_invariants): Fix coding style.
|
|
|
|
|
(iv_ca_set_add_invariants): Fix coding style.
|
|
|
|
|
(iv_ca_set_no_cp): Utilize the newly added hash_map for used
|
|
|
|
|
invariants.
|
|
|
|
|
(iv_ca_set_cp): Likewise.
|
|
|
|
|
(iv_ca_new): Initialize the newly added hash_map and remove
|
|
|
|
|
initialization of fields.
|
|
|
|
|
(iv_ca_free): Delete the hash_map.
|
|
|
|
|
(iv_ca_dump): Dump invariant expressions.
|
|
|
|
|
(iv_ca_extend): Fix coding style.
|
|
|
|
|
(try_add_cand_for): Likewise.
|
|
|
|
|
(create_new_ivs): Dump information about # of avg iterations and
|
|
|
|
|
# of used invariant expressions.
|
|
|
|
|
(rewrite_use_compare): Fix coding style.
|
|
|
|
|
(free_loop_data): Set default value for max_inv_expr_id.
|
|
|
|
|
|
2016-05-13 11:55:58 +02:00
|
|
|
|
2016-05-13 Ilya Enkovich <ilya.enkovich@intel.com>
|
|
|
|
|
|
|
|
|
|
* cse.c (rest_of_handle_cse): Use cleanup_cfg
|
|
|
|
|
returned value cse_cfg_altered computation.
|
|
|
|
|
(rest_of_handle_cse2): Likewise.
|
|
|
|
|
(rest_of_handle_cse_after_global_opts): Likewise.
|
|
|
|
|
|
2016-05-13 11:32:29 +02:00
|
|
|
|
2016-05-13 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/53440
|
|
|
|
|
* config/arm/arm.c (arm32_output_mi_thunk): New.
|
|
|
|
|
(arm_output_mi_thunk): Rename to arm_thumb1_mi_thunk. Rework
|
|
|
|
|
to split Thumb1 vs TARGET_32BIT functionality.
|
|
|
|
|
(arm_thumb1_mi_thunk): New.
|
|
|
|
|
|
2016-05-13 11:23:28 +02:00
|
|
|
|
2016-05-13 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (TARGET_OMIT_STRUCT_RETURN_REG): Set
|
|
|
|
|
to true.
|
|
|
|
|
|
2016-05-13 11:08:15 +02:00
|
|
|
|
2016-05-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR target/71080
|
|
|
|
|
* config/i386/i386.c (ix86_in_large_data_p): Guard against NULL exp.
|
|
|
|
|
|
2016-05-13 10:49:20 +02:00
|
|
|
|
2016-05-13 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* builtins.c (expand_builtin_memcmp): Do not emit the call here.
|
|
|
|
|
(expand_builtin_trap): Emit a regular call.
|
|
|
|
|
(set_builtin_user_assembler_name): Remove obsolete cases.
|
|
|
|
|
* dse.c (scan_insn): Adjust.
|
|
|
|
|
* except.c: Include calls.h.
|
|
|
|
|
(sjlj_emit_function_enter): If DONT_USE_BUILTIN_SETJMP is defined,
|
|
|
|
|
emit a regular call to setjmp.
|
|
|
|
|
* expr.c (emit_block_move_hints): Call emit_block_copy_via_libcall.
|
|
|
|
|
(block_move_libcall_safe_for_call_parm): Use memcpy builtin.
|
|
|
|
|
(emit_block_move_via_libcall): Delete.
|
|
|
|
|
(block_move_fn): Delete.
|
|
|
|
|
(init_block_move_fn): Likewise.
|
|
|
|
|
(emit_block_move_libcall_fn): Likewise.
|
|
|
|
|
(emit_block_op_via_libcall): New function.
|
|
|
|
|
(set_storage_via_libcall): Tidy up and use memset builtin.
|
|
|
|
|
(block_clear_fn): Delete.
|
|
|
|
|
(init_block_clear_fn): Likewise.
|
|
|
|
|
(clear_storage_libcall_fn): Likewise.
|
|
|
|
|
(expand_assignment): Call emit_block_move_via_libcall.
|
|
|
|
|
Do not include gt-expr.h.
|
|
|
|
|
* expr.h (emit_block_op_via_libcall): Declare.
|
|
|
|
|
(emit_block_copy_via_libcall): New inline function.
|
|
|
|
|
(emit_block_move_via_libcall): Likewise.
|
|
|
|
|
(emit_block_comp_via_libcall): Likewise.
|
|
|
|
|
(block_clear_fn): Delete.
|
|
|
|
|
(init_block_move_fn): Likewise.
|
|
|
|
|
(init_block_clear_fn): Likewise.
|
|
|
|
|
(emit_block_move_via_libcall): Likewise.
|
|
|
|
|
(set_storage_via_libcall): Add default parameter value.
|
|
|
|
|
* libfuncs.h (enum libfunc_index): Remove obsolete values.
|
|
|
|
|
(abort_libfunc): Delete.
|
|
|
|
|
(memcpy_libfunc): Likewise.
|
|
|
|
|
(memmove_libfunc): Likewise.
|
|
|
|
|
(memcmp_libfunc): Likewise.
|
|
|
|
|
(memset_libfunc): Likewise.
|
|
|
|
|
(setbits_libfunc): Likewise.
|
|
|
|
|
(setjmp_libfunc): Likewise.
|
|
|
|
|
(longjmp_libfunc): Likewise.
|
|
|
|
|
(profile_function_entry_libfunc): Likewise.
|
|
|
|
|
(profile_function_exit_libfunc): Likewise.
|
|
|
|
|
(gcov_flush_libfunc): Likewise.
|
|
|
|
|
* optabs-libfuncs.c (build_libfunc_function): Set DECL_ARTIFICIAL
|
|
|
|
|
and DECL_VISIBILITY on the declaration.
|
|
|
|
|
(init_optabs): Do not initialize obsolete libfuncs.
|
|
|
|
|
* optabs.c (prepare_cmp_insn): Call emit_block_comp_via_libcall.
|
|
|
|
|
* tree-core.h (ECF_RET1): Define.
|
|
|
|
|
(ECF_TM_PURE): Adjust.
|
|
|
|
|
(ECF_TM_BUILTIN): Likewise.
|
|
|
|
|
* tree.c (set_call_expr_flags): Deal with ECF_RET1.
|
|
|
|
|
(build_common_builtin_nodes): Initialize abort builtin.
|
|
|
|
|
Add ECF_RET1 on memcpy, memmove and memset builtins.
|
|
|
|
|
Pass final flags for alloca and alloca_with_align builtins.
|
|
|
|
|
* config/alpha/alpha.c (alpha_init_libfuncs): Do not initialize
|
|
|
|
|
obsolete builtins.
|
|
|
|
|
* config/ia64/ia64.c (ia64_vms_init_libfuncs): Likewise.
|
|
|
|
|
* config/i386/i386.c (ix86_expand_set_or_movmem): Adjust call to
|
|
|
|
|
set_storage_via_libcall and call emit_block_copy_via_libcall.
|
|
|
|
|
|
2016-05-12 20:34:54 +02:00
|
|
|
|
2016-05-12 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*call_got_x32): Change operand 0 to
|
|
|
|
|
DImode before it is passed to ix86_output_call_operand.
|
|
|
|
|
(*call_value_got_x32): Ditto for operand 1.
|
|
|
|
|
|
2016-05-12 19:00:52 +02:00
|
|
|
|
2016-05-12 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70904
|
|
|
|
|
* lra-constraint.c (process_addr_reg): Relax the restriction on subreg
|
|
|
|
|
reload for wide mode.
|
|
|
|
|
|
2016-05-12 17:28:08 +02:00
|
|
|
|
2016-05-12 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/70756
|
|
|
|
|
* langhooks-def.h (lhd_incomplete_type_error): Adjust declaration.
|
|
|
|
|
* langhooks.c (lhd_incomplete_type_error): Add location parameter.
|
|
|
|
|
* langhooks.h (incomplete_type_error): Likewise.
|
|
|
|
|
* tree.c (size_in_bytes_loc): Renamed from size_in_bytes. Add location
|
|
|
|
|
parameter, pass it down to incomplete_type_error.
|
|
|
|
|
* tree.h (size_in_bytes): New inline overload.
|
|
|
|
|
(size_in_bytes_loc): Renamed from size_in_bytes.
|
|
|
|
|
|
2016-05-12 15:46:26 +02:00
|
|
|
|
2016-05-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71059
|
|
|
|
|
* tree-ssa-pre.c (phi_translate_1): Fully fold translated
|
|
|
|
|
nary before looking up or entering the expression into the VN
|
|
|
|
|
hashes.
|
|
|
|
|
* tree-ssa-sccvn.c (vn_nary_build_or_lookup): Fix comment typo.
|
|
|
|
|
Make sure to re-use NARYs without result as inserted by
|
|
|
|
|
phi-translation.
|
|
|
|
|
|
2016-05-12 15:05:13 +02:00
|
|
|
|
2016-05-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71062
|
|
|
|
|
* tree-ssa-alias.h (struct pt_solution): Add vars_contains_restrict
|
|
|
|
|
field.
|
2016-05-12 20:34:54 +02:00
|
|
|
|
* tree-ssa-structalias.c (set_uids_in_ptset): Set
|
|
|
|
|
vars_contains_restrict if the var is a restrict tag.
|
2016-05-12 15:05:13 +02:00
|
|
|
|
* tree-ssa-alias.c (ptrs_compare_unequal): If vars_contains_restrict
|
|
|
|
|
do not disambiguate pointers against it.
|
|
|
|
|
(dump_points_to_solution): Re-structure and adjust for new
|
|
|
|
|
vars_contains_restrict flag.
|
|
|
|
|
* gimple-pretty-print.c (pp_points_to_solution): Likewise.
|
|
|
|
|
|
2016-05-12 14:36:16 +02:00
|
|
|
|
2016-05-12 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
2016-05-12 20:34:54 +02:00
|
|
|
|
* doc/invoke.texi: Explain connection between
|
|
|
|
|
-fsanitize-recover=address and ASAN_OPTIONS="halt_on_error=1".
|
2016-05-12 14:36:16 +02:00
|
|
|
|
|
2016-05-12 13:27:49 +02:00
|
|
|
|
2016-05-12 Ilya Enkovich <ilya.enkovich@intel.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71006
|
|
|
|
|
* tree-vect-loop.c (vect_determine_vectorization_factor): Don't
|
|
|
|
|
consider COND_EXPR as a mask producer.
|
|
|
|
|
|
2016-05-12 12:59:11 +02:00
|
|
|
|
2016-05-12 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR driver/71063
|
|
|
|
|
* opts.c (common_handle_option): Detect missing argument for --help^.
|
|
|
|
|
|
2016-05-12 11:56:46 +02:00
|
|
|
|
2016-05-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70830
|
|
|
|
|
* config/arm/arm.c (arm_output_multireg_pop): Avoid POP instruction
|
|
|
|
|
when popping the PC and within an interrupt handler routine.
|
|
|
|
|
Add missing tab to output of "ldmfd".
|
|
|
|
|
(output_return_instruction): Output LDMFD with SP update rather
|
|
|
|
|
than POP when returning from interrupt handler.
|
|
|
|
|
|
2016-05-12 10:30:25 +02:00
|
|
|
|
2016-05-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-05-12 10:35:20 +02:00
|
|
|
|
* config/i386/i386.md (isa): Add x64_avx512dq, enable if
|
|
|
|
|
TARGET_64BIT && TARGET_AVX512DQ.
|
|
|
|
|
* config/i386/sse.md (*vec_extract<mode>): Add avx512bw alternatives.
|
|
|
|
|
(*vec_extract<PEXTR_MODE12:mode>_zext): Add avx512bw alternative.
|
|
|
|
|
(*vec_extract<ssevecmodelower>_0, *vec_extractv4si_0_zext,
|
|
|
|
|
*vec_extractv2di_0_sse): Use v constraint instead of x constraint.
|
|
|
|
|
(*vec_extractv4si): Add avx512dq and avx512bw alternatives.
|
|
|
|
|
(*vec_extractv4si_zext): Add avx512dq alternative.
|
|
|
|
|
(*vec_extractv2di_1): Add x64_avx512dq and avx512bw alternatives,
|
|
|
|
|
use v instead of x constraint in other alternatives where possible.
|
|
|
|
|
|
2016-05-12 10:34:38 +02:00
|
|
|
|
* config/i386/sse.md (sse2_loadld): Use v instead of x
|
|
|
|
|
constraint in alternatives 0,1,4.
|
|
|
|
|
|
2016-05-12 10:34:11 +02:00
|
|
|
|
* config/i386/sse.md (pinsr_evex_isa): New mode attr.
|
|
|
|
|
(<sse2p4_1>_pinsr<ssemodesuffix>): Add 2 alternatives with
|
|
|
|
|
v constraints instead of x and <pinsr_evex_isa> isa attribute.
|
|
|
|
|
|
2016-05-12 10:33:14 +02:00
|
|
|
|
PR target/71019
|
|
|
|
|
* config/i386/sse.md (<sse2_avx2>_packssdw<mask_name>,
|
|
|
|
|
<sse4_1_avx2>_packusdw<mask_name>): Make sure EVEX encoded insn
|
|
|
|
|
is not emitted unless TARGET_AVX512BW.
|
|
|
|
|
(<sse2_avx2>_packuswb<mask_name>, <sse2_avx2>_packsswb<mask_name>):
|
|
|
|
|
Likewise. For TARGET_AVX512BW, use "=v" constraint instead of "=x"
|
|
|
|
|
for the result operand.
|
|
|
|
|
|
2016-05-12 10:32:31 +02:00
|
|
|
|
* config/i386/sse.md (*vec_setv4sf_sse4_1, sse4_1_insertps): Use v
|
|
|
|
|
constraint instead of x in avx alternatives. Use maybe_evex instead
|
|
|
|
|
of vex prefix.
|
|
|
|
|
|
2016-05-12 10:30:25 +02:00
|
|
|
|
* config/i386/constraints.md (Yv): New constraint.
|
|
|
|
|
* config/i386/i386.h (VALID_AVX512VL_128_REG_MODE): Allow
|
|
|
|
|
TFmode and V1TImode in xmm16+ registers for TARGET_AVX512VL.
|
|
|
|
|
* config/i386/i386.md (avx512fvecmode): New mode attr.
|
|
|
|
|
(*pushtf): Use v constraint instead of x.
|
|
|
|
|
(*movtf_internal): Likewise. For TARGET_AVX512VL and
|
|
|
|
|
xmm16+ registers, use vmovdqu64 or vmovdqa64 instructions.
|
|
|
|
|
(*absneg<mode>2): Use Yv constraint instead of x constraint.
|
|
|
|
|
(*absnegtf2_sse): Likewise.
|
|
|
|
|
(copysign<mode>3_const, copysign<mode>3_var): Likewise.
|
|
|
|
|
* config/i386/sse.md (*andnot<mode>3): Add avx512vl and
|
|
|
|
|
avx512f alternatives.
|
|
|
|
|
(*andnottf3, *<code><mode>3, *<code>tf3): Likewise.
|
|
|
|
|
|
2016-05-12 09:29:33 +02:00
|
|
|
|
2016-05-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71060
|
|
|
|
|
* tree-data-ref.c (initialize_data_dependence_relation): Do not
|
|
|
|
|
require exact match of DR_BASE_OBJECT but only matching address and
|
|
|
|
|
type.
|
|
|
|
|
|
2016-05-12 09:18:58 +02:00
|
|
|
|
2016-05-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70986
|
|
|
|
|
* cfganal.c: Include cfgloop.h.
|
|
|
|
|
(dfs_find_deadend): Prefer to take edges exiting loops.
|
|
|
|
|
|
2016-05-11 23:38:40 +02:00
|
|
|
|
2016-05-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* gcc.target/powerpc/pr70963.c: Require at least power8 at both
|
|
|
|
|
compile and run time.
|
|
|
|
|
|
2016-05-11 22:23:37 +02:00
|
|
|
|
2016-05-11 Mikhail Maltsev <maltsevm@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR c/43651
|
|
|
|
|
* doc/invoke.texi (Wduplicate-decl-specifier): Document new option.
|
|
|
|
|
|
2016-05-11 21:11:00 +02:00
|
|
|
|
2016-05-11 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (legitimize_pic_address): Use
|
|
|
|
|
copy_to_suggested_reg instead of gen_movsi.
|
|
|
|
|
|
predicates.md (quad_memory_operand): Move most of the code into quad_address_p and call it to share code with...
[gcc]
2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/predicates.md (quad_memory_operand): Move most of
the code into quad_address_p and call it to share code with
vsx_quad_dform_memory_operand.
(vsx_quad_dform_memory_operand): New predicate for ISA 3.0 vector
d-form support.
* config/rs6000/rs6000.opt (-mlra): Switch to being an option mask
bit instead of being a separate word. Split -mpower9-dform into
two switches, -mpower9-dform-scalar and -mpower9-dform-vector.
* config/rs6000/rs6000.c (RELOAD_REG_QUAD_OFFSET): New addr_mask
for the register class supporting 128-bit quad word memory
offsets.
(mode_supports_vsx_dform_quad): Helper function to return if the
register class uses quad word memory offsets.
(rs6000_debug_addr_mask): Add support for quad word memory
offsets.
(rs6000_debug_reg_global): Always print if we are using LRA or
not.
(rs6000_setup_reg_addr_masks): If ISA 3.0 vector d-form
instructions are enabled, set up the appropriate addr_masks for
128-bit types.
(rs6000_init_hard_regno_mode_ok): wb constraint is now based on
-mpower9-dform-scalar, instead of -mpower9-dform.
(rs6000_option_override_internal): Split -mpower9-dform into two
switches, -mpower9-dform-scalar and -mpower9-dform-vector. The
-mpower9-dform switch sets or clears both. If we are not using
the LRA register allocator, do not enable -mpower9-dform-vector by
default. If we are using LRA, enable -mpower9-dform-vector and
-mvsx-timode if it is appropriate. Issue a warning if either
-mpower9-dform-vector or -mvsx-timode are explicitly used without
enabling LRA.
(quad_address_offset_p): New helper function to return if the
offset is legal for quad word memory instructions.
(quad_address_p): New function to determin if GPR or vector
register quad word memory addresses are legal.
(mem_operand_gpr): Validate quad word address offsets.
(reg_offset_addressing_ok_p): Add support for ISA 3.0 vector
d-form (register + offset) instructions.
(offsettable_ok_by_alignment): Likewise.
(rs6000_legitimate_offset_address_p): Likewise.
(legitimate_lo_sum_address_p): Likewise.
(rs6000_legitimize_address): Likewise.
(rs6000_legitimize_reload_address): Add more debug statements for
-mdebug=addr.
(rs6000_legitimate_address_p): Add support for ISA 3.0 vector
d-form instructions.
(rs6000_secondary_reload_memory): Add support for ISA 3.0 vector
d-form instructions. Distinguish different cases in debug
output. (rs6000_secondary_reload_inner): Add support for ISA 3.0 vector
d-form instructions.
(rs6000_preferred_reload_class): Likewise.
(rs6000_output_move_128bit): Add support for ISA 3.0 d-form
instructions. If ISA 3.0 is available, generate lxvx/stxvx instead
of the ISA 2.06 indexed memory instructions.
(rs6000_emit_prologue): If we have ISA 3.0 d-form instructions,
use them to save/restore the saved vector registers instead of
using Altivec instructions.
(rs6000_emit_epilogue): Likewise.
(rs6000_lra_p): Use TARGET_LRA instead of the old option word.
(rs6000_opt_masks): Split -mpower9-dform into
-mpower9-dform-scalar and -mpower9-dform-vector.
(rs6000_print_options_internal): Print -mno-<switch> if <switch>
was not selected.
* config/rs6000/vsx.md (p9_vecload_<mode>): Delete hack to emit
ISA 3.0 vector indexed memory instructions, and fold the code into
the normal mov<mode> patterns.
(p9_vecstore_<mode>): Likewise.
(vsx_mov<mode>): Add support for ISA 3.0 vector d-form
instructions.
(vsx_movti_64bit): Likewise.
(vsx_movti_32bit): Likewise.
* config/rs6000/constraints.md (wO constraint): New constraint for
ISA 3.0 vector d-form support.
* config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Use
-mpower9-dform-scalar instead of -mpower9-dform. Add note not to
include -mpower9-dform-vector until we switch over to LRA.
(POWERPC_MASKS): Add -mlra. Split -mpower9-dform into two.
switches, -mpower9-dform-scalar and -mpower9-dform-vector.
* config/rs6000/rs6000-protos.h (quad_address_p): Add declaration.
* doc/invoke.texi (RS/6000 and PowerPC Options): Add documentation
for -mpower9-dform and -mlra.
* doc/md.texi (wO constraint): Document wO constraint.
[gcc/testsuite]
2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/dform-3.c: New test for ISA 3.0 vector d-form
support.
* gcc.target/powerpc/dform-1.c: Add -mlra option to silence
warning when using -mvsx-timode.
* gcc.target/powerpc/p8vector-int128-1.c: Likewise.
* gcc.target/powerpc/dform-2.c: Likewise.
* gcc.target/powerpc/pr68805.c: Likewise.
From-SVN: r236133
2016-05-11 20:38:10 +02:00
|
|
|
|
2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/predicates.md (quad_memory_operand): Move most of
|
|
|
|
|
the code into quad_address_p and call it to share code with
|
|
|
|
|
vsx_quad_dform_memory_operand.
|
|
|
|
|
(vsx_quad_dform_memory_operand): New predicate for ISA 3.0 vector
|
|
|
|
|
d-form support.
|
|
|
|
|
* config/rs6000/rs6000.opt (-mlra): Switch to being an option mask
|
|
|
|
|
bit instead of being a separate word. Split -mpower9-dform into
|
|
|
|
|
two switches, -mpower9-dform-scalar and -mpower9-dform-vector.
|
|
|
|
|
* config/rs6000/rs6000.c (RELOAD_REG_QUAD_OFFSET): New addr_mask
|
2016-05-12 20:34:54 +02:00
|
|
|
|
for the register class supporting 128-bit quad word memory offsets.
|
predicates.md (quad_memory_operand): Move most of the code into quad_address_p and call it to share code with...
[gcc]
2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/predicates.md (quad_memory_operand): Move most of
the code into quad_address_p and call it to share code with
vsx_quad_dform_memory_operand.
(vsx_quad_dform_memory_operand): New predicate for ISA 3.0 vector
d-form support.
* config/rs6000/rs6000.opt (-mlra): Switch to being an option mask
bit instead of being a separate word. Split -mpower9-dform into
two switches, -mpower9-dform-scalar and -mpower9-dform-vector.
* config/rs6000/rs6000.c (RELOAD_REG_QUAD_OFFSET): New addr_mask
for the register class supporting 128-bit quad word memory
offsets.
(mode_supports_vsx_dform_quad): Helper function to return if the
register class uses quad word memory offsets.
(rs6000_debug_addr_mask): Add support for quad word memory
offsets.
(rs6000_debug_reg_global): Always print if we are using LRA or
not.
(rs6000_setup_reg_addr_masks): If ISA 3.0 vector d-form
instructions are enabled, set up the appropriate addr_masks for
128-bit types.
(rs6000_init_hard_regno_mode_ok): wb constraint is now based on
-mpower9-dform-scalar, instead of -mpower9-dform.
(rs6000_option_override_internal): Split -mpower9-dform into two
switches, -mpower9-dform-scalar and -mpower9-dform-vector. The
-mpower9-dform switch sets or clears both. If we are not using
the LRA register allocator, do not enable -mpower9-dform-vector by
default. If we are using LRA, enable -mpower9-dform-vector and
-mvsx-timode if it is appropriate. Issue a warning if either
-mpower9-dform-vector or -mvsx-timode are explicitly used without
enabling LRA.
(quad_address_offset_p): New helper function to return if the
offset is legal for quad word memory instructions.
(quad_address_p): New function to determin if GPR or vector
register quad word memory addresses are legal.
(mem_operand_gpr): Validate quad word address offsets.
(reg_offset_addressing_ok_p): Add support for ISA 3.0 vector
d-form (register + offset) instructions.
(offsettable_ok_by_alignment): Likewise.
(rs6000_legitimate_offset_address_p): Likewise.
(legitimate_lo_sum_address_p): Likewise.
(rs6000_legitimize_address): Likewise.
(rs6000_legitimize_reload_address): Add more debug statements for
-mdebug=addr.
(rs6000_legitimate_address_p): Add support for ISA 3.0 vector
d-form instructions.
(rs6000_secondary_reload_memory): Add support for ISA 3.0 vector
d-form instructions. Distinguish different cases in debug
output. (rs6000_secondary_reload_inner): Add support for ISA 3.0 vector
d-form instructions.
(rs6000_preferred_reload_class): Likewise.
(rs6000_output_move_128bit): Add support for ISA 3.0 d-form
instructions. If ISA 3.0 is available, generate lxvx/stxvx instead
of the ISA 2.06 indexed memory instructions.
(rs6000_emit_prologue): If we have ISA 3.0 d-form instructions,
use them to save/restore the saved vector registers instead of
using Altivec instructions.
(rs6000_emit_epilogue): Likewise.
(rs6000_lra_p): Use TARGET_LRA instead of the old option word.
(rs6000_opt_masks): Split -mpower9-dform into
-mpower9-dform-scalar and -mpower9-dform-vector.
(rs6000_print_options_internal): Print -mno-<switch> if <switch>
was not selected.
* config/rs6000/vsx.md (p9_vecload_<mode>): Delete hack to emit
ISA 3.0 vector indexed memory instructions, and fold the code into
the normal mov<mode> patterns.
(p9_vecstore_<mode>): Likewise.
(vsx_mov<mode>): Add support for ISA 3.0 vector d-form
instructions.
(vsx_movti_64bit): Likewise.
(vsx_movti_32bit): Likewise.
* config/rs6000/constraints.md (wO constraint): New constraint for
ISA 3.0 vector d-form support.
* config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Use
-mpower9-dform-scalar instead of -mpower9-dform. Add note not to
include -mpower9-dform-vector until we switch over to LRA.
(POWERPC_MASKS): Add -mlra. Split -mpower9-dform into two.
switches, -mpower9-dform-scalar and -mpower9-dform-vector.
* config/rs6000/rs6000-protos.h (quad_address_p): Add declaration.
* doc/invoke.texi (RS/6000 and PowerPC Options): Add documentation
for -mpower9-dform and -mlra.
* doc/md.texi (wO constraint): Document wO constraint.
[gcc/testsuite]
2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/dform-3.c: New test for ISA 3.0 vector d-form
support.
* gcc.target/powerpc/dform-1.c: Add -mlra option to silence
warning when using -mvsx-timode.
* gcc.target/powerpc/p8vector-int128-1.c: Likewise.
* gcc.target/powerpc/dform-2.c: Likewise.
* gcc.target/powerpc/pr68805.c: Likewise.
From-SVN: r236133
2016-05-11 20:38:10 +02:00
|
|
|
|
(mode_supports_vsx_dform_quad): Helper function to return if the
|
|
|
|
|
register class uses quad word memory offsets.
|
2016-05-12 20:34:54 +02:00
|
|
|
|
(rs6000_debug_addr_mask): Add support for quad word memory offsets.
|
|
|
|
|
(rs6000_debug_reg_global): Always print if we are using LRA or not.
|
predicates.md (quad_memory_operand): Move most of the code into quad_address_p and call it to share code with...
[gcc]
2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/predicates.md (quad_memory_operand): Move most of
the code into quad_address_p and call it to share code with
vsx_quad_dform_memory_operand.
(vsx_quad_dform_memory_operand): New predicate for ISA 3.0 vector
d-form support.
* config/rs6000/rs6000.opt (-mlra): Switch to being an option mask
bit instead of being a separate word. Split -mpower9-dform into
two switches, -mpower9-dform-scalar and -mpower9-dform-vector.
* config/rs6000/rs6000.c (RELOAD_REG_QUAD_OFFSET): New addr_mask
for the register class supporting 128-bit quad word memory
offsets.
(mode_supports_vsx_dform_quad): Helper function to return if the
register class uses quad word memory offsets.
(rs6000_debug_addr_mask): Add support for quad word memory
offsets.
(rs6000_debug_reg_global): Always print if we are using LRA or
not.
(rs6000_setup_reg_addr_masks): If ISA 3.0 vector d-form
instructions are enabled, set up the appropriate addr_masks for
128-bit types.
(rs6000_init_hard_regno_mode_ok): wb constraint is now based on
-mpower9-dform-scalar, instead of -mpower9-dform.
(rs6000_option_override_internal): Split -mpower9-dform into two
switches, -mpower9-dform-scalar and -mpower9-dform-vector. The
-mpower9-dform switch sets or clears both. If we are not using
the LRA register allocator, do not enable -mpower9-dform-vector by
default. If we are using LRA, enable -mpower9-dform-vector and
-mvsx-timode if it is appropriate. Issue a warning if either
-mpower9-dform-vector or -mvsx-timode are explicitly used without
enabling LRA.
(quad_address_offset_p): New helper function to return if the
offset is legal for quad word memory instructions.
(quad_address_p): New function to determin if GPR or vector
register quad word memory addresses are legal.
(mem_operand_gpr): Validate quad word address offsets.
(reg_offset_addressing_ok_p): Add support for ISA 3.0 vector
d-form (register + offset) instructions.
(offsettable_ok_by_alignment): Likewise.
(rs6000_legitimate_offset_address_p): Likewise.
(legitimate_lo_sum_address_p): Likewise.
(rs6000_legitimize_address): Likewise.
(rs6000_legitimize_reload_address): Add more debug statements for
-mdebug=addr.
(rs6000_legitimate_address_p): Add support for ISA 3.0 vector
d-form instructions.
(rs6000_secondary_reload_memory): Add support for ISA 3.0 vector
d-form instructions. Distinguish different cases in debug
output. (rs6000_secondary_reload_inner): Add support for ISA 3.0 vector
d-form instructions.
(rs6000_preferred_reload_class): Likewise.
(rs6000_output_move_128bit): Add support for ISA 3.0 d-form
instructions. If ISA 3.0 is available, generate lxvx/stxvx instead
of the ISA 2.06 indexed memory instructions.
(rs6000_emit_prologue): If we have ISA 3.0 d-form instructions,
use them to save/restore the saved vector registers instead of
using Altivec instructions.
(rs6000_emit_epilogue): Likewise.
(rs6000_lra_p): Use TARGET_LRA instead of the old option word.
(rs6000_opt_masks): Split -mpower9-dform into
-mpower9-dform-scalar and -mpower9-dform-vector.
(rs6000_print_options_internal): Print -mno-<switch> if <switch>
was not selected.
* config/rs6000/vsx.md (p9_vecload_<mode>): Delete hack to emit
ISA 3.0 vector indexed memory instructions, and fold the code into
the normal mov<mode> patterns.
(p9_vecstore_<mode>): Likewise.
(vsx_mov<mode>): Add support for ISA 3.0 vector d-form
instructions.
(vsx_movti_64bit): Likewise.
(vsx_movti_32bit): Likewise.
* config/rs6000/constraints.md (wO constraint): New constraint for
ISA 3.0 vector d-form support.
* config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Use
-mpower9-dform-scalar instead of -mpower9-dform. Add note not to
include -mpower9-dform-vector until we switch over to LRA.
(POWERPC_MASKS): Add -mlra. Split -mpower9-dform into two.
switches, -mpower9-dform-scalar and -mpower9-dform-vector.
* config/rs6000/rs6000-protos.h (quad_address_p): Add declaration.
* doc/invoke.texi (RS/6000 and PowerPC Options): Add documentation
for -mpower9-dform and -mlra.
* doc/md.texi (wO constraint): Document wO constraint.
[gcc/testsuite]
2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/dform-3.c: New test for ISA 3.0 vector d-form
support.
* gcc.target/powerpc/dform-1.c: Add -mlra option to silence
warning when using -mvsx-timode.
* gcc.target/powerpc/p8vector-int128-1.c: Likewise.
* gcc.target/powerpc/dform-2.c: Likewise.
* gcc.target/powerpc/pr68805.c: Likewise.
From-SVN: r236133
2016-05-11 20:38:10 +02:00
|
|
|
|
(rs6000_setup_reg_addr_masks): If ISA 3.0 vector d-form
|
|
|
|
|
instructions are enabled, set up the appropriate addr_masks for
|
|
|
|
|
128-bit types.
|
|
|
|
|
(rs6000_init_hard_regno_mode_ok): wb constraint is now based on
|
|
|
|
|
-mpower9-dform-scalar, instead of -mpower9-dform.
|
|
|
|
|
(rs6000_option_override_internal): Split -mpower9-dform into two
|
|
|
|
|
switches, -mpower9-dform-scalar and -mpower9-dform-vector. The
|
|
|
|
|
-mpower9-dform switch sets or clears both. If we are not using
|
|
|
|
|
the LRA register allocator, do not enable -mpower9-dform-vector by
|
|
|
|
|
default. If we are using LRA, enable -mpower9-dform-vector and
|
|
|
|
|
-mvsx-timode if it is appropriate. Issue a warning if either
|
|
|
|
|
-mpower9-dform-vector or -mvsx-timode are explicitly used without
|
|
|
|
|
enabling LRA.
|
|
|
|
|
(quad_address_offset_p): New helper function to return if the
|
|
|
|
|
offset is legal for quad word memory instructions.
|
|
|
|
|
(quad_address_p): New function to determin if GPR or vector
|
|
|
|
|
register quad word memory addresses are legal.
|
|
|
|
|
(mem_operand_gpr): Validate quad word address offsets.
|
|
|
|
|
(reg_offset_addressing_ok_p): Add support for ISA 3.0 vector
|
|
|
|
|
d-form (register + offset) instructions.
|
|
|
|
|
(offsettable_ok_by_alignment): Likewise.
|
|
|
|
|
(rs6000_legitimate_offset_address_p): Likewise.
|
|
|
|
|
(legitimate_lo_sum_address_p): Likewise.
|
|
|
|
|
(rs6000_legitimize_address): Likewise.
|
|
|
|
|
(rs6000_legitimize_reload_address): Add more debug statements for
|
|
|
|
|
-mdebug=addr.
|
|
|
|
|
(rs6000_legitimate_address_p): Add support for ISA 3.0 vector
|
|
|
|
|
d-form instructions.
|
|
|
|
|
(rs6000_secondary_reload_memory): Add support for ISA 3.0 vector
|
|
|
|
|
d-form instructions. Distinguish different cases in debug
|
|
|
|
|
output. (rs6000_secondary_reload_inner): Add support for ISA 3.0 vector
|
|
|
|
|
d-form instructions.
|
|
|
|
|
(rs6000_preferred_reload_class): Likewise.
|
|
|
|
|
(rs6000_output_move_128bit): Add support for ISA 3.0 d-form
|
|
|
|
|
instructions. If ISA 3.0 is available, generate lxvx/stxvx instead
|
|
|
|
|
of the ISA 2.06 indexed memory instructions.
|
|
|
|
|
(rs6000_emit_prologue): If we have ISA 3.0 d-form instructions,
|
|
|
|
|
use them to save/restore the saved vector registers instead of
|
|
|
|
|
using Altivec instructions.
|
|
|
|
|
(rs6000_emit_epilogue): Likewise.
|
|
|
|
|
(rs6000_lra_p): Use TARGET_LRA instead of the old option word.
|
|
|
|
|
(rs6000_opt_masks): Split -mpower9-dform into
|
|
|
|
|
-mpower9-dform-scalar and -mpower9-dform-vector.
|
|
|
|
|
(rs6000_print_options_internal): Print -mno-<switch> if <switch>
|
|
|
|
|
was not selected.
|
|
|
|
|
* config/rs6000/vsx.md (p9_vecload_<mode>): Delete hack to emit
|
|
|
|
|
ISA 3.0 vector indexed memory instructions, and fold the code into
|
|
|
|
|
the normal mov<mode> patterns.
|
|
|
|
|
(p9_vecstore_<mode>): Likewise.
|
|
|
|
|
(vsx_mov<mode>): Add support for ISA 3.0 vector d-form
|
|
|
|
|
instructions.
|
|
|
|
|
(vsx_movti_64bit): Likewise.
|
|
|
|
|
(vsx_movti_32bit): Likewise.
|
|
|
|
|
* config/rs6000/constraints.md (wO constraint): New constraint for
|
|
|
|
|
ISA 3.0 vector d-form support.
|
|
|
|
|
* config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Use
|
|
|
|
|
-mpower9-dform-scalar instead of -mpower9-dform. Add note not to
|
|
|
|
|
include -mpower9-dform-vector until we switch over to LRA.
|
2016-05-12 20:34:54 +02:00
|
|
|
|
(POWERPC_MASKS): Add -mlra. Split -mpower9-dform into two.
|
predicates.md (quad_memory_operand): Move most of the code into quad_address_p and call it to share code with...
[gcc]
2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/predicates.md (quad_memory_operand): Move most of
the code into quad_address_p and call it to share code with
vsx_quad_dform_memory_operand.
(vsx_quad_dform_memory_operand): New predicate for ISA 3.0 vector
d-form support.
* config/rs6000/rs6000.opt (-mlra): Switch to being an option mask
bit instead of being a separate word. Split -mpower9-dform into
two switches, -mpower9-dform-scalar and -mpower9-dform-vector.
* config/rs6000/rs6000.c (RELOAD_REG_QUAD_OFFSET): New addr_mask
for the register class supporting 128-bit quad word memory
offsets.
(mode_supports_vsx_dform_quad): Helper function to return if the
register class uses quad word memory offsets.
(rs6000_debug_addr_mask): Add support for quad word memory
offsets.
(rs6000_debug_reg_global): Always print if we are using LRA or
not.
(rs6000_setup_reg_addr_masks): If ISA 3.0 vector d-form
instructions are enabled, set up the appropriate addr_masks for
128-bit types.
(rs6000_init_hard_regno_mode_ok): wb constraint is now based on
-mpower9-dform-scalar, instead of -mpower9-dform.
(rs6000_option_override_internal): Split -mpower9-dform into two
switches, -mpower9-dform-scalar and -mpower9-dform-vector. The
-mpower9-dform switch sets or clears both. If we are not using
the LRA register allocator, do not enable -mpower9-dform-vector by
default. If we are using LRA, enable -mpower9-dform-vector and
-mvsx-timode if it is appropriate. Issue a warning if either
-mpower9-dform-vector or -mvsx-timode are explicitly used without
enabling LRA.
(quad_address_offset_p): New helper function to return if the
offset is legal for quad word memory instructions.
(quad_address_p): New function to determin if GPR or vector
register quad word memory addresses are legal.
(mem_operand_gpr): Validate quad word address offsets.
(reg_offset_addressing_ok_p): Add support for ISA 3.0 vector
d-form (register + offset) instructions.
(offsettable_ok_by_alignment): Likewise.
(rs6000_legitimate_offset_address_p): Likewise.
(legitimate_lo_sum_address_p): Likewise.
(rs6000_legitimize_address): Likewise.
(rs6000_legitimize_reload_address): Add more debug statements for
-mdebug=addr.
(rs6000_legitimate_address_p): Add support for ISA 3.0 vector
d-form instructions.
(rs6000_secondary_reload_memory): Add support for ISA 3.0 vector
d-form instructions. Distinguish different cases in debug
output. (rs6000_secondary_reload_inner): Add support for ISA 3.0 vector
d-form instructions.
(rs6000_preferred_reload_class): Likewise.
(rs6000_output_move_128bit): Add support for ISA 3.0 d-form
instructions. If ISA 3.0 is available, generate lxvx/stxvx instead
of the ISA 2.06 indexed memory instructions.
(rs6000_emit_prologue): If we have ISA 3.0 d-form instructions,
use them to save/restore the saved vector registers instead of
using Altivec instructions.
(rs6000_emit_epilogue): Likewise.
(rs6000_lra_p): Use TARGET_LRA instead of the old option word.
(rs6000_opt_masks): Split -mpower9-dform into
-mpower9-dform-scalar and -mpower9-dform-vector.
(rs6000_print_options_internal): Print -mno-<switch> if <switch>
was not selected.
* config/rs6000/vsx.md (p9_vecload_<mode>): Delete hack to emit
ISA 3.0 vector indexed memory instructions, and fold the code into
the normal mov<mode> patterns.
(p9_vecstore_<mode>): Likewise.
(vsx_mov<mode>): Add support for ISA 3.0 vector d-form
instructions.
(vsx_movti_64bit): Likewise.
(vsx_movti_32bit): Likewise.
* config/rs6000/constraints.md (wO constraint): New constraint for
ISA 3.0 vector d-form support.
* config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Use
-mpower9-dform-scalar instead of -mpower9-dform. Add note not to
include -mpower9-dform-vector until we switch over to LRA.
(POWERPC_MASKS): Add -mlra. Split -mpower9-dform into two.
switches, -mpower9-dform-scalar and -mpower9-dform-vector.
* config/rs6000/rs6000-protos.h (quad_address_p): Add declaration.
* doc/invoke.texi (RS/6000 and PowerPC Options): Add documentation
for -mpower9-dform and -mlra.
* doc/md.texi (wO constraint): Document wO constraint.
[gcc/testsuite]
2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/dform-3.c: New test for ISA 3.0 vector d-form
support.
* gcc.target/powerpc/dform-1.c: Add -mlra option to silence
warning when using -mvsx-timode.
* gcc.target/powerpc/p8vector-int128-1.c: Likewise.
* gcc.target/powerpc/dform-2.c: Likewise.
* gcc.target/powerpc/pr68805.c: Likewise.
From-SVN: r236133
2016-05-11 20:38:10 +02:00
|
|
|
|
switches, -mpower9-dform-scalar and -mpower9-dform-vector.
|
|
|
|
|
* config/rs6000/rs6000-protos.h (quad_address_p): Add declaration.
|
|
|
|
|
* doc/invoke.texi (RS/6000 and PowerPC Options): Add documentation
|
|
|
|
|
for -mpower9-dform and -mlra.
|
|
|
|
|
* doc/md.texi (wO constraint): Document wO constraint.
|
|
|
|
|
|
2016-05-11 20:13:11 +02:00
|
|
|
|
2016-05-11 Alexander Monakov <amonakov@ispras.ru>
|
|
|
|
|
|
|
|
|
|
* genattr.c (main): Change 'rtx' to 'rtx_insn *' in prototypes of
|
|
|
|
|
'insn_latency', 'maximal_insn_latency', 'min_insn_conflict_delay'.
|
|
|
|
|
* genautomata.c (output_internal_insn_code_evaluation): Simplify.
|
|
|
|
|
Move handling of non-insn arguments inline into the sole user:
|
|
|
|
|
(output_trans_func): ...here.
|
|
|
|
|
(output_min_insn_conflict_delay_func): Change 'rtx' to 'rtx_insn *'
|
|
|
|
|
in emitted function prototype.
|
|
|
|
|
(output_internal_insn_latency_func): Ditto. Simplify.
|
|
|
|
|
(output_internal_maximal_insn_latency_func): Ditto. Delete
|
|
|
|
|
always-unused argument.
|
|
|
|
|
(output_insn_latency_func): Ditto.
|
|
|
|
|
(output_maximal_insn_latency_func): Ditto.
|
|
|
|
|
|
2016-05-11 16:04:32 +02:00
|
|
|
|
2016-05-11 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71055
|
|
|
|
|
* tree-ssa-sccvn.c (vn_reference_lookup_3): When native-interpreting
|
|
|
|
|
sth with precision not equal to access size verify we don't chop
|
|
|
|
|
off bits.
|
|
|
|
|
|
2016-05-11 15:59:34 +02:00
|
|
|
|
2016-05-11 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR debug/71057
|
|
|
|
|
* dwarf2out.c (retry_incomplete_types): Set early_dwarf.
|
|
|
|
|
(dwarf2out_finish): Move retry_incomplete_types call ...
|
|
|
|
|
(dwarf2out_early_finish): ... here.
|
|
|
|
|
|
2016-05-11 12:24:11 +02:00
|
|
|
|
2016-05-11 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/71002
|
|
|
|
|
* alias.c (reference_alias_ptr_type): Preserve alias-set zero
|
|
|
|
|
if the langhook insists on it.
|
|
|
|
|
* fold-const.c (make_bit_field_ref): Add arg for the original
|
|
|
|
|
reference and preserve its alias-set.
|
|
|
|
|
(decode_field_reference): Take exp by reference and adjust it
|
|
|
|
|
to the original memory reference.
|
|
|
|
|
(optimize_bit_field_compare): Adjust callers.
|
|
|
|
|
(fold_truth_andor_1): Likewise.
|
|
|
|
|
* gimplify.c (gimplify_expr): Adjust in-SSA form test.
|
|
|
|
|
|
2016-05-11 11:33:13 +02:00
|
|
|
|
2016-05-11 Ilya Enkovich <ilya.enkovich@intel.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70807
|
|
|
|
|
* cfgrtl.h (delete_insn_and_edges): Now return bool.
|
|
|
|
|
* cfgrtl.c (delete_insn_and_edges): Likewise.
|
|
|
|
|
* config/i386/i386.c (convert_scalars_to_vector): Remove
|
|
|
|
|
redundant code.
|
|
|
|
|
* cse.c (cse_insn): Compute cse_cfg_altered.
|
|
|
|
|
(delete_trivially_dead_insns): Likewise.
|
|
|
|
|
(cse_cc_succs): Likewise.
|
|
|
|
|
(rest_of_handle_cse): Free dominance info if required.
|
|
|
|
|
(rest_of_handle_cse2): Likewise.
|
|
|
|
|
(rest_of_handle_cse_after_global_opts): Likewise.
|
|
|
|
|
|
2016-05-11 04:09:38 +02:00
|
|
|
|
2016-05-11 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (is_complex_IBM_long_double,
|
|
|
|
|
abi_v4_pass_in_fpr): New functions.
|
|
|
|
|
(rs6000_function_arg_boundary): Exclude complex IBM long double
|
|
|
|
|
from 64-bit alignment when ABI_V4.
|
|
|
|
|
(rs6000_function_arg, rs6000_function_arg_advance_1,
|
|
|
|
|
rs6000_gimplify_va_arg): Use abi_v4_pass_in_fpr.
|
|
|
|
|
|
2016-05-11 01:31:27 +02:00
|
|
|
|
2016-05-10 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/71028
|
|
|
|
|
* cfgcleanup.c (try_optimize_cfg): Do not flip a conditional
|
|
|
|
|
jump with just a return in the fallthrough block if the branch
|
|
|
|
|
block contains just a return as well.
|
|
|
|
|
|
2016-05-10 21:52:20 +02:00
|
|
|
|
2016-05-10 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* fold-const.c (fold_binary_loc) [(X ^ Y) & Y]: Remove and merge with...
|
|
|
|
|
* match.pd ((X & Y) ^ Y): ... this.
|
|
|
|
|
((X & Y) & Y, (X | Y) | Y, (X ^ Y) ^ Y, (X & Y) & (X & Z), (X | Y)
|
|
|
|
|
| (X | Z), (X ^ Y) ^ (X ^ Z)): New transformations.
|
|
|
|
|
|
2016-05-10 20:28:10 +02:00
|
|
|
|
2016-05-10 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* read-md.c (require_char_ws): New function.
|
|
|
|
|
(read_string): Simplify using require_char_ws.
|
|
|
|
|
(handle_constants): Likewise.
|
|
|
|
|
(handle_enum): Likewise.
|
|
|
|
|
(handle_file): Likewise.
|
|
|
|
|
* read-md.h (require_char_ws): New declaration.
|
|
|
|
|
* read-rtl.c (read_conditions): Simplify using require_char_ws.
|
|
|
|
|
(read_mapping): Likewise.
|
|
|
|
|
(read_rtx_code): Likewise.
|
|
|
|
|
(read_nested_rtx): Likewise.
|
|
|
|
|
|
2016-05-10 20:05:02 +02:00
|
|
|
|
2016-05-10 James Norris <jnorris@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/sysv4.h (CRTOFFLOADBEGIN): Define. Add crtoffloadbegin.o
|
|
|
|
|
if offloading is enabled and -fopenacc or -fopenmp is specified.
|
|
|
|
|
(CRTOFFLOADEND): Likewise.
|
|
|
|
|
(STARTFILE_LINUX_SPEC): Add CRTOFFLOADBEGIN.
|
|
|
|
|
(ENDFILE_LINUX_SPEC): Add CRTOFFLOADEND.
|
|
|
|
|
|
2016-05-10 19:17:20 +02:00
|
|
|
|
2016-05-10 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (legitimize_pic_address): Merge 64-bit and 32-bit
|
|
|
|
|
gotoff_operand code paths. Use copy_to_suggested_regs and
|
|
|
|
|
expand_simple_binop where appropriate. Cleanup.
|
|
|
|
|
|
2016-05-10 18:08:42 +02:00
|
|
|
|
2016-05-10 Ilya Enkovich <ilya.enkovich@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70799
|
|
|
|
|
* config/i386/i386.c (dimode_scalar_to_vector_candidate_p): Allow
|
|
|
|
|
integer constants.
|
|
|
|
|
(dimode_scalar_chain::vector_const_cost): New.
|
|
|
|
|
(dimode_scalar_chain::compute_convert_gain): Handle constants.
|
|
|
|
|
(dimode_scalar_chain::convert_op): Likewise.
|
|
|
|
|
(dimode_scalar_chain::convert_insn): Likewise.
|
|
|
|
|
|
2016-05-10 17:57:37 +02:00
|
|
|
|
2016-05-10 Pierre-Marie de Rodat <derodat@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.c (resolve_args_picking_1): Consider DW_OP_neg as an
|
|
|
|
|
unary operation, not a binary one.
|
|
|
|
|
|
2016-05-10 18:06:36 +02:00
|
|
|
|
2016-05-10 Ilya Enkovich <ilya.enkovich@intel.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70877
|
|
|
|
|
* tree-chkp.c (chkp_add_bounds_to_call_stmt): Handle
|
|
|
|
|
calls with type casted fndecl.
|
|
|
|
|
|
2016-05-10 17:56:27 +02:00
|
|
|
|
2016-05-10 Ilya Enkovich <ilya.enkovich@intel.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70786
|
|
|
|
|
* tree-chkp.c (chkp_find_bounds_1): Support WITH_SIZE_EXPR.
|
|
|
|
|
* gcc/calls.c (initialize_argument_information): Bind bounds
|
|
|
|
|
with corresponding args passed by reference.
|
|
|
|
|
|
2016-05-10 16:30:02 +02:00
|
|
|
|
2016-05-10 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70927
|
|
|
|
|
* config/i386/sse.md (<sse>_andnot<mode>3<mask_name>),
|
|
|
|
|
*<code><mode>3<mask_name>): For !TARGET_AVX512DQ and EVEX encoding,
|
|
|
|
|
use vp*[dq] instead of v*p[sd] instructions and adjust mode attribute
|
|
|
|
|
accordingly.
|
|
|
|
|
|
2016-05-10 16:27:12 +02:00
|
|
|
|
2016-05-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70963
|
|
|
|
|
* config/rs6000/vsx.md (vsx_xvcvdpsxds_scale): Generate correct
|
|
|
|
|
code for a zero scale factor.
|
|
|
|
|
(vsx_xvcvdpuxds_scale): Likewise.
|
|
|
|
|
|
2016-05-10 15:28:41 +02:00
|
|
|
|
2016-05-10 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* diagnostic-show-locus.c (layout::layout): Call show_ruler
|
|
|
|
|
if show_ruler_p was set on the context.
|
|
|
|
|
(layout::show_ruler): New method.
|
|
|
|
|
* diagnostic.h (struct diagnostic_context): Add field
|
|
|
|
|
"show_ruler_p".
|
|
|
|
|
|
2016-05-10 15:13:59 +02:00
|
|
|
|
2016-05-10 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71039
|
|
|
|
|
* tree-ssa-phiprop.c: Include tree-ssa-loop.h.
|
|
|
|
|
(chk_uses): New function.
|
|
|
|
|
(propagate_with_phi): Verify we can safely replicate the lhs of an
|
|
|
|
|
aggregate assignment on all incoming edges.
|
|
|
|
|
|
Add rudimentary support for atomics on RX.
Add rudimentary support for atomics on RX. It is implemented by flipping
interrupts off/on around the atomic sequences.
gcc/
* config/rx/rx-protos.h (is_interrupt_func, is_fast_interrupt_func):
Forward declare.
(rx_atomic_sequence): New class.
* config/rx/rx.c (rx_print_operand): Use symbolic names for PSW bits.
(is_interrupt_func, is_fast_interrupt_func): Make non-static and
non-inline.
(rx_atomic_sequence::rx_atomic_sequence,
rx_atomic_sequence::~rx_atomic_sequence): New functions.
* config/rx/rx.md (CTRLREG_PSW, CTRLREG_USP, CTRLREG_FPSW, CTRLREG_CPEN,
CTRLREG_BPSW, CTRLREG_BPC, CTRLREG_ISP, CTRLREG_FINTV,
CTRLREG_INTB): New constants.
(FETCHOP): New code iterator.
(fethcop_name, fetchop_name2): New iterator code attributes.
(QIHI): New mode iterator.
(atomic_exchange<mode>, atomic_exchangesi, xchg_mem<mode>,
atomic_fetch_<fetchop_name>si, atomic_fetch_nandsi,
atomic_<fetchop_name>_fetchsi, atomic_nand_fetchsi): New patterns.
From-SVN: r236075
2016-05-10 14:53:44 +02:00
|
|
|
|
2016-05-10 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/rx/rx-protos.h (is_interrupt_func, is_fast_interrupt_func):
|
|
|
|
|
Forward declare.
|
|
|
|
|
(rx_atomic_sequence): New class.
|
|
|
|
|
* config/rx/rx.c (rx_print_operand): Use symbolic names for PSW bits.
|
|
|
|
|
(is_interrupt_func, is_fast_interrupt_func): Make non-static and
|
|
|
|
|
non-inline.
|
|
|
|
|
(rx_atomic_sequence::rx_atomic_sequence,
|
|
|
|
|
rx_atomic_sequence::~rx_atomic_sequence): New functions.
|
|
|
|
|
* config/rx/rx.md (CTRLREG_PSW, CTRLREG_USP, CTRLREG_FPSW, CTRLREG_CPEN,
|
|
|
|
|
CTRLREG_BPSW, CTRLREG_BPC, CTRLREG_ISP, CTRLREG_FINTV,
|
|
|
|
|
CTRLREG_INTB): New constants.
|
|
|
|
|
(FETCHOP): New code iterator.
|
|
|
|
|
(fethcop_name, fetchop_name2): New iterator code attributes.
|
|
|
|
|
(QIHI): New mode iterator.
|
|
|
|
|
(atomic_exchange<mode>, atomic_exchangesi, xchg_mem<mode>,
|
|
|
|
|
atomic_fetch_<fetchop_name>si, atomic_fetch_nandsi,
|
|
|
|
|
atomic_<fetchop_name>_fetchsi, atomic_nand_fetchsi): New patterns.
|
|
|
|
|
|
2016-05-10 12:17:58 +02:00
|
|
|
|
2016-05-10 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-inline.c (remap_dependence_clique): Do not remap
|
|
|
|
|
debugging statements.
|
|
|
|
|
|
2016-05-10 11:00:53 +02:00
|
|
|
|
2016-05-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md ("*vec_cmp<insn_cmp>df_cconly")
|
|
|
|
|
("*fixuns_truncdfdi2_z13")
|
|
|
|
|
("*fixuns_trunc<FP:mode><GPR:mode>2_z196")
|
|
|
|
|
("*fix_truncdfdi2_bfp_z13", "*floatunsdidf2_z13")
|
|
|
|
|
("*extendsfdf2_z13"): Replace TARGET_Z13 with TARGET_VX.
|
|
|
|
|
|
2016-05-10 10:20:43 +02:00
|
|
|
|
2016-05-10 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70497
|
|
|
|
|
PR tree-optimization/28367
|
|
|
|
|
* tree-ssa-sccvn.c (vn_nary_build_or_lookup): New function
|
|
|
|
|
split out from ...
|
|
|
|
|
(visit_reference_op_load): ... here.
|
|
|
|
|
(vn_reference_lookup_3): Use it to handle subreg-like accesses
|
|
|
|
|
with simplified BIT_FIELD_REFs.
|
|
|
|
|
* tree-ssa-pre.c (eliminate_insert): Handle inserting BIT_FIELD_REFs.
|
|
|
|
|
* tree-complex.c (extract_component): Handle BIT_FIELD_REFs
|
|
|
|
|
correctly.
|
|
|
|
|
|
2016-05-10 10:03:49 +02:00
|
|
|
|
2016-05-10 Pierre-Marie de Rodat <derodat@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.c (add_abstract_origin_attribute): Adjust
|
|
|
|
|
documentation comment. For BLOCK nodes, add a
|
|
|
|
|
DW_AT_abstract_origin attribute that points to the DIE generated
|
|
|
|
|
for the origin BLOCK.
|
|
|
|
|
(gen_lexical_block_die): Call add_abstract_origin_attribute for
|
|
|
|
|
blocks from inlined functions.
|
|
|
|
|
|
2016-05-10 01:12:20 +02:00
|
|
|
|
2016-05-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70947
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_expand_split_stack_prologue): Stop
|
|
|
|
|
regrename modifying insns saving lr before __morestack call.
|
|
|
|
|
* config/rs6000/rs6000.md (split_stack_return): Similarly for
|
|
|
|
|
insns restoring lr after __morestack call.
|
|
|
|
|
|
2016-05-09 22:09:29 +02:00
|
|
|
|
2016-05-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (set_got, set_got_labelled, lwp_llwpcb,
|
|
|
|
|
lwp_lwpval<mode>3, lwp_lwpins<mode>3): Remove constraints from
|
|
|
|
|
expanders.
|
|
|
|
|
* config/i386/sse.md (vec_interleave_high<mode>,
|
|
|
|
|
vec_interleave_low<mode>, <avx512>_vpermi2var<mode>3_maskz,
|
|
|
|
|
<avx512>_vpermt2var<mode>3_maskz): Likewise.
|
|
|
|
|
|
2016-05-09 18:56:30 +02:00
|
|
|
|
2016-05-04 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_reassociation_width): Add
|
|
|
|
|
function for TARGET_SCHED_REASSOCIATION_WIDTH to enable
|
|
|
|
|
parallel reassociation for power8 and forward.
|
|
|
|
|
|
2016-05-09 17:37:30 +02:00
|
|
|
|
2016-05-09 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (absneg splitters with general regs): Use
|
|
|
|
|
general_reg_operand predicate.
|
|
|
|
|
(btsq peephole2): Use x86_64_immediate_operand to check if new
|
|
|
|
|
value is suitable for immediate operand. Generate emitted insn
|
|
|
|
|
using RTL expressions.
|
|
|
|
|
(btcq peephole2): Ditto.
|
|
|
|
|
(btrq peephole2): Ditto. Generate correct immediate operand
|
|
|
|
|
for AND masking.
|
|
|
|
|
|
2016-05-09 17:30:32 +02:00
|
|
|
|
2016-05-09 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* cfgexpand.c (expand_debug_expr): Fix address offset for negative
|
|
|
|
|
bitpos.
|
|
|
|
|
|
2016-05-09 17:29:03 +02:00
|
|
|
|
2016-05-09 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-affine.c (wide_int_constant_multiple_p): Add missing
|
|
|
|
|
pointer dereference.
|
|
|
|
|
|
2016-05-09 14:23:11 +02:00
|
|
|
|
2016-05-09 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70985
|
|
|
|
|
* match.pd (BIT_FIELD_REF -> (type)): Disable on GIMPLE when
|
|
|
|
|
op0 isn't a gimple register.
|
|
|
|
|
|
Add pipeline description for MSA.
gcc/
* config/mips/i6400.md (i6400_fpu_intadd, i6400_fpu_logic)
(i6400_fpu_div, i6400_fpu_cmp, i6400_fpu_float, i6400_fpu_store)
(i6400_fpu_long_pipe, i6400_fpu_logic_l, i6400_fpu_float_l)
(i6400_fpu_mult): New cpu units.
(i6400_msa_add_d, i6400_msa_int_add, i6400_msa_short_logic3)
(i6400_msa_short_logic2, i6400_msa_short_logic, i6400_msa_move)
(i6400_msa_cmp, i6400_msa_short_float2, i6400_msa_div_d)
(i6400_msa_div_w, i6400_msa_div_h, i6400_msa_div_b)
(i6400_msa_copy, i6400_msa_branch, i6400_fpu_msa_store)
(i6400_fpu_msa_load, i6400_fpu_msa_move, i6400_msa_long_logic1)
(i6400_msa_long_logic2, i6400_msa_mult, i6400_msa_long_float2)
(i6400_msa_long_float4, i6400_msa_long_float5)
(i6400_msa_long_float8, i6400_msa_fdiv_df)
(i6400_msa_fdiv_sf): New reservations.
* config/mips/p5600.md (p5600_fpu_intadd, p5600_fpu_cmp)
(p5600_fpu_float, p5600_fpu_logic_a, p5600_fpu_logic_b)
(p5600_fpu_div, p5600_fpu_logic, p5600_fpu_float_a)
(p5600_fpu_float_b, p5600_fpu_float_c, p5600_fpu_float_d)
(p5600_fpu_mult, p5600_fpu_fdiv, p5600_fpu_load): New cpu units.
(msa_short_int_add, msa_short_logic, msa_short_logic_move_v)
(msa_short_cmp, msa_short_float2, msa_short_logic3)
(msa_short_store4, msa_long_load, msa_short_store)
(msa_long_logic, msa_long_float2, msa_long_float4)
(msa_long_float5, msa_long_float8, msa_long_mult)
(msa_long_fdiv, msa_long_div): New reservations.
From-SVN: r236031
2016-05-09 14:04:25 +02:00
|
|
|
|
2016-05-09 Prachi Godbole <prachi.godbole@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/i6400.md (i6400_fpu_intadd, i6400_fpu_logic)
|
|
|
|
|
(i6400_fpu_div, i6400_fpu_cmp, i6400_fpu_float, i6400_fpu_store)
|
|
|
|
|
(i6400_fpu_long_pipe, i6400_fpu_logic_l, i6400_fpu_float_l)
|
|
|
|
|
(i6400_fpu_mult): New cpu units.
|
|
|
|
|
(i6400_msa_add_d, i6400_msa_int_add, i6400_msa_short_logic3)
|
|
|
|
|
(i6400_msa_short_logic2, i6400_msa_short_logic, i6400_msa_move)
|
|
|
|
|
(i6400_msa_cmp, i6400_msa_short_float2, i6400_msa_div_d)
|
|
|
|
|
(i6400_msa_div_w, i6400_msa_div_h, i6400_msa_div_b)
|
|
|
|
|
(i6400_msa_copy, i6400_msa_branch, i6400_fpu_msa_store)
|
|
|
|
|
(i6400_fpu_msa_load, i6400_fpu_msa_move, i6400_msa_long_logic1)
|
|
|
|
|
(i6400_msa_long_logic2, i6400_msa_mult, i6400_msa_long_float2)
|
|
|
|
|
(i6400_msa_long_float4, i6400_msa_long_float5)
|
|
|
|
|
(i6400_msa_long_float8, i6400_msa_fdiv_df)
|
|
|
|
|
(i6400_msa_fdiv_sf): New reservations.
|
|
|
|
|
* config/mips/p5600.md (p5600_fpu_intadd, p5600_fpu_cmp)
|
|
|
|
|
(p5600_fpu_float, p5600_fpu_logic_a, p5600_fpu_logic_b)
|
|
|
|
|
(p5600_fpu_div, p5600_fpu_logic, p5600_fpu_float_a)
|
|
|
|
|
(p5600_fpu_float_b, p5600_fpu_float_c, p5600_fpu_float_d)
|
|
|
|
|
(p5600_fpu_mult, p5600_fpu_fdiv, p5600_fpu_load): New cpu units.
|
|
|
|
|
(msa_short_int_add, msa_short_logic, msa_short_logic_move_v)
|
|
|
|
|
(msa_short_cmp, msa_short_float2, msa_short_logic3)
|
|
|
|
|
(msa_short_store4, msa_long_load, msa_short_store)
|
|
|
|
|
(msa_long_logic, msa_long_float2, msa_long_float4)
|
|
|
|
|
(msa_long_float5, msa_long_float8, msa_long_mult)
|
|
|
|
|
(msa_long_fdiv, msa_long_div): New reservations.
|
|
|
|
|
|
Add support for MIPS SIMD Architecture (MSA).
gcc/
* config.gcc: Add MSA header file for mips*-*-* target.
* config/mips/constraints.md (YI, YC, YZ, Unv5, Uuv5, Usv5, Uuv6)
(Ubv8i, Urv8): New constraints.
* config/mips/mips-ftypes.def: Add function types for MSA
builtins.
* config/mips/mips-modes.def (V16QI, V8HI, V4SI, V2DI, V4SF)
(V2DF, V32QI, V16HI, V8SI, V4DI, V8SF, V4DF): New modes.
* config/mips/mips-msa.md: New file.
* config/mips/mips-protos.h
(mips_split_128bit_const_insns): New prototype.
(mips_msa_idiv_insns): Likewise.
(mips_split_128bit_move): Likewise.
(mips_split_128bit_move_p): Likewise.
(mips_split_msa_copy_d): Likewise.
(mips_split_msa_insert_d): Likewise.
(mips_split_msa_fill_d): Likewise.
(mips_expand_msa_branch): Likewise.
(mips_const_vector_same_val_p): Likewise.
(mips_const_vector_same_bytes_p): Likewise.
(mips_const_vector_same_int_p): Likewise.
(mips_const_vector_shuffle_set_p): Likewise.
(mips_const_vector_bitimm_set_p): Likewise.
(mips_const_vector_bitimm_clr_p): Likewise.
(mips_msa_vec_parallel_const_half): Likewise.
(mips_msa_output_division): Likewise.
(mips_ldst_scaled_shift): Likewise.
(mips_expand_vec_cond_expr): Likewise.
* config/mips/mips.c (enum mips_builtin_type): Add
MIPS_BUILTIN_MSA_TEST_BRANCH.
(mips_gen_const_int_vector_shuffle): New prototype.
(mips_const_vector_bitimm_set_p): New function.
(mips_const_vector_bitimm_clr_p): Likewise.
(mips_const_vector_same_val_p): Likewise.
(mips_const_vector_same_bytes_p): Likewise.
(mips_const_vector_same_int_p): Likewise.
(mips_const_vector_shuffle_set_p): Likewise.
(mips_symbol_insns): Forbid loading symbols via immediate for
MSA.
(mips_valid_offset_p): Limit offset to 10-bit for MSA loads and
stores.
(mips_valid_lo_sum_p): Forbid loadings symbols via %lo(base) for
MSA.
(mips_lx_address_p): Add support load indexed address for MSA.
(mips_address_insns): Add calculation of instructions needed for
stores and loads for MSA.
(mips_const_insns): Move CONST_DOUBLE below CONST_VECTOR. Handle
CONST_VECTOR for MSA and let it fall through.
(mips_ldst_scaled_shift): New function.
(mips_subword_at_byte): Likewise.
(mips_msa_idiv_insns): Likewise.
(mips_legitimize_move): Validate MSA moves.
(mips_rtx_costs): Add UNGE, UNGT, UNLE, UNLT cases. Add
calculation of costs for MSA division.
(mips_split_move_p): Check if MSA moves need splitting.
(mips_split_move): Split MSA moves if necessary.
(mips_split_128bit_move_p): New function.
(mips_split_128bit_move): Likewise.
(mips_split_msa_copy_d): Likewise.
(mips_split_msa_insert_d): Likewise.
(mips_split_msa_fill_d): Likewise.
(mips_output_move): Handle MSA moves.
(mips_expand_msa_branch): New function.
(mips_print_operand): Add 'E', 'B', 'w', 'v' and 'V' modifiers.
Reinstate 'y' modifier.
(mips_file_start): Add MSA .gnu_attribute.
(mips_hard_regno_mode_ok_p): Allow TImode and 128-bit vectors in
FPRs.
(mips_hard_regno_nregs): Always return 1 for MSA supported mode.
(mips_class_max_nregs): Add register size for MSA supported mode.
(mips_cannot_change_mode_class): Allow conversion between MSA
vector modes and TImode.
(mips_mode_ok_for_mov_fmt_p): Allow MSA to use move.v
instruction.
(mips_secondary_reload_class): Force MSA loads/stores via memory.
(mips_preferred_simd_mode): Add preffered modes for MSA.
(mips_vector_mode_supported_p): Add MSA supported modes.
(mips_autovectorize_vector_sizes): New function.
(mips_msa_output_division): Likewise.
(MSA_BUILTIN, MIPS_BUILTIN_DIRECT_NO_TARGET)
(MSA_NO_TARGET_BUILTIN, MSA_BUILTIN_TEST_BRANCH): New macros.
(CODE_FOR_msa_adds_s_b, CODE_FOR_msa_adds_s_h)
(CODE_FOR_msa_adds_s_w, CODE_FOR_msa_adds_s_d)
(CODE_FOR_msa_adds_u_b, CODE_FOR_msa_adds_u_h)
(CODE_FOR_msa_adds_u_w, CODE_FOR_msa_adds_u_du
(CODE_FOR_msa_addv_b, CODE_FOR_msa_addv_h, CODE_FOR_msa_addv_w)
(CODE_FOR_msa_addv_d, CODE_FOR_msa_and_v, CODE_FOR_msa_bmnz_v)
(CODE_FOR_msa_bmnzi_b, CODE_FOR_msa_bmz_v, CODE_FOR_msa_bmzi_b)
(CODE_FOR_msa_bnz_v, CODE_FOR_msa_bz_v, CODE_FOR_msa_bsel_v)
(CODE_FOR_msa_bseli_b, CODE_FOR_msa_ceqi_h, CODE_FOR_msa_ceqi_w)
(CODE_FOR_msa_ceqi_d, CODE_FOR_msa_clti_s_b)
(CODE_FOR_msa_clti_s_h, CODE_FOR_msa_clti_s_w)
(CODE_FOR_msa_clti_s_d, CODE_FOR_msa_clti_u_b)
(CODE_FOR_msa_clti_u_h, CODE_FOR_msa_clti_u_w)
(CODE_FOR_msa_clti_u_d, CODE_FOR_msa_clei_s_b)
(CODE_FOR_msa_clei_s_h, CODE_FOR_msa_clei_s_w)
(CODE_FOR_msa_clei_s_d, CODE_FOR_msa_clei_u_b)
(CODE_FOR_msa_clei_u_h, CODE_FOR_msa_clei_u_w)
(CODE_FOR_msa_clei_u_d, CODE_FOR_msa_div_s_b)
(CODE_FOR_msa_div_s_h, CODE_FOR_msa_div_s_w)
(CODE_FOR_msa_div_s_d, CODE_FOR_msa_div_u_b)
(CODE_FOR_msa_div_u_h, CODE_FOR_msa_div_u_w)
(CODE_FOR_msa_div_u_d, CODE_FOR_msa_fadd_w, CODE_FOR_msa_fadd_d)
(CODE_FOR_msa_fexdo_w, CODE_FOR_msa_ftrunc_s_w)
(CODE_FOR_msa_ftrunc_s_d, CODE_FOR_msa_ftrunc_u_w)
(CODE_FOR_msa_ftrunc_u_d, CODE_FOR_msa_ffint_s_w)
(CODE_FOR_msa_ffint_s_d, CODE_FOR_msa_ffint_u_w)
(CODE_FOR_msa_ffint_u_d, CODE_FOR_msa_fsub_w)
(CODE_FOR_msa_fsub_d, CODE_FOR_msa_fmsub_d, CODE_FOR_msa_fmadd_w)
(CODE_FOR_msa_fmadd_d, CODE_FOR_msa_fmsub_w, CODE_FOR_msa_fmul_w)
(CODE_FOR_msa_fmul_d, CODE_FOR_msa_fdiv_w, CODE_FOR_msa_fdiv_d)
(CODE_FOR_msa_fmax_w, CODE_FOR_msa_fmax_d, CODE_FOR_msa_fmax_a_w)
(CODE_FOR_msa_fmax_a_d, CODE_FOR_msa_fmin_w, CODE_FOR_msa_fmin_d)
(CODE_FOR_msa_fmin_a_w, CODE_FOR_msa_fmin_a_d)
(CODE_FOR_msa_fsqrt_w, CODE_FOR_msa_fsqrt_d)
(CODE_FOR_msa_max_s_b, CODE_FOR_msa_max_s_h)
(CODE_FOR_msa_max_s_w, CODE_FOR_msa_max_s_d)
(CODE_FOR_msa_max_u_b, CODE_FOR_msa_max_u_h)
(CODE_FOR_msa_max_u_w, CODE_FOR_msa_max_u_d)
(CODE_FOR_msa_min_s_b, CODE_FOR_msa_min_s_h)
(CODE_FOR_msa_min_s_w, CODE_FOR_msa_min_s_d)
(CODE_FOR_msa_min_u_b, CODE_FOR_msa_min_u_h)
(CODE_FOR_msa_min_u_w, CODE_FOR_msa_min_u_d)
(CODE_FOR_msa_mod_s_b, CODE_FOR_msa_mod_s_h)
(CODE_FOR_msa_mod_s_w, CODE_FOR_msa_mod_s_d)
(CODE_FOR_msa_mod_u_b, CODE_FOR_msa_mod_u_h)
(CODE_FOR_msa_mod_u_w, CODE_FOR_msa_mod_u_d)
(CODE_FOR_msa_mod_s_b, CODE_FOR_msa_mod_s_h)
(CODE_FOR_msa_mod_s_w, CODE_FOR_msa_mod_s_d)
(CODE_FOR_msa_mod_u_b, CODE_FOR_msa_mod_u_h)
(CODE_FOR_msa_mod_u_w, CODE_FOR_msa_mod_u_d)
(CODE_FOR_msa_mulv_b, CODE_FOR_msa_mulv_h, CODE_FOR_msa_mulv_w)
(CODE_FOR_msa_mulv_d, CODE_FOR_msa_nlzc_b, CODE_FOR_msa_nlzc_h)
(CODE_FOR_msa_nlzc_w, CODE_FOR_msa_nlzc_d, CODE_FOR_msa_nor_v)
(CODE_FOR_msa_or_v, CODE_FOR_msa_ori_b, CODE_FOR_msa_nori_b)
(CODE_FOR_msa_pcnt_b, CODE_FOR_msa_pcnt_h, CODE_FOR_msa_pcnt_w)
(CODE_FOR_msa_pcnt_d, CODE_FOR_msa_xor_v, CODE_FOR_msa_xori_b)
(CODE_FOR_msa_sll_b, CODE_FOR_msa_sll_h, CODE_FOR_msa_sll_w)
(CODE_FOR_msa_sll_d, CODE_FOR_msa_slli_b, CODE_FOR_msa_slli_h)
(CODE_FOR_msa_slli_w, CODE_FOR_msa_slli_d, CODE_FOR_msa_sra_b)
(CODE_FOR_msa_sra_h, CODE_FOR_msa_sra_w, CODE_FOR_msa_sra_d)
(CODE_FOR_msa_srai_b, CODE_FOR_msa_srai_h, CODE_FOR_msa_srai_w)
(CODE_FOR_msa_srai_d, CODE_FOR_msa_srl_b, CODE_FOR_msa_srl_h)
(CODE_FOR_msa_srl_w, CODE_FOR_msa_srl_d, CODE_FOR_msa_srli_b)
(CODE_FOR_msa_srli_h, CODE_FOR_msa_srli_w, CODE_FOR_msa_srli_d)
(CODE_FOR_msa_subv_b, CODE_FOR_msa_subv_h, CODE_FOR_msa_subv_w)
(CODE_FOR_msa_subv_d, CODE_FOR_msa_subvi_b, CODE_FOR_msa_subvi_h)
(CODE_FOR_msa_subvi_w, CODE_FOR_msa_subvi_d, CODE_FOR_msa_move_v)
(CODE_FOR_msa_vshf_b, CODE_FOR_msa_vshf_h, CODE_FOR_msa_vshf_w)
(CODE_FOR_msa_vshf_d, CODE_FOR_msa_ilvod_d, CODE_FOR_msa_ilvev_d)
(CODE_FOR_msa_pckod_d, CODE_FOR_msa_pckdev_d, CODE_FOR_msa_ldi_b)
(CODE_FOR_msa_ldi_hi, CODE_FOR_msa_ldi_w)
(CODE_FOR_msa_ldi_d): New code_aliasing macros.
(mips_builtins): Add MSA sll_b, sll_h, sll_w, sll_d, slli_b,
slli_h, slli_w, slli_d, sra_b, sra_h, sra_w, sra_d, srai_b,
srai_h, srai_w, srai_d, srar_b, srar_h, srar_w, srar_d, srari_b,
srari_h, srari_w, srari_d, srl_b, srl_h, srl_w, srl_d, srli_b,
srli_h, srli_w, srli_d, srlr_b, srlr_h, srlr_w, srlr_d, srlri_b,
srlri_h, srlri_w, srlri_d, bclr_b, bclr_h, bclr_w, bclr_d,
bclri_b, bclri_h, bclri_w, bclri_d, bset_b, bset_h, bset_w,
bset_d, bseti_b, bseti_h, bseti_w, bseti_d, bneg_b, bneg_h,
bneg_w, bneg_d, bnegi_b, bnegi_h, bnegi_w, bnegi_d, binsl_b,
binsl_h, binsl_w, binsl_d, binsli_b, binsli_h, binsli_w,
binsli_d, binsr_b, binsr_h, binsr_w, binsr_d, binsri_b, binsri_h,
binsri_w, binsri_d, addv_b, addv_h, addv_w, addv_d, addvi_b,
addvi_h, addvi_w, addvi_d, subv_b, subv_h, subv_w, subv_d,
subvi_b, subvi_h, subvi_w, subvi_d, max_s_b, max_s_h, max_s_w,
max_s_d, maxi_s_b, maxi_s_h, maxi_s_w, maxi_s_d, max_u_b,
max_u_h, max_u_w, max_u_d, maxi_u_b, maxi_u_h, maxi_u_w,
maxi_u_d, min_s_b, min_s_h, min_s_w, min_s_d, mini_s_b, mini_s_h,
mini_s_w, mini_s_d, min_u_b, min_u_h, min_u_w, min_u_d, mini_u_b,
mini_u_h, mini_u_w, mini_u_d, max_a_b, max_a_h, max_a_w, max_a_d,
min_a_b, min_a_h, min_a_w, min_a_d, ceq_b, ceq_h, ceq_w, ceq_d,
ceqi_b, ceqi_h, ceqi_w, ceqi_d, clt_s_b, clt_s_h, clt_s_w,
clt_s_d, clti_s_b, clti_s_h, clti_s_w, clti_s_d, clt_u_b,
clt_u_h, clt_u_w, clt_u_d, clti_u_b, clti_u_h, clti_u_w,
clti_u_d, cle_s_b, cle_s_h, cle_s_w, cle_s_d, clei_s_b, clei_s_h,
clei_s_w, clei_s_d, cle_u_b, cle_u_h, cle_u_w, cle_u_d, clei_u_b,
clei_u_h, clei_u_w, clei_u_d, ld_b, ld_h, ld_w, ld_d, st_b, st_h,
st_w, st_d, sat_s_b, sat_s_h, sat_s_w, sat_s_d, sat_u_b, sat_u_h,
sat_u_w, sat_u_d, add_a_b, add_a_h, add_a_w, add_a_d, adds_a_b,
adds_a_h, adds_a_w, adds_a_d, adds_s_b, adds_s_h, adds_s_w,
adds_s_d, adds_u_b, adds_u_h, adds_u_w, adds_u_d, ave_s_b,
ave_s_h, ave_s_w, ave_s_d, ave_u_b, ave_u_h, ave_u_w, ave_u_d,
aver_s_b, aver_s_h, aver_s_w, aver_s_d, aver_u_b, aver_u_h,
aver_u_w, aver_u_d, subs_s_b, subs_s_h, subs_s_w, subs_s_d,
subs_u_b, subs_u_h, subs_u_w, subs_u_d, subsuu_s_b, subsuu_s_h,
subsuu_s_w, subsuu_s_d, subsus_u_b, subsus_u_h, subsus_u_w,
subsus_u_d, asub_s_b, asub_s_h, asub_s_w, asub_s_d, asub_u_b,
asub_u_h, asub_u_w, asub_u_d, mulv_b, mulv_h, mulv_w, mulv_d,
maddv_b, maddv_h, maddv_w, maddv_d, msubv_b, msubv_h, msubv_w,
msubv_d, div_s_b, div_s_h, div_s_w, div_s_d, div_u_b, div_u_h,
div_u_w, div_u_d, hadd_s_h, hadd_s_w, hadd_s_d, hadd_u_h,
hadd_u_w, hadd_u_d, hsub_s_h, hsub_s_w, hsub_s_d, hsub_u_h,
hsub_u_w, hsub_u_d, mod_s_b, mod_s_h, mod_s_w, mod_s_d, mod_u_b,
mod_u_h, mod_u_w, mod_u_d, dotp_s_h, dotp_s_w, dotp_s_d,
dotp_u_h, dotp_u_w, dotp_u_d, dpadd_s_h, dpadd_s_w, dpadd_s_d,
dpadd_u_h, dpadd_u_w, dpadd_u_d, dpsub_s_h, dpsub_s_w, dpsub_s_d,
dpsub_u_h, dpsub_u_w, dpsub_u_d, sld_b, sld_h, sld_w, sld_d,
sldi_b, sldi_h, sldi_w, sldi_d, splat_b, splat_h, splat_w,
splat_d, splati_b, splati_h, splati_w, splati_d, pckev_b,
pckev_h, pckev_w, pckev_d, pckod_b, pckod_h, pckod_w, pckod_d,
ilvl_b, ilvl_h, ilvl_w, ilvl_d, ilvr_b, ilvr_h, ilvr_w, ilvr_d,
ilvev_b, ilvev_h, ilvev_w, ilvev_d, ilvod_b, ilvod_h, ilvod_w,
ilvod_d, vshf_b, vshf_h, vshf_w, vshf_d, and_v, andi_b, or_v,
ori_b, nor_v, nori_b, xor_v, xori_b, bmnz_v, bmnzi_b, bmz_v,
bmzi_b, bsel_v, bseli_b, shf_b, shf_h, shf_w, bnz_v, bz_v,
fill_b, fill_h, fill_w, fill_d, pcnt_b, pcnt_h, pcnt_w,
pcnt_d, nloc_b, nloc_h, nloc_w, nloc_d, nlzc_b, nlzc_h, nlzc_w,
nlzc_d, copy_s_b, copy_s_h, copy_s_w, copy_s_d, copy_u_b,
copy_u_h, copy_u_w, copy_u_d, insert_b, insert_h, insert_w,
insert_d, insve_b, insve_h, insve_w, insve_d, bnz_b, bnz_h,
bnz_w, bnz_d, bz_b, bz_h, bz_w, bz_d, ldi_b, ldi_h, ldi_w, ldi_d,
fcaf_w, fcaf_d, fcor_w, fcor_d, fcun_w, fcun_d, fcune_w, fcune_d,
fcueq_w, fcueq_d, fceq_w, fceq_d, fcne_w, fcne_d, fclt_w, fclt_d,
fcult_w, fcult_d, fcle_w, fcle_d, fcule_w, fcule_d, fsaf_w,
fsaf_d, fsor_w, fsor_d, fsun_w, fsun_d, fsune_w, fsune_d,
fsueq_w, fsueq_d, fseq_w, fseq_d, fsne_w, fsne_d, fslt_w,
fslt_d, fsult_w, fsult_d, fsle_w, fsle_d, fsule_w, fsule_d,
fadd_w, fadd_d, fsub_w, fsub_d, fmul_w, fmul_d, fdiv_w, fdiv_d,
fmadd_w, fmadd_d, fmsub_w, fmsub_d, fexp2_w, fexp2_d, fexdo_h,
fexdo_w, ftq_h, ftq_w, fmin_w, fmin_d, fmin_a_w, fmin_a_d,
fmax_w, fmax_d, fmax_a_w, fmax_a_d, mul_q_h, mul_q_w, mulr_q_h,
mulr_q_w, madd_q_h, madd_q_w, maddr_q_h, maddr_q_w, msub_q_h,
msub_q_w, msubr_q_h, msubr_q_w, fclass_w, fclass_d, fsqrt_w,
fsqrt_d, frcp_w, frcp_d, frint_w, frint_d, frsqrt_w, frsqrt_d,
flog2_w, flog2_d, fexupl_w, fexupl_d, fexupr_w, fexupr_d, ffql_w,
ffql_d, ffqr_w, ffqr_d, ftint_s_w, ftint_s_d, ftint_u_w,
ftint_u_d, ftrunc_s_w, ftrunc_s_d, ftrunc_u_w, ftrunc_u_d,
ffint_s_w, ffint_s_d, ffint_u_w, ffint_u_d, ctcmsa, cfcmsa,
move_v builtins.
(mips_get_builtin_decl_index): New array.
(MIPS_ATYPE_QI, MIPS_ATYPE_HI, MIPS_ATYPE_V2DI, MIPS_ATYPE_V4SI)
(MIPS_ATYPE_V8HI, MIPS_ATYPE_V16QI, MIPS_ATYPE_V2DF)
(MIPS_ATYPE_V4SF, MIPS_ATYPE_UV2DI, MIPS_ATYPE_UV4SI)
(MIPS_ATYPE_UV8HI, MIPS_ATYPE_UV16QI): New.
(mips_init_builtins): Initialize mips_get_builtin_decl_index
array.
(TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Define target
hook.
(mips_expand_builtin_insn): Prepare operands for
CODE_FOR_msa_addvi_b, CODE_FOR_msa_addvi_h, CODE_FOR_msa_addvi_w,
CODE_FOR_msa_addvi_d, CODE_FOR_msa_clti_u_b,
CODE_FOR_msa_clti_u_h, CODE_FOR_msa_clti_u_w,
CODE_FOR_msa_clti_u_d, CODE_FOR_msa_clei_u_b,
CODE_FOR_msa_clei_u_h, CODE_FOR_msa_clei_u_w,
CODE_FOR_msa_clei_u_d, CODE_FOR_msa_maxi_u_b,
CODE_FOR_msa_maxi_u_h, CODE_FOR_msa_maxi_u_w,
CODE_FOR_msa_maxi_u_d, CODE_FOR_msa_mini_u_b,
CODE_FOR_msa_mini_u_h, CODE_FOR_msa_mini_u_w,
CODE_FOR_msa_mini_u_d, CODE_FOR_msa_subvi_b,
CODE_FOR_msa_subvi_h, CODE_FOR_msa_subvi_w, CODE_FOR_msa_subvi_d,
CODE_FOR_msa_ceqi_b, CODE_FOR_msa_ceqi_h, CODE_FOR_msa_ceqi_w,
CODE_FOR_msa_ceqi_d, CODE_FOR_msa_clti_s_b,
CODE_FOR_msa_clti_s_h, CODE_FOR_msa_clti_s_w,
CODE_FOR_msa_clti_s_d, CODE_FOR_msa_clei_s_b,
CODE_FOR_msa_clei_s_h, CODE_FOR_msa_clei_s_w,
CODE_FOR_msa_clei_s_d, CODE_FOR_msa_maxi_s_b,
CODE_FOR_msa_maxi_s_h, CODE_FOR_msa_maxi_s_w,
CODE_FOR_msa_maxi_s_d, CODE_FOR_msa_mini_s_b,
CODE_FOR_msa_mini_s_h, CODE_FOR_msa_mini_s_w,
CODE_FOR_msa_mini_s_d, CODE_FOR_msa_andi_b, CODE_FOR_msa_ori_b,
CODE_FOR_msa_nori_b, CODE_FOR_msa_xori_b, CODE_FOR_msa_bmzi_b,
CODE_FOR_msa_bmnzi_b, CODE_FOR_msa_bseli_b, CODE_FOR_msa_fill_b,
CODE_FOR_msa_fill_h, CODE_FOR_msa_fill_w, CODE_FOR_msa_fill_d,
CODE_FOR_msa_ilvl_b, CODE_FOR_msa_ilvl_h, CODE_FOR_msa_ilvl_w,
CODE_FOR_msa_ilvl_d, CODE_FOR_msa_ilvr_b, CODE_FOR_msa_ilvr_h,
CODE_FOR_msa_ilvr_w, CODE_FOR_msa_ilvr_d, CODE_FOR_msa_ilvev_b,
CODE_FOR_msa_ilvev_h, CODE_FOR_msa_ilvev_w, CODE_FOR_msa_ilvod_b,
CODE_FOR_msa_ilvod_h, CODE_FOR_msa_ilvod_w, CODE_FOR_msa_pckev_b,
CODE_FOR_msa_pckev_h, CODE_FOR_msa_pckev_w, CODE_FOR_msa_pckod_b,
CODE_FOR_msa_pckod_h, CODE_FOR_msa_pckod_w, CODE_FOR_msa_slli_b,
CODE_FOR_msa_slli_h, CODE_FOR_msa_slli_w, CODE_FOR_msa_slli_d,
CODE_FOR_msa_srai_b, CODE_FOR_msa_srai_h, CODE_FOR_msa_srai_w,
CODE_FOR_msa_srai_d, CODE_FOR_msa_srli_b, CODE_FOR_msa_srli_h,
CODE_FOR_msa_srli_w, CODE_FOR_msa_srli_d, CODE_FOR_msa_insert_b,
CODE_FOR_msa_insert_h, CODE_FOR_msa_insert_w,
CODE_FOR_msa_insert_d, CODE_FOR_msa_insve_b,
CODE_FOR_msa_insve_h, CODE_FOR_msa_insve_w, CODE_FOR_msa_insve_d,
CODE_FOR_msa_shf_b, CODE_FOR_msa_shf_h, CODE_FOR_msa_shf_w,
CODE_FOR_msa_shf_w_f, CODE_FOR_msa_vshf_b, CODE_FOR_msa_vshf_h,
CODE_FOR_msa_vshf_w, CODE_FOR_msa_vshf_d.
(mips_expand_builtin): Add case for MIPS_BULTIN_MSA_TEST_BRANCH.
(mips_set_compression_mode): Disallow MSA with MIPS16 code.
(mips_option_override): -mmsa requires -mfp64 and -mhard-float.
These are set implicitly and an error is reported if overridden.
(mips_expand_builtin_msa_test_branch): New function.
(mips_expand_msa_shuffle): Likewise.
(MAX_VECT_LEN): Increase maximum length of a vector to 16 bytes.
(TARGET_SCHED_REASSOCIATION_WIDTH): Define target hook.
(TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Likewise.
(mips_expand_vec_unpack): Add support for MSA.
(mips_expand_vector_init): Likewise.
(mips_expand_vi_constant): Use CONST0_RTX (element_mode)
instead of const0_rtx.
(mips_msa_vec_parallel_const_half): New function.
(mips_gen_const_int_vector): Likewise.
(mips_gen_const_int_vector_shuffle): Likewise.
(mips_expand_msa_cmp): Likewise.
(mips_expand_vec_cond_expr): Likewise.
* config/mips/mips.h
(TARGET_CPU_CPP_BUILTINS): Add __mips_msa and __mips_msa_width.
(OPTION_DEFAULT_SPECS): Ignore --with-fp-32 if -mmsa is
specified.
(ASM_SPEC): Pass mmsa and mno-msa to the assembler.
(ISA_HAS_MSA): New macro.
(UNITS_PER_MSA_REG): Likewise.
(BITS_PER_MSA_REG): Likewise.
(BIGGEST_ALIGNMENT): Redefine using ISA_HAS_MSA.
(MSA_REG_FIRST): New macro.
(MSA_REG_LAST): Likewise.
(MSA_REG_NUM): Likewise.
(MSA_REG_P): Likewise.
(MSA_REG_RTX_P): Likewise.
(MSA_SUPPORTED_MODE_P): Likewise.
(HARD_REGNO_CALL_PART_CLOBBERED): Redefine using TARGET_MSA.
(ADDITIONAL_REGISTER_NAMES): Add named registers $w0-$w31.
* config/mips/mips.md: Include mips-msa.md.
(alu_type): Add simd_add.
(mode): Add V2DI, V4SI, V8HI, V16QI, V2DF, V4SF.
(type): Add simd_div, simd_fclass, simd_flog2, simd_fadd,
simd_fcvt, simd_fmul, simd_fmadd, simd_fdiv, simd_bitins,
simd_bitmov, simd_insert, simd_sld, simd_mul, simd_fcmp,
simd_fexp2, simd_int_arith, simd_bit, simd_shift, simd_splat,
simd_fill, simd_permute, simd_shf, simd_sat, simd_pcnt,
simd_copy, simd_branch, simd_cmsa, simd_fminmax, simd_logic,
simd_move, simd_load, simd_store. Choose "multi" for moves
for "qword_mode".
(qword_mode): New attribute.
(insn_count): Add instruction count for quad moves.
Increase the count for MIPS SIMD division.
(UNITMODE): Add UNITMODEs for vector types.
(addsub): New code iterator.
* config/mips/mips.opt (mmsa): New option.
* config/mips/msa.h: New file.
* config/mips/mti-elf.h: Don't infer -mfpxx if -mmsa is
specified.
* config/mips/mti-linux.h: Likewise.
* config/mips/predicates.md
(const_msa_branch_operand): New constraint.
(const_uimm3_operand): Likewise.
(const_uimm4_operand): Likewise.
(const_uimm5_operand): Likewise.
(const_uimm8_operand): Likewise.
(const_imm5_operand): Likewise.
(aq10b_operand): Likewise.
(aq10h_operand): Likewise.
(aq10w_operand): Likewise.
(aq10d_operand): Likewise.
(const_m1_operand): Likewise.
(reg_or_m1_operand): Likewise.
(const_exp_2_operand): Likewise.
(const_exp_4_operand): Likewise.
(const_exp_8_operand): Likewise.
(const_exp_16_operand): Likewise.
(const_vector_same_val_operand): Likewise.
(const_vector_same_simm5_operand): Likewise.
(const_vector_same_uimm5_operand): Likewise.
(const_vector_same_uimm6_operand): Likewise.
(const_vector_same_uimm8_operand): Likewise.
(par_const_vector_shf_set_operand): Likewise.
(reg_or_vector_same_val_operand): Likewise.
(reg_or_vector_same_simm5_operand): Likewise.
(reg_or_vector_same_uimm6_operand): Likewise.
* doc/extend.texi (MIPS SIMD Architecture Functions): New
section.
* doc/invoke.texi (-mmsa): Document new option.
Co-Authored-By: Chao-ying Fu <chao-ying.fu@imgtec.com>
Co-Authored-By: Graham Stott <graham.stott@imgtec.com>
Co-Authored-By: Matthew Fortune <matthew.fortune@imgtec.com>
Co-Authored-By: Sameera Deshpande <sameera.deshpande@imgtec.com>
From-SVN: r236030
2016-05-09 14:04:09 +02:00
|
|
|
|
2016-05-09 Robert Suchanek <robert.suchanek@imgtec.com>
|
|
|
|
|
Sameera Deshpande <sameera.deshpande@imgtec.com>
|
|
|
|
|
Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
Graham Stott <graham.stott@imgtec.com>
|
|
|
|
|
Chao-ying Fu <chao-ying.fu@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config.gcc: Add MSA header file for mips*-*-* target.
|
|
|
|
|
* config/mips/constraints.md (YI, YC, YZ, Unv5, Uuv5, Usv5, Uuv6)
|
|
|
|
|
(Ubv8i, Urv8): New constraints.
|
|
|
|
|
* config/mips/mips-ftypes.def: Add function types for MSA
|
|
|
|
|
builtins.
|
|
|
|
|
* config/mips/mips-modes.def (V16QI, V8HI, V4SI, V2DI, V4SF)
|
|
|
|
|
(V2DF, V32QI, V16HI, V8SI, V4DI, V8SF, V4DF): New modes.
|
|
|
|
|
* config/mips/mips-msa.md: New file.
|
|
|
|
|
* config/mips/mips-protos.h
|
|
|
|
|
(mips_split_128bit_const_insns): New prototype.
|
|
|
|
|
(mips_msa_idiv_insns): Likewise.
|
|
|
|
|
(mips_split_128bit_move): Likewise.
|
|
|
|
|
(mips_split_128bit_move_p): Likewise.
|
|
|
|
|
(mips_split_msa_copy_d): Likewise.
|
|
|
|
|
(mips_split_msa_insert_d): Likewise.
|
|
|
|
|
(mips_split_msa_fill_d): Likewise.
|
|
|
|
|
(mips_expand_msa_branch): Likewise.
|
|
|
|
|
(mips_const_vector_same_val_p): Likewise.
|
|
|
|
|
(mips_const_vector_same_bytes_p): Likewise.
|
|
|
|
|
(mips_const_vector_same_int_p): Likewise.
|
|
|
|
|
(mips_const_vector_shuffle_set_p): Likewise.
|
|
|
|
|
(mips_const_vector_bitimm_set_p): Likewise.
|
|
|
|
|
(mips_const_vector_bitimm_clr_p): Likewise.
|
|
|
|
|
(mips_msa_vec_parallel_const_half): Likewise.
|
|
|
|
|
(mips_msa_output_division): Likewise.
|
|
|
|
|
(mips_ldst_scaled_shift): Likewise.
|
|
|
|
|
(mips_expand_vec_cond_expr): Likewise.
|
|
|
|
|
* config/mips/mips.c (enum mips_builtin_type): Add
|
|
|
|
|
MIPS_BUILTIN_MSA_TEST_BRANCH.
|
|
|
|
|
(mips_gen_const_int_vector_shuffle): New prototype.
|
|
|
|
|
(mips_const_vector_bitimm_set_p): New function.
|
|
|
|
|
(mips_const_vector_bitimm_clr_p): Likewise.
|
|
|
|
|
(mips_const_vector_same_val_p): Likewise.
|
|
|
|
|
(mips_const_vector_same_bytes_p): Likewise.
|
|
|
|
|
(mips_const_vector_same_int_p): Likewise.
|
|
|
|
|
(mips_const_vector_shuffle_set_p): Likewise.
|
|
|
|
|
(mips_symbol_insns): Forbid loading symbols via immediate for
|
|
|
|
|
MSA.
|
|
|
|
|
(mips_valid_offset_p): Limit offset to 10-bit for MSA loads and
|
|
|
|
|
stores.
|
|
|
|
|
(mips_valid_lo_sum_p): Forbid loadings symbols via %lo(base) for
|
|
|
|
|
MSA.
|
|
|
|
|
(mips_lx_address_p): Add support load indexed address for MSA.
|
|
|
|
|
(mips_address_insns): Add calculation of instructions needed for
|
|
|
|
|
stores and loads for MSA.
|
|
|
|
|
(mips_const_insns): Move CONST_DOUBLE below CONST_VECTOR. Handle
|
|
|
|
|
CONST_VECTOR for MSA and let it fall through.
|
|
|
|
|
(mips_ldst_scaled_shift): New function.
|
|
|
|
|
(mips_subword_at_byte): Likewise.
|
|
|
|
|
(mips_msa_idiv_insns): Likewise.
|
|
|
|
|
(mips_legitimize_move): Validate MSA moves.
|
|
|
|
|
(mips_rtx_costs): Add UNGE, UNGT, UNLE, UNLT cases. Add
|
|
|
|
|
calculation of costs for MSA division.
|
|
|
|
|
(mips_split_move_p): Check if MSA moves need splitting.
|
|
|
|
|
(mips_split_move): Split MSA moves if necessary.
|
|
|
|
|
(mips_split_128bit_move_p): New function.
|
|
|
|
|
(mips_split_128bit_move): Likewise.
|
|
|
|
|
(mips_split_msa_copy_d): Likewise.
|
|
|
|
|
(mips_split_msa_insert_d): Likewise.
|
|
|
|
|
(mips_split_msa_fill_d): Likewise.
|
|
|
|
|
(mips_output_move): Handle MSA moves.
|
|
|
|
|
(mips_expand_msa_branch): New function.
|
|
|
|
|
(mips_print_operand): Add 'E', 'B', 'w', 'v' and 'V' modifiers.
|
|
|
|
|
Reinstate 'y' modifier.
|
|
|
|
|
(mips_file_start): Add MSA .gnu_attribute.
|
|
|
|
|
(mips_hard_regno_mode_ok_p): Allow TImode and 128-bit vectors in
|
|
|
|
|
FPRs.
|
|
|
|
|
(mips_hard_regno_nregs): Always return 1 for MSA supported mode.
|
|
|
|
|
(mips_class_max_nregs): Add register size for MSA supported mode.
|
|
|
|
|
(mips_cannot_change_mode_class): Allow conversion between MSA
|
|
|
|
|
vector modes and TImode.
|
|
|
|
|
(mips_mode_ok_for_mov_fmt_p): Allow MSA to use move.v
|
|
|
|
|
instruction.
|
|
|
|
|
(mips_secondary_reload_class): Force MSA loads/stores via memory.
|
|
|
|
|
(mips_preferred_simd_mode): Add preffered modes for MSA.
|
|
|
|
|
(mips_vector_mode_supported_p): Add MSA supported modes.
|
|
|
|
|
(mips_autovectorize_vector_sizes): New function.
|
|
|
|
|
(mips_msa_output_division): Likewise.
|
|
|
|
|
(MSA_BUILTIN, MIPS_BUILTIN_DIRECT_NO_TARGET)
|
|
|
|
|
(MSA_NO_TARGET_BUILTIN, MSA_BUILTIN_TEST_BRANCH): New macros.
|
|
|
|
|
(CODE_FOR_msa_adds_s_b, CODE_FOR_msa_adds_s_h)
|
|
|
|
|
(CODE_FOR_msa_adds_s_w, CODE_FOR_msa_adds_s_d)
|
|
|
|
|
(CODE_FOR_msa_adds_u_b, CODE_FOR_msa_adds_u_h)
|
|
|
|
|
(CODE_FOR_msa_adds_u_w, CODE_FOR_msa_adds_u_du
|
|
|
|
|
(CODE_FOR_msa_addv_b, CODE_FOR_msa_addv_h, CODE_FOR_msa_addv_w)
|
|
|
|
|
(CODE_FOR_msa_addv_d, CODE_FOR_msa_and_v, CODE_FOR_msa_bmnz_v)
|
|
|
|
|
(CODE_FOR_msa_bmnzi_b, CODE_FOR_msa_bmz_v, CODE_FOR_msa_bmzi_b)
|
|
|
|
|
(CODE_FOR_msa_bnz_v, CODE_FOR_msa_bz_v, CODE_FOR_msa_bsel_v)
|
|
|
|
|
(CODE_FOR_msa_bseli_b, CODE_FOR_msa_ceqi_h, CODE_FOR_msa_ceqi_w)
|
|
|
|
|
(CODE_FOR_msa_ceqi_d, CODE_FOR_msa_clti_s_b)
|
|
|
|
|
(CODE_FOR_msa_clti_s_h, CODE_FOR_msa_clti_s_w)
|
|
|
|
|
(CODE_FOR_msa_clti_s_d, CODE_FOR_msa_clti_u_b)
|
|
|
|
|
(CODE_FOR_msa_clti_u_h, CODE_FOR_msa_clti_u_w)
|
|
|
|
|
(CODE_FOR_msa_clti_u_d, CODE_FOR_msa_clei_s_b)
|
|
|
|
|
(CODE_FOR_msa_clei_s_h, CODE_FOR_msa_clei_s_w)
|
|
|
|
|
(CODE_FOR_msa_clei_s_d, CODE_FOR_msa_clei_u_b)
|
|
|
|
|
(CODE_FOR_msa_clei_u_h, CODE_FOR_msa_clei_u_w)
|
|
|
|
|
(CODE_FOR_msa_clei_u_d, CODE_FOR_msa_div_s_b)
|
|
|
|
|
(CODE_FOR_msa_div_s_h, CODE_FOR_msa_div_s_w)
|
|
|
|
|
(CODE_FOR_msa_div_s_d, CODE_FOR_msa_div_u_b)
|
|
|
|
|
(CODE_FOR_msa_div_u_h, CODE_FOR_msa_div_u_w)
|
|
|
|
|
(CODE_FOR_msa_div_u_d, CODE_FOR_msa_fadd_w, CODE_FOR_msa_fadd_d)
|
|
|
|
|
(CODE_FOR_msa_fexdo_w, CODE_FOR_msa_ftrunc_s_w)
|
|
|
|
|
(CODE_FOR_msa_ftrunc_s_d, CODE_FOR_msa_ftrunc_u_w)
|
|
|
|
|
(CODE_FOR_msa_ftrunc_u_d, CODE_FOR_msa_ffint_s_w)
|
|
|
|
|
(CODE_FOR_msa_ffint_s_d, CODE_FOR_msa_ffint_u_w)
|
|
|
|
|
(CODE_FOR_msa_ffint_u_d, CODE_FOR_msa_fsub_w)
|
|
|
|
|
(CODE_FOR_msa_fsub_d, CODE_FOR_msa_fmsub_d, CODE_FOR_msa_fmadd_w)
|
|
|
|
|
(CODE_FOR_msa_fmadd_d, CODE_FOR_msa_fmsub_w, CODE_FOR_msa_fmul_w)
|
|
|
|
|
(CODE_FOR_msa_fmul_d, CODE_FOR_msa_fdiv_w, CODE_FOR_msa_fdiv_d)
|
|
|
|
|
(CODE_FOR_msa_fmax_w, CODE_FOR_msa_fmax_d, CODE_FOR_msa_fmax_a_w)
|
|
|
|
|
(CODE_FOR_msa_fmax_a_d, CODE_FOR_msa_fmin_w, CODE_FOR_msa_fmin_d)
|
|
|
|
|
(CODE_FOR_msa_fmin_a_w, CODE_FOR_msa_fmin_a_d)
|
|
|
|
|
(CODE_FOR_msa_fsqrt_w, CODE_FOR_msa_fsqrt_d)
|
|
|
|
|
(CODE_FOR_msa_max_s_b, CODE_FOR_msa_max_s_h)
|
|
|
|
|
(CODE_FOR_msa_max_s_w, CODE_FOR_msa_max_s_d)
|
|
|
|
|
(CODE_FOR_msa_max_u_b, CODE_FOR_msa_max_u_h)
|
|
|
|
|
(CODE_FOR_msa_max_u_w, CODE_FOR_msa_max_u_d)
|
|
|
|
|
(CODE_FOR_msa_min_s_b, CODE_FOR_msa_min_s_h)
|
|
|
|
|
(CODE_FOR_msa_min_s_w, CODE_FOR_msa_min_s_d)
|
|
|
|
|
(CODE_FOR_msa_min_u_b, CODE_FOR_msa_min_u_h)
|
|
|
|
|
(CODE_FOR_msa_min_u_w, CODE_FOR_msa_min_u_d)
|
|
|
|
|
(CODE_FOR_msa_mod_s_b, CODE_FOR_msa_mod_s_h)
|
|
|
|
|
(CODE_FOR_msa_mod_s_w, CODE_FOR_msa_mod_s_d)
|
|
|
|
|
(CODE_FOR_msa_mod_u_b, CODE_FOR_msa_mod_u_h)
|
|
|
|
|
(CODE_FOR_msa_mod_u_w, CODE_FOR_msa_mod_u_d)
|
|
|
|
|
(CODE_FOR_msa_mod_s_b, CODE_FOR_msa_mod_s_h)
|
|
|
|
|
(CODE_FOR_msa_mod_s_w, CODE_FOR_msa_mod_s_d)
|
|
|
|
|
(CODE_FOR_msa_mod_u_b, CODE_FOR_msa_mod_u_h)
|
|
|
|
|
(CODE_FOR_msa_mod_u_w, CODE_FOR_msa_mod_u_d)
|
|
|
|
|
(CODE_FOR_msa_mulv_b, CODE_FOR_msa_mulv_h, CODE_FOR_msa_mulv_w)
|
|
|
|
|
(CODE_FOR_msa_mulv_d, CODE_FOR_msa_nlzc_b, CODE_FOR_msa_nlzc_h)
|
|
|
|
|
(CODE_FOR_msa_nlzc_w, CODE_FOR_msa_nlzc_d, CODE_FOR_msa_nor_v)
|
|
|
|
|
(CODE_FOR_msa_or_v, CODE_FOR_msa_ori_b, CODE_FOR_msa_nori_b)
|
|
|
|
|
(CODE_FOR_msa_pcnt_b, CODE_FOR_msa_pcnt_h, CODE_FOR_msa_pcnt_w)
|
|
|
|
|
(CODE_FOR_msa_pcnt_d, CODE_FOR_msa_xor_v, CODE_FOR_msa_xori_b)
|
|
|
|
|
(CODE_FOR_msa_sll_b, CODE_FOR_msa_sll_h, CODE_FOR_msa_sll_w)
|
|
|
|
|
(CODE_FOR_msa_sll_d, CODE_FOR_msa_slli_b, CODE_FOR_msa_slli_h)
|
|
|
|
|
(CODE_FOR_msa_slli_w, CODE_FOR_msa_slli_d, CODE_FOR_msa_sra_b)
|
|
|
|
|
(CODE_FOR_msa_sra_h, CODE_FOR_msa_sra_w, CODE_FOR_msa_sra_d)
|
|
|
|
|
(CODE_FOR_msa_srai_b, CODE_FOR_msa_srai_h, CODE_FOR_msa_srai_w)
|
|
|
|
|
(CODE_FOR_msa_srai_d, CODE_FOR_msa_srl_b, CODE_FOR_msa_srl_h)
|
|
|
|
|
(CODE_FOR_msa_srl_w, CODE_FOR_msa_srl_d, CODE_FOR_msa_srli_b)
|
|
|
|
|
(CODE_FOR_msa_srli_h, CODE_FOR_msa_srli_w, CODE_FOR_msa_srli_d)
|
|
|
|
|
(CODE_FOR_msa_subv_b, CODE_FOR_msa_subv_h, CODE_FOR_msa_subv_w)
|
|
|
|
|
(CODE_FOR_msa_subv_d, CODE_FOR_msa_subvi_b, CODE_FOR_msa_subvi_h)
|
|
|
|
|
(CODE_FOR_msa_subvi_w, CODE_FOR_msa_subvi_d, CODE_FOR_msa_move_v)
|
|
|
|
|
(CODE_FOR_msa_vshf_b, CODE_FOR_msa_vshf_h, CODE_FOR_msa_vshf_w)
|
|
|
|
|
(CODE_FOR_msa_vshf_d, CODE_FOR_msa_ilvod_d, CODE_FOR_msa_ilvev_d)
|
|
|
|
|
(CODE_FOR_msa_pckod_d, CODE_FOR_msa_pckdev_d, CODE_FOR_msa_ldi_b)
|
|
|
|
|
(CODE_FOR_msa_ldi_hi, CODE_FOR_msa_ldi_w)
|
|
|
|
|
(CODE_FOR_msa_ldi_d): New code_aliasing macros.
|
|
|
|
|
(mips_builtins): Add MSA sll_b, sll_h, sll_w, sll_d, slli_b,
|
|
|
|
|
slli_h, slli_w, slli_d, sra_b, sra_h, sra_w, sra_d, srai_b,
|
|
|
|
|
srai_h, srai_w, srai_d, srar_b, srar_h, srar_w, srar_d, srari_b,
|
|
|
|
|
srari_h, srari_w, srari_d, srl_b, srl_h, srl_w, srl_d, srli_b,
|
|
|
|
|
srli_h, srli_w, srli_d, srlr_b, srlr_h, srlr_w, srlr_d, srlri_b,
|
|
|
|
|
srlri_h, srlri_w, srlri_d, bclr_b, bclr_h, bclr_w, bclr_d,
|
|
|
|
|
bclri_b, bclri_h, bclri_w, bclri_d, bset_b, bset_h, bset_w,
|
|
|
|
|
bset_d, bseti_b, bseti_h, bseti_w, bseti_d, bneg_b, bneg_h,
|
|
|
|
|
bneg_w, bneg_d, bnegi_b, bnegi_h, bnegi_w, bnegi_d, binsl_b,
|
|
|
|
|
binsl_h, binsl_w, binsl_d, binsli_b, binsli_h, binsli_w,
|
|
|
|
|
binsli_d, binsr_b, binsr_h, binsr_w, binsr_d, binsri_b, binsri_h,
|
|
|
|
|
binsri_w, binsri_d, addv_b, addv_h, addv_w, addv_d, addvi_b,
|
|
|
|
|
addvi_h, addvi_w, addvi_d, subv_b, subv_h, subv_w, subv_d,
|
|
|
|
|
subvi_b, subvi_h, subvi_w, subvi_d, max_s_b, max_s_h, max_s_w,
|
|
|
|
|
max_s_d, maxi_s_b, maxi_s_h, maxi_s_w, maxi_s_d, max_u_b,
|
|
|
|
|
max_u_h, max_u_w, max_u_d, maxi_u_b, maxi_u_h, maxi_u_w,
|
|
|
|
|
maxi_u_d, min_s_b, min_s_h, min_s_w, min_s_d, mini_s_b, mini_s_h,
|
|
|
|
|
mini_s_w, mini_s_d, min_u_b, min_u_h, min_u_w, min_u_d, mini_u_b,
|
|
|
|
|
mini_u_h, mini_u_w, mini_u_d, max_a_b, max_a_h, max_a_w, max_a_d,
|
|
|
|
|
min_a_b, min_a_h, min_a_w, min_a_d, ceq_b, ceq_h, ceq_w, ceq_d,
|
|
|
|
|
ceqi_b, ceqi_h, ceqi_w, ceqi_d, clt_s_b, clt_s_h, clt_s_w,
|
|
|
|
|
clt_s_d, clti_s_b, clti_s_h, clti_s_w, clti_s_d, clt_u_b,
|
|
|
|
|
clt_u_h, clt_u_w, clt_u_d, clti_u_b, clti_u_h, clti_u_w,
|
|
|
|
|
clti_u_d, cle_s_b, cle_s_h, cle_s_w, cle_s_d, clei_s_b, clei_s_h,
|
|
|
|
|
clei_s_w, clei_s_d, cle_u_b, cle_u_h, cle_u_w, cle_u_d, clei_u_b,
|
|
|
|
|
clei_u_h, clei_u_w, clei_u_d, ld_b, ld_h, ld_w, ld_d, st_b, st_h,
|
|
|
|
|
st_w, st_d, sat_s_b, sat_s_h, sat_s_w, sat_s_d, sat_u_b, sat_u_h,
|
|
|
|
|
sat_u_w, sat_u_d, add_a_b, add_a_h, add_a_w, add_a_d, adds_a_b,
|
|
|
|
|
adds_a_h, adds_a_w, adds_a_d, adds_s_b, adds_s_h, adds_s_w,
|
|
|
|
|
adds_s_d, adds_u_b, adds_u_h, adds_u_w, adds_u_d, ave_s_b,
|
|
|
|
|
ave_s_h, ave_s_w, ave_s_d, ave_u_b, ave_u_h, ave_u_w, ave_u_d,
|
|
|
|
|
aver_s_b, aver_s_h, aver_s_w, aver_s_d, aver_u_b, aver_u_h,
|
|
|
|
|
aver_u_w, aver_u_d, subs_s_b, subs_s_h, subs_s_w, subs_s_d,
|
|
|
|
|
subs_u_b, subs_u_h, subs_u_w, subs_u_d, subsuu_s_b, subsuu_s_h,
|
|
|
|
|
subsuu_s_w, subsuu_s_d, subsus_u_b, subsus_u_h, subsus_u_w,
|
|
|
|
|
subsus_u_d, asub_s_b, asub_s_h, asub_s_w, asub_s_d, asub_u_b,
|
|
|
|
|
asub_u_h, asub_u_w, asub_u_d, mulv_b, mulv_h, mulv_w, mulv_d,
|
|
|
|
|
maddv_b, maddv_h, maddv_w, maddv_d, msubv_b, msubv_h, msubv_w,
|
|
|
|
|
msubv_d, div_s_b, div_s_h, div_s_w, div_s_d, div_u_b, div_u_h,
|
|
|
|
|
div_u_w, div_u_d, hadd_s_h, hadd_s_w, hadd_s_d, hadd_u_h,
|
|
|
|
|
hadd_u_w, hadd_u_d, hsub_s_h, hsub_s_w, hsub_s_d, hsub_u_h,
|
|
|
|
|
hsub_u_w, hsub_u_d, mod_s_b, mod_s_h, mod_s_w, mod_s_d, mod_u_b,
|
|
|
|
|
mod_u_h, mod_u_w, mod_u_d, dotp_s_h, dotp_s_w, dotp_s_d,
|
|
|
|
|
dotp_u_h, dotp_u_w, dotp_u_d, dpadd_s_h, dpadd_s_w, dpadd_s_d,
|
|
|
|
|
dpadd_u_h, dpadd_u_w, dpadd_u_d, dpsub_s_h, dpsub_s_w, dpsub_s_d,
|
|
|
|
|
dpsub_u_h, dpsub_u_w, dpsub_u_d, sld_b, sld_h, sld_w, sld_d,
|
|
|
|
|
sldi_b, sldi_h, sldi_w, sldi_d, splat_b, splat_h, splat_w,
|
|
|
|
|
splat_d, splati_b, splati_h, splati_w, splati_d, pckev_b,
|
|
|
|
|
pckev_h, pckev_w, pckev_d, pckod_b, pckod_h, pckod_w, pckod_d,
|
|
|
|
|
ilvl_b, ilvl_h, ilvl_w, ilvl_d, ilvr_b, ilvr_h, ilvr_w, ilvr_d,
|
|
|
|
|
ilvev_b, ilvev_h, ilvev_w, ilvev_d, ilvod_b, ilvod_h, ilvod_w,
|
|
|
|
|
ilvod_d, vshf_b, vshf_h, vshf_w, vshf_d, and_v, andi_b, or_v,
|
|
|
|
|
ori_b, nor_v, nori_b, xor_v, xori_b, bmnz_v, bmnzi_b, bmz_v,
|
|
|
|
|
bmzi_b, bsel_v, bseli_b, shf_b, shf_h, shf_w, bnz_v, bz_v,
|
|
|
|
|
fill_b, fill_h, fill_w, fill_d, pcnt_b, pcnt_h, pcnt_w,
|
|
|
|
|
pcnt_d, nloc_b, nloc_h, nloc_w, nloc_d, nlzc_b, nlzc_h, nlzc_w,
|
|
|
|
|
nlzc_d, copy_s_b, copy_s_h, copy_s_w, copy_s_d, copy_u_b,
|
|
|
|
|
copy_u_h, copy_u_w, copy_u_d, insert_b, insert_h, insert_w,
|
|
|
|
|
insert_d, insve_b, insve_h, insve_w, insve_d, bnz_b, bnz_h,
|
|
|
|
|
bnz_w, bnz_d, bz_b, bz_h, bz_w, bz_d, ldi_b, ldi_h, ldi_w, ldi_d,
|
|
|
|
|
fcaf_w, fcaf_d, fcor_w, fcor_d, fcun_w, fcun_d, fcune_w, fcune_d,
|
|
|
|
|
fcueq_w, fcueq_d, fceq_w, fceq_d, fcne_w, fcne_d, fclt_w, fclt_d,
|
|
|
|
|
fcult_w, fcult_d, fcle_w, fcle_d, fcule_w, fcule_d, fsaf_w,
|
|
|
|
|
fsaf_d, fsor_w, fsor_d, fsun_w, fsun_d, fsune_w, fsune_d,
|
|
|
|
|
fsueq_w, fsueq_d, fseq_w, fseq_d, fsne_w, fsne_d, fslt_w,
|
|
|
|
|
fslt_d, fsult_w, fsult_d, fsle_w, fsle_d, fsule_w, fsule_d,
|
|
|
|
|
fadd_w, fadd_d, fsub_w, fsub_d, fmul_w, fmul_d, fdiv_w, fdiv_d,
|
|
|
|
|
fmadd_w, fmadd_d, fmsub_w, fmsub_d, fexp2_w, fexp2_d, fexdo_h,
|
|
|
|
|
fexdo_w, ftq_h, ftq_w, fmin_w, fmin_d, fmin_a_w, fmin_a_d,
|
|
|
|
|
fmax_w, fmax_d, fmax_a_w, fmax_a_d, mul_q_h, mul_q_w, mulr_q_h,
|
|
|
|
|
mulr_q_w, madd_q_h, madd_q_w, maddr_q_h, maddr_q_w, msub_q_h,
|
|
|
|
|
msub_q_w, msubr_q_h, msubr_q_w, fclass_w, fclass_d, fsqrt_w,
|
|
|
|
|
fsqrt_d, frcp_w, frcp_d, frint_w, frint_d, frsqrt_w, frsqrt_d,
|
|
|
|
|
flog2_w, flog2_d, fexupl_w, fexupl_d, fexupr_w, fexupr_d, ffql_w,
|
|
|
|
|
ffql_d, ffqr_w, ffqr_d, ftint_s_w, ftint_s_d, ftint_u_w,
|
|
|
|
|
ftint_u_d, ftrunc_s_w, ftrunc_s_d, ftrunc_u_w, ftrunc_u_d,
|
|
|
|
|
ffint_s_w, ffint_s_d, ffint_u_w, ffint_u_d, ctcmsa, cfcmsa,
|
|
|
|
|
move_v builtins.
|
|
|
|
|
(mips_get_builtin_decl_index): New array.
|
|
|
|
|
(MIPS_ATYPE_QI, MIPS_ATYPE_HI, MIPS_ATYPE_V2DI, MIPS_ATYPE_V4SI)
|
|
|
|
|
(MIPS_ATYPE_V8HI, MIPS_ATYPE_V16QI, MIPS_ATYPE_V2DF)
|
|
|
|
|
(MIPS_ATYPE_V4SF, MIPS_ATYPE_UV2DI, MIPS_ATYPE_UV4SI)
|
|
|
|
|
(MIPS_ATYPE_UV8HI, MIPS_ATYPE_UV16QI): New.
|
|
|
|
|
(mips_init_builtins): Initialize mips_get_builtin_decl_index
|
|
|
|
|
array.
|
|
|
|
|
(TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Define target
|
|
|
|
|
hook.
|
|
|
|
|
(mips_expand_builtin_insn): Prepare operands for
|
|
|
|
|
CODE_FOR_msa_addvi_b, CODE_FOR_msa_addvi_h, CODE_FOR_msa_addvi_w,
|
|
|
|
|
CODE_FOR_msa_addvi_d, CODE_FOR_msa_clti_u_b,
|
|
|
|
|
CODE_FOR_msa_clti_u_h, CODE_FOR_msa_clti_u_w,
|
|
|
|
|
CODE_FOR_msa_clti_u_d, CODE_FOR_msa_clei_u_b,
|
|
|
|
|
CODE_FOR_msa_clei_u_h, CODE_FOR_msa_clei_u_w,
|
|
|
|
|
CODE_FOR_msa_clei_u_d, CODE_FOR_msa_maxi_u_b,
|
|
|
|
|
CODE_FOR_msa_maxi_u_h, CODE_FOR_msa_maxi_u_w,
|
|
|
|
|
CODE_FOR_msa_maxi_u_d, CODE_FOR_msa_mini_u_b,
|
|
|
|
|
CODE_FOR_msa_mini_u_h, CODE_FOR_msa_mini_u_w,
|
|
|
|
|
CODE_FOR_msa_mini_u_d, CODE_FOR_msa_subvi_b,
|
|
|
|
|
CODE_FOR_msa_subvi_h, CODE_FOR_msa_subvi_w, CODE_FOR_msa_subvi_d,
|
|
|
|
|
CODE_FOR_msa_ceqi_b, CODE_FOR_msa_ceqi_h, CODE_FOR_msa_ceqi_w,
|
|
|
|
|
CODE_FOR_msa_ceqi_d, CODE_FOR_msa_clti_s_b,
|
|
|
|
|
CODE_FOR_msa_clti_s_h, CODE_FOR_msa_clti_s_w,
|
|
|
|
|
CODE_FOR_msa_clti_s_d, CODE_FOR_msa_clei_s_b,
|
|
|
|
|
CODE_FOR_msa_clei_s_h, CODE_FOR_msa_clei_s_w,
|
|
|
|
|
CODE_FOR_msa_clei_s_d, CODE_FOR_msa_maxi_s_b,
|
|
|
|
|
CODE_FOR_msa_maxi_s_h, CODE_FOR_msa_maxi_s_w,
|
|
|
|
|
CODE_FOR_msa_maxi_s_d, CODE_FOR_msa_mini_s_b,
|
|
|
|
|
CODE_FOR_msa_mini_s_h, CODE_FOR_msa_mini_s_w,
|
|
|
|
|
CODE_FOR_msa_mini_s_d, CODE_FOR_msa_andi_b, CODE_FOR_msa_ori_b,
|
|
|
|
|
CODE_FOR_msa_nori_b, CODE_FOR_msa_xori_b, CODE_FOR_msa_bmzi_b,
|
|
|
|
|
CODE_FOR_msa_bmnzi_b, CODE_FOR_msa_bseli_b, CODE_FOR_msa_fill_b,
|
|
|
|
|
CODE_FOR_msa_fill_h, CODE_FOR_msa_fill_w, CODE_FOR_msa_fill_d,
|
|
|
|
|
CODE_FOR_msa_ilvl_b, CODE_FOR_msa_ilvl_h, CODE_FOR_msa_ilvl_w,
|
|
|
|
|
CODE_FOR_msa_ilvl_d, CODE_FOR_msa_ilvr_b, CODE_FOR_msa_ilvr_h,
|
|
|
|
|
CODE_FOR_msa_ilvr_w, CODE_FOR_msa_ilvr_d, CODE_FOR_msa_ilvev_b,
|
|
|
|
|
CODE_FOR_msa_ilvev_h, CODE_FOR_msa_ilvev_w, CODE_FOR_msa_ilvod_b,
|
|
|
|
|
CODE_FOR_msa_ilvod_h, CODE_FOR_msa_ilvod_w, CODE_FOR_msa_pckev_b,
|
|
|
|
|
CODE_FOR_msa_pckev_h, CODE_FOR_msa_pckev_w, CODE_FOR_msa_pckod_b,
|
|
|
|
|
CODE_FOR_msa_pckod_h, CODE_FOR_msa_pckod_w, CODE_FOR_msa_slli_b,
|
|
|
|
|
CODE_FOR_msa_slli_h, CODE_FOR_msa_slli_w, CODE_FOR_msa_slli_d,
|
|
|
|
|
CODE_FOR_msa_srai_b, CODE_FOR_msa_srai_h, CODE_FOR_msa_srai_w,
|
|
|
|
|
CODE_FOR_msa_srai_d, CODE_FOR_msa_srli_b, CODE_FOR_msa_srli_h,
|
|
|
|
|
CODE_FOR_msa_srli_w, CODE_FOR_msa_srli_d, CODE_FOR_msa_insert_b,
|
|
|
|
|
CODE_FOR_msa_insert_h, CODE_FOR_msa_insert_w,
|
|
|
|
|
CODE_FOR_msa_insert_d, CODE_FOR_msa_insve_b,
|
|
|
|
|
CODE_FOR_msa_insve_h, CODE_FOR_msa_insve_w, CODE_FOR_msa_insve_d,
|
|
|
|
|
CODE_FOR_msa_shf_b, CODE_FOR_msa_shf_h, CODE_FOR_msa_shf_w,
|
|
|
|
|
CODE_FOR_msa_shf_w_f, CODE_FOR_msa_vshf_b, CODE_FOR_msa_vshf_h,
|
|
|
|
|
CODE_FOR_msa_vshf_w, CODE_FOR_msa_vshf_d.
|
|
|
|
|
(mips_expand_builtin): Add case for MIPS_BULTIN_MSA_TEST_BRANCH.
|
|
|
|
|
(mips_set_compression_mode): Disallow MSA with MIPS16 code.
|
|
|
|
|
(mips_option_override): -mmsa requires -mfp64 and -mhard-float.
|
|
|
|
|
These are set implicitly and an error is reported if overridden.
|
|
|
|
|
(mips_expand_builtin_msa_test_branch): New function.
|
|
|
|
|
(mips_expand_msa_shuffle): Likewise.
|
|
|
|
|
(MAX_VECT_LEN): Increase maximum length of a vector to 16 bytes.
|
|
|
|
|
(TARGET_SCHED_REASSOCIATION_WIDTH): Define target hook.
|
|
|
|
|
(TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Likewise.
|
|
|
|
|
(mips_expand_vec_unpack): Add support for MSA.
|
|
|
|
|
(mips_expand_vector_init): Likewise.
|
|
|
|
|
(mips_expand_vi_constant): Use CONST0_RTX (element_mode)
|
|
|
|
|
instead of const0_rtx.
|
|
|
|
|
(mips_msa_vec_parallel_const_half): New function.
|
|
|
|
|
(mips_gen_const_int_vector): Likewise.
|
|
|
|
|
(mips_gen_const_int_vector_shuffle): Likewise.
|
|
|
|
|
(mips_expand_msa_cmp): Likewise.
|
|
|
|
|
(mips_expand_vec_cond_expr): Likewise.
|
|
|
|
|
* config/mips/mips.h
|
|
|
|
|
(TARGET_CPU_CPP_BUILTINS): Add __mips_msa and __mips_msa_width.
|
|
|
|
|
(OPTION_DEFAULT_SPECS): Ignore --with-fp-32 if -mmsa is
|
|
|
|
|
specified.
|
|
|
|
|
(ASM_SPEC): Pass mmsa and mno-msa to the assembler.
|
|
|
|
|
(ISA_HAS_MSA): New macro.
|
|
|
|
|
(UNITS_PER_MSA_REG): Likewise.
|
|
|
|
|
(BITS_PER_MSA_REG): Likewise.
|
|
|
|
|
(BIGGEST_ALIGNMENT): Redefine using ISA_HAS_MSA.
|
|
|
|
|
(MSA_REG_FIRST): New macro.
|
|
|
|
|
(MSA_REG_LAST): Likewise.
|
|
|
|
|
(MSA_REG_NUM): Likewise.
|
|
|
|
|
(MSA_REG_P): Likewise.
|
|
|
|
|
(MSA_REG_RTX_P): Likewise.
|
|
|
|
|
(MSA_SUPPORTED_MODE_P): Likewise.
|
|
|
|
|
(HARD_REGNO_CALL_PART_CLOBBERED): Redefine using TARGET_MSA.
|
|
|
|
|
(ADDITIONAL_REGISTER_NAMES): Add named registers $w0-$w31.
|
|
|
|
|
* config/mips/mips.md: Include mips-msa.md.
|
|
|
|
|
(alu_type): Add simd_add.
|
|
|
|
|
(mode): Add V2DI, V4SI, V8HI, V16QI, V2DF, V4SF.
|
|
|
|
|
(type): Add simd_div, simd_fclass, simd_flog2, simd_fadd,
|
|
|
|
|
simd_fcvt, simd_fmul, simd_fmadd, simd_fdiv, simd_bitins,
|
|
|
|
|
simd_bitmov, simd_insert, simd_sld, simd_mul, simd_fcmp,
|
|
|
|
|
simd_fexp2, simd_int_arith, simd_bit, simd_shift, simd_splat,
|
|
|
|
|
simd_fill, simd_permute, simd_shf, simd_sat, simd_pcnt,
|
|
|
|
|
simd_copy, simd_branch, simd_cmsa, simd_fminmax, simd_logic,
|
|
|
|
|
simd_move, simd_load, simd_store. Choose "multi" for moves
|
|
|
|
|
for "qword_mode".
|
|
|
|
|
(qword_mode): New attribute.
|
|
|
|
|
(insn_count): Add instruction count for quad moves.
|
|
|
|
|
Increase the count for MIPS SIMD division.
|
|
|
|
|
(UNITMODE): Add UNITMODEs for vector types.
|
|
|
|
|
(addsub): New code iterator.
|
|
|
|
|
* config/mips/mips.opt (mmsa): New option.
|
|
|
|
|
* config/mips/msa.h: New file.
|
|
|
|
|
* config/mips/mti-elf.h: Don't infer -mfpxx if -mmsa is
|
|
|
|
|
specified.
|
|
|
|
|
* config/mips/mti-linux.h: Likewise.
|
|
|
|
|
* config/mips/predicates.md
|
|
|
|
|
(const_msa_branch_operand): New constraint.
|
|
|
|
|
(const_uimm3_operand): Likewise.
|
|
|
|
|
(const_uimm4_operand): Likewise.
|
|
|
|
|
(const_uimm5_operand): Likewise.
|
|
|
|
|
(const_uimm8_operand): Likewise.
|
|
|
|
|
(const_imm5_operand): Likewise.
|
|
|
|
|
(aq10b_operand): Likewise.
|
|
|
|
|
(aq10h_operand): Likewise.
|
|
|
|
|
(aq10w_operand): Likewise.
|
|
|
|
|
(aq10d_operand): Likewise.
|
|
|
|
|
(const_m1_operand): Likewise.
|
|
|
|
|
(reg_or_m1_operand): Likewise.
|
|
|
|
|
(const_exp_2_operand): Likewise.
|
|
|
|
|
(const_exp_4_operand): Likewise.
|
|
|
|
|
(const_exp_8_operand): Likewise.
|
|
|
|
|
(const_exp_16_operand): Likewise.
|
|
|
|
|
(const_vector_same_val_operand): Likewise.
|
|
|
|
|
(const_vector_same_simm5_operand): Likewise.
|
|
|
|
|
(const_vector_same_uimm5_operand): Likewise.
|
|
|
|
|
(const_vector_same_uimm6_operand): Likewise.
|
|
|
|
|
(const_vector_same_uimm8_operand): Likewise.
|
|
|
|
|
(par_const_vector_shf_set_operand): Likewise.
|
|
|
|
|
(reg_or_vector_same_val_operand): Likewise.
|
|
|
|
|
(reg_or_vector_same_simm5_operand): Likewise.
|
|
|
|
|
(reg_or_vector_same_uimm6_operand): Likewise.
|
|
|
|
|
* doc/extend.texi (MIPS SIMD Architecture Functions): New
|
|
|
|
|
section.
|
|
|
|
|
* doc/invoke.texi (-mmsa): Document new option.
|
|
|
|
|
|
2016-05-09 13:54:55 +02:00
|
|
|
|
2016-05-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* configure.ac (enable_vtable_verify): Handle --enable-vtable-verify.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* gcc.c (VTABLE_VERIFICATION_SPEC) [!ENABLE_VTABLE_VERIFY]: Error
|
|
|
|
|
on -fvtable-verify.
|
|
|
|
|
* config/sol2.h [!ENABLE_VTABLE_VERIFY] (STARTFILE_VTV_SPEC): Define.
|
|
|
|
|
(ENDFILE_VTV_SPEC): Define.
|
|
|
|
|
|
2016-05-09 13:44:58 +02:00
|
|
|
|
2016-05-09 Kaushik Phatak <kaushik.phatak@kpit.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78/rl78.c (rl78_expand_prologue): Save the MDUC related
|
|
|
|
|
registers in all interrupt handlers if necessary.
|
|
|
|
|
(rl78_option_override): Add warning.
|
|
|
|
|
(MUST_SAVE_MDUC_REGISTERS): New macro.
|
|
|
|
|
(rl78_expand_epilogue): Restore the MDUC registers if necessary.
|
|
|
|
|
* config/rl78/rl78.c (check_mduc_usage): New function.
|
|
|
|
|
(mduc_regs): New structure to hold MDUC register data.
|
|
|
|
|
* config/rl78/rl78.md (is_g13_muldiv_insn): New attribute.
|
|
|
|
|
(mulsi3_g13): Add is_g13_muldiv_insn attribute.
|
|
|
|
|
(udivmodsi4_g13): Add is_g13_muldiv_insn attribute.
|
|
|
|
|
(mulhi3_g13): Add is_g13_muldiv_insn attribute.
|
|
|
|
|
* config/rl78/rl78.opt (msave-mduc-in-interrupts): New option.
|
|
|
|
|
* doc/invoke.texi (RL78 Options): Add -msave-mduc-in-interrupts.
|
|
|
|
|
|
2016-05-09 13:44:03 +02:00
|
|
|
|
2016-05-09 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-if-conv.c (tree-ssa-loop.h): Include header file.
|
|
|
|
|
(tree-ssa-loop-niter.h): Ditto.
|
|
|
|
|
(idx_within_array_bound, ref_within_array_bound): New functions.
|
|
|
|
|
(ifcvt_memrefs_wont_trap): Check if array ref is within bound.
|
|
|
|
|
Factor out check on writable base object to ...
|
|
|
|
|
(base_object_writable): ... here.
|
|
|
|
|
|
2016-05-09 12:21:06 +02:00
|
|
|
|
2016-05-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.md (probe_stack): Add modes to set source
|
|
|
|
|
and destination.
|
|
|
|
|
|
2016-05-09 11:44:30 +02:00
|
|
|
|
2016-05-09 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
* regrename.c (base_reg_class_for_rename): New static function.
|
|
|
|
|
(scan_rtx_address, scan_rtx): Use it instead of base_reg_class.
|
|
|
|
|
|
2016-05-08 20:44:02 +02:00
|
|
|
|
2016-05-08 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* cgraph.c (thunk_adjust): Export.
|
|
|
|
|
* cgraphclones.c (cgraph_node::create_clone): Clone thunk info.
|
|
|
|
|
* cgraphunit.c (thunk_adjust): Export.
|
|
|
|
|
(cgraph_node::assemble_thunks_and_aliases): Do not assemble inlined
|
|
|
|
|
thunks.
|
|
|
|
|
* ipa-inline-analyssi.c (compute_inline_parameters): Thunks are
|
|
|
|
|
inlinable.
|
|
|
|
|
* tree-inline.c (expand_call_inline): Expand thunks inline.
|
|
|
|
|
|
2016-05-08 20:18:42 +02:00
|
|
|
|
2016-05-08 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70998
|
|
|
|
|
* config/i386/sse.md (*sse2_vd_cvtsd2ss): New insn pattern.
|
|
|
|
|
(*sse2_vd_cvtss2sd): Ditto.
|
|
|
|
|
* config/i386/i386.md
|
|
|
|
|
(TARGET_SSE_PARTIAL_REG_DEPENDENCY float_truncate df->sf splitter):
|
|
|
|
|
Generate *sse2_vd_cvtsd2ss pattern.
|
|
|
|
|
(TARGET_SSE_PARTIAL_REG_DEPENDENCY float_extend sf->df splitter):
|
|
|
|
|
Generate *sse2_vd_cvtss2sd pattern.
|
|
|
|
|
|
2016-05-08 16:15:24 +02:00
|
|
|
|
2016-05-08 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.h (GET_SH_ARG_CLASS): Convert macro into ...
|
|
|
|
|
* config/sh/sh.c (get_sh_arg_class): ... this new function. Update its
|
|
|
|
|
users.
|
|
|
|
|
|
sh-protos.h (sh_media_register_for_return): Remove.
gcc/
* config/sh/sh-protos.h (sh_media_register_for_return): Remove.
* config/sh/sh.c: Define and declare variables on first use throughout
the file.
(current_function_interrupt): Change to bool type.
(frame_insn): Rename to emit_frame_insn and update users.
(push_regs): Use bool for 'interrupt_handler' argument.
(save_schedule_s): Remove.
(TARGET_ASM_UNALIGNED_DI_OP, TARGET_ASM_ALIGNED_DI_OP): Remove.
(sh_option_override): Don't nullify targetm.asm_out.aligned_op.di and
targetm.asm_out.unaligned_op.di.
(gen_far_branch): Remove redundant forward declaration.
(sh_media_register_for_return, MAX_SAVED_REGS, save_entry_s, save_entry,
MAX_TEMPS, save_schedule_ssave_schedule): Remove.
(sh_set_return_address, sh_function_ok_for_sibcall,
scavenge_reg): Update comments.
(sh_builtin_saveregs): Use TRAGET_FPU_ANY condition.
(sh2a_get_function_vector_number, sh2a_function_vector_p): Use for loop.
(sh_attr_renesas_p): Remove unnecessary parentheses.
(branch_dest): Simplify.
* config/sh/sh.h (sh_args): Remove byref, byref_regs, stack_regs fields.
Change force_mem, prototype_p, outgoing, renesas_abi fields to bool.
(CUMULATIVE_ARGS): Change macro to typedef.
(current_function_interrupt): Change to bool type.
(sh_arg_class, sh_args, CUMULATIVE_ARGS, current_function_interrupt):
Surround with __cplusplus ifdef.
(sh_compare_op0, sh_compare_op1): Remove.
(EPILOGUE_USES): Use TARGET_FPU_ANY condition.
From-SVN: r236008
2016-05-08 16:08:09 +02:00
|
|
|
|
2016-05-08 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh-protos.h (sh_media_register_for_return): Remove.
|
|
|
|
|
* config/sh/sh.c: Define and declare variables on first use throughout
|
|
|
|
|
the file.
|
|
|
|
|
(current_function_interrupt): Change to bool type.
|
|
|
|
|
(frame_insn): Rename to emit_frame_insn and update users.
|
|
|
|
|
(push_regs): Use bool for 'interrupt_handler' argument.
|
|
|
|
|
(save_schedule_s): Remove.
|
|
|
|
|
(TARGET_ASM_UNALIGNED_DI_OP, TARGET_ASM_ALIGNED_DI_OP): Remove.
|
|
|
|
|
(sh_option_override): Don't nullify targetm.asm_out.aligned_op.di and
|
|
|
|
|
targetm.asm_out.unaligned_op.di.
|
|
|
|
|
(gen_far_branch): Remove redundant forward declaration.
|
|
|
|
|
(sh_media_register_for_return, MAX_SAVED_REGS, save_entry_s, save_entry,
|
|
|
|
|
MAX_TEMPS, save_schedule_ssave_schedule): Remove.
|
|
|
|
|
(sh_set_return_address, sh_function_ok_for_sibcall,
|
|
|
|
|
scavenge_reg): Update comments.
|
|
|
|
|
(sh_builtin_saveregs): Use TRAGET_FPU_ANY condition.
|
|
|
|
|
(sh2a_get_function_vector_number, sh2a_function_vector_p): Use for loop.
|
|
|
|
|
(sh_attr_renesas_p): Remove unnecessary parentheses.
|
|
|
|
|
(branch_dest): Simplify.
|
|
|
|
|
* config/sh/sh.h (sh_args): Remove byref, byref_regs, stack_regs fields.
|
|
|
|
|
Change force_mem, prototype_p, outgoing, renesas_abi fields to bool.
|
|
|
|
|
(CUMULATIVE_ARGS): Change macro to typedef.
|
|
|
|
|
(current_function_interrupt): Change to bool type.
|
|
|
|
|
(sh_arg_class, sh_args, CUMULATIVE_ARGS, current_function_interrupt):
|
|
|
|
|
Surround with __cplusplus ifdef.
|
|
|
|
|
(sh_compare_op0, sh_compare_op1): Remove.
|
|
|
|
|
(EPILOGUE_USES): Use TARGET_FPU_ANY condition.
|
|
|
|
|
|
2016-05-08 01:11:57 +02:00
|
|
|
|
2016-05-07 Jim Wilson <jim.wilson@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.md: (arch): Add neon.
|
|
|
|
|
(arch_enabled): Return yes for arch neon when TARGET_NEON.
|
|
|
|
|
* config/arm/vfp.md (movdf_vfp): Add w/G as alternative 3. Add
|
|
|
|
|
neon_move as type for alt 3. Add arch attr enabling alt 3 for neon.
|
|
|
|
|
Emit vmov.i64 for alt 3. Renumber alternatives 3 to 8. Adjust
|
|
|
|
|
attributes for alt renumbering. Mark alt 3 as non-predicable.
|
|
|
|
|
(thumb2_movdf_vfp): Likewise.
|
|
|
|
|
|
2016-05-07 16:36:11 +02:00
|
|
|
|
2016-05-07 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*addqi_1): Add preferred_for_speed attribute
|
|
|
|
|
to disparage alternatives 3 and 4 for TARGET_PARTIAL_REG_STALL targets.
|
|
|
|
|
(*andqi_1): Add preferred_for_speed attribute to disparage
|
|
|
|
|
alternative 2 for TARGET_PARTIAL_REG_STALL targets.
|
|
|
|
|
(*<code>qi_1): Ditto.
|
|
|
|
|
(*one_cmplqi2_1): Add preferred_for_speed attribute to disparage
|
|
|
|
|
alternative 1 for TARGET_PARTIAL_REG_STALL targets.
|
|
|
|
|
(*ashlqi3_1): Ditto.
|
|
|
|
|
(*swap<mode>): Merge from *swap<mode>_1 and *swap<mode>_2 patterns.
|
|
|
|
|
Add preferred_for_size attribute to disparage alternative 0 and
|
|
|
|
|
preferred_for_speed attribute to disparage alternative 1 for
|
|
|
|
|
TARGET_PARTIAL_REG_STALL targets.
|
|
|
|
|
|
2016-05-07 08:47:07 +02:00
|
|
|
|
2016-05-07 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70956
|
|
|
|
|
* graphite-scop-detection.c (build_cross_bb_scalars_def): Handle NULL
|
|
|
|
|
def.
|
|
|
|
|
|
2016-05-07 03:43:12 +02:00
|
|
|
|
2016-05-07 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh-protos.h (sh_cbranch_distance): Declare new function.
|
|
|
|
|
* config/sh/sh.c (sh_cbranch_distance): Implement it.
|
|
|
|
|
* config/sh/sh.md (branch_zero): Remove define_attr.
|
|
|
|
|
(define_delay): Disable delay slot if branch distance is one insn.
|
|
|
|
|
|
2016-05-06 23:14:20 +02:00
|
|
|
|
2016-05-06 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (LEAMODE): New mode attribute.
|
|
|
|
|
(plus to LEA splitter): Rewrite splitter using LEAMODE mode attribute.
|
|
|
|
|
(ashift to LEA splitter): Rewrte splitter using SWI mode iterator
|
|
|
|
|
and LEAMODE mode attribute. Use VOIDmode const_0_to_3_operand as
|
|
|
|
|
operand 2 predicate.
|
|
|
|
|
(*lea<mode>_general_2): Use VOIDmode for const248_operand.
|
|
|
|
|
(*lea<mode>_general_3): Ditto.
|
|
|
|
|
(*lea<mode>_general_4): Use VOIDmode for const_0_to_3_operand.
|
|
|
|
|
|
2016-05-06 22:42:10 +02:00
|
|
|
|
2016-05-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* genmddump.c (main): Convert argv from char ** to const char **.
|
|
|
|
|
|
2016-05-06 19:02:01 +02:00
|
|
|
|
2016-05-06 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* coretypes.h (OVERRIDE): New macro.
|
|
|
|
|
(FINAL): New macro.
|
|
|
|
|
|
2016-05-06 17:54:15 +02:00
|
|
|
|
2016-05-06 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-coalesce.c (gimple_can_coalesce_p): In the optimized case,
|
|
|
|
|
allow coalescing if the types are compatible.
|
|
|
|
|
|
2016-05-06 17:18:59 +02:00
|
|
|
|
2016-05-06 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* pass_manager.h (pass_manager::register_pass_name): New method.
|
|
|
|
|
(pass_manager::get_pass_by_name): New method.
|
|
|
|
|
(pass_manager::create_pass_tab): New method.
|
|
|
|
|
(pass_manager::m_name_to_pass_map): New field.
|
|
|
|
|
* passes.c (name_to_pass_map): Delete global in favor of field
|
|
|
|
|
"m_name_to_pass_map" of pass_manager.
|
|
|
|
|
(register_pass_name): Rename from a function to...
|
|
|
|
|
(pass_manager::register_pass_name): ...this method, updating
|
|
|
|
|
for renaming of global "name_to_pass_map" to field
|
|
|
|
|
"m_name_to_pass_map".
|
|
|
|
|
(create_pass_tab): Rename from a function to...
|
|
|
|
|
(pass_manager::create_pass_tab): ...this method, updating
|
|
|
|
|
for renaming of global "name_to_pass_map" to field.
|
|
|
|
|
(get_pass_by_name): Rename from a function to...
|
|
|
|
|
(pass_manager::get_pass_by_name): ...this method.
|
|
|
|
|
(enable_disable_pass): Convert use of get_pass_by_name to
|
|
|
|
|
a method call, locating the pass_manager singleton.
|
|
|
|
|
|
2016-05-06 17:14:05 +02:00
|
|
|
|
2016-05-06 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
2016-05-06 23:14:20 +02:00
|
|
|
|
* genattr-common.c (main): Convert argv from char ** to const char **.
|
2016-05-06 17:14:05 +02:00
|
|
|
|
* genattr.c (main): Likewise.
|
|
|
|
|
* genattrtab.c (main): Likewise.
|
|
|
|
|
* genautomata.c (initiate_automaton_gen): Likewise.
|
|
|
|
|
(main): Likewise.
|
|
|
|
|
* gencodes.c (main): Likewise.
|
|
|
|
|
* genconditions.c (main): Likewise.
|
|
|
|
|
* genconfig.c (main): Likewise.
|
|
|
|
|
* genconstants.c (main): Likewise.
|
|
|
|
|
* genemit.c (main): Likewise.
|
|
|
|
|
* genenums.c (main): Likewise.
|
|
|
|
|
* genextract.c (main): Likewise.
|
|
|
|
|
* genflags.c (main): Likewise.
|
|
|
|
|
* genmddeps.c (main): Likewise.
|
|
|
|
|
* genopinit.c (main): Likewise.
|
|
|
|
|
* genoutput.c (main): Likewise.
|
|
|
|
|
* genpeep.c (main): Likewise.
|
|
|
|
|
* genpreds.c (main): Likewise.
|
|
|
|
|
* genrecog.c (main): Likewise.
|
|
|
|
|
* gensupport.c (init_rtx_reader_args_cb): Likewise.
|
|
|
|
|
(init_rtx_reader_args): Likewise.
|
|
|
|
|
* gensupport.h (init_rtx_reader_args_cb): Likewise.
|
|
|
|
|
(init_rtx_reader_args): Likewise.
|
|
|
|
|
* gentarget-def.c (main): Likewise.
|
|
|
|
|
* read-md.c (read_md_files): Likewise.
|
|
|
|
|
* read-md.h (read_md_files): Likewise.
|
|
|
|
|
|
2016-05-06 16:34:58 +02:00
|
|
|
|
2016-05-06 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (int cmove peephole2s): Use general_reg_operand
|
|
|
|
|
instead of register_and_not_any_fp_reg_operand as operand 0 predicate.
|
|
|
|
|
* config/i386/predicates.md (register_and_not_any_fp_reg_operand):
|
|
|
|
|
Remove unused predicate.
|
|
|
|
|
(register_and_not_fp_reg_operand): Ditto.
|
|
|
|
|
|
2016-05-06 16:26:23 +02:00
|
|
|
|
2016-05-06 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-if-conv.c (ifcvt_split_critical_edges): Use auto_vec
|
|
|
|
|
instead of vec as the vector is local to the function.
|
|
|
|
|
|
2016-05-06 15:09:53 +02:00
|
|
|
|
2016-05-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-05-06 15:16:00 +02:00
|
|
|
|
* config/i386/sse.md (*<code>v8hi3, *<code>v16qi3): Add
|
|
|
|
|
avx512bw alternative.
|
|
|
|
|
|
2016-05-06 15:15:24 +02:00
|
|
|
|
* config/i386/sse.md (<mask_codefor>ashr<mode>3<mask_name>): Move
|
|
|
|
|
before the ashr<mode>3 pattern.
|
|
|
|
|
|
2016-05-06 15:14:34 +02:00
|
|
|
|
* config/i386/sse.md (*avx2_pmaddwd, *sse2_pmaddwd): Use
|
|
|
|
|
v instead of x in vex or maybe_vex alternatives, use
|
|
|
|
|
maybe_evex instead of vex in prefix.
|
|
|
|
|
|
2016-05-06 15:13:09 +02:00
|
|
|
|
* config/i386/sse.md (*vec_extractv4sf_0, *sse4_1_extractps,
|
|
|
|
|
*vec_extractv4sf_mem, vec_extract_lo_v16hi, vec_extract_hi_v16hi,
|
|
|
|
|
vec_extract_lo_v32qi, vec_extract_hi_v32qi): Use v instead of x
|
|
|
|
|
in vex or maybe_vex alternatives, use maybe_evex instead of vex
|
|
|
|
|
in prefix.
|
|
|
|
|
|
2016-05-06 15:12:32 +02:00
|
|
|
|
* config/i386/sse.md (*vec_concatv2sf_sse4_1, *vec_concatv4sf): Use
|
|
|
|
|
v instead of x in vex or maybe_vex alternatives, use
|
|
|
|
|
maybe_evex instead of vex in prefix.
|
|
|
|
|
|
sse.md (sse_shufps_<mode>, [...]): Use v instead of x in vex or maybe_vex alternatives...
* config/i386/sse.md (sse_shufps_<mode>, sse_storehps, sse_loadhps,
sse_storelps, sse_movss, avx2_vec_dup<mode>, avx2_vec_dupv8sf_1,
sse2_shufpd_<mode>, sse2_storehpd, sse2_storelpd, sse2_loadhpd,
sse2_loadlpd, sse2_movsd): Use v instead of x in vex or maybe_vex
alternatives, use maybe_evex instead of vex in prefix.
From-SVN: r235968
2016-05-06 15:11:56 +02:00
|
|
|
|
* config/i386/sse.md (sse_shufps_<mode>, sse_storehps, sse_loadhps,
|
|
|
|
|
sse_storelps, sse_movss, avx2_vec_dup<mode>, avx2_vec_dupv8sf_1,
|
|
|
|
|
sse2_shufpd_<mode>, sse2_storehpd, sse2_storelpd, sse2_loadhpd,
|
|
|
|
|
sse2_loadlpd, sse2_movsd): Use v instead of x in vex or maybe_vex
|
|
|
|
|
alternatives, use maybe_evex instead of vex in prefix.
|
|
|
|
|
|
2016-05-06 15:11:17 +02:00
|
|
|
|
* config/i386/sse.md (vec_interleave_lowv4sf,
|
|
|
|
|
*vec_interleave_highv2df, *vec_interleave_lowv2df): Use
|
|
|
|
|
v instead of x in vex or maybe_vex alternatives, use
|
|
|
|
|
maybe_evex instead of vex in prefix.
|
|
|
|
|
|
2016-05-06 15:10:39 +02:00
|
|
|
|
* config/i386/sse.md (sse_movhlps, sse_movlhps): Use
|
|
|
|
|
v instead of x in vex or maybe_vex alternatives, use
|
|
|
|
|
maybe_evex instead of vex in prefix.
|
|
|
|
|
|
2016-05-06 15:09:53 +02:00
|
|
|
|
* config/i386/sse.md (*avx_cvtpd2dq256_2, *avx_cvtps2pd256_2): Use
|
|
|
|
|
v constraint instead of x.
|
|
|
|
|
|
2016-05-06 15:02:42 +02:00
|
|
|
|
2016-05-06 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gimple.c (gimple_call_same_target_p): Unique functions are eq.
|
|
|
|
|
* tree-ssa-tail-merge.c (same_succ::equal): Check pointer eq
|
|
|
|
|
equality first.
|
|
|
|
|
|
2016-05-06 14:53:26 +02:00
|
|
|
|
2016-05-06 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70948
|
|
|
|
|
* tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
|
|
|
|
|
Properly clobber all fields of va_list for __builtin_va_start.
|
|
|
|
|
|
2016-05-06 14:07:25 +02:00
|
|
|
|
2016-05-06 Yuri Rumyantsev <ysrumyan@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR debug/70935
|
|
|
|
|
* tree-ssa-loop-unswitch.c (find_loop_guard): Reject guard edge with
|
|
|
|
|
loop latch destination.
|
|
|
|
|
|
2016-05-06 13:27:28 +02:00
|
|
|
|
2016-05-06 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-uninit.c: Apply manual changes
|
|
|
|
|
to the GNU coding style.
|
|
|
|
|
(prune_uninit_phi_opnds): Rename from
|
|
|
|
|
prune_uninit_phi_opnds_in_unrealizable_paths.
|
|
|
|
|
|
2016-05-06 13:05:49 +02:00
|
|
|
|
2016-05-06 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.opt (madjust-unroll, minvalid-symbols, msoft-atomic,
|
|
|
|
|
mspace): Remove deprecated options.
|
|
|
|
|
* doc/invoke.texi (SH options): Remove -mspace.
|
|
|
|
|
|
2016-05-06 12:35:42 +02:00
|
|
|
|
2016-05-06 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.md (ic_invalidate_line_sh4a): Fix insn length.
|
|
|
|
|
|
2016-05-06 12:29:33 +02:00
|
|
|
|
2016-05-06 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.md (*cmpeqsi_t): Remove combine insn pattern and similar
|
|
|
|
|
corresponding combine split pattern.
|
|
|
|
|
|
2016-05-06 12:20:13 +02:00
|
|
|
|
2016-05-06 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/58219
|
|
|
|
|
* config/sh/predicates.md (long_displacement_mem_operand): New.
|
|
|
|
|
* config/sh/sh.md (movsi_i): Allow for SH2A, disallow for any FPU.
|
|
|
|
|
Add movi20, movi20s alternatives. Adjust length attribute for
|
|
|
|
|
alternatives.
|
|
|
|
|
(movsi_ie): Allow for any FPU. Adjust length attribute for
|
|
|
|
|
alternatives.
|
|
|
|
|
(movsi_i_lowpart): Add movi20, movi20s alternatives. Adjust length
|
|
|
|
|
attribute for alternatives.
|
|
|
|
|
(*mov<mode>): Use long_displacement_mem_operand for length attribute.
|
|
|
|
|
(*movdi_i, movdf_k, movdf_i4, movsf_i, movsf_ie, movsf_ie_ra): Adjust
|
|
|
|
|
length attribute for alternatives.
|
|
|
|
|
|
2016-05-06 12:18:59 +02:00
|
|
|
|
2016-05-06 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70960
|
|
|
|
|
* tree-if-conv.c (ifcvt_walk_pattern_tree): Handle non-SSA ops.
|
|
|
|
|
|
re PR target/52933 (SH Target: Use div0s for integer sign comparisons)
gcc/
PR target/52933
* config/sh/sh.md (*cmp_div0s_7, *cmp_div0s_8): Add div0s variants.
* config/sh/sh.c (sh_rtx_costs): Add another div0s case.
gcc/testsuite/
PR target/52933
* gcc.target/sh/pr52933-1.c (test_31, test_32, test_33, test_34,
test_35, test_36, test_37, test_38, test_39, test_40): New sub-tests.
Adjust expected instruction counts.
* gcc.target/sh/pr52933-2.c: Adjust expected instruction counts.
From-SVN: r235952
2016-05-06 11:52:35 +02:00
|
|
|
|
2016-05-06 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/52933
|
|
|
|
|
* config/sh/sh.md (*cmp_div0s_7, *cmp_div0s_8): Add div0s variants.
|
|
|
|
|
* config/sh/sh.c (sh_rtx_costs): Add another div0s case.
|
|
|
|
|
|
2016-05-06 11:47:25 +02:00
|
|
|
|
2016-05-06 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/70875
|
|
|
|
|
* ubsan.c (get_ubsan_type_info_for_type): Remove assert.
|
|
|
|
|
|
2016-05-06 11:41:57 +02:00
|
|
|
|
2016-05-06 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/54089
|
|
|
|
|
* config/sh/sh.md (*rotcr): Add another variant.
|
|
|
|
|
|
2016-05-06 09:44:22 +02:00
|
|
|
|
2016-05-06 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70931
|
|
|
|
|
* dwarf2out.c (native_encode_initializer): Skip zero-sized fields.
|
|
|
|
|
|
2016-05-06 09:38:27 +02:00
|
|
|
|
2016-05-06 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70941
|
|
|
|
|
* fold-const.c (split_tree): Always convert to the original type
|
|
|
|
|
before negating.
|
|
|
|
|
|
2016-05-06 09:27:33 +02:00
|
|
|
|
2016-05-06 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* fwprop.c (fwprop): Remove duplicate cleanup_cfg call.
|
|
|
|
|
(fwprop_addr): Likewise.
|
|
|
|
|
|
2016-05-06 00:48:29 +02:00
|
|
|
|
2016-05-06 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70873
|
|
|
|
|
* config/i386/i386-protos.h (ix86_standard_x87sse_constant_load_p):
|
|
|
|
|
New prototype.
|
|
|
|
|
* config/i386/i386.c (ix86_standard_x87sse_constant_load_p): New.
|
|
|
|
|
* config/i386/i386.md (push mem splitter): Use find_constant_src in
|
|
|
|
|
the splitter condition.
|
|
|
|
|
(FP load splitter): Use ix86_standard_x87sse_constant_load_p in
|
|
|
|
|
the splitter condition.
|
|
|
|
|
(FP float_extend load splitter): Ditto.
|
|
|
|
|
|
2016-05-05 22:33:42 +02:00
|
|
|
|
2016-05-05 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (peehole2 patterns): Change true_regnum
|
2016-05-06 00:48:29 +02:00
|
|
|
|
to REGNO in all peephole2 patterns.
|
|
|
|
|
(post-reload splitters): Change true_regnum to REGNO in
|
2016-05-05 22:33:42 +02:00
|
|
|
|
post-reload splitters.
|
|
|
|
|
(zero_extend splitters): Use general_reg_operand and
|
|
|
|
|
nonimmediate_gr_operand predicates.
|
|
|
|
|
|
2016-05-05 15:29:54 +02:00
|
|
|
|
2016-05-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sse.md (<avx512>_fmadd_<mode>_mask3<round_name>): Use
|
|
|
|
|
v constraint instead of x.
|
|
|
|
|
|
[RS6000] TARGET_RELOCATABLE
For ABI_V4, -mrelocatable and -fPIC both generate position independent
code, with some extra "fixup" output for -mrelocatable. The
similarity of these two options has led to the situation where the
sysv4.h SUBTARGET_OVERRIDE_OPTIONS sets flag_pic on seeing
-mrelocatable, and sets TARGET_RELOCATABLE on seeing -fPIC. That
prevents LTO from properly optimizing position dependent executables,
because the mutual dependence of the flags and the fact that LTO
streaming records the state of rs6000_isa_flags, result in flag_pic
being set when it shouldn't be.
So, don't set TARGET_RELOCATABLE when -fPIC. Places that currently
test TARGET_RELOCATABLE can instead test
TARGET_RELOCATABLE || (DEFAULT_ABI == ABI_V4 && flag_pic > 1)
or since TARGET_RELOCATABLE can only be enabled when ABI_V4,
DEFAULT_ABI == ABI_V4 && (TARGET_RELOCATABLE || flag_pic > 1).
Also, since flag_pic is set by -mrelocatable, a number of places that
currently test TARGET_RELOCATABLE can be simplified. I also made
-mrelocatable set TARGET_NO_FP_IN_TOC, allowing TARGET_RELOCATABLE to
be removed from ASM_OUTPUT_SPECIAL_POOL_ENTRY_P. Reducing occurrences
of TARGET_RELOCATABLE is a good thing.
PR target/68662
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't
set OPTION_MASK_RELOCATABLE when flag_pic == 2. Set
TARGET_NO_FP_IN_TOC for -mrelocatable.
(MINIMAL_TOC_SECTION_ASM_OP): Remove redundant
TARGET_RELOCATABLE test.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.
(ASM_PREFERRED_EH_DATA_FORMAT): Likewise.
* config/rs6000/linux64.h (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.
(ASM_PREFERRED_EH_DATA_FORMAT): Likewise.
* config/rs6000/freebsd64.h (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.
(ASM_PREFERRED_EH_DATA_FORMAT): Likewise.
* config/rs6000/predicates.md (easy_fp_constant): Likewise.
* config/rs6000/rs6000.c (rs6000_elf_output_toc_section_asm_op):
Likewise.
(rs6000_assemble_integer): Update TARGET_RELOCATABLE test.
(rs6000_stack_info): Likewise.
(rs6000_elf_asm_out_constructor): Likewise.
(rs6000_elf_asm_out_destructor): Likewise.
(rs6000_elf_declare_function_name): Likewise.
* config/rs6000/rs6000.md (load_toc_aix_di): Likewise.
* config/rs6000/rs6000.h (MASK_RELOCATABLE, MASK_MINIMAL_TOC):
Don't define.
From-SVN: r235914
2016-05-05 02:07:27 +02:00
|
|
|
|
2016-05-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/68662
|
|
|
|
|
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't
|
|
|
|
|
set OPTION_MASK_RELOCATABLE when flag_pic == 2. Set
|
|
|
|
|
TARGET_NO_FP_IN_TOC for -mrelocatable.
|
|
|
|
|
(MINIMAL_TOC_SECTION_ASM_OP): Remove redundant
|
|
|
|
|
TARGET_RELOCATABLE test.
|
|
|
|
|
(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.
|
|
|
|
|
(ASM_PREFERRED_EH_DATA_FORMAT): Likewise.
|
|
|
|
|
* config/rs6000/linux64.h (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
|
|
|
|
|
(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.
|
|
|
|
|
(ASM_PREFERRED_EH_DATA_FORMAT): Likewise.
|
|
|
|
|
* config/rs6000/freebsd64.h (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
|
|
|
|
|
(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Likewise.
|
|
|
|
|
(ASM_PREFERRED_EH_DATA_FORMAT): Likewise.
|
|
|
|
|
* config/rs6000/predicates.md (easy_fp_constant): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_elf_output_toc_section_asm_op):
|
|
|
|
|
Likewise.
|
|
|
|
|
(rs6000_assemble_integer): Update TARGET_RELOCATABLE test.
|
|
|
|
|
(rs6000_stack_info): Likewise.
|
|
|
|
|
(rs6000_elf_asm_out_constructor): Likewise.
|
|
|
|
|
(rs6000_elf_asm_out_destructor): Likewise.
|
|
|
|
|
(rs6000_elf_declare_function_name): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.md (load_toc_aix_di): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.h (MASK_RELOCATABLE, MASK_MINIMAL_TOC):
|
|
|
|
|
Don't define.
|
|
|
|
|
|
2016-05-05 02:01:26 +02:00
|
|
|
|
2016-05-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_frame_related): Rewrite.
|
|
|
|
|
|
2016-05-04 23:32:27 +02:00
|
|
|
|
2016-05-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_savres_strategy): Don't use
|
|
|
|
|
out-of-line gpr restore for one or two regs if that would add
|
|
|
|
|
a save of lr.
|
|
|
|
|
|
2016-05-04 23:13:13 +02:00
|
|
|
|
2016-05-04 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70873
|
|
|
|
|
* config/i386/i386.md
|
|
|
|
|
(TARGET_SSE_PARTIAL_REG_DEPENDENCY float_extend sf->df peephole2):
|
|
|
|
|
Change to post-epilogue_completed late splitter. Use sse_reg_operand
|
|
|
|
|
as operand 0 predicate.
|
|
|
|
|
(TARGET_SSE_PARTIAL_REG_DEPENDENCY float_truncate df->sf peephole2):
|
|
|
|
|
Ditto.
|
|
|
|
|
(TARGET_SSE_PARTIAL_REG_DEPENDENCY float {si,di}->{sf,df} peephole2):
|
|
|
|
|
Ditto. Emit the pattern using RTX.
|
|
|
|
|
|
|
|
|
|
(TARGET_USE_VECTOR_FP_CONVERTS float_extend sf->df splitter):
|
|
|
|
|
Use sse_reg_opreand as operand 0 predicate. Do not use true_regnum in
|
|
|
|
|
the post-reload splitter. Use lowpart_subreg instead of gen_rtx_REG.
|
|
|
|
|
(TARGET_USE_VECTOR_FP_CONVERTS float_truncate df->sf splitter):
|
|
|
|
|
Ditto.
|
|
|
|
|
(TARGET_USE_VECTOR_CONVERTS float si->{sf,df} splitter): Use
|
|
|
|
|
sse_reg_operand as operand 0 predicate.
|
|
|
|
|
|
|
|
|
|
(TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS float_extend sf->df peephole2):
|
|
|
|
|
Use sse_reg_opreand as operand 0 predicate. Use lowpart_subreg
|
|
|
|
|
instead of gen_rtx_REG.
|
|
|
|
|
(TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS float_truncate sf->df peephole2):
|
|
|
|
|
Ditto.
|
|
|
|
|
|
2016-05-04 22:57:08 +02:00
|
|
|
|
2016-05-04 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* function.c (emit_use_return_register_into_block): Delete.
|
|
|
|
|
(gen_return_pattern): Delete.
|
|
|
|
|
(emit_return_into_block): Delete.
|
|
|
|
|
(active_insn_between): Delete.
|
|
|
|
|
(convert_jumps_to_returns): Delete.
|
|
|
|
|
(emit_return_for_exit): Delete.
|
|
|
|
|
(thread_prologue_and_epilogue_insns): Delete all code dealing with
|
|
|
|
|
simple_return for shrink-wrapped blocks.
|
|
|
|
|
* shrink-wrap.c (try_shrink_wrapping): Insert simple_return at the
|
|
|
|
|
end of blocks that need one.
|
|
|
|
|
(get_unconverted_simple_return): Delete.
|
|
|
|
|
(convert_to_simple_return): Delete.
|
|
|
|
|
* shrink-wrap.c (get_unconverted_simple_return): Delete declaration.
|
|
|
|
|
(convert_to_simple_return): Ditto.
|
|
|
|
|
|
2016-05-04 22:54:47 +02:00
|
|
|
|
2016-05-04 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* cfgcleanup.c (bb_is_just_return): New function.
|
|
|
|
|
(try_optimize_cfg): Simplify jumps to return, branches to return,
|
|
|
|
|
and branches around return.
|
|
|
|
|
|
2016-05-04 22:50:12 +02:00
|
|
|
|
2016-05-04 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* cfgcleanup.c (try_simplify_condjump): Don't try to simplify a
|
|
|
|
|
branch to a return.
|
|
|
|
|
|
2016-05-04 22:44:40 +02:00
|
|
|
|
2016-05-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/70906
|
|
|
|
|
PR c++/70933
|
|
|
|
|
* tree-core.h (enum operand_equal_flag): Add OEP_HASH_CHECK.
|
|
|
|
|
* tree.c (inchash::add_expr): If !IS_EXPR_CODE_CLASS (tclass),
|
|
|
|
|
assert flags & OEP_HASH_CHECK, instead of asserting it
|
|
|
|
|
never happens. Handle TARGET_EXPR.
|
|
|
|
|
* fold-const.c (operand_equal_p): For hash verification,
|
|
|
|
|
or in OEP_HASH_CHECK into flags.
|
|
|
|
|
|
2016-05-04 22:22:42 +02:00
|
|
|
|
2016-05-04 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-coalesce.c (gimple_can_coalesce_p): Fix reference in head
|
|
|
|
|
comment.
|
|
|
|
|
(compute_samebase_partition_bases): Fix typo.
|
|
|
|
|
|
2016-05-04 19:02:57 +02:00
|
|
|
|
2016-05-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-05-04 21:56:20 +02:00
|
|
|
|
* config/i386/sse.md (vec_interleave_highv8sf,
|
|
|
|
|
vec_interleave_lowv8sf, vec_interleave_highv4df,
|
|
|
|
|
vec_interleave_lowv4df): Remove constraints from expanders.
|
|
|
|
|
|
2016-05-04 19:02:57 +02:00
|
|
|
|
* config/i386/sse.md (sse2_movq128): Use v constraint instead of x.
|
|
|
|
|
|
2016-05-04 18:42:12 +02:00
|
|
|
|
2016-05-04 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* tree-inline.c (expand_call_inline): Fix path dealing with
|
|
|
|
|
making lhs of call statement undefined.
|
|
|
|
|
|
2016-05-04 18:36:51 +02:00
|
|
|
|
2016-05-04 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
|
|
|
|
|
Check availability on NODE, too.
|
|
|
|
|
* cgraph.h (symtab_node::call_for_symbol_and_aliases): Likewise.
|
|
|
|
|
(cgraph_node::call_for_symbol_and_aliases): Likewise.
|
|
|
|
|
(varpool_node::call_for_symbol_and_aliase): Likewise.
|
|
|
|
|
* ipa-pure-const.c (add_new_function): Analyze all bodies.
|
|
|
|
|
(propagate_pure_const): Propagate across interposable functions, too.
|
|
|
|
|
(skip_function_for_local_pure_const): Do not skip interposable bodies
|
|
|
|
|
with aliases.
|
|
|
|
|
(pass_local_pure_const::execute): Update.
|
|
|
|
|
|
2016-05-04 18:00:33 +02:00
|
|
|
|
2016-05-04 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi: Document -Wdangling-else.
|
|
|
|
|
|
2016-05-04 15:33:58 +02:00
|
|
|
|
2016-05-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* config.gcc: Error out when conflicting multilib is detected. Do not
|
|
|
|
|
loop over multilibs since no combination is legal.
|
|
|
|
|
|
2016-05-04 15:17:51 +02:00
|
|
|
|
2016-05-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
2016-05-04 15:23:58 +02:00
|
|
|
|
* config/rs6000/rs6000.h (PIC_OFFSET_TABLE_REGNUM): Correct.
|
2016-05-04 15:21:01 +02:00
|
|
|
|
* config/rs6000/sysv4.h (TARGET_TOC): Simplify.
|
2016-05-04 15:17:51 +02:00
|
|
|
|
* config/rs6000/rs6000.c (rs6000_elf_output_toc_section_asm_op):
|
|
|
|
|
Align .toc.
|
|
|
|
|
|
|
|
|
|
2016-05-04 Matthew Fortune <matthew.fortune@imgtec.com>
|
2016-05-04 14:59:28 +02:00
|
|
|
|
|
|
|
|
|
* config/mips/mips-cpus.def (p5600): Avoid IMADD by default.
|
|
|
|
|
Clean up p5600 comments.
|
|
|
|
|
|
2016-05-04 14:37:56 +02:00
|
|
|
|
2016-05-04 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* match.pd: Add BIT_FIELD_REF canonicalizations and vector
|
|
|
|
|
constructor simplifications.
|
2016-05-04 23:13:13 +02:00
|
|
|
|
* fold-const.c (fold_ternary_loc): Remove duplicate functionality here.
|
2016-05-04 14:37:56 +02:00
|
|
|
|
|
2016-05-04 09:14:11 +02:00
|
|
|
|
2016-05-04 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/predicates (post_inc_mem, pre_dec_mem): New predicates.
|
|
|
|
|
* config/sh/sh-protos.h (sh_find_set_of_reg): Return null result if
|
|
|
|
|
result.set_rtx is null instead of aborting.
|
|
|
|
|
* config/sh/sh.h (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT):
|
|
|
|
|
Always enable.
|
|
|
|
|
(USE_LOAD_PRE_DECREMENT, USE_STORE_POST_INCREMENT): Enable for SH2A.
|
|
|
|
|
* config/sh/sh.md (*extend<mode>si2_predec, *mov<mode>_load_predec,
|
|
|
|
|
*mov<mode>_store_postinc): New patterns.
|
|
|
|
|
|
2016-05-04 07:38:18 +02:00
|
|
|
|
2016-05-04 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* match.pd ((A | B) & (A | C)): Generalize to BIT_XOR_EXPR. Mark
|
|
|
|
|
as commutative. Check both conversions are NOP.
|
|
|
|
|
((A & B) OP (C & B)): Remove.
|
|
|
|
|
|
2016-05-04 02:11:32 +02:00
|
|
|
|
2016-05-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* combine.c (simplify_set): Correct WORD_REGISTER_OPERATIONS test.
|
|
|
|
|
|
2016-05-04 01:51:34 +02:00
|
|
|
|
2016-05-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70866
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_stack_info): Don't set cr_save_p
|
|
|
|
|
when cr2,3,4 are all fixed regs.
|
|
|
|
|
|
2016-05-04 00:48:03 +02:00
|
|
|
|
2016-05-04 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/57193
|
|
|
|
|
* opts.c (default_options_table): Revert OPT_frename_registers change.
|
|
|
|
|
* doc/invoke.texi (-frename-registers, -O2): Likewise.
|
|
|
|
|
|
PR c++/66561 - __builtin_LINE at al. should yield constant expressions
PR c++/66561 - __builtin_LINE at al. should yield constant expressions
PR c++/66639 - declare __func__, __FUNCTION__ & __PRETTY_FUNCTION__ constexpr
gcc/testsuite/ChangeLog:
2016-05-03 Martin Sebor <msebor@redhat.com>
PR c++/66561
* c-c++-common/builtin_location.c: New test.
* g++.dg/cpp1y/builtin_location.C: New test.
gcc/cp/ChangeLog:
2016-05-03 Martin Sebor <msebor@redhat.com>
PR c++/66561
* tree.c (builtin_valid_in_constant_expr_p): Treat BUILT_IN_FILE,
BUILT_IN_FUNCTION, and BUILT_IN_LINE as constant expressions.
gcc/ChangeLog:
2016-05-03 Martin Sebor <msebor@redhat.com>
PR c++/66561
* builtins.c (fold_builtin_FILE): New function.
(fold_builtin_FUNCTION, fold_builtin_LINE): New functions.
(fold_builtin_0): Call them.
* gimplify.c (gimplify_call_expr): Remove the handling of
BUILT_IN_FILE, BUILT_IN_FUNCTION, and BUILT_IN_LINE.
PR c++/66561
* doc/extend.texi (Other Builtins): Update __builtin_FILE,
__builtin_FUNCTION, and __builtin_LINE to reflect they yield
constants.
PR c++/66639
* doc/extend.texi (Function Names as Strings): Update __func__,
__FUNCTION__, __PRETTY_FUNCTION__ to reflect they evaluate to
constants.
From-SVN: r235845
2016-05-03 23:15:28 +02:00
|
|
|
|
2016-05-03 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/66561
|
|
|
|
|
* builtins.c (fold_builtin_FILE): New function.
|
|
|
|
|
(fold_builtin_FUNCTION, fold_builtin_LINE): New functions.
|
|
|
|
|
(fold_builtin_0): Call them.
|
|
|
|
|
* gimplify.c (gimplify_call_expr): Remove the handling of
|
|
|
|
|
BUILT_IN_FILE, BUILT_IN_FUNCTION, and BUILT_IN_LINE.
|
|
|
|
|
|
|
|
|
|
PR c++/66561
|
|
|
|
|
* doc/extend.texi (Other Builtins): Update __builtin_FILE,
|
|
|
|
|
__builtin_FUNCTION, and __builtin_LINE to reflect they yield
|
|
|
|
|
constants.
|
|
|
|
|
|
|
|
|
|
PR c++/66639
|
|
|
|
|
* doc/extend.texi (Function Names as Strings): Update __func__,
|
|
|
|
|
__FUNCTION__, __PRETTY_FUNCTION__ to reflect they evaluate to
|
|
|
|
|
constants.
|
|
|
|
|
|
2016-05-03 21:30:22 +02:00
|
|
|
|
2016-05-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70916
|
|
|
|
|
* tree-if-conv.c: Include cfganal.h.
|
|
|
|
|
(pass_if_conversion::execute): Call connect_infinite_loops_to_exit
|
|
|
|
|
and remove_fake_exit_edges around the optimization pass.
|
|
|
|
|
|
2016-05-03 21:05:31 +02:00
|
|
|
|
2016-05-03 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* cgraph.c (symbol_table::create_edge): Set inline_failed.
|
|
|
|
|
(cgraph_edge::make_direct): Likewise.
|
|
|
|
|
(cgraph_edge::dump_edge_flags): Dump call_stmt_cannot_inline_p.
|
|
|
|
|
* cgraphclones.c (duplicate_thunk_for_node): Set inline_failed.
|
|
|
|
|
* cif-code.def (CIF_LTO_MISMATCHED_DECLARATIONS): New code
|
|
|
|
|
(CIF_THUNK): New code.
|
|
|
|
|
* ipa-inline-analysis.c (initialize_inline_failed): Preserve
|
|
|
|
|
CIF_FINAL_ERROR codes; do not deal with call_stmt_cannot_inline_p.
|
|
|
|
|
(compute_inline_parameters): Set inline_failed for thunks.
|
|
|
|
|
(inline_analyze_function): Cleanup.
|
|
|
|
|
* ipa-inline.c (can_inline_edge_p): Do not deal with
|
|
|
|
|
call_stmt_cannot_inline_p.
|
|
|
|
|
(can_early_inline_edge_p): Likewise.
|
|
|
|
|
(early_inliner): Initialize inline_failed.
|
|
|
|
|
* lto-cgraph.c (lto_output_edge): Sanity check inline_failed.
|
|
|
|
|
|
2016-05-03 20:48:18 +02:00
|
|
|
|
2016-05-03 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/predicates.md (x87nonimm_ssenomem_operand): Rename
|
|
|
|
|
from nonimm_ssenomem_operand.
|
|
|
|
|
(nonimm_ssenomem_operand): New predicate.
|
|
|
|
|
* config/i386/i386.md (extendsfdf2): Use nonimm_ssenomem_operand
|
|
|
|
|
as operand 0 predicate.
|
|
|
|
|
(*extendsfdf2): Merge from *extendsfdf2_mixed and *extendsfdf2_i387.
|
|
|
|
|
Disable unsupported alternatives using "enabled" attribute.
|
|
|
|
|
Use register_ssemem_operand as operand 0 predicate.
|
|
|
|
|
(*fop_<mode>_1): Use x87nonimm_ssenomem_operand as operand 1 predicate.
|
|
|
|
|
|
2016-05-03 20:03:42 +02:00
|
|
|
|
2016-05-03 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/70859
|
|
|
|
|
* input.c (expansion_point_location): New function.
|
|
|
|
|
* input.h (expansion_point_location): Declare.
|
|
|
|
|
|
2016-05-03 18:21:14 +02:00
|
|
|
|
2016-05-03 Pierre-Marie de Rodat <derodat@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.c (resolve_args_picking_1): Replace the frame_offset
|
|
|
|
|
occurence with frame_offset_ ones.
|
|
|
|
|
|
2016-05-03 16:43:35 +02:00
|
|
|
|
2016-05-03 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70890
|
|
|
|
|
* ira.c (combine_and_move_insns): When moving def_insn, remove
|
|
|
|
|
equivs on use_insn.
|
|
|
|
|
|
2016-05-03 15:30:33 +02:00
|
|
|
|
2016-05-03 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md ("*r<noxa>sbg_<mode>_sll")
|
|
|
|
|
("*r<noxa>sbg_<mode>_srl"): New define_insns.
|
|
|
|
|
("*r<noxa>sbg_<mode>_srl_bitmask"): Rename by adding "_bitmask".
|
|
|
|
|
("*r<noxa>sbg_<mode>_sll_bitmask"): Likewise.
|
|
|
|
|
|
2016-05-03 14:38:32 +02:00
|
|
|
|
2016-05-03 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_savres_strategy): Correct condition
|
|
|
|
|
for SAVE_MULTIPLE/STORE_MULTIPLE.
|
|
|
|
|
|
2016-05-03 14:18:57 +02:00
|
|
|
|
2016-05-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*truncdfsf_mixed, *truncdfsf_i387,
|
2016-05-04 23:13:13 +02:00
|
|
|
|
*truncxfsf2_mixed, *truncxfdf2_mixed): Use v constraint instead of x.
|
2016-05-03 14:18:57 +02:00
|
|
|
|
|
2016-05-03 14:06:19 +02:00
|
|
|
|
2016-05-03 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* gimplify.h (get_initialized_tmp_var): Add allow_ssa parameter
|
|
|
|
|
default true.
|
|
|
|
|
(gimplify_arg): Likewise.
|
|
|
|
|
* gimplify.c (gimplify_expr): Add overload with allow_ssa parameter,
|
|
|
|
|
re-writing the result to a decl if required.
|
|
|
|
|
(internal_get_tmp_var): Add allow_ssa parameter
|
|
|
|
|
and override into_ssa with it.
|
|
|
|
|
(get_formal_tmp_var): Adjust.
|
|
|
|
|
(get_initialized_tmp_var): Add allow_ssa parameter.
|
|
|
|
|
(gimplify_arg): Add allow_ssa parameter and avoid generating
|
|
|
|
|
SSA names for the result false.
|
|
|
|
|
(gimplify_call_expr): If the call may return twice do not
|
|
|
|
|
gimplify parameters into SSA.
|
2016-05-03 20:48:18 +02:00
|
|
|
|
(prepare_gimple_addressable): Do not allow an SSA name as temporary.
|
2016-05-03 14:06:19 +02:00
|
|
|
|
(gimplify_modify_expr): Adjust assert. For noreturn calls
|
|
|
|
|
with a SSA name LHS adjust its def.
|
2016-05-03 20:48:18 +02:00
|
|
|
|
(gimplify_save_expr): Do not allow an SSA name as save-expr result.
|
2016-05-03 14:06:19 +02:00
|
|
|
|
(gimplify_one_sizepos): Do not allow an SSA name as a sizepos.
|
2016-05-03 20:48:18 +02:00
|
|
|
|
(gimplify_body): Init GIMPLE SSA data structures and gimplify into-SSA.
|
2016-05-03 14:06:19 +02:00
|
|
|
|
(gimplify_scan_omp_clauses): Make sure OMP_CLAUSE_SIZE is not
|
|
|
|
|
an SSA name. Likewise for OMP_CLAUSE_REDUCTION operands.
|
|
|
|
|
(gimplify_omp_for): Likewise for OMP_CLAUSE_DECL. Likewise
|
|
|
|
|
for OMP_FOR_COND, OMP_FOR_INCR and OMP_CLAUSE_LINEAR_STEP.
|
|
|
|
|
(optimize_target_teams): Do not allow SSA names for clause operands.
|
|
|
|
|
(gimplify_expr): Likewise for where we mark the result addressable.
|
|
|
|
|
* passes.def (pass_init_datastructures): Remove.
|
|
|
|
|
* tree-into-ssa.c (mark_def_sites): Ignore existing SSA names.
|
|
|
|
|
(rewrite_stmt): Likewise.
|
|
|
|
|
* tree-inline.c (initialize_cfun): Properly transfer SSA state.
|
|
|
|
|
(replace_locals_op): Replace SSA names.
|
|
|
|
|
(copy_gimple_seq_and_replace_locals): Init src_cfun.
|
|
|
|
|
* gimple-low.c (lower_builtin_setjmp): Deal with SSA.
|
|
|
|
|
* cgraph.c (release_function_body): Free CFG annotations only
|
|
|
|
|
when we have a CFG. Simplify.
|
|
|
|
|
* gimple-fold.c (gimplify_and_update_call_from_tree): Use
|
|
|
|
|
force_gimple_operand instead of get_initialized_tmp_var.
|
|
|
|
|
* tree-pass.h (make_pass_init_datastructures): Remove.
|
|
|
|
|
* tree-ssa.c (execute_init_datastructures): Remove.
|
|
|
|
|
(pass_data_init_datastructures): Likewise.
|
|
|
|
|
(class pass_init_datastructures): Likewise.
|
|
|
|
|
(make_pass_init_datastructures): Likewise.
|
|
|
|
|
* omp-low.c (create_omp_child_function): Init SSA data structures.
|
|
|
|
|
(grid_expand_target_grid_body): Likewise.
|
|
|
|
|
* tree-cfg.c (move_block_to_fn): Double-check the DEF is an SSA
|
|
|
|
|
name before adding it to names_to_release.
|
|
|
|
|
(remove_bb): Always release SSA defs.
|
|
|
|
|
* tree-ssa-ccp.c (get_default_value): Check SSA_NAME_VAR
|
|
|
|
|
before dereferencing it.
|
|
|
|
|
* cgraphunit.c (init_lowered_empty_function): Always
|
|
|
|
|
int SSA data structures.
|
|
|
|
|
* tree-ssanames.c (release_defs): Remove assert that we are in
|
|
|
|
|
SSA form.
|
|
|
|
|
* trans-mem.c (diagnose_tm_1): Handle SSA name function.
|
|
|
|
|
|
2016-05-03 13:45:04 +02:00
|
|
|
|
2016-05-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70467
|
|
|
|
|
* config/i386/predicates.md (x86_64_hilo_int_operand,
|
|
|
|
|
x86_64_hilo_general_operand): New predicates.
|
|
|
|
|
* config/i386/constraints.md (Wd): New constraint.
|
|
|
|
|
* config/i386/i386.md (mode attr di): Use Wd instead of e.
|
|
|
|
|
(general_hilo_operand): New mode attr.
|
|
|
|
|
(add<mode>3, sub<mode>3): Use <general_hilo_operand>
|
|
|
|
|
instead of <general_operand>.
|
|
|
|
|
(*add<dwi>3_doubleword, *sub<dwi>3_doubleword): Use
|
|
|
|
|
x86_64_hilo_general_operand instead of <general_operand>.
|
|
|
|
|
|
re PR target/49244 (__sync or __atomic builtins will not emit 'lock bts/btr/btc')
PR target/49244
* tree-ssa-ccp.c: Include stor-layout.h and optabs-query.h.
(optimize_atomic_bit_test_and): New function.
(pass_fold_builtins::execute): Use it.
* optabs.def (atomic_bit_test_and_set_optab,
atomic_bit_test_and_complement_optab,
atomic_bit_test_and_reset_optab): New optabs.
* internal-fn.def (ATOMIC_BIT_TEST_AND_SET,
ATOMIC_BIT_TEST_AND_COMPLEMENT, ATOMIC_BIT_TEST_AND_RESET): New ifns.
* builtins.h (expand_ifn_atomic_bit_test_and): New prototype.
* builtins.c (expand_ifn_atomic_bit_test_and): New function.
* internal-fn.c (expand_ATOMIC_BIT_TEST_AND_SET,
expand_ATOMIC_BIT_TEST_AND_COMPLEMENT,
expand_ATOMIC_BIT_TEST_AND_RESET): New functions.
* doc/md.texi (atomic_bit_test_and_set@var{mode},
atomic_bit_test_and_complement@var{mode},
atomic_bit_test_and_reset@var{mode}): Document.
* config/i386/sync.md (atomic_bit_test_and_set<mode>,
atomic_bit_test_and_complement<mode>,
atomic_bit_test_and_reset<mode>): New expanders.
(atomic_bit_test_and_set<mode>_1,
atomic_bit_test_and_complement<mode>_1,
atomic_bit_test_and_reset<mode>_1): New insns.
* gcc.target/i386/pr49244-1.c: New test.
* gcc.target/i386/pr49244-2.c: New test.
From-SVN: r235813
2016-05-03 13:37:25 +02:00
|
|
|
|
2016-05-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-05-03 13:43:06 +02:00
|
|
|
|
PR tree-optimization/70916
|
|
|
|
|
* tree-if-conv.c (constant_or_ssa_name): Removed.
|
|
|
|
|
(fold_build_cond_expr): Use is_gimple_val instead of
|
|
|
|
|
constant_or_ssa_name.
|
|
|
|
|
|
2016-05-03 13:38:38 +02:00
|
|
|
|
PR tree-optimization/70916
|
|
|
|
|
* tree-vect-patterns.c (vect_recog_mask_conversion_pattern): Give up
|
|
|
|
|
if COND_EXPR rhs1 is neither SSA_NAME nor COMPARISON_CLASS_P.
|
|
|
|
|
|
re PR target/49244 (__sync or __atomic builtins will not emit 'lock bts/btr/btc')
PR target/49244
* tree-ssa-ccp.c: Include stor-layout.h and optabs-query.h.
(optimize_atomic_bit_test_and): New function.
(pass_fold_builtins::execute): Use it.
* optabs.def (atomic_bit_test_and_set_optab,
atomic_bit_test_and_complement_optab,
atomic_bit_test_and_reset_optab): New optabs.
* internal-fn.def (ATOMIC_BIT_TEST_AND_SET,
ATOMIC_BIT_TEST_AND_COMPLEMENT, ATOMIC_BIT_TEST_AND_RESET): New ifns.
* builtins.h (expand_ifn_atomic_bit_test_and): New prototype.
* builtins.c (expand_ifn_atomic_bit_test_and): New function.
* internal-fn.c (expand_ATOMIC_BIT_TEST_AND_SET,
expand_ATOMIC_BIT_TEST_AND_COMPLEMENT,
expand_ATOMIC_BIT_TEST_AND_RESET): New functions.
* doc/md.texi (atomic_bit_test_and_set@var{mode},
atomic_bit_test_and_complement@var{mode},
atomic_bit_test_and_reset@var{mode}): Document.
* config/i386/sync.md (atomic_bit_test_and_set<mode>,
atomic_bit_test_and_complement<mode>,
atomic_bit_test_and_reset<mode>): New expanders.
(atomic_bit_test_and_set<mode>_1,
atomic_bit_test_and_complement<mode>_1,
atomic_bit_test_and_reset<mode>_1): New insns.
* gcc.target/i386/pr49244-1.c: New test.
* gcc.target/i386/pr49244-2.c: New test.
From-SVN: r235813
2016-05-03 13:37:25 +02:00
|
|
|
|
PR target/49244
|
|
|
|
|
* tree-ssa-ccp.c: Include stor-layout.h and optabs-query.h.
|
|
|
|
|
(optimize_atomic_bit_test_and): New function.
|
|
|
|
|
(pass_fold_builtins::execute): Use it.
|
|
|
|
|
* optabs.def (atomic_bit_test_and_set_optab,
|
|
|
|
|
atomic_bit_test_and_complement_optab,
|
|
|
|
|
atomic_bit_test_and_reset_optab): New optabs.
|
|
|
|
|
* internal-fn.def (ATOMIC_BIT_TEST_AND_SET,
|
|
|
|
|
ATOMIC_BIT_TEST_AND_COMPLEMENT, ATOMIC_BIT_TEST_AND_RESET): New ifns.
|
|
|
|
|
* builtins.h (expand_ifn_atomic_bit_test_and): New prototype.
|
|
|
|
|
* builtins.c (expand_ifn_atomic_bit_test_and): New function.
|
|
|
|
|
* internal-fn.c (expand_ATOMIC_BIT_TEST_AND_SET,
|
|
|
|
|
expand_ATOMIC_BIT_TEST_AND_COMPLEMENT,
|
|
|
|
|
expand_ATOMIC_BIT_TEST_AND_RESET): New functions.
|
|
|
|
|
* doc/md.texi (atomic_bit_test_and_set@var{mode},
|
|
|
|
|
atomic_bit_test_and_complement@var{mode},
|
|
|
|
|
atomic_bit_test_and_reset@var{mode}): Document.
|
|
|
|
|
* config/i386/sync.md (atomic_bit_test_and_set<mode>,
|
|
|
|
|
atomic_bit_test_and_complement<mode>,
|
|
|
|
|
atomic_bit_test_and_reset<mode>): New expanders.
|
|
|
|
|
(atomic_bit_test_and_set<mode>_1,
|
|
|
|
|
atomic_bit_test_and_complement<mode>_1,
|
|
|
|
|
atomic_bit_test_and_reset<mode>_1): New insns.
|
|
|
|
|
|
2016-05-03 12:29:55 +02:00
|
|
|
|
2016-05-03 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70687
|
|
|
|
|
* combine.c (change_zero_ext): Check for scalar modes. Use wide_int
|
|
|
|
|
instead of unsigned HOST_WIDE_INT.
|
|
|
|
|
|
2016-05-03 11:35:42 +02:00
|
|
|
|
2016-05-03 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/44281
|
|
|
|
|
* hard-reg-set.h (struct target_hard_regs): New field
|
|
|
|
|
x_fixed_nonglobal_reg_set.
|
|
|
|
|
(fixed_nonglobal_reg_set): New macro.
|
|
|
|
|
* reginfo.c (init_reg_sets_1): Initialize it.
|
|
|
|
|
* ira.c (setup_alloc_regs): Use fixed_nonglobal_reg_set instead
|
|
|
|
|
of fixed_reg_set.
|
|
|
|
|
* df-scan.c (df_insn_refs_collect): Asms may reference global regs.
|
|
|
|
|
|
2016-05-03 20:48:18 +02:00
|
|
|
|
2016-05-03 Bin Cheng <bin.cheng@arm.com>
|
2016-05-03 11:04:46 +02:00
|
|
|
|
|
|
|
|
|
PR tree-optimization/56541
|
|
|
|
|
* doc/invoke.texi (@item max-tree-if-conversion-phi-args): New item.
|
|
|
|
|
* params.def (PARAM_MAX_TREE_IF_CONVERSION_PHI_ARGS): new param.
|
|
|
|
|
* tree-if-conv.c (MAX_PHI_ARG_NUM): new macro.
|
|
|
|
|
(any_complicated_phi): new static variable.
|
|
|
|
|
(aggressive_if_conv): delete.
|
|
|
|
|
(if_convertible_phi_p): support phis with more than two arguments.
|
|
|
|
|
(if_convertible_bb_p): remvoe check on aggressive_if_conv and
|
|
|
|
|
critical pred edges.
|
|
|
|
|
(ifcvt_split_critical_edges): support phis with more than two
|
|
|
|
|
arguments by checking new parameter. only split critical edges
|
|
|
|
|
if needed.
|
|
|
|
|
(tree_if_conversion): handle simd pragma marked loop using new
|
|
|
|
|
local variable aggressive_if_conv. check any_complicated_phi.
|
|
|
|
|
|
2016-05-03 10:54:49 +02:00
|
|
|
|
2016-05-03 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (get_computation_cost_at): Check depends_on
|
|
|
|
|
before using it.
|
|
|
|
|
|
2016-05-03 10:38:18 +02:00
|
|
|
|
2016-05-03 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (get_computation_cost_at): Don't clobber
|
|
|
|
|
cbase.
|
|
|
|
|
|
2016-05-03 08:47:34 +02:00
|
|
|
|
2016-05-03 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.md (udivsi3, divsi3, mulsi3): Simplify.
|
|
|
|
|
(mulhisi3, umulhisi3, (smulsi3_highpart, umulsi3_highpart): Convert to
|
|
|
|
|
define_insn_and_split.
|
|
|
|
|
(mulsi3_i): New define_insn_and_split.
|
|
|
|
|
(mulsi3_call): Convert to define_insn.
|
|
|
|
|
(mulsidi3, mulsidi3_compact, umulsidi3, umulsidi3_compact):
|
|
|
|
|
Remove constraints.
|
|
|
|
|
|
2016-05-03 01:23:45 +02:00
|
|
|
|
2016-05-02 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* machmode.h (mode_complex): Add support to give the complex mode
|
|
|
|
|
for a given mode.
|
|
|
|
|
(GET_MODE_COMPLEX_MODE): Likewise.
|
|
|
|
|
* stor-layout.c (layout_type): For COMPLEX_TYPE, use the mode
|
|
|
|
|
stored by build_complex_type and gfc_build_complex_type instead of
|
|
|
|
|
trying to figure out the appropriate mode based on the size. Raise
|
|
|
|
|
an assertion error, if the type was not set.
|
|
|
|
|
* genmodes.c (struct mode_data): Add field for the complex type of
|
|
|
|
|
the given type.
|
|
|
|
|
(blank_mode): Likewise.
|
|
|
|
|
(make_complex_modes): Remember the complex mode created in the
|
|
|
|
|
base type.
|
|
|
|
|
(emit_mode_complex): Write out the mode_complex array to map a
|
|
|
|
|
type mode to the complex version.
|
|
|
|
|
(emit_insn_modes_c): Likewise.
|
|
|
|
|
* tree.c (build_complex_type): Set the complex type to use before
|
|
|
|
|
calling layout_type.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Add
|
|
|
|
|
support for __float128 complex datatypes.
|
|
|
|
|
(rs6000_hard_regno_mode_ok): Likewise.
|
|
|
|
|
(rs6000_setup_reg_addr_masks): Likewise.
|
|
|
|
|
(rs6000_complex_function_value): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.h (FLOAT128_IEEE_P): Likewise.
|
|
|
|
|
__float128 and __ibm128 complex.
|
|
|
|
|
(FLOAT128_IBM_P): Likewise.
|
|
|
|
|
(ALTIVEC_ARG_MAX_RETURN): Likewise.
|
|
|
|
|
* doc/extend.texi (Additional Floating Types): Document that
|
|
|
|
|
-mfloat128 must be used to enable __float128. Document complex
|
|
|
|
|
__float128 and __ibm128 support.
|
|
|
|
|
|
2016-05-03 00:12:54 +02:00
|
|
|
|
2016-05-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/49244
|
|
|
|
|
* gimple.c (gimple_builtin_call_types_compatible_p): Allow
|
|
|
|
|
char/short arguments promoted to int because of promote_prototypes.
|
|
|
|
|
|
2016-05-02 20:52:33 +02:00
|
|
|
|
2016-05-02 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/predicates.md (register_ssemem_operand): New predicate.
|
|
|
|
|
* config/i386/i386.md (*cmpi<FPCMP:unord><MODEF:mode>): Merge from
|
|
|
|
|
*cmpi<FPCMP:unord><MODEF:mode>_mixed and
|
|
|
|
|
*cmpi<FPCMP:unord><X87MODEF:mode>_i387. Disable unsupported
|
|
|
|
|
alternatives using "enabled" attribute. Use register_ssemem_operand
|
|
|
|
|
as operand 1 predicate.
|
|
|
|
|
(*cmpi<unord>xf_i387): Split XFmode pattern from
|
|
|
|
|
*cmpi<FPCMP:unord><X87MODEF:mode>_i387.
|
|
|
|
|
(*absneg<mode>2): Merge from *absneg<mode>2_mixed and
|
|
|
|
|
*absneg<mode>2_i387. Disable unsupported alternatives using
|
|
|
|
|
"enabled" attribute.
|
2016-05-02 20:58:18 +02:00
|
|
|
|
(*absnegxf2_i387): Split XFmode pattern from *absneg<mode>2_i387.
|
2016-05-02 20:52:33 +02:00
|
|
|
|
|
2016-05-02 20:27:40 +02:00
|
|
|
|
2016-05-02 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (lower_oacc_head_tail): Assert there is at least one
|
|
|
|
|
marker.
|
|
|
|
|
(oacc_loop_process): Check mask for loop termination.
|
|
|
|
|
|
2016-05-02 19:34:32 +02:00
|
|
|
|
2016-05-02 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* cif-code.def (CIF_THUNK): Add.
|
2016-05-02 19:38:53 +02:00
|
|
|
|
* ipa-inline-analsysis.c (evaluate_conditions_for_known_args): Revert
|
|
|
|
|
accidental change.
|
2016-05-02 19:34:32 +02:00
|
|
|
|
|
2016-05-02 18:55:56 +02:00
|
|
|
|
2016-05-02 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* ipa-inline-analysis.c (reset_inline_summary): Clear fp_expressions
|
|
|
|
|
(dump_inline_summary): Dump it.
|
|
|
|
|
(fp_expression_p): New predicate.
|
|
|
|
|
(estimate_function_body_sizes): Use it.
|
|
|
|
|
(inline_merge_summary): Merge fp_expressions.
|
|
|
|
|
(inline_read_section): Read fp_expressions.
|
|
|
|
|
(inline_write_summary): Write fp_expressions.
|
|
|
|
|
* ipa-inline.c (can_inline_edge_p): Permit inlining across fp math
|
|
|
|
|
codegen boundary if either caller or callee is !fp_expressions.
|
|
|
|
|
* ipa-inline.h (inline_summary): Add fp_expressions.
|
|
|
|
|
* ipa-inline-transform.c (inline_call): When inlining !fp_expressions
|
|
|
|
|
to fp_expressions be sure the fp generation flags are updated.
|
|
|
|
|
|
2016-05-02 18:17:02 +02:00
|
|
|
|
2016-05-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-05-02 18:46:10 +02:00
|
|
|
|
PR rtl-optimization/70467
|
|
|
|
|
* cse.c (cse_insn): Handle no-op MEM moves after folding.
|
|
|
|
|
|
2016-05-02 18:17:02 +02:00
|
|
|
|
PR rtl-optimization/70467
|
|
|
|
|
* ipa-pure-const.c (check_call): Handle internal calls even in
|
|
|
|
|
ipa mode like in local mode.
|
|
|
|
|
|
2016-05-02 17:23:20 +02:00
|
|
|
|
2016-05-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi: Document supported in-tree gmp/mpfr/mpc versions.
|
|
|
|
|
|
2016-05-02 16:32:53 +02:00
|
|
|
|
2016-05-02 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* match.pd (X u< X, X u> X): New transformations.
|
|
|
|
|
|
2016-05-02 16:09:07 +02:00
|
|
|
|
2016-05-02 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* flag-types.h (enum warn_strict_overflow_code): Move ...
|
|
|
|
|
* coretypes.h: ... here.
|
|
|
|
|
* fold-const.h (fold_overflow_warning): Declare.
|
|
|
|
|
* fold-const.c (fold_overflow_warning): Make non-static.
|
|
|
|
|
(fold_comparison): Move the transformation of X +- C1 CMP C2
|
|
|
|
|
into X CMP C2 -+ C1 ...
|
|
|
|
|
* match.pd: ... here.
|
|
|
|
|
* gimple-fold.c (fold_stmt_1): Protect with
|
|
|
|
|
fold_defer_overflow_warnings.
|
|
|
|
|
|
2016-05-02 15:16:22 +02:00
|
|
|
|
2016-05-02 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (struct oacc_loop): Add 'inner' field.
|
|
|
|
|
(new_oacc_loop_raw): Initialize it to zero.
|
|
|
|
|
(oacc_loop_fixed_partitions): Initialize it.
|
|
|
|
|
(oacc_loop_auto_partitions): Partition outermost loop to outermost
|
|
|
|
|
available partitioning.
|
|
|
|
|
|
2016-05-02 13:26:57 +02:00
|
|
|
|
2016-05-02 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.md (mulsidi3): Change operand 0 predicate to
|
|
|
|
|
register_operand.
|
|
|
|
|
(umulsidi3): Likewise.
|
|
|
|
|
(indirect_jump): Fix jump instruction assembly patterns.
|
|
|
|
|
|
2016-05-02 13:25:17 +02:00
|
|
|
|
2016-05-02 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR target/70860
|
|
|
|
|
* config/nvptx/nvptx.c (nvptx_libcall_value): Handle NULL cfun.
|
|
|
|
|
(nvptx_function_value): Assert non-NULL cfun.
|
|
|
|
|
|
2016-05-02 12:08:59 +02:00
|
|
|
|
2016-05-02 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70886
|
|
|
|
|
* sched-deps.c (estimate_dep_weak): Canonicalize cselib values.
|
|
|
|
|
|
|
|
|
|
* cselib.h (rtx_equal_for_cselib_1): Declare.
|
|
|
|
|
(rtx_equal_for_cselib_p: New inline function.
|
|
|
|
|
* cselib.c (rtx_equal_for_cselib_p): Delete.
|
|
|
|
|
(rtx_equal_for_cselib_1): Make public.
|
|
|
|
|
|
2016-05-02 11:49:39 +02:00
|
|
|
|
2016-05-02 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/predicates.md (nonimm_ssenomem_operand): New predicate.
|
|
|
|
|
(register_mixssei387nonimm_operand): Remove predicate.
|
|
|
|
|
* config/i386/i386.md (*fop_<mode>_comm): Merge from
|
|
|
|
|
*fop_<mode>_comm_mixed and *fop_<mode>_comm_i387. Disable unsupported
|
|
|
|
|
alternatives using "enabled" attribute. Also check X87_ENABLE_ARITH
|
|
|
|
|
for TARGET_MIX_SSE_I387 alternatives.
|
|
|
|
|
(*fop_<mode>_1): Merge from *fop_<mode>_1_mixed and *fop_<mode>_1_i387.
|
|
|
|
|
Disable unsupported alternatives using "enabled" attribute. Use
|
|
|
|
|
nonimm_ssenomem_operand as operand 1 predicate. Also check
|
|
|
|
|
X87_ENABLE_ARITH for TARGET_MIX_SSE_I387 alternatives.
|
|
|
|
|
|
2016-05-02 11:40:32 +02:00
|
|
|
|
2016-05-02 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree.c (cst_and_fits_in_hwi): Simplify.
|
|
|
|
|
|
2016-05-02 11:40:09 +02:00
|
|
|
|
2016-05-02 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree.h (wi::to_wide): New function.
|
|
|
|
|
* expr.c (expand_expr_real_1): Use wi::to_wide.
|
|
|
|
|
* fold-const.c (int_const_binop_1): Likewise.
|
|
|
|
|
(extract_muldiv_1): Likewise.
|
|
|
|
|
|
2016-05-02 11:39:38 +02:00
|
|
|
|
2016-05-02 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* wide-int.h: Update offset_int and widest_int documentation.
|
|
|
|
|
(WI_SIGNED_SHIFT_RESULT): New macro.
|
|
|
|
|
(wi::binary_shift): Define signed_shift_result_type for
|
|
|
|
|
shifts on offset_int- and widest_int-like types.
|
|
|
|
|
(generic_wide_int): Support <<= and >>= if << and >> are supported.
|
|
|
|
|
* tree.h (int_bit_position): Use shift operators instead of wi::
|
|
|
|
|
shifts.
|
|
|
|
|
* alias.c (adjust_offset_for_component_ref): Likewise.
|
|
|
|
|
* expr.c (get_inner_reference): Likewise.
|
|
|
|
|
* fold-const.c (fold_comparison): Likewise.
|
|
|
|
|
* gimple-fold.c (fold_nonarray_ctor_reference): Likewise.
|
|
|
|
|
* gimple-ssa-strength-reduction.c (restructure_reference): Likewise.
|
|
|
|
|
* tree-dfa.c (get_ref_base_and_extent): Likewise.
|
|
|
|
|
* tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise.
|
|
|
|
|
(stmt_kills_ref_p): Likewise.
|
|
|
|
|
* tree-ssa-ccp.c (bit_value_binop_1): Likewise.
|
|
|
|
|
* tree-ssa-math-opts.c (find_bswap_or_nop_load): Likewise.
|
|
|
|
|
* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
|
|
|
|
|
(ao_ref_init_from_vn_reference): Likewise.
|
|
|
|
|
|
Support <, <=, > and >= for offset_int and widest_int
offset_int and widest_int are supposed to be at least one bit wider
than all the values they need to represent, with the extra bits
being signs. Thus offset_int is effectively int128_t and widest_int
is effectively intNNN_t, for target-dependent NNN.
Because the types are signed, there's not really any need to specify
a sign for operations like comparison. I think things would be clearer
if we supported <, <=, > and >= for them (but not for wide_int, which
doesn't have a sign).
Tested on x86_64-linux-gnu and aarch64-linux-gnu.
gcc/
* wide-int.h: Update offset_int and widest_int documentation.
(WI_SIGNED_BINARY_PREDICATE_RESULT): New macro.
(wi::binary_traits): Allow ordered comparisons between offset_int and
offset_int, between widest_int and widest_int, and between either
of these types and basic C types.
(operator <, <=, >, >=): Define for the same combinations.
* tree.h (tree_int_cst_lt): Use comparison operators instead
of wi:: comparisons.
(tree_int_cst_le): Likewise.
* gimple-fold.c (fold_array_ctor_reference): Likewise.
(fold_nonarray_ctor_reference): Likewise.
* gimple-ssa-strength-reduction.c (record_increment): Likewise.
* tree-affine.c (aff_comb_cannot_overlap_p): Likewise.
* tree-parloops.c (try_transform_to_exit_first_loop_alt): Likewise.
* tree-sra.c (completely_scalarize): Likewise.
* tree-ssa-alias.c (stmt_kills_ref_p): Likewise.
* tree-ssa-reassoc.c (extract_bit_test_mask): Likewise.
* tree-vrp.c (extract_range_from_binary_expr_1): Likewise.
(check_for_binary_op_overflow): Likewise.
(search_for_addr_array): Likewise.
* ubsan.c (ubsan_expand_objsize_ifn): Likewise.
From-SVN: r235719
2016-05-02 11:39:09 +02:00
|
|
|
|
2016-05-02 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* wide-int.h: Update offset_int and widest_int documentation.
|
|
|
|
|
(WI_SIGNED_BINARY_PREDICATE_RESULT): New macro.
|
|
|
|
|
(wi::binary_traits): Allow ordered comparisons between offset_int and
|
|
|
|
|
offset_int, between widest_int and widest_int, and between either
|
|
|
|
|
of these types and basic C types.
|
|
|
|
|
(operator <, <=, >, >=): Define for the same combinations.
|
|
|
|
|
* tree.h (tree_int_cst_lt): Use comparison operators instead
|
|
|
|
|
of wi:: comparisons.
|
|
|
|
|
(tree_int_cst_le): Likewise.
|
|
|
|
|
* gimple-fold.c (fold_array_ctor_reference): Likewise.
|
|
|
|
|
(fold_nonarray_ctor_reference): Likewise.
|
|
|
|
|
* gimple-ssa-strength-reduction.c (record_increment): Likewise.
|
|
|
|
|
* tree-affine.c (aff_comb_cannot_overlap_p): Likewise.
|
|
|
|
|
* tree-parloops.c (try_transform_to_exit_first_loop_alt): Likewise.
|
|
|
|
|
* tree-sra.c (completely_scalarize): Likewise.
|
|
|
|
|
* tree-ssa-alias.c (stmt_kills_ref_p): Likewise.
|
|
|
|
|
* tree-ssa-reassoc.c (extract_bit_test_mask): Likewise.
|
|
|
|
|
* tree-vrp.c (extract_range_from_binary_expr_1): Likewise.
|
|
|
|
|
(check_for_binary_op_overflow): Likewise.
|
|
|
|
|
(search_for_addr_array): Likewise.
|
|
|
|
|
* ubsan.c (ubsan_expand_objsize_ifn): Likewise.
|
|
|
|
|
|
2016-05-02 11:37:17 +02:00
|
|
|
|
2016-05-02 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (arc_preferred_simd_mode): Remove enum keyword.
|
|
|
|
|
(arc_save_restore): Likewise.
|
|
|
|
|
(arc_dwarf_register_span): Likewise.
|
|
|
|
|
(arc_output_pic_addr_const): Initialize suffix variable.
|
|
|
|
|
|
2016-05-02 11:20:01 +02:00
|
|
|
|
2016-05-02 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* symbol-summary.h (function_summary::function_summary):
|
|
|
|
|
Remove checking assert for all cgraph nodes.
|
|
|
|
|
(function_summary::get): Check summary_uid.
|
|
|
|
|
(symtab_insertion): Check summary_uid.
|
|
|
|
|
|
[ARC] Add new ARCv2 instructions.
gcc/
2016-05-02 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc-protos.h (compact_memory_operand_p): Declare.
* config/arc/arc.c (arc_output_commutative_cond_exec): Consider
bmaskn instruction.
(arc_dwarf_register_span): Remove enum keyword.
(compact_memory_operand_p): New function.
* config/arc/arc.h (reg_class): Add code density register classes.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Likewise.
* config/arc/arc.md (*movqi_insn): Add code density instructions.
(*movhi_insn, *movsi_insn, *movsf_insn): Likewise.
(*extendhisi2_i, andsi3_i, cmpsi_cc_insn_mixed): Likewise.
(*cmpsi_cc_c_insn, *movsi_ne): Likewise.
* config/arc/constraints.md (C2p, Uts, Cm1, Cm3, Ucd): New
constraints.
(h, Rcd, Rsd, Rzd): New register constraints.
(T): Use compact_memory_operand_p function.
* config/arc/predicates.md (compact_load_memory_operand): Remove.
From-SVN: r235707
2016-05-02 10:54:34 +02:00
|
|
|
|
2016-05-02 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc-protos.h (compact_memory_operand_p): Declare.
|
|
|
|
|
* config/arc/arc.c (arc_output_commutative_cond_exec): Consider
|
|
|
|
|
bmaskn instruction.
|
|
|
|
|
(arc_dwarf_register_span): Remove enum keyword.
|
|
|
|
|
(compact_memory_operand_p): New function.
|
|
|
|
|
* config/arc/arc.h (reg_class): Add code density register classes.
|
|
|
|
|
(REG_CLASS_NAMES): Likewise.
|
|
|
|
|
(REG_CLASS_CONTENTS): Likewise.
|
|
|
|
|
* config/arc/arc.md (*movqi_insn): Add code density instructions.
|
|
|
|
|
(*movhi_insn, *movsi_insn, *movsf_insn): Likewise.
|
|
|
|
|
(*extendhisi2_i, andsi3_i, cmpsi_cc_insn_mixed): Likewise.
|
|
|
|
|
(*cmpsi_cc_c_insn, *movsi_ne): Likewise.
|
|
|
|
|
* config/arc/constraints.md (C2p, Uts, Cm1, Cm3, Ucd): New
|
|
|
|
|
constraints.
|
|
|
|
|
(h, Rcd, Rsd, Rzd): New register constraints.
|
|
|
|
|
(T): Use compact_memory_operand_p function.
|
|
|
|
|
* config/arc/predicates.md (compact_load_memory_operand): Remove.
|
|
|
|
|
|
2016-05-02 10:21:27 +02:00
|
|
|
|
2016-05-02 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.md (*negnegt, *movtt): Remove.
|
|
|
|
|
|
2016-05-02 09:42:06 +02:00
|
|
|
|
2016-05-02 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70700
|
|
|
|
|
* tree-ssa-structalias.c (dump_pred_graph): Fix getting varinfo for ids
|
|
|
|
|
bigger than FIRST_REF_NODE.
|
|
|
|
|
|
2016-05-02 07:25:46 +02:00
|
|
|
|
2016-05-02 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/52898
|
|
|
|
|
* config/sh/sh.c (sh_option_override): Remove TARGET_CBRANCHDI4,
|
|
|
|
|
TARGET_CMPEQDI_T.
|
|
|
|
|
(prepare_cbranch_operands): Don't use scratch register. Assume that
|
|
|
|
|
function is used when pseudos can be created.
|
|
|
|
|
(expand_cbranchdi4): Likewise. Remove unused TARGET_CMPEQDI_T paths.
|
|
|
|
|
* config/sh/sh.md (cbranchsi4): Allow only when pseudos can be created.
|
|
|
|
|
(cbranchdi4, cbranchdi4_i): Simplify to single cbranchdi4
|
|
|
|
|
define_expand. Allow it only when pseudos can be created.
|
|
|
|
|
* config/sh/sh.opt (mcbranchdi, mcmpeqdi): Delete.
|
|
|
|
|
|
2016-05-01 21:04:05 +02:00
|
|
|
|
2016-05-01 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/constraints.md (BC): Only allow -1 operands.
|
|
|
|
|
* config/i386/sse.md (mov<mode>_internal): Add (v,C) alternative.
|
|
|
|
|
Add "enabled" attribute. Update XI mode attribute calculation.
|
|
|
|
|
* config/i386/i386.md (*movxi_internal_avx512f): Add (v,C) alternative.
|
|
|
|
|
(*movoi_internal_avx): Update XI mode attribute calculation.
|
|
|
|
|
(*movti_internal): Ditto.
|
|
|
|
|
|
2016-05-01 09:52:32 +02:00
|
|
|
|
2016-05-01 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.md (push, pop, ic_invalidate_line, cstoresi4, cstoredi4,
|
|
|
|
|
cstoresf4, cstoredf4, fix_truncsfsi2): Remove constraints.
|
|
|
|
|
|
2016-05-01 09:32:01 +02:00
|
|
|
|
2016-05-01 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (altivec_expand_lv_builtin): Do not use switch
|
|
|
|
|
statement on instruction code. Remove trailing spaces.
|
|
|
|
|
(altivec_expand_stv_builtin): Likewise.
|
|
|
|
|
|
2016-05-01 07:06:08 +02:00
|
|
|
|
2016-05-01 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.h (TARGET_SH4): Remove and use default implementation.
|
|
|
|
|
(TARGET_FPU_DOUBLE): Simplify.
|
|
|
|
|
(BASE_ARG_REG, DOUBLE_TYPE_SIZE, OPTIMIZE_MODE_SWITCHING): Replace
|
|
|
|
|
'TARGET_SH4 || TARGET_SH2A_DOUBLE' conditions with 'TARGET_FPU_DOUBLE'.
|
|
|
|
|
* config/sh/sh.c: Replace 'TARGET_SH4 || TARGET_SH2A_DOUBLE' conditions
|
|
|
|
|
with 'TARGET_FPU_DOUBLE'.
|
|
|
|
|
* config/sh/sh.md: Likewise.
|
|
|
|
|
|
2016-05-01 05:59:39 +02:00
|
|
|
|
2016-05-01 Yoshinori Sato <ysato@users.sourceforge.jp>
|
|
|
|
|
|
|
|
|
|
* config/sh/linux.h (SH_DIV_STRATEGY_DEFAULT,
|
|
|
|
|
SH_DIV_STR_FOR_SIZE): Remove.
|
|
|
|
|
* config/sh/netbsd-elf.h (SH_DIV_STRATEGY_DEFAULT,
|
|
|
|
|
SH_DIV_STR_FOR_SIZE): Remove.
|
|
|
|
|
|
predicates.md (any_register_operand, [...]): Delete.
gcc/
* config/sh/predicates.md (any_register_operand, zero_extend_operand,
logical_reg_operand): Delete.
(arith_operand, arith_reg_dest, arith_or_int_operand, cmpsi_operand,
arith_reg_or_0_operand, arith_reg_or_0_or_1_operand, logical_operand,
logical_and_operand, movsrc_no_disp_mem_operand): Rewrite using
match_operand and match_test.
(sh_const_vec, sh_1el_vec): Remove redundant checks. Declare local
variables on their first use. Return bool values.
* config/sh/sh.h (LOAD_EXTEND_OP): Update comment.
* config/sh/sh.md (andsi3, iorsi3): Use arith_reg_dest for result and
arith_reg_operand for input operand. Remove empty constraints.
(xorsi3): Delete.
(*xorsi3_compact): Rename to xorsi3.
(zero_extend<mode>si2): Use arith_reg_operand for input operand.
(*zero_extend<mode>si2_disp_mem): Update comment.
(mov_nop): Delete.
From-SVN: r235687
2016-05-01 05:23:26 +02:00
|
|
|
|
2016-05-01 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/predicates.md (any_register_operand, zero_extend_operand,
|
|
|
|
|
logical_reg_operand): Delete.
|
|
|
|
|
(arith_operand, arith_reg_dest, arith_or_int_operand, cmpsi_operand,
|
|
|
|
|
arith_reg_or_0_operand, arith_reg_or_0_or_1_operand, logical_operand,
|
|
|
|
|
logical_and_operand, movsrc_no_disp_mem_operand): Rewrite using
|
|
|
|
|
match_operand and match_test.
|
|
|
|
|
(sh_const_vec, sh_1el_vec): Remove redundant checks. Declare local
|
|
|
|
|
variables on their first use. Return bool values.
|
|
|
|
|
* config/sh/sh.h (LOAD_EXTEND_OP): Update comment.
|
|
|
|
|
* config/sh/sh.md (andsi3, iorsi3): Use arith_reg_dest for result and
|
|
|
|
|
arith_reg_operand for input operand. Remove empty constraints.
|
|
|
|
|
(xorsi3): Delete.
|
|
|
|
|
(*xorsi3_compact): Rename to xorsi3.
|
|
|
|
|
(zero_extend<mode>si2): Use arith_reg_operand for input operand.
|
|
|
|
|
(*zero_extend<mode>si2_disp_mem): Update comment.
|
|
|
|
|
(mov_nop): Delete.
|
|
|
|
|
|
2016-04-30 11:11:03 +02:00
|
|
|
|
2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/t-sh: Remove SH5 support.
|
|
|
|
|
* config.gcc: Likewise.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
|
2016-04-30 08:27:10 +02:00
|
|
|
|
2016-04-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/darwin.h (LINK_COMMAND_SPEC_A): Handle -fcilkplus.
|
|
|
|
|
|
sh.c (register_sh_passes, [...]): Remove TARGET_SH1 checks.
gcc/
* config/sh/sh.c (register_sh_passes, sh_option_override,
sh_print_operand, prepare_move_operands,
sh_can_follow_jump): Remove TARGET_SH1 checks.
* config/sh/sh.h (TARGET_VARARGS_PRETEND_ARGS, VALID_REGISTER_P,
PROMOTE_MODE): Likewise.
* config/sh/sh.md (adddi3, addsi3, subdi3, subsi3, andsi3,
movdi): Likewise.
From-SVN: r235674
2016-04-30 07:39:59 +02:00
|
|
|
|
2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.c (register_sh_passes, sh_option_override,
|
|
|
|
|
sh_print_operand, prepare_move_operands,
|
|
|
|
|
sh_can_follow_jump): Remove TARGET_SH1 checks.
|
|
|
|
|
* config/sh/sh.h (TARGET_VARARGS_PRETEND_ARGS, VALID_REGISTER_P,
|
|
|
|
|
PROMOTE_MODE): Likewise.
|
|
|
|
|
* config/sh/sh.md (adddi3, addsi3, subdi3, subsi3, andsi3,
|
|
|
|
|
movdi): Likewise.
|
|
|
|
|
|
2016-04-30 02:35:39 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_savres_strategy): Force inline
|
|
|
|
|
restoring when fixed_reg_p, but allow out-of-line or stmw save.
|
|
|
|
|
Check for user regs later to avoid unnecessary looping over regs.
|
|
|
|
|
Merge user reg check with non-saved reg check. Don't force
|
|
|
|
|
inline VR restore when static chain used.
|
|
|
|
|
(rs6000_frame_related): Omit eh_frame info for user regs when
|
|
|
|
|
saving.
|
|
|
|
|
(fixed_regs_p): Delete.
|
|
|
|
|
|
2016-04-30 02:34:58 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (SAVRES_MULTIPLE): Replace with..
|
|
|
|
|
(SAVE_STRATEGY, REST_STRATEGY): ..this. Renumber and sort enum.
|
|
|
|
|
Update all uses.
|
|
|
|
|
|
2016-04-30 02:34:16 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69645
|
|
|
|
|
* config/rs6000/rs6000.c (fixed_reg_p): New function.
|
|
|
|
|
(fixed_regs_p): Rename from global_regs_p. Call fixed_reg_p.
|
|
|
|
|
Update all uses.
|
|
|
|
|
|
2016-04-30 02:33:26 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_conditional_register_usage):
|
|
|
|
|
Remove redundant PIC_OFFSET_TABLE_REGNUM test. Replace with
|
|
|
|
|
flag_pic test for Darwin.
|
|
|
|
|
|
2016-04-30 02:01:52 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* regs.h (struct reg_info_t): Delete freq_calls_crossed and
|
|
|
|
|
throw_calls_crossed.
|
|
|
|
|
(REG_FREQ_CALLS_CROSSED): Delete.
|
|
|
|
|
(REG_N_THROWING_CALLS_CROSSED): Delete.
|
|
|
|
|
* regstat.c (regstat_bb_compute_ri): Don't calculate
|
|
|
|
|
REG_FREQ_CALLS_CROSSED and REG_N_THROWING_CALLS_CROSSED.
|
|
|
|
|
(dump_reg_info): Don't print call cross frequency.
|
|
|
|
|
* ira.c (combine_and_move_insns): Don't set REG_FREQ_CALLS_CROSSED
|
|
|
|
|
and REG_N_THROWING_CALLS_CROSSED.
|
|
|
|
|
|
2016-04-30 02:01:07 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* regs.h (struct reg_info_t): Delete live_length.
|
|
|
|
|
(REG_LIVE_LENGTH): Delete macro.
|
|
|
|
|
* regstat.c (regstat_bb_compute_ri): Delete artificial_uses,
|
|
|
|
|
local_live, local_processed and local_live_last_luid params.
|
|
|
|
|
Replace bb_index param with bb. Don't set REG_LIVE_LENGTH.
|
|
|
|
|
Formatting fixes.
|
|
|
|
|
(regstat_compute_ri): Adjust for above. Don't set
|
|
|
|
|
REG_LIVE_LENGTH.
|
|
|
|
|
(dump_reg_info): Don't print live length.
|
|
|
|
|
* ira.c (update_equiv_regs): Replace test of REG_LIVE_LENGTH
|
|
|
|
|
with test of setjmp_crosses. Don't set REG_LIVE_LENGTH.
|
|
|
|
|
Localize loop_depth var.
|
|
|
|
|
|
ira.c validate_equiv_mem
This function is used to validate REG_EQUIV notes generated by ira,
and to validate potential insn combines performed by ira. The two
conditions are not exactly the same, with reload being more
restrictive. Separate them so more combines/moves can occur.
For example, this sequence from cfgexpand.c:expand_gimple_cond
callq _Z18update_bb_for_insnP15basic_block_def
mov 0x10(%rbx),%rdi
mov 0x0(%rip),%rbp # x_rtl+0x34
callq _Z9safe_as_aIP8rtx_insn7rtx_defET_PT0_
mov %r13,%rdx
mov %rbp,%rsi
mov %rax,%rdi
callq _Z18create_basic_blockP7rtx_defS0_P15basic_block_def
becomes
callq _Z18update_bb_for_insnP15basic_block_def
mov 0x10(%rbx),%rdi
callq _Z9safe_as_aIP8rtx_insn7rtx_defET_PT0_
mov 0x0(%rip),%rsi # x_rtl+0x34
mov %r13,%rdx
mov %rax,%rdi
callq _Z18create_basic_blockP7rtx_defS0_P15basic_block_def
* ira.c (enum valid_equiv): New.
(validate_equiv_mem): Return enum.
(update_equiv_mem): Create replacement in more cases.
(add_store_equivs): Update validate_equiv_mem call.
From-SVN: r235661
2016-04-30 02:00:22 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ira.c (enum valid_equiv): New.
|
|
|
|
|
(validate_equiv_mem): Return enum.
|
|
|
|
|
(update_equiv_mem): Create replacement in more cases.
|
|
|
|
|
(add_store_equivs): Update validate_equiv_mem call.
|
|
|
|
|
|
2016-04-30 01:59:22 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ira.c (combine_and_move_insns): Rather than scanning insns,
|
|
|
|
|
use DF infrastucture to find use and def insns.
|
|
|
|
|
|
2016-04-30 01:58:17 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
ira.c (combine_and_move_insns): Move invariant conditions..
|
|
|
|
|
(ira.c): ..to here. Call combine_and_move_insns before
|
|
|
|
|
add_store_equivs. Call grow_reg_equivs later. Allocate
|
|
|
|
|
req_equiv later using max_reg_num() rather than global max_regno.
|
|
|
|
|
(contains_replace_regs): Delete.
|
|
|
|
|
(add_store_equivs): Remove contains_replace_regs test.
|
|
|
|
|
|
2016-04-30 01:57:33 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ira.c (struct equiv_mem_data): New.
|
|
|
|
|
(equiv_mem, equiv_mem_modified): Delete static vars.
|
|
|
|
|
(validate_equiv_mem_from_store): Use "data" param to communicate..
|
|
|
|
|
(validate_equiv_mem): ..from here.
|
|
|
|
|
|
2016-04-30 01:57:00 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ira.c (add_store_equivs, combine_and_move_insns): New functions,
|
|
|
|
|
split out from..
|
|
|
|
|
(update_reg_equivs): ..here. Move allocation and freeing of
|
|
|
|
|
reg_equiv, and calls to grow_reg_equivs, init_alias_analysis,
|
|
|
|
|
end_alias_analysis to..
|
|
|
|
|
(ira): ..here.
|
|
|
|
|
|
2016-04-30 01:56:16 +02:00
|
|
|
|
2016-04-30 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ira.c (pdx_subregs): Delete.
|
|
|
|
|
(struct equivalence): Add pdx_subregs field.
|
|
|
|
|
(set_paradoxical_subreg): Remove pdx_subregs param. Update
|
|
|
|
|
pdx_subregs access.
|
|
|
|
|
(update_equiv_regs): Don't create or free pdx_subregs. Update
|
|
|
|
|
pdx_subregs access.
|
|
|
|
|
|
2016-04-29 22:57:14 +02:00
|
|
|
|
2016-04-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/altivec.h: Change definitions of vec_xl and
|
|
|
|
|
vec_xst.
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (LD_ELEMREV_V2DF): New.
|
|
|
|
|
(LD_ELEMREV_V2DI): New.
|
|
|
|
|
(LD_ELEMREV_V4SF): New.
|
|
|
|
|
(LD_ELEMREV_V4SI): New.
|
|
|
|
|
(LD_ELEMREV_V8HI): New.
|
|
|
|
|
(LD_ELEMREV_V16QI): New.
|
|
|
|
|
(ST_ELEMREV_V2DF): New.
|
|
|
|
|
(ST_ELEMREV_V2DI): New.
|
|
|
|
|
(ST_ELEMREV_V4SF): New.
|
|
|
|
|
(ST_ELEMREV_V4SI): New.
|
|
|
|
|
(ST_ELEMREV_V8HI): New.
|
|
|
|
|
(ST_ELEMREV_V16QI): New.
|
|
|
|
|
(XL): New.
|
|
|
|
|
(XST): New.
|
|
|
|
|
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
|
|
|
|
|
descriptions for VSX_BUILTIN_VEC_XL and VSX_BUILTIN_VEC_XST.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Map from
|
|
|
|
|
TARGET_P9_VECTOR to RS6000_BTM_P9_VECTOR.
|
|
|
|
|
(altivec_expand_builtin): Add handling for
|
|
|
|
|
VSX_BUILTIN_ST_ELEMREV_<MODE> and VSX_BUILTIN_LD_ELEMREV_<MODE>.
|
|
|
|
|
(rs6000_invalid_builtin): Add error-checking for
|
|
|
|
|
RS6000_BTM_P9_VECTOR.
|
|
|
|
|
(altivec_init_builtins): Define builtins used to implement vec_xl
|
|
|
|
|
and vec_xst.
|
|
|
|
|
(rs6000_builtin_mask_names): Define power9-vector.
|
|
|
|
|
* config/rs6000/rs6000.h (MASK_P9_VECTOR): Define.
|
|
|
|
|
(RS6000_BTM_P9_VECTOR): Define.
|
|
|
|
|
(RS6000_BTM_COMMON): Include RS6000_BTM_P9_VECTOR.
|
|
|
|
|
* config/rs6000/vsx.md (vsx_ld_elemrev_v2di): New define_insn.
|
|
|
|
|
(vsx_ld_elemrev_v2df): Likewise.
|
|
|
|
|
(vsx_ld_elemrev_v4sf): Likewise.
|
|
|
|
|
(vsx_ld_elemrev_v4si): Likewise.
|
|
|
|
|
(vsx_ld_elemrev_v8hi): Likewise.
|
|
|
|
|
(vsx_ld_elemrev_v16qi): Likewise.
|
|
|
|
|
(vsx_st_elemrev_v2df): Likewise.
|
|
|
|
|
(vsx_st_elemrev_v2di): Likewise.
|
|
|
|
|
(vsx_st_elemrev_v4sf): Likewise.
|
|
|
|
|
(vsx_st_elemrev_v4si): Likewise.
|
|
|
|
|
(vsx_st_elemrev_v8hi): Likewise.
|
|
|
|
|
(vsx_st_elemrev_v16qi): Likewise.
|
|
|
|
|
* doc/extend.texi: Add prototypes for vec_xl and vec_xst. Correct
|
|
|
|
|
grammar.
|
|
|
|
|
|
2016-04-29 21:15:25 +02:00
|
|
|
|
2016-04-29 Patrick Palka <ppalka@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-threadedge.c (simplify_control_stmt_condition): Split
|
|
|
|
|
out into ...
|
|
|
|
|
(simplify_control_stmt_condition_1): ... here. Recurse into
|
|
|
|
|
BIT_AND_EXPRs and BIT_IOR_EXPRs.
|
|
|
|
|
|
2016-04-29 19:20:36 +02:00
|
|
|
|
2016-04-29 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69810
|
|
|
|
|
* config/rs6000/rs6000.md (EXTQI): Don't allow extension to HImode.
|
|
|
|
|
(zero_extendqi<mode>2_dot): Revert earlier conversion from
|
|
|
|
|
define_insn_and_split to define_insn.
|
|
|
|
|
(zero_extendqi<mode>2_dot2): Same.
|
|
|
|
|
(extendqi<mode>2_dot): Same.
|
|
|
|
|
(extendqi<mode>2_dot2): Same.
|
|
|
|
|
|
2016-04-29 16:43:29 +02:00
|
|
|
|
2016-04-29 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (unspec): Add UNSPEC_PROBE_STACK.
|
|
|
|
|
(probe_stack): New expander.
|
|
|
|
|
(probe_stack_<mode>): New insn pattern.
|
|
|
|
|
|
2016-04-29 16:31:56 +02:00
|
|
|
|
2016-04-29 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md
|
|
|
|
|
(operations with memory inputs setting flags peephole2):
|
|
|
|
|
Remove uneeded REG_P checks. Cleanup pattern generation.
|
|
|
|
|
|
2016-04-29 15:27:24 +02:00
|
|
|
|
2016-04-29 Ilya Enkovich <ilya.enkovich@intel.com>
|
|
|
|
|
|
|
|
|
|
* tree-vect-loop.c (vect_transform_loop): Fix
|
|
|
|
|
nb_iterations_upper_bound computation for vectorized loop.
|
|
|
|
|
|
2016-04-29 14:32:45 +02:00
|
|
|
|
2016-04-29 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/70342
|
|
|
|
|
* fold-const.c (tree_single_nonzero_warnv_p): For TARGET_EXPR, use
|
|
|
|
|
TARGET_EXPR_SLOT as a base.
|
|
|
|
|
|
2016-04-29 14:07:31 +02:00
|
|
|
|
2016-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
2016-04-29 16:31:56 +02:00
|
|
|
|
* config/arc/arc.md (*loadqi_update): Replace use of 'rI' constraint
|
|
|
|
|
with 'rCm2' constraints to limit possible immediate size.
|
2016-04-29 14:07:31 +02:00
|
|
|
|
(*load_zeroextendqisi_update): Likewise.
|
|
|
|
|
(*load_signextendqisi_update): Likewise.
|
|
|
|
|
(*loadhi_update): Likewise.
|
|
|
|
|
(*load_zeroextendhisi_update): Likewise.
|
|
|
|
|
(*load_signextendhisi_update): Likewise.
|
|
|
|
|
(*loadsi_update): Likewise.
|
|
|
|
|
(*loadsf_update): Likewise.
|
|
|
|
|
|
2016-04-29 14:00:48 +02:00
|
|
|
|
2016-04-29 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/predicates.md (constm1_operand): Fix comparison.
|
|
|
|
|
|
2016-04-29 12:49:26 +02:00
|
|
|
|
2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/gcc.target/arc/ieee_eq.c: New test.
|
|
|
|
|
|
2016-04-29 12:44:57 +02:00
|
|
|
|
2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* common/config/sh/sh-common.c (sh_option_optimization_table): Remove
|
|
|
|
|
remaining SH5 related settings.
|
|
|
|
|
* config/sh/sh-protos.h (shmedia_cleanup_truncate,
|
|
|
|
|
shmedia_prepare_call_address): Delete.
|
|
|
|
|
* config/sh/sh.c (sh_print_operand, output_stack_adjust,
|
|
|
|
|
DWARF_CIE_DATA_ALIGNMENT, LOCAL_ALIGNMENT): Update comments.
|
|
|
|
|
* config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC,
|
|
|
|
|
UNSUPPORTED_SH2A): Remove m5 checks.
|
|
|
|
|
(sh_divide_strategy_e): Remove SH5 division strategies.
|
|
|
|
|
(TARGET_PTRMEMFUNC_VBIT_LOCATION): Remove and use default.
|
|
|
|
|
* config/sh/sh.md (divsf3): Reinstate define_expand pattern.
|
|
|
|
|
|
2016-04-29 11:20:55 +02:00
|
|
|
|
2016-04-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_rtx_costs): Update documentation.
|
|
|
|
|
|
2016-04-29 11:17:35 +02:00
|
|
|
|
2016-04-29 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/2964.md ("z13_unit_fxu", "z13_0"): Remove lder.
|
|
|
|
|
* config/s390/s390.md ("movsi_larl", "*movsi_esa", "mov<mode>"):
|
|
|
|
|
Change lder to ldr.
|
|
|
|
|
* config/s390/vector.md ("mov<mode>"): Likewise.
|
|
|
|
|
|
2016-04-29 11:14:19 +02:00
|
|
|
|
2016-04-29 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/constraints.md ("U", "W"): Invoke
|
|
|
|
|
s390_mem_constraint with "ZR" and "ZT".
|
|
|
|
|
* config/s390/s390.c (s390_check_qrst_address): Reject invalid
|
|
|
|
|
addresses when using LRA. Accept also short displacements for S
|
|
|
|
|
and T constraints. Do not check for long displacement target for
|
|
|
|
|
S and T constraints.
|
|
|
|
|
(s390_mem_constraint): Remove handling of U and W constraints.
|
|
|
|
|
* config/s390/s390.md (various patterns): Remove the short
|
|
|
|
|
displacement constraints (Q and R) if a long displacement
|
|
|
|
|
constraint is present. Add longdisp as required CPU capability.
|
|
|
|
|
* config/s390/vector.md: Likewise.
|
|
|
|
|
* config/s390/vx-builtins.md: Likewise.
|
|
|
|
|
|
2016-04-29 10:59:09 +02:00
|
|
|
|
2016-04-29 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
|
|
|
|
|
PR target/60040
|
|
|
|
|
* reload1.c (reload): Call finish_spills before
|
|
|
|
|
restarting reload loop. Skip select_reload_regs
|
|
|
|
|
if update_eliminables_and_spill returns true.
|
|
|
|
|
|
2016-04-29 10:39:22 +02:00
|
|
|
|
2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.h (UNSIGNED_INT12, UNSIGNED_INT16): Define.
|
|
|
|
|
* config/arc/arc.md (umulhisi3): Use arc_short_operand predicate.
|
|
|
|
|
(umulhisi3_imm): Update predicates and constraint letters.
|
|
|
|
|
(umulhisi3_reg): Declare instruction as commutative.
|
|
|
|
|
* config/arc/constraints.md (J12, J16): New constraints.
|
|
|
|
|
* config/arc/predicates.md (short_unsigned_const_operand): New
|
|
|
|
|
predicate.
|
|
|
|
|
(arc_short_operand): Likewise.
|
|
|
|
|
* testsuite/gcc.target/arc/umulsihi3_z.c: New file.
|
|
|
|
|
|
2016-04-29 10:36:49 +02:00
|
|
|
|
2016-04-29 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/13962
|
|
|
|
|
PR tree-optimization/65686
|
|
|
|
|
* tree-ssa-alias.h (ptrs_compare_unequal): Declare.
|
|
|
|
|
* tree-ssa-alias.c (ptrs_compare_unequal): New function
|
|
|
|
|
using PTA to compare pointers.
|
|
|
|
|
* match.pd: Add pattern for pointer equality compare simplification
|
|
|
|
|
using ptrs_compare_unequal.
|
|
|
|
|
|
2016-04-29 10:08:45 +02:00
|
|
|
|
2016-04-29 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* stor-layout.c (layout_type): Do not build a pointer-to-element
|
|
|
|
|
type for arrays.
|
|
|
|
|
|
2016-04-29 08:12:47 +02:00
|
|
|
|
2016-04-29 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (Load+RegOp to Mov+MemOp peephole2):
|
|
|
|
|
Use SWI mode iterator. Use general_reg_operand predicate.
|
|
|
|
|
(Load+RegOp to Mov+MemOp peephole2 with vector regs): Split
|
|
|
|
|
peephole to MMX and SSE part. Use mmx_reg_operand and sse_reg_operand
|
|
|
|
|
predicates.
|
|
|
|
|
|
2016-04-29 00:23:01 +02:00
|
|
|
|
2016-04-29 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70843
|
|
|
|
|
* fold-const.c (operand_equal_p): Don't verify hash value equality
|
|
|
|
|
if arg0 == arg1.
|
|
|
|
|
* tree.c (inchash::add_expr): Handle STATEMENT_LIST. Ignore BLOCK
|
|
|
|
|
and OMP_CLAUSE.
|
|
|
|
|
|
2016-04-28 21:33:34 +02:00
|
|
|
|
2016-04-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70858
|
|
|
|
|
* config/i386/i386.c (bdesc_special_args): Add | OPTION_MASK_ISA_64BIT
|
|
|
|
|
to __builtin_ia32_lwpval64 and __builtin_ia32_lwpins64.
|
|
|
|
|
(bdesc_args): Add | OPTION_MASK_ISA_64BIT to __builtin_ia32_bextr_u64,
|
|
|
|
|
__builtin_ia32_bextri_u64, __builtin_ia32_bzhi_di,
|
|
|
|
|
__builtin_ia32_pdep_di and __builtin_ia32_pext_di.
|
|
|
|
|
|
2016-04-28 21:23:55 +02:00
|
|
|
|
2016-04-28 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (compute_save_world_info): Rename info_ptr
|
|
|
|
|
to info. Don't initialize separate fields to 0. Clean up
|
|
|
|
|
formatting a bit.
|
|
|
|
|
|
2016-04-28 21:11:25 +02:00
|
|
|
|
2016-04-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (peephole2s for operations with memory inputs):
|
|
|
|
|
Use SWI mode iterator.
|
|
|
|
|
(peephole2s for operations with memory outputs): Ditto.
|
|
|
|
|
Do not check for stack checking probe.
|
|
|
|
|
|
|
|
|
|
(probe_stack): Remove expander.
|
|
|
|
|
|
2016-04-28 21:08:28 +02:00
|
|
|
|
2016-04-28 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (arc_print_operand): Print integer 'H' / 'L'
|
|
|
|
|
operands as 32-bits.
|
|
|
|
|
|
2016-04-28 21:04:23 +02:00
|
|
|
|
2016-04-28 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gdbinit.in: Skip line-map.h.
|
|
|
|
|
|
2016-04-28 20:48:43 +02:00
|
|
|
|
2016-04-28 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (arc_conditional_register_usage): Take
|
|
|
|
|
TARGET_RRQ_CLASS into account.
|
|
|
|
|
(arc_print_operand): Support printing 'p' and 's' operands.
|
|
|
|
|
* config/arc/arc.h (TARGET_NPS_BITOPS_DEFAULT): Provide default
|
|
|
|
|
as 0.
|
|
|
|
|
(TARGET_RRQ_CLASS): Define.
|
|
|
|
|
(IS_POWEROF2_OR_0_P): Define.
|
|
|
|
|
* config/arc/arc.md (*movsi_insn): Add w/Clo, w/Chi, and w/Cbi
|
|
|
|
|
alternatives.
|
|
|
|
|
(*tst_movb): New define_insn.
|
|
|
|
|
(*tst): Avoid recognition if it could prevent '*tst_movb'
|
|
|
|
|
combination; replace c/CnL with c/Chs alternative.
|
|
|
|
|
(*tst_bitfield_tst): New define_insn.
|
|
|
|
|
(*tst_bitfield_asr): New define_insn.
|
|
|
|
|
(*tst_bitfield): New define_insn.
|
|
|
|
|
(andsi3_i): Add Rrq variant.
|
|
|
|
|
(extzv): New define_expand.
|
|
|
|
|
(insv): New define_expand.
|
|
|
|
|
(*insv_i): New define_insn.
|
|
|
|
|
(*movb): New define_insn.
|
|
|
|
|
(*movb_signed): New define_insn.
|
|
|
|
|
(*movb_high): New define_insn.
|
|
|
|
|
(*movb_high_signed): New define_insn.
|
|
|
|
|
(*movb_high_signed + 1): New define_split pattern.
|
|
|
|
|
(*mrgb): New define_insn.
|
|
|
|
|
(*mrgb + 1): New define_peephole2 pattern.
|
|
|
|
|
(*mrgb + 2): New define_peephole2 pattern.
|
|
|
|
|
* config/arc/arc.opt (mbitops): New option for nps400, uses
|
|
|
|
|
TARGET_NPS_BITOPS_DEFAULT.
|
|
|
|
|
* config/arc/constraints.md (q): Make register class conditional.
|
|
|
|
|
(Rrq): New register constraint.
|
|
|
|
|
(Chs): New constraint.
|
|
|
|
|
(Clo): New constraint.
|
|
|
|
|
(Chi): New constraint.
|
|
|
|
|
(Cbf): New constraint.
|
|
|
|
|
(Cbn): New constraint.
|
|
|
|
|
(C18): New constraint.
|
|
|
|
|
(Cbi): New constraint.
|
|
|
|
|
|
2016-04-28 20:43:12 +02:00
|
|
|
|
2016-04-28 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* cfganal.c (bitmap_intersection_of_succs): Delete assert checking
|
|
|
|
|
dst->popcount.
|
|
|
|
|
(bitmap_intersection_of_preds): Ditto.
|
|
|
|
|
(bitmap_union_of_succs): Ditto.
|
|
|
|
|
(bitmap_union_of_preds): Ditto.
|
|
|
|
|
* sbitmap.c (do_popcount): Delete.
|
|
|
|
|
(BITMAP_DEBUGGING): Delete.
|
|
|
|
|
(sbitmap_verify_popcount): Delete.
|
|
|
|
|
(sbitmap_alloc): Don't initialize the popcount field.
|
|
|
|
|
(sbitmap_alloc_with_popcount): Delete.
|
|
|
|
|
(sbitmap_resize): Don't resize the popcount array.
|
|
|
|
|
(sbitmap_vector_alloc): Don't initialize the popcount field.
|
|
|
|
|
(bitmap_copy): Don't copy the popcount array.
|
|
|
|
|
(bitmap_clear): Don't clear the popcount array.
|
|
|
|
|
(bitmap_clear): Delete the popcount array handling.
|
|
|
|
|
(bitmap_ior_and_compl): Delete the popcount assert.
|
|
|
|
|
(bitmap_not): Ditto.
|
|
|
|
|
(bitmap_and_compl): Ditto.
|
|
|
|
|
(bitmap_and): Delete the popcount array handling.
|
|
|
|
|
(bitmap_xor): Ditto.
|
|
|
|
|
(bitmap_ior): Ditto.
|
|
|
|
|
(bitmap_or_and): Delete the popcount assert.
|
|
|
|
|
(bitmap_and_or): Ditto.
|
|
|
|
|
(popcount_table): Delete.
|
|
|
|
|
(sbitmap_elt_popcount): Delete.
|
|
|
|
|
* sbitmap.h (simple_bitmap_def): Delete the popcount field.
|
|
|
|
|
(bitmap_set_bit): Delete the popcount assert.
|
|
|
|
|
(bitmap_clear_bit): Ditto.
|
|
|
|
|
(sbitmap_free): Don't free the popcount array.
|
|
|
|
|
(sbitmap_alloc_with_popcount): Delete declaration.
|
|
|
|
|
(sbitmap_popcount): Ditto.
|
|
|
|
|
|
2016-04-28 20:21:42 +02:00
|
|
|
|
2016-04-28 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.h (SYMBOL_FLAG_CMEM): Define.
|
|
|
|
|
(TARGET_NPS_CMEM_DEFAULT): Provide default definition.
|
|
|
|
|
* config/arc/arc.c (arc_address_cost): Return 0 for cmem_address.
|
|
|
|
|
(arc_encode_section_info): Set SYMBOL_FLAG_CMEM where indicated.
|
|
|
|
|
* config/arc/arc.opt (mcmem): New option.
|
|
|
|
|
* config/arc/arc.md (*extendqihi2_i): Add r/Uex alternative,
|
|
|
|
|
supply length for r/m alternative.
|
|
|
|
|
(*extendqisi2_ac): Likewise.
|
|
|
|
|
(*extendhisi2_i): Add r/Uex alternative, supply length for r/m and
|
|
|
|
|
r/Uex alternative.
|
|
|
|
|
(movqi_insn): Add r/Ucm and Ucm/?Rac alternatives.
|
|
|
|
|
(movhi_insn): Likewise.
|
|
|
|
|
(movsi_insn): Add r/Ucm,Ucm/w alternatives.
|
|
|
|
|
(*zero_extendqihi2_i): Add r/Ucm alternative.
|
|
|
|
|
(*zero_extendqisi2_ac): Likewise.
|
|
|
|
|
(*zero_extendhisi2_i): Likewise.
|
|
|
|
|
* config/arc/constraints.md (Uex): New memory constraint.
|
|
|
|
|
(Ucm): New define_constraint.
|
|
|
|
|
* config/arc/predicates.md (long_immediate_loadstore_operand):
|
|
|
|
|
Return 0 for MEM with cmem_address address.
|
|
|
|
|
(cmem_address_0): New predicates.
|
|
|
|
|
(cmem_address_1): Likewise.
|
|
|
|
|
(cmem_address_2): Likewise.
|
|
|
|
|
(cmem_address): Likewise.
|
|
|
|
|
|
2016-04-28 19:51:19 +02:00
|
|
|
|
2016-04-28 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (machine_function): Rename
|
|
|
|
|
insn_chain_scanned_p to spe_insn_chain_scanned_p.
|
|
|
|
|
(rs6000_stack_info): Adjust.
|
|
|
|
|
|
2016-04-28 20:21:42 +02:00
|
|
|
|
2016-04-28 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
Andrew Burgess <andrew.burgess@embecosm.com>
|
2016-04-28 19:16:05 +02:00
|
|
|
|
|
|
|
|
|
* config/arc/constraints.md (Usd): Convert to define_constraint.
|
|
|
|
|
(Us<): Likewise.
|
|
|
|
|
(Us>): Likewise.
|
|
|
|
|
|
2016-04-28 19:10:14 +02:00
|
|
|
|
2016-04-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70821
|
|
|
|
|
* config/i386/sync.md (define_peephole2 *atomic_fetch_add_cmp<mode>):
|
|
|
|
|
Add new peephole2 where the first insn is *mov<mode>_or instead of
|
|
|
|
|
*mov<mode>_internal.
|
|
|
|
|
|
2016-04-28 19:08:39 +02:00
|
|
|
|
2016-04-28 Segher Boesssenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* tracer.c (bb_seen): Make static.
|
|
|
|
|
|
2016-04-28 18:59:18 +02:00
|
|
|
|
2016-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* common/config/arc/arc-common.c (arc_handle_option): Add NPS400
|
|
|
|
|
support, setup defaults.
|
|
|
|
|
* config/arc/arc-opts.h (enum processor_type): Add NPS400.
|
|
|
|
|
* config/arc/arc.c (arc_init): Add NPS400 support.
|
|
|
|
|
* config/arc/arc.h (CPP_SPEC): Add NPS400 defines.
|
|
|
|
|
(TARGET_ARC700): NPS400 is also an ARC700.
|
|
|
|
|
* config/arc/arc.opt: Add NPS400 options to -mcpu=.
|
|
|
|
|
|
2016-04-28 18:50:41 +02:00
|
|
|
|
2016-04-28 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/70668
|
|
|
|
|
* config/nds32/nds32.md (casesi): Don't access the operands array
|
|
|
|
|
out of bounds.
|
|
|
|
|
|
2016-04-28 18:35:03 +02:00
|
|
|
|
2016-04-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (zeroing peephole2): Use general_reg_operand.
|
|
|
|
|
(or $-1,reg peephole2): Ditto.
|
|
|
|
|
(strict_low_part zeroing peephole2): Use SWI12 mode iterator.
|
|
|
|
|
|
|
|
|
|
2016-04-28 Markus Trippelsdorf <markus@trippelsdorf.de>
|
2016-04-28 18:25:00 +02:00
|
|
|
|
|
|
|
|
|
* doc/extend.texi (Common Function Attributes) [optimize]:
|
|
|
|
|
Discourage use of the optimize attribute.
|
|
|
|
|
|
2016-04-28 18:01:52 +02:00
|
|
|
|
2016-04-28 Bill Seurer <seurer@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (vec_adde): Change vec_adde to a
|
|
|
|
|
special case builtin.
|
|
|
|
|
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
|
|
|
|
|
ALTIVEC_BUILTIN_VEC_ADDE.
|
|
|
|
|
* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Add
|
|
|
|
|
support for ALTIVEC_BUILTIN_VEC_ADDE.
|
|
|
|
|
* config/rs6000/rs6000.c (altivec_init_builtins): Add definition
|
|
|
|
|
for __builtin_vec_adde.
|
|
|
|
|
|
2016-04-28 17:57:16 +02:00
|
|
|
|
2016-04-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (sse4_1_round<mode>2): Add avx512f alternative.
|
|
|
|
|
* config/i386/sse.md (sse4_1_round<ssescalarmodesuffix>): Likewise.
|
|
|
|
|
|
2016-04-28 17:16:57 +02:00
|
|
|
|
2016-04-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR testsuite/70595
|
|
|
|
|
* doc/sourcebuild.texi (Effective-Target Keywords, Other
|
|
|
|
|
attributes): Document cilkplus_runtime.
|
|
|
|
|
|
2016-04-28 16:35:04 +02:00
|
|
|
|
2016-04-28 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-cfg.c (verify_expr): Verify that local declarations belong to
|
|
|
|
|
this function. Call verify_expr on MEM_REFs and bases of other
|
|
|
|
|
handled_components.
|
|
|
|
|
|
2016-04-28 15:38:18 +02:00
|
|
|
|
2016-04-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* internal-fn.c (expand_arith_overflow): Convert preprocessor check
|
|
|
|
|
for WORD_REGISTER_OPERATIONS to runtime check.
|
|
|
|
|
|
2016-04-28 15:08:01 +02:00
|
|
|
|
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.h (ASM_SPEC): Pass mfpuda to assembler.
|
|
|
|
|
|
2016-04-28 14:52:04 +02:00
|
|
|
|
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (arc_process_double_reg_moves): Fix for
|
|
|
|
|
big-endian compilation.
|
|
|
|
|
* config/arc/arc.md (addf3): Likewise.
|
|
|
|
|
(subdf3): Likewise.
|
|
|
|
|
(muldf3): Likewise.
|
|
|
|
|
|
re PR tree-optimization/70840 (revisit reassoc handling of pow / powi, amend match.pd for powi)
2016-04-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/70840
* match.pd: powi(-x, y) and powi(|x|,y) -> powi(x,y) if y is even;
Fix pow(copysign(x, y), z) -> pow(x, z) and add powi variant;
Mark x * pow(x,c) -> pow(x,c+1) commutative.
Add powi(x,y) * powi(z,y) -> powi(x*z,y).
From-SVN: r235566
2016-04-28 14:34:28 +02:00
|
|
|
|
2016-04-28 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70840
|
|
|
|
|
* match.pd: powi(-x, y) and powi(|x|,y) -> powi(x,y) if y is even;
|
|
|
|
|
Fix pow(copysign(x, y), z) -> pow(x, z) and add powi variant;
|
|
|
|
|
Mark x * pow(x,c) -> pow(x,c+1) commutative.
|
|
|
|
|
Add powi(x,y) * powi(z,y) -> powi(x*z,y).
|
|
|
|
|
|
2016-04-28 14:24:47 +02:00
|
|
|
|
2015-04-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.h (WORD_REGISTER_OPERATIONS): Define to 0
|
|
|
|
|
and explain why in a comment.
|
|
|
|
|
|
2016-04-28 14:15:06 +02:00
|
|
|
|
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.md (cpu_facility): Add fpx variant.
|
|
|
|
|
(subdf3): Prohibit use reverse sub when assist operations option
|
|
|
|
|
is enabled.
|
|
|
|
|
* config/arc/fpx.md (subdf3_insn, *dsubh_peep2_insn): Allow drsub
|
|
|
|
|
instructions only when FPX is enabled.
|
|
|
|
|
* testsuite/gcc.target/arc/trsub.c: New test.
|
|
|
|
|
|
2016-04-28 14:07:04 +02:00
|
|
|
|
2016-04-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*fop_<mode>_1_mixed): Do not check for
|
|
|
|
|
mult_operator when calculating "type" attribute.
|
|
|
|
|
(*fop_<mode>_1_i387): Ditto.
|
|
|
|
|
(*fop_xf_1_i387): Ditto.
|
|
|
|
|
(x87 stack loads peephole2): Add "reg = op (mem, reg)" peephole2.
|
|
|
|
|
Use std::swap to swap operands. Use RTL expressions to generate
|
|
|
|
|
converted pattern.
|
|
|
|
|
|
[ARC] Add TLS support.
gcc/
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
Joern Rennecke <joern.rennecke@embecosm.com>
* config/arc/arc-protos.h (arc_legitimize_pic_address): Remove
declaration.
(emit_pic_move): Remove.
(arc_eh_uses, insn_is_tls_gd_dispatch): Declare.
* config/arc/arc.c (emit_pic_move): Removed.
(TARGET_HAVE_TLS): Define.
(arc_conditional_register_usage): Test for arc_tp_regno.
(arc_print_operand, arc_print_operand_address): Handle TLS
unspecs.
(arc_needs_pcl_p): New function.
(arc_legitimate_pc_offset_p): Use arc_needs_pcl_p.
(arc_legitimate_pic_addr_p): Handle TLS unspecs.
(arc_raw_symbolic_reference_mentioned_p): Likewise.
(arc_get_tp, arc_emit_call_tls_get_addr): New function.
(arc_legitimize_tls_address): Likewise.
(DTPOFF_ZERO_SYM): Define.
(arc_legitimize_pic_address): Make it static, handle TLS cases.
(arc_output_pic_addr_const): Print TLS unspecs.
(prepare_pic_move): New function, replaces emit_pic_move.
(arc_legitimate_constant_p): Handle TLS unspecs.
(arc_legitimate_address_p): Likewise.
(arc_rewrite_small_data_p): Use assert for TLS constants.
(prepare_move_operands): Use prepare_pic_move.
(arc_legitimize_address): Legitimize tls addresses.
(arc_epilogue_uses): Check for arc_tp_regno.
(arc_eh_uses, insn_is_tls_gd_dispatch): New function.
* config/arc/arc.h [DEFAULT_LIBC != LIBC_UCLIBC] (EXTRA_SPECS):
Define.
[DEFAULT_LIBC != LIBC_UCLIBC] (ARC_TLS_EXTRA_START_SPEC):
Likewise.
[DEFAULT_LIBC != LIBC_UCLIBC] (STARTFILE_SPEC): Add
%(arc_tls_extra_start_spec).
(TARGET_CPU_CPP_BUILTINS): Define __ARC_TLS_REGNO__.
(REGNO_OK_FOR_BASE_P): Check for arc_tp_regno.
(EH_USES): Define.
(INSN_REFERENCES_ARE_DELAYED): Use insn_is_tls_gd_dispatch.
* config/arc/arc.md (UNSPEC_TLS_GD, UNSPEC_TLS_LD, UNSPEC_TLS_IE)
(UNSPEC_TLS_OFF): Add.
(R10_REG): Define.
(tls_load_tp_soft, tls_gd_load, tls_gd_get_addr, tls_gd_dispatch)
(get_thread_pointersi): New patterns.
* config/arc/arc.opt (mtp-regno): New option.
* config/arc/predicates.md (move_src_operand): Handle TLS symbols.
(move_dest_operand): Likewise.
* configure: Regenerate.
* configure.ac: Add arc*-*-* case to test for tls.
* doc/invoke.texi (ARC options): Document mtp-regno.
Co-Authored-By: Joern Rennecke <joern.rennecke@embecosm.com>
From-SVN: r235559
2016-04-28 13:53:46 +02:00
|
|
|
|
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc-protos.h (arc_legitimize_pic_address): Remove
|
|
|
|
|
declaration.
|
|
|
|
|
(emit_pic_move): Remove.
|
|
|
|
|
(arc_eh_uses, insn_is_tls_gd_dispatch): Declare.
|
|
|
|
|
* config/arc/arc.c (emit_pic_move): Removed.
|
|
|
|
|
(TARGET_HAVE_TLS): Define.
|
|
|
|
|
(arc_conditional_register_usage): Test for arc_tp_regno.
|
|
|
|
|
(arc_print_operand, arc_print_operand_address): Handle TLS
|
|
|
|
|
unspecs.
|
|
|
|
|
(arc_needs_pcl_p): New function.
|
|
|
|
|
(arc_legitimate_pc_offset_p): Use arc_needs_pcl_p.
|
|
|
|
|
(arc_legitimate_pic_addr_p): Handle TLS unspecs.
|
|
|
|
|
(arc_raw_symbolic_reference_mentioned_p): Likewise.
|
|
|
|
|
(arc_get_tp, arc_emit_call_tls_get_addr): New function.
|
|
|
|
|
(arc_legitimize_tls_address): Likewise.
|
|
|
|
|
(DTPOFF_ZERO_SYM): Define.
|
|
|
|
|
(arc_legitimize_pic_address): Make it static, handle TLS cases.
|
|
|
|
|
(arc_output_pic_addr_const): Print TLS unspecs.
|
|
|
|
|
(prepare_pic_move): New function, replaces emit_pic_move.
|
|
|
|
|
(arc_legitimate_constant_p): Handle TLS unspecs.
|
|
|
|
|
(arc_legitimate_address_p): Likewise.
|
|
|
|
|
(arc_rewrite_small_data_p): Use assert for TLS constants.
|
|
|
|
|
(prepare_move_operands): Use prepare_pic_move.
|
|
|
|
|
(arc_legitimize_address): Legitimize tls addresses.
|
|
|
|
|
(arc_epilogue_uses): Check for arc_tp_regno.
|
|
|
|
|
(arc_eh_uses, insn_is_tls_gd_dispatch): New function.
|
|
|
|
|
* config/arc/arc.h [DEFAULT_LIBC != LIBC_UCLIBC] (EXTRA_SPECS):
|
|
|
|
|
Define.
|
|
|
|
|
[DEFAULT_LIBC != LIBC_UCLIBC] (ARC_TLS_EXTRA_START_SPEC):
|
|
|
|
|
Likewise.
|
|
|
|
|
[DEFAULT_LIBC != LIBC_UCLIBC] (STARTFILE_SPEC): Add
|
|
|
|
|
%(arc_tls_extra_start_spec).
|
|
|
|
|
(TARGET_CPU_CPP_BUILTINS): Define __ARC_TLS_REGNO__.
|
|
|
|
|
(REGNO_OK_FOR_BASE_P): Check for arc_tp_regno.
|
|
|
|
|
(EH_USES): Define.
|
|
|
|
|
(INSN_REFERENCES_ARE_DELAYED): Use insn_is_tls_gd_dispatch.
|
|
|
|
|
* config/arc/arc.md (UNSPEC_TLS_GD, UNSPEC_TLS_LD, UNSPEC_TLS_IE)
|
|
|
|
|
(UNSPEC_TLS_OFF): Add.
|
|
|
|
|
(R10_REG): Define.
|
|
|
|
|
(tls_load_tp_soft, tls_gd_load, tls_gd_get_addr, tls_gd_dispatch)
|
|
|
|
|
(get_thread_pointersi): New patterns.
|
|
|
|
|
* config/arc/arc.opt (mtp-regno): New option.
|
|
|
|
|
* config/arc/predicates.md (move_src_operand): Handle TLS symbols.
|
|
|
|
|
(move_dest_operand): Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.ac: Add arc*-*-* case to test for tls.
|
|
|
|
|
* doc/invoke.texi (ARC options): Document mtp-regno.
|
|
|
|
|
|
[ARC] Add SIMD extensions for ARC HS
gcc/
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.c (arc_vector_mode_supported_p): Add support for
the new ARC HS SIMD instructions.
(arc_preferred_simd_mode): New function.
(arc_autovectorize_vector_sizes): Likewise.
(TARGET_VECTORIZE_PREFERRED_SIMD_MODE)
(TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define.
(arc_init_reg_tables): Accept new ARC HS SIMD modes.
(arc_init_builtins): Add new SIMD builtin types.
(arc_split_move): Handle 64 bit vector moves.
* config/arc/arc.h (TARGET_PLUS_DMPY, TARGET_PLUS_MACD)
(TARGET_PLUS_QMACW): Define.
* config/arc/builtins.def (QMACH, QMACHU, QMPYH, QMPYHU, DMACH)
(DMACHU, DMPYH, DMPYHU, DMACWH, DMACWHU, VMAC2H, VMAC2HU, VMPY2H)
(VMPY2HU, VADDSUB2H, VSUBADD2H, VADDSUB, VSUBADD, VADDSUB4H)
(VSUBADD4H): New builtins.
* config/arc/simdext.md: Add new ARC HS SIMD instructions.
* testsuite/gcc.target/arc/builtin_simdarc.c: New file.
From-SVN: r235551
2016-04-28 11:53:13 +02:00
|
|
|
|
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (arc_vector_mode_supported_p): Add support for
|
|
|
|
|
the new ARC HS SIMD instructions.
|
|
|
|
|
(arc_preferred_simd_mode): New function.
|
|
|
|
|
(arc_autovectorize_vector_sizes): Likewise.
|
|
|
|
|
(TARGET_VECTORIZE_PREFERRED_SIMD_MODE)
|
|
|
|
|
(TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define.
|
|
|
|
|
(arc_init_reg_tables): Accept new ARC HS SIMD modes.
|
|
|
|
|
(arc_init_builtins): Add new SIMD builtin types.
|
|
|
|
|
(arc_split_move): Handle 64 bit vector moves.
|
|
|
|
|
* config/arc/arc.h (TARGET_PLUS_DMPY, TARGET_PLUS_MACD)
|
|
|
|
|
(TARGET_PLUS_QMACW): Define.
|
|
|
|
|
* config/arc/builtins.def (QMACH, QMACHU, QMPYH, QMPYHU, DMACH)
|
|
|
|
|
(DMACHU, DMPYH, DMPYHU, DMACWH, DMACWHU, VMAC2H, VMAC2HU, VMPY2H)
|
|
|
|
|
(VMPY2HU, VADDSUB2H, VSUBADD2H, VADDSUB, VSUBADD, VADDSUB4H)
|
|
|
|
|
(VSUBADD4H): New builtins.
|
|
|
|
|
* config/arc/simdext.md: Add new ARC HS SIMD instructions.
|
|
|
|
|
* testsuite/gcc.target/arc/builtin_simdarc.c: New file.
|
|
|
|
|
|
2016-04-28 11:12:05 +02:00
|
|
|
|
2016-04-28 Eduard Sanou <dhole@openmailbox.org>
|
|
|
|
|
Matthias Klose <doko@debian.org>
|
|
|
|
|
|
|
|
|
|
* doc/cppenv.texi: Document SOURCE_DATE_EPOCH environment variable.
|
|
|
|
|
|
2016-04-28 09:55:33 +02:00
|
|
|
|
2016-04-28 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70777
|
|
|
|
|
* fold-const.c (fold_binary_loc): Remove x*x to pow(x,2.0)
|
|
|
|
|
canonicalization.
|
|
|
|
|
|
2016-04-28 03:18:13 +02:00
|
|
|
|
2016-04-28 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* common/config/sh/sh-common.c: Remove SH5 support.
|
|
|
|
|
* config/sh/constraints.md: Likewise.
|
|
|
|
|
* config/sh/config/sh/elf.h: Likewise.
|
|
|
|
|
* config/sh/linux.h: Likewise.
|
|
|
|
|
* config/sh/netbsd-elf.h: Likewise.
|
|
|
|
|
* config/sh/predicates.md: Likewise.
|
|
|
|
|
* config/sh/sh-c.c: Likewise.
|
|
|
|
|
* config/sh/sh-protos.h: Likewise.
|
|
|
|
|
* config/sh/sh.c: Likewise.
|
|
|
|
|
* config/sh/sh.h: Likewise.
|
|
|
|
|
* config/sh/sh.md: Likewise.
|
|
|
|
|
* config/sh/sh.opt: Likewise.
|
|
|
|
|
* config/sh/sync.md: Likewise.
|
|
|
|
|
* config/sh/sh64.h: Delete.
|
|
|
|
|
* config/sh/shmedia.h: Likewise.
|
|
|
|
|
* config/sh/shmedia.md: Likewise.
|
|
|
|
|
* config/sh/sshmedia.h: Likewise.
|
|
|
|
|
* config/sh/t-netbsd-sh5-64: Likewise.
|
|
|
|
|
* config/sh/t-sh64: Likewise.
|
|
|
|
|
* config/sh/ushmedia.h: Likewise.
|
|
|
|
|
|
2016-04-28 01:51:30 +02:00
|
|
|
|
2016-04-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (sign_extend to memory peephole2s): Use
|
|
|
|
|
general_reg_operand instead of register_operand predicate.
|
|
|
|
|
|
2016-04-28 00:39:43 +02:00
|
|
|
|
2016-04-27 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
|
|
|
|
|
|
|
|
|
|
* params.def (MIN_PARTITION_SIZE): Set default value to 10000.
|
|
|
|
|
|
2016-04-27 23:30:27 +02:00
|
|
|
|
2016-04-27 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* match.pd (A - B > A, A + B < A): New transformations.
|
|
|
|
|
|
2016-04-27 23:18:05 +02:00
|
|
|
|
2016-04-27 Patrick Palka <ppalka@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* genattrtab.c (write_test_expr): New parameter EMIT_PARENS
|
|
|
|
|
which defaults to true. Emit an outer pair of parentheses only if
|
|
|
|
|
EMIT_PARENS. When continuing a chain of && or || (or & or |),
|
|
|
|
|
don't emit parentheses for the right-hand operand.
|
|
|
|
|
|
2016-04-27 22:52:15 +02:00
|
|
|
|
2016-04-27 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-dom.c (record_temporary_equivalences): Fix typo in comment.
|
|
|
|
|
|
2016-04-27 22:22:27 +02:00
|
|
|
|
2016-04-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/altivec.md (altivec_lvx_<mode>): Remove.
|
|
|
|
|
(altivec_lvx_<mode>_internal): Document.
|
|
|
|
|
(altivec_lvx_<mode>_2op): New define_insn.
|
|
|
|
|
(altivec_lvx_<mode>_1op): Likewise.
|
|
|
|
|
(altivec_lvx_<mode>_2op_si): Likewise.
|
|
|
|
|
(altivec_lvx_<mode>_1op_si): Likewise.
|
|
|
|
|
(altivec_stvx_<mode>): Remove.
|
|
|
|
|
(altivec_stvx_<mode>_internal): Document.
|
|
|
|
|
(altivec_stvx_<mode>_2op): New define_insn.
|
|
|
|
|
(altivec_stvx_<mode>_1op): Likewise.
|
|
|
|
|
(altivec_stvx_<mode>_2op_si): Likewise.
|
|
|
|
|
(altivec_stvx_<mode>_1op_si): Likewise.
|
|
|
|
|
* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
|
|
|
|
|
Expand vec_ld and vec_st during parsing.
|
|
|
|
|
* config/rs6000/rs6000.c (altivec_expand_lvx_be): Commentary
|
|
|
|
|
changes.
|
|
|
|
|
(altivec_expand_stvx_be): Likewise.
|
|
|
|
|
(altivec_expand_lv_builtin): Expand lvx built-ins to expose the
|
|
|
|
|
address-masking behavior in RTL.
|
|
|
|
|
(altivec_expand_stv_builtin): Expand stvx built-ins to expose the
|
|
|
|
|
address-masking behavior in RTL.
|
|
|
|
|
(altivec_expand_builtin): Change builtin code arguments for calls
|
|
|
|
|
to altivec_expand_stv_builtin and altivec_expand_lv_builtin.
|
|
|
|
|
(insn_is_swappable_p): Avoid incorrect swap optimization in the
|
|
|
|
|
presence of lvx/stvx patterns.
|
|
|
|
|
(alignment_with_canonical_addr): New function.
|
|
|
|
|
(alignment_mask): Likewise.
|
|
|
|
|
(find_alignment_op): Likewise.
|
|
|
|
|
(recombine_lvx_pattern): Likewise.
|
|
|
|
|
(recombine_stvx_pattern): Likewise.
|
|
|
|
|
(recombine_lvx_stvx_patterns): Likewise.
|
|
|
|
|
(rs6000_analyze_swaps): Perform a pre-pass to recognize lvx and
|
|
|
|
|
stvx patterns from expand.
|
|
|
|
|
* config/rs6000/vector.md (vector_altivec_load_<mode>): Use new
|
|
|
|
|
expansions.
|
|
|
|
|
(vector_altivec_store_<mode>): Likewise.
|
|
|
|
|
|
2016-04-27 21:52:58 +02:00
|
|
|
|
2016-04-26 Evandro Menezes <e.menezes@samsung.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.md
|
|
|
|
|
(*movhf_aarch64): Add "movi %0, #0" to zero up register and
|
|
|
|
|
remove the "fp" attributes.
|
|
|
|
|
(*movsf_aarch64): Add "movi %0, #0" to zero up register and
|
|
|
|
|
add the "simd" attributes.
|
|
|
|
|
(*movdf_aarch64): Likewise.
|
|
|
|
|
(*movtf_aarch64): Remove the "fp" attributes.
|
|
|
|
|
* testsuite/gcc.target/aarch64/fmovf-zero-reg.c: Update accordingly.
|
|
|
|
|
* testsuite/gcc.target/aarch64/fmovd-zero-reg.c: Likewise.
|
|
|
|
|
|
2016-04-27 20:22:12 +02:00
|
|
|
|
2016-04-27 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* emit-rtl.c (maybe_set_first_label_num): Strengthen param from
|
|
|
|
|
rtx to rtx_code_label *.
|
|
|
|
|
* rtl.h (maybe_set_first_label_num): Likewise.
|
|
|
|
|
|
2016-04-27 20:18:45 +02:00
|
|
|
|
2016-04-27 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* df-core.c (df_add_problem): Make the problem param be const.
|
|
|
|
|
(df_remove_problem): Make local "problem" be const.
|
|
|
|
|
* df-problems.c (problem_RD): Make const.
|
|
|
|
|
(problem_LR): Likewise.
|
|
|
|
|
(problem_LIVE): Likewise.
|
|
|
|
|
(problem_MIR): Likewise.
|
|
|
|
|
(problem_CHAIN): Likewise.
|
|
|
|
|
(problem_WORD_LR): Likewise.
|
|
|
|
|
(problem_NOTE): Likewise.
|
|
|
|
|
(problem_MD): Likewise.
|
|
|
|
|
* df-scan.c (problem_SCAN): Likewise.
|
|
|
|
|
* df.h (struct df_problem): Make field "dependent_problem" be
|
|
|
|
|
const.
|
|
|
|
|
(struct dataflow): Likewise for field "problem".
|
|
|
|
|
(df_add_problem): Make param const.
|
|
|
|
|
|
2016-04-27 20:10:02 +02:00
|
|
|
|
2016-04-27 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_spill_class): Enable for TARGET_SSE2 when
|
|
|
|
|
inter-unit moves to/from vector registers are enabled. Do not disable
|
|
|
|
|
for TARGET_MMX.
|
|
|
|
|
|
Convert DF_SCAN etc from #define to an enum
Whilst debugging an issue in df, I noticed that there are
some #define constants that could be an enum (thus making them known
to gdb).
Convert them to a new enum, and update the "id" field of
struct df_problem.
gcc/ChangeLog:
* df.h (DF_SCAN, DF_LR, DF_LIVE, DF_RD, DF_CHAIN, DF_WORD_LR,
DF_NOTE, DF_MD, DF_MIR, DF_LAST_PROBLEM_PLUS1): Convert from
#define to...
(enum df_problem_id): ...this new enum.
(struct df_problem): Convert field "id" from "int" to
enum df_problem_id.
From-SVN: r235522
2016-04-27 20:08:46 +02:00
|
|
|
|
2016-04-27 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* df.h (DF_SCAN, DF_LR, DF_LIVE, DF_RD, DF_CHAIN, DF_WORD_LR,
|
|
|
|
|
DF_NOTE, DF_MD, DF_MIR, DF_LAST_PROBLEM_PLUS1): Convert from
|
|
|
|
|
#define to...
|
|
|
|
|
(enum df_problem_id): ...this new enum.
|
|
|
|
|
(struct df_problem): Convert field "id" from "int" to
|
|
|
|
|
enum df_problem_id.
|
|
|
|
|
|
2016-04-27 19:54:42 +02:00
|
|
|
|
2016-04-27 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* rtl.def: Update comment for "things in the instruction chain" to
|
|
|
|
|
reflect the removal of the leading "i" field for INSN_UID in
|
|
|
|
|
r210360. Fix bogus apostrophe.
|
|
|
|
|
|
2016-04-27 19:45:32 +02:00
|
|
|
|
2016-04-27 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md
|
|
|
|
|
(lea arith with mem operand + setcc peephole2): Set operator mode.
|
|
|
|
|
|
2016-04-27 19:32:40 +02:00
|
|
|
|
2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70155
|
2016-04-27 20:10:02 +02:00
|
|
|
|
* config/i386/i386.c (scalar_to_vector_candidate_p): Renamed to ...
|
2016-04-27 19:32:40 +02:00
|
|
|
|
(dimode_scalar_to_vector_candidate_p): This.
|
|
|
|
|
(timode_scalar_to_vector_candidate_p): New function.
|
|
|
|
|
(scalar_to_vector_candidate_p): Likewise.
|
|
|
|
|
(timode_check_non_convertible_regs): Likewise.
|
|
|
|
|
(timode_remove_non_convertible_regs): Likewise.
|
|
|
|
|
(remove_non_convertible_regs): Likewise.
|
|
|
|
|
(remove_non_convertible_regs): Renamed to ...
|
|
|
|
|
(dimode_remove_non_convertible_regs): This.
|
|
|
|
|
(scalar_chain::~scalar_chain): Make it virtual.
|
|
|
|
|
(scalar_chain::compute_convert_gain): Make it pure virtual.
|
|
|
|
|
(scalar_chain::mark_dual_mode_def): Likewise.
|
|
|
|
|
(scalar_chain::convert_insn): Likewise.
|
|
|
|
|
(scalar_chain::convert_registers): Likewise.
|
|
|
|
|
(scalar_chain::add_to_queue): Make it protected.
|
|
|
|
|
(scalar_chain::emit_conversion_insns): Likewise.
|
|
|
|
|
(scalar_chain::replace_with_subreg): Likewise.
|
|
|
|
|
(scalar_chain::replace_with_subreg_in_insn): Likewise.
|
|
|
|
|
(scalar_chain::convert_op): Likewise.
|
|
|
|
|
(scalar_chain::convert_reg): Likewise.
|
|
|
|
|
(scalar_chain::make_vector_copies): Likewise.
|
|
|
|
|
(scalar_chain::convert_registers): New pure virtual function.
|
|
|
|
|
(class dimode_scalar_chain): New class.
|
|
|
|
|
(class timode_scalar_chain): Likewise.
|
|
|
|
|
(scalar_chain::mark_dual_mode_def): Renamed to ...
|
|
|
|
|
(dimode_scalar_chain::mark_dual_mode_def): This.
|
|
|
|
|
(timode_scalar_chain::mark_dual_mode_def): New function.
|
|
|
|
|
(timode_scalar_chain::convert_insn): Likewise.
|
|
|
|
|
(dimode_scalar_chain::convert_registers): Likewise.
|
|
|
|
|
(scalar_chain::compute_convert_gain): Renamed to ...
|
|
|
|
|
(dimode_scalar_chain::compute_convert_gain): This.
|
|
|
|
|
(scalar_chain::replace_with_subreg): Renamed to ...
|
|
|
|
|
(dimode_scalar_chain::replace_with_subreg): This.
|
|
|
|
|
(scalar_chain::replace_with_subreg_in_insn): Renamed to ...
|
|
|
|
|
(dimode_scalar_chain::replace_with_subreg_in_insn): This.
|
|
|
|
|
(scalar_chain::make_vector_copies): Renamed to ...
|
|
|
|
|
(dimode_scalar_chain::make_vector_copies): This.
|
|
|
|
|
(scalar_chain::convert_reg): Renamed to ...
|
|
|
|
|
(dimode_scalar_chain::convert_reg ): This.
|
|
|
|
|
(scalar_chain::convert_op): Renamed to ...
|
|
|
|
|
(dimode_scalar_chain::convert_op): This.
|
|
|
|
|
(scalar_chain::convert_insn): Renamed to ...
|
|
|
|
|
(dimode_scalar_chain::convert_insn): This.
|
|
|
|
|
(scalar_chain::convert): Call convert_registers.
|
|
|
|
|
(convert_scalars_to_vector): Change to scalar_chain pointer to
|
|
|
|
|
use timode_scalar_chain in 64-bit mode and dimode_scalar_chain
|
|
|
|
|
in 32-bit mode. Delete scalar_chain pointer. Call
|
|
|
|
|
free_dominance_info in 64-bit mode.
|
|
|
|
|
(pass_stv::gate): Remove TARGET_64BIT check.
|
|
|
|
|
(ix86_option_override): Put the 64-bit STV pass before the CSE
|
|
|
|
|
pass.
|
|
|
|
|
|
2016-04-27 17:03:40 +02:00
|
|
|
|
2016-04-27 Pierre-Marie de Rodat <derodat@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.h (struct dw_loc_descr_node): Remove the
|
|
|
|
|
dw_loc_frame_offset field.
|
|
|
|
|
* dwarf2out.c (new_loc_descr): Likewise.
|
|
|
|
|
(resolve_args_picking_1): Turn the VISITED hash set into a
|
|
|
|
|
FRAME_OFFSET hash map. Use it to associate a frame offset to
|
|
|
|
|
visited nodes. Remove uses of the CHECKING_P macro.
|
|
|
|
|
(resolve_args_picking): Update call to resolve_args_picking_1.
|
|
|
|
|
|
2016-04-27 16:52:38 +02:00
|
|
|
|
2016-04-27 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (iv_ca_dump): Fix level of indentation.
|
|
|
|
|
(free_loop_data): Release vuses of groups.
|
|
|
|
|
|
tree-ssa-loop-ivopts.c (struct iv): Use pointer to struct iv_use instead of redundant use_id and boolean have_use_for.
* tree-ssa-loop-ivopts.c (struct iv): Use pointer to struct iv_use
instead of redundant use_id and boolean have_use_for.
(struct iv_use): Change sub_id into group_id. Remove field next.
Move fields: related_cands, n_map_members, cost_map and selected
to ...
(struct iv_group): ... here. New structure.
(struct iv_common_cand): Use structure declaration directly.
(struct ivopts_data, iv_ca, iv_ca_delta): Rename fields.
(MAX_CONSIDERED_USES): Rename macro to ...
(MAX_CONSIDERED_GROUPS): ... here.
(n_iv_uses, iv_use, n_iv_cands, iv_cand): Delete.
(dump_iv, dump_use, dump_cand): Refactor format of dump information.
(dump_uses): Rename to ...
(dump_groups): ... here. Update all uses.
(tree_ssa_iv_optimize_init, alloc_iv): Update all uses.
(find_induction_variables): Refactor format of dump information.
(record_sub_use): Delete.
(record_use): Update all uses.
(record_group): New function.
(record_group_use, find_interesting_uses_op): Call above functions.
Update all uses.
(find_interesting_uses_cond): Ditto.
(group_compare_offset): New function.
(split_all_small_groups): Rename to ...
(split_small_address_groups_p): ... here. Update all uses.
(split_address_groups): Update all uses.
(find_interesting_uses): Refactor format of dump information.
(add_candidate_1): Update all uses. Remove redundant check on iv,
base and step.
(add_candidate, record_common_cand): Remove redundant assert.
(add_iv_candidate_for_biv): Update use.
(add_iv_candidate_derived_from_uses): Update all uses.
(add_iv_candidate_for_groups, record_important_candidates): Ditto.
(alloc_use_cost_map): Ditto.
(set_use_iv_cost, get_use_iv_cost): Rename to ...
(set_group_iv_cost, get_group_iv_cost): ... here. Update all uses.
(determine_use_iv_cost_generic): Ditto.
(determine_group_iv_cost_generic): Ditto.
(determine_use_iv_cost_address): Ditto.
(determine_group_iv_cost_address): Ditto.
(determine_use_iv_cost_condition): Ditto.
(determine_group_iv_cost_cond): Ditto.
(determine_use_iv_cost): Ditto.
(determine_group_iv_cost): Ditto.
(set_autoinc_for_original_candidates): Update all uses.
(find_iv_candidates): Update all uses. Refactor dump information.
(determine_use_iv_costs): Ditto.
(determine_iv_costs): Ditto.
(iv_ca_cand_for_use): Rename to ...
(iv_ca_cand_for_group): ... here. Update all uses.
(iv_ca_add_use, iv_ca_add_group): Ditto.
(iv_ca_set_cp, iv_ca_cost, iv_ca_delta_add): Update all uses.
(iv_ca_delta_join, iv_ca_delta_reverse, iv_ca_delta_free): Ditto.
(iv_ca_new, iv_ca_dump, iv_ca_extend, iv_ca_narrow): Ditto.
(iv_ca_prune, cheaper_cost_with_cand, iv_ca_replace): Ditto.
(try_add_cand_for, try_improve_iv_set, find_optimal_iv_set): Ditto.
(create_new_iv, adjust_iv_update_pos): Ditto.
(rewrite_use_address): Delete.
(rewrite_use_address_1): Rename to ...
(rewrite_use_address): ... here.
(rewrite_use_compare): Update all uses.
(rewrite_use): Delete.
(rewrite_uses): Rename to ...
(rewrite_groups): ... here. Update all uses.
(remove_unused_ivs, free_loop_data): Update all uses.
(tree_ssa_iv_optimize_finalize, tree_ssa_iv_optimize_loop): Ditto.
gcc/testsuite/ChangeLog
* gcc.dg/tree-ssa/pr64705.c: Revise check string.
* gcc.dg/tree-ssa/scev-9.c: Ditto.
* gcc.dg/tree-ssa/scev-10.c: Ditto.
* gcc.dg/tree-ssa/scev-11.c: Ditto.
* gcc.dg/tree-ssa/scev-12.c: Ditto.
From-SVN: r235513
2016-04-27 16:51:26 +02:00
|
|
|
|
2016-04-27 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (struct iv): Use pointer to struct iv_use
|
|
|
|
|
instead of redundant use_id and boolean have_use_for.
|
|
|
|
|
(struct iv_use): Change sub_id into group_id. Remove field next.
|
|
|
|
|
Move fields: related_cands, n_map_members, cost_map and selected
|
|
|
|
|
to ...
|
|
|
|
|
(struct iv_group): ... here. New structure.
|
|
|
|
|
(struct iv_common_cand): Use structure declaration directly.
|
|
|
|
|
(struct ivopts_data, iv_ca, iv_ca_delta): Rename fields.
|
|
|
|
|
(MAX_CONSIDERED_USES): Rename macro to ...
|
|
|
|
|
(MAX_CONSIDERED_GROUPS): ... here.
|
|
|
|
|
(n_iv_uses, iv_use, n_iv_cands, iv_cand): Delete.
|
|
|
|
|
(dump_iv, dump_use, dump_cand): Refactor format of dump information.
|
|
|
|
|
(dump_uses): Rename to ...
|
|
|
|
|
(dump_groups): ... here. Update all uses.
|
|
|
|
|
(tree_ssa_iv_optimize_init, alloc_iv): Update all uses.
|
|
|
|
|
(find_induction_variables): Refactor format of dump information.
|
|
|
|
|
(record_sub_use): Delete.
|
|
|
|
|
(record_use): Update all uses.
|
|
|
|
|
(record_group): New function.
|
|
|
|
|
(record_group_use, find_interesting_uses_op): Call above functions.
|
|
|
|
|
Update all uses.
|
|
|
|
|
(find_interesting_uses_cond): Ditto.
|
|
|
|
|
(group_compare_offset): New function.
|
|
|
|
|
(split_all_small_groups): Rename to ...
|
|
|
|
|
(split_small_address_groups_p): ... here. Update all uses.
|
|
|
|
|
(split_address_groups): Update all uses.
|
|
|
|
|
(find_interesting_uses): Refactor format of dump information.
|
|
|
|
|
(add_candidate_1): Update all uses. Remove redundant check on iv,
|
|
|
|
|
base and step.
|
|
|
|
|
(add_candidate, record_common_cand): Remove redundant assert.
|
|
|
|
|
(add_iv_candidate_for_biv): Update use.
|
|
|
|
|
(add_iv_candidate_derived_from_uses): Update all uses.
|
|
|
|
|
(add_iv_candidate_for_groups, record_important_candidates): Ditto.
|
|
|
|
|
(alloc_use_cost_map): Ditto.
|
|
|
|
|
(set_use_iv_cost, get_use_iv_cost): Rename to ...
|
|
|
|
|
(set_group_iv_cost, get_group_iv_cost): ... here. Update all uses.
|
|
|
|
|
(determine_use_iv_cost_generic): Ditto.
|
|
|
|
|
(determine_group_iv_cost_generic): Ditto.
|
|
|
|
|
(determine_use_iv_cost_address): Ditto.
|
|
|
|
|
(determine_group_iv_cost_address): Ditto.
|
|
|
|
|
(determine_use_iv_cost_condition): Ditto.
|
|
|
|
|
(determine_group_iv_cost_cond): Ditto.
|
|
|
|
|
(determine_use_iv_cost): Ditto.
|
|
|
|
|
(determine_group_iv_cost): Ditto.
|
|
|
|
|
(set_autoinc_for_original_candidates): Update all uses.
|
|
|
|
|
(find_iv_candidates): Update all uses. Refactor dump information.
|
|
|
|
|
(determine_use_iv_costs): Ditto.
|
|
|
|
|
(determine_iv_costs): Ditto.
|
|
|
|
|
(iv_ca_cand_for_use): Rename to ...
|
|
|
|
|
(iv_ca_cand_for_group): ... here. Update all uses.
|
|
|
|
|
(iv_ca_add_use, iv_ca_add_group): Ditto.
|
|
|
|
|
(iv_ca_set_cp, iv_ca_cost, iv_ca_delta_add): Update all uses.
|
|
|
|
|
(iv_ca_delta_join, iv_ca_delta_reverse, iv_ca_delta_free): Ditto.
|
|
|
|
|
(iv_ca_new, iv_ca_dump, iv_ca_extend, iv_ca_narrow): Ditto.
|
|
|
|
|
(iv_ca_prune, cheaper_cost_with_cand, iv_ca_replace): Ditto.
|
|
|
|
|
(try_add_cand_for, try_improve_iv_set, find_optimal_iv_set): Ditto.
|
|
|
|
|
(create_new_iv, adjust_iv_update_pos): Ditto.
|
|
|
|
|
(rewrite_use_address): Delete.
|
|
|
|
|
(rewrite_use_address_1): Rename to ...
|
|
|
|
|
(rewrite_use_address): ... here.
|
|
|
|
|
(rewrite_use_compare): Update all uses.
|
|
|
|
|
(rewrite_use): Delete.
|
|
|
|
|
(rewrite_uses): Rename to ...
|
|
|
|
|
(rewrite_groups): ... here. Update all uses.
|
|
|
|
|
(remove_unused_ivs, free_loop_data): Update all uses.
|
|
|
|
|
(tree_ssa_iv_optimize_finalize, tree_ssa_iv_optimize_loop): Ditto.
|
|
|
|
|
|
2016-04-27 16:38:10 +02:00
|
|
|
|
2016-04-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* rtlanal.c (nonzero_bits1): Convert preprocessor check
|
|
|
|
|
for WORD_REGISTER_OPERATIONS to runtime check.
|
|
|
|
|
|
2016-04-27 16:10:04 +02:00
|
|
|
|
2016-04-27 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR ipa/70760
|
|
|
|
|
* tree-ssa-structalias.c (find_func_aliases_for_call): Use
|
|
|
|
|
aggregate_value_p to determine if a function result is
|
|
|
|
|
returned by reference.
|
|
|
|
|
(ipa_pta_execute): Functions having their address taken are
|
|
|
|
|
not automatically nonlocal.
|
|
|
|
|
|
2016-04-27 15:29:34 +02:00
|
|
|
|
2016-04-27 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/70683
|
|
|
|
|
* tree-core.h (enum operand_equal_flag): Add OEP_NO_HASH_CHECK.
|
|
|
|
|
* fold-const.c (operand_equal_p): If flag_checking and
|
|
|
|
|
OEP_NO_HASH_CHECK is not set in flag, recurse with OEP_NO_HASH_CHECK
|
|
|
|
|
and if it returns non-zero, assert iterative_hash_expr on both
|
|
|
|
|
args is the same.
|
|
|
|
|
|
2016-04-27 13:43:58 +02:00
|
|
|
|
2016-04-27 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (-frename-registers): Also enabled at -Os.
|
|
|
|
|
|
2016-04-27 13:29:20 +02:00
|
|
|
|
2016-04-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/49889
|
|
|
|
|
* varasm.c (merge_weak): Generate an error if an attempt is made
|
|
|
|
|
to convert a non-weak static function into a weak, public function.
|
|
|
|
|
|
2016-04-27 12:46:16 +02:00
|
|
|
|
2016-04-27 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
|
|
|
|
|
|
|
|
|
|
* params.def (MAX_PARTITION_SIZE): New param.
|
2016-04-27 12:50:07 +02:00
|
|
|
|
* doc/invoke.texi: Document lto-max-partition.
|
2016-04-27 12:46:16 +02:00
|
|
|
|
|
2016-04-27 12:42:08 +02:00
|
|
|
|
2016-04-27 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR ipa/70785
|
|
|
|
|
* tree-ssa-structalias.c (refered_from_nonlocal_fn): New
|
|
|
|
|
function cummulating used_from_other_partition, externally_visible
|
|
|
|
|
and force_output from aliases.
|
|
|
|
|
(refered_from_nonlocal_var): Likewise.
|
|
|
|
|
(ipa_pta_execute): Use call_for_symbol_and_aliases to cummulate
|
|
|
|
|
node flags properly.
|
|
|
|
|
|
2016-04-27 11:48:56 +02:00
|
|
|
|
2016-04-27 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Warning Options): Add -Wmemset-elt-size.
|
|
|
|
|
(-Wmemset-elt-size): New item.
|
|
|
|
|
|
2016-04-27 09:49:49 +02:00
|
|
|
|
2016-04-27 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR ada/70759
|
|
|
|
|
* stor-layout.h (internal_reference_types): Delete.
|
|
|
|
|
* stor-layout.c (reference_types_internal): Likewise.
|
|
|
|
|
(internal_reference_types): Likewise.
|
|
|
|
|
(layout_type) <REFERENCE_TYPE>: Adjust.
|
|
|
|
|
|
2016-04-27 09:45:57 +02:00
|
|
|
|
2016-04-27 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/70683
|
|
|
|
|
* tree.h (inchash::add_expr): Add FLAGS argument.
|
|
|
|
|
* tree.c (inchash::add_expr): Likewise. If not OEP_ADDRESS_OF,
|
|
|
|
|
use STRIP_NOPS first. For INTEGER_CST assert not OEP_ADDRESS_OF.
|
|
|
|
|
For REAL_CST and !HONOR_SIGNED_ZEROS (t) hash +/- 0 the same.
|
|
|
|
|
Formatting fix. Adjust recursive calls. For tcc_comparison,
|
|
|
|
|
if swap_tree_comparison (code) is smaller than code, hash that
|
|
|
|
|
and arguments in the other order. Hash CONVERT_EXPR the same
|
|
|
|
|
as NOP_EXPR. For OEP_ADDRESS_OF hash MEM_REF with 0 offset
|
|
|
|
|
of ADDR_EXPR of decl as the decl itself. Add or remove
|
|
|
|
|
OEP_ADDRESS_OF from recursive flags as needed. For
|
|
|
|
|
FMA_EXPR, WIDEN_MULT_{PLUS,MINUS}_EXPR hash the first two
|
|
|
|
|
operands commutatively and only the third one normally.
|
|
|
|
|
For internal CALL_EXPR hash in CALL_EXPR_IFN.
|
|
|
|
|
|
2016-04-27 09:14:42 +02:00
|
|
|
|
2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* config/rtems.h (LIB_SPEC): Add -latomic.
|
|
|
|
|
|
2016-04-27 09:06:43 +02:00
|
|
|
|
2016-04-27 Joel Sherrill <joel@rtems.org>
|
|
|
|
|
|
|
|
|
|
* config/microblaze/rtems.h: Redefine LINK_SPEC to avoid
|
|
|
|
|
xilink.ld and flags not relevant to RTEMS.
|
|
|
|
|
|
2016-04-26 22:52:16 +02:00
|
|
|
|
2016-04-26 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
|
|
|
|
|
|
|
|
|
|
* toplev.c (backend_init_target): Avoid calling init_reload when using
|
|
|
|
|
LRA.
|
|
|
|
|
|
2016-04-26 22:32:05 +02:00
|
|
|
|
2016-04-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* reorg.c (try_merge_delay_insns): Declare i and j inside the
|
|
|
|
|
for loops rather than one for the whole function.
|
|
|
|
|
|
2016-04-26 17:03:08 +02:00
|
|
|
|
2016-04-26 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* match.pd (X + CST CMP X): New transformation.
|
|
|
|
|
|
2016-04-26 16:02:09 +02:00
|
|
|
|
2016-04-26 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* genmatch.c (write_predicate): Add ATTRIBUTE_UNUSED.
|
|
|
|
|
* fold-const.c (fold_binary_loc): Remove 2 transformations
|
|
|
|
|
superseded by match.pd.
|
|
|
|
|
* match.pd (x+x -> x*2): Generalize to integers.
|
|
|
|
|
|
2016-04-26 14:43:42 +02:00
|
|
|
|
2016-04-26 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
2016-04-26 14:57:50 +02:00
|
|
|
|
* config/i386/i386.md (operation on memory peephole): Duplicate an
|
|
|
|
|
existing peephole and adapt it to match lea rather than an operation
|
|
|
|
|
that clobbers CC.
|
|
|
|
|
|
2016-04-26 14:43:42 +02:00
|
|
|
|
PR rtl-optimization/57193
|
|
|
|
|
* opts.c (default_options_table): Add OPT_frename_registers at -O2
|
|
|
|
|
and above.
|
|
|
|
|
* doc/invoke.texi (-frename-registers, -O2): Update documentation.
|
|
|
|
|
|
2016-04-26 13:16:07 +02:00
|
|
|
|
2016-04-26 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-if-conv.c (any_pred_load_store): New static variable.
|
|
|
|
|
(if_convertible_gimple_assign_stmt_p): Remove parameter. Use
|
|
|
|
|
any_pred_load_store instead of and_mask_load_store.
|
|
|
|
|
(if_convertible_stmt_p, if_convertible_loop_p_1): Ditto.
|
|
|
|
|
(if_convertible_loop_p, insert_gimplified_predicates): Ditto.
|
|
|
|
|
(combine_blocks, tree_if_conversion): Ditto.
|
|
|
|
|
|
2016-04-26 13:10:47 +02:00
|
|
|
|
2016-04-26 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70771
|
|
|
|
|
PR tree-optimization/70775
|
|
|
|
|
* tree-if-conv.c (if_convertible_phi_p): Remove check on special
|
|
|
|
|
virtual PHI nodes. Delete parameter.
|
|
|
|
|
(if_convertible_loop_p_1): Delete argument to above function.
|
|
|
|
|
(predicate_all_scalar_phis): Delete code handling single-argument
|
|
|
|
|
PHIs.
|
|
|
|
|
(tree_if_conversion): Mark and update virtual SSA.
|
|
|
|
|
|
2016-04-26 12:10:33 +02:00
|
|
|
|
2016-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR target/61821
|
|
|
|
|
* config/i386/i386.c (LARGECOMM_SECTION_ASM_OP): Define default.
|
|
|
|
|
(x86_elf_aligned_common): Rename to ...
|
|
|
|
|
(x86_elf_aligned_decl_common): ... this.
|
|
|
|
|
Add decl arg. Switch to .lbss for largecomm object. Use
|
|
|
|
|
LARGECOMM_SECTION_ASM_OP.
|
|
|
|
|
* config/i386/i386-protos.h (x86_elf_aligned_common): Reflect
|
|
|
|
|
renaming.
|
|
|
|
|
* config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_COMMON): Rename to ...
|
|
|
|
|
(ASM_OUTPUT_ALIGNED_DECL_COMMON): ... this.
|
|
|
|
|
Pass new decl arg.
|
|
|
|
|
* config/i386/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
|
|
|
|
|
[!USE_GAS] (LARGECOMM_SECTION_ASM_OP): Define.
|
|
|
|
|
|
2016-04-26 12:06:16 +02:00
|
|
|
|
2016-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR target/59407
|
|
|
|
|
* config/i386/i386.c (SECTION_LARGE): Define.
|
|
|
|
|
(x86_64_elf_select_section): Set it for large data/bss sections.
|
|
|
|
|
Only clear SECTION_WRITE for .lrodata.
|
|
|
|
|
(x86_64_elf_section_type_flags): Set SECTION_LARGE for large
|
|
|
|
|
data/bss sections.
|
|
|
|
|
* config/i386/sol2.h (MACH_DEP_SECTION_ASM_FLAG): Define.
|
|
|
|
|
* varasm.c (default_elf_asm_named_section): Grow flagchars.
|
|
|
|
|
[MACH_DEP_SECTION_ASM_FLAG] Emit MACH_DEP_SECTION_ASM_FLAG for
|
|
|
|
|
SECTION_MACH_DEP.
|
|
|
|
|
* doc/tm.texi.in (Sections, MACH_DEP_SECTION_ASM_FLAG): Describe.
|
|
|
|
|
* doc/tm.texi: Regenerate.
|
|
|
|
|
|
2016-04-26 08:10:43 +02:00
|
|
|
|
2016-04-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/70704
|
|
|
|
|
* configure.ac (--enable-checking): Document extra flag, for
|
|
|
|
|
non-release builds default to --enable-checking=yes,extra.
|
|
|
|
|
If misc checking and extra checking, define CHECKING_P to 2 instead
|
|
|
|
|
of 1.
|
|
|
|
|
* common.opt (fchecking=): Add.
|
|
|
|
|
* doc/invoke.texi (-fchecking=): Document.
|
|
|
|
|
* doc/install.texi: Document --enable-checking changes.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
|
2016-04-25 23:57:42 +02:00
|
|
|
|
2016-04-25 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*movxi_internal_avx512f): Use insn type
|
|
|
|
|
attribute instead of which_alternative.
|
|
|
|
|
* config/i386/sse.md (*mov<mode>_internal): Ditto.
|
|
|
|
|
Use EXT_REX_SSE_REG_P where appropriate.
|
|
|
|
|
|
2016-04-25 21:20:45 +02:00
|
|
|
|
2016-04-25 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/predicates.md (const0_operand): Do not match
|
|
|
|
|
const_wide_int code.
|
|
|
|
|
(const1_operand): Ditto.
|
|
|
|
|
|
2016-04-25 21:15:26 +02:00
|
|
|
|
2016-04-25 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*movoi_internal_avx): Set mode attribute to XI
|
|
|
|
|
for SSE constm1 operands and TARGET_AVX512VL.
|
|
|
|
|
(*movti_internal): Ditto.
|
|
|
|
|
(*mov<mode>_or): Use constm1_operand predicate.
|
|
|
|
|
* config/i386/sse.md (*mov<mode>_internal): Set mode attribute to XI
|
|
|
|
|
for SSE vector_all_ones operands and TARGET_AVX512VL.
|
|
|
|
|
* config/i386/predicates.md (constm1_operand): New predicate.
|
|
|
|
|
* config/i386/i386.c (standard_sse_constant_opcode): Simplify
|
|
|
|
|
emission of constant -1 load.
|
|
|
|
|
|
2016-04-25 19:21:49 +02:00
|
|
|
|
2016-04-25 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
2016-04-25 19:44:15 +02:00
|
|
|
|
* gdbinit.in: Skip is-a.h.
|
|
|
|
|
|
2016-04-25 19:21:49 +02:00
|
|
|
|
* attribs.c (register_scoped_attributes): Fix logic.
|
|
|
|
|
* attribs.h: Declare register_scoped_attributes.
|
|
|
|
|
|
2016-04-25 18:17:26 +02:00
|
|
|
|
2016-04-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
2016-04-25 18:18:00 +02:00
|
|
|
|
* config/rs6000/rs6000-builtin.def: Correct pasto error for
|
|
|
|
|
stxvd2x and stxvw4x built-in functions.
|
2016-04-25 18:17:26 +02:00
|
|
|
|
|
2016-04-25 13:59:44 +02:00
|
|
|
|
2016-04-25 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/msp430.md (ashlhi3): Optimize one bit shifts.
|
|
|
|
|
(ashrhi3): Likewise.
|
|
|
|
|
(lshrhi3): Likewise.
|
|
|
|
|
|
2016-04-25 12:49:55 +02:00
|
|
|
|
2016-04-25 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70780
|
|
|
|
|
* tree-ssa-pre.c (compute_antic_aux): Also return true if the block
|
|
|
|
|
wasn't visited yet.
|
|
|
|
|
(compute_antic): Mark blocks with abnormal preds as visited as
|
|
|
|
|
they have a final empty antic-in solution already.
|
|
|
|
|
|
2016-04-25 07:03:09 +02:00
|
|
|
|
2016-04-25 Michael Collison <michael.collison@linaro.org>
|
2016-04-25 12:49:55 +02:00
|
|
|
|
|
2016-04-25 07:57:07 +02:00
|
|
|
|
* ChangeLog(2016-04-25): Fix ChangeLog formatting.
|
|
|
|
|
|
|
|
|
|
2016-04-25 Michael Collison <michael.collison@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/neon.md (widen_<us>sum<mode>): New patterns where
|
|
|
|
|
mode is VQI to improve mixed mode vectorization.
|
|
|
|
|
* config/arm/neon.md (vec_sel_widen_ssum_lo<VQI:mode><VW:mode>3): New
|
|
|
|
|
define_insn to match low half of signed vaddw.
|
|
|
|
|
* config/arm/neon.md (vec_sel_widen_ssum_hi<VQI:mode><VW:mode>3): New
|
|
|
|
|
define_insn to match high half of signed vaddw.
|
|
|
|
|
* config/arm/neon.md (vec_sel_widen_usum_lo<VQI:mode><VW:mode>3): New
|
|
|
|
|
define_insn to match low half of unsigned vaddw.
|
|
|
|
|
* config/arm/neon.md (vec_sel_widen_usum_hi<VQI:mode><VW:mode>3): New
|
|
|
|
|
define_insn to match high half of unsigned vaddw.
|
|
|
|
|
* config/arm/arm.c (arm_simd_vect_par_cnst_half): New function.
|
|
|
|
|
(arm_simd_check_vect_par_cnst_half_p): Likewise.
|
|
|
|
|
* config/arm/arm-protos.h (arm_simd_vect_par_cnst_half): Prototype
|
|
|
|
|
for new function.
|
|
|
|
|
(arm_simd_check_vect_par_cnst_half_p): Likewise.
|
|
|
|
|
* config/arm/predicates.md (vect_par_constant_high): Support
|
|
|
|
|
big endian and simplify by calling
|
|
|
|
|
arm_simd_check_vect_par_cnst_half
|
|
|
|
|
(vect_par_constant_low): Likewise.
|
2016-04-25 07:03:09 +02:00
|
|
|
|
|
2016-04-25 00:03:15 +02:00
|
|
|
|
2016-04-25 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*lea<mode>_general_4): Use const_0_to_3_operand
|
|
|
|
|
predicate for operand 2.
|
|
|
|
|
|
2016-04-24 22:58:02 +02:00
|
|
|
|
2016-04-24 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386-protos.h (standard_sse_constant_p): Add
|
|
|
|
|
machine_mode argument.
|
|
|
|
|
* config/i386/i386.c (standard_sse_constant_p): Return 2 for
|
|
|
|
|
constm1_rtx operands. For VOIDmode constants, get mode from
|
|
|
|
|
pred_mode. Check mode size if the mode is supported by ABI.
|
|
|
|
|
(standard_sse_constant_opcode): Do not use standard_constant_p.
|
|
|
|
|
Strictly check ABI support for all-ones operands.
|
|
|
|
|
(ix86_legitimate_constant_p): Handle TImode, OImode and XImode
|
|
|
|
|
immediates. Update calls to standard_sse_constant_p.
|
|
|
|
|
(ix86_expand_vector_move): Update calls to standard_sse_constant_p.
|
|
|
|
|
(ix86_rtx_costs): Ditto.
|
|
|
|
|
* config/i386/i386.md (*movxi_internal_avx512f): Use
|
|
|
|
|
nonimmediate_or_sse_const_operand instead of vector_move_operand.
|
|
|
|
|
Use (v,BC) alternative instead of (v,C). Use register_operand
|
|
|
|
|
checks instead of MEM_P.
|
|
|
|
|
(*movoi_internal_avx): Use nonimmediate_or_sse_const_operand instead
|
|
|
|
|
of vector_move_operand. Add (v,BC) alternative and corresponding avx2
|
|
|
|
|
isa attribute. Use register_operand checks instead of MEM_P.
|
|
|
|
|
(*movti_internal): Use nonimmediate_or_sse_const_operand for
|
|
|
|
|
TARGET_SSE. Improve TARGET_SSE insn constraint. Add (v,BC)
|
|
|
|
|
alternative and corresponding sse2 isa attribute.
|
|
|
|
|
(*movtf_internal, *movdf_internal, *movsf_interal): Update calls
|
|
|
|
|
to standard_sse_constant_p.
|
|
|
|
|
(FP constant splitters): Ditto.
|
|
|
|
|
* config/i386/constraints.md (BC): Do not use standard_sse_constant_p.
|
|
|
|
|
(C): Ditto.
|
|
|
|
|
* config/i386/predicates.md (constm1_operand): Remove.
|
|
|
|
|
(nonimmediate_or_sse_const_operand): Rewrite using RTX.
|
|
|
|
|
* config/i386/sse.md (*<avx512>_cvtmask2<ssemodesuffix><mode>): Use
|
|
|
|
|
vector_all_ones_operand instead of constm1_operand.
|
|
|
|
|
|
2016-04-24 10:45:38 +02:00
|
|
|
|
2016-04-24 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* print-rtl.c (print_rtx_insn_vec): New function.
|
|
|
|
|
* print-rtl.h: New prototype.
|
|
|
|
|
* store-motion.c (struct st_expr): Make avail_stores a vector.
|
|
|
|
|
(st_expr_entry): Adjust.
|
|
|
|
|
(free_st_expr_entry): Likewise.
|
|
|
|
|
(print_store_motion_mems): Likewise.
|
|
|
|
|
(find_moveable_store): Likewise.
|
|
|
|
|
(compute_store_table): Likewise.
|
|
|
|
|
(delete_store): Likewise.
|
|
|
|
|
(build_store_vectors): Likewise.
|
|
|
|
|
|
2016-04-24 10:45:13 +02:00
|
|
|
|
2016-04-24 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* reorg.c (try_merge_delay_insns): Make merged_insns a vector.
|
|
|
|
|
|
2016-04-24 09:47:38 +02:00
|
|
|
|
2016-04-24 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* vec.h (vec_safe_contains): New function.
|
|
|
|
|
(vec::contains): Likewise.
|
|
|
|
|
(vec::begin): Likewise.
|
|
|
|
|
(vec::end): Likewise.
|
|
|
|
|
|
2016-04-23 07:28:16 +02:00
|
|
|
|
2016-04-23 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/70712
|
|
|
|
|
* cfgexpand.c (expand_stack_vars): Fix typo.
|
|
|
|
|
|
2016-04-22 13:00:42 +02:00
|
|
|
|
2016-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
* system.h (list, map, set, vector): Include conditionally.
|
|
|
|
|
* auto-profile.c (INCLUDE_MAP, INCLUDE_SET): Define.
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (INCLUDE_MAP): Define.
|
|
|
|
|
* ipa-icf.c (INCLUDE_LIST): Define.
|
|
|
|
|
* config/aarch64/cortex-a57-fma-steering.c (INCLUDE_LIST): Define.
|
|
|
|
|
* config/sh/sh.c (INCLUDE_VECTOR): Define.
|
|
|
|
|
* config/sh/sh_treg_combine.cc (INCLUDE_ALGORITHM): Define.
|
|
|
|
|
(INCLUDE_LIST, INCLUDE_VECTOR): Define.
|
|
|
|
|
* cp/logic.cc (INCLUDE_LIST): Define.
|
|
|
|
|
* fortran/trans-common.c (INCLUDE_MAP): Define.
|
|
|
|
|
|
2016-04-22 12:57:56 +02:00
|
|
|
|
2016-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
* auto-profile.c: Remove <string.h> include.
|
|
|
|
|
* ipa-icf-gimple.c: Remove <list> include.
|
|
|
|
|
* diagnostic.c: Remove <new> include.
|
|
|
|
|
* genmatch.c: Likewise.
|
|
|
|
|
* pretty-print.c: Likewise.
|
|
|
|
|
* toplev.c: Likewise
|
|
|
|
|
* c/c-objc-common.c: Likewise.
|
|
|
|
|
* cp/error.c: Likewise.
|
|
|
|
|
* fortran/error.c: Likewise.
|
|
|
|
|
|
2016-04-22 11:05:10 +02:00
|
|
|
|
2016-04-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* lto-streamer-in.c (input_ssa_names): Do not allocate
|
|
|
|
|
GIMPLE_NOP for all SSA names.
|
|
|
|
|
* lto-streamer-out.c (output_ssa_names): Do not output
|
|
|
|
|
SSA names that should have been released.
|
|
|
|
|
|
2016-04-22 08:59:32 +02:00
|
|
|
|
2016-04-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70740
|
|
|
|
|
* tree-ssa-phiprop.c (propagate_with_phi): Handle inserted
|
|
|
|
|
VDEF.
|
|
|
|
|
|
2016-04-22 00:01:34 +02:00
|
|
|
|
2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70750
|
|
|
|
|
* config/i386/predicates.md (call_insn_operand): Replace
|
|
|
|
|
sibcall_memory_operand with memory_operand.
|
|
|
|
|
|
2016-04-21 23:58:08 +02:00
|
|
|
|
2016-04-21 Patrick Palka <ppalka@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* tree-vrp.c (register_edge_assert_for_2): Remove redundant
|
|
|
|
|
has_single_use() tests.
|
|
|
|
|
(register_edge_assert_for_1): Likewise.
|
|
|
|
|
(find_assert_locations_1): Check the liveness bitmap instead of
|
|
|
|
|
checking has_single_use().
|
|
|
|
|
|
2016-04-21 17:29:29 +02:00
|
|
|
|
2016-04-21 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70728
|
|
|
|
|
* gcc/config/i386/sse.md (define_insn "<shift_insn><mode>3<mask_name>"):
|
|
|
|
|
Extract AVX-512BW constraint from AVX.
|
|
|
|
|
|
2016-04-21 16:09:33 +02:00
|
|
|
|
2016-04-21 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70725
|
|
|
|
|
* tree-if-conv.c (if_convertible_phi_p): Adjust guard
|
|
|
|
|
for phi_convertible_by_degenerating_args.
|
|
|
|
|
(predicate_all_scalar_phis): Handle single-argument PHIs.
|
|
|
|
|
|
2016-04-21 13:52:50 +02:00
|
|
|
|
2016-04-21 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70747
|
|
|
|
|
* fold-const.c (fold_comparison): Return properly typed
|
|
|
|
|
constant boolean.
|
|
|
|
|
|
2016-04-21 13:28:58 +02:00
|
|
|
|
2016-04-21 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70715
|
|
|
|
|
* tree-ssa-loop-niter.c (loop_exits_before_overflow): Check equality
|
|
|
|
|
after expanding BASE using expand_simple_operations.
|
|
|
|
|
|
min(-x, -y), min(~x, ~y)
2016-04-21 Marc Glisse <marc.glisse@inria.fr>
gcc/
* match.pd (min(-x, -y), max(-x, -y), min(~x, ~y), max(~x, ~y)):
New transformations.
gcc/testsuite/
* gcc.dg/tree-ssa/minmax-2.c: New testcase.
From-SVN: r235332
2016-04-21 12:45:11 +02:00
|
|
|
|
2016-04-21 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* match.pd (min(-x, -y), max(-x, -y), min(~x, ~y), max(~x, ~y)):
|
|
|
|
|
New transformations.
|
|
|
|
|
|
2016-04-21 11:32:32 +02:00
|
|
|
|
2016-04-21 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
|
|
|
|
|
* match.pd (min(int_max, x), max(int_min, x)): New transformations.
|
|
|
|
|
|
2016-04-21 11:08:08 +02:00
|
|
|
|
2016-04-20 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
* ipa-inline.c (can_inline_edge_p): Pass caller info to
|
|
|
|
|
ultiimate_alias_target.
|
|
|
|
|
(update_callee_keys): Likewise.
|
|
|
|
|
(lookup_recursive_calls): Likewise.
|
|
|
|
|
(speculation_useful_p): Likewise.
|
|
|
|
|
|
2016-04-21 11:05:07 +02:00
|
|
|
|
2016-04-20 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/70018
|
|
|
|
|
* cgraph.c (cgraph_set_nothrow_flag_1): Rename to ...
|
|
|
|
|
(set_nothrow_flag_1): ... this; handle interposition correctly;
|
|
|
|
|
recurse on aliases and thunks.
|
|
|
|
|
(cgraph_node::set_nothrow_flag): New.
|
|
|
|
|
* ipa-pure-const.c (ignore_edge_for_nothrow): Ignore calls to
|
|
|
|
|
functions compiled with non-call exceptions that binds to current
|
|
|
|
|
def.
|
|
|
|
|
(propagate_nothrow): Be safe WRT interposition.
|
|
|
|
|
* cgraph.h (set_nothrow_flag): Update prototype.
|
|
|
|
|
|
2016-04-21 10:52:41 +02:00
|
|
|
|
2016-04-18 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Use also
|
|
|
|
|
max_loop_iterations_int.
|
|
|
|
|
(tree_unswitch_outer_loop): Likewise.
|
|
|
|
|
|
2016-04-20 17:57:01 +02:00
|
|
|
|
2016-04-20 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69489
|
|
|
|
|
* tree-if-conv.c (phi_convertible_by_degenerating_args): New.
|
|
|
|
|
(if_convertible_phi_p): Call phi_convertible_by_degenerating_args.
|
|
|
|
|
Revise dump message.
|
|
|
|
|
(if_convertible_bb_p): Remove check on edge count of basic block's
|
|
|
|
|
predecessors.
|
|
|
|
|
|
2016-04-20 17:41:45 +02:00
|
|
|
|
2016-04-20 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/56625
|
|
|
|
|
PR tree-optimization/69489
|
|
|
|
|
* tree-data-ref.h (DR_INNERMOST): New macro.
|
|
|
|
|
* tree-if-conv.c (innermost_loop_behavior_hash): New class for
|
|
|
|
|
hashing struct innermost_loop_behavior.
|
|
|
|
|
(ref_DR_map): Remove.
|
|
|
|
|
(innermost_DR_map): New map.
|
|
|
|
|
(baseref_DR_map): Revise comment.
|
|
|
|
|
(hash_memrefs_baserefs_and_store_DRs_read_written_info): Store DR
|
|
|
|
|
to innermost_DR_map accroding to its innermost loop behavior.
|
|
|
|
|
(ifcvt_memrefs_wont_trap): Get DR from innermost_DR_map according
|
|
|
|
|
to its innermost loop behavior.
|
|
|
|
|
(if_convertible_loop_p_1): Remove intialization for ref_DR_map.
|
|
|
|
|
Add initialization for innermost_DR_map. Record memory reference
|
|
|
|
|
in DR_BASE_ADDRESS if the reference is compound one or it doesn't
|
|
|
|
|
have innermost loop behavior.
|
|
|
|
|
(if_convertible_loop_p): Remove release for ref_DR_map. Release
|
|
|
|
|
innermost_DR_map.
|
|
|
|
|
|
2016-04-20 16:33:05 +02:00
|
|
|
|
2016-04-20 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*lea<mode>_general_1): Rename from
|
|
|
|
|
*lea_general_1. Use explicit SWI12 mode interator.
|
|
|
|
|
(*lea<mode>_general_2): Rename from *lea_general_2.
|
|
|
|
|
Use explicit SWI12 mode interator.
|
|
|
|
|
(*lea<mode>_general_3): Rename from *lea_general_3.
|
|
|
|
|
Use explicit SWI12 mode interator.
|
|
|
|
|
(*lea<SWI12:mode>_general_4): Split from *lea_general_4.
|
|
|
|
|
Use explicit SWI12 mode interator.
|
|
|
|
|
(*lea<SWI48:mode>_general_4): Split from *lea_general_4.
|
|
|
|
|
Use explicit SWI48 mode interator.
|
|
|
|
|
|
2016-04-20 15:39:28 +02:00
|
|
|
|
2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_avx256_split_vector_move_misalign):
|
|
|
|
|
Short-cut unaligned load and store cases. Handle all integer
|
|
|
|
|
vector modes.
|
|
|
|
|
(ix86_expand_vector_move_misalign): Short-cut unaligned load
|
|
|
|
|
and store cases. Call ix86_avx256_split_vector_move_misalign
|
|
|
|
|
directly without checking mode class.
|
|
|
|
|
|
2016-04-20 15:29:32 +02:00
|
|
|
|
2016-04-20 Andrew Pinski <apinski@cavium.com>
|
2016-04-27 20:10:02 +02:00
|
|
|
|
Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
2016-04-20 15:29:32 +02:00
|
|
|
|
|
|
|
|
|
PR target/64971
|
|
|
|
|
* config/aarch64/aarch64.md (sibcall): Force call
|
|
|
|
|
address to be DImode for ILP32.
|
|
|
|
|
(sibcall_value): Likewise.
|
|
|
|
|
|
2016-04-20 14:55:36 +02:00
|
|
|
|
2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi: Replace -skip-rax-setup with -mskip-rax-setup.
|
|
|
|
|
|
2016-04-20 14:49:58 +02:00
|
|
|
|
2016-04-20 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* gimple-match.h (maybe_build_generic_op): Adjust prototype.
|
|
|
|
|
* gimple-match-head.c (maybe_build_generic_op): Pass all ops
|
|
|
|
|
by reference, clear op1 and op2 when GENERICizing BIT_FIELD_REF.
|
|
|
|
|
(maybe_push_res_to_seq): Adjust.
|
|
|
|
|
* gimple-fold.c (maybe_build_generic_op): Likewise.
|
|
|
|
|
|
2016-04-20 14:37:38 +02:00
|
|
|
|
2016-04-20 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tree-if-conv.c (is_false_predicate): For NULL_TREE return false
|
|
|
|
|
rather than true.
|
|
|
|
|
|
2016-04-20 13:47:13 +02:00
|
|
|
|
2016-04-20 Ilya Enkovich <ilya.enkovich@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sse.md (vec_unpacks_lo_hi): Always
|
|
|
|
|
use kmovw to support AVX512F target.
|
|
|
|
|
|
2016-04-20 13:42:36 +02:00
|
|
|
|
2016-04-20 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-scalar-evolution.c (interpret_rhs_expr): Handle BIT_AND_EXPR.
|
|
|
|
|
|
2016-04-20 11:32:45 +02:00
|
|
|
|
2016-04-20 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70725
|
|
|
|
|
* tree-if-conv.c (is_false_predicate): New function.
|
|
|
|
|
(predicate_mem_writes): Use it.
|
|
|
|
|
|
2016-04-20 09:20:16 +02:00
|
|
|
|
2016-04-20 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70726
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_shift): Do not use scalar
|
|
|
|
|
shift amounts from a pattern stmt operand.
|
|
|
|
|
|
2016-04-20 09:13:23 +02:00
|
|
|
|
2016-04-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70674
|
|
|
|
|
* config/s390/s390.c (s390_restore_gprs_from_fprs): Pick the new
|
|
|
|
|
stack_restore_from_fpr pattern when restoring r15.
|
|
|
|
|
(s390_optimize_prologue): Strip away the memory barrier in the
|
|
|
|
|
parallel when trying to get rid of restore insns.
|
|
|
|
|
* config/s390/s390.md ("stack_restore_from_fpr"): New insn
|
|
|
|
|
definition for loading the stack pointer from an FPR. Compared to
|
|
|
|
|
the normal move insn this pattern includes a full memory barrier.
|
|
|
|
|
|
2016-04-20 03:42:24 +02:00
|
|
|
|
2016-04-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70680
|
|
|
|
|
* gimplify.c (gimplify_omp_for): Call omp_notice_variable for
|
|
|
|
|
implicitly linear or lastprivate iterator on the outer context.
|
|
|
|
|
|
2016-04-20 00:39:28 +02:00
|
|
|
|
2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_legitimate_combined_insn): Remove
|
|
|
|
|
alignment check.
|
|
|
|
|
* config/i386/i386.md (ssememalign): Removed.
|
|
|
|
|
* config/i386/sse.md: Remove ssememalign attribute from patterns.
|
|
|
|
|
|
2016-04-19 16:33:36 +02:00
|
|
|
|
2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/69201
|
|
|
|
|
* config/i386/avx512bwintrin.h (_mm512_mask_loadu_epi16): Pass
|
|
|
|
|
const short * to __builtin_ia32_loaddquhi512_mask.
|
|
|
|
|
(_mm512_maskz_loadu_epi16): Likewise.
|
|
|
|
|
(_mm512_mask_storeu_epi16): Pass short * to
|
|
|
|
|
__builtin_ia32_storedquhi512_mask.
|
|
|
|
|
(_mm512_mask_loadu_epi8): Pass const char * to
|
|
|
|
|
__builtin_ia32_loaddquqi512_mask.
|
|
|
|
|
(_mm512_maskz_loadu_epi8): Likewise.
|
|
|
|
|
(_mm512_mask_storeu_epi8): Pass char * to
|
|
|
|
|
__builtin_ia32_storedquqi512_mask.
|
|
|
|
|
* config/i386/avx512fintrin.h (_mm512_loadu_pd): Pass
|
|
|
|
|
const double * to __builtin_ia32_loadupd512_mask.
|
|
|
|
|
(_mm512_mask_loadu_pd): Likewise.
|
|
|
|
|
(_mm512_maskz_loadu_pd): Likewise.
|
|
|
|
|
(_mm512_storeu_pd): Pass double * to
|
|
|
|
|
__builtin_ia32_storeupd512_mask.
|
|
|
|
|
(_mm512_mask_storeu_pd): Likewise.
|
|
|
|
|
(_mm512_loadu_ps): Pass const float * to
|
|
|
|
|
__builtin_ia32_loadups512_mask.
|
|
|
|
|
(_mm512_mask_loadu_ps): Likewise.
|
|
|
|
|
(_mm512_maskz_loadu_ps): Likewise.
|
|
|
|
|
(_mm512_storeu_ps): Pass float * to
|
|
|
|
|
__builtin_ia32_storeups512_mask.
|
|
|
|
|
(_mm512_mask_storeu_ps): Likewise.
|
|
|
|
|
(_mm512_mask_loadu_epi64): Pass const long long * to
|
|
|
|
|
__builtin_ia32_loaddqudi512_mask.
|
|
|
|
|
(_mm512_maskz_loadu_epi64): Likewise.
|
|
|
|
|
(_mm512_mask_storeu_epi64): Pass long long *
|
|
|
|
|
to __builtin_ia32_storedqudi512_mask.
|
|
|
|
|
(_mm512_loadu_si512): Pass const int * to
|
|
|
|
|
__builtin_ia32_loaddqusi512_mask.
|
|
|
|
|
(_mm512_mask_loadu_epi32): Likewise.
|
|
|
|
|
(_mm512_maskz_loadu_epi32): Likewise.
|
|
|
|
|
(_mm512_storeu_si512): Pass int * to
|
|
|
|
|
__builtin_ia32_storedqusi512_mask.
|
|
|
|
|
(_mm512_mask_storeu_epi32): Likewise.
|
|
|
|
|
* config/i386/avx512vlbwintrin.h (_mm256_mask_storeu_epi8): Pass
|
|
|
|
|
char * to __builtin_ia32_storedquqi256_mask.
|
|
|
|
|
(_mm_mask_storeu_epi8): Likewise.
|
|
|
|
|
(_mm256_mask_loadu_epi16): Pass const short * to
|
|
|
|
|
__builtin_ia32_loaddquhi256_mask.
|
|
|
|
|
(_mm256_maskz_loadu_epi16): Likewise.
|
|
|
|
|
(_mm_mask_loadu_epi16): Pass const short * to
|
|
|
|
|
__builtin_ia32_loaddquhi128_mask.
|
|
|
|
|
(_mm_maskz_loadu_epi16): Likewise.
|
|
|
|
|
(_mm256_mask_loadu_epi8): Pass const char * to
|
|
|
|
|
__builtin_ia32_loaddquqi256_mask.
|
|
|
|
|
(_mm256_maskz_loadu_epi8): Likewise.
|
|
|
|
|
(_mm_mask_loadu_epi8): Pass const char * to
|
|
|
|
|
__builtin_ia32_loaddquqi128_mask.
|
|
|
|
|
(_mm_maskz_loadu_epi8): Likewise.
|
|
|
|
|
(_mm256_mask_storeu_epi16): Pass short * to.
|
|
|
|
|
__builtin_ia32_storedquhi256_mask.
|
|
|
|
|
(_mm_mask_storeu_epi16): Pass short * to.
|
|
|
|
|
__builtin_ia32_storedquhi128_mask.
|
|
|
|
|
* config/i386/avx512vlintrin.h (_mm256_mask_loadu_pd): Pass
|
|
|
|
|
const double * to __builtin_ia32_loadupd256_mask.
|
|
|
|
|
(_mm256_maskz_loadu_pd): Likewise.
|
|
|
|
|
(_mm_mask_loadu_pd): Pass onst double * to
|
|
|
|
|
__builtin_ia32_loadupd128_mask.
|
|
|
|
|
(_mm_maskz_loadu_pd): Likewise.
|
|
|
|
|
(_mm256_mask_storeu_pd): Pass double * to
|
|
|
|
|
__builtin_ia32_storeupd256_mask.
|
|
|
|
|
(_mm_mask_storeu_pd): Pass double * to
|
|
|
|
|
__builtin_ia32_storeupd128_mask.
|
|
|
|
|
(_mm256_mask_loadu_ps): Pass const float * to
|
|
|
|
|
__builtin_ia32_loadups256_mask.
|
|
|
|
|
(_mm256_maskz_loadu_ps): Likewise.
|
|
|
|
|
(_mm_mask_loadu_ps): Pass const float * to
|
|
|
|
|
__builtin_ia32_loadups128_mask.
|
|
|
|
|
(_mm_maskz_loadu_ps): Likewise.
|
|
|
|
|
(_mm256_mask_storeu_ps): Pass float * to
|
|
|
|
|
__builtin_ia32_storeups256_mask.
|
|
|
|
|
(_mm_mask_storeu_ps): ass float * to
|
|
|
|
|
__builtin_ia32_storeups128_mask.
|
|
|
|
|
(_mm256_mask_loadu_epi64): Pass const long long * to
|
|
|
|
|
__builtin_ia32_loaddqudi256_mask.
|
|
|
|
|
(_mm256_maskz_loadu_epi64): Likewise.
|
|
|
|
|
(_mm_mask_loadu_epi64): Pass const long long * to
|
|
|
|
|
__builtin_ia32_loaddqudi128_mask.
|
|
|
|
|
(_mm_maskz_loadu_epi64): Likewise.
|
|
|
|
|
(_mm256_mask_storeu_epi64): Pass long long * to
|
|
|
|
|
__builtin_ia32_storedqudi256_mask.
|
|
|
|
|
(_mm_mask_storeu_epi64): Pass long long * to
|
|
|
|
|
__builtin_ia32_storedqudi128_mask.
|
|
|
|
|
(_mm256_mask_loadu_epi32): Pass const int * to
|
|
|
|
|
__builtin_ia32_loaddqusi256_mask.
|
|
|
|
|
(_mm256_maskz_loadu_epi32): Likewise.
|
|
|
|
|
(_mm_mask_loadu_epi32): Pass const int * to
|
|
|
|
|
__builtin_ia32_loaddqusi128_mask.
|
|
|
|
|
(_mm_maskz_loadu_epi32): Likewise.
|
|
|
|
|
(_mm256_mask_storeu_epi32): Pass int * to
|
|
|
|
|
__builtin_ia32_storedqusi256_mask.
|
|
|
|
|
(_mm_mask_storeu_epi32): Pass int * to
|
|
|
|
|
__builtin_ia32_storedqusi128_mask.
|
|
|
|
|
* config/i386/i386-builtin-types.def (PCSHORT): New.
|
|
|
|
|
(PINT64): Likewise.
|
|
|
|
|
(V64QI_FTYPE_PCCHAR_V64QI_UDI): Likewise.
|
|
|
|
|
(V32HI_FTYPE_PCSHORT_V32HI_USI): Likewise.
|
|
|
|
|
(V32QI_FTYPE_PCCHAR_V32QI_USI): Likewise.
|
|
|
|
|
(V16SF_FTYPE_PCFLOAT_V16SF_UHI): Likewise.
|
|
|
|
|
(V8DF_FTYPE_PCDOUBLE_V8DF_UQI): Likewise.
|
|
|
|
|
(V16SI_FTYPE_PCINT_V16SI_UHI): Likewise.
|
|
|
|
|
(V16HI_FTYPE_PCSHORT_V16HI_UHI): Likewise.
|
|
|
|
|
(V16QI_FTYPE_PCCHAR_V16QI_UHI): Likewise.
|
|
|
|
|
(V8SF_FTYPE_PCFLOAT_V8SF_UQI): Likewise.
|
|
|
|
|
(V8DI_FTYPE_PCINT64_V8DI_UQI): Likewise.
|
|
|
|
|
(V8SI_FTYPE_PCINT_V8SI_UQI): Likewise.
|
|
|
|
|
(V8HI_FTYPE_PCSHORT_V8HI_UQI): Likewise.
|
|
|
|
|
(V4DF_FTYPE_PCDOUBLE_V4DF_UQI): Likewise.
|
|
|
|
|
(V4SF_FTYPE_PCFLOAT_V4SF_UQI): Likewise.
|
|
|
|
|
(V4DI_FTYPE_PCINT64_V4DI_UQI): Likewise.
|
|
|
|
|
(V4SI_FTYPE_PCINT_V4SI_UQI): Likewise.
|
|
|
|
|
(V2DF_FTYPE_PCDOUBLE_V2DF_UQI): Likewise.
|
|
|
|
|
(V2DI_FTYPE_PCINT64_V2DI_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PDOUBLE_V8DF_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PDOUBLE_V4DF_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PDOUBLE_V2DF_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PFLOAT_V16SF_UHI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PFLOAT_V8SF_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PFLOAT_V4SF_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PINT64_V8DI_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PINT64_V4DI_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PINT64_V2DI_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PINT_V16SI_UHI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PINT_V8SI_UHI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PINT_V4SI_UHI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PSHORT_V32HI_USI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PSHORT_V16HI_UHI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PSHORT_V8HI_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PCHAR_V64QI_UDI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PCHAR_V32QI_USI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PCHAR_V16QI_UHI): Likewise.
|
|
|
|
|
(V64QI_FTYPE_PCV64QI_V64QI_UDI): Removed.
|
|
|
|
|
(V32HI_FTYPE_PCV32HI_V32HI_USI): Likewise.
|
|
|
|
|
(V32QI_FTYPE_PCV32QI_V32QI_USI): Likewise.
|
|
|
|
|
(V16HI_FTYPE_PCV16HI_V16HI_UHI): Likewise.
|
|
|
|
|
(V16QI_FTYPE_PCV16QI_V16QI_UHI): Likewise.
|
|
|
|
|
(V8HI_FTYPE_PCV8HI_V8HI_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PV32HI_V32HI_USI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PV16HI_V16HI_UHI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PV8HI_V8HI_UQI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PV64QI_V64QI_UDI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PV32QI_V32QI_USI): Likewise.
|
|
|
|
|
(VOID_FTYPE_PV16QI_V16QI_UHI): Likewise.
|
|
|
|
|
* config/i386/i386.c (ix86_emit_save_reg_using_mov): Don't
|
|
|
|
|
use UNSPEC_STOREU.
|
|
|
|
|
(ix86_emit_restore_sse_regs_using_mov): Don't use UNSPEC_LOADU.
|
|
|
|
|
(ix86_avx256_split_vector_move_misalign): Don't use unaligned
|
|
|
|
|
load nor store.
|
|
|
|
|
(ix86_expand_vector_move_misalign): Likewise.
|
|
|
|
|
(bdesc_special_args): Use CODE_FOR_movvNXY_internal and pointer
|
|
|
|
|
to scalar function prototype for unaligned load/store builtins.
|
|
|
|
|
(ix86_expand_special_args_builtin): Updated.
|
|
|
|
|
* config/i386/sse.md (UNSPEC_LOADU): Removed.
|
|
|
|
|
(UNSPEC_STOREU): Likewise.
|
|
|
|
|
(VI_ULOADSTORE_BW_AVX512VL): Likewise.
|
|
|
|
|
(VI_ULOADSTORE_F_AVX512VL): Likewise.
|
|
|
|
|
(ssescalarsize): Handle V4TI, V2TI and V1TI.
|
|
|
|
|
(<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>): Likewise.
|
|
|
|
|
(*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>): Likewise.
|
|
|
|
|
(<sse>_storeu<ssemodesuffix><avxsizesuffix>): Likewise.
|
|
|
|
|
(<avx512>_storeu<ssemodesuffix><avxsizesuffix>_mask): Likewise.
|
|
|
|
|
(<sse2_avx_avx512f>_loaddqu<mode><mask_name>): Likewise.
|
|
|
|
|
(*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"): Likewise.
|
|
|
|
|
(sse2_avx_avx512f>_storedqu<mode>): Likewise.
|
|
|
|
|
(<avx512>_storedqu<mode>_mask): Likewise.
|
|
|
|
|
(*sse4_2_pcmpestr_unaligned): Likewise.
|
|
|
|
|
(*sse4_2_pcmpistr_unaligned): Likewise.
|
|
|
|
|
(*mov<mode>_internal): Renamed to ...
|
|
|
|
|
(mov<mode>_internal): This. Remove check of AVX and IAMCU on
|
|
|
|
|
misaligned operand. Replace vmovdqu64 with vmovdqu<ssescalarsize>.
|
|
|
|
|
(movsd/movhpd to movupd peephole): Don't use UNSPEC_LOADU.
|
|
|
|
|
(movlpd/movhpd to movupd peephole): Don't use UNSPEC_STOREU.
|
|
|
|
|
|
2016-04-19 16:03:59 +02:00
|
|
|
|
2016-04-19 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70171
|
|
|
|
|
* tree-ssa-phiprop.c: Include stor-layout.h.
|
|
|
|
|
(phiprop_insert_phi): Handle the aggregate copy case.
|
|
|
|
|
(propagate_with_phi): Likewise.
|
|
|
|
|
|
2016-04-19 16:01:21 +02:00
|
|
|
|
2016-04-19 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_decompose_address): Use lowpart_subreg
|
|
|
|
|
instead of simplify_gen_subreg (... , 0).
|
|
|
|
|
(ix86_delegitimize_address): Ditto.
|
|
|
|
|
(ix86_split_divmod): Ditto.
|
|
|
|
|
(ix86_split_copysign_const): Ditto.
|
|
|
|
|
(ix86_split_copysign_var): Ditto.
|
|
|
|
|
(ix86_expand_args_builtin): Ditto.
|
|
|
|
|
(ix86_expand_round_builtin): Ditto.
|
|
|
|
|
(ix86_expand_special_args_builtin): Ditto.
|
|
|
|
|
* config/i386/i386.md (TARGET_USE_VECTOR_FP_CONVERTS splitters): Ditto.
|
|
|
|
|
(TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters and peephole2s): Ditto.
|
|
|
|
|
(udivmodqi4): Ditto.
|
|
|
|
|
(absneg splitters): Ditto.
|
|
|
|
|
(*jcc_bt<mode>_1): Ditto.
|
|
|
|
|
|
2016-04-19 15:22:19 +02:00
|
|
|
|
2016-04-19 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70724
|
|
|
|
|
* tree-ssa-sccvn.c (scc_vn_restore_ssa_info): Split SSA info
|
|
|
|
|
restoring out from ...
|
|
|
|
|
(free_scc_vn): ... here.
|
|
|
|
|
* tree-ssa-sccvn.h (scc_vn_restore_ssa_info): Declare.
|
|
|
|
|
* tres-ssa-pre.c (pass_pre::execute): Restore SSA info before
|
|
|
|
|
tail merging.
|
|
|
|
|
(pass_fre::execute): Restore SSA info.
|
|
|
|
|
|
2016-04-19 14:13:04 +02:00
|
|
|
|
2016-04-19 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* gimple-walk.h (struct walk_stmt_info): Add stmt member.
|
|
|
|
|
* gimple-walk.c (walk_gimple_op): Initialize it.
|
|
|
|
|
(walk_gimple_asm): Set wi->is_lhs before each callback invocation.
|
|
|
|
|
* tree-inline.c (remap_gimple_op_r): Set SSA_NAME_DEF_STMT when
|
|
|
|
|
remapping SSA names of defs.
|
|
|
|
|
(copy_bb): Remove walk over all SSA defs and SSA_NAME_DEF_STMT
|
|
|
|
|
adjustment.
|
|
|
|
|
|
2016-04-19 04:49:54 +02:00
|
|
|
|
2016-04-18 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70689
|
|
|
|
|
* lra-constraints.c (equiv_substition_p): New.
|
|
|
|
|
(process_alt_operands): Use it.
|
|
|
|
|
(swap_operands): Swap it.
|
|
|
|
|
(curr_insn_transform): Update it.
|
|
|
|
|
|
2016-04-18 22:36:27 +02:00
|
|
|
|
2016-04-18 Michael Matz <matz@suse.de>
|
|
|
|
|
|
|
|
|
|
* tree.h (TYPE_ALIGN, DECL_ALIGN): Return shifted amount.
|
|
|
|
|
(SET_TYPE_ALIGN, SET_DECL_ALIGN): New.
|
|
|
|
|
* tree-core.h (tree_type_common.align): Use bit-field.
|
|
|
|
|
(tree_type_common.spare): New.
|
|
|
|
|
(tree_decl_common.off_align): Make smaller.
|
|
|
|
|
(tree_decl_common.align): Use bit-field.
|
|
|
|
|
|
|
|
|
|
* expr.c (expand_expr_addr_expr_1): Use SET_TYPE_ALIGN.
|
|
|
|
|
* omp-low.c (install_var_field): Use SET_DECL_ALIGN.
|
|
|
|
|
(scan_sharing_clauses): Ditto.
|
|
|
|
|
(finish_taskreg_scan): Use SET_DECL_ALIGN and SET_TYPE_ALIGN.
|
|
|
|
|
(omp_finish_file): Ditto.
|
|
|
|
|
* stor-layout.c (do_type_align): Use SET_DECL_ALIGN.
|
|
|
|
|
(layout_decl): Ditto.
|
|
|
|
|
(relayout_decl): Ditto.
|
|
|
|
|
(finalize_record_size): Use SET_TYPE_ALIGN.
|
|
|
|
|
(finalize_type_size): Ditto.
|
|
|
|
|
(finish_builtin_struct): Ditto.
|
|
|
|
|
(layout_type): Ditto.
|
|
|
|
|
(initialize_sizetypes): Ditto.
|
|
|
|
|
* targhooks.c (std_gimplify_va_arg_expr): Use SET_TYPE_ALIGN.
|
|
|
|
|
* tree-nested.c (insert_field_into_struct): Use SET_TYPE_ALIGN.
|
|
|
|
|
(lookup_field_for_decl): Use SET_DECL_ALIGN.
|
|
|
|
|
(get_chain_field): Ditto.
|
|
|
|
|
(get_trampoline_type): Ditto.
|
|
|
|
|
(get_nl_goto_field): Ditto.
|
|
|
|
|
* tree-streamer-in.c (unpack_ts_decl_common_value_fields): Use
|
|
|
|
|
SET_DECL_ALIGN.
|
|
|
|
|
(unpack_ts_type_common_value_fields): Use SET_TYPE_ALIGN.
|
|
|
|
|
* gimple-expr.c (copy_var_decl): Use SET_DECL_ALIGN.
|
|
|
|
|
* tree.c (make_node_stat): Use SET_DECL_ALIGN and SET_TYPE_ALIGN.
|
|
|
|
|
(build_qualified_type): Use SET_TYPE_ALIGN.
|
|
|
|
|
(build_aligned_type, build_range_type_1): Ditto.
|
|
|
|
|
(build_atomic_base): Ditto.
|
|
|
|
|
(build_common_tree_nodes): Ditto.
|
|
|
|
|
* cfgexpand.c (align_local_variable): Use SET_DECL_ALIGN.
|
|
|
|
|
(expand_one_stack_var_at): Ditto.
|
|
|
|
|
* coverage.c (build_var): Use SET_DECL_ALIGN.
|
|
|
|
|
* except.c (init_eh): Ditto.
|
|
|
|
|
* function.c (assign_parm_setup_block): Ditto.
|
|
|
|
|
* symtab.c (increase_alignment_1): Ditto.
|
|
|
|
|
* tree-ssa-ccp.c (fold_builtin_alloca_with_align): Ditto.
|
|
|
|
|
* tree-vect-stmts.c (ensure_base_align): Ditto.
|
|
|
|
|
* varasm.c (align_variable): Ditto.
|
|
|
|
|
(assemble_variable): Ditto.
|
|
|
|
|
(build_constant_desc): Ditto.
|
|
|
|
|
(output_constant_def_contents): Ditto.
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.c (arm_relayout_function): Use SET_DECL_ALIGN.
|
|
|
|
|
* config/avr/avr.c (avr_adjust_type_node): Use SET_TYPE_ALIGN.
|
|
|
|
|
* config/mips/mips.c (mips_std_gimplify_va_arg_expr): Ditto.
|
|
|
|
|
* config/msp430/msp430.c (msp430_gimplify_va_arg_expr): Ditto.
|
|
|
|
|
* config/spu/spu.c (spu_build_builtin_va_list): Use SET_DECL_ALIGN.
|
|
|
|
|
|
2016-04-18 21:40:30 +02:00
|
|
|
|
2016-04-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70708
|
|
|
|
|
* config/i386/sse.md (sse2_loadlpd): Accept load from "xm" and
|
|
|
|
|
replace %vmovsd with "%vmovq".
|
|
|
|
|
(vec_concatv2df): Likewise.
|
|
|
|
|
|
2016-04-18 20:52:47 +02:00
|
|
|
|
2016-04-18 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/mmx.md (*vec_extractv2sf_0): Use gen_lowpart.
|
|
|
|
|
(*vec_extractv2si_0): Ditto.
|
|
|
|
|
* config/i386/sse.md (*vec_extractv4sf_0): Ditto.
|
|
|
|
|
(zero_extended_scalar_load_operand splitters): Ditto.
|
|
|
|
|
(vec_extract splitters): Ditto.
|
|
|
|
|
(*vec_extractv4si_0_zext): Ditto.
|
|
|
|
|
(avx_<castmode><avxsizesuffix>_<castmode>): Use gen_lowpart
|
|
|
|
|
and lowpart_subreg.
|
|
|
|
|
(avx512f_<castmode><avxsizesuffix>_<castmode>): Ditto.
|
|
|
|
|
(avx512f_<castmode><avxsizesuffix>_256<castmode>): Ditto.
|
|
|
|
|
(*sse4_1_extractps): Use lowpart_subreg.
|
2016-05-06 16:34:58 +02:00
|
|
|
|
* config/i386/i386.md (x87 floatsplitter): Use gen_lowpart.
|
2016-04-18 20:52:47 +02:00
|
|
|
|
|
2016-04-18 20:39:03 +02:00
|
|
|
|
2016-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi (Specific, i?86-*-solaris2.10): Update gas and
|
|
|
|
|
gld requirements.
|
2016-04-18 20:52:47 +02:00
|
|
|
|
(Specific, *-*-solaris2*): Update Solaris 11 bundled gcc versions.
|
2016-04-18 20:39:03 +02:00
|
|
|
|
Mention Solaris 11 packaging changes.
|
|
|
|
|
Update gas and gld requirements.
|
|
|
|
|
Remove reference to pre-Solaris 10 bug.
|
|
|
|
|
(Specific, sparc-sun-solaris2*): Remove reference to pre-Solaris 10
|
|
|
|
|
systems and bugs.
|
|
|
|
|
(Specific, sparc64-*-solaris2*): Remove reference to bootstrap
|
|
|
|
|
with cc.
|
|
|
|
|
|
2016-04-18 19:16:27 +02:00
|
|
|
|
2016-04-17 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (avg_loop_niter): Use also
|
|
|
|
|
max_loop_iterations_int.
|
|
|
|
|
|
2016-04-18 15:09:53 +02:00
|
|
|
|
2016-04-18 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/43434
|
|
|
|
|
* tree-ssa-structalias.c (struct vls_data): New.
|
|
|
|
|
(visit_loadstore): Handle all pointer-based accesses.
|
|
|
|
|
(compute_dependence_clique): Compute a bitmap of restrict tags
|
|
|
|
|
assigned bases and pass it to visit_loadstore.
|
|
|
|
|
|
2016-04-18 14:11:03 +02:00
|
|
|
|
2016-04-18 Matthew Wahab <matthew.wahab@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70711
|
|
|
|
|
* config/arm/bpabi.h (BE8_LINK_SPEC): Add entries for armv8+crc,
|
|
|
|
|
armv8.1-a and armv8.1-a+crc.
|
|
|
|
|
|
2016-04-18 13:39:04 +02:00
|
|
|
|
2016-04-18 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70701
|
|
|
|
|
* tree-ssa-sccvn.c (vn_reference_lookup_3): Resolve fully constant
|
|
|
|
|
references after translating through a memcpy.
|
|
|
|
|
|
2016-04-18 13:38:05 +02:00
|
|
|
|
2016-04-18 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-pre.c (postorder, postorder_num): Make locals ...
|
|
|
|
|
(compute_antic): ... here. For partial antic use regular
|
|
|
|
|
postorder and scrap iteration.
|
|
|
|
|
(compute_partial_antic_aux): Remove unused return value.
|
|
|
|
|
(init_pre): Do not allocate postorder.
|
|
|
|
|
(fini_pre): Do not free postorder.
|
|
|
|
|
|
2016-04-18 11:25:46 +02:00
|
|
|
|
2016-04-18 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
2016-04-27 20:10:02 +02:00
|
|
|
|
PR middle-end/37870
|
2016-04-18 11:25:46 +02:00
|
|
|
|
* expmed.c (extract_bit_field_1): Remove broken case
|
|
|
|
|
using a wider MODE_INT mode.
|
|
|
|
|
|
2016-04-18 10:57:01 +02:00
|
|
|
|
2016-04-18 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* has-brig.c (lendian16): Don't try to use __builtin_bswap16
|
|
|
|
|
unless compiling with at least GCC-4.8.
|
|
|
|
|
|
2016-04-17 20:04:51 +02:00
|
|
|
|
2016-04-17 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/70706
|
|
|
|
|
* graphite.c (graphite_finalize): Update call to
|
|
|
|
|
tree_estimate_probability.
|
2016-04-17 20:30:21 +02:00
|
|
|
|
* predict.h (tree_estimate_probability): Update prototype.
|
2016-04-17 20:04:51 +02:00
|
|
|
|
|
2016-04-17 18:08:27 +02:00
|
|
|
|
2016-04-17 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
* predict.c (combine_predictions_for_bb): Add dry_run parmaeter.
|
|
|
|
|
(tree_estimate_probability): Likewise.
|
|
|
|
|
(pass_profile::execute): Update.
|
|
|
|
|
(report_predictor_hitrates): New function.
|
|
|
|
|
* profile.c (compute_branch_probabilities): Use it.
|
|
|
|
|
* predict.h (report_predictor_hitrates): Declare.
|
|
|
|
|
|
2016-04-17 18:04:05 +02:00
|
|
|
|
2016-04-17 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/70018
|
|
|
|
|
* cgraph.h (cgraph_node::set_const_flag,
|
|
|
|
|
cgraph_node::set_pure_flag): Update prototype to return bool;
|
|
|
|
|
update comment.
|
|
|
|
|
* cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases): Thunks
|
|
|
|
|
of interposable symbol are interposable, too.
|
|
|
|
|
(cgraph_set_const_flag_1): Rename to ...
|
|
|
|
|
(set_const_flag_1): ... this one; change to self recursive function
|
|
|
|
|
instead of call_for_symbol_thunks_and_aliases. Handle correctly
|
|
|
|
|
clearnig the flag in all variants and also virtual thunks of const
|
|
|
|
|
functions are pure; track if any change was done.
|
|
|
|
|
(cgraph_node::set_const_flag): Update.
|
|
|
|
|
(struct set_pure_flag_info): New struct.
|
|
|
|
|
(cgraph_set_pure_flag_1): Rename to ...
|
|
|
|
|
(set_pure_flag_1): ... this one; take set_pure_flag_info parameter
|
|
|
|
|
rather than pointer encoded flags; track if any changes was done;
|
|
|
|
|
handle correctly clearning flag and setting flag of aliases already
|
|
|
|
|
declared const.
|
|
|
|
|
(cgraph_node::set_pure_flag): Update.
|
|
|
|
|
(cgraph_node::set_nothrow_flag): Handle correctly clearning the flag.
|
|
|
|
|
|
2016-04-17 07:23:15 +02:00
|
|
|
|
2016-04-17 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR other/70433
|
|
|
|
|
* pretty-print.c (pp_write_text_as_dot_label_to_stream): Escape
|
|
|
|
|
backslash in label.
|
|
|
|
|
|
2016-04-17 07:23:03 +02:00
|
|
|
|
2016-04-17 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* pretty-print.c (pp_write_text_as_dot_label_to_stream): Classify chars
|
|
|
|
|
'{}<> ' as escape-for-record.
|
|
|
|
|
|
2016-04-17 07:22:45 +02:00
|
|
|
|
2016-04-17 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* pretty-print.c (pp_write_text_as_dot_label_to_stream): Simplify loop
|
|
|
|
|
structure.
|
|
|
|
|
|
2016-04-17 07:22:33 +02:00
|
|
|
|
2016-04-17 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR other/70185
|
|
|
|
|
* tree-pass.h (class opt_pass): Remove graph_dump_initialized member.
|
|
|
|
|
* dumpfile.h (struct dump_file_info): Add graph_dump_initialized field.
|
|
|
|
|
* dumpfile.c (dump_files): Initialize graph_dump_initialized field.
|
|
|
|
|
* passes.c (finish_optimization_passes): Only call
|
|
|
|
|
finish_graph_dump_file if dfi->graph_dump_initialized.
|
|
|
|
|
(execute_function_dump, pass_init_dump_file): Use
|
|
|
|
|
dfi->graph_dump_initialized instead of pass->graph_dump_initialized.
|
|
|
|
|
|
2016-04-17 07:22:19 +02:00
|
|
|
|
2016-04-17 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70256
|
|
|
|
|
* tree-ssa-structalias.c (dump_varinfo, debug_varinfo, dump_varmap)
|
|
|
|
|
(debug_varmap): New function.
|
|
|
|
|
|
2016-04-17 07:22:04 +02:00
|
|
|
|
2016-04-17 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR other/70183
|
|
|
|
|
* passes.c (pass_manager::register_pass): Propagate pflags.
|
|
|
|
|
|
2016-04-17 07:21:50 +02:00
|
|
|
|
2016-04-17 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR other/68875
|
|
|
|
|
* pass_manager.h (TERMINATE_PASS_LIST): Add pass argument.
|
|
|
|
|
* passes.c (pass_manager::pass_manager): Declare and init p_start in
|
|
|
|
|
INSERT_PASSES_AFTER. Add pass parameter to TERMINATE_PASS_LIST, and
|
|
|
|
|
check if it's equal to p_start.
|
|
|
|
|
* passes.def: Add arguments to TERMINATE_PASS_LISTs.
|
|
|
|
|
|
2016-04-16 20:54:49 +02:00
|
|
|
|
2016-04-15 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/70018
|
|
|
|
|
* cgraph.c (cgraph_set_const_flag_1): Only set as pure if
|
|
|
|
|
function does not bind to current def.
|
|
|
|
|
* ipa-pure-const.c (worse_state): Add FROM and TO parameters;
|
|
|
|
|
handle conservatively calls to functions that does not need to bind
|
|
|
|
|
to current def.
|
|
|
|
|
(check_call): Update call of worse_state.
|
|
|
|
|
(ignore_edge_for_nothrow): Update.
|
|
|
|
|
(ignore_edge_for_pure_const): Likewise.
|
|
|
|
|
(propagate_pure_const): Update calls to worse_state.
|
|
|
|
|
(skip_function_for_local_pure_const): Reformat comments.
|
|
|
|
|
|
2016-04-16 18:30:48 +02:00
|
|
|
|
2016-04-15 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/70018
|
|
|
|
|
* cgraph.c (cgraph_node::get_availability): Add REF parameter.
|
|
|
|
|
(cgraph_node::function_symbol): Likewise.
|
|
|
|
|
(cgraph_node::function_or_virtual_thunk_symbol): Likewise.
|
|
|
|
|
* cgraph.h (symtab_node::get_availabbility): Add REF parameter.
|
|
|
|
|
(symtab_node::ultimate_alias_target): Add REF parameter.
|
|
|
|
|
(symtab_node::binds_to_current_def_p): Declare.
|
|
|
|
|
(symtab_node;:ultimate_alias_target_1): Add REF parameter.
|
|
|
|
|
(cgraph_node::function_symbol): Likewise.
|
|
|
|
|
(cgraph_node::function_or_virtual_thunk_symbol): Likewise.
|
|
|
|
|
(cgraph_node::get_availability): Likewise.
|
|
|
|
|
(cgraph_edge::binds_to_current_def_p): New inline function.
|
|
|
|
|
(varpool_node::get_availability): Add REF parameter.
|
|
|
|
|
(varpool_node::ultimate_alias_target): Likewise.
|
|
|
|
|
* symtab.c (symtab_node::ultimate_alias_target_1): Likewise.
|
|
|
|
|
(symtab_node::binds_to_current_def_p): Likewise.
|
|
|
|
|
* varpool.c (varpool_node::get_availability): Likewise.
|
|
|
|
|
|
2016-04-15 17:17:31 +02:00
|
|
|
|
2016-04-15 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70662
|
|
|
|
|
* config/i386/sse.md(define_insn "<avx512>_vec_dup<mode><mask_name>"):
|
|
|
|
|
Fix mode size check.
|
|
|
|
|
|
2016-04-15 16:55:57 +02:00
|
|
|
|
2016-04-15 Jakub Jelinek <jakub@redhat.com>
|
2016-04-15 16:51:06 +02:00
|
|
|
|
|
2016-04-15 16:55:57 +02:00
|
|
|
|
* BASE-VER: Set to 7.0.0.
|
2016-04-15 16:51:06 +02:00
|
|
|
|
|
2016-04-15 16:26:40 +02:00
|
|
|
|
2016-04-15 Alexander Monakov <amonakov@ispras.ru>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/nvptx.opt (moptimize): Add a period at end of help text.
|
|
|
|
|
|
2016-04-15 15:42:16 +02:00
|
|
|
|
2016-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (ARM Options): Add note on deprecation of pre-ARMv4T
|
|
|
|
|
architecture revisions.
|
|
|
|
|
|
2016-04-15 15:35:12 +02:00
|
|
|
|
2016-04-15 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386-protos.h (ix86_using_red_zone): Declare.
|
|
|
|
|
* config/i386/i386.c (ix86_using_red_zone): No longer static.
|
|
|
|
|
* config/i386/i386.md (stack decrement to push peepholes): Guard
|
|
|
|
|
with !x86_using_red_zone ().
|
|
|
|
|
|
2016-04-15 15:07:43 +02:00
|
|
|
|
2016-04-15 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/70675
|
|
|
|
|
* tree-pretty-print.c (do_niy): Add FLAGS argument, pass it down
|
|
|
|
|
to dump_generic_node.
|
|
|
|
|
(NIY): Pass also flags to do_niy.
|
|
|
|
|
|
Split out OMP constructs' SIMD clone supporting code
gcc/
* omp-low.c (simd_clone_struct_alloc, simd_clone_struct_copy)
(simd_clone_vector_of_formal_parm_types)
(simd_clone_clauses_extract, simd_clone_compute_base_data_type)
(simd_clone_mangle, simd_clone_create)
(simd_clone_adjust_return_type, create_tmp_simd_array)
(simd_clone_adjust_argument_types, simd_clone_init_simd_arrays)
(struct modify_stmt_info, ipa_simd_modify_stmt_ops)
(ipa_simd_modify_function_body, simd_clone_linear_addend)
(simd_clone_adjust, expand_simd_clones, ipa_omp_simd_clone)
(pass_data_omp_simd_clone, class pass_omp_simd_clone)
(pass_omp_simd_clone::gate, make_pass_omp_simd_clone): Move
into...
* omp-simd-clone.c: ... this new file.
(simd_clone_vector_of_formal_parm_types): Make it static.
* Makefile.in (OBJS): Add omp-simd-clone.o.
From-SVN: r235017
2016-04-15 13:49:39 +02:00
|
|
|
|
2016-04-15 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (simd_clone_struct_alloc, simd_clone_struct_copy)
|
|
|
|
|
(simd_clone_vector_of_formal_parm_types)
|
|
|
|
|
(simd_clone_clauses_extract, simd_clone_compute_base_data_type)
|
|
|
|
|
(simd_clone_mangle, simd_clone_create)
|
|
|
|
|
(simd_clone_adjust_return_type, create_tmp_simd_array)
|
|
|
|
|
(simd_clone_adjust_argument_types, simd_clone_init_simd_arrays)
|
|
|
|
|
(struct modify_stmt_info, ipa_simd_modify_stmt_ops)
|
|
|
|
|
(ipa_simd_modify_function_body, simd_clone_linear_addend)
|
|
|
|
|
(simd_clone_adjust, expand_simd_clones, ipa_omp_simd_clone)
|
|
|
|
|
(pass_data_omp_simd_clone, class pass_omp_simd_clone)
|
2016-04-18 20:52:47 +02:00
|
|
|
|
(pass_omp_simd_clone::gate, make_pass_omp_simd_clone): Move into...
|
Split out OMP constructs' SIMD clone supporting code
gcc/
* omp-low.c (simd_clone_struct_alloc, simd_clone_struct_copy)
(simd_clone_vector_of_formal_parm_types)
(simd_clone_clauses_extract, simd_clone_compute_base_data_type)
(simd_clone_mangle, simd_clone_create)
(simd_clone_adjust_return_type, create_tmp_simd_array)
(simd_clone_adjust_argument_types, simd_clone_init_simd_arrays)
(struct modify_stmt_info, ipa_simd_modify_stmt_ops)
(ipa_simd_modify_function_body, simd_clone_linear_addend)
(simd_clone_adjust, expand_simd_clones, ipa_omp_simd_clone)
(pass_data_omp_simd_clone, class pass_omp_simd_clone)
(pass_omp_simd_clone::gate, make_pass_omp_simd_clone): Move
into...
* omp-simd-clone.c: ... this new file.
(simd_clone_vector_of_formal_parm_types): Make it static.
* Makefile.in (OBJS): Add omp-simd-clone.o.
From-SVN: r235017
2016-04-15 13:49:39 +02:00
|
|
|
|
* omp-simd-clone.c: ... this new file.
|
|
|
|
|
(simd_clone_vector_of_formal_parm_types): Make it static.
|
|
|
|
|
* Makefile.in (OBJS): Add omp-simd-clone.o.
|
|
|
|
|
|
2016-04-15 10:25:49 +02:00
|
|
|
|
2016-04-15 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70662
|
2016-04-18 20:52:47 +02:00
|
|
|
|
* config/i386/sse.md: Use proper memory operand modifiers.
|
2016-04-15 10:25:49 +02:00
|
|
|
|
|
|
|
|
|
|
2016-04-15 09:28:44 +02:00
|
|
|
|
2016-04-15 Richard Biener <rguenther@suse.de>
|
|
|
|
|
Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70130
|
|
|
|
|
* tree-vect-data-refs.c (vect_supportable_dr_alignment): Detect
|
|
|
|
|
when alignment stays not the same and no not use the realign
|
|
|
|
|
scheme then.
|
|
|
|
|
|
2016-04-15 01:21:30 +02:00
|
|
|
|
2016-04-14 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70669
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Add
|
|
|
|
|
direct move handlers for KFmode. Change TFmode handlers test from
|
|
|
|
|
FLOAT128_IEEE_P to FLOAT128_VECTOR_P.
|
|
|
|
|
|
2016-04-14 21:21:31 +02:00
|
|
|
|
2016-04-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/70594
|
|
|
|
|
* ipa-utils.h (polymorphic_ctor_dtor_p): New prototype.
|
|
|
|
|
* ipa-polymorphic-call.c (polymorphic_ctor_dtor_p): New function.
|
|
|
|
|
(inlined_polymorphic_ctor_dtor_block_p): Use it.
|
|
|
|
|
* tree-ssa-live.c (remove_unused_scope_block_p): When
|
|
|
|
|
in_ctor_dtor_block, avoid discarding not just BLOCKs with
|
|
|
|
|
BLOCK_ABSTRACT_ORIGIN being FUNCTION_DECL, but even when
|
|
|
|
|
block_ultimate_origin is FUNCTION_DECL.
|
|
|
|
|
(remove_unused_locals): If current_function_decl is
|
|
|
|
|
polymorphic_ctor_dtor_p, pass initial true to
|
|
|
|
|
remove_unused_scope_block_p' is_ctor_dtor_block.
|
|
|
|
|
|
2016-04-14 19:35:23 +02:00
|
|
|
|
2016-04-14 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69517
|
|
|
|
|
PR c++/70019
|
|
|
|
|
PR c++/70588
|
|
|
|
|
* doc/extend.texi (Variable Length): Revert.
|
|
|
|
|
|
2016-04-14 18:51:16 +02:00
|
|
|
|
2016-04-14 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR c++/70029
|
|
|
|
|
* tree.c (verify_type): Disable the canonical type of main variant
|
|
|
|
|
check.
|
|
|
|
|
|
2016-04-14 18:23:06 +02:00
|
|
|
|
2016-04-14 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cfgexpand.c, expr.c: Revert previous change.
|
|
|
|
|
|
2016-04-14 15:44:17 +02:00
|
|
|
|
2016-04-14 Cesar Philippidis <cesar@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70643
|
|
|
|
|
* omp-low.c (lower_oacc_reductions): Check for TREE_CONSTANT
|
|
|
|
|
when building a mem ref for the incoming reduction variable.
|
|
|
|
|
|
2016-04-14 15:21:40 +02:00
|
|
|
|
2016-04-14 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70614
|
|
|
|
|
* tree-scalar-evolution.c (analyze_evolution_in_loop): Terminate
|
|
|
|
|
loop if the evolution dropped to chrec_dont_know.
|
|
|
|
|
(interpret_condition_phi): Likewise.
|
|
|
|
|
|
2016-04-14 09:30:53 +02:00
|
|
|
|
2016-04-14 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70623
|
|
|
|
|
* tree-ssa-pre.c (changed_blocks): Make global ...
|
|
|
|
|
(compute_antic): ... local here. Move and fix worklist
|
|
|
|
|
handling here. Do not clear EDGE_DFS_BACK or call mark_dfs_back_edges.
|
|
|
|
|
(compute_antic_aux): Add dumping for MAX assumed succs. Remove
|
|
|
|
|
worklist handling, dump when ANTIC_IN changed.
|
|
|
|
|
(compute_partial_antic_aux): Remove worklist handling.
|
|
|
|
|
(init_pre): Do not compute post dominators. Add a comment about
|
|
|
|
|
the CFG order chosen.
|
|
|
|
|
(fini_pre): Do not free post dominators.
|
|
|
|
|
|
2016-04-14 01:26:41 +02:00
|
|
|
|
2016-04-13 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69517
|
|
|
|
|
PR c++/70019
|
|
|
|
|
PR c++/70588
|
|
|
|
|
* doc/extend.texi (Variable Length): Document C++ specifics.
|
|
|
|
|
|
2016-04-13 22:35:59 +02:00
|
|
|
|
2016-04-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-04-13 22:43:10 +02:00
|
|
|
|
PR c++/70641
|
|
|
|
|
* ipa-pure-const.c (pass_nothrow::execute): Call maybe_clean_eh_stmt
|
|
|
|
|
on all recursive call stmts. Return TODO_cleanup_cfg if any dead
|
|
|
|
|
eh edges have been purged.
|
|
|
|
|
|
2016-04-13 22:35:59 +02:00
|
|
|
|
PR c++/70594
|
|
|
|
|
* tree-sra.c (create_access_replacement,
|
|
|
|
|
get_replaced_param_substitute): Set DECL_NAMELESS on repl if it
|
|
|
|
|
gets fancy name.
|
|
|
|
|
* tree-pretty-print.c (dump_fancy_name): New function.
|
|
|
|
|
(dump_decl_name, dump_generic_node): Use it.
|
|
|
|
|
|
2016-04-13 22:11:29 +02:00
|
|
|
|
2016-04-13 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cfgexpand.c (pass_expand::execute): Handle attribute "abi warning".
|
|
|
|
|
* expr.c (expand_expr_real_1): Likewise.
|
|
|
|
|
|
2016-04-13 16:00:42 +02:00
|
|
|
|
2016-04-13 Ilya Enkovich <ilya.enkovich@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (kunpckhi): Swap operands.
|
|
|
|
|
(kunpcksi): Likewise.
|
|
|
|
|
(kunpckdi): Likewise.
|
|
|
|
|
* config/i386/sse.md (vec_pack_trunc_qi): Likewise.
|
|
|
|
|
(vec_pack_trunc_<mode>): Likewise.
|
|
|
|
|
|
2016-04-13 14:26:26 +02:00
|
|
|
|
2016-04-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-04-13 15:57:29 +02:00
|
|
|
|
PR debug/70628
|
|
|
|
|
* explow.c (convert_memory_address_addr_space_1): Formatting fix.
|
|
|
|
|
|
2016-04-13 14:27:52 +02:00
|
|
|
|
PR middle-end/70633
|
|
|
|
|
* gimplify.c (gimplify_init_constructor): Clear TREE_STATIC if
|
|
|
|
|
gimplification turns some element into non-constant.
|
|
|
|
|
|
2016-04-13 14:26:26 +02:00
|
|
|
|
PR debug/70628
|
|
|
|
|
* rtl.h (convert_memory_address_addr_space_1): New prototype.
|
|
|
|
|
* explow.c (convert_memory_address_addr_space_1): No longer static,
|
|
|
|
|
add NO_EMIT argument and don't call convert_modes if true, pass
|
|
|
|
|
it down recursively, remove break after return.
|
|
|
|
|
(convert_memory_address_addr_space): Adjust caller.
|
|
|
|
|
* simplify-rtx.c (simplify_unary_operation_1): Call
|
|
|
|
|
convert_memory_address_addr_space_1 instead of convert_memory_address,
|
|
|
|
|
if it returns NULL, don't simplify.
|
|
|
|
|
|
2016-04-12 22:55:05 +02:00
|
|
|
|
2016-04-12 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/70630
|
|
|
|
|
* config/sparc/sparc.c (sparc_compute_frame_size): Add parentheses.
|
|
|
|
|
|
2016-04-12 21:37:21 +02:00
|
|
|
|
2016-04-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
|
|
|
|
|
Bump the upper SIMDLEN limits, so that if the return type or
|
|
|
|
|
characteristic type if the return type is void can be passed in
|
|
|
|
|
all available SSE2/AVX/AVX2/AVX512-F registers, the SIMDLEN is
|
|
|
|
|
allowed.
|
|
|
|
|
|
2016-04-12 21:25:56 +02:00
|
|
|
|
2016-04-12 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
2016-04-12 23:06:47 +02:00
|
|
|
|
PR target/70640
|
2016-04-12 21:25:56 +02:00
|
|
|
|
* config/rs6000/rs6000.md (ieee_128bit_vsx_neg<mode>2_internal):
|
|
|
|
|
Do not use "=" constraint on an input constraint.
|
|
|
|
|
(ieee_128bit_vsx_abs<mode>2_internal): Likewise.
|
|
|
|
|
(ieee_128bit_vsx_nabs<mode>2_internal): Likewise.
|
|
|
|
|
(ieee_128bit_vsx_nabs<mode>2): Correct splitter so that it
|
|
|
|
|
generates (neg (abs ...)) instead of (abs ...).
|
|
|
|
|
|
2016-04-12 19:18:31 +02:00
|
|
|
|
2016-04-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70596
|
|
|
|
|
* lra-spills.c (spill_pseudos): Don't delete debug insns, instead
|
|
|
|
|
just invalidate LRA data and reset them. Adjust dump wording.
|
|
|
|
|
|
2016-04-12 15:38:46 +02:00
|
|
|
|
2016-04-12 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
Revert
|
|
|
|
|
2016-03-30 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-niter.c (idx_infer_loop_bounds): We can't get realistic
|
|
|
|
|
estimates here.
|
|
|
|
|
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Use also
|
|
|
|
|
max_loop_iterations_int.
|
|
|
|
|
(tree_unswitch_outer_loop): Likewise.
|
|
|
|
|
* tree-ssa-loop-ivopts.c (avg_loop_niter): Likewise.
|
|
|
|
|
* tree-vect-loop.c (vect_analyze_loop_2): Likewise.
|
|
|
|
|
|
2016-04-12 12:08:48 +02:00
|
|
|
|
2016-04-12 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68756
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (copy_cond_phi_args): Use new_expr
|
|
|
|
|
instead of new_name.
|
|
|
|
|
|
2016-04-12 09:05:29 +02:00
|
|
|
|
2016-04-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-04-12 11:08:43 +02:00
|
|
|
|
PR tree-optimization/70602
|
|
|
|
|
* tree-sra.c (generate_subtree_copies): Don't write anything into
|
|
|
|
|
constant pool decls.
|
|
|
|
|
|
2016-04-12 09:05:29 +02:00
|
|
|
|
* omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT
|
|
|
|
|
regardless whether there are depend clauses or not.
|
|
|
|
|
|
2016-04-11 21:45:35 +02:00
|
|
|
|
2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70381
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_opt_masks): Disable using the
|
|
|
|
|
target attribute and pragma from changing the -mfloat128
|
|
|
|
|
and -mfloat128-hardware options.
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (Additional Floating Types): Document PowerPC
|
|
|
|
|
__float128 restrictions.
|
|
|
|
|
|
2016-04-11 12:16:26 +02:00
|
|
|
|
2016-04-11 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70133
|
|
|
|
|
* config/aarch64/driver-aarch64.c
|
|
|
|
|
(aarch64_get_extension_string_for_isa_flags): New.
|
|
|
|
|
(arch_extension): Rename to...
|
|
|
|
|
(aarch64_arch_extension): ...This.
|
|
|
|
|
(ext_to_feat_string): Rename to...
|
|
|
|
|
(aarch64_extensions): ...This.
|
|
|
|
|
(aarch64_core_data): Keep track of architecture extension flags.
|
|
|
|
|
(cpu_data): Rename to...
|
|
|
|
|
(aarch64_cpu_data): ...This.
|
|
|
|
|
(aarch64_arch_driver_info): Keep track of architecture extension
|
|
|
|
|
flags.
|
|
|
|
|
(get_arch_name_from_id): Rename to...
|
|
|
|
|
(get_arch_from_id): ...This, change return type.
|
|
|
|
|
(host_detect_local_cpu): Update and reformat for renames, handle
|
|
|
|
|
extensions through common infrastructure.
|
|
|
|
|
|
2016-04-11 12:14:59 +02:00
|
|
|
|
2016-04-11 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70133
|
|
|
|
|
* config/aarch64/aarch64-common.c (aarch64_option_extension): Keep
|
|
|
|
|
track of a canonical flag name.
|
|
|
|
|
(all_extensions): Likewise.
|
|
|
|
|
(arch_to_arch_name): Also track extension flags enabled by the arch.
|
|
|
|
|
(all_architectures): Likewise.
|
|
|
|
|
(aarch64_parse_extension): Move to here.
|
|
|
|
|
(aarch64_get_extension_string_for_isa_flags): Take a new argument,
|
|
|
|
|
rework.
|
|
|
|
|
(aarch64_rewrite_selected_cpu): Update for above change.
|
|
|
|
|
* config/aarch64/aarch64-option-extensions.def: Rework the way flags
|
|
|
|
|
are handled, such that the single explicit value enabled by an
|
|
|
|
|
extension is kept seperate from the implicit values it also enables.
|
|
|
|
|
* config/aarch64/aarch64-protos.h (aarch64_parse_opt_result): Move
|
|
|
|
|
to here.
|
|
|
|
|
(aarch64_parse_extension): New.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_parse_opt_result): Move from
|
|
|
|
|
here to config/aarch64/aarch64-protos.h.
|
|
|
|
|
(aarch64_parse_extension): Move from here to
|
|
|
|
|
common/config/aarch64/aarch64-common.c.
|
|
|
|
|
(aarch64_option_print): Update.
|
|
|
|
|
(aarch64_declare_function_name): Likewise.
|
|
|
|
|
(aarch64_start_file): Likewise.
|
|
|
|
|
* config/aarch64/driver-aarch64.c (arch_extension): Keep track of
|
|
|
|
|
the canonical flag for extensions.
|
|
|
|
|
* config.gcc (aarch64*-*-*): Extend regex for capturing extension
|
|
|
|
|
flags.
|
|
|
|
|
|
2016-04-11 12:11:59 +02:00
|
|
|
|
2016-04-11 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.h (AARCH64_FL_FOR_ARCH8_1): Also add
|
|
|
|
|
AARCH64_FL_CRC.
|
|
|
|
|
|
2016-04-09 17:28:24 +02:00
|
|
|
|
2016-04-09 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68953
|
|
|
|
|
* graphite-sese-to-poly.c (pdr_add_memory_accesses): Order accesses from
|
|
|
|
|
first to last subscript.
|
|
|
|
|
|
2016-04-09 13:23:51 +02:00
|
|
|
|
2016-04-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70586
|
|
|
|
|
* tree-ssa-ifcombine.c (bb_no_side_effects_p): Return false
|
|
|
|
|
for any calls.
|
|
|
|
|
|
2016-04-08 23:09:47 +02:00
|
|
|
|
2016-04-08 Cesar Philippidis <cesar@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR lto/70289
|
|
|
|
|
PR ipa/70348
|
|
|
|
|
PR tree-optimization/70373
|
|
|
|
|
PR middle-end/70533
|
|
|
|
|
PR middle-end/70534
|
|
|
|
|
PR middle-end/70535
|
|
|
|
|
* gimplify.c (gimplify_adjust_omp_clauses): Add or adjust data
|
|
|
|
|
clauses for acc parallel reductions as necessary. Error on those
|
|
|
|
|
that are private.
|
|
|
|
|
* omp-low.c (scan_sharing_clauses): Don't install variables which
|
|
|
|
|
are used in acc parallel reductions.
|
|
|
|
|
(lower_rec_input_clauses): Remove dead code.
|
|
|
|
|
(lower_oacc_reductions): Add support for reference reductions.
|
|
|
|
|
(lower_reduction_clauses): Remove dead code.
|
|
|
|
|
(lower_omp_target): Don't remap variables appearing in acc parallel
|
|
|
|
|
reductions.
|
|
|
|
|
* tree.h (OMP_CLAUSE_MAP_IN_REDUCTION): New macro.
|
|
|
|
|
|
2016-04-08 19:21:17 +02:00
|
|
|
|
2016-04-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-04-08 19:28:20 +02:00
|
|
|
|
PR middle-end/70593
|
|
|
|
|
* tree-ssa-coalesce.c (build_ssa_conflict_graph): For stmt
|
|
|
|
|
with multiple SSA_NAME defs, force the outputs other than first
|
|
|
|
|
to be live before calling live_track_process_def on each output.
|
|
|
|
|
|
2016-04-08 19:21:17 +02:00
|
|
|
|
PR rtl-optimization/70574
|
|
|
|
|
* fwprop.c (forward_propagate_and_simplify): Don't add
|
|
|
|
|
REG_EQUAL note if DF_REF_REG (use) is a paradoxical subreg.
|
|
|
|
|
(try_fwprop_subst): Don't add REG_EQUAL note if there are any
|
|
|
|
|
paradoxical subregs within *loc.
|
|
|
|
|
|
2016-04-08 15:47:37 +02:00
|
|
|
|
2016-04-08 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.h (LINK_COMMAND_SPEC): Use gt to ignore
|
|
|
|
|
-ftree-parallelize-loops={0,1}.
|
|
|
|
|
* config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
|
|
|
|
|
* config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
|
|
|
|
|
* config/ia64/hpux.h (LIB_SPEC): Likewise.
|
|
|
|
|
* config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
|
|
|
|
|
* config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
|
|
|
|
|
|
2016-04-08 12:46:13 +02:00
|
|
|
|
2016-04-08 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/70541
|
|
|
|
|
* asan.c (instrument_derefs): If we get unknown location, extract it
|
|
|
|
|
with EXPR_LOCATION.
|
|
|
|
|
(maybe_instrument_call): Instrument gimple_call's arguments if needed.
|
|
|
|
|
|
2016-04-08 11:41:16 +02:00
|
|
|
|
2016-04-08 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (lower_omp_target): Set TREE_NO_WARNING for oacc
|
|
|
|
|
implicit firstprivate clause.
|
|
|
|
|
|
2016-04-08 11:39:44 +02:00
|
|
|
|
2016-04-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70566
|
|
|
|
|
* config/arm/thumb2.md (tst + branch-> lsls + branch
|
|
|
|
|
peephole below *orsi_not_shiftsi_si): Require that condition
|
|
|
|
|
register is dead after the peephole.
|
|
|
|
|
(second peephole after the above): Likewise.
|
|
|
|
|
|
2016-04-08 04:11:52 +02:00
|
|
|
|
2016-04-08 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70117
|
|
|
|
|
* builtins.c (fold_builtin_classify): For IBM extended precision,
|
|
|
|
|
look at just the high-order double to test for NaN.
|
|
|
|
|
(fold_builtin_interclass_mathfn): Similarly for Inf. For isnormal
|
|
|
|
|
test just the high double for Inf but both doubles for subnormal
|
|
|
|
|
limit.
|
|
|
|
|
|
2016-04-07 23:32:05 +02:00
|
|
|
|
2016-04-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cgraph.h (struct cgraph_simd_clone): Add mask_mode field.
|
|
|
|
|
* omp-low.c (simd_clone_init_simd_arrays, simd_clone_adjust): Handle
|
|
|
|
|
node->simdclone->mask_mode != VOIDmode masks.
|
|
|
|
|
(simd_clone_adjust_argument_types): Likewise. Move sc var definition
|
|
|
|
|
earlier, use it instead of node->simdclone.
|
|
|
|
|
* config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
|
|
|
|
|
Set clonei->mask_mode.
|
|
|
|
|
|
2016-04-07 01:10:14 +02:00
|
|
|
|
2016-04-06 Patrick Palka <ppalka@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR c/70436
|
|
|
|
|
* parser.c (cp_parser_iteration_statement): New parameter IF_P.
|
|
|
|
|
Pass it through to cp_parser_already_scoped_statement.
|
|
|
|
|
(cp_parser_already_scoped_statement): New parameter IF_P. Pass
|
|
|
|
|
it through to cp_parser_statement.
|
|
|
|
|
(cp_parser_statement): Pass IF_P through to
|
|
|
|
|
cp_parser_iteration_statement.
|
|
|
|
|
(cp_parser_pragma): Adjust call to
|
|
|
|
|
cp_parser_iteration_statement.
|
|
|
|
|
|
2016-04-07 01:07:21 +02:00
|
|
|
|
2016-04-06 Patrick Palka <ppalka@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR c/70436
|
|
|
|
|
* gimplify.c (gimplify_omp_ordered): Add explicit braces to
|
|
|
|
|
resolve a future -Wparentheses warning.
|
|
|
|
|
* omp-low.c (scan_sharing_clauses): Likewise.
|
|
|
|
|
* tree-parloops.c (eliminate_local_variables): Likewise.
|
|
|
|
|
|
2016-04-06 18:48:36 +02:00
|
|
|
|
2016-04-06 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70398
|
|
|
|
|
* lra-constraints.c (process_address_1): Check zero scale and code
|
|
|
|
|
for reloading with zero scale.
|
|
|
|
|
|
2016-04-06 17:09:37 +02:00
|
|
|
|
2016-04-06 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sse.md (shuffletype): Add V32HI and V4TI modes.
|
|
|
|
|
(ssescalarsize): Add V8SF, V4SF, V4DF and V2DF modes.
|
|
|
|
|
|
2016-04-06 14:42:24 +02:00
|
|
|
|
2016-04-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-04-06 14:47:19 +02:00
|
|
|
|
* config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
|
|
|
|
|
Add support for AVX512F clones, include them by default for
|
|
|
|
|
exported OpenMP declare simd functions. For AVX2 allow simdlen 32
|
|
|
|
|
and use it if charasteric type is 8-bit, for AVX512F allow simdlen
|
|
|
|
|
up to 128.
|
|
|
|
|
|
2016-04-06 14:42:24 +02:00
|
|
|
|
PR middle-end/70550
|
|
|
|
|
* tree.h (OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT): Define.
|
|
|
|
|
* gimplify.c (gimplify_adjust_omp_clauses_1): Set it for implicit
|
|
|
|
|
firstprivate clauses.
|
|
|
|
|
* omp-low.c (lower_send_clauses): Set TREE_NO_WARNING for
|
|
|
|
|
OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT !by_ref vars in task contexts.
|
|
|
|
|
(lower_omp_target): Set TREE_NO_WARNING for
|
|
|
|
|
non-addressable possibly uninitialized vars which are copied into
|
|
|
|
|
addressable temporaries or copied for GOMP_MAP_FIRSTPRIVATE_INT.
|
|
|
|
|
|
2016-04-06 01:42:36 +02:00
|
|
|
|
2016-04-05 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/predicates.md (integer_store_memory_operand): Accept
|
|
|
|
|
REG+D operands with a large offset when reload_in_progress is true.
|
|
|
|
|
(floating_point_store_memory_operand): Likewise.
|
|
|
|
|
|
2016-04-05 23:33:37 +02:00
|
|
|
|
2016-04-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/70336
|
|
|
|
|
* match.pd (nested int casts): Limit to GIMPLE.
|
|
|
|
|
|
2016-04-05 22:58:56 +02:00
|
|
|
|
2016-04-05 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/66223
|
|
|
|
|
* ipa-devirt.c (maybe_record_node): Fix comment; use
|
|
|
|
|
SANITIZE_UNREACHABLE instead of SANITIZE_UNDEFINED.
|
|
|
|
|
|
2016-04-05 19:05:23 +02:00
|
|
|
|
2016-04-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70542
|
|
|
|
|
* ree.c (add_removable_extension): For VECTOR_MODE_P punt
|
|
|
|
|
if there are any uses other than insn or debug insns.
|
|
|
|
|
|
2016-04-05 19:01:52 +02:00
|
|
|
|
2016-04-05 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70509
|
|
|
|
|
* simplify-rtx.c (simplify_binary_operation_1) <case VEC_SELECT>:
|
|
|
|
|
Shift HOST_WIDE_INT_1U instead of 1.
|
|
|
|
|
|
2016-04-05 18:58:50 +02:00
|
|
|
|
2016-04-05 Zdenek Sojka <zsojka@seznam.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70509
|
|
|
|
|
* tree-ssa-forwprop.c (simplify_bitfield_ref): Use bitsize_int instead
|
|
|
|
|
of the vector base type for index.
|
|
|
|
|
|
2016-04-05 18:26:40 +02:00
|
|
|
|
2016-04-05 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70510
|
|
|
|
|
* config/i386/sse.md (iptr): Add V64QI, V32HI, V16SI and V8DI modes.
|
|
|
|
|
|
2016-04-05 16:26:59 +02:00
|
|
|
|
2016-04-05 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70526
|
|
|
|
|
* tree-sra.c (build_ref_for_offset): Use prev_base to
|
|
|
|
|
extract the alias pointer type.
|
|
|
|
|
|
2016-04-05 16:25:35 +02:00
|
|
|
|
2016-04-05 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* dse.c (struct store_info): Remove alias_set member.
|
|
|
|
|
(struct read_info_type): Likewise.
|
|
|
|
|
(clear_alias_group, clear_alias_mode_table, clear_alias_mode_holder,
|
|
|
|
|
spill_deleted, clear_alias_set_lookup): Remove.
|
|
|
|
|
(get_group_info): Remove dead base == NULL_RTX case.
|
|
|
|
|
(dse_step0): Remove initialization of removed variables.
|
|
|
|
|
(delete_dead_store_insn): Reomve alias set dumping.
|
|
|
|
|
(free_read_records): Remove alias_set handling.
|
|
|
|
|
(canon_address): Remove alias_set_out parameter.
|
|
|
|
|
(record_store): Remove spill_alias_set, it's always zero.
|
|
|
|
|
(check_mem_read_rtx): Likewise.
|
|
|
|
|
(dse_step2): Rename from ...
|
|
|
|
|
(dse_step2_nospill): ... this. Adjust.
|
|
|
|
|
(scan_stores): Rename from ...
|
|
|
|
|
(scan_stores_nospill): ... this.
|
|
|
|
|
(scan_reads): Rename from ...
|
|
|
|
|
(scan_reads_nospill): ... this.
|
|
|
|
|
(scan_stores_spill, scan_reads_spill): Remove.
|
|
|
|
|
(dse_step3_scan): Remove for_spills argument which is always false.
|
|
|
|
|
(dse_step3): Likewise.
|
|
|
|
|
(dse_step5): Rename from ...
|
|
|
|
|
(dse_step5_nospill): ... this. Remove alias_set handling.
|
|
|
|
|
(rest_of_handle_dse): Adjust.
|
|
|
|
|
|
2016-04-05 10:15:09 +02:00
|
|
|
|
2016-04-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70525
|
|
|
|
|
* config/i386/sse.md (*andnot<mode>3): Simplify assertions.
|
|
|
|
|
Use vpandn<ssemodesuffix> for V16SI/V8DImode, vpandnq for
|
|
|
|
|
V32HI/V64QImode, don't use <mask_operand3_1>, fix up formatting.
|
|
|
|
|
(*andnot<mode>3_mask): Remove insn with VI12_AVX512VL iterator.
|
|
|
|
|
|
2016-04-05 10:05:06 +02:00
|
|
|
|
2016-04-05 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70499
|
|
|
|
|
* gimplify-me.c (gimple_regimplify_operands): Do not rewrite
|
|
|
|
|
non-register type temporaries into SSA.
|
|
|
|
|
|
2016-04-04 17:54:39 +02:00
|
|
|
|
2016-04-04 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/66223
|
|
|
|
|
* ipa-devirt.c (maybe_record_node): Do not optimize cxa_pure_virtual
|
|
|
|
|
calls when sanitizing.
|
2016-04-06 17:09:37 +02:00
|
|
|
|
(possible_polymorphic_call_target_p): Fix formatting.
|
2016-04-04 17:54:39 +02:00
|
|
|
|
|
2016-04-04 17:42:19 +02:00
|
|
|
|
2016-04-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70457
|
|
|
|
|
* tree-inline.c (estimate_num_insn): Use gimple_call_builtin_p
|
|
|
|
|
to ensure a call statement is compatible with a built-in's
|
|
|
|
|
prototype.
|
|
|
|
|
* tree-ssa-math-opts.c (pass_optimize_windening_mul::execute):
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2016-04-04 11:30:16 +02:00
|
|
|
|
2016-04-04 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70484
|
|
|
|
|
* rtl.h (canon_output_dependence): Declare.
|
|
|
|
|
* alias.c (canon_output_dependence): New function.
|
|
|
|
|
* dse.c (record_store): Use canon_output_dependence rather
|
|
|
|
|
than canon_true_dependence.
|
|
|
|
|
|
2016-04-04 11:26:29 +02:00
|
|
|
|
2016-03-30 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/68881
|
|
|
|
|
* cgraph.h (symtab_node::copy_visibility_from): New function.
|
|
|
|
|
* symtab.c (symtab_node::copy_visibility_from): New function.
|
|
|
|
|
* ipa-visibility.c (optimize_weakref): New function.
|
|
|
|
|
(function_and_variable_visibility): Use it.
|
|
|
|
|
|
2016-04-04 10:46:51 +02:00
|
|
|
|
2016-04-04 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR hsa/70402
|
|
|
|
|
* hsa-gen.c (gen_hsa_insns_for_switch_stmt): Guard index
|
|
|
|
|
value that is really in range handled by SBR instruction.
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* hsa-brig.c (emit_switch_insn): Do not emit unconditional jump.
|
2016-04-04 10:46:51 +02:00
|
|
|
|
* hsa-dump.c (dump_hsa_insn_1): Do not dump default BB.
|
|
|
|
|
* hsa.h (hsa_insn_sbr::m_default_bb): Remove field.
|
|
|
|
|
|
2016-04-03 14:50:54 +02:00
|
|
|
|
2016-04-03 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/70416
|
|
|
|
|
PR target/67391
|
|
|
|
|
* config/sh/sh.md (*addsi3): Allow pattern when reload_in_progress is
|
|
|
|
|
set, but not for SP_REG operands.
|
|
|
|
|
|
2016-04-02 19:14:48 +02:00
|
|
|
|
2016-04-02 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/67376
|
|
|
|
|
* fold-const.c (maybe_nonzero_address): New function.
|
|
|
|
|
(fold_comparison): Call it. Fold equality and relational
|
|
|
|
|
expressions involving null pointers.
|
|
|
|
|
(tree_single_nonzero_warnv_p): Call maybe_nonzero_address.
|
|
|
|
|
|
2016-04-01 21:55:52 +02:00
|
|
|
|
2016-03-31 Evandro Menezes <e.menezes@samsung.com>
|
|
|
|
|
|
|
|
|
|
Fix the predicate "aarch64_simd_reg_or_zero" to correctly validate
|
|
|
|
|
the "Y" constraint (scalar FP 0.0 immediate).
|
|
|
|
|
|
|
|
|
|
* gcc/config/aarch64/predicates.md (aarch64_simd_reg_or_zero):
|
|
|
|
|
Add the "const_double" to the list of operand constraints.
|
|
|
|
|
|
2016-04-01 18:08:21 +02:00
|
|
|
|
2016-04-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70467
|
|
|
|
|
* config/i386/i386.md (*add<dwi>3_doubleword, *sub<dwi>3_doubleword):
|
|
|
|
|
If low word of the last operand is 0, just emit addition/subtraction
|
|
|
|
|
for the high word.
|
|
|
|
|
|
2016-04-01 17:35:54 +02:00
|
|
|
|
2016-04-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70404
|
|
|
|
|
* config/s390/s390.c (s390_expand_insv): Check for everything
|
|
|
|
|
constant instead of just VOIDmode stuff.
|
|
|
|
|
|
2016-04-01 16:58:53 +02:00
|
|
|
|
2016-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70496
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* config/arm/arm.h (ASM_APP_OFF): Handle TARGET_ARM and TARGET_THUMB.
|
2016-04-01 16:58:53 +02:00
|
|
|
|
|
2016-04-01 14:57:52 +02:00
|
|
|
|
2016-04-01 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* tree.def (TRY_CATCH_EXPR): Correct documentation.
|
|
|
|
|
|
2016-03-31 19:51:13 +02:00
|
|
|
|
2016-03-31 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70461
|
|
|
|
|
* ira-color.c (allocno_copy_cost_saving): Use allocno class if it
|
|
|
|
|
is necessary.
|
|
|
|
|
|
2016-03-31 19:28:29 +02:00
|
|
|
|
2016-03-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR hsa/70399
|
|
|
|
|
* hsa-brig.c (hsa_op_immed::emit_to_buffer): Emit either
|
|
|
|
|
a tree value or an immediate integer value to a buffer
|
|
|
|
|
that is eventually copied to a BRIG section.
|
|
|
|
|
(emit_immediate_operand): Call the function here.
|
|
|
|
|
* hsa-dump.c (dump_hsa_immed): Remove checking assert.
|
|
|
|
|
* hsa-gen.c (hsa_op_immed::hsa_op_immed): Remove initialization
|
|
|
|
|
of class' fields that are removed.
|
|
|
|
|
(hsa_op_immed::~hsa_op_immed): Remove deinitialization.
|
|
|
|
|
* hsa.h (class hsa_op_immed): Remove m_brig_repr and
|
|
|
|
|
m_brig_repr_size fields.
|
|
|
|
|
|
2016-03-31 19:10:48 +02:00
|
|
|
|
2016-03-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR hsa/70391
|
|
|
|
|
* hsa-gen.c (hsa_function_representation::update_dominance): New
|
|
|
|
|
function.
|
|
|
|
|
(convert_addr_to_flat_segment): Likewise.
|
|
|
|
|
(gen_hsa_memory_set): New alignment argument.
|
|
|
|
|
(gen_hsa_ctor_assignment): Likewise.
|
|
|
|
|
(gen_hsa_insns_for_single_assignment): Provide alignment
|
|
|
|
|
to gen_hsa_ctor_assignment.
|
|
|
|
|
(gen_hsa_insns_for_direct_call): Add new argument.
|
|
|
|
|
(expand_lhs_of_string_op): New function.
|
|
|
|
|
(expand_string_operation_builtin): Likewise.
|
|
|
|
|
(expand_memory_copy): New function.
|
|
|
|
|
(expand_memory_set): New function.
|
|
|
|
|
(gen_hsa_insns_for_call): Use HOST_WIDE_INT.
|
|
|
|
|
(convert_switch_statements): Change signature.
|
|
|
|
|
(generate_hsa): Use a return value of the function.
|
|
|
|
|
(pass_gen_hsail::execute): Do not call
|
|
|
|
|
convert_switch_statements here.
|
|
|
|
|
* hsa-regalloc.c (hsa_regalloc): Call update_dominance.
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* hsa.h (hsa_function_representation::m_modified_cfg): New flag.
|
2016-03-31 19:10:48 +02:00
|
|
|
|
(hsa_function_representation::update_dominance): New function.
|
|
|
|
|
|
2016-03-31 19:10:15 +02:00
|
|
|
|
2016-03-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR hsa/70391
|
|
|
|
|
* hsa-brig.c (emit_directive_variable): Emit alignment
|
|
|
|
|
according to hsa_symbol::m_align.
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* hsa-dump.c (hsa_byte_alignment): Move the function to another file.
|
2016-03-31 19:10:15 +02:00
|
|
|
|
(dump_hsa_symbol): Dump alignment of HSA symbols.
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* hsa-gen.c (get_symbol_for_decl): Set-up alignment of a symbol.
|
2016-03-31 19:10:15 +02:00
|
|
|
|
(gen_hsa_addr_with_align): New function.
|
|
|
|
|
(hsa_bitmemref_alignment): Use newly added function.
|
|
|
|
|
(gen_hsa_insns_for_load): Likewise.
|
|
|
|
|
(gen_hsa_insns_for_store): Likewise.
|
|
|
|
|
(gen_hsa_memory_copy): New argument added.
|
|
|
|
|
(gen_hsa_insns_for_single_assignment): Respect
|
2016-04-05 18:26:40 +02:00
|
|
|
|
alignment for assignments processed via gen_hsa_memory_copy.
|
2016-03-31 19:10:15 +02:00
|
|
|
|
(gen_hsa_insns_for_direct_call): Likewise.
|
|
|
|
|
(gen_hsa_insns_for_return): Likewise.
|
2016-04-05 18:26:40 +02:00
|
|
|
|
(gen_function_def_parameters): Set default alignment.
|
2016-03-31 19:10:15 +02:00
|
|
|
|
* hsa.c (hsa_object_alignment): New function.
|
|
|
|
|
(hsa_byte_alignment): Pasted function.
|
|
|
|
|
* hsa.h (hsa_symbol::m_align): New field.
|
|
|
|
|
|
2016-03-31 18:17:44 +02:00
|
|
|
|
2016-03-31 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (get_computation_cost_at): Initialize
|
|
|
|
|
scratch field for goto case.
|
|
|
|
|
|
2016-03-31 17:48:47 +02:00
|
|
|
|
2016-03-31 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/linux-elf.h (ASM_OUTPUT_DEF): Delete.
|
|
|
|
|
|
2016-03-31 17:37:12 +02:00
|
|
|
|
2016-03-31 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70442
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* config/i386/i386.c (scalar_chain::convert_op): Fix description.
|
2016-03-31 17:37:12 +02:00
|
|
|
|
(scalar_chain::convert_insn): Call convert_op for reg
|
|
|
|
|
moves to handle undefined registers.
|
|
|
|
|
|
2016-03-31 17:30:33 +02:00
|
|
|
|
2016-03-31 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
PR c++/70393
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* varasm.c (output_constructor_regular_field): Flush bitfield earlier.
|
|
|
|
|
Assert we don't want to move backwards.
|
2016-03-31 17:30:33 +02:00
|
|
|
|
|
2016-03-31 17:23:29 +02:00
|
|
|
|
2016-03-31 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70453
|
|
|
|
|
* config/i386/sse.md (define_mode_attr shuffletype): Fix typo.
|
|
|
|
|
|
2016-03-31 15:00:52 +02:00
|
|
|
|
2016-03-31 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70460
|
|
|
|
|
* ira.c (indirect_jump_optimize): Don't substitute LABEL_REF
|
|
|
|
|
with operand from REG_LABEL_OPERAND, instead substitute
|
|
|
|
|
SET_SRC or REG_EQUAL note content if it is a LABEL_REF.
|
|
|
|
|
Don't do anything for REG_NON_LOCAL_GOTO jumps.
|
|
|
|
|
|
2016-03-31 12:42:55 +02:00
|
|
|
|
2016-03-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* passes.c (execute_one_pass): Do not call
|
|
|
|
|
todo_after for a discarded function.
|
|
|
|
|
|
2016-03-31 10:57:13 +02:00
|
|
|
|
2016-03-31 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivopts.c (struct comp_cost): New scrach field.
|
|
|
|
|
(no_cost, infinite_cost): Initialize the new field.
|
|
|
|
|
(get_computation_cost_at): Record setup cost.
|
|
|
|
|
(determine_use_iv_cost_address): Skip cost computation for sub
|
|
|
|
|
uses if we can estimate it without losing accuracy.
|
|
|
|
|
|
2016-03-30 16:30:57 +02:00
|
|
|
|
2016-03-30 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-niter.c (idx_infer_loop_bounds): We can't get realistic
|
|
|
|
|
estimates here.
|
|
|
|
|
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Use also
|
|
|
|
|
max_loop_iterations_int.
|
|
|
|
|
(tree_unswitch_outer_loop): Likewise.
|
|
|
|
|
* tree-ssa-loop-ivopts.c (avg_loop_niter): Likewise.
|
|
|
|
|
* tree-vect-loop.c (vect_analyze_loop_2): Likewise.
|
|
|
|
|
|
2016-03-30 16:18:28 +02:00
|
|
|
|
2016-03-30 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70450
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* fold-const.c (extract_muldiv_1): Fix thinko in wide_int::from usage.
|
2016-03-30 16:18:28 +02:00
|
|
|
|
|
2016-03-30 16:06:51 +02:00
|
|
|
|
2016-03-30 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70421
|
|
|
|
|
* config/i386/i386.c (ix86_expand_vector_set): Fix up argument order
|
|
|
|
|
in gen_blendm expander.
|
|
|
|
|
|
2016-03-30 14:48:42 +02:00
|
|
|
|
2016-03-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/62254
|
|
|
|
|
* config/arm/arm.c (arm_reload_out_hi): Add code to handle the
|
|
|
|
|
case where we are already provided with an SImode SUBREG.
|
|
|
|
|
|
2016-04-02 02:24:44 +02:00
|
|
|
|
2016-03-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70439
|
|
|
|
|
* config/i386/i386.c (ix86_expand_epilogue): Properly check
|
|
|
|
|
conflict between DRAP register and __builtin_eh_return.
|
|
|
|
|
|
2016-03-30 09:47:40 +02:00
|
|
|
|
2016-03-30 Michael Matz <matz@suse.de>
|
2016-03-30 16:06:51 +02:00
|
|
|
|
Richard Biener <rguenther@suse.de>
|
2016-03-30 09:47:40 +02:00
|
|
|
|
|
|
|
|
|
PR ipa/12392
|
|
|
|
|
* ipa-polymorphic-call.c (struct type_change_info): Change
|
|
|
|
|
speculative to an unsigned allowing to limit the work we do.
|
|
|
|
|
(csftc_abort_walking_p): New inline function..
|
|
|
|
|
(check_stmt_for_type_change): Limit the number of may-defs
|
|
|
|
|
skipped for speculative devirtualization to
|
|
|
|
|
max-speculative-devirt-maydefs.
|
|
|
|
|
* params.def (max-speculative-devirt-maydefs): New param.
|
|
|
|
|
* doc/invoke.texi (--param max-speculative-devirt-maydefs): Document.
|
|
|
|
|
|
2016-03-30 05:57:30 +02:00
|
|
|
|
2016-03-30 Mike Stump <mrs@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/63890
|
|
|
|
|
* config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Use when profiling
|
|
|
|
|
and TARGET_MACHO.
|
|
|
|
|
|
2016-03-30 02:55:00 +02:00
|
|
|
|
2016-03-30 Patrick Palka <ppalka@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/59124
|
|
|
|
|
* tree-vrp.c (register_edge_assert_for_2): For NAME != CST1
|
|
|
|
|
where NAME = A +- CST2 add the assertion A != (CST1 -+ CST2).
|
|
|
|
|
|
2016-03-30 00:26:28 +02:00
|
|
|
|
2016-03-29 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* tree-ssa-coalesce.c (struct ssa_conflicts): Fix typo in comment.
|
2016-03-30 00:26:28 +02:00
|
|
|
|
|
2016-03-30 00:03:00 +02:00
|
|
|
|
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-ivcanon.c (try_peel_loop): Change type of peel
|
|
|
|
|
to HOST_WIDE_INT.
|
|
|
|
|
|
2016-03-29 23:17:53 +02:00
|
|
|
|
2016-03-29 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/gnu.h (CPP_SPEC, LIB_SPEC): Don't override.
|
|
|
|
|
* config/i386/gnu.h (STARTFILE_SPEC): Use gcrt1.o instead of
|
|
|
|
|
gcrt0.o if linking dynamically.
|
|
|
|
|
|
2016-03-29 21:37:55 +02:00
|
|
|
|
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/70283
|
|
|
|
|
* ipa-devirt.c (methods_equal_p): New function.
|
|
|
|
|
(compare_virtual_tables): Use it.
|
|
|
|
|
* cgraph.h (symbol_table::symbol_suffix_separator): Declare.
|
|
|
|
|
* cgraphclones.c (clone_function_name_1): Use
|
|
|
|
|
symbol_table::symbol_suffix_separator.
|
|
|
|
|
* coverage.c (build_var): Likewise.
|
|
|
|
|
* symtab.c (symbol_table::symbol_suffix_separator): New.
|
|
|
|
|
|
2016-03-29 19:33:52 +02:00
|
|
|
|
2016-03-29 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-03-29 20:49:00 +02:00
|
|
|
|
PR rtl-optimization/70429
|
|
|
|
|
* combine.c (simplify_shift_const_1): For ASHIFTRT don't optimize
|
|
|
|
|
(cst1 >> count) >> cst2 into (cst1 >> cst2) >> count if
|
|
|
|
|
mode != result_mode.
|
|
|
|
|
|
2016-03-29 20:40:02 +02:00
|
|
|
|
PR c++/70353
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* tree-inline.c (remap_decls): Don't add_local_decl if cfun is null.
|
2016-03-29 20:40:02 +02:00
|
|
|
|
|
2016-03-29 19:33:52 +02:00
|
|
|
|
PR tree-optimization/70405
|
|
|
|
|
* ssa-iterators.h (num_imm_uses): Add missing braces.
|
|
|
|
|
|
2016-03-29 18:20:39 +02:00
|
|
|
|
2016-03-29 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68695
|
|
|
|
|
* ira-color.c (allocno_copy_cost_saving): New.
|
|
|
|
|
(improve_allocation): Use it.
|
|
|
|
|
|
2016-03-29 17:19:00 +02:00
|
|
|
|
2016-03-29 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70355
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* lower-subreg.c (simplify_subreg_concatn): Reject paradoxical subregs.
|
2016-03-29 17:19:00 +02:00
|
|
|
|
|
2016-03-29 14:36:39 +02:00
|
|
|
|
2016-03-29 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70424
|
|
|
|
|
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Always
|
|
|
|
|
use alignment returned by get_pointer_alignment_1 if it is
|
|
|
|
|
bigger than BITS_PER_UNIT.
|
|
|
|
|
* builtins.c (get_pointer_alignment_1): Do not return true
|
|
|
|
|
for alignment extracted from SSA info.
|
|
|
|
|
|
2016-03-29 02:37:26 +02:00
|
|
|
|
2016-03-28 James Bowman <james.bowman@ftdichip.com>
|
|
|
|
|
|
|
|
|
|
* config/ft32/ft32.opt (mnodiv): New.
|
2016-04-05 18:26:40 +02:00
|
|
|
|
* config/ft32/ft32.md (*divsi3, *modsi3): Qualify with TARGET_NODIV.
|
2016-03-29 02:37:26 +02:00
|
|
|
|
* doc/invoke.texi (FT32 Options -mnodiv): New.
|
|
|
|
|
|
2016-03-28 09:59:44 +02:00
|
|
|
|
2016-03-28 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
2016-04-05 18:26:40 +02:00
|
|
|
|
PR target/70406
|
|
|
|
|
* config/i386/i386.md (define_split, andn): Fix modes.
|
2016-03-28 09:59:44 +02:00
|
|
|
|
|
2016-03-26 11:08:47 +01:00
|
|
|
|
2016-03-26 Richard Biener <rguenther@suse.de>
|
2016-04-05 18:26:40 +02:00
|
|
|
|
Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
|
2016-03-26 11:08:47 +01:00
|
|
|
|
|
|
|
|
|
PR ipa/70366
|
|
|
|
|
* ipa-inline-transform.c (inline_call): Pass opts_for_fn (to->decl)
|
|
|
|
|
instead of
|
|
|
|
|
TREE_OPTIMIZATION (DECL_FUNCTION_SPECIFIC_OPTIMIZATION (to->decl))
|
|
|
|
|
as 2nd argument to cl_optimization_restore().
|
|
|
|
|
|
2016-03-26 00:37:13 +01:00
|
|
|
|
2016-03-25 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70120
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_asm_output_pool_epilogue): New.
|
|
|
|
|
* config/aarch64/aarch64-protos.h: Declare it.
|
|
|
|
|
* config/aarch64/aarch64.h (ASM_OUTPUT_POOL_EPILOGUE): New.
|
|
|
|
|
|
2016-03-25 10:10:03 +01:00
|
|
|
|
2016-03-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70052
|
|
|
|
|
* config/rs6000/constraints.md (j): Simplify.
|
|
|
|
|
* config/rs6000/predicates.md (easy_fp_constant): Exclude
|
|
|
|
|
decimal float 0.D.
|
|
|
|
|
* config/rs6000/rs6000.md (zero_fp): New mode_attr.
|
|
|
|
|
(mov<mode>_hardfloat, mov<mode>_hardfloat32, mov<mode>_hardfloat64,
|
|
|
|
|
mov<mode>_64bit_dm, mov<mode>_32bit): Use zero_fp in place of j
|
|
|
|
|
in all constraint alternatives.
|
|
|
|
|
(movtd_64bit_nodm): Delete "j" constraint alternative.
|
|
|
|
|
|
2016-03-25 06:59:57 +01:00
|
|
|
|
2016-03-24 Aldy Hernandez <aldyh@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-propagate.c: Enhance docs for
|
|
|
|
|
SSA_PROP_NOT_INTERESTING.
|
|
|
|
|
|
2016-03-25 05:00:17 +01:00
|
|
|
|
2016-03-24 Aldy Hernandez <aldyh@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi: Fix typo in documentation to pure attribute.
|
|
|
|
|
|
2016-03-25 01:59:02 +01:00
|
|
|
|
2016-03-24 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/70319
|
|
|
|
|
* config/pa/pa.md (bswapdi2): Use a scratch register.
|
|
|
|
|
|
2016-03-24 18:52:11 +01:00
|
|
|
|
2016-03-24 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2016-04-05 18:26:40 +02:00
|
|
|
|
PR middle-end/69845
|
2016-03-24 18:52:11 +01:00
|
|
|
|
* fold-const.c (extract_muldiv_1): Correct test for multiplication
|
|
|
|
|
overflow.
|
|
|
|
|
|
2016-03-24 15:48:05 +01:00
|
|
|
|
2016-03-24 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*anddi3_doubleword): Generate AND insn
|
|
|
|
|
using ix86_expand_binary_operator instead of gen_andsi3.
|
|
|
|
|
|
2016-03-24 15:07:42 +01:00
|
|
|
|
2016-03-24 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70396
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_comparison): Use
|
|
|
|
|
get_vectype_for_scalar_type.
|
|
|
|
|
|
2016-03-24 13:19:56 +01:00
|
|
|
|
2016-03-24 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70370
|
|
|
|
|
* gimplify.c (gimplify_asm_expr): Handle !allows_mem outputs
|
|
|
|
|
with register bases.
|
|
|
|
|
|
2016-03-24 09:17:43 +01:00
|
|
|
|
2016-03-24 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70372
|
|
|
|
|
* tree-ssa-reassoc.c (eliminate_plus_minus_pair): Use
|
|
|
|
|
build_all_ones_cst to also handle vector types correctly.
|
|
|
|
|
|
2016-03-23 21:33:28 +01:00
|
|
|
|
2016-03-23 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70381
|
|
|
|
|
* config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Do not set
|
|
|
|
|
-mfloat128 here.
|
|
|
|
|
|
2016-03-23 18:51:56 +01:00
|
|
|
|
2016-03-23 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69884
|
|
|
|
|
* doc/invoke.texi: Document -Wignored-attributes.
|
|
|
|
|
|
2016-03-23 16:26:43 +01:00
|
|
|
|
2016-03-23 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69042
|
|
|
|
|
* params.def (PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND): Increase the
|
|
|
|
|
parameter from 30 to 40.
|
|
|
|
|
|
2016-03-23 16:24:20 +01:00
|
|
|
|
2016-03-23 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69042
|
|
|
|
|
* tree-ssa-loop-ivopts.c (add_iv_candidate_for_use): Add IV cand
|
|
|
|
|
for use with constant offset stripped in base.
|
|
|
|
|
|
2016-03-23 14:40:50 +01:00
|
|
|
|
2016-03-23 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70251
|
|
|
|
|
* match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Adjust
|
|
|
|
|
mode compatibility check.
|
|
|
|
|
(A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise.
|
|
|
|
|
|
2016-03-23 14:20:16 +01:00
|
|
|
|
2016-03-23 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/64058
|
|
|
|
|
* tree-ssa-coalesce.c (struct coalesce_pair): Add new field
|
|
|
|
|
CONFLICT_COUNT.
|
|
|
|
|
(struct ssa_conflicts): Move up earlier in the file.
|
|
|
|
|
(conflicts_, var_map_): New static variables.
|
|
|
|
|
(initialize_conflict_count): New function to initialize the
|
|
|
|
|
CONFLICT_COUNT field for each conflict pair.
|
|
|
|
|
(compare_pairs): Lazily initialize the conflict count and use it
|
|
|
|
|
as the first tie-breaker.
|
|
|
|
|
(sort_coalesce_list): Add new arguments conflicts, map. Initialize
|
|
|
|
|
and wipe conflicts_ and map_ around the call to qsort. Remove
|
|
|
|
|
special case for 2 coalesce pairs.
|
|
|
|
|
* bitmap.c (bitmap_count_unique_bits): New function.
|
|
|
|
|
(bitmap_count_bits_in_word): New function, extracted from
|
|
|
|
|
bitmap_count_bits.
|
|
|
|
|
(bitmap_count_bits): Use bitmap_count_bits_in_word.
|
|
|
|
|
* bitmap.h (bitmap_count_unique_bits): Declare it.
|
|
|
|
|
|
2016-03-23 11:55:37 +01:00
|
|
|
|
2016-03-23 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69917
|
|
|
|
|
* config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Follow
|
|
|
|
|
transparent alias chain for decl assembler name.
|
|
|
|
|
* config/sol2.c (solaris_assemble_visibility): Likewise.
|
|
|
|
|
|
2016-03-23 11:39:10 +01:00
|
|
|
|
2016-03-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm1020e.md (1020call_op): Reduce reservation
|
|
|
|
|
duration.
|
|
|
|
|
(v10_fdivs): Likewise.
|
|
|
|
|
(v10_fdivd): Likewise.
|
|
|
|
|
|
2016-03-23 11:16:31 +01:00
|
|
|
|
2016-03-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR driver/70132
|
|
|
|
|
* config/arm/driver-arm.c (host_detect_local_cpu): Reorder exit logic
|
|
|
|
|
to not call fclose twice on file.
|
|
|
|
|
|
2016-03-23 10:49:12 +01:00
|
|
|
|
2016-03-23 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-03-23 10:52:00 +01:00
|
|
|
|
PR tree-optimization/70354
|
|
|
|
|
* tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If
|
|
|
|
|
oprnd0 is wider than oprnd1 and there is a cast from the wider
|
|
|
|
|
type to oprnd1, mask it with the mask of the narrower type.
|
|
|
|
|
|
2016-03-23 10:49:12 +01:00
|
|
|
|
PR target/70321
|
|
|
|
|
* config/i386/i386.md (*anddi3_doubleword, *<code>di3_doubleword):
|
|
|
|
|
Optimize TARGET_STV splitters, if high or low word of last argument
|
|
|
|
|
is 0 or -1.
|
|
|
|
|
|
2016-03-22 22:32:34 +01:00
|
|
|
|
2016-03-22 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70232
|
|
|
|
|
tree-ssa-threadbackward.c
|
|
|
|
|
(fsm_find_control_statement_thread_paths): Correctly distinguish
|
|
|
|
|
between old style jump threads vs FSM jump threads.
|
|
|
|
|
|
2016-03-22 20:00:14 +01:00
|
|
|
|
2016-03-22 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70302
|
|
|
|
|
* config/i386/i386.c (scalar_chain::convert_op): Support
|
|
|
|
|
uninitialized register usage case.
|
|
|
|
|
|
2016-03-22 15:38:42 +01:00
|
|
|
|
2016-03-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70251
|
|
|
|
|
* genmatch.c (gen_transform): Adjust last parameter to a three-state
|
|
|
|
|
int...
|
|
|
|
|
(capture::gen_transform): ... to change behavior when substituting
|
|
|
|
|
a condition into cond or not-cond expr context.
|
|
|
|
|
(dt_simplify::gen_1): Adjust.
|
|
|
|
|
* gimple-match-head.c: Include gimplify.h for unshare_expr.
|
|
|
|
|
* match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Revert
|
|
|
|
|
last change and instead change to
|
|
|
|
|
A + (B vcmp C ? 1 : 0) -> A - (B vcmp C ? -1 : 0).
|
|
|
|
|
(A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise.
|
|
|
|
|
|
2016-03-22 15:25:44 +01:00
|
|
|
|
2016-03-22 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* config/moxie/moxiebox.h (CC1_SPEC): Define. Fix endianness
|
|
|
|
|
issue for moxiebox targets.
|
|
|
|
|
(CC1PLUS_SPEC): Ditto.
|
|
|
|
|
|
2016-03-22 14:23:00 +01:00
|
|
|
|
2016-03-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70333
|
|
|
|
|
* fold-const.c (extract_muldiv_1): Properly perform multiplication
|
|
|
|
|
in the wide type.
|
|
|
|
|
|
2016-03-22 14:17:11 +01:00
|
|
|
|
2016-03-22 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (def_builtin): Remove duplicated functionality.
|
|
|
|
|
|
2016-03-22 12:09:03 +01:00
|
|
|
|
2016-03-22 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70325
|
|
|
|
|
* config/i386/i386.c (def_builtin): Handle
|
|
|
|
|
OPTION_MASK_ISA_AVX512VL to be and-ed with other
|
|
|
|
|
bits.
|
|
|
|
|
(const struct builtin_description bdesc_special_args[]):
|
|
|
|
|
Remove duplicate ISA bits.
|
|
|
|
|
|
2016-03-22 09:11:14 +01:00
|
|
|
|
2016-03-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-03-22 09:28:49 +01:00
|
|
|
|
PR target/70329
|
|
|
|
|
* config/i386/i386.c (ix86_expand_vecop_qihi): Don't bother computing
|
|
|
|
|
d.perm[i] for i >= d.nelt. If not full_interleave, compute d.perm[i]
|
|
|
|
|
in a way that works also for AVX512BW.
|
|
|
|
|
|
2016-03-22 09:14:24 +01:00
|
|
|
|
PR target/70300
|
|
|
|
|
* config/i386/i386.md (cvtsd2ss splitter): Unpack in destination
|
|
|
|
|
instead of source if operands[1] is xmm16 and above and
|
|
|
|
|
!TARGET_AVX512VL. Use avx512f_vec_dupv16sf_1 instead of
|
|
|
|
|
vec_interleave_lowv4sf if we need to unpack xmm16 and above.
|
|
|
|
|
|
2016-03-22 09:11:14 +01:00
|
|
|
|
PR c++/70295
|
|
|
|
|
* gimplify.c (gimplify_modify_expr): Call gimple_set_no_warning
|
|
|
|
|
on assign if (*from_p) is a comparison, set it to
|
|
|
|
|
TREE_NO_WARNING (*from_p).
|
|
|
|
|
|
2016-03-21 22:04:32 +01:00
|
|
|
|
2016-03-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70326
|
|
|
|
|
* lra.c (restore_scratches): Ignore deleted insns.
|
|
|
|
|
|
2016-03-21 22:03:44 +01:00
|
|
|
|
2016-03-21 Marc Glisse <marc.glisse@inria.fr>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70317
|
|
|
|
|
* match.pd (cmp @0 @0): Pass @0 instead of TYPE_MODE (TREE_TYPE (@0))
|
|
|
|
|
to HONOR_NANS.
|
|
|
|
|
|
2016-03-21 20:56:50 +01:00
|
|
|
|
2016-03-21 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70327
|
|
|
|
|
* config/i386/i386.md (movxi): Use ix86_expand_vector_move instead
|
|
|
|
|
of ix86_expand_move.
|
|
|
|
|
(movoi): Ditto.
|
|
|
|
|
(movti): Use general_operand for operand 1 predicate.
|
|
|
|
|
|
2016-03-21 20:39:27 +01:00
|
|
|
|
2016-03-21 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa-dump.c (dump_hsa_insn_1): dump default branch of SBR
|
|
|
|
|
insns.
|
|
|
|
|
(dump_hsa_symbol): Dump BRIG offset of hsa_symbols.
|
|
|
|
|
|
2016-03-21 20:33:33 +01:00
|
|
|
|
2016-03-21 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
2016-03-22 12:31:53 +01:00
|
|
|
|
PR ipa/70306
|
2016-03-21 20:33:33 +01:00
|
|
|
|
* ipa-icf.c (sem_function::parse): Skip static
|
|
|
|
|
constructors and destructors.
|
|
|
|
|
|
2016-03-21 16:41:13 +01:00
|
|
|
|
2016-03-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70296
|
|
|
|
|
* config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If IDENT is
|
|
|
|
|
function-like macro, peek following token(s) if it is followed
|
|
|
|
|
by CPP_OPEN_PAREN token with optional padding in between, and
|
|
|
|
|
if not, don't treat it like a macro.
|
|
|
|
|
|
2016-03-21 16:31:50 +01:00
|
|
|
|
2016-03-21 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
Alexander Monakov <amonakov@ispras.ru>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/nvptx.c (nvptx_option_override): Don't emit sorry
|
|
|
|
|
for the stabs debug format.
|
|
|
|
|
|
2016-03-21 14:50:50 +01:00
|
|
|
|
2016-03-21 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70310
|
|
|
|
|
* tree-vect-generic.c (expand_vector_condition): Fold the built
|
|
|
|
|
condition.
|
|
|
|
|
|
2016-03-21 11:51:04 +01:00
|
|
|
|
2016-03-21 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70293
|
2016-03-21 20:56:50 +01:00
|
|
|
|
* config/i386/sse.md: (define_insn "*vec_dup<mode>"/AVX2):
|
2016-03-21 11:51:04 +01:00
|
|
|
|
Block third alternative for AVX-512VL target,
|
|
|
|
|
|
2016-03-21 11:27:53 +01:00
|
|
|
|
2016-03-21 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR hsa/70234
|
|
|
|
|
* hsa-brig.c (emit_function_directives): Mark unemitted
|
|
|
|
|
global variables for emission.
|
|
|
|
|
* hsa-gen.c (hsa_symbol::hsa_symbol): Initialize a new flag.
|
|
|
|
|
(get_symbol_for_decl): Likewise.
|
|
|
|
|
* hsa.h (struct hsa_symbol): New flag.
|
|
|
|
|
|
2016-03-21 10:11:37 +01:00
|
|
|
|
2016-03-21 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70288
|
|
|
|
|
* tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Make sure
|
|
|
|
|
we do not estimate unsimplified all-constant conditionals or
|
|
|
|
|
switches as optimized away.
|
|
|
|
|
|
2016-03-21 08:52:05 +01:00
|
|
|
|
2016-03-21 Andrey Belevantsev <abel@ispras.ru>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69102
|
|
|
|
|
* sched-deps.c (sched_analyze_insn): Do not set last_args_size field
|
2016-03-21 20:56:50 +01:00
|
|
|
|
when we have a readonly dependency context.
|
2016-03-21 08:52:05 +01:00
|
|
|
|
|
2016-03-18 20:30:20 +01:00
|
|
|
|
2016-03-18 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70263
|
|
|
|
|
* ira.c (memref_used_between_p): Assert we found END in the insn chain.
|
|
|
|
|
(update_equiv_regs): When trying to move a store to after the insn
|
|
|
|
|
that sets the source of the store, make sure the store occurs after
|
|
|
|
|
the insn that sets the source of the store. When successful note
|
|
|
|
|
the REG_EQUIV note created in the dump file.
|
|
|
|
|
|
2016-03-18 20:12:10 +01:00
|
|
|
|
2016-03-16 David Wohlferd <dw@LimeGreenSocks.com>
|
2016-03-21 20:56:50 +01:00
|
|
|
|
Bernd Schmidt <bschmidt@redhat.com>
|
2016-03-18 20:12:10 +01:00
|
|
|
|
|
|
|
|
|
* doc/extend.texi: Document more potential problems with basic asms.
|
|
|
|
|
|
2016-03-18 20:09:08 +01:00
|
|
|
|
2016-03-18 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70278
|
|
|
|
|
* lra-constraints.c (split_reg): Handle the case where biggest_mode is
|
|
|
|
|
VOIDmode.
|
|
|
|
|
|
2016-03-18 16:31:18 +01:00
|
|
|
|
2016-03-18 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* calls.c (load_register_parameters): Fix zero size sibcall logic.
|
|
|
|
|
|
2016-03-18 12:36:30 +01:00
|
|
|
|
2016-03-18 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
2016-03-21 20:56:50 +01:00
|
|
|
|
* config/i386/sse.md: Use vpbroadcastq for broadcasting DF
|
|
|
|
|
values to 128b regs.
|
2016-03-18 12:36:30 +01:00
|
|
|
|
|
2016-03-18 10:36:32 +01:00
|
|
|
|
2016-03-18 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70252
|
|
|
|
|
* tree-vect-stmts.c (supportable_widening_operation): Check resulting
|
|
|
|
|
boolean vector has a proper number of elements.
|
|
|
|
|
(supportable_narrowing_operation): Likewise.
|
|
|
|
|
|
2016-03-18 10:17:23 +01:00
|
|
|
|
2016-03-18 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR ipa/70269
|
|
|
|
|
* cgraph.c (cgraph_node::get_body): Set dump_file to NULL after save.
|
|
|
|
|
|
2016-03-18 09:25:57 +01:00
|
|
|
|
2016-03-18 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* reload1.c (emit_input_reload_insns): Use simplify_replace_rtx
|
|
|
|
|
instead of replace_rtx for DEBUG_INSNs.
|
|
|
|
|
|
2016-03-18 08:49:00 +01:00
|
|
|
|
2016-03-18 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/znver1.md : Fix latencies of FP/SSE/AVX
|
|
|
|
|
load type reservations.
|
|
|
|
|
|
2016-03-17 23:49:15 +01:00
|
|
|
|
2016-03-17 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/70188
|
|
|
|
|
* config/pa/constraints.md: Revert 2015-02-13 change. Use
|
|
|
|
|
define_constraint for "Q" and "T" constraints.
|
|
|
|
|
|
2016-03-17 22:20:50 +01:00
|
|
|
|
2016-03-17 Evandro Menezes <e.menezes@samsung.com>
|
2016-03-18 20:12:10 +01:00
|
|
|
|
|
2016-03-17 22:20:50 +01:00
|
|
|
|
Tweak the pipeline model for Exynos M1
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (exynosm1_tunings): Enable weak prefetching
|
|
|
|
|
model.
|
|
|
|
|
|
2016-03-17 19:27:47 +01:00
|
|
|
|
2016-03-17 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/70264
|
|
|
|
|
* diagnostic-show-locus.c (compatible_locations_p): Handle the case
|
|
|
|
|
where one or both locations aren't within a line_map.
|
|
|
|
|
|
2016-03-17 16:11:35 +01:00
|
|
|
|
2016-03-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR driver/70192
|
|
|
|
|
* opts.c (finish_options): Don't set flag_pie to the default if
|
|
|
|
|
-fpic, -fPIC, -fno-pic or -fno-PIC is used. Set flag_pic to 0
|
|
|
|
|
if it is -1.
|
|
|
|
|
|
2016-03-17 15:10:39 +01:00
|
|
|
|
2016-03-17 Joern Rennecke <joern.rennecke@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*movv4qicc_insn+1..36): Pass
|
|
|
|
|
true as ALL_REGS argument to replace_rtx.
|
|
|
|
|
|
2016-03-17 14:43:01 +01:00
|
|
|
|
2016-03-17 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR debug/70271
|
|
|
|
|
* dwarf2out.c (dwarf2out_early_finish): Process deferred_asm_name
|
|
|
|
|
last.
|
|
|
|
|
|
2016-03-17 12:53:53 +01:00
|
|
|
|
2016-03-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70245
|
|
|
|
|
* rtl.h (replace_rtx): Add ALL_REGS argument.
|
|
|
|
|
* rtlanal.c (replace_rtx): Likewise. If true, use REGNO
|
|
|
|
|
equality and assert mode is the same, instead of just rtx pointer
|
|
|
|
|
equality.
|
|
|
|
|
* config/i386/i386.md (mov + arithmetics with load peephole): Pass
|
|
|
|
|
true as ALL_REGS argument to replace_rtx.
|
|
|
|
|
|
2016-03-17 11:58:26 +01:00
|
|
|
|
2016-03-17 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
* match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Apply
|
|
|
|
|
for boolean vector with vector mode only.
|
|
|
|
|
(A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise.
|
|
|
|
|
|
2016-03-17 11:16:38 +01:00
|
|
|
|
2016-03-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70162
|
|
|
|
|
* config/rx/rx.c (rx_print_integer): Print negative constants in
|
|
|
|
|
decimal.
|
|
|
|
|
|
2016-03-17 09:01:26 +01:00
|
|
|
|
2016-03-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70261
|
|
|
|
|
* rtlanal.c (replace_rtx): Revert 2016-03-16 change.
|
|
|
|
|
|
2016-03-17 00:53:01 +01:00
|
|
|
|
2016-03-16 Richard Henderson <rth@redhat.com>
|
|
|
|
|
Richard Biener <rguenth@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70240
|
|
|
|
|
PR middle-end/68215
|
|
|
|
|
PR tree-opt/68714
|
|
|
|
|
* gimplify.c (gimplify_expr) [VEC_COND_EXPR]: Gimplify the
|
|
|
|
|
first operand as is_gimple_condexpr.
|
|
|
|
|
|
2016-03-17 00:53:10 +01:00
|
|
|
|
PR middle-end/70240
|
|
|
|
|
PR middle-end/68215
|
|
|
|
|
Revert r231575
|
|
|
|
|
2015-12-11 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
* tree-vect-generic.c (tree_vec_extract): Remove GSI parameter.
|
|
|
|
|
Do not gimplify the result.
|
|
|
|
|
(do_unop): Adjust call to tree_vec_extract.
|
|
|
|
|
(do_binop): Likewise.
|
|
|
|
|
(do_compare): Likewise.
|
|
|
|
|
(do_plus_minus): Likewise.
|
|
|
|
|
(do_negate): Likewise.
|
|
|
|
|
(expand_vector_condition): Likewise.
|
|
|
|
|
(do_cond): Likewise.
|
|
|
|
|
|
2016-03-16 22:23:05 +01:00
|
|
|
|
2016-03-16 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70048
|
|
|
|
|
* config/aarch64/aarch64.c (virt_or_elim_regno_p): New.
|
|
|
|
|
(aarch64_classify_address): Use it.
|
|
|
|
|
(aarch64_legitimize_address): Force all subexpressions of PLUS
|
|
|
|
|
into registers. Simplify as (sfp+const)+reg or (reg+reg)+const.
|
|
|
|
|
|
2016-03-16 18:52:20 +01:00
|
|
|
|
2016-03-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Richard Biener <rguenth@suse.de>
|
|
|
|
|
|
|
|
|
|
PR target/70245
|
|
|
|
|
* rtlanal.c (replace_rtx): For REG, if from is a REG,
|
|
|
|
|
return to even if only REGNO is equal, and assert
|
|
|
|
|
mode is the same.
|
|
|
|
|
|
2016-03-16 17:58:12 +01:00
|
|
|
|
2016-03-11 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2016-03-16 18:03:45 +01:00
|
|
|
|
PR rtl-optimization/70224
|
2016-03-16 17:58:12 +01:00
|
|
|
|
* reorg.c (relax_delay_slots): Pass right argument to CROSSING_JUMP_P.
|
|
|
|
|
|
2016-03-16 17:50:18 +01:00
|
|
|
|
2016-03-16 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70199
|
|
|
|
|
* function.h (struct function): Add has_forced_label_in_static.
|
|
|
|
|
* gimplify.c (force_labels_r): Set it.
|
|
|
|
|
* lto-streamer-in.c (input_struct_function_base): Read it.
|
|
|
|
|
* lto-streamer-out.c (output_struct_function_base): Write it.
|
|
|
|
|
* tree-inline.c (has_label_address_in_static_1): Remove.
|
|
|
|
|
(copy_forbidden): Remove fndecl parameter; test
|
|
|
|
|
has_forced_label_in_static.
|
|
|
|
|
(inline_forbidden_p): Update call to copy_forbidden.
|
|
|
|
|
(tree_versionable_function_p): Likewise.
|
|
|
|
|
* ipa-chkp.c (chkp_instrumentable_p): Likewise.
|
|
|
|
|
(chkp_versioning): Likewise.
|
|
|
|
|
* tree-inline.h (copy_forbidden): Update decl.
|
|
|
|
|
|
2016-03-16 16:51:47 +01:00
|
|
|
|
2016-03-16 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/70093
|
|
|
|
|
* cgraphunit.c (cgraph_node::expand_thunk): Also build call to the
|
|
|
|
|
function being thunked if the result type doesn't have fixed size.
|
|
|
|
|
* gimplify.c (gimplify_modify_expr): Also set LHS if the result type
|
|
|
|
|
doesn't have fixed size.
|
|
|
|
|
|
2016-03-16 11:57:34 +01:00
|
|
|
|
2016-03-16 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-vect-loop.c (vect_analyze_loop_2): Fix wrong dump info by
|
|
|
|
|
reporting malformed loop nest.
|
|
|
|
|
|
2016-03-16 11:21:27 +01:00
|
|
|
|
2016-03-16 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR lto/70187
|
|
|
|
|
* ipa-devirt.c (possible_polymorphic_call_targets): Move
|
|
|
|
|
nodes.length () == 1 test to before first nodes[0] access.
|
|
|
|
|
|
2016-03-16 10:19:23 +01:00
|
|
|
|
2016-03-16 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68715
|
|
|
|
|
* graphite-scop-detection.c (scop_detection::merge_sese): Add missing
|
|
|
|
|
single_pred_p test.
|
|
|
|
|
|
2016-03-16 10:19:12 +01:00
|
|
|
|
2016-03-16 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68809
|
|
|
|
|
* graphite-scop-detection.c (same_close_phi_node): Test if result types
|
|
|
|
|
are the same.
|
|
|
|
|
|
2016-03-16 06:00:58 +01:00
|
|
|
|
2016-03-16 Carlos O'Donell <carlos@redhat.com>
|
|
|
|
|
Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (Common Function Attributes): Describe ifunc impact
|
|
|
|
|
on leaf attribute. Mention ELF interposition problems.
|
|
|
|
|
|
2016-03-15 23:04:42 +01:00
|
|
|
|
2016-03-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69195
|
|
|
|
|
PR rtl-optimization/47992
|
|
|
|
|
* ira.c (indirect_jump_optimize): Ignore artificial defs.
|
|
|
|
|
Add comments.
|
|
|
|
|
|
2016-03-15 18:55:39 +01:00
|
|
|
|
2016-03-15 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/69513
|
|
|
|
|
* dwarf2out.c (flush_limbo_die_list): Really flush the limbo list.
|
|
|
|
|
|
2016-03-15 17:21:49 +01:00
|
|
|
|
2016-03-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
|
|
|
|
|
* config/avr/avr.md (rotl<mode>3): Set mode for operand 2.
|
|
|
|
|
|
2016-03-15 17:10:59 +01:00
|
|
|
|
2016-03-15 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-03-15 17:11:48 +01:00
|
|
|
|
PR rtl-optimization/70222
|
|
|
|
|
* combine.c (simplify_shift_const_1): For A >> B >> C LSHIFTRT
|
|
|
|
|
optimization if mode is different from result_mode, queue up masking
|
|
|
|
|
of the result in outer_op. Formatting fix.
|
|
|
|
|
|
2016-03-15 17:10:59 +01:00
|
|
|
|
PR middle-end/70239
|
|
|
|
|
* tree-ssa-sccvn.c (VN_INFO_GET): Use safe_grow_cleared instead
|
|
|
|
|
of safe_grow.
|
|
|
|
|
|
2016-03-15 16:42:07 +01:00
|
|
|
|
2016-03-15 Andrey Belevantsev <abel@ispras.ru>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69032
|
|
|
|
|
* sel-sched-ir.c (get_seqno_by_preds): Include both insn and head when
|
2016-03-18 20:12:10 +01:00
|
|
|
|
looping backwards over basic block insns.
|
2016-03-15 16:42:07 +01:00
|
|
|
|
|
|
|
|
|
2016-03-15 Andrey Belevantsev <abel@ispras.ru>
|
|
|
|
|
|
|
|
|
|
PR target/66660
|
|
|
|
|
* sel-sched-ir.c (merge_expr): Avoid changing the speculative pattern
|
2016-03-18 20:12:10 +01:00
|
|
|
|
to non-speculative when propagating trap bits.
|
2016-03-15 16:42:07 +01:00
|
|
|
|
|
2016-03-15 16:25:41 +01:00
|
|
|
|
2016-03-15 Andrey Belevantsev <abel@ispras.ru>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/63384
|
|
|
|
|
* sel-sched.c (invoke_aftermath_hooks): Do not decrease issue_more on
|
2016-03-18 20:12:10 +01:00
|
|
|
|
DEBUG_INSN_P insns.
|
2016-03-15 16:25:41 +01:00
|
|
|
|
|
2016-03-15 16:13:29 +01:00
|
|
|
|
2016-03-15 Andrey Belevantsev <abel@ispras.ru>
|
|
|
|
|
|
|
|
|
|
PR target/64411
|
|
|
|
|
* sched-deps.c (get_implicit_reg_pending_clobbers): New function,
|
|
|
|
|
factored out from ...
|
|
|
|
|
(sched_analyze_insn): ... here.
|
|
|
|
|
* sched-int.h (get_implicit_reg_pending_clobbers): Declare it.
|
|
|
|
|
* sel-sched-ir.c (setup_id_implicit_regs): New function, use
|
|
|
|
|
get_implicit_reg_pending_clobbers in it.
|
|
|
|
|
(setup_id_reg_sets): Use setup_id_implicit_regs.
|
|
|
|
|
(deps_init_id): Ditto.
|
|
|
|
|
|
2016-03-15 12:51:32 +01:00
|
|
|
|
2016-03-15 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR ipa/70161
|
|
|
|
|
* cgraph.c (cgraph_node::get_body): Save, reset and restore
|
|
|
|
|
dump_file_name.
|
|
|
|
|
* passes.c (execute_one_ipa_transform_pass): Add missing argument to
|
|
|
|
|
execute_function_dump.
|
|
|
|
|
(execute_one_pass): Don't dump function if it will be dumped after ipa
|
|
|
|
|
transform.
|
|
|
|
|
|
2016-03-15 01:42:43 +01:00
|
|
|
|
2016-03-15 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* genrecog.c (match_pattern_2): If pred is NULL don't call
|
|
|
|
|
safe_predicate_mode on it.
|
|
|
|
|
|
2016-03-14 23:19:32 +01:00
|
|
|
|
2016-03-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70219
|
|
|
|
|
* lra-constraints.c (delete_move_and_clobber): Change assertion
|
|
|
|
|
to also allow dregno == 0.
|
|
|
|
|
|
2016-03-14 21:48:15 +01:00
|
|
|
|
2016-03-14 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-opt/68714
|
|
|
|
|
* tree-ssa-reassoc.c (ovce_extract_ops, optimize_vec_cond_expr): New.
|
|
|
|
|
(can_reassociate_p): Allow ANY_INTEGRAL_TYPE_P.
|
|
|
|
|
(reassociate_bb): Use optimize_vec_cond_expr; avoid
|
|
|
|
|
optimize_range_tests, attempt_builtin_copysign and attempt_builtin_powi
|
|
|
|
|
on vectors.
|
|
|
|
|
|
2016-03-14 16:08:54 +01:00
|
|
|
|
2016-03-14 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70083
|
|
|
|
|
* lra-lives.c (process_bb_lives): Also update biggest mode for hard
|
|
|
|
|
regs.
|
|
|
|
|
(lra_create_live_ranges_1): initialize hard register biggest_mode to
|
|
|
|
|
VOIDmode.
|
|
|
|
|
* lra-constraints.c (split_reg): For hard regs, try to find the
|
|
|
|
|
biggest single-register mode used in the function.
|
|
|
|
|
|
2016-03-14 15:50:40 +01:00
|
|
|
|
2016-03-14 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/56365
|
|
|
|
|
* tree-ssa-phiopt.c (minmax_replacement): Handle alternate
|
|
|
|
|
constants to compare against.
|
|
|
|
|
|
rs6000: Handle "d" output in the bd*z patterns (PR70098)
In the rs6000 port, FLOAT_REGS can contain DImode values when compiling
for 64-bit targets. Some instructions (like "fcfid" in the testcase,
convert from integer to DP float) only work on floating point registers.
So, we do want to allow DImode in these regs.
Now, in unusual cases IRA will assign FLOAT_REGS to some allocno where
some insns cannot handle FLOAT_REGS there, so they will need a reload.
Maybe IRA can be made smarter, but it isn't doing anything wrong here,
so we should be able to handle it.
The place it goes wrong is in the output of the *ctrdi_internal[1256]
pattern: the "bdz" and "bdnz" instructions. GCC refuses to do output
reloads on JUMP_INSNs, probably because it is hard to do, needs different
strategies than "normal" reloads do, and it cannot even be done at all
for general patterns. So JUMP_INSNs need to be able to handle every
possible output for the register class used.
These patterns already handle writing to "c" (the base insn case), and
to "r", "m", and "c" or "l"; all those via splitters. We just need to
handle "d" as well. That is what this patch does. [A predicate in one
of the splitters needs to be touched up so that the correct splitter
is used for the FLOAT_REGS case.]
But, that leaves another problem. One of the insns that are split to
is a move from a GPR to an FPR. That work fine on targets with direct
move (which does exactly that), i.e. power8 and up. But older targets
need memory to do the move, and this splitter runs after reload so
it cannot allocate memory; and allocating memory beforehand for every
bdnz insn is pretty horrible as well.
This patch implements the easy part. With it, power8 works, where it
didn't before.
PR target/70098
* config/rs6000/rs6000.md (*ctr<mode>_internal1, *ctr<mode>_internal2,
*ctr<mode>_internal5, *ctr<mode>_internal6): Also allow "d" as output.
(define_split for the GPR case): Use int_reg_operand instead of
gpc_reg_operand for the output.
gcc/testsuite/
PR target/70098
* lib/target-supports.exp (check_effective_target_powerpc64_no_dm):
New function.
* g++.dg/pr70098.C: New testcase.
From-SVN: r234181
2016-03-14 15:18:44 +01:00
|
|
|
|
2016-03-14 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/70098
|
|
|
|
|
* config/rs6000/rs6000.md (*ctr<mode>_internal1, *ctr<mode>_internal2,
|
|
|
|
|
*ctr<mode>_internal5, *ctr<mode>_internal6): Also allow "d" as output.
|
|
|
|
|
(define_split for the GPR case): Use int_reg_operand instead of
|
|
|
|
|
gpc_reg_operand for the output.
|
|
|
|
|
|
2016-03-14 10:19:14 +01:00
|
|
|
|
2016-03-14 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70045
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (graphite_create_new_loop_guard): Unshare
|
|
|
|
|
create_empty_if_region_on_edge argument.
|
|
|
|
|
|
2016-03-13 21:35:48 +01:00
|
|
|
|
2016-03-13 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Define.
|
|
|
|
|
(STACK_CHECK_PROTECT): Likewise.
|
|
|
|
|
* config/i386/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Likewise
|
|
|
|
|
(STACK_CHECK_PROTECT): Likewise.
|
|
|
|
|
* config/rs6000/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Likewise
|
|
|
|
|
(STACK_CHECK_PROTECT): Likewise.
|
|
|
|
|
* config/rs6000/vxworksae.h (STACK_CHECK_PROTECT): Likewise.
|
|
|
|
|
* config/sparc/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Likewise.
|
|
|
|
|
(STACK_CHECK_PROTECT): Likewise.
|
|
|
|
|
|
2016-03-12 18:12:29 +01:00
|
|
|
|
2016-03-12 Andrey Belevantsev <abel@ispras.ru>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69307
|
|
|
|
|
* sel-sched.c (choose_best_pseudo_reg): Properly check for hard
|
|
|
|
|
registers in modes that span more than one register.
|
|
|
|
|
|
2016-03-12 15:56:24 +01:00
|
|
|
|
2016-03-12 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69614
|
|
|
|
|
* lra-constraints.c (delete_move_and_clobber): New.
|
|
|
|
|
(remove_inheritance_pseudos): Use it.
|
|
|
|
|
|
2016-03-12 12:32:54 +01:00
|
|
|
|
2016-03-12 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR ada/70017
|
|
|
|
|
* calls.c (emit_library_call_value_1): Clear the ECF_NOTHROW flag if
|
|
|
|
|
the libcall is LCT_THROW.
|
|
|
|
|
* explow.c (probe_stack_range): Pass LCT_THROW to emit_library_call
|
|
|
|
|
for the checking routine.
|
|
|
|
|
|
2016-03-12 01:10:54 +01:00
|
|
|
|
2016-03-11 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70131
|
|
|
|
|
* config/rs6000/rs6000.md (round32<mode>2_fprs): Do not do the
|
|
|
|
|
optimization if we have direct move.
|
|
|
|
|
(roundu32<mode>2_fprs): Likewise.
|
|
|
|
|
|
2016-03-11 23:38:41 +01:00
|
|
|
|
2016-03-11 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70123
|
|
|
|
|
* lra-remat.c (operand_to_remat): Disallow hard regs in the value t
|
|
|
|
|
be rematerialized.
|
|
|
|
|
(reg_overlap_for_remat_p): Renamed from input_regno_present_p.
|
|
|
|
|
Arguments swapped. All callers changed. Take reg_renumber into
|
|
|
|
|
account, and Calculate and compare register ranges for hard regs.
|
|
|
|
|
|
2016-03-11 22:07:31 +01:00
|
|
|
|
2016-03-11 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2016-03-11 23:32:11 +01:00
|
|
|
|
PR tree-optimization/70190
|
|
|
|
|
* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
|
|
|
|
|
Handle cases where we can not extract the taken edge, even though we
|
|
|
|
|
found a constant value.
|
|
|
|
|
|
2016-03-11 22:07:31 +01:00
|
|
|
|
PR tree-optimization/64058
|
|
|
|
|
* tree-ssa-coalesce.c (struct coalesce_pair): Add new field INDEX.
|
|
|
|
|
(num_coalesce_pairs): Move up earlier in file.
|
|
|
|
|
(find_coalesce_pair): Initialize the INDEX field for each pair
|
|
|
|
|
discovered.
|
|
|
|
|
(compare_pairs): No longer sort on the elements in each pair.
|
|
|
|
|
Instead break ties with the index of the coalesce pair.
|
|
|
|
|
|
2016-03-11 16:27:24 +01:00
|
|
|
|
2016-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70002
|
|
|
|
|
* config/aarch64/aarch64-protos.h
|
|
|
|
|
(aarch64_save_restore_target_globals): New prototype.
|
|
|
|
|
* config/aarch64/aarch64-c.c (aarch64_pragma_target_parse):
|
|
|
|
|
Call the above when popping pragma.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_save_restore_target_globals):
|
|
|
|
|
New function.
|
|
|
|
|
(aarch64_set_current_function): Rewrite using the above.
|
|
|
|
|
|
2016-03-11 13:28:50 +01:00
|
|
|
|
2016-03-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70177
|
|
|
|
|
* gimple-expr.h (extract_ops_from_tree_1): Renamed to ...
|
|
|
|
|
(extract_ops_from_tree): ... this. In the 2 argument
|
|
|
|
|
overload remove _1 suffix.
|
|
|
|
|
* gimple-expr.c (extract_ops_from_tree_1): Renamed to ...
|
|
|
|
|
(extract_ops_from_tree): ... this.
|
|
|
|
|
* gimple.c (gimple_build_assign, gimple_assign_set_rhs_from_tree):
|
|
|
|
|
Adjust callers.
|
|
|
|
|
* tree-ssa-loop-niter.c (derive_constant_upper_bound): Likewise.
|
|
|
|
|
* tree-ssa-forwprop.c (defcodefor_name): Call 3 operand
|
|
|
|
|
extract_ops_from_tree instead of 2 operand one.
|
|
|
|
|
|
2016-03-11 13:08:01 +01:00
|
|
|
|
2016-03-11 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70013
|
|
|
|
|
* tree-sra.c (analyze_access_subtree): Also set grp_unscalarized_data
|
|
|
|
|
for constant-pool entries.
|
|
|
|
|
|
2016-03-11 13:05:58 +01:00
|
|
|
|
2016-03-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-03-11 13:07:01 +01:00
|
|
|
|
PR rtl-optimization/70174
|
|
|
|
|
* expmed.c (store_bit_field_using_insv): Use gen_lowpart_if_possible
|
|
|
|
|
followed by gen_lowpart on force_reg instead of just gen_lowpart.
|
|
|
|
|
|
2016-03-11 13:05:58 +01:00
|
|
|
|
PR tree-optimization/70169
|
|
|
|
|
* tree-ssa-loop.c (gen_lsm_tmp_name): Handle FUNCTION_DECL and
|
|
|
|
|
LABEL_DECL like VAR_DECL. Emit nothing instead of gcc_unreachable
|
|
|
|
|
for unknown codes.
|
|
|
|
|
|
2016-03-11 12:25:29 +01:00
|
|
|
|
2016-03-11 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70160
|
|
|
|
|
* config/i386/i386.c (scalar_chain::convert_reg): Skip uses
|
|
|
|
|
of uninitialized values.
|
|
|
|
|
|
2016-03-11 08:47:47 +01:00
|
|
|
|
2016-03-11 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md ("trunctddd2"): Turn former define_insn into
|
|
|
|
|
define_expand.
|
|
|
|
|
("*trunctddd2"): New pattern definition.
|
|
|
|
|
("trunctdsd2"): Set prep_for_short_prec rounding mode for the
|
|
|
|
|
TD->DD truncation.
|
|
|
|
|
|
2016-03-11 08:24:41 +01:00
|
|
|
|
2016-03-11 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md (BFP_RND_*, DFP_RND_*): Add new constant
|
|
|
|
|
definitions for BFP and DFP rounding modes.
|
|
|
|
|
("fixuns_truncdddi2", "fixuns_trunctddi2")
|
|
|
|
|
("fixuns_trunc<BFP:mode><GPR:mode>2", "fixuns_trunc<mode>si2")
|
|
|
|
|
("fix_trunc<DSF:mode><GPR:mode>2", "fix_trunc<mode>di2")
|
|
|
|
|
("fix_trunctf<mode>2"): Use the new constants instead of magic
|
|
|
|
|
numbers.
|
|
|
|
|
|
2016-03-11 08:23:49 +01:00
|
|
|
|
2016-03-11 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/constraints.md: Adjust comment.
|
|
|
|
|
("Y"): Adjust comment. Rename s390_decompose_shift_count to
|
|
|
|
|
s390_decompose_addrstyle_without_index.
|
|
|
|
|
* config/s390/predicates.md (shift_count_or_setmem_operand):
|
|
|
|
|
Rename to setmem_operand.
|
|
|
|
|
* config/s390/s390-protos.h
|
|
|
|
|
(s390_decompose_shift_count): Rename to
|
|
|
|
|
s390_decompose_addrstyle_without_index.
|
|
|
|
|
* config/s390/s390.c (s390_decompose_shift_count)
|
|
|
|
|
(s390_mem_constraint, print_shift_count_operand)
|
|
|
|
|
(print_operand_address, print_operand): Rename
|
|
|
|
|
s390_decompose_shift_count to
|
|
|
|
|
s390_decompose_addrstyle_without_index and rename
|
|
|
|
|
print_shift_count_operand to print_addrstyle_operand troughout the
|
|
|
|
|
file.
|
|
|
|
|
* config/s390/s390.md ("setmem_long_<P:mode>", "*setmem_long")
|
|
|
|
|
("*setmem_long_and", "*setmem_long_31z", "*setmem_long_and_31z"):
|
|
|
|
|
Rename shift_count_or_setmem_operand to setmem_operand.
|
|
|
|
|
* config/s390/vx-builtins.md ("vec_insert<mode>")
|
|
|
|
|
("vec_promote<mode>"): Replace shift_count_or_setmem_operand with
|
|
|
|
|
nonmemory_operand.
|
|
|
|
|
|
2016-03-11 00:58:44 +01:00
|
|
|
|
2016-03-10 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/70168
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
|
|
|
|
|
Handle overlapping retval and newval.
|
|
|
|
|
|
2016-03-10 18:24:16 +01:00
|
|
|
|
2016-03-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/7044
|
|
|
|
|
* config/aarch64/aarch64.c
|
|
|
|
|
(aarch64_override_options_after_change_1): When forcing
|
|
|
|
|
flag_omit_frame_pointer to be true, use a special value that can
|
|
|
|
|
be detected if this function is called again, thus preventing
|
|
|
|
|
flag_omit_leaf_frame_pointer from being forced to be false.
|
|
|
|
|
|
2016-03-10 17:24:26 +01:00
|
|
|
|
2016-03-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* common/config/aarch64/aarch64-common.c (aarch64_handle_option):
|
|
|
|
|
Set x_flag_omit_leaf_frame_pointer when handling
|
|
|
|
|
-momit-leaf-frame-pointer.
|
|
|
|
|
|
2016-03-10 17:11:14 +01:00
|
|
|
|
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/69589
|
2016-03-21 20:56:50 +01:00
|
|
|
|
* cgraph.c (cgraph_node::dump): Dump split_part and
|
|
|
|
|
indirect_call_target.
|
2016-03-10 17:11:14 +01:00
|
|
|
|
* cgraph.h (cgraph_node): Add indirect_call_target flag.
|
|
|
|
|
* ipa.c (has_addr_references_p): Cleanup.
|
|
|
|
|
(is_indirect_call_target_p): New.
|
|
|
|
|
(walk_polymorphic_call_targets): Do not mark virtuals that may be
|
|
|
|
|
called indirectly as local.
|
|
|
|
|
(symbol_table::remove_unreachable_nodes): Compute indirect_call_target.
|
|
|
|
|
|
2016-03-10 17:05:59 +01:00
|
|
|
|
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/69630
|
|
|
|
|
* ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
|
|
|
|
|
on cxa_pure_virtual.
|
|
|
|
|
|
2016-03-10 17:02:55 +01:00
|
|
|
|
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/69589
|
|
|
|
|
* tree.c (free_lang_data_in_decl): Clear visibility of TYPE_DECL.
|
|
|
|
|
|
2016-03-10 17:02:00 +01:00
|
|
|
|
2016-03-10 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/69589
|
|
|
|
|
* tree.c (need_assembler_name_p): Only record main variant type names.
|
|
|
|
|
|
2016-03-10 14:29:48 +01:00
|
|
|
|
2016-03-10 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/70113.
|
|
|
|
|
* config/aarch64/aarch64.h (TARGET_FIX_ERR_A53_843419_DEFAULT):
|
|
|
|
|
Always define to 0 or 1.
|
|
|
|
|
(TARGET_FIX_ERR_A53_843419): New macro.
|
|
|
|
|
* config/aarch64/aarch64-elf-raw.h
|
|
|
|
|
(TARGET_FIX_ERR_A53_843419_DEFAULT): Update for above changes.
|
|
|
|
|
* config/aarch64/aarch64-linux.h: Likewise.
|
|
|
|
|
* config/aarch64/aarch64.c
|
|
|
|
|
(aarch64_override_options_after_change_1): Do not default
|
|
|
|
|
aarch64_nopcrelative_literal_loads to true if Cortex-A53 erratum
|
|
|
|
|
843419 is on.
|
|
|
|
|
(aarch64_attributes): Handle fix-cortex-a53-843419.
|
|
|
|
|
(aarch64_can_inline_p): Likewise.
|
|
|
|
|
* config/aarch64/aarch64.opt (aarch64_fix_a53_err843419): Save.
|
|
|
|
|
|
2016-03-10 13:19:45 +01:00
|
|
|
|
2016-03-10 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* common.opt (funconstrained-commons, flag_unconstrained_commons): New.
|
|
|
|
|
* tree.c (array_at_struct_end_p): Do not limit to size of decl for
|
|
|
|
|
DECL_COMMONS if flag_unconstrained_commons is set.
|
|
|
|
|
* tree-dfa.c (get_ref_base_and_extent): Likewise.
|
|
|
|
|
* doc/invoke.texi (Optimize Options): Add -funconstrained-commons.
|
|
|
|
|
(funconstrained-commons): Document.
|
|
|
|
|
|
2016-03-10 13:03:25 +01:00
|
|
|
|
2016-03-10 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/t-aarch64 (OPTIONS_H_EXTRA): Add
|
|
|
|
|
aarch64-fusion-pairs.def and aarch64-tuning-flags.def
|
|
|
|
|
|
2016-03-10 11:58:57 +01:00
|
|
|
|
2016-03-10 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_mask_load_store): Check mask
|
|
|
|
|
has a proper number of elements.
|
|
|
|
|
|
2016-03-10 11:47:13 +01:00
|
|
|
|
2016-03-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69195
|
|
|
|
|
PR rtl-optimization/47992
|
|
|
|
|
* ira.c (recorded_label_ref): Delete.
|
|
|
|
|
(update_equiv_regs): Return void.
|
|
|
|
|
(indirect_jump_optimize): New function.
|
|
|
|
|
(ira): Call indirect_jump_optimize and delete_trivially_dead_insns
|
|
|
|
|
before regstat_compute_ri. Don't rebuild_jump_labels here.
|
|
|
|
|
Delete update_regstat.
|
|
|
|
|
|
2016-03-10 09:06:03 +01:00
|
|
|
|
2016-03-10 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70128
|
|
|
|
|
* tree-ssa-structalias.c (set_uids_in_ptset): Set
|
|
|
|
|
vars_contains_nonlocal for any FUNCTION_DECL or LABEL_DECL.
|
|
|
|
|
|
2016-03-09 21:06:59 +01:00
|
|
|
|
2016-03-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-03-09 21:12:19 +01:00
|
|
|
|
PR tree-optimization/70152
|
|
|
|
|
* tree-sra.c (replace_removed_params_ssa_names): Copy over
|
|
|
|
|
SSA_NAME_OCCURS_IN_ABNORMAL_PHI from old_name to new_name.
|
|
|
|
|
|
2016-03-09 21:06:59 +01:00
|
|
|
|
PR target/70086
|
|
|
|
|
* config/i386/i386.md (truncdfsf2 splitter): Use gen_vec_concatv2df
|
|
|
|
|
instead of gen_sse2_loadlpd.
|
|
|
|
|
* config/i386/sse.md (*vec_concatv2df): Rename to...
|
|
|
|
|
(vec_concatv2df): ... this.
|
2016-03-09 21:05:40 +01:00
|
|
|
|
|
|
|
|
|
PR tree-optimization/70127
|
|
|
|
|
* fold-const.c (operand_equal_p): Revert the 2015-10-28 change.
|
|
|
|
|
|
2016-03-09 19:23:27 +01:00
|
|
|
|
2016-03-09 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/68473
|
|
|
|
|
PR c++/70105
|
|
|
|
|
* diagnostic-show-locus.c (compatible_locations_p): New function.
|
|
|
|
|
(layout::layout): Sanitize ranges using compatible_locations_p.
|
|
|
|
|
|
2016-03-09 19:14:43 +01:00
|
|
|
|
2016-03-09 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/68473
|
|
|
|
|
PR c++/70105
|
|
|
|
|
* diagnostic-show-locus.c (layout_range::layout_range): Replace
|
|
|
|
|
location_range param with three const expanded_locations * and a
|
|
|
|
|
bool.
|
|
|
|
|
(layout::layout): Replace call to
|
|
|
|
|
rich_location::lazily_expand_location with get_expanded_location.
|
|
|
|
|
Extract the range and perform location expansion here, passing
|
|
|
|
|
the results to the layout_range ctor.
|
|
|
|
|
* diagnostic.c (source_range::debug): Delete.
|
|
|
|
|
* diagnostic.h (diagnostic_expand_location): Reimplement in terms
|
|
|
|
|
of rich_location::get_expanded_location.
|
|
|
|
|
* gcc-rich-location.c (get_range_for_expr): Delete.
|
|
|
|
|
(gcc_rich_location::add_expr): Reimplement to avoid the
|
|
|
|
|
rich_location::add_range overload that took a location_range,
|
|
|
|
|
passing a location_t instead.
|
|
|
|
|
|
2016-03-09 17:41:19 +01:00
|
|
|
|
2016-03-09 Richard Biener <rguenther@suse.de>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70138
|
|
|
|
|
* tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer):
|
|
|
|
|
Also skip vect_double_reduction_def.
|
|
|
|
|
|
2016-03-09 15:10:58 +01:00
|
|
|
|
2016-03-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70049
|
|
|
|
|
* config/i386/sse.md (*vec_extract<mode>): Use %0 instead of %k0
|
|
|
|
|
if the operand is "m".
|
|
|
|
|
|
2016-03-09 14:33:03 +01:00
|
|
|
|
2016-03-09 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/nvptx.c (nvptx_option_override): Don't kill debug level.
|
|
|
|
|
|
2016-03-09 08:32:11 +01:00
|
|
|
|
2016-03-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (processor_target_table): Fix cost table
|
|
|
|
|
intialization order for znver1.
|
|
|
|
|
|
2016-03-08 18:49:34 +01:00
|
|
|
|
2016-03-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ipa-polymorphic-call.c (walk_ssa_copies): Fix spelling
|
|
|
|
|
- becuase -> because.
|
|
|
|
|
* ipa-reference.c (ignore_module_statics): Likewise.
|
|
|
|
|
* cgraph.c (cgraph_node::get_body): Likewise.
|
|
|
|
|
* ipa-inline.c (early_inliner): Likewise.
|
|
|
|
|
* ipa-devirt.c (types_same_for_odr): Likewise.
|
|
|
|
|
* tree-streamer-out.c (pack_ts_type_common_value_fields): Likewise.
|
|
|
|
|
* config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Likewise.
|
|
|
|
|
|
2016-03-08 14:39:09 +01:00
|
|
|
|
2016-03-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-math-opts.c: Fix typo in comment.
|
|
|
|
|
|
2016-03-08 09:05:26 +01:00
|
|
|
|
2016-03-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70110
|
|
|
|
|
* config/i386/i386.c (scalar_chain::make_vector_copies,
|
|
|
|
|
scalar_chain::convert_reg): Call end_sequence in between
|
|
|
|
|
get_insns and emit_conversion_insns rather than after both
|
|
|
|
|
calls.
|
|
|
|
|
|
2016-03-07 20:54:02 +01:00
|
|
|
|
2016-03-07 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70064
|
|
|
|
|
* config/i386/i386.h (machine_function): Add
|
|
|
|
|
pc_thunk_call_expanded flag.
|
|
|
|
|
(ix86_pc_thunk_call_expanded): New define.
|
|
|
|
|
* config/i386/i386.md (set_got, set_got_labelled): New expanders.
|
|
|
|
|
(*set_got): Rename insn pattern from set_got.
|
|
|
|
|
(*set_got_labelled): Rename inst pattern from set_got_labelled.
|
|
|
|
|
* config/i386/i386.c (ix86_compute_frame_layout): Use
|
|
|
|
|
ix86_pc_thunk_call_expanded to prevent red-zone.
|
|
|
|
|
|
2016-03-07 19:31:53 +01:00
|
|
|
|
2016-03-07 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa.h (hsa_get_ctor_statements): Declare.
|
|
|
|
|
(hsa_get_dtor_statements): Likewise.
|
|
|
|
|
(hsa_get_kernel_dispatch_type): Likewise.
|
|
|
|
|
* hsa.c (hsa_get_ctor_statements): New function.
|
|
|
|
|
(hsa_get_dtor_statements): Likewise.
|
|
|
|
|
(hsa_get_kernel_dispatch_type): Likewise.
|
|
|
|
|
* hsa-brig.c (hsa_cdtor_statements): Removed.
|
|
|
|
|
(hsa_output_libgomp_mapping): Use hsa_get_ctor_statements and
|
|
|
|
|
hsa_get_dtor_statements.
|
|
|
|
|
* hsa-gen.c (hsa_kernel_dispatch_type): Removed.
|
|
|
|
|
(get_hsa_kernel_dispatch_offset): Use hsa_get_kernel_dispatch_type.
|
|
|
|
|
|
2016-03-07 19:04:20 +01:00
|
|
|
|
2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-cores.def (cortex-r8): New.
|
|
|
|
|
* config/arm/arm-tables.opt (cortex-r8): Regenerate.
|
|
|
|
|
* config/arm/arm-tune.md: Likewise.
|
|
|
|
|
* gcc/doc/invoke.texi: Add cortex-r8 to list of cpu values.
|
|
|
|
|
|
2016-03-07 18:10:12 +01:00
|
|
|
|
2016-03-07 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/19705
|
|
|
|
|
* doc/invoke.texi (Options That Control Optimization): Clarify
|
|
|
|
|
-fno-branch-count-reg.
|
|
|
|
|
|
2016-03-07 18:01:54 +01:00
|
|
|
|
2016-02-26 Richard Biener <rguenther@suse.de>
|
2016-03-07 20:54:02 +01:00
|
|
|
|
Jeff Law <law@redhat.com>
|
2016-03-07 18:01:54 +01:00
|
|
|
|
|
|
|
|
|
PR tree-optimization/69740
|
|
|
|
|
* cfghooks.c (remove_edge): Request loop fixups if we delete
|
|
|
|
|
an edge that might turn an irreducible loop into a natural
|
|
|
|
|
loop.
|
|
|
|
|
* cfgloop.h (check_verify_loop_structure): Clear LOOPS_NEED_FIXUP.
|
|
|
|
|
Move after definition of loops_state_clear.
|
|
|
|
|
|
2016-03-07 17:39:27 +01:00
|
|
|
|
2016-03-07 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69052
|
|
|
|
|
* rtlanal.c (commutative_operand_precedence): Set higher precedence
|
|
|
|
|
to CONST_WIDE_INT.
|
|
|
|
|
|
2016-03-07 15:50:13 +01:00
|
|
|
|
2016-03-07 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70116
|
|
|
|
|
* tree-ssa-tail-merge.c (merge_stmts_p): New function, handling
|
|
|
|
|
is_tm_ending stmts and ubsan/asan internal functions.
|
|
|
|
|
(find_duplicate): Use it. Don't test is_tm_ending here.
|
|
|
|
|
|
2016-03-07 15:15:56 +01:00
|
|
|
|
2016-03-07 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70115
|
|
|
|
|
* tree-ssa-loop-ivcanon.c (propagate_into_all_uses): Remove.
|
|
|
|
|
(propagate_constants_for_unrolling): Use replace_uses_by.
|
|
|
|
|
|
2016-03-07 14:22:07 +01:00
|
|
|
|
2016-03-07 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69916
|
|
|
|
|
* omp-low.c (struct oacc_loop): Add ifns.
|
|
|
|
|
(new_oacc_loop_raw): Initialize it.
|
|
|
|
|
(finish_oacc_loop): Clear mask & flags if no ifns.
|
|
|
|
|
(oacc_loop_discover_walk): Count IFN_GOACC_LOOP calls.
|
|
|
|
|
(oacc_loop_xform_loop): Add ifns arg & adjust.
|
|
|
|
|
(oacc_loop_process): Adjust oacc_loop_xform_loop call.
|
|
|
|
|
|
2016-03-07 12:48:57 +01:00
|
|
|
|
2016-03-07 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-opt/70061
|
|
|
|
|
* tree-outofssa.c (emit_partition_copy): Flush pending stack adjust.
|
|
|
|
|
(insert_value_copy_on_edge): Likewise.
|
|
|
|
|
|
2016-03-07 12:45:41 +01:00
|
|
|
|
2016-03-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm_neon.h: Show error if using with soft-float ABI.
|
|
|
|
|
|
2016-03-07 10:51:31 +01:00
|
|
|
|
2016-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR target/62281
|
|
|
|
|
* config/i386/sol2.h (STACK_REALIGN_DEFAULT): Define.
|
|
|
|
|
|
2016-03-05 18:20:22 +01:00
|
|
|
|
2016-03-05 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (znver1_cost): Fix Multiply cost.
|
|
|
|
|
|
2016-03-05 13:33:09 +01:00
|
|
|
|
2016-03-05 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
|
|
|
|
|
|
|
|
|
|
Fix sseimul type attribute.
|
2016-03-07 20:54:02 +01:00
|
|
|
|
* config/i386/znver1.md
|
2016-03-05 13:33:09 +01:00
|
|
|
|
(znver1_sseimul, znver1_sseimul_avx256, znver1_sseimul_load,
|
|
|
|
|
znver1_sseimul_avx256_load) : Fix the type attribute.
|
2016-03-07 20:54:02 +01:00
|
|
|
|
(znver1_sseimul_di, znver1_sseimul_load_di): Fix type attribute,
|
|
|
|
|
pipe usage and latency.
|
2016-03-05 13:33:09 +01:00
|
|
|
|
|
2016-03-05 07:50:23 +01:00
|
|
|
|
2016-03-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/70084
|
|
|
|
|
* tree-inline.c (copy_tree_body_r): When cancelling ADDR_EXPR
|
|
|
|
|
of INDIRECT_REF and ADDR_EXPR changed type, fold_convert it
|
|
|
|
|
to the right type.
|
|
|
|
|
|
2016-03-05 06:30:10 +01:00
|
|
|
|
2016-03-04 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
2016-03-05 06:36:42 +01:00
|
|
|
|
PR c/69973
|
|
|
|
|
* targhooks.c (default_vector_alignment): Limit to MAX_OFILE_ALIGNMENT.
|
|
|
|
|
|
2016-03-05 06:30:10 +01:00
|
|
|
|
PR rtl-optimization/69941
|
|
|
|
|
* postreload.c (reload_combine_recognize_pattern): Ensure all uses of
|
|
|
|
|
the reg share its mode.
|
|
|
|
|
|
2016-03-05 06:10:58 +01:00
|
|
|
|
2016-03-04 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69196
|
|
|
|
|
* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
|
|
|
|
|
If the both SSA_NAMEs are anonymous, then consider them unassociated
|
|
|
|
|
and include the PHI in the statement count.
|
|
|
|
|
|
2016-03-05 03:48:30 +01:00
|
|
|
|
2016-03-05 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (check_omp_nesting_restrictions): Check for non-oacc
|
|
|
|
|
construct in oacc routine. Check for oacc region in oacc routine.
|
|
|
|
|
|
2016-03-04 15:45:56 +01:00
|
|
|
|
2016-03-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-03-04 21:28:27 +01:00
|
|
|
|
PR target/70062
|
|
|
|
|
* config/i386/i386.c (decide_alg): Add RECUR argument. Revert
|
|
|
|
|
2016-02-22 changes, instead don't recurse if RECUR is already true.
|
|
|
|
|
Don't change *dynamic_check if RECUR. Adjust recursive caller
|
|
|
|
|
to pass true to the new argument.
|
|
|
|
|
(ix86_expand_set_or_movmem): Adjust decide_alg caller.
|
|
|
|
|
|
2016-03-04 15:45:56 +01:00
|
|
|
|
PR target/70059
|
|
|
|
|
* config/i386/sse.md (vec_set_lo_<mode><mask_name>,
|
|
|
|
|
<extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask): Formatting
|
|
|
|
|
fixes.
|
|
|
|
|
(vec_set_hi_<mode><mask_name>): Likewise. Swap VEC_CONCAT operands.
|
|
|
|
|
|
2016-03-04 15:12:36 +01:00
|
|
|
|
2016-03-04 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/57676
|
|
|
|
|
* lra-assigns.c (lra_assign): Guard test for maximum iterations
|
|
|
|
|
with flag_checking.
|
|
|
|
|
|
2016-03-04 14:49:54 +01:00
|
|
|
|
2016-03-04 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
* tree-vect-patterns.c (search_type_for_mask): Handle
|
|
|
|
|
comparison of booleans.
|
|
|
|
|
|
2016-03-04 08:27:15 +01:00
|
|
|
|
2016-03-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-03-04 08:39:21 +01:00
|
|
|
|
* doc/extend.texi (__builtin_alloca, __builtin_alloca_with_align):
|
|
|
|
|
Fix @xref usage.
|
|
|
|
|
|
2016-03-04 08:27:15 +01:00
|
|
|
|
PR debug/69947
|
|
|
|
|
* dwarf2out.c (prune_unused_types_walk_loc_descr): Handle
|
|
|
|
|
all other ops that have dw_val_class_die_ref operands,
|
|
|
|
|
and DW_OP_GNU_entry_value.
|
|
|
|
|
|
2016-03-03 18:25:43 +01:00
|
|
|
|
2016-03-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69904
|
|
|
|
|
* config/arm/arm.c (arm_cannot_copy_insn_p):
|
|
|
|
|
Return true for load-exclusive instructions.
|
|
|
|
|
|
2016-03-03 15:32:15 +01:00
|
|
|
|
2016-03-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70021
|
|
|
|
|
* tree-vect-stmts.c (vect_mark_relevant): Remove USED_IN_PATTERN
|
|
|
|
|
argument, if STMT_VINFO_IN_PATTERN_P (stmt_info), always mark
|
|
|
|
|
the pattern no matter if it is used just by non-pattern, pattern
|
|
|
|
|
or mix thereof.
|
|
|
|
|
(process_use, vect_mark_stmts_to_be_vectorized): Adjust callers.
|
|
|
|
|
* tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If
|
|
|
|
|
oprnd1 def_stmt is in pattern, don't look through it.
|
|
|
|
|
|
2016-03-03 12:42:19 +01:00
|
|
|
|
2016-03-03 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70050
|
|
|
|
|
* match.pd (X % -Y): Add INTEGRAL_TYPE_P check.
|
|
|
|
|
|
2016-03-03 11:08:09 +01:00
|
|
|
|
2016-03-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70043
|
|
|
|
|
* tree-vect-loop.c (optimize_mask_stores): Move iterator to
|
|
|
|
|
previous statement if we see a debug statement.
|
|
|
|
|
|
2016-03-03 10:12:53 +01:00
|
|
|
|
2016-03-03 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/55936
|
|
|
|
|
* tree-vrp.c (compare_name_with_value): Add use_equiv_p
|
|
|
|
|
parameter and guard unsafe equivalence use.
|
|
|
|
|
(vrp_evaluate_conditional_warnv_with_ops): Always use
|
|
|
|
|
safe equivalences but not via the quadratic compare_names
|
|
|
|
|
helper.
|
|
|
|
|
|
2016-03-03 08:42:02 +01:00
|
|
|
|
2016-03-03 Michael Collison <michael.collison@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/70014
|
|
|
|
|
* config/arm/arm.md (*subsi3_carryin_const): Change predicate
|
|
|
|
|
for operand 1 to s_register_operand. Change predicate for operand
|
|
|
|
|
2 to arm_not_immediate_operand.
|
|
|
|
|
|
2016-03-02 22:46:55 +01:00
|
|
|
|
2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* doc/tm.texi: Regenerated.
|
|
|
|
|
|
2016-03-02 22:09:54 +01:00
|
|
|
|
2016-03-02 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-opt/67145
|
|
|
|
|
* simplify-rtx.c (simplify_plus_minus): Allow reassoc without
|
|
|
|
|
simplification when all args are positive non-fixed registers.
|
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
|
2016-03-02 21:17:15 +01:00
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
* target.def (lra_p): Specify that new ports should use LRA.
|
2016-03-02 21:17:15 +01:00
|
|
|
|
|
2016-03-02 20:16:14 +01:00
|
|
|
|
2016-03-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libgomp/69555
|
|
|
|
|
* gimplify.c (gimplify_decl_expr): For decls with REFERENCE_TYPE, also
|
|
|
|
|
gimplify_type_sizes the type they refer to.
|
|
|
|
|
(omp_notice_variable): Handle reference vars to VLAs.
|
2016-03-07 20:54:02 +01:00
|
|
|
|
* omp-low.c (lower_omp_target): Emit setup of OMP_CLAUSE_PRIVATE
|
|
|
|
|
reference to VLA decls in the second pass instead of first pass.
|
2016-03-02 20:16:14 +01:00
|
|
|
|
|
2016-03-02 16:10:34 +01:00
|
|
|
|
2016-03-02 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68659
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (collect_all_ssa_names): Handle
|
|
|
|
|
new_expr == NULL_TREE.
|
|
|
|
|
(get_new_name): Handle ADDR_EXPR.
|
|
|
|
|
|
2016-03-02 15:10:56 +01:00
|
|
|
|
2016-03-02 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
2016-03-02 15:16:00 +01:00
|
|
|
|
PR rtl-optimization/69052
|
2016-03-02 15:10:56 +01:00
|
|
|
|
* loop-invariant.c (canonicalize_address): New function.
|
|
|
|
|
(inv_can_prop_to_addr_use): Check validity of address expression
|
|
|
|
|
which is canonicalized by above function.
|
|
|
|
|
|
2016-03-02 15:05:21 +01:00
|
|
|
|
2016-03-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR ipa/69990
|
|
|
|
|
* ipa-icf.c (sem_variable::merge): Do not merge an alias with
|
|
|
|
|
larger alignment.
|
|
|
|
|
|
2016-03-02 14:10:36 +01:00
|
|
|
|
2016-03-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70028
|
|
|
|
|
* config/i386/i386.md (kmovw): Move m constraint to 2nd alternative.
|
|
|
|
|
(*movhi_internal): Put mask moves from and to memory separately
|
|
|
|
|
from moves from/to GPRs.
|
|
|
|
|
|
2016-03-02 13:44:15 +01:00
|
|
|
|
2016-03-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* genmatch.c (dt_node::gen_kids): Fix match code-gen for embedded
|
|
|
|
|
GENERIC expressions in GIMPLE.
|
|
|
|
|
|
2016-03-02 11:04:43 +01:00
|
|
|
|
2016-03-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (type_natural_mode): Fix typo.
|
|
|
|
|
|
2016-03-02 10:53:05 +01:00
|
|
|
|
2016-03-02 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config.gcc (mep-*-elf): Add newlib-stdint.h to tm_file.
|
|
|
|
|
|
2016-03-02 09:55:42 +01:00
|
|
|
|
2016-03-02 Richard Biener <rguenther@suse.de>
|
2016-03-07 20:54:02 +01:00
|
|
|
|
Uros Bizjak <ubizjak@gmail.com>
|
2016-03-02 09:55:42 +01:00
|
|
|
|
|
|
|
|
|
PR target/67278
|
|
|
|
|
* config/i386/i386.c (type_natural_mode): Handle XFmode vectors.
|
|
|
|
|
|
2016-03-02 09:16:16 +01:00
|
|
|
|
2016-03-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/67278
|
|
|
|
|
* tree-cfg.c (verify_expr): Adjust BIT_FIELD_REF case.
|
|
|
|
|
|
2016-03-02 08:24:19 +01:00
|
|
|
|
2016-03-02 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/67854
|
|
|
|
|
* gimplify.c (gimplify_va_arg_expr): Use expanded location for the
|
|
|
|
|
"is promoted to" warning.
|
|
|
|
|
|
2016-03-02 05:41:58 +01:00
|
|
|
|
2016-03-01 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config.gcc: Deprecate mep-*.
|
|
|
|
|
|
2016-03-02 02:39:30 +01:00
|
|
|
|
2016-03-01 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70025
|
|
|
|
|
* lra-constraints.c (regno_val_use_in): New.
|
|
|
|
|
(match_reload): Use it instead of regno_use_in.
|
|
|
|
|
|
2016-03-01 23:31:52 +01:00
|
|
|
|
2016-03-01 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/70007
|
|
|
|
|
* gcse.c (compute_ld_motion_mems): Tidy up and also invalidate memory
|
|
|
|
|
references present in REG_EQUAL notes attached to non-SET patterns.
|
|
|
|
|
|
2016-03-01 22:46:58 +01:00
|
|
|
|
2016-03-01 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2016-03-02 00:12:10 +01:00
|
|
|
|
PR tree-optimization/69196
|
|
|
|
|
* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
|
|
|
|
|
Appropriately clamp the number of statements to copy when the
|
|
|
|
|
thread path does not traverse a loop backedge.
|
|
|
|
|
|
2016-03-01 22:46:58 +01:00
|
|
|
|
PR tree-optimization/69196
|
|
|
|
|
* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
|
|
|
|
|
Do count some PHIs in the thread path against the insn count. Decrease
|
|
|
|
|
final statement count by one as the control statement in the last
|
2016-03-07 20:54:02 +01:00
|
|
|
|
block will get removed. Remove special cased code for handling PHIs
|
|
|
|
|
in the last block.
|
2016-03-01 22:46:58 +01:00
|
|
|
|
|
2016-03-01 21:11:19 +01:00
|
|
|
|
2016-03-01 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/70027
|
|
|
|
|
* config/i386/i386.c (ix86_output_call_insn): Add -masm=intel
|
|
|
|
|
asm dialect alternatives to explicit GOTPCREL calls.
|
|
|
|
|
|
2016-03-01 21:04:01 +01:00
|
|
|
|
2016-03-01 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR ada/70017
|
|
|
|
|
* ira.c (do_reload): Issue warning for generic stack checking here...
|
|
|
|
|
* reload1.c (reload): ...instead of here and streamline it.
|
|
|
|
|
|
2016-03-01 17:52:37 +01:00
|
|
|
|
2016-03-01 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config.gcc (cr16-*-elf): Add newlib-stdint.h to tm_file.
|
|
|
|
|
|
2016-03-01 16:58:25 +01:00
|
|
|
|
2016-03-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69983
|
|
|
|
|
* tree-chrec.c (eq_evolutions_p): Handle conversions, compare
|
|
|
|
|
types and fall back to operand_equal_p.
|
|
|
|
|
|
2016-03-01 15:53:29 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
Revert
|
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/constraints.md ("jm8"): New constraint.
|
2016-03-01 21:11:19 +01:00
|
|
|
|
* config/s390/predicates.md ("const_int_8bitset_operand"): New
|
|
|
|
|
predicate.
|
2016-03-01 15:53:29 +01:00
|
|
|
|
* config/s390/s390.md ("*setmem_long", "*setmem_long_and"): Merge
|
|
|
|
|
into ...
|
|
|
|
|
("*setmem_long<setmem_and>"): New pattern.
|
|
|
|
|
("*setmem_long_31z", "*setmem_long_and_31z"): Merge
|
|
|
|
|
into ...
|
|
|
|
|
("*setmem_long_31z<setmem_and>"): New pattern.
|
|
|
|
|
* config/s390/subst.md ("setmem_31z_subst", "setmem_and_subst"):
|
|
|
|
|
New substitution rules with the required attributes.
|
|
|
|
|
|
|
|
|
|
|
2016-03-01 15:51:17 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
Revert
|
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* gensupport.c (process_substs_on_one_elem): Split loop to
|
|
|
|
|
complete mark_operands_used_in_match_dup on all expressions in the
|
|
|
|
|
vector first.
|
|
|
|
|
(adjust_operands_numbers): Inline into process_substs_on_one_elem
|
|
|
|
|
and remove function.
|
|
|
|
|
|
2016-03-01 14:32:13 +01:00
|
|
|
|
2016-03-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/70022
|
|
|
|
|
* fold-const.c (fold_indirect_ref_1): Fix range checking for
|
|
|
|
|
vector BIT_FIELD_REF extract.
|
|
|
|
|
|
2016-03-01 13:50:41 +01:00
|
|
|
|
2016-03-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69994
|
|
|
|
|
* tree-ssa-reassoc.c (ops_equal_values_p): Handle missing case.
|
|
|
|
|
|
2016-03-01 12:17:44 +01:00
|
|
|
|
2016-03-01 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69956
|
|
|
|
|
* tree-vect-stmts.c (supportable_widening_operation): Support
|
|
|
|
|
multi-step conversion of boolean vectors.
|
|
|
|
|
(supportable_narrowing_operation): Likewise.
|
|
|
|
|
|
2016-03-01 10:27:10 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_decompose_address): Don't accept SImode
|
|
|
|
|
anymore.
|
|
|
|
|
|
2016-03-01 10:25:23 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/subst.md (DSI_VI): New mode iterator.
|
|
|
|
|
("addr_style_op_subst"): Use DSI_VI instead of DSI.
|
|
|
|
|
* config/s390/vector.md ("vec_set<mode>"): Move expander before
|
|
|
|
|
the insn definition.
|
|
|
|
|
("*vec_set<mode>"): Change predicate and add alternative to
|
|
|
|
|
support only either register or const_int operands as element
|
|
|
|
|
selector.
|
|
|
|
|
("*vec_set<mode>_plus"): New pattern to support reg + const_int
|
|
|
|
|
operands.
|
|
|
|
|
("vec_extract<mode>"): New expander.
|
|
|
|
|
("*vec_extract<mode>"): New insn definition supporting reg and
|
|
|
|
|
const_int element selectors.
|
|
|
|
|
("*vec_extract<mode>_plus"): New insn definition supporting
|
|
|
|
|
reg+const_int element selectors.
|
|
|
|
|
("rotl<mode>3", "ashl<mode>3", "ashr<mode>3"): Merge into the
|
|
|
|
|
following expander+insn definition.
|
|
|
|
|
("<vec_shifts_name><mode>3"): New expander.
|
|
|
|
|
("*<vec_shifts_name><mode>3<addr_style_op>"): New insn definition.
|
|
|
|
|
|
2016-03-01 10:24:29 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md ("*tabort_1"): Change predicate to
|
|
|
|
|
nonmemory_operand. Add a second alternative to cover
|
|
|
|
|
register as well as const int operands.
|
|
|
|
|
("*tabort_1_plus"): New pattern definition.
|
|
|
|
|
|
2016-03-01 10:23:41 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md ("*ashrdi3_cc_31")
|
|
|
|
|
("*ashrdi3_cconly_31""*ashrdi3_cc_31_and")
|
|
|
|
|
("*ashrdi3_cconly_31_and", "*ashrdi3_31_and", "*ashrdi3_31"):
|
|
|
|
|
Merge insn definitions into ...
|
|
|
|
|
("*ashrdi3_31<addr_style_op_cc><masked_op_cc><setcc><cconly>"):
|
|
|
|
|
New pattern definition.
|
|
|
|
|
("*ashr<mode>3_cc", "*ashr<mode>3_cconly", "ashr<mode>3", )
|
|
|
|
|
("*ashr<mode>3_cc_and", "*ashr<mode>3_cconly_and")
|
|
|
|
|
("*ashr<mode>3_and"): Merge insn definitions into ...
|
|
|
|
|
("*ashr<mode>3<addr_style_op_cc><masked_op_cc><setcc><cconly>"):
|
|
|
|
|
New pattern definition.
|
|
|
|
|
* config/s390/subst.md ("addr_style_op_cc_subst")
|
|
|
|
|
("masked_op_cc_subst", "setcc_subst", "cconly_subst"): New
|
|
|
|
|
substitutions patterns plus attributes.
|
|
|
|
|
Add ashiftrt to SUBST iterator.
|
|
|
|
|
|
2016-03-01 10:22:20 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md ("<shift><mode>3"): Change predicate of
|
|
|
|
|
op2 to nonmemory_operand.
|
|
|
|
|
("*<shift>di3_31", "*<shift>di3_31_and"):
|
|
|
|
|
Merge into single pattern definition ...
|
|
|
|
|
("*<shift>di3_31<addr_style_op><masked_op>"): New pattern.
|
|
|
|
|
("*<shift><mode>3", "*<shift><mode>3_and"): Merge into single
|
|
|
|
|
pattern definition ...
|
|
|
|
|
("*<shift><mode>3<addr_style_op><masked_op>"): New pattern.
|
|
|
|
|
* config/s390/subst.md: Add ashift and lshiftrt to SUBST
|
|
|
|
|
iterator.
|
|
|
|
|
|
2016-03-01 10:21:23 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/predicates.md (const_int_6bitset_operand): New
|
2016-03-01 21:11:19 +01:00
|
|
|
|
predicate.
|
2016-03-01 10:21:23 +01:00
|
|
|
|
* config/s390/s390.md: Include subst.md.
|
|
|
|
|
("rotl<mode>3"): New expander.
|
|
|
|
|
("rotl<mode>3", "*rotl<mode>3_and"): Merge insn definitions into
|
|
|
|
|
...
|
|
|
|
|
("*rotl<mode>3<addr_style_op><masked_op>"): New insn definition.
|
|
|
|
|
* config/s390/subst.md: New file.
|
|
|
|
|
|
S/390: Use enabled attribute overrides to disable
alternatives.
So far whenever we wanted to disable an alternative we have used mode
attributes emitting constraints matching an earlier alternative
assuming that due to this the later alternative will never be chosen.
With this patch the `enabled' attribute, which so far is only set from
`cpu_facility', is overridden to 0 to disable certain alternatives.
This comes handy when defining the substitutions later and while
adding it anyway I've used it for the existing cases as well.
gcc/ChangeLog:
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390.md ("op_type", "atype", "length" attributes):
Remove RRR type. It doesn't really exist.
("RRer", "f0", "v0", "vf", "vd", "op1", "Rf"): Remove mode
attributes.
("BFP", "DFP", "nDSF", "nDFDI"): Add mode attributes.
("*cmp<mode>_ccs", "floatdi<mode>2", "add<mode>3")
("*add<mode>3_cc", "*add<mode>3_cconly", "sub<mode>3")
("*sub<mode>3_cc", "*sub<mode>3_cconly", "mul<mode>3")
("fma<mode>4", "fms<mode>4", "div<mode>3", "*neg<mode>2")
("*abs<mode>2", "*negabs<mode>2", "sqrt<mode>2"): Override
`enabled' attribute.
From-SVN: r233842
2016-03-01 10:20:12 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md ("op_type", "atype", "length" attributes):
|
|
|
|
|
Remove RRR type. It doesn't really exist.
|
|
|
|
|
("RRer", "f0", "v0", "vf", "vd", "op1", "Rf"): Remove mode
|
|
|
|
|
attributes.
|
|
|
|
|
("BFP", "DFP", "nDSF", "nDFDI"): Add mode attributes.
|
|
|
|
|
("*cmp<mode>_ccs", "floatdi<mode>2", "add<mode>3")
|
|
|
|
|
("*add<mode>3_cc", "*add<mode>3_cconly", "sub<mode>3")
|
|
|
|
|
("*sub<mode>3_cc", "*sub<mode>3_cconly", "mul<mode>3")
|
|
|
|
|
("fma<mode>4", "fms<mode>4", "div<mode>3", "*neg<mode>2")
|
|
|
|
|
("*abs<mode>2", "*negabs<mode>2", "sqrt<mode>2"): Override
|
|
|
|
|
`enabled' attribute.
|
|
|
|
|
|
2016-03-01 10:19:14 +01:00
|
|
|
|
2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* gensupport.c (process_substs_on_one_elem): Split loop to
|
|
|
|
|
complete mark_operands_used_in_match_dup on all expressions in the
|
|
|
|
|
vector first.
|
|
|
|
|
(adjust_operands_numbers): Inline into process_substs_on_one_elem
|
|
|
|
|
and remove function.
|
|
|
|
|
|
2016-03-01 01:22:26 +01:00
|
|
|
|
2016-02-29 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/69706
|
|
|
|
|
* config/sparc/sparc.c (NWORDS_UP): Rename to...
|
|
|
|
|
(CEIL_NWORDS): ...this. Use CEIL macro.
|
|
|
|
|
(compute_fp_layout): Adjust to above renaming.
|
|
|
|
|
(function_arg_union_value): Likewise.
|
|
|
|
|
(sparc_arg_partial_bytes): Likewise.
|
|
|
|
|
(sparc_function_arg_advance): Likewise.
|
|
|
|
|
|
|
|
|
|
2016-02-29 Jeff Law <law@redhat.com>
|
2016-02-29 23:45:41 +01:00
|
|
|
|
|
2016-03-01 01:04:48 +01:00
|
|
|
|
PR tree-optimization/70005
|
|
|
|
|
* tree-ssa-uncprop.c (associate_equivalences_with_edges): Handle case
|
|
|
|
|
where an object with a boolean range is compared against a value
|
|
|
|
|
outside [0..1].
|
|
|
|
|
|
2016-02-29 23:45:41 +01:00
|
|
|
|
PR tree-optimization/69999
|
|
|
|
|
* gimple-ssa-split-paths.c (split_paths): When duplicating a block
|
|
|
|
|
with an outgoing edge marked with EDGE_IRREDUCIBLE_LOOP, schedule
|
|
|
|
|
loop cleanups.
|
|
|
|
|
|
2016-02-29 16:30:50 +01:00
|
|
|
|
2016-02-29 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69994
|
|
|
|
|
* tree-ssa-reassoc.c (gimple_nop_conversion_p): New function.
|
|
|
|
|
(get_unary_op): Look through nop conversions.
|
|
|
|
|
(ops_equal_values_p): New function, look for equality diregarding
|
|
|
|
|
nop conversions.
|
|
|
|
|
(eliminate_plus_minus_pair): Use ops_equal_values_p
|
|
|
|
|
(repropagate_negates): Do not use get_unary_op here.
|
|
|
|
|
|
2016-02-29 16:40:20 +01:00
|
|
|
|
2016-02-29 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* system.h: Poison ENABLE_CHECKING macro.
|
|
|
|
|
|
2016-02-29 16:15:27 +01:00
|
|
|
|
2016-02-29 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa-gen.c (gen_body_from_gimple): Dump only if TDF_DETAILS
|
|
|
|
|
is presented in dump flags.
|
|
|
|
|
* hsa-regalloc.c (linear_scan_regalloc): Likewise.
|
|
|
|
|
(hsa_regalloc): Likewise.
|
|
|
|
|
|
2016-02-29 14:24:24 +01:00
|
|
|
|
2016-02-19 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69980
|
|
|
|
|
* tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Update
|
|
|
|
|
permutation of those we need to keep.
|
|
|
|
|
|
2016-02-29 11:20:31 +01:00
|
|
|
|
2016-02-29 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/69706
|
|
|
|
|
* config/sparc/sparc.c (ROUND_ADVANCE): Rename to...
|
|
|
|
|
(NWORDS_UP): ...this
|
|
|
|
|
(init_cumulative_args): Minor tweaks.
|
|
|
|
|
(sparc_promote_function_mode): Likewise.
|
|
|
|
|
(scan_record_type): Delete.
|
|
|
|
|
(traverse_record_type): New function template.
|
|
|
|
|
(classify_data_t): New structure type.
|
|
|
|
|
(classify_registers): New inline function.
|
|
|
|
|
(function_arg_slotno): In 64-bit mode, bail out early if FP slots are
|
|
|
|
|
exhausted. Instantiate traverse_record_type on classify_registers and
|
|
|
|
|
deal with the case of a structure passed in slot #15 with no FP field
|
|
|
|
|
in the first word.
|
|
|
|
|
(assign_data_t): New structure type.
|
|
|
|
|
(compute_int_layout): New static function.
|
|
|
|
|
(compute_fp_layout): Likewise.
|
|
|
|
|
(count_registers): New inline function.
|
|
|
|
|
(assign_int_registers): New static function.
|
|
|
|
|
(assign_fp_registers): Likewise.
|
|
|
|
|
(assign_registers): New inline function.
|
|
|
|
|
(function_arg_record_value_1): Delete.
|
|
|
|
|
(function_arg_record_value_2): Likewise.
|
|
|
|
|
(function_arg_record_value_3): Likewise.
|
|
|
|
|
(function_arg_record_value): Adjust to above changes. Instantiate
|
|
|
|
|
traverse_record_type on count_registers to first count the number of
|
|
|
|
|
registers to be used and then on assign_registers to assign them.
|
|
|
|
|
(function_arg_union_value): Adjust to above renaming.
|
|
|
|
|
(sparc_function_arg_1); Minor tweaks. Remove commented out code.
|
|
|
|
|
(sparc_arg_partial_bytes): Adjust to above renaming. Deal with the
|
|
|
|
|
case of a structure passed in slot #15
|
|
|
|
|
(sparc_function_arg_advance): Likewise.
|
|
|
|
|
(function_arg_padding): Minor tweak.
|
|
|
|
|
|
2016-02-29 09:45:17 +01:00
|
|
|
|
2016-02-29 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69720
|
|
|
|
|
* tree-vect-loop.c (get_initial_def_for_reduction): Avoid
|
|
|
|
|
the adjustment_def path for possibly vectorized defs.
|
|
|
|
|
(vect_create_epilog_for_reduction): Handle vectorized initial
|
|
|
|
|
defs properly.
|
|
|
|
|
|
2016-02-28 15:36:41 +01:00
|
|
|
|
2016-02-28 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cygming.h (STACK_REALIGN_DEFAULT): Define.
|
|
|
|
|
|
2016-02-28 07:34:20 +01:00
|
|
|
|
2016-02-27 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
Revert
|
|
|
|
|
2016-02-26 Richard Biener <rguenther@suse.de>
|
|
|
|
|
Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69740
|
|
|
|
|
* cfghooks.c (remove_edge): Request loop fixups if we delete
|
|
|
|
|
an edge that might turn an irreducible loop into a natural
|
|
|
|
|
loop.
|
|
|
|
|
|
2016-02-27 07:43:20 +01:00
|
|
|
|
2016-02-27 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69896
|
|
|
|
|
* tree-vect-generic.c (get_compute_type): Avoid single element
|
|
|
|
|
vector types.
|
|
|
|
|
|
2016-02-27 00:41:53 +01:00
|
|
|
|
2016-02-26 Evandro Menezes <e.menezes@samsung.com>
|
|
|
|
|
|
|
|
|
|
Rename the AArch64 tuning option and related functions to enable the
|
|
|
|
|
Newton series for the reciprocal square root to reflect its
|
|
|
|
|
approximative characteristic.
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-protos.h (aarch64_emit_swrsqrt): Rename
|
|
|
|
|
function to "aarch64_emit_approx_rsqrt".
|
|
|
|
|
* config/aarch64/aarch64-tuning-flags.def: Rename tuning flag to
|
|
|
|
|
AARCH64_EXTRA_TUNE_APPROX_RSQRT.
|
|
|
|
|
* config/aarch64/aarch64.c (exynosm1_tunigs): Use new flag name.
|
|
|
|
|
(xgene1_tunings): Likewise.
|
|
|
|
|
(use_rsqrt_p): Likewise.
|
|
|
|
|
(aarch64_emit_swrsqrt): Use new function name.
|
|
|
|
|
* config/aarch64/aarch64-simd.md (aarch64_rsqrts_*): Likewise.
|
|
|
|
|
* config/aarch64/aarch64.opt (mlow-precision-recip-sqrt): Reword the
|
|
|
|
|
text explaining this option.
|
|
|
|
|
* doc/invoke.texi (-mlow-precision-recip-sqrt): Likewise.
|
|
|
|
|
|
2016-02-26 23:35:00 +01:00
|
|
|
|
2016-02-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69969
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
|
|
|
|
|
complain about -mallow-movmisalign without -mvsx if
|
|
|
|
|
TARGET_ALLOW_MOVMISALIGN was not set explicitly.
|
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-02-26 Joel Sherrill <joel@rtems.org>
|
2016-02-26 21:01:34 +01:00
|
|
|
|
|
|
|
|
|
* config.gcc: Add x86_64-*-rtems*.
|
|
|
|
|
* gcc/config/i386/rtems-64.h: New file.
|
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-02-26 Joel Sherrill <joel@rtems.org>
|
2016-02-26 20:59:55 +01:00
|
|
|
|
|
|
|
|
|
* config.gcc: Add aarch64-*-rtems*.
|
|
|
|
|
* gcc/config/aarch64/rtems.h: New file.
|
|
|
|
|
|
2016-02-26 19:49:18 +01:00
|
|
|
|
2016-02-26 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/69946
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_insn_for_shift_mask): Print rlwinm
|
|
|
|
|
shift amount using %h. Add comment.
|
|
|
|
|
|
2016-02-26 19:17:02 +01:00
|
|
|
|
2016-02-26 Richard Biener <rguenther@suse.de>
|
|
|
|
|
Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69740
|
|
|
|
|
* cfghooks.c (remove_edge): Request loop fixups if we delete
|
|
|
|
|
an edge that might turn an irreducible loop into a natural
|
|
|
|
|
loop.
|
|
|
|
|
|
2016-02-26 19:06:42 +01:00
|
|
|
|
2016-02-26 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69920
|
|
|
|
|
* tree-sra.c (sra_modify_assign): Do not remove loads of
|
|
|
|
|
uninitialized aggregates to SSA_NAMEs.
|
|
|
|
|
|
2016-02-26 19:03:51 +01:00
|
|
|
|
2016-02-26 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69709
|
|
|
|
|
* config/s390/s390.md (risbg and risbgn splitters): Allocate new
|
|
|
|
|
pseudo in case the target rtx matches the source of the left
|
|
|
|
|
shift.
|
|
|
|
|
|
2016-02-26 18:48:19 +01:00
|
|
|
|
2016-02-26 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR hsa/69568
|
|
|
|
|
* hsa.h (hsa_type_packed_p): Declare.
|
|
|
|
|
* hsa.c (hsa_type_packed_p): New function.
|
|
|
|
|
* hsa-gen.c (mem_type_for_type): Use unsigned type for packed
|
|
|
|
|
loads.
|
|
|
|
|
(gen_hsa_insns_for_store): Use hsa_type_packed_p.
|
|
|
|
|
* hsa-brig.c (emit_basic_insn): Likewise.
|
|
|
|
|
|
2016-02-26 18:45:37 +01:00
|
|
|
|
2016-02-26 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
pr hsa/69674
|
|
|
|
|
* hsa-gen.c (gen_hsa_phi_from_gimple_phi): Use proper hsa type for
|
|
|
|
|
pointers.
|
|
|
|
|
(gen_hsa_addr): Allow integer constants in TMR_INDEX2.
|
|
|
|
|
|
2016-02-26 18:42:06 +01:00
|
|
|
|
2016-02-26 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa.h (is_a_helper): New overload for hsa_op_immed for
|
|
|
|
|
hsa_op_with_type operands.
|
|
|
|
|
(hsa_unsigned_type_for_type): Declare.
|
|
|
|
|
* hsa.c (hsa_unsigned_type_for_type): New function.
|
|
|
|
|
* hsa-gen.c (gen_hsa_binary_operation): Use hsa_unsigned_type_for_type.
|
|
|
|
|
(gen_hsa_insns_for_operation_assignment): Satisfy constrains of
|
|
|
|
|
the finalizer. Do not emit extra move.
|
|
|
|
|
|
2016-02-26 18:39:11 +01:00
|
|
|
|
2016-02-26 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa-gen.c (gen_hsa_ternary_atomic_for_builtin): Fail in presence of
|
|
|
|
|
atomic operations in private segment.
|
|
|
|
|
|
2016-02-26 18:35:29 +01:00
|
|
|
|
2016-02-26 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (grid_find_ungridifiable_statement): Store problematic
|
|
|
|
|
statements to wi->info. Also disallow omp simd constructs.
|
|
|
|
|
(grid_target_follows_gridifiable_pattern): Use wi.info to dump reason
|
|
|
|
|
for not gridifying. Dump special string for omp_for.
|
|
|
|
|
|
2016-02-26 17:02:21 +01:00
|
|
|
|
2016-02-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69245
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_set_current_function):
|
|
|
|
|
Save/restore target globals when switching to
|
|
|
|
|
target_option_default_node.
|
|
|
|
|
|
2016-02-26 16:59:45 +01:00
|
|
|
|
2016-02-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69613
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_shift_truncation_mask):
|
|
|
|
|
Return 0 if !SHIFT_COUNT_TRUNCATED.
|
|
|
|
|
|
2016-02-26 16:53:43 +01:00
|
|
|
|
2016-02-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69891
|
|
|
|
|
* dse.c (scan_insn): If we can't figure out memset arguments
|
|
|
|
|
or they are non-constant, call clear_rhs_from_active_local_stores.
|
|
|
|
|
|
2016-02-26 12:56:17 +01:00
|
|
|
|
2016-02-26 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi: Mention clog10, clog10f an clog10l
|
|
|
|
|
in Builtins section.
|
|
|
|
|
|
2016-02-26 11:46:48 +01:00
|
|
|
|
2016-02-26 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.c (new_loc_descr): Replace ENABLE_CHECKING with
|
|
|
|
|
CHECKING_P.
|
|
|
|
|
(resolve_args_picking_1): Likewise.
|
|
|
|
|
* dwarf2out.h (struct GTY): Likewise.
|
|
|
|
|
|
2016-02-26 11:10:11 +01:00
|
|
|
|
2016-02-26 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa-gen.c (generate_hsa): Replace ENABLE_CHECKING macro
|
|
|
|
|
with flag_checking.
|
|
|
|
|
* hsa-regalloc.c (linear_scan_regalloc): Likewise.
|
|
|
|
|
|
2016-02-26 11:02:45 +01:00
|
|
|
|
2016-02-26 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi: Mention --enable-valgrind-annotations.
|
|
|
|
|
|
2016-02-26 09:34:58 +01:00
|
|
|
|
2016-02-26 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69551
|
|
|
|
|
* tree-ssa-structalias.c (get_constraint_for_ssa_var): When
|
|
|
|
|
looking through aliases adjust DECL_PT_UID to refer to the
|
|
|
|
|
ultimate alias target.
|
|
|
|
|
|
2016-02-25 17:57:39 +01:00
|
|
|
|
2016-02-25 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69919
|
|
|
|
|
* alloc-pool.c (after_memory_report): New variable.
|
|
|
|
|
* alloc-pool.h (base_pool_allocator ::release): Do not use
|
|
|
|
|
the infrastructure if after_memory_report.
|
|
|
|
|
* toplev.c (toplev::main): Mark after memory report.
|
|
|
|
|
|
2016-02-25 14:20:25 +01:00
|
|
|
|
2016-02-25 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/48795
|
|
|
|
|
* tree-vrp.c (check_array_ref): Use array_at_struct_end_p.
|
|
|
|
|
|
2016-02-25 13:23:52 +01:00
|
|
|
|
2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR driver/68463
|
|
|
|
|
* config/gnu-user.h (CRTOFFLOADBEGIN): Define. Add crtoffloadbegin.o if
|
|
|
|
|
offloading is enabled and -fopenacc or -fopenmp is specified.
|
|
|
|
|
(CRTOFFLOADEND): Likewise.
|
|
|
|
|
(GNU_USER_TARGET_STARTFILE_SPEC): Add CRTOFFLOADBEGIN.
|
|
|
|
|
(GNU_USER_TARGET_ENDFILE_SPEC): Add CRTOFFLOADEND.
|
|
|
|
|
* lto-wrapper.c (offloadbegin, offloadend): Remove static vars.
|
|
|
|
|
(offload_objects_file_name): New static var.
|
|
|
|
|
(tool_cleanup): Remove offload_objects_file_name file.
|
|
|
|
|
(find_offloadbeginend): Replace with ...
|
|
|
|
|
(find_crtoffloadtable): ... this.
|
|
|
|
|
(run_gcc): Remove offload_argc and offload_argv.
|
|
|
|
|
Get offload_objects_file_name from -foffload-objects=... option.
|
|
|
|
|
Read names of object files with offload from this file, pass them to
|
|
|
|
|
compile_images_for_offload_targets. Don't call find_offloadbeginend and
|
|
|
|
|
don't pass offloadbegin and offloadend to the linker. Don't pass
|
|
|
|
|
offload non-LTO files to the linker, because now they're not claimed.
|
|
|
|
|
|
2016-02-25 13:10:04 +01:00
|
|
|
|
2016-02-25 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/69630
|
|
|
|
|
* ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
|
|
|
|
|
on builtin_unreachable.
|
|
|
|
|
|
2016-02-25 09:09:02 +01:00
|
|
|
|
2016-02-25 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69896
|
|
|
|
|
* regcprop.c: Include cfgrtl.h.
|
|
|
|
|
(copyprop_hardreg_forward_1): If noop_p insn uses narrower
|
|
|
|
|
than remembered mode, either delete it (if noop_move_p), or
|
|
|
|
|
treat like copy_p but not noop_p instruction.
|
|
|
|
|
|
2016-02-24 23:04:09 +01:00
|
|
|
|
2016-02-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/69705
|
|
|
|
|
* dwarf2out.c (gen_variable_die): Work around buggy LTO
|
|
|
|
|
- allow NULL decl for Fortran DW_TAG_common_block variables.
|
|
|
|
|
|
2016-02-24 16:18:04 +01:00
|
|
|
|
2016-02-24 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* common.opt (flifetime-dse): Add -flifetime-dse=1.
|
|
|
|
|
|
2016-02-24 15:54:01 +01:00
|
|
|
|
2016-02-24 Richard Biener <rguenther@suse.de>
|
2016-02-24 23:04:09 +01:00
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
2016-02-24 15:54:01 +01:00
|
|
|
|
|
|
|
|
|
PR middle-end/69760
|
|
|
|
|
* tree-scalar-evolution.c (interpret_rhs_expr): Re-write
|
|
|
|
|
conditionally executed ops to well-defined overflow behavior.
|
|
|
|
|
|
2016-02-24 14:54:39 +01:00
|
|
|
|
2016-02-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69915
|
|
|
|
|
* tree.c (build_vector_from_ctor): Fix handling of VECTOR_CST
|
|
|
|
|
elements.
|
|
|
|
|
|
2016-02-24 14:00:10 +01:00
|
|
|
|
2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69886
|
|
|
|
|
* gcse.c (can_assign_to_reg_without_clobbers_p): Accept mode
|
|
|
|
|
argument. Use it when checking validity of set instructions.
|
|
|
|
|
(want_to_gcse_p): Pass mode to can_assign_to_reg_without_clobbers_p.
|
|
|
|
|
(compute_ld_motion_mems): Update can_assign_to_reg_without_clobbers_p
|
|
|
|
|
callsite.
|
|
|
|
|
* rtl.h (can_assign_to_reg_without_clobbers_p): Update prototype.
|
|
|
|
|
* store-motion.c (find_moveable_store): Update
|
|
|
|
|
can_assign_to_reg_without_clobbers_p callsite.
|
|
|
|
|
|
2016-02-24 13:03:27 +01:00
|
|
|
|
2016-02-24 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/68963
|
|
|
|
|
* tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Fix
|
|
|
|
|
bogus check.
|
|
|
|
|
(record_nonwrapping_iv): Do not fall back to the low/high bound
|
|
|
|
|
for non-constant IV bases if the stmt is not always executed.
|
|
|
|
|
|
2016-02-24 12:02:04 +01:00
|
|
|
|
2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-cores.def (cortex-a32): New entry.
|
|
|
|
|
* config/arm/arm-tables.opt: Regenerate.
|
|
|
|
|
* config/arm/arm-tune.md: Regenerate.
|
|
|
|
|
* config/arm/bpabi.h (BE8_LINK_SPEC): Add mcpu=cortex-a32.
|
|
|
|
|
* config/arm/t-aprofile: Handle mcpu=cortex-a32.
|
|
|
|
|
* doc/invoke.texi (ARM Options): Document cortex-a32 as value
|
|
|
|
|
for -mcpu and -mtune.
|
|
|
|
|
|
2016-02-24 12:00:28 +01:00
|
|
|
|
2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69875
|
|
|
|
|
* config/arm/arm.h (TARGET_HAVE_LPAE): Define.
|
|
|
|
|
* config/arm/unspecs.md (VUNSPEC_LDRD_ATOMIC): New value.
|
|
|
|
|
* config/arm/sync.md (arm_atomic_loaddi2_ldrd): New pattern.
|
|
|
|
|
(atomic_loaddi_1): Delete.
|
|
|
|
|
(atomic_loaddi): Rewrite expander using the above changes.
|
|
|
|
|
|
2016-02-24 09:37:41 +01:00
|
|
|
|
2016-02-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/69918
|
|
|
|
|
* params.def (PARAM_MAX_SSA_NAME_QUERY_DEPTH): Bump default from
|
|
|
|
|
2 to 3.
|
|
|
|
|
|
2016-02-24 09:36:16 +01:00
|
|
|
|
2016-02-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Richard Biener <rguenth@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69909
|
|
|
|
|
* expr.c (expand_expr_real_1) <normal_inner_ref>: Avoid
|
|
|
|
|
set_mem_attributes if tem is SSA_NAME which got expanded
|
|
|
|
|
as a MEM.
|
|
|
|
|
|
2016-02-24 09:27:25 +01:00
|
|
|
|
2016-02-24 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69907
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_load): Check for gaps at the
|
|
|
|
|
end of permutations for BB vectorization.
|
|
|
|
|
|
2016-02-24 09:19:12 +01:00
|
|
|
|
2016-02-24 Christian Bruel <christian.bruel@st.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-c.c (arm_option_override): Initialize
|
|
|
|
|
target_option_current_node.
|
|
|
|
|
* config/arm/arm.c (arm_pragma_target_parse): Replace
|
|
|
|
|
build_target_option_node call by target_option_current_node.
|
|
|
|
|
Set target_option_current_node.
|
|
|
|
|
Fix comments.
|
|
|
|
|
|
2016-02-23 23:28:23 +01:00
|
|
|
|
2016-02-23 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69810
|
|
|
|
|
* config/rs6000/rs6000.md (zero_extendqi<mode>2_dot): Convert from
|
|
|
|
|
define_insn_and_split to define_insn.
|
|
|
|
|
(zero_extendqi<mode>2_dot2): Same.
|
|
|
|
|
(extendqi<mode>2_dot): Same.
|
|
|
|
|
(extendqi<mode>2_dot2): Same.
|
|
|
|
|
|
2016-02-23 22:31:00 +01:00
|
|
|
|
2016-02-23 Evandro Menezes <e.menezes@samsung.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/exynos-m1.md: Change cost of STP, fix bypass for stores
|
|
|
|
|
and add bypass for AES{D,E} and AESMC pairs.
|
|
|
|
|
* config/aarch64/aarch64.c (exynosm1_tunings): Enable fusion of AES{D,E}
|
|
|
|
|
and AESMC pairs.
|
|
|
|
|
|
2016-02-23 21:21:23 +01:00
|
|
|
|
2016-02-23 Evandro Menezes <e.menezes@samsung.com>
|
|
|
|
|
|
2016-03-01 21:11:19 +01:00
|
|
|
|
* config/aarch64/aarch64.c (exynosm1_tunings): Enable the Newton
|
|
|
|
|
series for reciprocal square root in Exynos M1.
|
2016-02-23 21:21:23 +01:00
|
|
|
|
|
2016-02-23 19:09:37 +01:00
|
|
|
|
2016-02-23 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/69759
|
|
|
|
|
* doc/extend.texi (Other Builtins): Document __builtin_alloca and
|
|
|
|
|
__builtin_alloca_with_align.
|
|
|
|
|
|
2016-02-23 19:05:14 +01:00
|
|
|
|
2016-02-23 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386-c.c (ix86_target_macros): Remove __SEG_TLS.
|
|
|
|
|
(ix86_register_pragmas): Remove __seg_tls.
|
|
|
|
|
* config/i386/i386-protos.h (ADDR_SPACE_SEG_TLS): Remove.
|
|
|
|
|
* config/i386/i386.c (ix86_print_operand_address_as): Don't handle it.
|
|
|
|
|
(ix86_addr_space_subset_p, TARGET_ADDR_SPACE_SUBSET_P): Remove.
|
|
|
|
|
(ix86_addr_space_convert, TARGET_ADDR_SPACE_CONVERT): Remove.
|
|
|
|
|
(ix86_addr_space_debug, TARGET_ADDR_SPACE_DEBUG): Remove.
|
|
|
|
|
* doc/extend.texi (__seg_tls): Remove item.
|
|
|
|
|
|
2016-02-23 16:19:17 +01:00
|
|
|
|
2016-02-23 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* alloc-pool.h (struct allocation_object): Make id member
|
|
|
|
|
conditional on CHECKING_P again.
|
|
|
|
|
(get_instance): Adjust.
|
|
|
|
|
(base_pool_allocator): Likewise.
|
|
|
|
|
|
2016-02-23 16:07:54 +01:00
|
|
|
|
2016-02-23 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* tree-parloops.c (create_parallel_loop, gen_parallel_loop)
|
|
|
|
|
(parallelize_loops): In OpenACC kernels mode, set n_threads to
|
|
|
|
|
zero.
|
|
|
|
|
(pass_parallelize_loops::gate): In OpenACC kernels mode, gate on
|
|
|
|
|
flag_openacc.
|
|
|
|
|
* tree-ssa-loop.c (gate_oacc_kernels): Likewise.
|
|
|
|
|
|
2016-02-23 15:01:51 +01:00
|
|
|
|
2016-02-23 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* mem-stats.h (struct mem_usage): Use PRIu64 for printing size_t.
|
|
|
|
|
* bitmap.h (struct bitmap_usage): Likewise.
|
|
|
|
|
(bitmap_move): Declare.
|
|
|
|
|
* bitmap.c (register_overhead): Take size_t argument.
|
|
|
|
|
(bitmap_move): New function.
|
|
|
|
|
* df-problems.c (df_rd_transfer_function): Use bitmap_move
|
|
|
|
|
to properly account overhead.
|
|
|
|
|
* tree.c (free_node): Use tree_size.
|
|
|
|
|
|
2016-02-23 13:57:32 +01:00
|
|
|
|
2016-02-23 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-02-23 13:58:53 +01:00
|
|
|
|
PR c++/69902
|
|
|
|
|
* fold-const.c (fold_truth_not_expr): Propagate TREE_NO_WARNING
|
|
|
|
|
when inverting comparison.
|
|
|
|
|
|
2016-02-23 13:57:32 +01:00
|
|
|
|
PR c/69900
|
|
|
|
|
* common.opt (Wunreachable-code): Add Warning flag.
|
|
|
|
|
|
2016-02-23 12:47:19 +01:00
|
|
|
|
2016-02-23 Mark Wielaard <mjw@redhat.com>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/69911
|
|
|
|
|
* cgraphunit.c (check_global_declaration): Check main_input_filename
|
|
|
|
|
and DECL_SOURCE_FILE are not NULL.
|
|
|
|
|
|
2016-02-23 11:55:47 +01:00
|
|
|
|
2016-02-23 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69666
|
|
|
|
|
* tree-sra.c (sra_modify_assign): Do not attempt to create
|
|
|
|
|
default_def replacements for unscalarizable regions.
|
|
|
|
|
|
2016-02-22 23:42:19 +01:00
|
|
|
|
2016-02-20 Mark Wielaard <mjw@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/28901
|
|
|
|
|
* cgraphunit.c (check_global_declaration): Check level of
|
|
|
|
|
warn_unused_const_variable and main_input_filename.
|
|
|
|
|
* doc/invoke.texi (Warning Options): Add -Wunused-const-variable=.
|
|
|
|
|
(-Wunused-variable): For C implies -Wunused-const-variable=1.
|
|
|
|
|
(-Wunused-const-variable): Explain levels 1 and 2.
|
|
|
|
|
|
2016-02-22 20:55:47 +01:00
|
|
|
|
2016-02-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-02-22 22:34:07 +01:00
|
|
|
|
PR target/69888
|
|
|
|
|
* config/i386/i386.c (decide_alg): Ensure we don't recurse with
|
|
|
|
|
identical arguments. Formatting and spelling fixes.
|
|
|
|
|
|
2016-02-22 22:27:08 +01:00
|
|
|
|
PR target/69885
|
|
|
|
|
* doc/md.texi (ashl@var{m}3): Document that mode of operand 2 must
|
|
|
|
|
be specified.
|
|
|
|
|
|
2016-02-22 20:55:47 +01:00
|
|
|
|
PR target/69894
|
|
|
|
|
PR target/69895
|
|
|
|
|
* config/m68k/t-opts (OPTIONS_H_EXTRA): Add m68k-microarchs.def
|
|
|
|
|
and m68k-devices.def.
|
|
|
|
|
* config/c6x/t-c6x (OPTIONS_H_EXTRA): Add c6x-isas.def.
|
|
|
|
|
* config/aarch64/t-aarch64 (OPTIONS_H_EXTRA): Add aarch64-arches.def.
|
|
|
|
|
|
2016-02-22 17:28:25 +01:00
|
|
|
|
2016-02-22 Cesar Philippidis <cesar@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/nvptx.c (nvptx_gen_shuffle): Add support for QImode
|
|
|
|
|
and HImode registers.
|
|
|
|
|
|
2016-02-22 15:53:17 +01:00
|
|
|
|
2016-02-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69882
|
|
|
|
|
* tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Properly
|
|
|
|
|
preserve permutations present because of gaps.
|
|
|
|
|
(vect_supported_load_permutation_p): Always continue checking
|
|
|
|
|
permutations after vect_attempt_slp_rearrange_stmts.
|
|
|
|
|
|
2016-02-22 15:38:10 +01:00
|
|
|
|
2016-02-22 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-vect-loop.c (vect_estimate_min_profitable_iters): Dump
|
|
|
|
|
min_profitable_estimate, rather than min_profitable_iters.
|
|
|
|
|
|
2016-02-22 15:22:07 +01:00
|
|
|
|
2016-02-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69885
|
|
|
|
|
* config/m68k/m68k.md (ashldi3, ashrdi3, lshrdi3): Use
|
|
|
|
|
SImode for last match_operand.
|
|
|
|
|
|
2016-02-22 15:14:51 +01:00
|
|
|
|
2016-02-22 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa-gen.c (gen_hsa_clrsb): In case of zero value,
|
|
|
|
|
return bitsize - 1 as the return value.
|
|
|
|
|
|
2016-02-22 14:33:31 +01:00
|
|
|
|
2016-02-22 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/69806
|
|
|
|
|
PR target/54089
|
|
|
|
|
* config/sh/sh.c (sh_lshrsi_clobbers_t_reg_p, sh_dynamicalize_shift_p):
|
|
|
|
|
Handle negative shift counts.
|
|
|
|
|
* config/sh/sh.md (ashlsi3, lshrsi3_n, lshrsi3_n_clobbers_t): Don't use
|
|
|
|
|
force_reg on the shift constant.
|
|
|
|
|
(lshrsi3): Likewise. Expand into lshrsi3_n* instead of lshrsi3_d.
|
|
|
|
|
(lshrsi3_d): Handle negative shift counts.
|
|
|
|
|
|
2016-02-22 11:31:41 +01:00
|
|
|
|
2016-02-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* graph.c: Include dumpfile.h.
|
|
|
|
|
(print_graph_cfg): Split into three overloads.
|
|
|
|
|
* gdbhooks.py (class DotFn): Add and instantiate, adding command dot-fn.
|
|
|
|
|
|
2016-02-22 11:31:32 +01:00
|
|
|
|
2016-02-22 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gdbhooks.py (class DumpFn): Add and instantiate, adding command
|
|
|
|
|
dump-fn.
|
|
|
|
|
|
2016-02-22 10:32:35 +01:00
|
|
|
|
2016-02-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR ipa/37448
|
|
|
|
|
* ipa-inline-transform.c (inline_call): When not updating
|
|
|
|
|
overall summaries adjust self size by the growth estimate.
|
|
|
|
|
* ipa-inline.c (inline_to_all_callers_1): Add to the callers
|
|
|
|
|
hash-set, do not update overall summaries here. Renamed from ...
|
|
|
|
|
(inline_to_all_callers): ... this which is now wrapping the
|
|
|
|
|
above and performing delayed overall summary update.
|
|
|
|
|
(early_inline_small_functions): Delay updating of the overall
|
|
|
|
|
summary.
|
|
|
|
|
|
2016-02-21 12:25:31 +01:00
|
|
|
|
2016-02-21 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
* tree-chkp.c (chkp_mark_invalid_bounds_walker): Initialize
|
|
|
|
|
variable.
|
|
|
|
|
|
2016-02-19 23:18:38 +01:00
|
|
|
|
2016-02-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR driver/69805
|
|
|
|
|
* gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): Use
|
|
|
|
|
:%* in %:gt() argument.
|
|
|
|
|
(greater_than_spec_func): Adjust for expecting only numbers,
|
|
|
|
|
if there are more than two numbers, compare the last two.
|
|
|
|
|
|
2016-02-19 20:32:06 +01:00
|
|
|
|
2016-02-19 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (C++ Dialect Options): Clarify interaction of
|
|
|
|
|
-Wnarrowing with -std.
|
|
|
|
|
|
2016-02-19 14:42:38 +01:00
|
|
|
|
2016-02-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-02-19 20:11:58 +01:00
|
|
|
|
PR c++/69851
|
|
|
|
|
* expr.c (store_field): Don't use bit-field path if exp is
|
|
|
|
|
COMPONENT_REF with TREE_ADDRESSABLE type, where TYPE_SIZE is
|
|
|
|
|
different from bitsize, but DECL_SIZE of FIELD_DECL is bitsize
|
|
|
|
|
and the assignment can be performed by bitwise copy. Formatting
|
|
|
|
|
fix.
|
|
|
|
|
|
2016-02-19 17:25:58 +01:00
|
|
|
|
PR middle-end/69838
|
|
|
|
|
* lra.c (lra_process_new_insns): If non-call exceptions are enabled,
|
|
|
|
|
call copy_reg_eh_region_note_forward on before and/or after sequences
|
|
|
|
|
and remove note from insn if it no longer can throw.
|
|
|
|
|
|
2016-02-19 14:42:38 +01:00
|
|
|
|
PR target/69820
|
|
|
|
|
* config/i386/sse.md (VI_512): Only include V64QImode and V32HImode
|
|
|
|
|
if TARGET_AVX512BW.
|
|
|
|
|
|
2016-02-19 11:39:15 +01:00
|
|
|
|
2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/vector.md: Add missing commutative operand markers
|
|
|
|
|
to the patterns which qualify for one.
|
|
|
|
|
* config/s390/vx-builtins.md: Likewise.
|
|
|
|
|
|
2016-02-19 11:38:22 +01:00
|
|
|
|
2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/vector.md (VI, VI_QHS): Add single element vector
|
|
|
|
|
types to mode iterators.
|
|
|
|
|
(vec_double): ... and mode attribute.
|
|
|
|
|
* config/s390/vx-builtins.md (non_vec_int): Likewise.
|
|
|
|
|
|
2016-02-19 11:37:19 +01:00
|
|
|
|
2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/vector.md ("<ti*>add<mode>3", "<ti*>sub<mode>3"):
|
|
|
|
|
Change the predicate of op2 from nonimmediate to general and let
|
|
|
|
|
reload fix it if necessary.
|
|
|
|
|
|
2016-02-19 11:35:48 +01:00
|
|
|
|
2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/vecintrin.h (vec_sub_u128): Define missing macro.
|
|
|
|
|
|
2016-02-19 11:34:12 +01:00
|
|
|
|
2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_expand_vcond): Use the compare operand
|
|
|
|
|
mode.
|
|
|
|
|
|
2016-02-19 11:31:05 +01:00
|
|
|
|
2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390-protos.h: Add s390_expand_vec_movstr prototype.
|
|
|
|
|
* config/s390/s390.c (s390_expand_vec_movstr): New function.
|
|
|
|
|
* config/s390/s390.md ("movstr<P:mode>"): Call
|
|
|
|
|
s390_expand_vec_movstr.
|
|
|
|
|
|
2016-02-19 11:28:45 +01:00
|
|
|
|
2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md: Add missing output modifier for operand 1
|
|
|
|
|
to print it as address properly.
|
|
|
|
|
|
2016-02-19 11:27:12 +01:00
|
|
|
|
2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/2827.md: Rename ooo_* insn attributes to zEC12_*.
|
|
|
|
|
* config/s390/2964.md: New file.
|
|
|
|
|
* config/s390/s390.c (s390_get_sched_attrmask): Use the right set
|
|
|
|
|
of insn grouping attributes depending on the CPU level.
|
|
|
|
|
(s390_get_unit_mask): New function.
|
|
|
|
|
(s390_sched_score): Remove the OOO from the scheduling macros.
|
|
|
|
|
Add loop to calculate a score for the instruction mix.
|
|
|
|
|
(s390_sched_reorder): Likewise plus improve debug output.
|
|
|
|
|
(s390_sched_variable_issue): Rename macros as above. Calculate
|
|
|
|
|
the unit distances after actually scheduling an insn. Improve
|
|
|
|
|
debug output.
|
|
|
|
|
(s390_sched_init): Clear last_scheduled_unit_distance array.
|
|
|
|
|
* config/s390/s390.md: Include 2964.md.
|
|
|
|
|
|
2016-02-19 08:56:36 +01:00
|
|
|
|
2016-02-18 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69671
|
|
|
|
|
* config/i386/sse.md (*<floatsuffix>floatv2div2sf2_mask_1,
|
|
|
|
|
*avx512vl_<code>v2div2qi2_mask_1, *avx512vl_<code><mode>v4qi2_mask_1,
|
|
|
|
|
*avx512vl_<code><mode>v8qi2_mask_1, *avx512vl_<code><mode>v4hi2_mask_1,
|
|
|
|
|
*avx512vl_<code>v2div2hi2_mask_1, *avx512vl_<code>v2div2si2_mask_1,
|
|
|
|
|
*avx512f_<code>v8div16qi2_mask_1): New insns.
|
|
|
|
|
|
2016-02-18 20:36:39 +01:00
|
|
|
|
2016-02-18 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/68404
|
|
|
|
|
* config/rs6000/predicates.md (fusion_gpr_addis): Revert
|
|
|
|
|
2016-02-09 change.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.md (fusion_gpr_load_<mode>): Remove
|
|
|
|
|
earlyclobber from target. Use wF constraint for fused memory
|
|
|
|
|
address.
|
|
|
|
|
(fusion_gpr_<P:mode>_<GPR_FUSION:mode>_load): Likewise.
|
|
|
|
|
|
2016-02-18 18:15:25 +01:00
|
|
|
|
2016-02-18 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/69863
|
|
|
|
|
* cfgexpand.c (asan_sanitize_stack_p): New function.
|
|
|
|
|
(partition_stack_vars): Use the function.
|
|
|
|
|
(expand_stack_vars): Likewise.
|
|
|
|
|
(defer_stack_allocation): Likewise.
|
|
|
|
|
(expand_used_vars): Likewise.
|
|
|
|
|
|
2016-02-18 15:34:59 +01:00
|
|
|
|
2016-02-18 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69553
|
|
|
|
|
* fold-const.c (operand_equal_p): Properly compare offsets for
|
|
|
|
|
IMAGPART_EXPR and ARRAY_REF.
|
|
|
|
|
|
2016-02-18 14:00:07 +01:00
|
|
|
|
2016-02-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2016-02-20 12:42:35 +01:00
|
|
|
|
PR target/62254
|
|
|
|
|
PR target/69610
|
|
|
|
|
* config/arm/arm.c (arm_option_override_internal): Disable
|
|
|
|
|
interworking if the target does not support thumb instructions.
|
|
|
|
|
(arm_reload_in_hi): Handle the case where a register to register
|
|
|
|
|
move needs reloading because there is no simple pattern to handle
|
|
|
|
|
it.
|
|
|
|
|
(arm_reload_out_hi): Likewise.
|
2016-02-18 14:00:07 +01:00
|
|
|
|
|
2016-02-18 09:43:58 +01:00
|
|
|
|
2016-02-18 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69854
|
|
|
|
|
* match.pd: Don't use fold_binary or fold_unary for folding
|
|
|
|
|
constants.
|
|
|
|
|
|
2016-02-17 23:27:24 +01:00
|
|
|
|
2016-02-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69850
|
|
|
|
|
* gimplify.c (gimplify_cond_expr): Call gimple_set_no_warning
|
|
|
|
|
on the cond_stmt from TREE_NO_WARNING on COND_EXPR_COND.
|
|
|
|
|
* gimple-ssa-nonnull-compare.c (do_warn_nonnull_compare): Don't
|
|
|
|
|
warn on gimple_no_warning_p statements.
|
|
|
|
|
|
2016-02-17 18:36:22 +01:00
|
|
|
|
2016-02-17 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (C++ Attributes): Correct description of
|
|
|
|
|
warn_unused type attribute.
|
|
|
|
|
|
2016-02-17 17:23:55 +01:00
|
|
|
|
2016-02-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/altivec.md (*altivec_lvxl_<mode>_internal): Output
|
|
|
|
|
correct instruction.
|
|
|
|
|
|
2016-02-17 15:57:58 +01:00
|
|
|
|
2016-02-17 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69609
|
|
|
|
|
* bb-reorder.c (struct bbro_basic_block_data): Add priority member.
|
|
|
|
|
(find_traces_1_round): When ending a trace update cached priority
|
|
|
|
|
of successors.
|
|
|
|
|
(bb_to_key): Use cached priority when available.
|
|
|
|
|
(copy_bb): Initialize cached priority.
|
|
|
|
|
(reorder_basic_blocks_software_trace_cache): Likewise.
|
|
|
|
|
|
2016-02-17 14:42:35 +01:00
|
|
|
|
2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69161
|
|
|
|
|
* config/aarch64/predicates.md (aarch64_comparison_operator_mode):
|
|
|
|
|
New predicate.
|
|
|
|
|
(aarch64_comparison_operator): Break overly long line into two.
|
|
|
|
|
(aarch64_comparison_operation): Likewise.
|
|
|
|
|
* config/aarch64/aarch64.md (cstorecc4): Use
|
|
|
|
|
aarch64_comparison_operator_mode instead of
|
|
|
|
|
aarch64_comparison_operator.
|
|
|
|
|
(cstore<mode>4): Likewise.
|
|
|
|
|
(aarch64_cstore<mode>): Likewise.
|
|
|
|
|
(*cstoresi_insn_uxtw): Likewise.
|
|
|
|
|
(cstore<mode>_neg): Likewise.
|
|
|
|
|
(*cstoresi_neg_uxtw): Likewise.
|
|
|
|
|
|
2016-02-17 14:39:30 +01:00
|
|
|
|
2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69161
|
|
|
|
|
* config/arm/predicates.md (arm_comparison_operator_mode):
|
|
|
|
|
New predicate.
|
|
|
|
|
* config/arm/arm.md (*mov_scc): Use arm_comparison_operator_mode
|
|
|
|
|
instead of arm_comparison_operator.
|
|
|
|
|
(*mov_negscc): Likewise.
|
|
|
|
|
(*mov_notscc): Likewise.
|
|
|
|
|
* config/arm/thumb2.md (*thumb2_mov_scc): Likewise.
|
|
|
|
|
(*thumb2_mov_negscc): Likewise.
|
|
|
|
|
(*thumb2_mov_negscc_strict_it): Likewise.
|
|
|
|
|
(*thumb2_mov_notscc): Likewise.
|
|
|
|
|
(*thumb2_mov_notscc_strict_it): Likewise.
|
|
|
|
|
|
2016-02-17 12:52:35 +01:00
|
|
|
|
2016-02-17 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_internal_mov_immediate):
|
|
|
|
|
Add missing return.
|
|
|
|
|
|
2016-02-17 12:17:15 +01:00
|
|
|
|
2016-02-17 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/visium/visium.c (machine_libfunc_index): New enum.
|
|
|
|
|
(machine_libfuncs): New structure.
|
|
|
|
|
(visium_libfuncs): New static variable.
|
|
|
|
|
(TARGET_INIT_LIBFUNCS): Define to...
|
|
|
|
|
(visium_init_libfuncs): ...this. New function.
|
|
|
|
|
(expand_block_move_4): Use the appropriate libfunc.
|
|
|
|
|
(expand_block_move_2): Likewise.
|
|
|
|
|
(expand_block_move_1): Likewise.
|
|
|
|
|
(expand_block_set_4): Likewise.
|
|
|
|
|
(expand_block_set_2): Likewise.
|
|
|
|
|
(expand_block_set_1): Likewise.
|
|
|
|
|
(visium_trampoline_init): Likewise.
|
|
|
|
|
|
2016-02-17 10:53:42 +01:00
|
|
|
|
2016-02-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/msp430.c (msp430_mcu_data): Sync with data from
|
|
|
|
|
TI's devices.csv file as of March 2016.
|
|
|
|
|
|
2016-02-17 00:12:19 +01:00
|
|
|
|
2016-02-16 Kelvin Nilsen <kelvin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR Target/48344
|
|
|
|
|
* opts-global.c (handle_common_deferred_options): Introduce and
|
|
|
|
|
initialize two global variables to remember command-line options
|
|
|
|
|
specifying a stack-limiting register.
|
2016-02-17 10:53:42 +01:00
|
|
|
|
* opts.h: Add extern declarations of the two new global variables.
|
2016-02-17 00:12:19 +01:00
|
|
|
|
* emit-rtl.c (init_emit_once): Initialize the stack_limit_rtx
|
|
|
|
|
variable based on the values of the two new global variables.
|
|
|
|
|
|
2016-02-16 21:46:17 +01:00
|
|
|
|
2016-02-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/69835
|
|
|
|
|
* common.opt (Wnonnull-compare): New warning.
|
|
|
|
|
* doc/invoke.texi (-Wnonnull): Remove text about comparison
|
|
|
|
|
of arguments against NULL.
|
|
|
|
|
(-Wnonnull-compare): Document.
|
|
|
|
|
* Makefile.in (OBJS): Add gimple-ssa-nonnull-compare.o.
|
|
|
|
|
* tree-pass.h (make_pass_warn_nonnull_compare): Declare.
|
|
|
|
|
* passes.def (pass_warn_nonnull_compare): Add.
|
|
|
|
|
* gimple-ssa-nonnull-compare.c: New file.
|
|
|
|
|
|
2016-02-16 17:04:42 +01:00
|
|
|
|
2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (cortexa57_tunings): Remove
|
|
|
|
|
AARCH64_EXTRA_TUNE_RECIP_SQRT.
|
|
|
|
|
|
2016-02-16 17:03:27 +01:00
|
|
|
|
2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (use_rsqrt_p): Always use software
|
|
|
|
|
reciprocal sqrt for -mlow-precision-recip-sqrt.
|
|
|
|
|
|
2016-02-16 17:02:09 +01:00
|
|
|
|
2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_expand_vector_init): Refactor,
|
|
|
|
|
always use lane loads to construct non-constant vectors.
|
|
|
|
|
|
2016-02-16 16:59:51 +01:00
|
|
|
|
2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.md
|
|
|
|
|
(arch64_sqrdml<SQRDMLH_AS:rdma_as>h_lane<mode>): Fix register
|
|
|
|
|
constraints for operand 3.
|
|
|
|
|
(aarch64_sqrdml<SQRDMLH_AS:rdma_as>h_laneq<mode>): Likewise.
|
|
|
|
|
|
2016-02-16 16:16:48 +01:00
|
|
|
|
2016-02-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69820
|
|
|
|
|
* tree-vect-patterns.c (type_conversion_p): Return false if
|
|
|
|
|
*orig_type is unsigned single precision or boolean.
|
|
|
|
|
(vect_recog_dot_prod_pattern, vect_recog_widen_mult_pattern):
|
|
|
|
|
Formatting fix.
|
|
|
|
|
|
2016-02-16 16:15:40 +01:00
|
|
|
|
2016-02-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69764
|
|
|
|
|
PR rtl-optimization/69771
|
|
|
|
|
* optabs.c (expand_binop): Ensure for shift optabs invalid CONST_INT
|
|
|
|
|
op1 is valid for GET_MODE_INNER (mode) and force it into a reg.
|
|
|
|
|
|
2016-02-16 16:00:45 +01:00
|
|
|
|
2016-02-16 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69776
|
|
|
|
|
* tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Get alias
|
|
|
|
|
sets from caller.
|
|
|
|
|
(indirect_refs_may_alias_p): Likewise.
|
|
|
|
|
(refs_may_alias_p_1): Pass alias sets as from ao_ref.
|
|
|
|
|
* tree-ssa-sccvn.c (vn_reference_lookup): Also adjust vr alias-set
|
|
|
|
|
according to tbaa_p.
|
|
|
|
|
* tree-ssa-dom.c (lookup_avail_expr): Add tbaa_p flag.
|
|
|
|
|
(optimize_stmt): For redundant store discovery do not allow tbaa.
|
|
|
|
|
|
2016-02-16 15:42:59 +01:00
|
|
|
|
2016-02-16 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69714
|
|
|
|
|
* tree-ssa-math-opts.c (find_bswap_or_nop): Revert previous change.
|
|
|
|
|
Return NULL if we have irrelevant high bytes on BIG_ENDIAN.
|
|
|
|
|
|
[ARC] Add single/double IEEE precission FPU support.
gcc/
2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc-modes.def (CC_FPU, CC_FPU_UNEQ): New modes.
* config/arc/arc-opts.h (FPU_SP, FPU_SF, FPU_SC, FPU_SD, FPU_DP)
(FPU_DF, FPU_DC, FPU_DD, FXP_DP): Define.
* config/arc/arc.c (arc_init): Check FPU options.
(get_arc_condition_code): Handle new CC_FPU* modes.
(arc_select_cc_mode): Likewise.
(arc_conditional_register_usage): Allow 64 bit datum into even-odd
register pair only. Allow access for ARCv2 accumulator.
(gen_compare_reg): Whenever we have FPU support use FPU compare
instructions.
(arc_reorg): Don't generate brcc insns when FPU compare
instructions are involved.
* config/arc/arc.h (TARGET_DPFP): Add TARGET_FP_DPAX condition.
(TARGET_OPTFPE): Add condition when ARC EM can use optimized
floating point emulation.
(ACC_REG_FIRST, ACC_REG_LAST, ACCL_REGNO, ACCH_REGNO): Define.
(REVERSE_CONDITION): Add new CC_FPU* modes.
(TARGET_FP_SP_BASE): Define.
(TARGET_FP_DP_BASE): Likewise.
(TARGET_FP_SP_FUSED): Likewise.
(TARGET_FP_DP_FUSED): Likewise.
(TARGET_FP_SP_CONV): Likewise.
(TARGET_FP_DP_CONV): Likewise.
(TARGET_FP_SP_SQRT): Likewise.
(TARGET_FP_DP_SQRT): Likewise.
(TARGET_FP_DP_AX): Likewise.
* config/arc/arc.md (ARCV2_ACC): New constant.
(type): New fpu type attribute.
(SDF): Conditional iterator.
(cstore<mode>, cbranch<mode>): Change expand condition.
(addsf3, subsf3, mulsf3, adddf3, subdf3, muldf3): New expands,
handles FPU/FPX cases as well.
* config/arc/arc.opt (mfpu): New option.
* config/arc/fpx.md (addsf3_fpx, subsf3_fpx, mulsf3_fpx):
Renamed.
(adddf3, muldf3, subdf3): Removed.
* config/arc/predicates.md (proper_comparison_operator): Recognize
CC_FPU* modes.
* config/arc/fpu.md: New file.
* doc/invoke.texi (ARC Options): Document mfpu option.
From-SVN: r233451
2016-02-16 15:11:24 +01:00
|
|
|
|
2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc-modes.def (CC_FPU, CC_FPU_UNEQ): New modes.
|
|
|
|
|
* config/arc/arc-opts.h (FPU_SP, FPU_SF, FPU_SC, FPU_SD, FPU_DP)
|
|
|
|
|
(FPU_DF, FPU_DC, FPU_DD, FXP_DP): Define.
|
|
|
|
|
* config/arc/arc.c (arc_init): Check FPU options.
|
|
|
|
|
(get_arc_condition_code): Handle new CC_FPU* modes.
|
|
|
|
|
(arc_select_cc_mode): Likewise.
|
|
|
|
|
(arc_conditional_register_usage): Allow 64 bit datum into even-odd
|
|
|
|
|
register pair only. Allow access for ARCv2 accumulator.
|
|
|
|
|
(gen_compare_reg): Whenever we have FPU support use FPU compare
|
|
|
|
|
instructions.
|
|
|
|
|
(arc_reorg): Don't generate brcc insns when FPU compare
|
|
|
|
|
instructions are involved.
|
|
|
|
|
* config/arc/arc.h (TARGET_DPFP): Add TARGET_FP_DPAX condition.
|
|
|
|
|
(TARGET_OPTFPE): Add condition when ARC EM can use optimized
|
|
|
|
|
floating point emulation.
|
|
|
|
|
(ACC_REG_FIRST, ACC_REG_LAST, ACCL_REGNO, ACCH_REGNO): Define.
|
|
|
|
|
(REVERSE_CONDITION): Add new CC_FPU* modes.
|
|
|
|
|
(TARGET_FP_SP_BASE): Define.
|
|
|
|
|
(TARGET_FP_DP_BASE): Likewise.
|
|
|
|
|
(TARGET_FP_SP_FUSED): Likewise.
|
|
|
|
|
(TARGET_FP_DP_FUSED): Likewise.
|
|
|
|
|
(TARGET_FP_SP_CONV): Likewise.
|
|
|
|
|
(TARGET_FP_DP_CONV): Likewise.
|
|
|
|
|
(TARGET_FP_SP_SQRT): Likewise.
|
|
|
|
|
(TARGET_FP_DP_SQRT): Likewise.
|
|
|
|
|
(TARGET_FP_DP_AX): Likewise.
|
|
|
|
|
* config/arc/arc.md (ARCV2_ACC): New constant.
|
|
|
|
|
(type): New fpu type attribute.
|
|
|
|
|
(SDF): Conditional iterator.
|
|
|
|
|
(cstore<mode>, cbranch<mode>): Change expand condition.
|
|
|
|
|
(addsf3, subsf3, mulsf3, adddf3, subdf3, muldf3): New expands,
|
|
|
|
|
handles FPU/FPX cases as well.
|
|
|
|
|
* config/arc/arc.opt (mfpu): New option.
|
|
|
|
|
* config/arc/fpx.md (addsf3_fpx, subsf3_fpx, mulsf3_fpx):
|
|
|
|
|
Renamed.
|
|
|
|
|
(adddf3, muldf3, subdf3): Removed.
|
|
|
|
|
* config/arc/predicates.md (proper_comparison_operator): Recognize
|
|
|
|
|
CC_FPU* modes.
|
|
|
|
|
* config/arc/fpu.md: New file.
|
|
|
|
|
* doc/invoke.texi (ARC Options): Document mfpu option.
|
|
|
|
|
|
2016-02-16 11:53:08 +01:00
|
|
|
|
2016-02-16 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69291
|
|
|
|
|
* ifcvt.c (noce_try_store_flag_constants): Re-instantiate
|
|
|
|
|
noce_operand_ok check.
|
|
|
|
|
|
2016-02-16 10:23:09 +01:00
|
|
|
|
2016-02-16 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR lto/67709
|
|
|
|
|
* omp-low.c (simd_clone_create): Remove call to
|
|
|
|
|
symtab->call_cgraph_insertion_hooks.
|
|
|
|
|
|
2016-02-16 10:12:37 +01:00
|
|
|
|
2016-02-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69802
|
|
|
|
|
* tree-ssa-reassoc.c (update_range_test): If op is
|
|
|
|
|
SSA_NAME_IS_DEFAULT_DEF, give up unless tem is a positive
|
|
|
|
|
op == 1 test of precision 1 integral op, otherwise handle
|
|
|
|
|
that case as op itself. Fix up formatting.
|
|
|
|
|
(optimize_range_tests_to_bit_test, optimize_range_tests): Fix
|
|
|
|
|
up formatting.
|
|
|
|
|
|
2016-02-16 10:00:32 +01:00
|
|
|
|
2016-02-16 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69586
|
|
|
|
|
* tree-vrp.c (register_edge_assert_for_2): Handle all integral
|
|
|
|
|
types for conversion sources.
|
|
|
|
|
|
2016-02-16 09:39:22 +01:00
|
|
|
|
2016-02-16 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69801
|
|
|
|
|
* fold-const.c (operand_equal_p): For COND_EXPR zero operand
|
|
|
|
|
mask OEP_ADDRESS_OF.
|
|
|
|
|
|
2016-02-16 00:29:17 +01:00
|
|
|
|
2016-02-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/68973
|
|
|
|
|
* config/rs6000/rs6000.md (reload_vsx_from_gprsf): Rewrite splitter.
|
|
|
|
|
(p8_mtvsrd_df, p8_mtvsrd_sf): New.
|
|
|
|
|
(p8_mtvsrd_1, p8_mtvsrd_2): Delete.
|
|
|
|
|
(p8_mtvsrwz): New.
|
|
|
|
|
(p8_mtvsrwz_1, p8_mtvsrwz_2): Delete.
|
|
|
|
|
(p8_xxpermdi_<mode>): Take two DF inputs rather than one TF.
|
|
|
|
|
(p8_fmrgow_<mode>): Likewise.
|
|
|
|
|
(reload_vsx_from_gpr<mode>): Make clobber IF. Adjust for above
|
|
|
|
|
changes.
|
|
|
|
|
(reload_fpr_from_gpr<mode>): Similarly. Use "d" for op0 constraint.
|
|
|
|
|
(reload_vsx_from_gprsf): Use p8_mtvsrd_sf rather than attempting
|
|
|
|
|
to use movdi_internal64. Remove op0_di.
|
|
|
|
|
* config/rs6000/vsx.md (vsx_xscvspdpn_directmove): Make op1 SFmode.
|
|
|
|
|
|
2016-02-15 22:15:49 +01:00
|
|
|
|
2016-02-15 Evandro Menezes <e.menezes@samsung.com>
|
2016-02-16 00:29:17 +01:00
|
|
|
|
|
2016-02-15 22:15:49 +01:00
|
|
|
|
Add support for the FCCMP insn types
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.md (fccmp): Change insn type.
|
|
|
|
|
(fccmpe): Likewise.
|
|
|
|
|
* config/aarch64/thunderx.md (thunderx_fcmp): Add "fccmp{s,d}" types.
|
|
|
|
|
* config/arm/cortex-a53.md (cortex_a53_fpalu): Likewise.
|
|
|
|
|
* config/arm/cortex-a57.md (cortex_a57_fp_cmp): Likewise.
|
|
|
|
|
* config/arm/xgene1.md (xgene1_fcmp): Likewise.
|
|
|
|
|
* config/arm/exynos-m1.md (exynos_m1_fp_ccmp): New insn reservation.
|
|
|
|
|
* config/arm/types.md (fccmps): Add new insn type.
|
|
|
|
|
(fccmpd): Likewise.
|
|
|
|
|
|
2016-02-15 21:31:45 +01:00
|
|
|
|
2016-02-15 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
* alias.c (get_alias_set): Fix a typo in comment.
|
|
|
|
|
|
2016-02-15 14:49:42 +01:00
|
|
|
|
2016-02-15 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69595
|
|
|
|
|
* match.pd: Complete range test simplification to true.
|
|
|
|
|
|
2016-02-15 13:04:13 +01:00
|
|
|
|
2016-02-15 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
2016-02-15 13:06:44 +01:00
|
|
|
|
PR rtl-optimization/69648
|
|
|
|
|
* lra-constraints.c (update_ebb_live_info): Don't remove sets of
|
|
|
|
|
pic_offset_table_rtx.
|
|
|
|
|
|
2016-02-15 13:04:13 +01:00
|
|
|
|
PR rtl-optimization/69752
|
|
|
|
|
* ira.c (update_equiv_regs): When looking for more than a single SET,
|
|
|
|
|
also take other side effects into account.
|
|
|
|
|
|
2016-02-15 12:48:28 +01:00
|
|
|
|
2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_function_profiler): Add a new sequence
|
|
|
|
|
for z900+ CPUs in 31-bit mode.
|
|
|
|
|
|
2016-02-15 11:20:18 +01:00
|
|
|
|
2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
|
|
|
|
|
|
|
|
|
|
* common/config/s390/s390-common.c (s390_supports_split_stack):
|
|
|
|
|
New function.
|
|
|
|
|
(TARGET_SUPPORTS_SPLIT_STACK): New macro.
|
|
|
|
|
* config/s390/s390-protos.h: Add s390_expand_split_stack_prologue.
|
|
|
|
|
* config/s390/s390.c (struct machine_function): New field
|
|
|
|
|
split_stack_varargs_pointer.
|
|
|
|
|
(s390_register_info): Mark r12 as clobbered if it'll be used as temp
|
|
|
|
|
in s390_emit_prologue.
|
|
|
|
|
(s390_emit_prologue): Use r12 as temp if r1 is taken by split-stack
|
|
|
|
|
vararg pointer.
|
|
|
|
|
(morestack_ref): New global.
|
|
|
|
|
(SPLIT_STACK_AVAILABLE): New macro.
|
|
|
|
|
(s390_expand_split_stack_prologue): New function.
|
|
|
|
|
(s390_live_on_entry): New function.
|
|
|
|
|
(s390_va_start): Use split-stack vararg pointer if appropriate.
|
|
|
|
|
(s390_asm_file_end): Emit the split-stack note sections.
|
|
|
|
|
(TARGET_EXTRA_LIVE_ON_ENTRY): New macro.
|
|
|
|
|
* config/s390/s390.md (UNSPEC_STACK_CHECK): New unspec.
|
|
|
|
|
(UNSPECV_SPLIT_STACK_CALL): New unspec.
|
|
|
|
|
(UNSPECV_SPLIT_STACK_DATA): New unspec.
|
|
|
|
|
(split_stack_prologue): New expand.
|
|
|
|
|
(split_stack_space_check): New expand.
|
|
|
|
|
(split_stack_data): New insn.
|
|
|
|
|
(split_stack_call): New expand.
|
|
|
|
|
(split_stack_call_*): New insn.
|
|
|
|
|
(split_stack_cond_call): New expand.
|
|
|
|
|
(split_stack_cond_call_*): New insn.
|
|
|
|
|
|
2016-02-15 10:40:01 +01:00
|
|
|
|
2016-02-15 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69783
|
|
|
|
|
* tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
|
|
|
|
|
Add trivially correct cases.
|
|
|
|
|
|
2016-02-15 10:30:31 +01:00
|
|
|
|
2016-02-15 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR lto/69655
|
|
|
|
|
* lto-cgraph.c (input_offload_tables): Add and handle bool parameter
|
|
|
|
|
do_force_output.
|
|
|
|
|
* lto-streamer.h (input_offload_tables): Add and handle bool parameter.
|
|
|
|
|
|
2016-02-15 09:42:38 +01:00
|
|
|
|
2016-02-15 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69776
|
|
|
|
|
* tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
|
|
|
|
|
* tree-ssa-sccvn.c (vn_reference_lookup): Add parameter to
|
|
|
|
|
indicate whether we can use TBAA to disambiguate against stores.
|
|
|
|
|
Use alias-set zero if not.
|
|
|
|
|
(visit_reference_op_store): Do not use TBAA when looking up
|
|
|
|
|
redundant stores.
|
|
|
|
|
* tree-ssa-pre.c (compute_avail): Use TBAA here.
|
|
|
|
|
(eliminate_dom_walker::before_dom_children): But not when looking
|
|
|
|
|
up redundant stores.
|
|
|
|
|
|
2016-02-14 19:26:00 +01:00
|
|
|
|
2016-02-14 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/pa.md (absqi2, absghi2, bswaphi2, bswapsi2, bswapdi2): New.
|
|
|
|
|
|
2016-02-14 08:11:16 +01:00
|
|
|
|
2016-02-14 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/znver1.md
|
|
|
|
|
(znver1_pop, znver1_pop_mem,
|
|
|
|
|
znver1_load_imov_double_store,
|
|
|
|
|
znver1_load_imov_direct_store,
|
|
|
|
|
znver1_load_imov_direct_load,
|
|
|
|
|
znver1_load_imov_double_load): Add new.
|
|
|
|
|
(znver1_insn, znver1_insn_load): Add icmov type.
|
|
|
|
|
(znver1_sseavx_fma,
|
|
|
|
|
znver1_sseavx_fma_load,
|
|
|
|
|
znver1_avx256_fma,
|
|
|
|
|
znver1_avx256_fma_load): Fix pipe usage.
|
|
|
|
|
|
2016-02-14 02:37:40 +01:00
|
|
|
|
2016-02-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/68973
|
|
|
|
|
* reloads.c (find_reloads_address_1): For pre/post-inc/dec
|
|
|
|
|
with an invalid hard reg, reload just the reg not the entire
|
|
|
|
|
pre/post-inc/dec address expression.
|
|
|
|
|
|
2016-02-13 09:03:44 +01:00
|
|
|
|
2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/67260
|
|
|
|
|
* config/sh/sh.md (sibcall_value_pcrel): Replace =&k scratch reg with
|
|
|
|
|
fixed R1_REG scratch reg.
|
|
|
|
|
(sibcall_value_pcrel_fdpic): Likewise.
|
|
|
|
|
|
2016-02-13 01:50:25 +01:00
|
|
|
|
2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/67636
|
|
|
|
|
PR target/64345
|
|
|
|
|
* config/sh/sh.md (*zero_extract_3): New insn_and_split pattern.
|
|
|
|
|
|
2016-02-12 22:21:15 +01:00
|
|
|
|
2016-02-12 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
2016-02-13 01:50:25 +01:00
|
|
|
|
* config/tilepro/t-tilepro: Replace CC_FOR_BUILD with CXX_FOR_BUILD.
|
|
|
|
|
* config/tilegx/t-tilegx: Likewise.
|
2016-02-12 22:21:15 +01:00
|
|
|
|
|
2016-02-12 20:18:03 +01:00
|
|
|
|
2016-02-12 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/69554
|
|
|
|
|
* diagnostic-show-locus.c (struct line_span): New struct.
|
|
|
|
|
(layout::get_first_line): Delete.
|
|
|
|
|
(layout::get_last_line): Delete.
|
|
|
|
|
(layout::get_num_line_spans): New member function.
|
|
|
|
|
(layout::get_line_span): Likewise.
|
|
|
|
|
(layout::print_heading_for_line_span_index_p): Likewise.
|
|
|
|
|
(layout::get_expanded_location): Likewise.
|
|
|
|
|
(layout::calculate_line_spans): Likewise.
|
|
|
|
|
(layout::m_first_line): Delete.
|
|
|
|
|
(layout::m_last_line): Delete.
|
|
|
|
|
(layout::m_line_spans): New field.
|
|
|
|
|
(layout::layout): Update comment. Replace m_first_line and
|
|
|
|
|
m_last_line with m_line_spans, replacing their initialization
|
|
|
|
|
with a call to calculate_line_spans.
|
|
|
|
|
(diagnostic_show_locus): When printing source lines and
|
|
|
|
|
annotations, rather than looping over a single span
|
|
|
|
|
of lines, instead loop over each line_span within
|
|
|
|
|
the layout, with an inner loop over the lines within them.
|
|
|
|
|
Call the context's start_span callback when changing line spans.
|
|
|
|
|
* diagnostic.c (diagnostic_initialize): Initialize start_span.
|
|
|
|
|
(diagnostic_build_prefix): Break out the building of the location
|
|
|
|
|
part of the string into...
|
|
|
|
|
(diagnostic_get_location_text): ...this new function, rewriting
|
|
|
|
|
it from nested ternary expressions to a sequence of "if"
|
|
|
|
|
statements.
|
|
|
|
|
(default_diagnostic_start_span_fn): New function.
|
|
|
|
|
* diagnostic.h (diagnostic_start_span_fn): New typedef.
|
|
|
|
|
(diagnostic_context::start_span): New field.
|
|
|
|
|
(default_diagnostic_start_span_fn): New prototype.
|
|
|
|
|
|
2016-02-12 19:37:35 +01:00
|
|
|
|
2016-02-12 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR driver/69779
|
|
|
|
|
* gcc.c (driver::finalize): Fix cleanup of "specs".
|
|
|
|
|
|
2016-02-12 18:39:27 +01:00
|
|
|
|
2016-02-12 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR driver/69265
|
|
|
|
|
PR driver/69453
|
|
|
|
|
* gcc.c (driver::driver): Initialize m_option_suggestions.
|
|
|
|
|
(driver::~driver): Clean up m_option_suggestions.
|
|
|
|
|
(suggest_option): Convert to...
|
|
|
|
|
(driver::suggest_option): ...this, and split out into
|
|
|
|
|
driver::build_option_suggestions and find_closest_string.
|
|
|
|
|
(driver::build_option_suggestions): New function, from
|
|
|
|
|
first half of suggest_option. Special-case
|
|
|
|
|
OPT_fsanitize_ and OPT_fsanitize_recover_, making use of
|
|
|
|
|
the sanitizer_opts array. For options of enum types, add the
|
|
|
|
|
various enum values to the candidate strings.
|
|
|
|
|
(driver::handle_unrecognized_options): Remove "const".
|
|
|
|
|
* gcc.h (driver::handle_unrecognized_options): Likewise.
|
|
|
|
|
(driver::build_option_suggestions): New decl.
|
|
|
|
|
(driver::suggest_option): New decl.
|
|
|
|
|
(driver::m_option_suggestions): New field.
|
|
|
|
|
* opts-common.c (add_misspelling_candidates): New function.
|
|
|
|
|
* opts.c (sanitizer_opts): Remove decl of struct sanitizer_opts_s
|
|
|
|
|
and make non-static.
|
|
|
|
|
* opts.h (sanitizer_opts): New array decl.
|
|
|
|
|
(add_misspelling_candidates): New function decl.
|
|
|
|
|
* spellcheck.c (find_closest_string): New function.
|
|
|
|
|
* spellcheck.h (find_closest_string): New function decl.
|
|
|
|
|
|
2016-02-12 17:49:44 +01:00
|
|
|
|
2016-02-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69764
|
|
|
|
|
PR rtl-optimization/69771
|
|
|
|
|
* optabs.c (expand_binop_directly): For shift_optab_p, force
|
|
|
|
|
convert_modes with VOIDmode if xop1 has VOIDmode.
|
|
|
|
|
|
2016-02-12 14:17:28 +01:00
|
|
|
|
2016-02-12 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69729
|
|
|
|
|
* lto-streamer-out.c (lto_output): Use thunk.add_pointer_bounds_args
|
|
|
|
|
to correctly determine instrumentation thunks.
|
|
|
|
|
|
2016-02-12 12:57:54 +01:00
|
|
|
|
2016-02-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-02-12 12:59:00 +01:00
|
|
|
|
PR ipa/69241
|
|
|
|
|
* ipa-split.c (split_function): If split part returns TREE_ADDRESSABLE
|
|
|
|
|
type by reference, force lhs on the call.
|
|
|
|
|
|
2016-02-12 12:57:54 +01:00
|
|
|
|
PR ipa/68672
|
|
|
|
|
* ipa-split.c (split_function): Don't compute/use main_part_return_p.
|
|
|
|
|
Compute retval and retbnd early in all cases if split_part_return_p
|
|
|
|
|
and return_bb is not EXIT. Remove all clobber stmts and reset
|
|
|
|
|
all debug stmts that refer to SSA_NAMEs defined in split part,
|
|
|
|
|
except if it is retval, in that case replace the old retval with the
|
|
|
|
|
lhs of the call to the split part.
|
|
|
|
|
|
2016-02-12 07:40:55 +01:00
|
|
|
|
2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
|
|
|
|
|
|
|
|
|
|
revert:
|
|
|
|
|
2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR middle-end/66726
|
|
|
|
|
* tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
|
|
|
|
|
whose result is used in PHI.
|
|
|
|
|
(maybe_optimize_range_tests): Likewise.
|
|
|
|
|
(final_range_test_p): Likweise.
|
|
|
|
|
|
2016-02-12 01:24:22 +01:00
|
|
|
|
2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR middle-end/66726
|
|
|
|
|
* tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
|
|
|
|
|
whose result is used in PHI.
|
|
|
|
|
(maybe_optimize_range_tests): Likewise.
|
|
|
|
|
(final_range_test_p): Likweise.
|
|
|
|
|
|
2016-02-12 00:53:54 +01:00
|
|
|
|
2016-02-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cgraph.c: Spelling fixes - behaviour -> behavior and
|
|
|
|
|
neighbour -> neighbor.
|
|
|
|
|
* target.def: Likewise.
|
|
|
|
|
* sel-sched.c: Likewise.
|
|
|
|
|
* config/mips/mips.c: Likewise.
|
|
|
|
|
* config/arc/arc.md: Likewise.
|
|
|
|
|
* config/arm/cortex-a57.md: Likewise.
|
|
|
|
|
* config/arm/arm.c: Likewise.
|
|
|
|
|
* config/arm/neon.md: Likewise.
|
|
|
|
|
* config/arm/arm-c.c: Likewise.
|
|
|
|
|
* config/vms/vms-c.c: Likewise.
|
|
|
|
|
* config/s390/s390.c: Likewise.
|
|
|
|
|
* config/i386/znver1.md: Likewise.
|
|
|
|
|
* config/i386/i386.c: Likewise.
|
|
|
|
|
* config/ia64/hpux-unix2003.h: Likewise.
|
|
|
|
|
* config/msp430/msp430.md: Likewise.
|
|
|
|
|
* config/rx/rx.c: Likewise.
|
|
|
|
|
* config/rx/rx.md: Likewise.
|
|
|
|
|
* config/aarch64/aarch64-simd.md: Likewise.
|
|
|
|
|
* config/aarch64/aarch64.c: Likewise.
|
|
|
|
|
* config/nvptx/nvptx.c: Likewise.
|
|
|
|
|
* config/bfin/bfin.c: Likewise.
|
|
|
|
|
* config/cris/cris.opt: Likewise.
|
|
|
|
|
* config/rs6000/rs6000.c: Likewise.
|
|
|
|
|
* target.h: Likewise.
|
|
|
|
|
* spellcheck.c: Likewise.
|
|
|
|
|
* ira-build.c: Likewise.
|
|
|
|
|
* tree-inline.c: Likewise.
|
|
|
|
|
* builtins.c: Likewise.
|
|
|
|
|
* lra-constraints.c: Likewise.
|
|
|
|
|
* explow.c: Likewise.
|
|
|
|
|
* hwint.h: Likewise.
|
|
|
|
|
* targhooks.c: Likewise.
|
|
|
|
|
* tree-vect-data-refs.c: Likewise.
|
|
|
|
|
* expr.c: Likewise.
|
|
|
|
|
* doc/tm.texi: Likewise.
|
|
|
|
|
* doc/extend.texi: Likewise.
|
|
|
|
|
* doc/install.texi: Likewise.
|
|
|
|
|
* doc/md.texi: Likewise.
|
|
|
|
|
* tree-ssa-tail-merge.c: Likewise.
|
|
|
|
|
* sched-int.h: Likewise.
|
|
|
|
|
* match.pd: Likewise.
|
|
|
|
|
* sched-ebb.c: Likewise.
|
|
|
|
|
* target.def (omit_struct_return_reg): Likewise.
|
|
|
|
|
* gimple-ssa-isolate-paths.c: Likewise.
|
|
|
|
|
(find_implicit_erroneous_behaviour): Renamed to...
|
|
|
|
|
(find_implicit_erroneous_behavior): ... this.
|
|
|
|
|
(find_explicit_erroneous_behaviour): Renamed to...
|
|
|
|
|
(find_explicit_erroneous_behavior): ... this.
|
|
|
|
|
(gimple_ssa_isolate_erroneous_paths): Adjust caller.
|
|
|
|
|
|
2016-02-11 23:26:35 +01:00
|
|
|
|
2016-02-11 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/64682
|
|
|
|
|
PR rtl-optimization/69567
|
|
|
|
|
PR rtl-optimization/69737
|
|
|
|
|
* combine.c (distribute_notes) <REG_DEAD>: If the register is set
|
|
|
|
|
in I2 as well, just lose it.
|
|
|
|
|
|
2016-02-11 14:27:28 +01:00
|
|
|
|
2016-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_last_printed_arch_string):
|
|
|
|
|
New variable.
|
|
|
|
|
(aarch64_last_printed_tune_string): Likewise.
|
|
|
|
|
(aarch64_declare_function_name): Only output .arch assembler
|
|
|
|
|
directive if it will be different from the previously output
|
|
|
|
|
directive. Same for .tune comment but only if -dA is set.
|
|
|
|
|
(aarch64_start_file): New function.
|
|
|
|
|
(TARGET_ASM_FILE_START): Define.
|
|
|
|
|
|
2016-02-11 12:26:54 +01:00
|
|
|
|
2016-02-11 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR plugins/69758
|
|
|
|
|
* Makefile.in (PLUGIN_HEADERS): Add params.list.
|
|
|
|
|
|
2016-02-11 11:08:14 +01:00
|
|
|
|
2016-02-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/65313
|
|
|
|
|
* tree-vect-slp.c (vect_schedule_slp_instance): Avoid
|
|
|
|
|
-Wmaybe-uninitialized warning.
|
|
|
|
|
|
2016-02-11 10:12:18 +01:00
|
|
|
|
2016-02-11 Oleg Endo <olegendo@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/69713
|
|
|
|
|
* config/sh/sh.md (casesi_worker_0): Add T_REG use.
|
|
|
|
|
|
2016-02-11 09:11:52 +01:00
|
|
|
|
2016-02-11 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69291
|
|
|
|
|
* ifcvt.c (noce_try_store_flag_constants): Do not allow
|
|
|
|
|
subexpressions affected by changing the result.
|
|
|
|
|
|
2016-02-10 19:01:40 +01:00
|
|
|
|
2016-02-10 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69148
|
|
|
|
|
* lra-constraints.c (curr_insn_transform): Find in/out operands
|
|
|
|
|
for secondary memory moves. Update dups.
|
|
|
|
|
|
2016-02-10 16:22:17 +01:00
|
|
|
|
2016-02-10 Yuri Rumyantsev <ysrumyan@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69652
|
|
|
|
|
* tree-vect-loop.c (optimize_mask_stores): Move declaration of STMT1
|
|
|
|
|
to nested loop, did source re-formatting, skip debug statements,
|
|
|
|
|
add check on statement with volatile operand, remove dead scalar
|
|
|
|
|
statements.
|
|
|
|
|
|
2016-02-10 16:06:20 +01:00
|
|
|
|
2016-02-10 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Patrick Palka <ppalka@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR ipa/69241
|
|
|
|
|
PR c++/69649
|
|
|
|
|
* gimplify.c (gimplify_modify_expr): Set lhs even for noreturn
|
|
|
|
|
calls if the return type is TREE_ADDRESSABLE.
|
|
|
|
|
* cgraphunit.c (cgraph_node::expand_thunk): Likewise.
|
|
|
|
|
* ipa-split.c (split_function): Fix doubled "we" in comment.
|
|
|
|
|
Use void return type for the split part even if
|
|
|
|
|
!split_point->split_part_set_retval.
|
|
|
|
|
|
2016-02-10 15:09:05 +01:00
|
|
|
|
2016-02-10 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68021
|
|
|
|
|
* tree-ssa-loop-ivopts.c (get_computation_aff): Set ratio to 1 if
|
|
|
|
|
when computing the value of biv cand by itself.
|
|
|
|
|
|
2016-02-10 13:52:23 +01:00
|
|
|
|
2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (cortexa53_tunings): Enable AES fusion.
|
|
|
|
|
(cortexa57_tunings): Likewise.
|
|
|
|
|
(cortexa72_tunings): Likewise.
|
|
|
|
|
(arch_macro_fusion_pair_p): Add support for AES fusion.
|
|
|
|
|
* config/aarch64/aarch64-fusion-pairs.def: Add AES_AESMC entry.
|
|
|
|
|
* config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
|
|
|
|
|
Allow virtual registers before reload so early scheduling works.
|
|
|
|
|
* config/arm/cortex-a57.md (cortex_a57_crypto_simple): Use
|
|
|
|
|
correct latency and pipeline.
|
|
|
|
|
(cortex_a57_crypto_complex): Likewise.
|
|
|
|
|
(cortex_a57_crypto_xor): Likewise.
|
|
|
|
|
(define_bypass): Add AES bypass.
|
|
|
|
|
|
2016-02-10 13:46:33 +01:00
|
|
|
|
2016-02-10 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69726
|
|
|
|
|
* passes.def: Add DCE pass before late uninit.
|
|
|
|
|
* match.pd: Add A ? B : (!A ? C : X) -> A ? B : C patterns to
|
|
|
|
|
really fixup if-conversions job.
|
|
|
|
|
|
2016-02-10 13:36:03 +01:00
|
|
|
|
2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.c (arm_cortex_a53_tune): Enable AES fusion.
|
|
|
|
|
(arm_cortex_a57_tune): Likewise.
|
|
|
|
|
(aarch_macro_fusion_pair_p): Add support for AES fusion.
|
|
|
|
|
* config/arm/arm-protos.h (fuse_ops): Add FUSE_AES_AESMC.
|
|
|
|
|
|
2016-02-10 12:22:29 +01:00
|
|
|
|
2016-02-10 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* timevar.def (TV_PHASE_DBGINFO): Delete.
|
|
|
|
|
(TV_PHASE_CHECK_DBGINFO): Likewise.
|
|
|
|
|
* varpool.c (varpool_node::assemble_decl): Do not change timevar.
|
|
|
|
|
|
2016-02-10 09:36:03 +01:00
|
|
|
|
2016-02-10 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69719
|
|
|
|
|
* tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
|
|
|
|
|
Adjust previous fix by ensuring that dr_a1 is left of dr_a2.
|
|
|
|
|
|
2016-02-10 04:13:53 +01:00
|
|
|
|
2016-02-09 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
PR tree-opt/69282
|
|
|
|
|
* optabs-tree.c (expand_vec_cond_expr_p): Don't early return if
|
|
|
|
|
get_vcond_mask_icode returns false.
|
|
|
|
|
|
2016-02-09 23:31:31 +01:00
|
|
|
|
2016-02-09 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/68404
|
|
|
|
|
* config/rs6000/predicates.md (fusion_gpr_addis): Prevent fusing
|
|
|
|
|
an ADDIS that adds a pointer to a large constant that sets the
|
|
|
|
|
upper16 bits with a load operation.
|
|
|
|
|
|
2016-02-09 19:49:05 +01:00
|
|
|
|
2016-02-09 Charles Baylis <charles.baylis@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/68532
|
|
|
|
|
* config/arm/arm.c (arm_evpc_neon_vzip): Allow for big endian lane
|
|
|
|
|
order.
|
|
|
|
|
* config/arm/arm_neon.h (vzipq_s8): Adjust shuffle patterns for big
|
|
|
|
|
endian.
|
|
|
|
|
(vzipq_s16): Likewise.
|
|
|
|
|
(vzipq_s32): Likewise.
|
|
|
|
|
(vzipq_f32): Likewise.
|
|
|
|
|
(vzipq_u8): Likewise.
|
|
|
|
|
(vzipq_u16): Likewise.
|
|
|
|
|
(vzipq_u32): Likewise.
|
|
|
|
|
(vzipq_p8): Likewise.
|
|
|
|
|
(vzipq_p16): Likewise.
|
|
|
|
|
|
2016-02-09 19:47:55 +01:00
|
|
|
|
2016-02-09 Charles Baylis <charles.baylis@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/68532
|
|
|
|
|
* config/arm/arm.c (neon_endian_lane_map): New function.
|
|
|
|
|
(neon_vector_pair_endian_lane_map): New function.
|
|
|
|
|
(arm_evpc_neon_vuzp): Allow for big endian lane order.
|
|
|
|
|
* config/arm/arm_neon.h (vuzpq_s8): Adjust shuffle patterns for big
|
|
|
|
|
endian.
|
|
|
|
|
(vuzpq_s16): Likewise.
|
|
|
|
|
(vuzpq_s32): Likewise.
|
|
|
|
|
(vuzpq_f32): Likewise.
|
|
|
|
|
(vuzpq_u8): Likewise.
|
|
|
|
|
(vuzpq_u16): Likewise.
|
|
|
|
|
(vuzpq_u32): Likewise.
|
|
|
|
|
(vuzpq_p8): Likewise.
|
|
|
|
|
(vuzpq_p16): Likewise.
|
|
|
|
|
|
2016-02-09 19:26:00 +01:00
|
|
|
|
2016-02-11 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69634
|
|
|
|
|
* regstat.c (regstat_bb_compute_calls_crossed): Disregard
|
|
|
|
|
debug insns.
|
|
|
|
|
|
2016-02-09 18:43:48 +01:00
|
|
|
|
2016-02-09 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (insv<mode>_1): Use gen_int_mode to
|
|
|
|
|
truncate const_int operand 1 to QImode.
|
|
|
|
|
|
2016-02-09 18:21:57 +01:00
|
|
|
|
2016-02-09 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* gimple-ssa-backprop.c (optimize_phi): Do not replace an argument
|
|
|
|
|
corresponding to an abnormal edge.
|
|
|
|
|
|
2016-02-09 09:52:26 +01:00
|
|
|
|
2016-02-09 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69599
|
|
|
|
|
* tree-ssa-structalias.c (fndecl_maybe_in_other_partition): New
|
|
|
|
|
function.
|
|
|
|
|
(find_func_aliases_for_builtin_call, find_func_clobbers)
|
|
|
|
|
(ipa_pta_execute): Handle case that foo and foo._0 are not in same lto
|
|
|
|
|
partition.
|
|
|
|
|
|
2016-02-09 09:35:22 +01:00
|
|
|
|
2016-02-09 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69715
|
|
|
|
|
* tree-ssa.c (execute_update_addresses_taken): Mark non-decl
|
|
|
|
|
LHS on calls as non-rewritable.
|
|
|
|
|
|
2016-02-09 08:04:08 +01:00
|
|
|
|
2016-02-09 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR lto/69707
|
|
|
|
|
* lto-wrapper.c (append_diag_options): New function.
|
|
|
|
|
(compile_offload_image): Call append_diag_options.
|
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-02-08 Sandra Loosemore <sandra@codesourcery.com>
|
2016-02-09 04:25:30 +01:00
|
|
|
|
|
|
|
|
|
PR other/69722
|
|
|
|
|
* doc/extend.texi (Flag Output Operands): Correct sectioning.
|
|
|
|
|
Minor copy-edit to fix verb tenses.
|
|
|
|
|
|
2016-02-08 21:07:56 +01:00
|
|
|
|
2016-02-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69209
|
|
|
|
|
* ipa-split.c (split_function): If split part is not
|
|
|
|
|
returning retval, retval has gimple type but is not
|
|
|
|
|
gimple value, force it into a SSA_NAME first.
|
|
|
|
|
|
2016-02-08 17:35:24 +01:00
|
|
|
|
2016-02-08 Nicklas Bo Jensen <nbjensen@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/tree-ssa.texi (Preserving the virtual SSA form): Remove
|
|
|
|
|
outdated section.
|
|
|
|
|
|
2016-02-08 16:31:47 +01:00
|
|
|
|
2016-02-08 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69631
|
|
|
|
|
* convert.c (convert_to_integer_1): Check dofold on truncation
|
|
|
|
|
distribution.
|
|
|
|
|
(convert_to_pointer_maybe_fold, convert_to_real_maybe_fold)
|
|
|
|
|
(convert_to_integer_maybe_fold, convert_to_complex_maybe_fold):
|
|
|
|
|
Rename from *_nofold.
|
|
|
|
|
* convert.h (convert_to_pointer_nofold, convert_to_integer_nofold)
|
|
|
|
|
(convert_to_real_nofold, convert_to_complex_nofold): New inlines.
|
|
|
|
|
|
2016-02-08 16:31:08 +01:00
|
|
|
|
2016-02-08 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
2016-02-08 16:36:16 +01:00
|
|
|
|
PR target/60410
|
|
|
|
|
* tree.c (build_common_tree_nodes): Remove short_double argument.
|
|
|
|
|
All callers changed.
|
|
|
|
|
* tree.h (build_common_tree_nodes): Adjust declaration.
|
|
|
|
|
* doc/invoke.texi (-fshort-double): Remove documentation.
|
|
|
|
|
* config/mips/t-img-elf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
|
|
|
|
|
MULTILIB_EXCEPTIONS): Remove -fshort-double variant.
|
|
|
|
|
* lto-wrapper.c (merge_and_complain, append_compiler_options)
|
|
|
|
|
(append_linker_options): Don't handle OPT_fshort_double.
|
|
|
|
|
|
2016-02-08 16:31:08 +01:00
|
|
|
|
PR rtl-optimization/68730
|
|
|
|
|
* lra-remat.c (insn_to_cand_activation): New static variable.
|
|
|
|
|
(lra_remat): Allocate and free it.
|
|
|
|
|
(create_cand): New arg activation. Initialize a field in
|
|
|
|
|
insn_to_cand_activation if it is nonnull.
|
|
|
|
|
(create_cands): Pass the activation insn to create_cand when making
|
|
|
|
|
a candidate involving an output reload. Reorganize code a little.
|
|
|
|
|
(do_remat): Keep track of active status of candidates in a separate
|
|
|
|
|
bitmap.
|
|
|
|
|
|
2016-02-08 15:51:20 +01:00
|
|
|
|
2016-02-08 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69719
|
|
|
|
|
* tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
|
|
|
|
|
Properly use absolute of the difference of the two offsets to
|
|
|
|
|
compare or adjust the segment length.
|
|
|
|
|
|
2016-02-08 11:04:18 +01:00
|
|
|
|
2016-02-08 Richard Biener <rguenther@suse.de>
|
2016-02-09 18:43:48 +01:00
|
|
|
|
Jeff Law <law@redhat.com>
|
2016-02-08 11:04:18 +01:00
|
|
|
|
|
|
|
|
|
PR target/68273
|
|
|
|
|
* tree-ssanames.c (make_ssa_name_fn): Always use unqualified
|
|
|
|
|
types for anonymous SSA names.
|
|
|
|
|
|
2016-02-08 10:09:22 +01:00
|
|
|
|
2016-02-08 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69274
|
2016-02-09 18:43:48 +01:00
|
|
|
|
* ira.c (ira_setup_alts): Do not change recog_data.operand order.
|
2016-02-08 10:09:22 +01:00
|
|
|
|
|
2016-02-08 09:17:32 +01:00
|
|
|
|
2016-02-08 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/65917
|
|
|
|
|
* tree-ssa-dom.c (record_temporary_equivalences): Record both
|
|
|
|
|
equivalences from if (x == y) style conditionals.
|
|
|
|
|
(loop_depth_of_name): Remove.
|
|
|
|
|
(record_equality): Remove loop depth check.
|
|
|
|
|
* tree-ssa-scopedtables.h (const_and_copies): Refine comments.
|
|
|
|
|
(const_and_copies::record_const_or_copy_raw): New member function.
|
|
|
|
|
* tree-ssa-scopedtables.c
|
|
|
|
|
(const_and_copies::record_const_or_copy_raw): New, factored out of
|
|
|
|
|
(const_and_copies::record_const_or_copy): Call new member function.
|
|
|
|
|
|
2016-02-06 00:49:08 +01:00
|
|
|
|
2016-02-05 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68541
|
|
|
|
|
* gimple-ssa-split-paths.c: Include tree-cfg.h and params.h.
|
|
|
|
|
(count_stmts_in_block): New function.
|
|
|
|
|
(poor_ifcvt_candidate_code): Likewise.
|
|
|
|
|
(is_feasible_trace): Add some heuristics to determine when path
|
|
|
|
|
splitting is profitable.
|
|
|
|
|
(find_block_to_duplicate_for_splitting_paths): Make sure the graph
|
|
|
|
|
is a diamond with a single exit.
|
|
|
|
|
|
2016-02-05 23:27:37 +01:00
|
|
|
|
2016-02-05 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69662
|
|
|
|
|
* doc/invoke.texi: Update -Wplacement-new to take an optional
|
|
|
|
|
argument.
|
|
|
|
|
|
2016-02-05 23:05:17 +01:00
|
|
|
|
2016-02-06 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/69643
|
|
|
|
|
* tree.c (tree_nop_conversion_p): Do not strip casts into or
|
|
|
|
|
out of non-standard address spaces.
|
|
|
|
|
|
2016-02-05 22:13:43 +01:00
|
|
|
|
2016-02-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69691
|
|
|
|
|
* lra-eliminations.c (move_plus_up): Don't add the addend twice.
|
|
|
|
|
|
2016-02-05 16:25:39 +01:00
|
|
|
|
2016-02-05 Pat Haugen <pthaugen@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/crypto.md (crypto_vpermxor_<mode>): Correct insn type.
|
|
|
|
|
* config/rs6000/rs6000.md (mov<mode>_hardfloat): Likewise.
|
|
|
|
|
(*ieee128_mfvsrd_64bit): Likewise.
|
|
|
|
|
(*ieee128_mfvsrd_32bit): Likewise.
|
|
|
|
|
|
2016-02-05 15:41:00 +01:00
|
|
|
|
2016-02-05 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69369
|
|
|
|
|
Revert r232560:
|
|
|
|
|
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* cgraphunit.c (cgraph_node::reset): Clear thunk info and
|
|
|
|
|
instrumented_version.
|
|
|
|
|
|
2016-02-05 15:27:26 +01:00
|
|
|
|
2016-01-05 Jeremy Bennett <jeremy.bennett@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Optimize Options): In table of --param options
|
|
|
|
|
rename second occurrence of tracer-min-branch-ratio to
|
|
|
|
|
tracer-min-branch-probability, rename
|
|
|
|
|
tracer-min-branch-ratio-feedback to
|
|
|
|
|
tracer-min-branch-probability-feedback and clarify description,
|
|
|
|
|
rename sched-spec-state-edge-prob-cutoff to
|
|
|
|
|
sched-state-edge-prob-cutoff, rename selsched-max-insns-to-rename
|
|
|
|
|
to selsched-insns-to-rename, rename lto-minpartition to
|
|
|
|
|
lto-min-partition, delete reorder-blocks-duplicate and
|
|
|
|
|
reorder-blocks-duplicate-feedback.
|
|
|
|
|
|
2016-02-05 12:38:52 +01:00
|
|
|
|
2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_register_info_set_ranges): Remove
|
|
|
|
|
superfluous loops.
|
|
|
|
|
|
2016-02-05 11:36:21 +01:00
|
|
|
|
2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi: S/390: Correct some typos.
|
|
|
|
|
|
2016-02-05 11:10:35 +01:00
|
|
|
|
2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_emit_call): Add missing 64 bit check.
|
|
|
|
|
|
2016-02-05 11:08:17 +01:00
|
|
|
|
2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69625
|
2016-02-09 18:43:48 +01:00
|
|
|
|
* config/s390/s390.c (SAVE_SLOT_NONE, SAVE_SLOT_STACK): New defines.
|
2016-02-05 11:08:17 +01:00
|
|
|
|
(s390_register_info_gprtofpr): Use new macros above.
|
|
|
|
|
(s390_register_info_stdarg_fpr): Adjust max_fpr to better match
|
|
|
|
|
its name.
|
|
|
|
|
(s390_register_info_stdarg_gpr): Adjust max_gpr to better match
|
|
|
|
|
its name. Adjust restore and save gpr ranges.
|
|
|
|
|
(s390_register_info_set_ranges): New function.
|
|
|
|
|
(s390_register_info): Use new macros above. Call
|
|
|
|
|
s390_register_info_set_ranges.
|
|
|
|
|
(s390_optimize_register_info): Likewise.
|
|
|
|
|
(s390_hard_regno_rename_ok): Use new macros.
|
|
|
|
|
(s390_hard_regno_scratch_ok): Likewise.
|
|
|
|
|
(s390_emit_epilogue): Likewise.
|
|
|
|
|
(s390_can_use_return_insn): Likewise.
|
|
|
|
|
(s390_optimize_prologue): Likewise.
|
|
|
|
|
* config/s390/s390.md (GPR2_REGNUM, GPR6_REGNUM): New constants.
|
|
|
|
|
|
2016-02-05 10:23:03 +01:00
|
|
|
|
2016-02-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/69677
|
|
|
|
|
* config/i386/i386.c (convert_scalars_to_vector): Readd stack
|
|
|
|
|
alignment fixes.
|
|
|
|
|
(ix86_option_override_internal): Disable TARGET_STV even for
|
|
|
|
|
-m{incoming,preferred}-stack-boundary=3.
|
|
|
|
|
|
2016-02-05 02:40:39 +01:00
|
|
|
|
2016-02-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
* config.gcc: Mark deprecated rtems targets as obsolete.
|
|
|
|
|
|
2016-02-05 00:09:51 +01:00
|
|
|
|
2016-02-04 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/64682
|
|
|
|
|
PR rtl-optimization/69567
|
|
|
|
|
* combine.c (distribute_notes) <REG_DEAD>: Place the death note
|
|
|
|
|
before I2 only if the register is both used and set in I2.
|
|
|
|
|
|
2016-02-04 23:54:30 +01:00
|
|
|
|
2016-02-04 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/msp430.c (msp430_start_function): Add function type.
|
|
|
|
|
|
2016-02-04 23:15:33 +01:00
|
|
|
|
2016-02-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR fortran/69368
|
|
|
|
|
* tree-dfa.c (get_ref_base_and_extent): Remove unreachable code.
|
|
|
|
|
|
2016-02-04 23:10:56 +01:00
|
|
|
|
2016-02-04 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69577
|
|
|
|
|
Revert:
|
|
|
|
|
2015-10-29 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/68124
|
|
|
|
|
PR rtl-opt/67609
|
|
|
|
|
* config/i386/i386.c (ix86_cannot_change_mode_class): Tighten
|
|
|
|
|
sse check to the exact conditions of PR 67609.
|
|
|
|
|
|
2016-02-04 22:05:14 +01:00
|
|
|
|
2016-02-04 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69667
|
|
|
|
|
* config/rs6000/rs6000.md (mov<mode>_64bit_dm): Use 'd' constraint
|
|
|
|
|
instead of 'ws', and 'wh' instead of 'wm' since TFmode/IFmode are
|
|
|
|
|
not allowed into the traditional Altivec registers.
|
|
|
|
|
(movtd_64bit_nodm): Likewise.
|
|
|
|
|
(mov<mode>_32bit, FMOVE128_FPR iterator): Likewise.
|
|
|
|
|
|
2016-02-04 20:30:28 +01:00
|
|
|
|
2016-02-04 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/cortex-a57-fma-steering.c
|
|
|
|
|
(aarch64_register_fma_steering): Remove "static" from arguments
|
|
|
|
|
to register_pass.
|
|
|
|
|
|
2016-02-04 19:23:35 +01:00
|
|
|
|
2016-02-04 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69619
|
|
|
|
|
* ccmp.c (expand_ccmp_expr_1): Avoid evaluating gs0/gs1
|
|
|
|
|
twice when complex.
|
|
|
|
|
|
2016-02-04 18:32:11 +01:00
|
|
|
|
2016-02-04 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi: Delete -mno-fma4.
|
|
|
|
|
|
2016-02-04 16:01:15 +01:00
|
|
|
|
2016-02-04 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69577
|
|
|
|
|
* reginfo.c (record_subregs_of_mode): Add a partial_def parameter.
|
|
|
|
|
(find_subregs_of_mode): Update accordingly. Iterate over partial
|
|
|
|
|
definitions.
|
|
|
|
|
|
[ARM] Remove neon_reinterpret, use casts
* config/arm/arm-protos.h (neon_reinterpret): Remove.
* config/arm/arm.c (neon_reinterpret): Remove.
* config/arm/arm_neon_builtins.def (vreinterpretv8qi, vreinterpretv4hi,
vreinterpretv2si, vreinterpretv2sf, vreinterpretdi, vreinterpretv16qi,
vreinterpretv8hi, vreinterpretv4si, vreinterpretv4sf, vreinterpretv2di,
vreinterpretti): Remove.
* config/arm/neon.md (neon_vreinterpretv8qi<mode>,
neon_vreinterpretv4hi<mode>, neon_vreinterpretv2si<mode>,
neon_vreinterpretv2sf<mode>, neon_vreinterpretdi<mode>,
neon_vreinterpretti<mode>, neon_vreinterpretv16qi<mode>,
neon_vreinterpretv8hi<mode>, neon_vreinterpretv4si<mode>,
neon_vreinterpretv4sf<mode>, neon_vreinterpretv2di<mode>): Remove.
* config/arm/arm_neon.h (vreinterpret_p8_p16, vreinterpret_p8_f32,
vreinterpret_p8_p64, vreinterpret_p8_s64, vreinterpret_p8_u64,
vreinterpret_p8_s8, vreinterpret_p8_s16, vreinterpret_p8_s32,
vreinterpret_p8_u8, vreinterpret_p8_u16, vreinterpret_p8_u32,
vreinterpret_p16_p8, vreinterpret_p16_f32, vreinterpret_p16_p64,
vreinterpret_p16_s64, vreinterpret_p16_u64, vreinterpret_p16_s8,
vreinterpret_p16_s16, vreinterpret_p16_s32, vreinterpret_p16_u8,
vreinterpret_p16_u16, vreinterpret_p16_u32, vreinterpret_f32_p8,
vreinterpret_f32_p16, vreinterpret_f32_p64, vreinterpret_f32_s64,
vreinterpret_f32_u64, vreinterpret_f32_s8, vreinterpret_f32_s16,
vreinterpret_f32_s32, vreinterpret_f32_u8, vreinterpret_f32_u16,
vreinterpret_f32_u32, vreinterpret_p64_p8, vreinterpret_p64_p16,
vreinterpret_p64_f32, vreinterpret_p64_s64, vreinterpret_p64_u64,
vreinterpret_p64_s8, vreinterpret_p64_s16, vreinterpret_p64_s32,
vreinterpret_p64_u8, vreinterpret_p64_u16, vreinterpret_p64_u32,
vreinterpret_s64_p8, vreinterpret_s64_p16, vreinterpret_s64_f32,
vreinterpret_s64_p64, vreinterpret_s64_u64, vreinterpret_s64_s8,
vreinterpret_s64_s16, vreinterpret_s64_s32, vreinterpret_s64_u8,
vreinterpret_s64_u16, vreinterpret_s64_u32, vreinterpret_u64_p8,
vreinterpret_u64_p16, vreinterpret_u64_f32, vreinterpret_u64_p64,
vreinterpret_u64_s64, vreinterpret_u64_s8, vreinterpret_u64_s16,
vreinterpret_u64_s32, vreinterpret_u64_u8, vreinterpret_u64_u16,
vreinterpret_u64_u32, vreinterpret_s8_p8, vreinterpret_s8_p16,
vreinterpret_s8_f32, vreinterpret_s8_p64, vreinterpret_s8_s64,
vreinterpret_s8_u64, vreinterpret_s8_s16, vreinterpret_s8_s32,
vreinterpret_s8_u8, vreinterpret_s8_u16, vreinterpret_s8_u32,
vreinterpret_s16_p8, vreinterpret_s16_p16, vreinterpret_s16_f32,
vreinterpret_s16_p64, vreinterpret_s16_s64, vreinterpret_s16_u64,
vreinterpret_s16_s8, vreinterpret_s16_s32, vreinterpret_s16_u8,
vreinterpret_s16_u16, vreinterpret_s16_u32, vreinterpret_s32_p8,
vreinterpret_s32_p16, vreinterpret_s32_f32, vreinterpret_s32_p64,
vreinterpret_s32_s64, vreinterpret_s32_u64, vreinterpret_s32_s8,
vreinterpret_s32_s16, vreinterpret_s32_u8, vreinterpret_s32_u16,
vreinterpret_s32_u32, vreinterpret_u8_p8, vreinterpret_u8_p16,
vreinterpret_u8_f32, vreinterpret_u8_p64, vreinterpret_u8_s64,
vreinterpret_u8_u64, vreinterpret_u8_s8, vreinterpret_u8_s16,
vreinterpret_u8_s32, vreinterpret_u8_u16, vreinterpret_u8_u32,
vreinterpret_u16_p8, vreinterpret_u16_p16, vreinterpret_u16_f32,
vreinterpret_u16_p64, vreinterpret_u16_s64, vreinterpret_u16_u64,
vreinterpret_u16_s8, vreinterpret_u16_s16, vreinterpret_u16_s32,
vreinterpret_u16_u8, vreinterpret_u16_u32, vreinterpret_u32_p8,
vreinterpret_u32_p16, vreinterpret_u32_f32, vreinterpret_u32_p64,
vreinterpret_u32_s64, vreinterpret_u32_u64, vreinterpret_u32_s8,
vreinterpret_u32_s16, vreinterpret_u32_s32, vreinterpret_u32_u8,
vreinterpret_u32_u16, vreinterpretq_p8_p16, vreinterpretq_p8_f32,
vreinterpretq_p8_p64, vreinterpretq_p8_p128, vreinterpretq_p8_s64,
vreinterpretq_p8_u64, vreinterpretq_p8_s8, vreinterpretq_p8_s16,
vreinterpretq_p8_s32, vreinterpretq_p8_u8, vreinterpretq_p8_u16,
vreinterpretq_p8_u32, vreinterpretq_p16_p8, vreinterpretq_p16_f32,
vreinterpretq_p16_p64, vreinterpretq_p16_p128, vreinterpretq_p16_s64,
vreinterpretq_p16_u64, vreinterpretq_p16_s8, vreinterpretq_p16_s16,
vreinterpretq_p16_s32, vreinterpretq_p16_u8, vreinterpretq_p16_u16,
vreinterpretq_p16_u32, vreinterpretq_f32_p8, vreinterpretq_f32_p16,
vreinterpretq_f32_p64, vreinterpretq_f32_p128, vreinterpretq_f32_s64,
vreinterpretq_f32_u64, vreinterpretq_f32_s8, vreinterpretq_f32_s16,
vreinterpretq_f32_s32, vreinterpretq_f32_u8, vreinterpretq_f32_u16,
vreinterpretq_f32_u32, vreinterpretq_p64_p8, vreinterpretq_p64_p16,
vreinterpretq_p64_f32, vreinterpretq_p64_p128, vreinterpretq_p64_s64,
vreinterpretq_p64_u64, vreinterpretq_p64_s8, vreinterpretq_p64_s16,
vreinterpretq_p64_s32, vreinterpretq_p64_u8, vreinterpretq_p64_u16,
vreinterpretq_p64_u32, vreinterpretq_p128_p8, vreinterpretq_p128_p16,
vreinterpretq_p128_f32, vreinterpretq_p128_p64, vreinterpretq_p128_s64,
vreinterpretq_p128_u64, vreinterpretq_p128_s8, vreinterpretq_p128_s16,
vreinterpretq_p128_s32, vreinterpretq_p128_u8, vreinterpretq_p128_u16,
vreinterpretq_p128_u32, vreinterpretq_s64_p8, vreinterpretq_s64_p16,
vreinterpretq_s64_f32, vreinterpretq_s64_p64, vreinterpretq_s64_p128,
vreinterpretq_s64_u64, vreinterpretq_s64_s8, vreinterpretq_s64_s16,
vreinterpretq_s64_s32, vreinterpretq_s64_u8, vreinterpretq_s64_u16,
vreinterpretq_s64_u32, vreinterpretq_u64_p8, vreinterpretq_u64_p16,
vreinterpretq_u64_f32, vreinterpretq_u64_p64, vreinterpretq_u64_p128,
vreinterpretq_u64_s64, vreinterpretq_u64_s8, vreinterpretq_u64_s16,
vreinterpretq_u64_s32, vreinterpretq_u64_u8, vreinterpretq_u64_u16,
vreinterpretq_u64_u32, vreinterpretq_s8_p8, vreinterpretq_s8_p16,
vreinterpretq_s8_f32, vreinterpretq_s8_p64, vreinterpretq_s8_p128,
vreinterpretq_s8_s64, vreinterpretq_s8_u64, vreinterpretq_s8_s16,
vreinterpretq_s8_s32, vreinterpretq_s8_u8, vreinterpretq_s8_u16,
vreinterpretq_s8_u32, vreinterpretq_s16_p8, vreinterpretq_s16_p16,
vreinterpretq_s16_f32, vreinterpretq_s16_p64, vreinterpretq_s16_p128,
vreinterpretq_s16_s64, vreinterpretq_s16_u64, vreinterpretq_s16_s8,
vreinterpretq_s16_s32, vreinterpretq_s16_u8, vreinterpretq_s16_u16,
vreinterpretq_s16_u32, vreinterpretq_s32_p8, vreinterpretq_s32_p16,
vreinterpretq_s32_f16, vreinterpretq_s32_f32, vreinterpretq_s32_p64,
vreinterpretq_s32_p128, vreinterpretq_s32_s64, vreinterpretq_s32_u64,
vreinterpretq_s32_s8, vreinterpretq_s32_s16, vreinterpretq_s32_u8,
vreinterpretq_s32_u16, vreinterpretq_s32_u32, vreinterpretq_u8_p8,
vreinterpretq_u8_p16, vreinterpretq_u8_f32, vreinterpretq_u8_p64,
vreinterpretq_u8_p128, vreinterpretq_u8_s64, vreinterpretq_u8_u64,
vreinterpretq_u8_s8, vreinterpretq_u8_s16, vreinterpretq_u8_s32,
vreinterpretq_u8_u16, vreinterpretq_u8_u32, vreinterpretq_u16_p8,
vreinterpretq_u16_p16, vreinterpretq_u16_f32, vreinterpretq_u16_p64,
vreinterpretq_u16_p128, vreinterpretq_u16_s64, vreinterpretq_u16_u64,
vreinterpretq_u16_s8, vreinterpretq_u16_s16, vreinterpretq_u16_s32,
vreinterpretq_u16_u8, vreinterpretq_u16_u32, vreinterpretq_u32_p8,
vreinterpretq_u32_p16, vreinterpretq_u32_f32, vreinterpretq_u32_p64,
vreinterpretq_u32_p128, vreinterpretq_u32_s64, vreinterpretq_u32_u64,
vreinterpretq_u32_s8, vreinterpretq_u32_s16, vreinterpretq_u32_s32,
vreinterpretq_u32_u8, vreinterpretq_u32_u16): Rewrite using casts.
From-SVN: r233142
2016-02-04 15:49:02 +01:00
|
|
|
|
2016-02-04 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-protos.h (neon_reinterpret): Remove.
|
|
|
|
|
* config/arm/arm.c (neon_reinterpret): Remove.
|
|
|
|
|
* config/arm/arm_neon_builtins.def (vreinterpretv8qi, vreinterpretv4hi,
|
|
|
|
|
vreinterpretv2si, vreinterpretv2sf, vreinterpretdi, vreinterpretv16qi,
|
|
|
|
|
vreinterpretv8hi, vreinterpretv4si, vreinterpretv4sf, vreinterpretv2di,
|
|
|
|
|
vreinterpretti): Remove.
|
|
|
|
|
* config/arm/neon.md (neon_vreinterpretv8qi<mode>,
|
|
|
|
|
neon_vreinterpretv4hi<mode>, neon_vreinterpretv2si<mode>,
|
|
|
|
|
neon_vreinterpretv2sf<mode>, neon_vreinterpretdi<mode>,
|
|
|
|
|
neon_vreinterpretti<mode>, neon_vreinterpretv16qi<mode>,
|
|
|
|
|
neon_vreinterpretv8hi<mode>, neon_vreinterpretv4si<mode>,
|
|
|
|
|
neon_vreinterpretv4sf<mode>, neon_vreinterpretv2di<mode>): Remove.
|
|
|
|
|
* config/arm/arm_neon.h (vreinterpret_p8_p16, vreinterpret_p8_f32,
|
|
|
|
|
vreinterpret_p8_p64, vreinterpret_p8_s64, vreinterpret_p8_u64,
|
|
|
|
|
vreinterpret_p8_s8, vreinterpret_p8_s16, vreinterpret_p8_s32,
|
|
|
|
|
vreinterpret_p8_u8, vreinterpret_p8_u16, vreinterpret_p8_u32,
|
|
|
|
|
vreinterpret_p16_p8, vreinterpret_p16_f32, vreinterpret_p16_p64,
|
|
|
|
|
vreinterpret_p16_s64, vreinterpret_p16_u64, vreinterpret_p16_s8,
|
|
|
|
|
vreinterpret_p16_s16, vreinterpret_p16_s32, vreinterpret_p16_u8,
|
|
|
|
|
vreinterpret_p16_u16, vreinterpret_p16_u32, vreinterpret_f32_p8,
|
|
|
|
|
vreinterpret_f32_p16, vreinterpret_f32_p64, vreinterpret_f32_s64,
|
|
|
|
|
vreinterpret_f32_u64, vreinterpret_f32_s8, vreinterpret_f32_s16,
|
|
|
|
|
vreinterpret_f32_s32, vreinterpret_f32_u8, vreinterpret_f32_u16,
|
|
|
|
|
vreinterpret_f32_u32, vreinterpret_p64_p8, vreinterpret_p64_p16,
|
|
|
|
|
vreinterpret_p64_f32, vreinterpret_p64_s64, vreinterpret_p64_u64,
|
|
|
|
|
vreinterpret_p64_s8, vreinterpret_p64_s16, vreinterpret_p64_s32,
|
|
|
|
|
vreinterpret_p64_u8, vreinterpret_p64_u16, vreinterpret_p64_u32,
|
|
|
|
|
vreinterpret_s64_p8, vreinterpret_s64_p16, vreinterpret_s64_f32,
|
|
|
|
|
vreinterpret_s64_p64, vreinterpret_s64_u64, vreinterpret_s64_s8,
|
|
|
|
|
vreinterpret_s64_s16, vreinterpret_s64_s32, vreinterpret_s64_u8,
|
|
|
|
|
vreinterpret_s64_u16, vreinterpret_s64_u32, vreinterpret_u64_p8,
|
|
|
|
|
vreinterpret_u64_p16, vreinterpret_u64_f32, vreinterpret_u64_p64,
|
|
|
|
|
vreinterpret_u64_s64, vreinterpret_u64_s8, vreinterpret_u64_s16,
|
|
|
|
|
vreinterpret_u64_s32, vreinterpret_u64_u8, vreinterpret_u64_u16,
|
|
|
|
|
vreinterpret_u64_u32, vreinterpret_s8_p8, vreinterpret_s8_p16,
|
|
|
|
|
vreinterpret_s8_f32, vreinterpret_s8_p64, vreinterpret_s8_s64,
|
|
|
|
|
vreinterpret_s8_u64, vreinterpret_s8_s16, vreinterpret_s8_s32,
|
|
|
|
|
vreinterpret_s8_u8, vreinterpret_s8_u16, vreinterpret_s8_u32,
|
|
|
|
|
vreinterpret_s16_p8, vreinterpret_s16_p16, vreinterpret_s16_f32,
|
|
|
|
|
vreinterpret_s16_p64, vreinterpret_s16_s64, vreinterpret_s16_u64,
|
|
|
|
|
vreinterpret_s16_s8, vreinterpret_s16_s32, vreinterpret_s16_u8,
|
|
|
|
|
vreinterpret_s16_u16, vreinterpret_s16_u32, vreinterpret_s32_p8,
|
|
|
|
|
vreinterpret_s32_p16, vreinterpret_s32_f32, vreinterpret_s32_p64,
|
|
|
|
|
vreinterpret_s32_s64, vreinterpret_s32_u64, vreinterpret_s32_s8,
|
|
|
|
|
vreinterpret_s32_s16, vreinterpret_s32_u8, vreinterpret_s32_u16,
|
|
|
|
|
vreinterpret_s32_u32, vreinterpret_u8_p8, vreinterpret_u8_p16,
|
|
|
|
|
vreinterpret_u8_f32, vreinterpret_u8_p64, vreinterpret_u8_s64,
|
|
|
|
|
vreinterpret_u8_u64, vreinterpret_u8_s8, vreinterpret_u8_s16,
|
|
|
|
|
vreinterpret_u8_s32, vreinterpret_u8_u16, vreinterpret_u8_u32,
|
|
|
|
|
vreinterpret_u16_p8, vreinterpret_u16_p16, vreinterpret_u16_f32,
|
|
|
|
|
vreinterpret_u16_p64, vreinterpret_u16_s64, vreinterpret_u16_u64,
|
|
|
|
|
vreinterpret_u16_s8, vreinterpret_u16_s16, vreinterpret_u16_s32,
|
|
|
|
|
vreinterpret_u16_u8, vreinterpret_u16_u32, vreinterpret_u32_p8,
|
|
|
|
|
vreinterpret_u32_p16, vreinterpret_u32_f32, vreinterpret_u32_p64,
|
|
|
|
|
vreinterpret_u32_s64, vreinterpret_u32_u64, vreinterpret_u32_s8,
|
|
|
|
|
vreinterpret_u32_s16, vreinterpret_u32_s32, vreinterpret_u32_u8,
|
|
|
|
|
vreinterpret_u32_u16, vreinterpretq_p8_p16, vreinterpretq_p8_f32,
|
|
|
|
|
vreinterpretq_p8_p64, vreinterpretq_p8_p128, vreinterpretq_p8_s64,
|
|
|
|
|
vreinterpretq_p8_u64, vreinterpretq_p8_s8, vreinterpretq_p8_s16,
|
|
|
|
|
vreinterpretq_p8_s32, vreinterpretq_p8_u8, vreinterpretq_p8_u16,
|
|
|
|
|
vreinterpretq_p8_u32, vreinterpretq_p16_p8, vreinterpretq_p16_f32,
|
|
|
|
|
vreinterpretq_p16_p64, vreinterpretq_p16_p128, vreinterpretq_p16_s64,
|
|
|
|
|
vreinterpretq_p16_u64, vreinterpretq_p16_s8, vreinterpretq_p16_s16,
|
|
|
|
|
vreinterpretq_p16_s32, vreinterpretq_p16_u8, vreinterpretq_p16_u16,
|
|
|
|
|
vreinterpretq_p16_u32, vreinterpretq_f32_p8, vreinterpretq_f32_p16,
|
|
|
|
|
vreinterpretq_f32_p64, vreinterpretq_f32_p128, vreinterpretq_f32_s64,
|
|
|
|
|
vreinterpretq_f32_u64, vreinterpretq_f32_s8, vreinterpretq_f32_s16,
|
|
|
|
|
vreinterpretq_f32_s32, vreinterpretq_f32_u8, vreinterpretq_f32_u16,
|
|
|
|
|
vreinterpretq_f32_u32, vreinterpretq_p64_p8, vreinterpretq_p64_p16,
|
|
|
|
|
vreinterpretq_p64_f32, vreinterpretq_p64_p128, vreinterpretq_p64_s64,
|
|
|
|
|
vreinterpretq_p64_u64, vreinterpretq_p64_s8, vreinterpretq_p64_s16,
|
|
|
|
|
vreinterpretq_p64_s32, vreinterpretq_p64_u8, vreinterpretq_p64_u16,
|
|
|
|
|
vreinterpretq_p64_u32, vreinterpretq_p128_p8, vreinterpretq_p128_p16,
|
|
|
|
|
vreinterpretq_p128_f32, vreinterpretq_p128_p64, vreinterpretq_p128_s64,
|
|
|
|
|
vreinterpretq_p128_u64, vreinterpretq_p128_s8, vreinterpretq_p128_s16,
|
|
|
|
|
vreinterpretq_p128_s32, vreinterpretq_p128_u8, vreinterpretq_p128_u16,
|
|
|
|
|
vreinterpretq_p128_u32, vreinterpretq_s64_p8, vreinterpretq_s64_p16,
|
|
|
|
|
vreinterpretq_s64_f32, vreinterpretq_s64_p64, vreinterpretq_s64_p128,
|
|
|
|
|
vreinterpretq_s64_u64, vreinterpretq_s64_s8, vreinterpretq_s64_s16,
|
|
|
|
|
vreinterpretq_s64_s32, vreinterpretq_s64_u8, vreinterpretq_s64_u16,
|
|
|
|
|
vreinterpretq_s64_u32, vreinterpretq_u64_p8, vreinterpretq_u64_p16,
|
|
|
|
|
vreinterpretq_u64_f32, vreinterpretq_u64_p64, vreinterpretq_u64_p128,
|
|
|
|
|
vreinterpretq_u64_s64, vreinterpretq_u64_s8, vreinterpretq_u64_s16,
|
|
|
|
|
vreinterpretq_u64_s32, vreinterpretq_u64_u8, vreinterpretq_u64_u16,
|
|
|
|
|
vreinterpretq_u64_u32, vreinterpretq_s8_p8, vreinterpretq_s8_p16,
|
|
|
|
|
vreinterpretq_s8_f32, vreinterpretq_s8_p64, vreinterpretq_s8_p128,
|
|
|
|
|
vreinterpretq_s8_s64, vreinterpretq_s8_u64, vreinterpretq_s8_s16,
|
|
|
|
|
vreinterpretq_s8_s32, vreinterpretq_s8_u8, vreinterpretq_s8_u16,
|
|
|
|
|
vreinterpretq_s8_u32, vreinterpretq_s16_p8, vreinterpretq_s16_p16,
|
|
|
|
|
vreinterpretq_s16_f32, vreinterpretq_s16_p64, vreinterpretq_s16_p128,
|
|
|
|
|
vreinterpretq_s16_s64, vreinterpretq_s16_u64, vreinterpretq_s16_s8,
|
|
|
|
|
vreinterpretq_s16_s32, vreinterpretq_s16_u8, vreinterpretq_s16_u16,
|
|
|
|
|
vreinterpretq_s16_u32, vreinterpretq_s32_p8, vreinterpretq_s32_p16,
|
|
|
|
|
vreinterpretq_s32_f16, vreinterpretq_s32_f32, vreinterpretq_s32_p64,
|
|
|
|
|
vreinterpretq_s32_p128, vreinterpretq_s32_s64, vreinterpretq_s32_u64,
|
|
|
|
|
vreinterpretq_s32_s8, vreinterpretq_s32_s16, vreinterpretq_s32_u8,
|
|
|
|
|
vreinterpretq_s32_u16, vreinterpretq_s32_u32, vreinterpretq_u8_p8,
|
|
|
|
|
vreinterpretq_u8_p16, vreinterpretq_u8_f32, vreinterpretq_u8_p64,
|
|
|
|
|
vreinterpretq_u8_p128, vreinterpretq_u8_s64, vreinterpretq_u8_u64,
|
|
|
|
|
vreinterpretq_u8_s8, vreinterpretq_u8_s16, vreinterpretq_u8_s32,
|
|
|
|
|
vreinterpretq_u8_u16, vreinterpretq_u8_u32, vreinterpretq_u16_p8,
|
|
|
|
|
vreinterpretq_u16_p16, vreinterpretq_u16_f32, vreinterpretq_u16_p64,
|
|
|
|
|
vreinterpretq_u16_p128, vreinterpretq_u16_s64, vreinterpretq_u16_u64,
|
|
|
|
|
vreinterpretq_u16_s8, vreinterpretq_u16_s16, vreinterpretq_u16_s32,
|
|
|
|
|
vreinterpretq_u16_u8, vreinterpretq_u16_u32, vreinterpretq_u32_p8,
|
|
|
|
|
vreinterpretq_u32_p16, vreinterpretq_u32_f32, vreinterpretq_u32_p64,
|
|
|
|
|
vreinterpretq_u32_p128, vreinterpretq_u32_s64, vreinterpretq_u32_u64,
|
|
|
|
|
vreinterpretq_u32_s8, vreinterpretq_u32_s16, vreinterpretq_u32_s32,
|
|
|
|
|
vreinterpretq_u32_u8, vreinterpretq_u32_u16): Rewrite using casts.
|
|
|
|
|
|
2016-02-04 12:50:40 +01:00
|
|
|
|
2016-02-04 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/69276
|
|
|
|
|
* asan.c (has_stmt_been_instrumented_p): Instrument gimple calls
|
|
|
|
|
that are gimple_store_p.
|
|
|
|
|
(maybe_instrument_call): Likewise.
|
|
|
|
|
|
2016-02-04 12:05:46 +01:00
|
|
|
|
2016-02-04 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_legitimize_address): Force
|
|
|
|
|
register scaling out of memory reference and comment why.
|
|
|
|
|
|
2016-02-04 10:56:13 +01:00
|
|
|
|
2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/65932
|
|
|
|
|
PR target/67714
|
|
|
|
|
* cse.c (cse_insn): Pass NULL to fold_rtx when initially
|
|
|
|
|
folding the source of a SET.
|
|
|
|
|
|
2016-02-04 10:54:37 +01:00
|
|
|
|
2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/65932
|
|
|
|
|
PR target/67714
|
|
|
|
|
* config/arm/arm.c (arm_new_rtx_costs, MULT case): Properly extract
|
|
|
|
|
the operands of the SIGN_EXTENDs from a SMUL[TB][TB] rtx.
|
|
|
|
|
|
2016-02-04 10:50:12 +01:00
|
|
|
|
2016-02-04 Jim Wilson <jim.wilson@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/65932
|
|
|
|
|
PR target/67714
|
|
|
|
|
* config/arm/arm.h (PROMOTE_MODE): Don't set UNSIGNEDP for QImode and
|
|
|
|
|
HImode.
|
|
|
|
|
|
2016-02-04 10:06:32 +01:00
|
|
|
|
2016-02-04 Christian Bruel <christian.bruel@st.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-c.c (arm_reset_previous_fndecl): Style fix and typo.
|
|
|
|
|
* config/arm/arm.c (arm_set_current_function): Likewise.
|
|
|
|
|
|
2016-02-04 10:02:01 +01:00
|
|
|
|
2016-02-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/69454
|
|
|
|
|
* config/i386/i386.c (convert_scalars_to_vector): Remove
|
|
|
|
|
stack alignment fixes.
|
|
|
|
|
(ix86_option_override_internal): Disable TARGET_STV if stack
|
|
|
|
|
might not be aligned enough.
|
|
|
|
|
(ix86_minimum_alignment): Assert that TARGET_STV is false.
|
|
|
|
|
|
2016-02-04 08:52:08 +01:00
|
|
|
|
2016-02-04 Victoria Stepanyan <victoria.stepanyan@amd.com>
|
|
|
|
|
|
2016-02-04 10:06:32 +01:00
|
|
|
|
* gcc/config/i386/x86-tune.def: Disable default prefetching
|
2016-02-04 08:52:08 +01:00
|
|
|
|
for -march=znver1.
|
|
|
|
|
|
2016-02-04 01:39:34 +01:00
|
|
|
|
2016-02-03 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69461
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_legitimate_address_p): Fix thinko
|
|
|
|
|
in validating fused toc addresses.
|
|
|
|
|
|
2016-02-03 23:38:56 +01:00
|
|
|
|
2016-02-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-02-03 23:40:22 +01:00
|
|
|
|
PR c/69627
|
|
|
|
|
* diagnostic-show-locus.c (layout::get_state_at_point): Don't read
|
|
|
|
|
range->m_caret fields if range->m_show_caret_p is false.
|
|
|
|
|
|
2016-02-03 23:38:56 +01:00
|
|
|
|
PR target/69644
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
|
|
|
|
|
Force oldval into register if it does not satisfy reg_or_short_operand
|
|
|
|
|
predicate. Fix up formatting.
|
|
|
|
|
|
2016-02-03 18:58:34 +01:00
|
|
|
|
2016-02-03 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69461
|
|
|
|
|
* lra-constraints.c (simplify_operand_subreg): Check additionally
|
|
|
|
|
address validity after potential reloading.
|
|
|
|
|
(process_address_1): Check insns validity. In case of failure do
|
|
|
|
|
nothing.
|
|
|
|
|
|
2016-02-03 14:44:50 +01:00
|
|
|
|
2016-02-03 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/69118
|
|
|
|
|
* config/i386/sse.md (define_insn "avx512f_maskcmp<mode>3"):
|
|
|
|
|
Fix target.
|
|
|
|
|
|
2016-02-02 20:44:16 +01:00
|
|
|
|
2016-02-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* wide-int.cc (canonize_uhwi): New function.
|
|
|
|
|
(wi::divmod_internal): Use it.
|
|
|
|
|
|
2016-02-02 20:17:37 +01:00
|
|
|
|
2016-02-02 James Norris <jnorris@codesourcery.com
|
|
|
|
|
|
|
|
|
|
* gimplify.c (omp_notice_variable): Add usage check.
|
|
|
|
|
|
2016-02-02 19:24:25 +01:00
|
|
|
|
2016-02-02 Alexander Monakov <amonakov@ispras.ru>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/nvptx.c (nvptx_print_operand): Treat LEU, GEU, LTU, GTU
|
|
|
|
|
like LE, GE, LT, GT when emitting relational operator.
|
|
|
|
|
|
Improve TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS target hook.
Improve TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS target hook. It turns out there
is another case where the register allocator uses the union of register classes
without checking that the cost of the resulting register class is lower than
both (see https://gcc.gnu.org/ml/gcc-patches/2015-12/msg01765.html ). This
happens when the cost of the best and alternative class are both lower than the
memory cost. In this case we typically end up with ALL_REGS as the allocno
class, which almost invariably results in bad allocations with many redundant
int<->FP moves (which are expensive on various cores). AArch64 is affected by
this significantly due to supporting many scalar integer operations in SIMD.
Currently the TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS hook forces the class to
GENERAL_REGS if the allocno class is ALL_REGS and the register has an integer
mode. This is bad if the best class happens to be FP_REGS. To handle this
case as well, an extra argument is needed in the hook to pass the best class.
If the allocno class is ALL_REGS, but the best class isn't, we use the best
class instead (rather than using the mode to force to GENERAL_REGS or FP_REGS).
Previously this might happen:
r79: preferred FP_REGS, alternative GENERAL_REGS, allocno GENERAL_REGS
a1 (r79,l0) best GENERAL_REGS, allocno GENERAL_REGS
a1(r79,l0) costs: CALLER_SAVE_REGS:5000,5000 GENERAL_REGS:5000,5000
FP_LO_REGS:0,0 FP_REGS:0,0 ALL_REGS:10000,10000 MEM:9000,9000
The proposed allocno is ALL_REGS (despite having the highest cost!) and is then
forced by the hook to GENERAL_REGS because r79 has integer mode. However
FP_REGS has the lowest cost. After this patch the choice is as follows:
r79: preferred FP_REGS, alternative GENERAL_REGS, allocno FP_REGS
a1 (r79,l0) best FP_REGS, allocno FP_REGS
As a result it is now no longer a requirement to use register move costs that
are larger than the memory move cost. So it will be feasible to use realistic
costs for both without a huge penalty.
2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
gcc/
* ira-costs.c (find_costs_and_classes): Add extra argument.
* target.def (ira_change_pseudo_allocno_class): Add parameter.
* targhooks.h (ira_change_pseudo_allocno_class): Likewise.
* targhooks.c (ira_change_pseudo_allocno_class): Likewise.
* config/aarch64/aarch64.c (aarch64_ira_change_pseudo_allocno_class)
Add best_class parameter, and return it if not ALL_REGS.
* config/mips/mips.c (mips_ira_change_pseudo_allocno_class):
Add parameter.
* doc/tm.texi (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS):
Update target hook.
From-SVN: r233084
2016-02-02 18:12:56 +01:00
|
|
|
|
2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* ira-costs.c (find_costs_and_classes): Add extra argument.
|
|
|
|
|
* target.def (ira_change_pseudo_allocno_class): Add parameter.
|
|
|
|
|
* targhooks.h (ira_change_pseudo_allocno_class): Likewise.
|
|
|
|
|
* targhooks.c (ira_change_pseudo_allocno_class): Likewise.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_ira_change_pseudo_allocno_class)
|
|
|
|
|
Add best_class parameter, and return it if not ALL_REGS.
|
|
|
|
|
* config/mips/mips.c (mips_ira_change_pseudo_allocno_class):
|
|
|
|
|
Add parameter.
|
|
|
|
|
* doc/tm.texi (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS):
|
|
|
|
|
Update target hook.
|
|
|
|
|
|
2016-02-02 18:03:05 +01:00
|
|
|
|
2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c
|
|
|
|
|
(TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS): New define.
|
|
|
|
|
(aarch64_ira_change_pseudo_allocno_class): New function.
|
|
|
|
|
|
2016-02-02 17:07:24 +01:00
|
|
|
|
2016-02-02 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/67032
|
|
|
|
|
* config/i386/i386.c (geode_cost): Increase cost of MMX and SSE moves.
|
|
|
|
|
|
2016-02-02 17:01:45 +01:00
|
|
|
|
2016-02-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
|
|
|
|
|
* config/avr/avr.c (avr_option_override): Set
|
|
|
|
|
PARAM_ALLOW_STORE_DATA_RACES to 1.
|
|
|
|
|
|
2016-02-02 16:19:32 +01:00
|
|
|
|
2016-02-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69595
|
|
|
|
|
* match.pd: Add range test simplifications to true/false.
|
|
|
|
|
|
2016-02-02 14:53:55 +01:00
|
|
|
|
2016-02-02 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* omp-builtins.def (BUILT_IN_GOACC_HOST_DATA): Remove.
|
|
|
|
|
* omp-low.c (expand_omp_target): Use BUILT_IN_GOACC_DATA_START
|
|
|
|
|
instead.
|
|
|
|
|
|
2016-02-02 13:39:36 +01:00
|
|
|
|
2016-02-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69606
|
|
|
|
|
* tree-ssa-math-opts.c (bswap_replace): Clear flow sensitive
|
|
|
|
|
info on the result before moving a stmt.
|
|
|
|
|
|
2016-02-02 10:46:26 +01:00
|
|
|
|
2016-02-02 Yuri Rumyantsev <ysrumyan@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/68542
|
|
|
|
|
* config/i386/i386.c (ix86_expand_branch): Add support for conditional
|
|
|
|
|
branch with vector comparison.
|
|
|
|
|
* config/i386/sse.md (VI48_AVX): New mode iterator.
|
|
|
|
|
(define_expand "cbranch<mode>4): Add support for conditional branch
|
|
|
|
|
with vector comparison.
|
|
|
|
|
* tree-vect-loop.c (optimize_mask_stores): New function.
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_mask_load_store): Initialize
|
|
|
|
|
has_mask_store field of vect_info.
|
|
|
|
|
* tree-vectorizer.c (vectorize_loops): Invoke optimaze_mask_stores for
|
|
|
|
|
vectorized loops having masked stores after vec_info destroy.
|
|
|
|
|
* tree-vectorizer.h (loop_vec_info): Add new has_mask_store field and
|
|
|
|
|
correspondent macros.
|
|
|
|
|
(optimize_mask_stores): Add prototype.
|
|
|
|
|
|
2016-02-02 02:29:17 +01:00
|
|
|
|
2016-02-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69548
|
|
|
|
|
* config/rs6000/predicates.md (quad_int_reg_operand): Don't
|
|
|
|
|
allow subregs.
|
|
|
|
|
|
2016-02-02 01:01:16 +01:00
|
|
|
|
2016-02-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/68662
|
|
|
|
|
* config/rs6000/rs6000.c (need_toc_init): New var, set it
|
|
|
|
|
whenever toc_label_name used.
|
|
|
|
|
(rs6000_file_start): Don't set up toc section here,
|
|
|
|
|
(rs6000_output_function_epilogue): do so here instead,
|
|
|
|
|
(rs6000_xcoff_file_start): and here.
|
|
|
|
|
* config/rs6000/rs6000.md (load_toc_aix_si): Set need_toc_init.
|
|
|
|
|
(load_toc_aix_di): Likewise.
|
|
|
|
|
|
2016-02-01 23:39:31 +01:00
|
|
|
|
2016-02-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69592
|
|
|
|
|
* rtlanal.c (nonzero_bits_binary_arith_p): New inline function.
|
|
|
|
|
(cached_nonzero_bits): Use it instead of ARITHMETIC_P.
|
|
|
|
|
(num_sign_bit_copies_binary_arith_p): New inline function.
|
|
|
|
|
(cached_num_sign_bit_copies): Use it instead of ARITHMETIC_P.
|
|
|
|
|
|
2016-02-01 23:03:57 +01:00
|
|
|
|
2016-02-01 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2016-02-01 23:05:58 +01:00
|
|
|
|
PR tree-optimization/69580
|
2016-02-01 23:03:57 +01:00
|
|
|
|
* params.def (FSM_MAXIMUM_PHI_ARGUMENTS): New param.
|
|
|
|
|
* tree-ssa-threadbackward.c
|
|
|
|
|
(fsm_find_control_statement_thread_paths): Do not try to walk
|
|
|
|
|
through large PHI nodes.
|
|
|
|
|
|
2016-02-01 20:14:59 +01:00
|
|
|
|
2016-02-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-02-01 21:37:49 +01:00
|
|
|
|
* ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return false
|
|
|
|
|
when count is incremented above limit, don't analyze further
|
|
|
|
|
insns afterwards.
|
|
|
|
|
|
2016-02-01 20:14:59 +01:00
|
|
|
|
* omp-low.c (oacc_parse_default_dims): Avoid
|
|
|
|
|
-Wsign-compare warning, make sure value fits into int
|
|
|
|
|
rather than just unsigned int.
|
|
|
|
|
|
2016-02-01 18:17:47 +01:00
|
|
|
|
2016-02-01 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/67921
|
|
|
|
|
* fold-const.c (split_tree): New parameters. Convert pointer
|
2016-02-02 17:07:24 +01:00
|
|
|
|
type variable part to proper type before negating.
|
2016-02-01 18:17:47 +01:00
|
|
|
|
(fold_binary_loc): Pass new arguments to split_tree.
|
|
|
|
|
|
2016-02-01 17:20:13 +01:00
|
|
|
|
2016-02-01 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/nvptx.c (PTX_GANG_DEFAULT): New.
|
|
|
|
|
(nvptx_goacc_validate_dims): Extend to handle global defaults.
|
|
|
|
|
* target.def (OACC_VALIDATE_DIMS): Extend documentation.
|
|
|
|
|
* doc/tm.texti: Rebuilt.
|
|
|
|
|
* doc/invoke.texi (fopenacc-dim): Document.
|
|
|
|
|
* lto-wrapper.c (merge_and_complain): Add OPT_fopenacc_dim_ case.
|
|
|
|
|
(append_compiler_options): Likewise.
|
|
|
|
|
* omp-low.c (oacc_default_dims, oacc_min_dims): New.
|
|
|
|
|
(oacc_parse_default_dims): New.
|
|
|
|
|
(oacc_validate_dims): Add USED arg. Select non-unity default when
|
|
|
|
|
possible.
|
|
|
|
|
(oacc_loop_fixed_partitions): Return mask of used partitions.
|
|
|
|
|
(oacc_loop_auto_partitions): Emit dump info.
|
|
|
|
|
(oacc_loop_partition): Return mask of used partitions.
|
|
|
|
|
(execute_oacc_device_lower): Parse default dimension arg. Adjust
|
|
|
|
|
loop partitioning and validation calls.
|
|
|
|
|
|
2016-02-01 16:40:23 +01:00
|
|
|
|
2016-02-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69556
|
|
|
|
|
* match.pd: Guard (C1/X)*C2 -> (C1*C2)/X with single_use.
|
|
|
|
|
|
2016-02-01 16:38:08 +01:00
|
|
|
|
2016-02-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69574
|
|
|
|
|
* tree-chrec.c (hide_evolution_in_other_loops_than_loop): Instead
|
|
|
|
|
of asserting return chrec_dont_know.
|
|
|
|
|
|
2016-02-01 14:57:09 +01:00
|
|
|
|
2016-02-01 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* mem-stats-traits.h: Add copyright header.
|
|
|
|
|
* mem-stats.h: Likewise.
|
|
|
|
|
|
2016-02-01 13:39:04 +01:00
|
|
|
|
2016-02-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69579
|
|
|
|
|
* tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling):
|
|
|
|
|
Do not propagate through abnormal PHI results.
|
|
|
|
|
|
2016-02-01 12:04:22 +01:00
|
|
|
|
2016-02-01 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* postreload.c (reload_cse_simplify): Remove dead code.
|
|
|
|
|
|
2016-02-01 09:47:27 +01:00
|
|
|
|
2016-02-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69570
|
|
|
|
|
* ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return true only
|
|
|
|
|
if there is more than one set, not if there is a single set.
|
|
|
|
|
|
2016-02-01 08:32:01 +01:00
|
|
|
|
2016-02-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-opt/69535
|
|
|
|
|
* combine.c (make_compound_operation): When looking through a
|
|
|
|
|
subreg, make sure to re-extend to the width of the outer mode.
|
|
|
|
|
|
2016-01-30 19:04:13 +01:00
|
|
|
|
2016-01-30 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69546
|
|
|
|
|
* wide-int.cc (wi::divmod_internal): For unsigned division
|
|
|
|
|
where both operands fit into uhwi, if o1 is 1 and o0 has
|
|
|
|
|
msb set, if divident_prec is larger than bits per hwi,
|
|
|
|
|
clear another quotient word and return 2 instead of 1.
|
|
|
|
|
Similarly for remainder with msb in HWI set, if dividend_prec
|
|
|
|
|
is larger than bits per hwi.
|
|
|
|
|
|
2016-01-29 23:53:28 +01:00
|
|
|
|
2016-01-29 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa-gen.c (get_memory_order_name): Mask with MEMMODEL_BASE_MASK.
|
|
|
|
|
Use short lowercase names.
|
|
|
|
|
(get_memory_order): Mask with MEMMODEL_BASE_MASK. Support
|
|
|
|
|
MEMMODEL_CONSUME with acquire semantics and MEMMODEL_SEQ_CST with
|
|
|
|
|
acq_rel one. Protect warning agains segfaults if
|
|
|
|
|
get_memory_order_name returns NULL.
|
|
|
|
|
(gen_hsa_ternary_atomic_for_builtin): Support with MEMMODEL_SEQ_CST
|
|
|
|
|
with release semantics. Do not warn if get_memory_order already did.
|
|
|
|
|
(gen_hsa_insns_for_call): Support with MEMMODEL_SEQ_CST with acquire
|
|
|
|
|
semantics. Fix check for relaxed or acquire semantics. Do not warn
|
|
|
|
|
if get_memory_order already did.
|
|
|
|
|
|
2016-01-29 21:26:04 +01:00
|
|
|
|
2016-01-29 Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi: Document that isl-0.16 is supported.
|
|
|
|
|
|
2016-01-29 19:47:17 +01:00
|
|
|
|
2016-01-29 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69299
|
|
|
|
|
* config/i386/constraints.md (Bm): Describe as special memory
|
|
|
|
|
constraint.
|
|
|
|
|
* doc/md.texi (DEFINE_SPECIAL_MEMORY_CONSTRAINT): Describe it.
|
|
|
|
|
* genoutput.c (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
|
|
|
|
|
* genpreds.c (struct constraint_data): Add is_special_memory.
|
|
|
|
|
(have_special_memory_constraints, special_memory_start): New
|
|
|
|
|
static vars.
|
|
|
|
|
(special_memory_end): Ditto.
|
|
|
|
|
(add_constraint): Add new arg is_special_memory. Add code to
|
|
|
|
|
process its true value. Update have_special_memory_constraints.
|
|
|
|
|
(process_define_constraint): Pass the new arg.
|
|
|
|
|
(process_define_register_constraint): Ditto.
|
|
|
|
|
(choose_enum_order): Process special memory.
|
|
|
|
|
(write_tm_preds_h): Generate enum const CT_SPECIAL_MEMORY and
|
|
|
|
|
function insn_extra_special_memory_constraint.
|
|
|
|
|
(main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
|
|
|
|
|
* gensupport.c (process_rtx): Process
|
|
|
|
|
DEFINE_SPECIAL_MEMORY_CONSTRAINT.
|
|
|
|
|
* ira-costs.c (record_reg_classes): Process CT_SPECIAL_MEMORY.
|
|
|
|
|
* ira-lives.c (single_reg_class): Use
|
|
|
|
|
insn_extra_special_memory_constraint.
|
|
|
|
|
* ira.c (ira_setup_alts): Process CT_SPECIAL_MEMORY.
|
|
|
|
|
* lra-constraints.c (process_alt_operands): Ditto.
|
|
|
|
|
(curr_insn_transform): Use insn_extra_special_memory_constraint.
|
|
|
|
|
* recog.c (asm_operand_ok, preprocess_constraints): Process
|
|
|
|
|
CT_SPECIAL_MEMORY.
|
|
|
|
|
* reload.c (find_reloads): Ditto.
|
|
|
|
|
* rtl.def (DEFINE_SPECIFAL_MEMORY_CONSTRAINT): New.
|
|
|
|
|
* stmt.c (parse_input_constraint): Use
|
|
|
|
|
insn_extra_special_memory_constraint.
|
|
|
|
|
|
2016-01-29 19:03:42 +01:00
|
|
|
|
2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/69530
|
|
|
|
|
* lra-splill.c (lra_final_code_change): Revert r229087 by
|
|
|
|
|
removing all sub-registers.
|
|
|
|
|
|
2016-01-29 17:29:58 +01:00
|
|
|
|
2016-01-29 Steve Ellcey <sellcey@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR target/65604
|
|
|
|
|
* config/mips/mips.c (mips_output_division): Check flag_delayed_branch.
|
|
|
|
|
|
2016-01-29 15:14:56 +01:00
|
|
|
|
2016-01-29 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69551
|
|
|
|
|
* config/i386/i386.c (ix86_expand_vector_set) <case V4SImode>: For
|
|
|
|
|
SSE1, copy target into the temporary reg first before recursing
|
|
|
|
|
on it.
|
|
|
|
|
|
2016-01-29 14:03:51 +01:00
|
|
|
|
2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sse.md (sse2_cvtps2pd<mask_name>): Replace vBm
|
|
|
|
|
with vm.
|
|
|
|
|
|
2016-01-29 13:29:42 +01:00
|
|
|
|
2016-01-29 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ginclude/stdarg.h: Test __cplusplus instead of
|
|
|
|
|
__GXX_EXPERIMENTAL_CXX0X__.
|
|
|
|
|
|
2016-01-29 12:21:19 +01:00
|
|
|
|
2016-01-29 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69547
|
|
|
|
|
* tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1):
|
|
|
|
|
Do not mark clobbers necessary.
|
|
|
|
|
(mark_all_reaching_defs_necessary_1): Likewise.
|
|
|
|
|
|
2016-01-29 11:17:03 +01:00
|
|
|
|
2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390-c.c (s390_resolve_overloaded_builtin): Format
|
|
|
|
|
declaration name with %qs and print it in both error messages.
|
|
|
|
|
Also fix indentation.
|
|
|
|
|
|
2016-01-29 11:12:11 +01:00
|
|
|
|
2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR other/69006
|
|
|
|
|
* config/s390/s390-c.c (s390_resolve_overloaded_builtin): Remove
|
|
|
|
|
trailing blank line from error message.
|
|
|
|
|
|
2016-01-29 11:03:26 +01:00
|
|
|
|
2016-01-29 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69462
|
|
|
|
|
* ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG
|
|
|
|
|
for C++-11.
|
|
|
|
|
|
2016-01-29 09:36:04 +01:00
|
|
|
|
2016-01-29 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69537
|
|
|
|
|
* match.pd: Allow all integral types when simplifying a
|
|
|
|
|
widening or sign-changing conversion.
|
|
|
|
|
|
2016-01-29 05:31:40 +01:00
|
|
|
|
2016-01-28 Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (get_rename_from_scev): Revert assert
|
|
|
|
|
back to setting codegen_error to fail codegen.
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
2016-01-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69459
|
|
|
|
|
* config/i386/constraints.md (C): Only accept constant zero operand.
|
|
|
|
|
(BC): New constraint.
|
|
|
|
|
* config/i386/sse.md (*mov<mode>_internal): Use BC constraint
|
|
|
|
|
instead of C constraint.
|
|
|
|
|
* doc/md.texi (Machine Constraints): Update description
|
|
|
|
|
of C constraint.
|
|
|
|
|
|
2016-01-28 23:25:55 +01:00
|
|
|
|
2016-01-28 Steve Ellcey <sellcey@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR target/68400
|
|
|
|
|
* config/mips/mips.c (and_operands_ok): Add MIPS16 check.
|
|
|
|
|
|
2016-01-28 22:01:51 +01:00
|
|
|
|
2016-01-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69542
|
|
|
|
|
* lra-remat.c (calculate_local_reg_remat_bb_data): Only consider
|
|
|
|
|
non-debug insns.
|
|
|
|
|
|
2016-01-28 21:34:49 +01:00
|
|
|
|
2016-01-28 Pat Haugen <pthaugen@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (output_cbranch): Don't statically predict
|
|
|
|
|
branches if using guessed profile.
|
|
|
|
|
|
2016-01-28 19:23:24 +01:00
|
|
|
|
2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* graphite-optimize-isl.c (optimize_isl): Fix dump.
|
|
|
|
|
|
2016-01-28 18:48:22 +01:00
|
|
|
|
2016-01-28 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69305
|
|
|
|
|
* config/aarch64/aarch64-modes.def (CC_Cmode): New
|
|
|
|
|
* config/aarch64/aarch64-protos.h: Update.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_zero_extend_const_eq): New.
|
|
|
|
|
(aarch64_select_cc_mode): Add check for use of CC_Cmode.
|
|
|
|
|
(aarch64_get_condition_code_1): Handle CC_Cmode.
|
|
|
|
|
* config/aarch64/aarch64.md (addti3): Use adddi3_compareC.
|
|
|
|
|
(*add<mode>3_compareC_cconly_imm): New.
|
|
|
|
|
(*add<mode>3_compareC_cconly): New.
|
|
|
|
|
(*add<mode>3_compareC_imm): New.
|
|
|
|
|
(add<mode>3_compareC): New.
|
|
|
|
|
(add<mode>3_carryin, *addsi3_carryin_uxtw): Sort compare operand
|
|
|
|
|
to be first. Use aarch64_carry_operation.
|
|
|
|
|
(*add<mode>3_carryin_alt1, *addsi3_carryin_alt1_uxtw): Remove.
|
|
|
|
|
(*add<mode>3_carryin_alt2, *addsi3_carryin_alt2_uxtw): Remove.
|
|
|
|
|
(*add<mode>3_carryin_alt3, *addsi3_carryin_alt3_uxtw): Remove.
|
|
|
|
|
(subti3): Use subdi3_compare1.
|
|
|
|
|
(*sub<mode>3_compare0): Rename from sub<mode>3_compare0.
|
|
|
|
|
(sub<mode>3_compare1): New.
|
|
|
|
|
(*sub<mode>3_carryin0, *subsi3_carryin_uxtw): New.
|
|
|
|
|
(*sub<mode>3_carryin): Use aarch64_borrow_operation.
|
|
|
|
|
(*subsi3_carryin_uxtw): Likewise.
|
|
|
|
|
(*ngc<mode>, *ngcsi_uxtw): Likewise.
|
|
|
|
|
(*sub<mode>3_carryin_alt, *subsi3_carryin_alt_uxtw): New.
|
|
|
|
|
* config/aarch64/iterators.md (DWI): New.
|
|
|
|
|
* config/aarch64/predicates.md (aarch64_carry_operation): New.
|
|
|
|
|
(aarch64_borrow_operation): New.
|
|
|
|
|
|
2016-01-28 17:39:18 +01:00
|
|
|
|
2016-01-28 Abderrazek Zaafrani <a.zaafrani@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-optimize-isl.c (optimize_isl): Print a different debug
|
|
|
|
|
message when isl does not return a valid schedule.
|
|
|
|
|
|
2016-01-28 17:39:10 +01:00
|
|
|
|
2016-01-28 Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (class translate_isl_ast_to_gimple):
|
|
|
|
|
Remove comments from class declarations: they are already in the code
|
|
|
|
|
close by the defs.
|
|
|
|
|
|
2016-01-28 17:39:01 +01:00
|
|
|
|
2016-01-28 Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* graphite-isl-ast-to-gimple.c (binary_op_to_tree): Call
|
|
|
|
|
codegen_error_p.
|
2016-01-28 17:39:01 +01:00
|
|
|
|
(ternary_op_to_tree): Same.
|
|
|
|
|
(unary_op_to_tree): Same.
|
|
|
|
|
(nary_op_to_tree): Same.
|
|
|
|
|
(gcc_expression_from_isl_expr_op): Same.
|
|
|
|
|
(gcc_expression_from_isl_expression): Same.
|
|
|
|
|
(graphite_create_new_loop): Same.
|
|
|
|
|
(graphite_create_new_loop_guard): Same.
|
|
|
|
|
(build_iv_mapping): Same.
|
|
|
|
|
(graphite_create_new_guard): Same.
|
|
|
|
|
(translate_isl_ast_to_gimple::copy_loop_phi_nodes): Same.
|
|
|
|
|
(translate_isl_ast_to_gimple::translate_pending_phi_nodes): Same.
|
|
|
|
|
|
2016-01-28 17:38:52 +01:00
|
|
|
|
2016-01-28 Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* graphite-isl-ast-to-gimple.c (get_rename_from_scev): Assert
|
|
|
|
|
instead of setting codegen_error to fail codegen.
|
2016-01-28 17:38:52 +01:00
|
|
|
|
|
2016-01-28 16:45:44 +01:00
|
|
|
|
2016-01-28 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tree.h (BINFO_FLAG_0): Rename from BINFO_MARKED.
|
|
|
|
|
|
2016-01-28 16:41:46 +01:00
|
|
|
|
2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_if_then_else_costs):
|
|
|
|
|
Remove CONST_INT_P check in CCMP cost calculation.
|
|
|
|
|
|
2016-01-28 12:52:08 +01:00
|
|
|
|
2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (generic_vector_cost):
|
|
|
|
|
Set vec_permute_cost.
|
|
|
|
|
(cortexa57_vector_cost): Likewise.
|
|
|
|
|
(exynosm1_vector_cost): Likewise.
|
|
|
|
|
(xgene1_vector_cost): Likewise.
|
|
|
|
|
(aarch64_builtin_vectorization_cost): Use vec_permute_cost.
|
|
|
|
|
* config/aarch64/aarch64-protos.h (cpu_vector_cost):
|
|
|
|
|
Add vec_permute_cost entry.
|
|
|
|
|
|
2016-01-28 12:45:06 +01:00
|
|
|
|
2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.md (ccmp<mode>): Disassemble
|
|
|
|
|
immediate as %1.
|
|
|
|
|
(add<mode>3_compare0): Likewise.
|
|
|
|
|
(addsi3_compare0_uxtw): Likewise.
|
|
|
|
|
(add<mode>3nr_compare0): Likewise.
|
|
|
|
|
(compare_neg<mode>): Likewise.
|
|
|
|
|
(<optab><mode>3): Likewise.
|
|
|
|
|
|
2016-01-28 11:09:12 +01:00
|
|
|
|
2016-01-28 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_comparison): Add
|
|
|
|
|
NULL check for vectype.
|
|
|
|
|
|
2016-01-28 10:10:30 +01:00
|
|
|
|
2016-01-28 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69466
|
|
|
|
|
* tree-vect-loop-manip.c (slpeel_duplicate_current_defs_from_edges):
|
|
|
|
|
Account for PHIs we couldn't duplicate.
|
|
|
|
|
|
2016-01-28 09:39:05 +01:00
|
|
|
|
2016-01-28 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR pch/68758
|
|
|
|
|
* ggc-common.c (gt_pch_save): Use ENABLE_VALGRIND_ANNOTATIONS macro
|
|
|
|
|
instead of ENABLE_VALGRIND_CHECKING.
|
|
|
|
|
|
2016-01-27 23:08:02 +01:00
|
|
|
|
2016-01-27 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-opt/69447
|
|
|
|
|
* lra-remat.c (subreg_regs): New.
|
|
|
|
|
(dump_candidates_and_remat_bb_data): Dump it.
|
|
|
|
|
(operand_to_remat): Reject if operand in subreg_regs.
|
|
|
|
|
(set_bb_regs): Collect subreg_regs.
|
|
|
|
|
(lra_remat): Init and free subreg_regs. Compute
|
|
|
|
|
calculate_local_reg_remat_bb_data before create_cands.
|
|
|
|
|
|
2016-01-27 20:54:03 +01:00
|
|
|
|
2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/68986
|
|
|
|
|
* config/i386/i386.c (ix86_update_stack_boundary): Don't
|
|
|
|
|
change stack_alignment_needed for __tls_get_addr call.
|
|
|
|
|
|
2016-01-27 20:44:31 +01:00
|
|
|
|
2016-01-27 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (print_operand): Rollback 's' removal.
|
|
|
|
|
|
2016-01-27 20:19:47 +01:00
|
|
|
|
2016-01-27 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68398
|
|
|
|
|
PR tree-optimization/69196
|
|
|
|
|
* params.def (PARAM_FSM_SCALE_PATH_STMTS): New parameter.
|
|
|
|
|
(PARAM_FSM_SCALE_PATH_BLOCKS): Likewise.
|
|
|
|
|
* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
|
|
|
|
|
Only count PHIs in the last block in the path. The others will
|
|
|
|
|
const/copy propagate away. Add heuristic to allow more irreducible
|
|
|
|
|
subloops to be created when it is likely profitable to do so.
|
|
|
|
|
|
|
|
|
|
* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
|
|
|
|
|
Fix typo in comment. Use gsi_after_labels and remove the GIMPLE_LABEL
|
|
|
|
|
check from within the loop. Use gsi_next_nondebug rather than gsi_next.
|
|
|
|
|
|
2016-01-27 19:48:30 +01:00
|
|
|
|
2016-01-27 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR lto/69254
|
|
|
|
|
* sanitizer.def: Add BEGIN_SANITIZER_BUILTINS and
|
|
|
|
|
END_SANITIZER_BUILTINS markers using DEF_BUILTIN_STUB.
|
|
|
|
|
* asan.c (DEF_BUILTIN_STUB): Temporarily define.
|
|
|
|
|
* tree-streamer-in.c: Include asan.h.
|
|
|
|
|
(streamer_get_builtin_tree): For builtins in sanitizer
|
|
|
|
|
range call initialize_sanitizer_builtins and retry.
|
|
|
|
|
|
2016-01-27 18:42:47 +01:00
|
|
|
|
2016-01-27 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* common.opt (fkeep-gc-roots-live): New undocumented option.
|
|
|
|
|
* tree-ssa-loop-ivopts.c (add_candidate_1): If
|
|
|
|
|
-fkeep-gc-roots-live, skip pointers.
|
|
|
|
|
(add_iv_candidate_for_biv): Handle add_candidate_1 returning
|
|
|
|
|
NULL.
|
|
|
|
|
|
2016-01-27 18:08:00 +01:00
|
|
|
|
2016-01-27 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69512
|
|
|
|
|
* config/i386/i386.md (*zext<mode>_doubleword_and): New pattern.
|
|
|
|
|
(*zext<mode>_doubleword): Disable for TARGET_ZERO_EXTEND_WITH_AND.
|
|
|
|
|
|
2016-01-27 17:54:48 +01:00
|
|
|
|
2016-01-27 Thomas Klausner <wiz@NetBSD.org>
|
|
|
|
|
|
|
|
|
|
PR target/68380
|
|
|
|
|
* configure.ac: NetBSD provides SSP in its C library.
|
|
|
|
|
* configure: Updated.
|
|
|
|
|
|
2016-01-27 15:54:03 +01:00
|
|
|
|
2016-01-27 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69166
|
|
|
|
|
* tree-vect-loop.c (vect_is_simple_reduction): Always check
|
|
|
|
|
reduction code for commutativity / associativity.
|
|
|
|
|
|
2016-01-27 15:51:17 +01:00
|
|
|
|
2016-01-27 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69355
|
|
|
|
|
* tree-sra.c (analyze_access_subtree): Correct hole detection when
|
|
|
|
|
total_scalarization fails.
|
|
|
|
|
|
2016-01-27 14:31:51 +01:00
|
|
|
|
2016-01-27 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/driver-rs6000.c (detect_processor_aix): Add
|
|
|
|
|
power9.
|
|
|
|
|
|
|
|
|
|
2016-01-27 Christian Bruel <christian.bruel@st.com>
|
2016-01-27 14:03:45 +01:00
|
|
|
|
|
|
|
|
|
PR target/69245
|
|
|
|
|
* config/arm/arm-c.c (arm_pragma_target_parse): Add comments.
|
|
|
|
|
Move arm_reset_previous_fndecl and set_target_option_current_node in
|
|
|
|
|
the conditional part. Call save_restore_target_globals.
|
|
|
|
|
* config/arm/arm.c (arm_set_current_function):
|
|
|
|
|
Refactor to better support #pragma target and attribute mix.
|
|
|
|
|
Call save_restore_target_globals.
|
|
|
|
|
* config/arm/arm-protos.h (save_restore_target_globals): New function.
|
|
|
|
|
|
2016-01-27 13:50:05 +01:00
|
|
|
|
2016-01-27 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa.c (hsa_summary_t::link_functions): Create IPA_REF_ADDR
|
|
|
|
|
reference for an HSA kernel and its host function.
|
|
|
|
|
|
2016-01-27 12:40:04 +01:00
|
|
|
|
2016-01-27 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69399
|
|
|
|
|
* wide-int.h (wi::lrshift): For larger precisions, only
|
|
|
|
|
use fast path if shift is known to be < HOST_BITS_PER_WIDE_INT.
|
|
|
|
|
|
2016-01-27 10:29:16 +01:00
|
|
|
|
2016-01-27 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* config/arc/predicates.md (proper_comparison_operator): Reject
|
|
|
|
|
constant-constant comparison.
|
2016-01-27 10:29:16 +01:00
|
|
|
|
|
2016-01-26 23:11:51 +01:00
|
|
|
|
2016-01-26 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69110
|
|
|
|
|
* tree-data-ref.c (initialize_data_dependence_relation): Handle
|
|
|
|
|
DR_NUM_DIMENSIONS == 0.
|
|
|
|
|
|
2016-01-26 23:02:11 +01:00
|
|
|
|
2016-01-26 Abderrazek Zaafrani <a.zaafrani@samsung.com>
|
2016-01-28 23:32:47 +01:00
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
2016-01-26 23:02:11 +01:00
|
|
|
|
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (ternary_op_to_tree): Handle
|
|
|
|
|
isl_ast_op_cond and isl_ast_op_select.
|
|
|
|
|
(gcc_expression_from_isl_expr_op): Same.
|
|
|
|
|
|
2016-01-26 22:34:10 +01:00
|
|
|
|
2016-01-26 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/68782
|
|
|
|
|
* tree.c (recompute_constructor_flags): Split out from
|
|
|
|
|
build_constructor.
|
|
|
|
|
(verify_constructor_flags): New.
|
|
|
|
|
* tree.h: Declare them.
|
|
|
|
|
|
2016-01-26 21:57:37 +01:00
|
|
|
|
2016-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69217
|
|
|
|
|
* var-tracking.c (tracked_record_parameter_p): Don't segfault if there
|
|
|
|
|
are no TYPE_FIELDS set for the record type.
|
|
|
|
|
|
2016-01-26 20:53:37 +01:00
|
|
|
|
2016-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/68662
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_option_override_internal): Initialize
|
|
|
|
|
toc_label_name unconditionally.
|
|
|
|
|
(rs6000_emit_load_toc_table): Call ggc_strdup on toc_label_name for
|
|
|
|
|
SYMBOL_REF string. Use toc_label_name instead of constructing
|
|
|
|
|
LCTOC1.
|
|
|
|
|
(rs6000_elf_declare_function_name): Use toc_label_name instead of
|
|
|
|
|
constructing LCTOC1.
|
|
|
|
|
|
2016-01-26 18:44:38 +01:00
|
|
|
|
2016-01-26 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/69477
|
|
|
|
|
* doc/extend.texi (Common Type Attributes): Move text that talks about
|
|
|
|
|
attribute packed from attribute aligned to the section discussing
|
|
|
|
|
the former attribute for clarity.
|
|
|
|
|
|
2016-01-26 18:29:02 +01:00
|
|
|
|
2016-01-26 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/60908
|
|
|
|
|
* trans-mem.c (tm_region_init): Mark entry block as visited.
|
|
|
|
|
|
2016-01-26 18:08:12 +01:00
|
|
|
|
2016-01-26 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/69006
|
|
|
|
|
* diagnostic-show-locus.c (layout::print_source_line): Replace
|
|
|
|
|
call to pp_newline with call to layout::print_newline.
|
|
|
|
|
(layout::print_annotation_line): Likewise.
|
|
|
|
|
(layout::move_to_column): Likewise.
|
|
|
|
|
(layout::print_any_fixits): After printing any fixits, print a
|
|
|
|
|
trailing newline, if necessary.
|
|
|
|
|
(layout::print_newline): New method, resetting any colorization
|
|
|
|
|
before a newline.
|
|
|
|
|
(diagnostic_show_locus): Move the pp_newline to before the
|
|
|
|
|
early bailout. Remove dummy block enclosing the layout instance.
|
|
|
|
|
* diagnostic.c (default_diagnostic_finalizer): Replace invocation
|
|
|
|
|
of pp_newline_and_flush with pp_flush.
|
|
|
|
|
(diagnostic_append_note): Delete use of pp_newline.
|
|
|
|
|
(diagnostic_append_note_at_rich_loc): Delete.
|
|
|
|
|
* diagnostic.h (diagnostic_append_note_at_rich_loc): Delete.
|
|
|
|
|
* pretty-print.h (output_buffer_append_r): Reset buff->line_length
|
|
|
|
|
when newline characters are added to the buffer.
|
|
|
|
|
|
2016-01-26 17:34:24 +01:00
|
|
|
|
2016-01-26 Michael Matz <matz@suse.de>
|
|
|
|
|
|
|
|
|
|
* configure.ac (ac_cv_std_swap_in_utility): New test.
|
|
|
|
|
* system.h (<algorithm>): Check HAVE_SWAP_IN_UTILITY as well.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
|
2016-01-26 17:06:16 +01:00
|
|
|
|
2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
2016-01-26 17:34:24 +01:00
|
|
|
|
* config/arc/arc.md (cstoresi4): Force operand into register.
|
|
|
|
|
(arcset<code>): Fix predicate.
|
|
|
|
|
(arcsetltu): Likewise.
|
|
|
|
|
(arcsetgeu): Likewise.
|
|
|
|
|
(arcsethi): Likewise.
|
|
|
|
|
(arcsetls): Likewise.
|
2016-01-26 17:06:16 +01:00
|
|
|
|
|
2016-01-26 16:51:51 +01:00
|
|
|
|
2016-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69483
|
|
|
|
|
* gimple-fold.c (canonicalize_constructor_val): Return NULL
|
|
|
|
|
if base has error_mark_node type.
|
|
|
|
|
|
2016-01-26 16:17:00 +01:00
|
|
|
|
2016-01-26 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/68620
|
|
|
|
|
* config/arm/arm.c (neon_valid_immediate): Handle FP16 vectors.
|
|
|
|
|
* config/arm/arm_neon.h (__ARM_NUM_LANES, __arm_lane, arm_lanq):
|
|
|
|
|
New helper macros.
|
|
|
|
|
(vget_lane_f16): Handle big-endian.
|
|
|
|
|
(vgetq_lane_f16): Likewise.
|
|
|
|
|
(vset_lane_f16): Likewise.
|
|
|
|
|
(vsetq_lane_f16): Likewise.
|
|
|
|
|
* config/arm/iterators.md (VQXMOV): Add V8HF.
|
|
|
|
|
(VDQ): Add V4HF and V8HF.
|
|
|
|
|
(V_reg): Handle V4HF and V8HF.
|
|
|
|
|
(Is_float_mode): Likewise.
|
|
|
|
|
* config/arm/neon.md (movv4hf, movv8hf, neon_vdup_nv4hf,
|
|
|
|
|
neon_vdup_nv8hf): New patterns.
|
|
|
|
|
(vec_set<mode>_internal, vec_extract<mode>, neon_vld1_dup<mode>):
|
|
|
|
|
Use VD_LANE iterator.
|
|
|
|
|
(neon_vld1_dup<mode>): Use VQ2 iterator.
|
|
|
|
|
|
2016-01-26 15:32:30 +01:00
|
|
|
|
2016-01-26 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* omp-low.h (oacc_fn_attrib_kernels_p): Declare.
|
|
|
|
|
(set_oacc_fn_attrib): Add IS_KERNEL arg.
|
|
|
|
|
* omp-low.c (set_oacc_fn_attrib): Add IS_KERNEL arg.
|
|
|
|
|
(oacc_fn_attrib_kernels_p, oacc_fn_attrib_level): New.
|
|
|
|
|
(expand_omp_target): Pass is_kernel to set_oacc_fn_attrib.
|
|
|
|
|
(oacc_validate_dims): Add LEVEL arg, don't return level.
|
|
|
|
|
(new_oacc_loop_routine): Use oacc_fn_attrib_level, not
|
|
|
|
|
oacc_validate_dims.
|
|
|
|
|
(execute_oacc_device_lower): Adjust, add more dump output.
|
|
|
|
|
* tree-ssa-loop.c (gate_oacc_kernels): Use
|
|
|
|
|
oacc_fn_attrib_kernels_p.
|
|
|
|
|
* tree-parloops.c (create_parallel_loop): Adjust
|
|
|
|
|
set_oacc_fn_attrib call.
|
|
|
|
|
|
2016-01-26 15:25:56 +01:00
|
|
|
|
2016-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR lto/69254
|
|
|
|
|
* lto-wrapper.c (merge_and_complain): Handle -fcilkplus.
|
|
|
|
|
(append_compiler_options): Handle -fcilkplus.
|
|
|
|
|
(append_linker_options): Ignore -fno-{openmp,openacc,cilkplus}.
|
|
|
|
|
|
2016-01-26 15:02:11 +01:00
|
|
|
|
2016-01-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/66655
|
|
|
|
|
* config/i386/winnt.c (i386_pe_binds_local_p): If a function has
|
|
|
|
|
been marked as DECL_ONE_ONLY but we do not the means to make it
|
|
|
|
|
so, then do not allow it to bind locally.
|
|
|
|
|
|
2016-01-26 14:01:44 +01:00
|
|
|
|
2016-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR lto/69254
|
|
|
|
|
* opts.h (parse_sanitizer_options): New prototype.
|
|
|
|
|
* opts.c (sanitizer_opts): New array.
|
|
|
|
|
(parse_sanitizer_options): New function.
|
|
|
|
|
(common_handle_option): Use parse_sanitizer_options.
|
|
|
|
|
|
2016-01-26 13:51:07 +01:00
|
|
|
|
2016-01-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/68986
|
|
|
|
|
* config/i386/i386.c (ix86_compute_frame_layout): Move stack
|
|
|
|
|
alignment adjustment to ...
|
|
|
|
|
(ix86_update_stack_boundary): Here. Don't over-align stack for
|
|
|
|
|
__tls_get_addr.
|
|
|
|
|
(ix86_finalize_stack_realign_flags): Use stack_alignment_needed
|
|
|
|
|
if __tls_get_addr is called.
|
|
|
|
|
|
2016-01-26 13:45:13 +01:00
|
|
|
|
2016-01-26 Christian Bruel <christian.bruel@st.com>
|
|
|
|
|
|
|
|
|
|
* doc/sourcebuild.texi (arm_crypto_pragma_ok): Remove.
|
|
|
|
|
|
2016-01-26 13:06:36 +01:00
|
|
|
|
2016-01-26 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/ia64/ia64.c (ia64_expand_vecint_compare): Use gen_int_mode.
|
|
|
|
|
|
2016-01-26 13:05:22 +01:00
|
|
|
|
2016-01-26 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69467
|
|
|
|
|
* match.pd: Guard X * CST CMP 0 pattern with single_use.
|
|
|
|
|
|
2016-01-26 12:51:01 +01:00
|
|
|
|
2016-01-26 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69452
|
|
|
|
|
* tree-ssa-loop-im.c (move_computations_dom_walker): Remove.
|
|
|
|
|
(move_computations_dom_walker::before_dom_children): Rename
|
|
|
|
|
to ...
|
|
|
|
|
(move_computations_worker): This.
|
|
|
|
|
(move_computations): Perform an RPO rather than a DOM walk.
|
|
|
|
|
|
2016-01-26 12:12:03 +01:00
|
|
|
|
2016-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69442
|
|
|
|
|
* combine.c (combine_instructions): For REG_EQUAL note with
|
|
|
|
|
SET_DEST being ZERO_EXTRACT, also temporarily set SET_DEST
|
|
|
|
|
to the underlying register.
|
|
|
|
|
* doc/rtl.texi (REG_EQUAL): Document the behavior of
|
|
|
|
|
REG_EQUAL/REG_EQUIV notes if SET_DEST is ZERO_EXTRACT.
|
|
|
|
|
|
2016-01-26 11:04:46 +01:00
|
|
|
|
2016-01-26 Roger Ferrer Ibáñez <rofirrim@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/67896
|
|
|
|
|
* config/aarch64/aarch64-builtins.c
|
|
|
|
|
(aarch64_init_simd_builtin_types): Do not set structural
|
|
|
|
|
equality to __Poly{8,16,64,128}_t types.
|
|
|
|
|
|
2016-01-26 10:53:33 +01:00
|
|
|
|
2016-01-26 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69400
|
|
|
|
|
* wide-int.cc (wi_pack): Take the precision as argument and
|
|
|
|
|
perform canonicalization here rather than in the callers.
|
|
|
|
|
Use the main loop to handle all full-width HWIs. Add a
|
|
|
|
|
zero HWI if in_len isn't a full result.
|
|
|
|
|
(wi::divmod_internal): Update accordingly.
|
|
|
|
|
(wi::mul_internal): Likewise. Simplify.
|
|
|
|
|
|
2016-01-26 01:19:20 +01:00
|
|
|
|
2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-poly.c (apply_poly_transforms): Simplify.
|
|
|
|
|
(print_isl_set): Use more readable format: ISL_YAML_STYLE_BLOCK.
|
|
|
|
|
(print_isl_map): Same.
|
|
|
|
|
(print_isl_union_map): Same.
|
|
|
|
|
(print_isl_schedule): New.
|
|
|
|
|
(debug_isl_schedule): New.
|
|
|
|
|
* graphite-dependences.c (scop_get_reads): Do not call
|
|
|
|
|
isl_union_map_add_map that is undocumented isl functionality.
|
|
|
|
|
(scop_get_must_writes): Same.
|
|
|
|
|
(scop_get_may_writes): Same.
|
|
|
|
|
(scop_get_original_schedule): Remove.
|
|
|
|
|
(scop_get_dependences): Do not call isl_union_map_compute_flow that
|
|
|
|
|
is deprecated in isl 0.15. Instead, use isl_union_access_* interface.
|
|
|
|
|
(compute_deps): Remove.
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (print_schedule_ast): New.
|
|
|
|
|
(debug_schedule_ast): New.
|
2016-01-28 23:32:47 +01:00
|
|
|
|
(translate_isl_ast_to_gimple::scop_to_isl_ast): Call
|
|
|
|
|
set_separate_option.
|
2016-01-26 01:19:20 +01:00
|
|
|
|
(graphite_regenerate_ast_isl): Add dump.
|
|
|
|
|
(translate_isl_ast_to_gimple::scop_to_isl_ast): Generate code
|
|
|
|
|
from scop->transformed_schedule.
|
|
|
|
|
(graphite_regenerate_ast_isl): Add more dump.
|
|
|
|
|
* graphite-optimize-isl.c (optimize_isl): Set
|
|
|
|
|
scop->transformed_schedule. Check whether schedules are equal.
|
|
|
|
|
(apply_poly_transforms): Move here.
|
|
|
|
|
* graphite-poly.c (apply_poly_transforms): ... from here.
|
|
|
|
|
(free_poly_bb): Static.
|
|
|
|
|
(free_scop): Static.
|
|
|
|
|
(pbb_number_of_iterations_at_time): Remove.
|
|
|
|
|
(print_isl_ast): New.
|
|
|
|
|
(debug_isl_ast): New.
|
|
|
|
|
(debug_scop_pbb): New.
|
|
|
|
|
* graphite-scop-detection.c (print_edge): Move.
|
|
|
|
|
(print_sese): Move.
|
|
|
|
|
* graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Remove.
|
|
|
|
|
(build_scop_scattering): Remove.
|
|
|
|
|
(create_pw_aff_from_tree): Assert instead of bailing out.
|
|
|
|
|
(add_condition_to_pbb): Remove unused code, do not fail.
|
|
|
|
|
(add_conditions_to_domain): Same.
|
|
|
|
|
(add_conditions_to_constraints): Remove.
|
|
|
|
|
(build_scop_context): New.
|
|
|
|
|
(add_iter_domain_dimension): New.
|
|
|
|
|
(build_iteration_domains): Initialize pbb->iterators.
|
|
|
|
|
Call add_conditions_to_domain.
|
|
|
|
|
(nested_in): New.
|
|
|
|
|
(loop_at): New.
|
|
|
|
|
(index_outermost_in_loop): New.
|
|
|
|
|
(index_pbb_in_loop): New.
|
|
|
|
|
(outermost_pbb_in): New.
|
|
|
|
|
(add_in_sequence): New.
|
|
|
|
|
(add_outer_projection): New.
|
|
|
|
|
(outer_projection_mupa): New.
|
|
|
|
|
(add_loop_schedule): New.
|
|
|
|
|
(build_schedule_pbb): New.
|
|
|
|
|
(build_schedule_loop): New.
|
|
|
|
|
(embed_in_surrounding_loops): New.
|
|
|
|
|
(build_schedule_loop_nest): New.
|
|
|
|
|
(build_original_schedule): New.
|
|
|
|
|
(build_poly_scop): Call build_original_schedule.
|
|
|
|
|
* graphite.h: Declare print_isl_schedule and debug_isl_schedule.
|
|
|
|
|
(free_poly_dr): Remove.
|
|
|
|
|
(struct poly_bb): Add iterators. Remove schedule, transformed, saved.
|
|
|
|
|
(free_poly_bb): Remove.
|
|
|
|
|
(debug_loop_vec): Remove.
|
|
|
|
|
(print_isl_ast): Declare.
|
|
|
|
|
(debug_isl_ast): Declare.
|
|
|
|
|
(scop_do_interchange): Remove.
|
|
|
|
|
(scop_do_strip_mine): Remove.
|
|
|
|
|
(scop_do_block): Remove.
|
|
|
|
|
(flatten_all_loops): Remove.
|
|
|
|
|
(optimize_isl): Remove.
|
|
|
|
|
(pbb_number_of_iterations_at_time): Remove.
|
|
|
|
|
(debug_scop_pbb): Declare.
|
|
|
|
|
(print_schedule_ast): Declare.
|
|
|
|
|
(debug_schedule_ast): Declare.
|
|
|
|
|
(struct scop): Remove schedule. Add original_schedule,
|
|
|
|
|
transformed_schedule.
|
|
|
|
|
(free_gimple_poly_bb): Remove.
|
|
|
|
|
(print_generated_program): Remove.
|
|
|
|
|
(debug_generated_program): Remove.
|
|
|
|
|
(unify_scattering_dimensions): Remove.
|
|
|
|
|
* sese.c (print_edge): ... here.
|
|
|
|
|
(print_sese): ... here.
|
|
|
|
|
(debug_edge): ... here.
|
|
|
|
|
(debug_sese): ... here.
|
|
|
|
|
* sese.h (print_edge): Declare.
|
|
|
|
|
(print_sese): Declare.
|
|
|
|
|
(dump_edge): Declare.
|
|
|
|
|
(dump_sese): Declare.
|
|
|
|
|
|
2016-01-26 01:19:11 +01:00
|
|
|
|
2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Set ISLVER in site.exp.
|
|
|
|
|
|
2016-01-25 22:34:06 +01:00
|
|
|
|
2016-01-25 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (lower_omp_target) <case USE_DEVICE_PTR>: Set
|
|
|
|
|
DECL_VALUE_EXPR of new_var even for the non-array case. Look
|
|
|
|
|
through DECL_VALUE_EXPR for expansion.
|
|
|
|
|
|
2016-01-25 21:33:52 +01:00
|
|
|
|
2016-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips.c (mips_compute_frame_info): Skip re-computing
|
|
|
|
|
the frame info after reload completed.
|
|
|
|
|
|
2016-01-25 20:19:09 +01:00
|
|
|
|
2016-01-25 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69196
|
|
|
|
|
PR tree-optimization/68398
|
|
|
|
|
* tree-ssa-threadupdate.h (enum bb_dom_status): Moved here from
|
|
|
|
|
tree-ssa-threadupdate.c.
|
|
|
|
|
(determine_bb_domination_status): Prototype
|
|
|
|
|
* tree-ssa-threadupdate.c (enum bb_dom_status): Remove
|
|
|
|
|
(determine_bb_domination_status): No longer static.
|
|
|
|
|
(valid_jump_thread_path): Remove code to detect characteristics
|
|
|
|
|
of the jump thread path not associated with correctness.
|
|
|
|
|
* tree-ssa-threadbackward.c (fsm_find_control_statment_thread_paths):
|
|
|
|
|
Correct test for thread path length. Count PHIs for real operands as
|
|
|
|
|
statements that need to be copied. Do not count ASSERT_EXPRs.
|
|
|
|
|
Look at all the blocks in the thread path. Compute and selectively
|
|
|
|
|
filter thread paths based on threading through the latch, threading
|
|
|
|
|
a multiway branch or crossing a multiway branch.
|
|
|
|
|
|
2016-01-25 15:06:28 +01:00
|
|
|
|
2016-01-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): Add
|
|
|
|
|
decl with __attribute__ ((unused)) annotation.
|
|
|
|
|
|
2016-01-25 13:48:54 +01:00
|
|
|
|
2016-01-25 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69421
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_condition): Check vectype
|
|
|
|
|
of operands is compatible with a statement vectype.
|
|
|
|
|
|
2016-01-25 12:42:25 +01:00
|
|
|
|
2016-01-25 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (scalar_storage_order type attribute): Fix typo and
|
|
|
|
|
improve wording for mixed storage order support.
|
|
|
|
|
|
2016-01-25 12:32:07 +01:00
|
|
|
|
2016-01-25 Bilyan Borisov <bilyan.borisov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/arm_neon.h (vcvt_s64_f64): New intrinsic.
|
|
|
|
|
(vcvt_u64_f64): Likewise.
|
|
|
|
|
(vcvta_s64_f64): Likewise.
|
|
|
|
|
(vcvta_u64_f64): Likewise.
|
|
|
|
|
(vcvtm_s64_f64): Likewise.
|
|
|
|
|
(vcvtm_u64_f64): Likewise.
|
|
|
|
|
(vcvtn_s64_f64): Likewise.
|
|
|
|
|
(vcvtn_u64_f64): Likewise.
|
|
|
|
|
(vcvtp_s64_f64): Likewise.
|
|
|
|
|
(vcvtp_u64_f64): Likewise.
|
|
|
|
|
|
2016-01-25 12:15:58 +01:00
|
|
|
|
2016-01-25 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (TARGET_DWARF_REGISTER_SPAN): Define.
|
|
|
|
|
(arc_init): Check validity mll64 option.
|
|
|
|
|
(arc_save_restore): Use double load/store instruction.
|
|
|
|
|
(arc_expand_movmem): Likewise.
|
|
|
|
|
(arc_split_move): Don't split if we have double load/store
|
|
|
|
|
instructions. Returns a boolean.
|
|
|
|
|
(arc_process_double_reg_moves): Change function to return boolean
|
|
|
|
|
instead of a sequence of instructions.
|
|
|
|
|
(arc_dwarf_register_span): New function.
|
|
|
|
|
* config/arc/arc-protos.h (arc_split_move): Change prototype.
|
|
|
|
|
* config/arc/arc.h (TARGET_CPU_CPP_BUILTINS): Define __ARC_LL64__.
|
|
|
|
|
* config/arc/arc.md (*movdi_insn): Emit ldd/std instructions.
|
|
|
|
|
(*movdf_insn): Likewise.
|
|
|
|
|
* config/arc/arc.opt (mll64): New option.
|
|
|
|
|
* config/arc/predicates.md (even_register_operand): New predicate.
|
|
|
|
|
* doc/invoke.texi (ARC Options): Add mll64 documentation.
|
|
|
|
|
|
2016-01-25 10:31:47 +01:00
|
|
|
|
2016-01-25 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR lto/69393
|
|
|
|
|
* dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS.
|
|
|
|
|
* tree-streamer-out.c (pack_ts_base_value_fields): Stream
|
|
|
|
|
DECL_NAMELESS.
|
|
|
|
|
* tree-streamer-in.c (unpack_ts_base_value_fields): Likewise.
|
|
|
|
|
|
2016-01-25 10:05:47 +01:00
|
|
|
|
2016-01-25 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69376
|
|
|
|
|
* tree-ssa-sccvn.h (struct vn_ssa_aux): Add range_info_anti_range_p
|
|
|
|
|
flag.
|
|
|
|
|
(VN_INFO_ANTI_RANGE_P): New inline.
|
|
|
|
|
(VN_INFO_RANGE_TYPE): Likewise.
|
|
|
|
|
* tree-ssa-sccvn.c (set_ssa_val_to): Also record and copy
|
|
|
|
|
SSA_NAME_ANTI_RANGE_P.
|
|
|
|
|
(free_scc_vn): Restore SSA_NAME_ANTI_RANGE_P.
|
|
|
|
|
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
|
|
|
|
|
Properly query VN_INFO_RANGE_TYPE.
|
|
|
|
|
|
2016-01-25 09:57:02 +01:00
|
|
|
|
2016-01-25 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/66655
|
|
|
|
|
* config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Remove definition.
|
|
|
|
|
|
2016-01-23 21:28:17 +01:00
|
|
|
|
2016-01-23 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69426
|
|
|
|
|
* tree-parloops.c (eliminate_local_variables_stmt): Handle vdef of
|
|
|
|
|
removed clobber.
|
|
|
|
|
|
2016-01-23 10:54:19 +01:00
|
|
|
|
2016-01-23 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-01-23 15:13:53 +01:00
|
|
|
|
* tree-ssanames.c (release_free_names_and_compact_live_names): Replace
|
|
|
|
|
"the the" with "the" in the comments.
|
|
|
|
|
* ipa-devirt.c (build_type_inheritance_graph,
|
|
|
|
|
update_type_inheritance_graph): Likewise.
|
|
|
|
|
* tree.c (build_function_type_list_1): Likewise.
|
|
|
|
|
* cfgloopmanip.c (scale_loop_profile): Likewise.
|
|
|
|
|
* tree-ssa-loop-ivopts.c (get_shiftadd_cost): Likewise.
|
|
|
|
|
* gimple-ssa-split-paths.c
|
|
|
|
|
(find_block_to_duplicate_for_splitting_paths): Likewise.
|
|
|
|
|
* tree-sra.c (init_subtree_with_zero, clobber_subtree): Likewise.
|
|
|
|
|
* expr.c (convert_move): Likewise.
|
|
|
|
|
* var-tracking.c (vt_stack_adjustments): Likewise.
|
|
|
|
|
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise.
|
|
|
|
|
* tree-vrp.c (test_for_singularity): Likewise.
|
|
|
|
|
|
2016-01-23 10:54:53 +01:00
|
|
|
|
* tree-vect-stmts.c (vectorizable_condition): Build a VEC_COND_EXPR
|
|
|
|
|
directly instead of building a temporary tree.
|
|
|
|
|
|
2016-01-23 10:54:19 +01:00
|
|
|
|
PR bootstrap/69434
|
|
|
|
|
* genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
|
|
|
|
|
remove <algorithm> include.
|
|
|
|
|
|
2016-01-23 00:14:27 +01:00
|
|
|
|
2016-01-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69432
|
|
|
|
|
* config/i386/i386.c: Include dojump.h.
|
|
|
|
|
(expand_small_movmem_or_setmem,
|
|
|
|
|
expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
|
|
|
|
|
fixes.
|
|
|
|
|
(ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
|
|
|
|
|
if dynamic_check != -1.
|
|
|
|
|
|
2016-01-22 21:18:59 +01:00
|
|
|
|
2016-01-21 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69347
|
|
|
|
|
* tree-ssa-dom.c (back_propagate_equivalences): Factored out of
|
|
|
|
|
record_temporary_equivalences. Rewritten to avoid unnecessary calls
|
|
|
|
|
into dominated_by_p.
|
|
|
|
|
(cprop_into_successor_phis): Avoid unnecessary tests.
|
|
|
|
|
|
2016-01-22 18:21:41 +01:00
|
|
|
|
2016-01-22 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69416
|
|
|
|
|
* config/aarch64/aarch64.md (UNSPEC_NZCV): New.
|
|
|
|
|
(ccmp<mode>, fccmp<mode>, fccmpe<mode>): Use it.
|
|
|
|
|
|
2016-01-22 17:44:10 +01:00
|
|
|
|
2016-01-22 Michael Matz <matz@suse.de>
|
|
|
|
|
|
|
|
|
|
* system.h (string, algorithm): Include only conditionally.
|
|
|
|
|
(new): Include always under C++.
|
|
|
|
|
* bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
|
|
|
|
|
* final.c (toplevel): Ditto.
|
|
|
|
|
* ipa-chkp.c (toplevel): Define INCLUDE_STRING.
|
|
|
|
|
* genconditions.c (write_header): Make gencondmd.c define
|
|
|
|
|
INCLUDE_STRING.
|
|
|
|
|
* mem-stats.h (mem_usage::print_dash_line): Don't use std::string.
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
|
|
|
|
|
* common/config/aarch64/aarch64-common.c (toplevel): Ditto.
|
|
|
|
|
|
2016-01-22 15:16:47 +01:00
|
|
|
|
2016-01-22 Christian Bruel <christian.bruel@st.com>
|
|
|
|
|
|
|
|
|
|
PR target/68674
|
|
|
|
|
* expr.c (expand_expr_real_1): Reset DECL_MODE if VECTOR_TYPE_P changed.
|
|
|
|
|
|
2016-01-22 14:58:11 +01:00
|
|
|
|
2016-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69403
|
|
|
|
|
* config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
|
|
|
|
|
define_insn_and_split. Ensure operands[1] and operands[0] do not
|
|
|
|
|
get assigned the same register.
|
|
|
|
|
|
2016-01-22 13:09:58 +01:00
|
|
|
|
2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
|
|
|
|
|
|
|
|
|
|
* ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
|
|
|
|
|
|
2016-01-22 12:20:08 +01:00
|
|
|
|
2016-01-22 Christian Bruel <christian.bruel@st.com>
|
|
|
|
|
|
2016-01-22 12:24:47 +01:00
|
|
|
|
* config/arm/arm-c.c (arm_pragma_target_parse):
|
2016-01-22 12:20:08 +01:00
|
|
|
|
Remove warn_builtin_macro_redefined overwrite.
|
|
|
|
|
|
2016-01-22 12:06:06 +01:00
|
|
|
|
2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ipa-inline.c (can_inline_edge_p): Back out overzealous check on
|
|
|
|
|
flag_non_call_exceptions compatibility.
|
|
|
|
|
|
2016-01-22 10:40:54 +01:00
|
|
|
|
2016-01-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/66668
|
|
|
|
|
* dwarf2out.c (add_child_die_after): New function.
|
|
|
|
|
(dwarf_qual_info_t): New type.
|
|
|
|
|
(dwarf_qual_info): New variable.
|
|
|
|
|
(qualified_die_p): New function.
|
|
|
|
|
(modified_type_die): For -fdebug-types-section, ensure
|
|
|
|
|
canonical order of qualifiers. Put qualified DIEs adjacent
|
|
|
|
|
to the corresponding non-qualified type DIE and search there
|
|
|
|
|
for existing qualified DIEs.
|
|
|
|
|
|
2016-01-22 10:25:58 +01:00
|
|
|
|
2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (scalar_storage_order type attribute): Document
|
|
|
|
|
restriction on type punning and aliasing, and remove future tense.
|
|
|
|
|
|
2016-01-21 23:58:29 +01:00
|
|
|
|
2016-01-21 Roman Zhuykov <zhroma@ispras.ru>
|
|
|
|
|
|
|
|
|
|
PR target/69252
|
|
|
|
|
* modulo-sched.c (optimize_sc): Allow branch-scheduling to add a new
|
|
|
|
|
first stage.
|
|
|
|
|
|
2016-01-21 23:21:55 +01:00
|
|
|
|
2016-01-21 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69347
|
|
|
|
|
* tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
|
|
|
|
|
useless call to record_temporary_equivalences.
|
|
|
|
|
* tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
|
|
|
|
|
allocate 10 slots in the bb_path vector and let it grow as needed.
|
|
|
|
|
(fsm_find_control_statement_thread_paths): Similarly for the next_path
|
|
|
|
|
vector.
|
|
|
|
|
|
2016-01-21 19:50:17 +01:00
|
|
|
|
2016-01-21 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
|
|
|
|
|
Detangle.
|
2016-01-21 19:51:21 +01:00
|
|
|
|
* configure: Regenerate.
|
2016-01-21 19:50:17 +01:00
|
|
|
|
|
2016-01-21 19:30:29 +01:00
|
|
|
|
2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
|
|
|
|
|
* config/rs6000/driver-rs6000.c (struct asm_names): Likewise.
|
|
|
|
|
|
2016-01-21 19:10:03 +01:00
|
|
|
|
2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/66178
|
|
|
|
|
* expr.c (expand_expr_real_2) [PLUS_EXPR, MINUS_EXPR]: Don't
|
|
|
|
|
drop EXPAND_INITIALIZER.
|
|
|
|
|
* rtl.h (contains_symbolic_reference_p): Declare.
|
|
|
|
|
* rtlanal.c (contains_symbolic_reference_p): New function.
|
|
|
|
|
* simplify-rtx.c (simplify_binary_operation_1): Don't turn
|
|
|
|
|
a subtraction into a NOT if symbolic constants are involved.
|
|
|
|
|
|
2016-01-21 18:32:28 +01:00
|
|
|
|
2016-01-21 Anton Blanchard <anton@samba.org>
|
|
|
|
|
Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/63354
|
|
|
|
|
* config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
|
|
|
|
|
#define.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
|
|
|
|
|
function.
|
|
|
|
|
|
2016-01-21 18:15:52 +01:00
|
|
|
|
2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
|
|
|
|
|
|
|
|
|
|
* config/microblaze/microblaze.c
|
|
|
|
|
(get_branch_target): New.
|
|
|
|
|
(insert_wic_for_ilb_runout): New.
|
|
|
|
|
(insert_wic): New.
|
|
|
|
|
(microblaze_machine_dependent_reorg): New.
|
|
|
|
|
(TARGET_MACHINE_DEPENDENT_REORG): Define macro.
|
|
|
|
|
* config/microblaze/microblaze.md
|
|
|
|
|
(UNSPEC_IPREFETCH): Define.
|
|
|
|
|
(iprefetch): New pattern
|
|
|
|
|
* config/microblaze/microblaze.opt
|
|
|
|
|
(mxl-prefetch): New flag.
|
|
|
|
|
|
2016-01-21 18:10:54 +01:00
|
|
|
|
2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
|
|
|
|
|
|
|
|
|
|
* config/microblaze/microblaze.h
|
|
|
|
|
(FIXED_REGISTERS): Update in macro.
|
|
|
|
|
(CALL_USED_REGISTERS): Update in macro.
|
|
|
|
|
|
2016-01-21 17:05:14 +01:00
|
|
|
|
2016-01-21 Yuri Rumyantsev <ysrumyan@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68920
|
|
|
|
|
* ifcvt.c (cond_move_process_if_block): Limit number of conditional
|
|
|
|
|
moves.
|
|
|
|
|
|
2016-01-21 17:01:22 +01:00
|
|
|
|
2016-01-21 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68990
|
|
|
|
|
* lra-coalesce.c (lra_coalesce): Invalidate value for the result
|
|
|
|
|
pseudo instead of inheritance ones.
|
|
|
|
|
|
2016-01-22 20:41:04 +01:00
|
|
|
|
2016-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
2016-01-21 15:07:01 +01:00
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69129
|
|
|
|
|
PR target/69012
|
|
|
|
|
* config/mips/mips.c (mips_compute_frame_info): Initialise
|
|
|
|
|
args_size and hard_frame_pointer_offset fields of the frame
|
|
|
|
|
structure before calling mips_global_pointer.
|
|
|
|
|
|
2016-01-21 14:53:28 +01:00
|
|
|
|
2016-01-21 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (gcc_cv_as_dwloc): Test support for debug frame section
|
|
|
|
|
label reference.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2016-01-21 11:50:30 +01:00
|
|
|
|
2016-01-21 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* graphite-optimize-isl.c (get_schedule_map): Fix typo.
|
|
|
|
|
|
2016-01-21 10:55:38 +01:00
|
|
|
|
2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_asm_declare_function_size): Add code
|
|
|
|
|
to actually emit the .size directive.
|
|
|
|
|
|
2016-01-21 10:52:46 +01:00
|
|
|
|
2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69187
|
|
|
|
|
PR target/65624
|
|
|
|
|
* config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
|
|
|
|
|
args array size by one to avoid buffer overflow.
|
|
|
|
|
|
2016-01-21 10:45:42 +01:00
|
|
|
|
2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md (pool_section_start): Use switch_to_section
|
|
|
|
|
to select proper read-only data section instead of hardcoding
|
|
|
|
|
.rodata.
|
|
|
|
|
(pool_section_end): Use switch_to_section to match the above.
|
|
|
|
|
|
2016-01-21 09:50:38 +01:00
|
|
|
|
2016-01-21 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
PR tree-optimization/69378
|
2016-01-21 09:50:38 +01:00
|
|
|
|
* tree-ssa-sccvn.c (dominated_by_p_w_unex): New function.
|
|
|
|
|
(set_ssa_val_to): Use it for dominance checks taking into
|
|
|
|
|
account not executable edges.
|
|
|
|
|
|
2016-01-21 08:59:32 +01:00
|
|
|
|
2016-01-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69355
|
|
|
|
|
* tree-dfa.c (get_ref_base_and_extent): Use GET_MODE_BITSIZE (mode)
|
|
|
|
|
for bitsize instead of GET_MODE_PRECISION (mode).
|
|
|
|
|
|
2016-01-21 04:38:32 +01:00
|
|
|
|
2016-01-20 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/52291
|
|
|
|
|
* extend.texi (__sync Builtins): Clarify the semantics of
|
|
|
|
|
__sync_fetch_and_OP built-ins on pointers.
|
|
|
|
|
(__atomic Builtins): Same.
|
|
|
|
|
|
2016-01-21 03:14:12 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (enum phi_node_kind): New.
|
|
|
|
|
(class translate_isl_ast_to_gimple): Use phi_node_kind instead of bool.
|
|
|
|
|
(is_valid_rename): Same.
|
|
|
|
|
(translate_isl_ast_to_gimple::get_rename): Same.
|
|
|
|
|
(translate_isl_ast_to_gimple::rename_all_uses): Same.
|
|
|
|
|
(translate_isl_ast_to_gimple::rename_uses): Same.
|
|
|
|
|
(get_new_name): Check for close_phi nodes.
|
|
|
|
|
(copy_loop_phi_args): Use phi_node_kind.
|
|
|
|
|
(translate_isl_ast_to_gimple::copy_loop_close_phi_args): Same.
|
|
|
|
|
(translate_isl_ast_to_gimple::copy_cond_phi_args): Same.
|
|
|
|
|
|
2016-01-21 03:14:01 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
Revert commit r229783.
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
|
|
|
|
|
Remove use of parameter_rename_map.
|
|
|
|
|
(copy_def): Remove.
|
|
|
|
|
(copy_internal_parameters): Remove.
|
|
|
|
|
(graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
|
|
|
|
|
* sese.c (new_sese_info): Do not initialize parameter_rename_map.
|
|
|
|
|
(free_sese_info): Do not free parameter_rename_map.
|
|
|
|
|
(set_rename): Do not use parameter_rename_map.
|
|
|
|
|
(rename_uses): Update call to set_rename.
|
|
|
|
|
(graphite_copy_stmts_from_block): Do not use parameter_rename_map.
|
|
|
|
|
* sese.h (parameter_rename_map_t): Remove.
|
|
|
|
|
(struct sese_info_t): Remove field parameter_rename_map.
|
|
|
|
|
|
2016-01-21 03:13:52 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* graphite-isl-ast-to-gimple.c: Fix comment.
|
|
|
|
|
* graphite-scop-detection.c (defined_in_loop_p): New.
|
|
|
|
|
(canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
|
|
|
|
|
names defined in loop.
|
2016-01-21 03:13:52 +01:00
|
|
|
|
|
2016-01-21 03:13:42 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
|
|
|
|
|
Discard unstructured if-then-else regions.
|
|
|
|
|
|
2016-01-21 03:13:33 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
|
|
|
|
|
(cleanup_loop_iter_dom): Remove.
|
|
|
|
|
(build_loop_iteration_domains): Remove.
|
|
|
|
|
(build_scop_context): Remove.
|
|
|
|
|
(build_scop_iteration_domain): Remove.
|
|
|
|
|
(add_loop_constraints): New.
|
|
|
|
|
(build_iteration_domains): New.
|
|
|
|
|
(build_poly_scop): Call build_iteration_domains.
|
2016-01-21 03:13:33 +01:00
|
|
|
|
|
2016-01-21 03:13:24 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* graphite-scop-detection.c
|
|
|
|
|
(scop_detection::harmful_loop_in_region): Free dom and loops.
|
|
|
|
|
(scop_detection::loop_body_is_valid_scop): Free bbs.
|
2016-01-21 03:13:24 +01:00
|
|
|
|
|
2016-01-21 03:13:14 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-scop-detection.c (record_loop_in_sese): New.
|
|
|
|
|
(gather_bbs::before_dom_children): Call record_loop_in_sese.
|
|
|
|
|
(build_scops): Remove call to build_sese_loop_nests.
|
|
|
|
|
* sese.c (sese_record_loop): Remove.
|
|
|
|
|
(build_sese_loop_nests): Remove.
|
|
|
|
|
(new_sese_info): Remove region->loops.
|
|
|
|
|
(free_sese_info): Same.
|
|
|
|
|
* sese.h (sese_contains_loop): Same.
|
|
|
|
|
(build_sese_loop_nests): Remove.
|
|
|
|
|
(sese_contains_loop): Remove.
|
|
|
|
|
|
2016-01-21 03:13:05 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* graphite-scop-detection.c (loop_is_valid_scop): Renamed
|
|
|
|
|
loop_is_valid_in_scop.
|
|
|
|
|
(scop_detection::harmful_stmt_in_region): Renamed
|
|
|
|
|
harmful_loop_in_region.
|
2016-01-21 03:13:05 +01:00
|
|
|
|
Call loop_is_valid_in_scop.
|
|
|
|
|
|
2016-01-21 03:12:56 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
|
|
|
|
|
isl_ast_node_mark.
|
|
|
|
|
|
2016-01-21 03:12:37 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
|
|
|
|
|
* graphite.h (struct poly_bb): Remove field is_reduction.
|
2016-01-28 23:32:47 +01:00
|
|
|
|
(PBB_IS_REDUCTION): Remove.
|
2016-01-21 03:12:37 +01:00
|
|
|
|
|
2016-01-21 03:12:26 +01:00
|
|
|
|
2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
|
|
|
|
|
Sebastian Pop <s.pop@samsung.com>
|
|
|
|
|
|
|
|
|
|
* graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
|
|
|
|
|
(add_pdr_constraints): Same.
|
|
|
|
|
(scop_get_reads): Same.
|
|
|
|
|
(scop_get_must_writes): Same.
|
|
|
|
|
(scop_get_may_writes): Same.
|
|
|
|
|
(scop_get_original_schedule): Same.
|
|
|
|
|
(extend_schedule): Same.
|
|
|
|
|
(apply_schedule_on_deps): Same.
|
|
|
|
|
(carries_deps): Same.
|
|
|
|
|
(compute_deps): Same.
|
|
|
|
|
(scop_get_dependences): Same.
|
|
|
|
|
* graphite-isl-ast-to-gimple.c
|
|
|
|
|
(translate_isl_ast_to_gimple::generate_isl_schedule): Same.
|
|
|
|
|
* graphite-optimize-isl.c (get_schedule_for_band): Same.
|
|
|
|
|
(get_schedule_for_band_list): Same.
|
|
|
|
|
(get_schedule_map): Same.
|
|
|
|
|
(apply_schedule_map_to_scop): Same.
|
|
|
|
|
* graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
|
|
|
|
|
(build_loop_iteration_domains): Same.
|
|
|
|
|
(add_condition_to_pbb): Same.
|
|
|
|
|
(add_param_constraints): Same.
|
|
|
|
|
(pdr_add_memory_accesses): Same.
|
|
|
|
|
(pdr_add_data_dimensions): Same.
|
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-21 02:03:42 +01:00
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
|
|
|
|
|
requirements.
|
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-21 01:59:54 +01:00
|
|
|
|
|
|
|
|
|
* common.opt (feliminate-dwarf2-dups): Replace references to
|
|
|
|
|
"DWARF 2" with just "DWARF".
|
|
|
|
|
* config/ia64/ia64.opt (mdwarf2-asm): Likewise.
|
|
|
|
|
* doc/extend.texi: Likewise.
|
|
|
|
|
* doc/cpp.texi: Likewise.
|
|
|
|
|
* doc/invoke.texi: Likewise.
|
|
|
|
|
(Option Summary): Add -gdwarf to list of Debugging Options.
|
|
|
|
|
(Debugging Options): Document -gdwarf.
|
|
|
|
|
* doc/contrib.texi: Spell "DWARF" like that.
|
|
|
|
|
|
2016-01-21 00:43:58 +01:00
|
|
|
|
2016-01-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-01-21 00:55:38 +01:00
|
|
|
|
* omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
|
|
|
|
|
warning. Fix up formatting.
|
|
|
|
|
|
2016-01-21 00:43:58 +01:00
|
|
|
|
PR middle-end/67653
|
|
|
|
|
* gimplify.c (gimplify_asm_expr): Warn if it is too late to
|
|
|
|
|
attempt to mark memory input operand addressable and
|
|
|
|
|
call prepare_gimple_addressable in that case. Don't adjust
|
|
|
|
|
input_location for diagnostics, use error_at instead.
|
|
|
|
|
|
2016-01-20 21:30:24 +01:00
|
|
|
|
2016-01-20 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/ppc-auxv.h: New file.
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
|
|
|
|
|
(cpu_is): Likewise.
|
|
|
|
|
(cpu_supports): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.c: include "ppc-auxv.h".
|
|
|
|
|
(cpu_is_info): New variable.
|
|
|
|
|
(cpu_supports_info): Likewise.
|
|
|
|
|
(tcb_verification_symbol): Likewise.
|
|
|
|
|
(cpu_builtin_p): Likewise.
|
|
|
|
|
(cpu_expand_builtin): New function.
|
|
|
|
|
(rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
|
|
|
|
|
(rs6000_init_builtins): Likewise.
|
|
|
|
|
(rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
|
|
|
|
|
* config/rs6000/rs6000.h (TLS_REGNUM): New define.
|
|
|
|
|
* configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Likewise.
|
|
|
|
|
* doc/extend.texi (PowerPC Built-in Functions): Document
|
|
|
|
|
__builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
|
|
|
|
|
|
2016-01-20 20:39:08 +01:00
|
|
|
|
2016-01-20 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/68609
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
|
|
|
|
|
domain check.
|
|
|
|
|
* config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
|
|
|
|
|
for V4SFmode.
|
|
|
|
|
|
2016-01-20 19:53:56 +01:00
|
|
|
|
2016-01-20 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/69343
|
|
|
|
|
PR bootstrap/69339
|
|
|
|
|
PR tree-opt/68964
|
|
|
|
|
Revert:
|
|
|
|
|
* tree.c (tm_define_builtin): New.
|
|
|
|
|
(find_tm_vector_type): New.
|
|
|
|
|
(build_tm_vector_builtins): New.
|
|
|
|
|
(build_common_builtin_nodes): Call it.
|
|
|
|
|
|
2016-01-20 15:19:41 +01:00
|
|
|
|
2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
* doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
|
|
|
|
|
(arm_fp_ok): Likewise.
|
|
|
|
|
(arm_fp): Likewise.
|
|
|
|
|
(arm_crypto): Likewise.
|
|
|
|
|
|
2016-01-20 13:37:01 +01:00
|
|
|
|
2016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69328
|
|
|
|
|
* tree-vect-stmts.c (vect_is_simple_cond): Check compared
|
|
|
|
|
vectors have same number of elements.
|
|
|
|
|
(vectorizable_condition): Fix masked version recognition.
|
|
|
|
|
|
2016-01-20 09:36:32 +01:00
|
|
|
|
2016-01-20 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69345
|
|
|
|
|
* tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
|
|
|
|
|
(VN_INFO_PTR_INFO): Likewise.
|
|
|
|
|
* tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
|
|
|
|
|
info when it is equal between non-dominating SSA names.
|
|
|
|
|
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
|
|
|
|
|
Make sure to look at original SSA infos.
|
|
|
|
|
|
2016-01-20 08:54:26 +01:00
|
|
|
|
2016-01-20 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2016-01-20 08:55:43 +01:00
|
|
|
|
PR target/25114
|
2016-01-20 08:54:26 +01:00
|
|
|
|
* config/m68k/predicates.md (pow2_m1_operand): New predicate
|
|
|
|
|
extracted from ...
|
|
|
|
|
(reg_or_pow2_m1_operand): Call pow2_m1_operand.
|
|
|
|
|
(pc_or_label_operand): New predicate.
|
|
|
|
|
* config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
|
|
|
|
|
tests for small integers that are 2^n - 1.
|
2016-01-20 20:39:08 +01:00
|
|
|
|
|
2016-01-20 01:26:13 +01:00
|
|
|
|
2016-01-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Options Summary): Add '.' after @xref.
|
|
|
|
|
|
2016-01-20 00:03:26 +01:00
|
|
|
|
2016-01-19 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69347
|
|
|
|
|
* tree-ssa-threadbackwards.c
|
|
|
|
|
(fsm_find_control_statement_thread_paths): Do not try to lookup
|
|
|
|
|
FSM paths for SSA_NAMEs appearing in abnormal PHIs.
|
|
|
|
|
|
2016-01-19 22:49:32 +01:00
|
|
|
|
2016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
|
|
|
|
|
|
|
|
|
|
* doc/lto.texi: Remove text that says only Gold has linker plugin
|
|
|
|
|
support.
|
|
|
|
|
|
2016-01-19 22:08:10 +01:00
|
|
|
|
2016-01-19 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.c (need_endianity_attribute_p): New inline predicate.
|
|
|
|
|
(base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
|
|
|
|
|
the DIE accordingly.
|
|
|
|
|
(modified_type_die): Add REVERSE parameter and pass it recursively,
|
|
|
|
|
as well as to base_type_die. Adjust presence check accordingly.
|
|
|
|
|
(base_type_for_mode): Adjust call to modified_type_die.
|
|
|
|
|
(add_type_attribute): Add REVERSE parameter and pass it to
|
|
|
|
|
modified_type_die.
|
|
|
|
|
(generic_parameter_die): Adjust call to add_type_attribute.
|
|
|
|
|
(add_scalar_info): Likewise.
|
|
|
|
|
(add_subscript_info): Likewise.
|
|
|
|
|
(gen_array_type_die): Likewise.
|
|
|
|
|
(gen_descr_array_type_die): Likewise.
|
|
|
|
|
(gen_entry_point_die): Likewise.
|
|
|
|
|
(gen_enumeration_type_die): Likewise.
|
|
|
|
|
(gen_formal_parameter_die): Likewise.
|
|
|
|
|
(gen_subprogram_die): Likewise.
|
|
|
|
|
(gen_variable_die ): Likewise.
|
|
|
|
|
(gen_const_die): Likewise.
|
|
|
|
|
(gen_field_die): Likewise.
|
|
|
|
|
(gen_pointer_type_die): Likewise.
|
|
|
|
|
(gen_reference_type_die): Likewise.
|
|
|
|
|
(gen_ptr_to_mbr_type_die): Likewise.
|
|
|
|
|
(gen_inheritance_die): Likewise.
|
|
|
|
|
(gen_subroutine_type_die): Likewise.
|
|
|
|
|
(gen_typedef_die): Likewise.
|
|
|
|
|
(force_type_die): Adjust call to modified_type_die.
|
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-01-19 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-19 21:44:11 +01:00
|
|
|
|
|
|
|
|
|
* doc/standards.texi: Copy-editing for grammar, markup, and sentence
|
|
|
|
|
flow throughout the file. Fix broken link to Objective-C 2.0
|
|
|
|
|
documentation.
|
|
|
|
|
* doc/invoke.texi: More copy-editing; fix numerous typos and spelling
|
|
|
|
|
errors.
|
|
|
|
|
|
2016-01-19 19:02:48 +01:00
|
|
|
|
2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
|
|
|
|
|
|
2016-01-19 17:49:50 +01:00
|
|
|
|
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/66223
|
|
|
|
|
* ipa-devirt.c (is_cxa_pure_virtual_p): New function.
|
|
|
|
|
(maybe_record_node): Record cxa_pure_virtual as the only possible
|
|
|
|
|
target if there are not ohter candidates.
|
|
|
|
|
(possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
|
|
|
|
|
|
2016-01-19 16:10:40 +01:00
|
|
|
|
2016-01-19 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
|
|
|
|
|
(get_memory_order): Likewise.
|
|
|
|
|
|
2016-01-19 15:37:23 +01:00
|
|
|
|
2016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_store): Check
|
|
|
|
|
rhs vectype.
|
|
|
|
|
|
2016-01-19 15:35:16 +01:00
|
|
|
|
2016-01-19 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR jit/68446
|
|
|
|
|
* gcc.c (driver::decode_argv): Add call to
|
|
|
|
|
init_opts_obstack before init_options_struct.
|
|
|
|
|
* opts.c (init_opts_obstack): Remove idempotency.
|
|
|
|
|
(init_options_struct): Replace call to init_opts_obstack
|
|
|
|
|
with a gcc_assert to verify that it has already been called.
|
|
|
|
|
* toplev.c (toplev::main): Add call to init_opts_obstack before
|
|
|
|
|
calls to init_options_struct.
|
|
|
|
|
(toplev::finalize): Move cleanup of opts_obstack next to
|
|
|
|
|
cleanup of save_decoded_options, clearing the latter, and
|
|
|
|
|
save_decoded_options_count.
|
|
|
|
|
|
2016-01-19 15:30:23 +01:00
|
|
|
|
2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69135
|
|
|
|
|
* config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
|
|
|
|
|
attribute to unconditional. Remove %? from output template.
|
|
|
|
|
|
2016-01-19 15:14:56 +01:00
|
|
|
|
2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
|
|
|
|
|
generated from different expand order.
|
|
|
|
|
|
|
|
|
|
2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
|
2016-01-19 14:59:56 +01:00
|
|
|
|
|
2016-01-19 15:10:49 +01:00
|
|
|
|
* /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
|
|
|
|
|
Add support for CCMP costing.
|
|
|
|
|
|
|
|
|
|
2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
2016-01-19 15:09:49 +01:00
|
|
|
|
* ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
|
|
|
|
|
* config/aarch64/aarch64.md (fccmp<mode>): New pattern.
|
|
|
|
|
(fccmpe<mode>): Likewise.
|
|
|
|
|
(fcmp): Rename to fcmp and globalize pattern.
|
|
|
|
|
(fcmpe): Likewise.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
|
|
|
|
|
(aarch64_gen_ccmp_next): Add FP support.
|
|
|
|
|
|
|
|
|
|
2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
2016-01-19 14:59:56 +01:00
|
|
|
|
* target.def (gen_ccmp_first): Update documentation.
|
|
|
|
|
(gen_ccmp_next): Likewise.
|
|
|
|
|
* doc/tm.texi (gen_ccmp_first): Update documentation.
|
|
|
|
|
(gen_ccmp_next): Likewise.
|
|
|
|
|
* ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
|
|
|
|
|
expand_ccmp_expr_1. Improve comments.
|
|
|
|
|
* config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
|
|
|
|
|
(ccmp_ior<mode>): Remove pattern.
|
|
|
|
|
(cmp<mode>): Remove expand.
|
|
|
|
|
(cmp): Globalize pattern.
|
|
|
|
|
(cstorecc4): Use cc_register.
|
|
|
|
|
(mov<mode>cc): Remove ccmp_cc_register check.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_get_condition_code_1):
|
|
|
|
|
Simplify after removal of CC_DNE/* modes.
|
|
|
|
|
(aarch64_ccmp_mode_to_code): Remove.
|
|
|
|
|
(aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
|
|
|
|
|
In 'k' case use integer as condition.
|
|
|
|
|
(aarch64_nzcv_codes): Remove inverted cases.
|
|
|
|
|
(aarch64_code_to_ccmode): Remove.
|
|
|
|
|
(aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
|
|
|
|
|
comparison with CC register to be used in folowing CCMP/branch/CSEL.
|
|
|
|
|
(aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
|
|
|
|
|
pattern. Return the comparison with CC register. Invert conditions
|
|
|
|
|
when bitcode is OR.
|
|
|
|
|
* config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
|
|
|
|
|
* config/aarch64/predicates.md (ccmp_cc_register): Remove.
|
|
|
|
|
|
2016-01-19 14:28:32 +01:00
|
|
|
|
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* cgraphunit.c (cgraph_node::reset): Clear thunk info and
|
|
|
|
|
instrumented_version.
|
|
|
|
|
|
2016-01-19 14:27:11 +01:00
|
|
|
|
2016-01-19 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69336
|
|
|
|
|
* tree-ssa-scopedtables.c (avail_expr_hash): Handle all
|
|
|
|
|
handled components with get_ref_base_and_extent.
|
|
|
|
|
(equal_mem_array_ref_p): Adjust.
|
|
|
|
|
|
2016-01-19 14:21:04 +01:00
|
|
|
|
2016-01-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/65779
|
|
|
|
|
* shrink-wrap.c: Include valtrack.h.
|
|
|
|
|
(move_insn_for_shrink_wrap): Add DEBUG argument. If
|
|
|
|
|
MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
|
|
|
|
|
in between insn and where it will be moved to. Call
|
|
|
|
|
dead_debug_insert_temp.
|
|
|
|
|
(prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
|
|
|
|
|
first and dead_debug_local_finish at the end.
|
|
|
|
|
For uses and defs bitmap, handle all regs in between REGNO and
|
|
|
|
|
END_REGNO, not just the first one.
|
|
|
|
|
|
2016-01-19 14:19:01 +01:00
|
|
|
|
2016-01-19 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69352
|
|
|
|
|
* tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
|
|
|
|
|
(equal_mem_array_ref_p): Constrain size and max size properly.
|
|
|
|
|
Compare the reverse flag.
|
|
|
|
|
|
2016-01-19 14:02:17 +01:00
|
|
|
|
2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ira.c (ira): Update regstat data if we deleted insns.
|
|
|
|
|
|
2016-01-19 13:34:45 +01:00
|
|
|
|
2016-01-19 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68955
|
|
|
|
|
PR rtl-optimization/64557
|
|
|
|
|
* dse.c (record_store, check_mem_read_rtx): Don't call get_addr
|
|
|
|
|
here. Fix up formatting.
|
|
|
|
|
* alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
|
|
|
|
|
|
2016-01-19 12:57:41 +01:00
|
|
|
|
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/69133
|
|
|
|
|
* cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
|
|
|
|
|
assume that the node has body.
|
|
|
|
|
* cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
|
|
|
|
|
check.
|
2016-01-19 14:02:17 +01:00
|
|
|
|
|
2016-01-19 12:55:10 +01:00
|
|
|
|
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* lto-streamer-out.c (lto_output): Do not stream instrumentation
|
|
|
|
|
thunks.
|
|
|
|
|
|
2016-01-19 12:51:18 +01:00
|
|
|
|
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* symtab.c (symtab_node::asm_name): Do not call printable name directly.
|
|
|
|
|
(symtab_node::name): Report name as unnamed if DECL_NAME is not set.
|
|
|
|
|
|
2016-01-19 11:35:10 +01:00
|
|
|
|
2016-01-19 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
Martin Liska <mliska@suse.cz>
|
2016-03-02 21:30:48 +01:00
|
|
|
|
Michael Matz <matz@suse.de>
|
2016-01-19 11:35:10 +01:00
|
|
|
|
|
|
|
|
|
* Makefile.in (OBJS): Add new source files.
|
|
|
|
|
(GTFILES): Add hsa.c.
|
|
|
|
|
* common.opt (disable_hsa): New variable.
|
|
|
|
|
(-Whsa): New warning.
|
|
|
|
|
* config.in (ENABLE_HSA): New.
|
|
|
|
|
* configure.ac: Treat hsa differently from other accelerators.
|
|
|
|
|
(OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
|
|
|
|
|
$enable_offloading.
|
|
|
|
|
(ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
|
|
|
|
|
* doc/install.texi (Configuration): Document --with-hsa-runtime,
|
|
|
|
|
--with-hsa-runtime-include, --with-hsa-runtime-lib and
|
|
|
|
|
--with-hsa-kmt-lib.
|
|
|
|
|
* doc/invoke.texi (-Whsa): Document.
|
|
|
|
|
(hsa-gen-debug-stores): Likewise.
|
|
|
|
|
* lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
|
|
|
|
|
to invoke offload compiler for hsa acclerator.
|
|
|
|
|
* opts.c (common_handle_option): Determine whether HSA offloading
|
|
|
|
|
should be performed.
|
|
|
|
|
* params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
|
|
|
|
|
* builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
|
|
|
|
|
(BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
|
|
|
|
|
(BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
|
|
|
|
|
* gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
|
|
|
|
|
* gimple-pretty-print.c (dump_gimple_omp_for): Also handle
|
|
|
|
|
GF_OMP_FOR_KIND_GRID_LOOP.
|
|
|
|
|
(dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
|
|
|
|
|
(pp_gimple_stmt_1): Likewise.
|
|
|
|
|
* gimple-walk.c (walk_gimple_stmt): Likewise.
|
|
|
|
|
* gimple.c (gimple_build_omp_grid_body): New function.
|
|
|
|
|
(gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
|
|
|
|
|
* gimple.def (GIMPLE_OMP_GRID_BODY): New.
|
|
|
|
|
* gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
|
|
|
|
|
GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
|
|
|
|
|
GF_OMP_TEAMS_GRID_PHONY.
|
|
|
|
|
(gimple_statement_omp_single_layout): Updated comments.
|
|
|
|
|
(gimple_build_omp_grid_body): New function.
|
|
|
|
|
(gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
|
|
|
|
|
(gimple_omp_for_grid_phony): New function.
|
|
|
|
|
(gimple_omp_for_set_grid_phony): Likewise.
|
|
|
|
|
(gimple_omp_parallel_grid_phony): Likewise.
|
|
|
|
|
(gimple_omp_parallel_set_grid_phony): Likewise.
|
|
|
|
|
(gimple_omp_teams_grid_phony): Likewise.
|
|
|
|
|
(gimple_omp_teams_set_grid_phony): Likewise.
|
|
|
|
|
(gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
|
|
|
|
|
* omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
|
|
|
|
|
(BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
|
|
|
|
|
(BUILT_IN_GOMP_TARGET): Updated type.
|
|
|
|
|
* omp-low.c: Include symbol-summary.h, hsa.h and params.h.
|
|
|
|
|
(adjust_for_condition): New function.
|
|
|
|
|
(get_omp_for_step_from_incr): Likewise.
|
|
|
|
|
(extract_omp_for_data): Moved parts to adjust_for_condition and
|
|
|
|
|
get_omp_for_step_from_incr.
|
|
|
|
|
(build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
|
|
|
|
|
(fixup_child_record_type): Bail out if receiver_decl is NULL.
|
|
|
|
|
(scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
|
|
|
|
|
(scan_omp_parallel): Do not create child functions for phony
|
|
|
|
|
constructs.
|
|
|
|
|
(check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
|
|
|
|
|
(scan_omp_1_op): Checking assert we are not remapping to
|
|
|
|
|
ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
|
|
|
|
|
(parallel_needs_hsa_kernel_p): New function.
|
|
|
|
|
(expand_parallel_call): Register apprpriate parallel child
|
|
|
|
|
functions as HSA kernels.
|
|
|
|
|
(grid_launch_attributes_trees): New type.
|
|
|
|
|
(grid_attr_trees): New variable.
|
|
|
|
|
(grid_create_kernel_launch_attr_types): New function.
|
|
|
|
|
(grid_insert_store_range_dim): Likewise.
|
|
|
|
|
(grid_get_kernel_launch_attributes): Likewise.
|
|
|
|
|
(get_target_argument_identifier_1): Likewise.
|
|
|
|
|
(get_target_argument_identifier): Likewise.
|
|
|
|
|
(get_target_argument_value): Likewise.
|
|
|
|
|
(push_target_argument_according_to_value): Likewise.
|
|
|
|
|
(get_target_arguments): Likewise.
|
|
|
|
|
(expand_omp_target): Call get_target_arguments instead of looking
|
|
|
|
|
up for teams and thread limit.
|
|
|
|
|
(grid_expand_omp_for_loop): New function.
|
|
|
|
|
(grid_arg_decl_map): New type.
|
|
|
|
|
(grid_remap_kernel_arg_accesses): New function.
|
|
|
|
|
(grid_expand_target_kernel_body): New function.
|
|
|
|
|
(expand_omp): Call it.
|
|
|
|
|
(lower_omp_for): Do not emit phony constructs.
|
|
|
|
|
(lower_omp_taskreg): Do not emit phony constructs but create for them
|
|
|
|
|
a temporary variable receiver_decl.
|
|
|
|
|
(lower_omp_taskreg): Do not emit phony constructs.
|
|
|
|
|
(lower_omp_teams): Likewise.
|
|
|
|
|
(lower_omp_grid_body): New function.
|
|
|
|
|
(lower_omp_1): Call it.
|
|
|
|
|
(grid_reg_assignment_to_local_var_p): New function.
|
|
|
|
|
(grid_seq_only_contains_local_assignments): Likewise.
|
|
|
|
|
(grid_find_single_omp_among_assignments_1): Likewise.
|
|
|
|
|
(grid_find_single_omp_among_assignments): Likewise.
|
|
|
|
|
(grid_find_ungridifiable_statement): Likewise.
|
|
|
|
|
(grid_target_follows_gridifiable_pattern): Likewise.
|
|
|
|
|
(grid_remap_prebody_decls): Likewise.
|
|
|
|
|
(grid_copy_leading_local_assignments): Likewise.
|
|
|
|
|
(grid_process_kernel_body_copy): Likewise.
|
|
|
|
|
(grid_attempt_target_gridification): Likewise.
|
|
|
|
|
(grid_gridify_all_targets_stmt): Likewise.
|
|
|
|
|
(grid_gridify_all_targets): Likewise.
|
|
|
|
|
(execute_lower_omp): Call grid_gridify_all_targets.
|
|
|
|
|
(make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
|
|
|
|
|
* tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
|
|
|
|
|
(tree_omp_clause): Added union field dimension.
|
|
|
|
|
* tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
|
|
|
|
|
* tree.c (omp_clause_num_ops): Added number of arguments of
|
|
|
|
|
OMP_CLAUSE__GRIDDIM_.
|
|
|
|
|
(omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
|
|
|
|
|
(walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
|
|
|
|
|
* tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
|
|
|
|
|
(OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
|
|
|
|
|
(OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
|
|
|
|
|
(OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
|
|
|
|
|
* passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
|
|
|
|
|
* tree-pass.h (make_pass_gen_hsail): Declare.
|
|
|
|
|
(make_pass_ipa_hsa): Likewise.
|
|
|
|
|
* ipa-hsa.c: New file.
|
|
|
|
|
* lto-section-in.c (lto_section_name): Add hsa section name.
|
|
|
|
|
* lto-streamer.h (lto_section_type): Add hsa section.
|
|
|
|
|
* timevar.def (TV_IPA_HSA): New.
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* hsa-brig-format.h: New file.
|
2016-01-19 11:35:10 +01:00
|
|
|
|
* hsa-brig.c: New file.
|
|
|
|
|
* hsa-dump.c: Likewise.
|
|
|
|
|
* hsa-gen.c: Likewise.
|
|
|
|
|
* hsa.c: Likewise.
|
|
|
|
|
* hsa.h: Likewise.
|
|
|
|
|
* toplev.c (compile_file): Call hsa_output_brig.
|
|
|
|
|
* hsa-regalloc.c: New file.
|
|
|
|
|
|
2016-01-19 07:43:54 +01:00
|
|
|
|
2016-01-18 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69320
|
|
|
|
|
* tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
|
|
|
|
|
ranged object, do nothing if the RHS constant is not [0..1].
|
|
|
|
|
(optimize_stmt): Comparing a boolean ranged object against a
|
|
|
|
|
constant outside [0..1] results in a compile-time constant.
|
|
|
|
|
|
|
|
|
|
* tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
|
|
|
|
|
test.
|
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-01-18 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-18 23:47:09 +01:00
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Invoking GCC): Add new section to menu.
|
|
|
|
|
(Option Summary): Update to reflect new section and moved options.
|
|
|
|
|
(C++ Dialect Options): Move -fstats to new section.
|
|
|
|
|
(Debugging Options): Move all dump, statistics, and other GCC
|
|
|
|
|
developer options to new section. Rewrite section introduction
|
|
|
|
|
and re-order remaining options to put the more basic ones first.
|
|
|
|
|
(Optimization Options): Move -fira-verbose and -flto-report* to
|
|
|
|
|
new section.
|
|
|
|
|
(Developer Options): New section incorporating moved options.
|
|
|
|
|
* doc/cppopts.texi (-dM): Update cross-reference.
|
|
|
|
|
|
2016-01-18 21:56:13 +01:00
|
|
|
|
2016-01-18 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/69176
|
|
|
|
|
* config/aarch64/aarch64.md (add<GPI>3): Move long immediate
|
|
|
|
|
operands to pseudo only if CSE is expected. Split long immediate
|
|
|
|
|
operands only after reload, and for the stack pointer.
|
|
|
|
|
(*add<GPI>3_pluslong): Remove.
|
|
|
|
|
(*addsi3_aarch64, *adddi3_aarch64): Merge into...
|
|
|
|
|
(*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
|
|
|
|
|
(*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
|
|
|
|
|
(*add<GPI>3 peepholes): New.
|
|
|
|
|
(*add<GPI>3 splitters): New.
|
|
|
|
|
* config/aarch64/constraints.md (Upl): New.
|
|
|
|
|
* config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
|
|
|
|
|
|
2016-01-18 15:25:56 +01:00
|
|
|
|
2016-01-18 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69297
|
|
|
|
|
* tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
|
|
|
|
|
stmt at most once.
|
|
|
|
|
(vect_bb_vectorization_profitable_p): Clear visited flag again.
|
|
|
|
|
|
2016-01-18 15:14:35 +01:00
|
|
|
|
2016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/68542
|
|
|
|
|
* fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
|
|
|
|
|
of mixind vector and scalar types.
|
|
|
|
|
(fold_relational_const): Add handling of vector
|
|
|
|
|
comparison with boolean result.
|
|
|
|
|
* tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
|
|
|
|
|
comparison of vector operands with boolean result for EQ/NE only.
|
|
|
|
|
(verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
|
|
|
|
|
(verify_gimple_cond): Likewise.
|
|
|
|
|
* tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
|
|
|
|
|
valid type of VAL.
|
|
|
|
|
|
2016-01-18 14:30:43 +01:00
|
|
|
|
2016-01-18 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
|
|
|
|
|
!TARGET_OCTEON.
|
|
|
|
|
|
2016-01-18 14:03:54 +01:00
|
|
|
|
2016-01-18 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69308
|
|
|
|
|
* gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
|
|
|
|
|
|
2016-01-18 13:52:42 +01:00
|
|
|
|
2016-01-18 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
|
|
|
|
|
|
2016-01-18 13:52:32 +01:00
|
|
|
|
2016-01-18 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (set_oacc_fn_attrib): Make extern.
|
|
|
|
|
* omp-low.h (set_oacc_fn_attrib): Declare.
|
|
|
|
|
* tree-parloops.c (struct reduction_info): Add reduc_addr field.
|
|
|
|
|
(create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
|
|
|
|
|
(create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
|
|
|
|
|
Add and handle function parameter oacc_kernels_p.
|
|
|
|
|
(find_reduc_addr, get_omp_data_i_param): New function.
|
|
|
|
|
(ref_conflicts_with_region, oacc_entry_exit_ok_1)
|
|
|
|
|
(oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
|
|
|
|
|
(parallelize_loops): Add and handle function parameter oacc_kernels_p.
|
|
|
|
|
Calculate dominance info. Skip loops that are not in a kernels region
|
|
|
|
|
in oacc_kernels_p mode. Skip inner loops of parallelized loops.
|
|
|
|
|
(pass_parallelize_loops::execute): Call parallelize_loops with
|
|
|
|
|
oacc_kernels_p argument.
|
|
|
|
|
(pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
|
|
|
|
|
New member function.
|
|
|
|
|
(pass_parallelize_loops::bool oacc_kernels_p): New member var.
|
|
|
|
|
* passes.def: Add argument to pass_parallelize_loops instantation.
|
|
|
|
|
|
2016-01-18 13:52:23 +01:00
|
|
|
|
2016-01-18 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* tree-parloops.c (pass_parallelize_loops::execute): Allow
|
|
|
|
|
pass_parallelize_loops to be run outside the loop pipeline.
|
|
|
|
|
|
2016-01-18 13:46:54 +01:00
|
|
|
|
2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-scalar-evolution.c (follow_copies_to_constant): New.
|
|
|
|
|
(analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
|
|
|
|
|
|
2016-01-18 13:40:43 +01:00
|
|
|
|
2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/63679
|
|
|
|
|
* tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
|
|
|
|
|
using get_ref_base_and_extent.
|
|
|
|
|
(equal_mem_array_ref_p): New.
|
|
|
|
|
(hashable_expr_equal_p): Add call to previous.
|
|
|
|
|
|
2016-01-18 13:29:02 +01:00
|
|
|
|
2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/63679
|
|
|
|
|
* tree-sra.c (disqualified_constants, constant_decl_p): New.
|
|
|
|
|
(sra_initialize): Allocate disqualified_constants.
|
|
|
|
|
(sra_deinitialize): Free disqualified_constants.
|
|
|
|
|
(disqualify_candidate): Update disqualified_constants when appropriate.
|
|
|
|
|
(create_access): Scan for constant-pool entries as we go along.
|
|
|
|
|
(scalarizable_type_p): Add check against type_contains_placeholder_p.
|
|
|
|
|
(maybe_add_sra_candidate): Allow constant-pool entries.
|
|
|
|
|
(load_assign_lhs_subreplacements): Bind debug for constant pool vars.
|
|
|
|
|
(initialize_constant_pool_replacements): New.
|
|
|
|
|
(sra_modify_assign): Avoid mangling assignments created by previous,
|
|
|
|
|
and don't generate writes into constant pool.
|
|
|
|
|
(sra_modify_function_body): Call initialize_constant_pool_replacements.
|
|
|
|
|
|
2016-01-18 11:35:56 +01:00
|
|
|
|
2016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (scalar_to_vector_candidate_p): Support
|
|
|
|
|
andnot instruction.
|
|
|
|
|
(scalar_chain::convert_op): Likewise.
|
|
|
|
|
* config/i386/i386.md (*andndi3_doubleword): New.
|
|
|
|
|
|
2016-01-18 10:14:14 +01:00
|
|
|
|
2016-01-18 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69170
|
|
|
|
|
* tree-vect-slp.c (vect_build_slp_tree): Verify we are not
|
|
|
|
|
building a vector from scalar results of a pattern stmt.
|
|
|
|
|
|
2016-01-18 10:02:42 +01:00
|
|
|
|
2016-01-18 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* haifa-sched.c (autopref_multipass_init): Work around
|
|
|
|
|
-Wmaybe-uninitialized warning.
|
|
|
|
|
|
2016-01-18 04:22:35 +01:00
|
|
|
|
2016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.c (thumb1_reorg): Check that the comparison is
|
|
|
|
|
against the constant 0.
|
|
|
|
|
|
2016-01-18 03:43:06 +01:00
|
|
|
|
2016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68799
|
|
|
|
|
* gimple-ssa-strength-reduction.c (create_phi_basis): Directly
|
|
|
|
|
look up phi candidates in the statement-candidate map.
|
|
|
|
|
(phi_add_costs): Likewise.
|
|
|
|
|
(record_phi_increments): Likewise.
|
|
|
|
|
(phi_incr_cost): Likewise.
|
|
|
|
|
(ncd_with_phi): Likewise.
|
|
|
|
|
(all_phi_incrs_profitable): Likewise.
|
|
|
|
|
|
2016-01-17 19:04:47 +01:00
|
|
|
|
2016-01-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (mark_loops_in_oacc_kernels_region): Work around
|
|
|
|
|
-Wmaybe-uninitialized warning.
|
|
|
|
|
|
|
|
|
|
2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-17 00:06:43 +01:00
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Invoking GCC): Add new section to menu.
|
|
|
|
|
(Option Summary): Update to reflect new section and moved options.
|
|
|
|
|
(C++ Dialect Options): Move -fvtable-verify and related options.
|
|
|
|
|
(Debugging Options): Move Sanitizer, Pointer Bounds Checker,
|
|
|
|
|
and profiling-related options.
|
|
|
|
|
(Optimization Options): Move profile generation options and
|
|
|
|
|
-fstack-protector and related options.
|
|
|
|
|
(Instrumentation Options): New section incorporating moved options.
|
|
|
|
|
(Code Generation Options): Move -finstrument-functions and
|
|
|
|
|
related options, -fstack-check, -fstack-limit*, and -fbounds-check.
|
|
|
|
|
|
2016-01-16 23:19:05 +01:00
|
|
|
|
2016-01-16 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
|
|
|
|
|
|
2016-01-16 23:18:56 +01:00
|
|
|
|
2016-01-16 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
|
|
|
|
|
|
2016-01-16 12:03:18 +01:00
|
|
|
|
2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* hash-table.h (hash_table::empty): Turn into an inline wrapper
|
|
|
|
|
that checks whether the table is already empty. Rename the
|
|
|
|
|
original implementation to...
|
|
|
|
|
(hash_table::empty_slot): ...this new private function.
|
|
|
|
|
|
2016-01-16 05:38:19 +01:00
|
|
|
|
2016-01-15 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR diagnostic/68899
|
|
|
|
|
* diagnostic-show-locus.c (layout::print_source_line): Move x
|
|
|
|
|
offset of line until after call to
|
|
|
|
|
get_line_width_without_trailing_whitespace.
|
|
|
|
|
|
2016-01-15 23:32:05 +01:00
|
|
|
|
2016-01-15 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69270
|
|
|
|
|
* tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
|
|
|
|
|
tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
|
|
|
|
|
* tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
|
|
|
|
|
* tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
|
|
|
|
|
* tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
|
|
|
|
|
ssa_name_has_boolean_range and constant_boolean_node.
|
|
|
|
|
|
2016-01-15 20:33:33 +01:00
|
|
|
|
2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/69030
|
|
|
|
|
* lra-spills.c (remove_pseudos): Check nrefs and make the function
|
|
|
|
|
returning bool.
|
|
|
|
|
(spill_pseudos): Delete debug insn for dead pseudo.
|
|
|
|
|
(lra_spill): Initiate spill_hard_reg and slots memory separately.
|
|
|
|
|
|
2016-01-15 18:50:01 +01:00
|
|
|
|
2016-01-15 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
|
|
|
|
|
New.
|
|
|
|
|
(TYPES_UNOPUS): Likewise.
|
|
|
|
|
* config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
|
|
|
|
|
builtin type, from UNOP to UNOPUS.
|
|
|
|
|
(lbtruncuv4sf): Likewise.
|
|
|
|
|
(lbtruncuv2df): Likewise.
|
|
|
|
|
(lrounduv2sf): Likewise.
|
|
|
|
|
(lrounduv4sf): Likewise.
|
|
|
|
|
(lrounduv2df): Likewise.
|
|
|
|
|
(lroundusf): Likewise.
|
|
|
|
|
(lroundusf): Likewise.
|
|
|
|
|
(lceiluv2sf): Likewise.
|
|
|
|
|
(lceiluv4sf): Likewise.
|
|
|
|
|
(lceiluv2df): Likewise.
|
|
|
|
|
(lceilusf): Likewise.
|
|
|
|
|
(lceiludf): Likewise.
|
|
|
|
|
(lflooruv2sf): Likewise.
|
|
|
|
|
(lflooruv4sf): Likewise.
|
|
|
|
|
(lflooruv2df): Likewise.
|
|
|
|
|
(lfloorusf): Likewise.
|
|
|
|
|
(lfloorudf): Likewise.
|
|
|
|
|
(lfrintnuv2sf): Likewise.
|
|
|
|
|
(lfrintnuv4sf): Likewise.
|
|
|
|
|
(lfrintnuv2df): Likewise.
|
|
|
|
|
(lfrintnusf): Likewise.
|
|
|
|
|
(lfrintnudf): Likewise.
|
|
|
|
|
* config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
|
|
|
|
|
conversion.
|
|
|
|
|
(vcvtq_u32_f32): Likewise.
|
|
|
|
|
(vcvtq_u64_f64): Likewise.
|
|
|
|
|
(vcvta_u32_f32): Likewise.
|
|
|
|
|
(vcvtaq_u32_f32): Likewise.
|
|
|
|
|
(vcvtaq_u64_f64): Likewise.
|
|
|
|
|
(vcvtm_u32_f32): Likewise.
|
|
|
|
|
(vcvtmq_u32_f32): Likewise.
|
|
|
|
|
(vcvtmq_u64_f64): Likewise.
|
|
|
|
|
(vcvtn_u32_f32): Likwise.
|
|
|
|
|
(vcvtnq_u32_f32): Likewise.
|
|
|
|
|
(vcvtnq_u64_f64): Likewise.
|
|
|
|
|
(vcvtp_u32_f32): Likewise.
|
|
|
|
|
(vcvtpq_u32_f32): Likewise.
|
|
|
|
|
(vcvtpq_u64_f64): Likewise.
|
|
|
|
|
(vcvtmd_u64_f64): Likewise.
|
|
|
|
|
(vcvtms_u32_f32): Likewise.
|
|
|
|
|
(vcvtad_u64_f64): Likewise.
|
|
|
|
|
(vcvtas_u32_f32): Likewise.
|
|
|
|
|
(vcvtnd_u64_f64): Likewise.
|
|
|
|
|
(vcvtns_u32_f32): Likewise.
|
|
|
|
|
(vcvtpd_u64_f64): Likewise.
|
|
|
|
|
(vcvtps_u32_f32): Likewise.
|
2016-01-15 20:33:33 +01:00
|
|
|
|
|
2016-01-15 18:30:12 +01:00
|
|
|
|
2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
|
|
|
|
|
CSEL of zero_extended registers.
|
|
|
|
|
|
2016-01-15 18:29:16 +01:00
|
|
|
|
2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
|
|
|
|
|
Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
|
|
|
|
|
|
2016-01-15 18:27:41 +01:00
|
|
|
|
2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
|
|
|
|
|
false when argument string is not found in the attributes table
|
|
|
|
|
at all.
|
|
|
|
|
|
2016-01-15 17:38:08 +01:00
|
|
|
|
2016-01-15 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/68609
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
|
|
|
|
|
(rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
|
|
|
|
|
* config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
|
|
|
|
|
precision estimate.
|
|
|
|
|
|
2016-01-15 16:43:48 +01:00
|
|
|
|
2016-01-15 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/66856
|
|
|
|
|
* tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
|
|
|
|
|
* tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
|
|
|
|
|
(vect_create_new_slp_node): Increment stmt reference count.
|
|
|
|
|
(vect_get_and_check_slp_defs): Make sure stmts are nor already in
|
|
|
|
|
an SLP tree before swapping operands.
|
|
|
|
|
(vect_build_slp_tree): Likewise.
|
|
|
|
|
(destroy_bb_vec_info): Free stmt info after SLP instances.
|
|
|
|
|
* tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
|
|
|
|
|
* tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
|
|
|
|
|
(STMT_VINFO_NUM_SLP_USES): New macro.
|
|
|
|
|
|
2016-01-15 16:37:38 +01:00
|
|
|
|
2016-01-15 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR debug/69137
|
|
|
|
|
* dwarf2out.c (add_linkage_name_raw): New function split out from ...
|
|
|
|
|
(add_linkage_name): ... here.
|
|
|
|
|
(gen_typedef_die): Use add_linkage_name_raw instead of
|
|
|
|
|
add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
|
|
|
|
|
if necessary.
|
|
|
|
|
|
2016-01-15 15:49:55 +01:00
|
|
|
|
2016-01-15 Cesar Philippidis <cesar@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gimplify.c (oacc_default_clause): Decode reference and pointer
|
|
|
|
|
types for both kernels and parallel regions.
|
|
|
|
|
|
2016-01-15 15:41:10 +01:00
|
|
|
|
2016-01-15 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/69246
|
|
|
|
|
* calls.c (emit_call_1): Force n_popped to zero for sibcalls.
|
|
|
|
|
|
2016-01-15 14:34:12 +01:00
|
|
|
|
2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
|
|
|
|
|
(convert_scalars_to_vector): Likewise.
|
|
|
|
|
|
2016-01-15 14:13:17 +01:00
|
|
|
|
2016-01-15 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (Type Traits): Fix grammar.
|
|
|
|
|
|
2016-01-15 13:43:49 +01:00
|
|
|
|
2016-01-15 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-inline.c (remap_decl): Use existing dclarations if
|
|
|
|
|
remapping a type and prevent_decl_creation_for_types.
|
|
|
|
|
(replace_locals_stmt): Do an initial remapping of non-VLA typed
|
|
|
|
|
decls first. Do real remapping with
|
|
|
|
|
prevent_decl_creation_for_types set.
|
|
|
|
|
* tree-inline.h (copy_body_data): New field
|
|
|
|
|
prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
|
|
|
|
|
padding.
|
|
|
|
|
|
2016-01-15 13:41:51 +01:00
|
|
|
|
2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.opt (mmvcle): More verbose help text.
|
|
|
|
|
|
2016-01-15 13:38:09 +01:00
|
|
|
|
2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.opt: Add period to -mzvector option text.
|
|
|
|
|
|
2016-01-15 12:49:43 +01:00
|
|
|
|
2016-01-15 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68961
|
|
|
|
|
* tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
|
|
|
|
|
of invariants in stores again.
|
|
|
|
|
|
2016-01-15 12:29:12 +01:00
|
|
|
|
2016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
|
|
|
|
|
|
2016-01-15 12:04:25 +01:00
|
|
|
|
2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_expand_branch): Don't split
|
|
|
|
|
DI mode xor instruction to SI mode.
|
|
|
|
|
|
2016-01-15 12:00:24 +01:00
|
|
|
|
2016-01-15 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/68148
|
|
|
|
|
* ipa-icf.c (sem_function::merge): Virtual functions may become
|
|
|
|
|
reachable even if they address is not taken and there are no
|
|
|
|
|
idrect calls.
|
|
|
|
|
|
2016-01-15 10:57:02 +01:00
|
|
|
|
2016-01-15 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* lto-streamer-out.c (subtract_estimated_size): New function.
|
|
|
|
|
(get_symbol_initial_value): Use it.
|
|
|
|
|
|
2016-01-15 10:02:15 +01:00
|
|
|
|
2016-01-15 Christian Bruel <christian.bruel@st.com>
|
2016-01-15 09:46:49 +01:00
|
|
|
|
|
|
|
|
|
PR target/65837
|
|
|
|
|
* config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
|
|
|
|
|
(arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
|
|
|
|
|
(arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
|
|
|
|
|
use add_builtin_function_ext_scope instead of add_builtin_function.
|
|
|
|
|
(neon_set_p, neon_crypto_set_p): Remove.
|
|
|
|
|
(arm_init_builtins): Always call arm_init_neon_builtins and
|
|
|
|
|
arm_init_crypto_builtins.
|
|
|
|
|
(arm_expand_builtin): Check that builtins are allowed for the arch.
|
|
|
|
|
* config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
|
|
|
|
|
* config/arm/arm.c (arm_valid_target_attribute_tree): Remove
|
|
|
|
|
arm_init_neon_builtins call.
|
|
|
|
|
|
2016-01-15 09:16:08 +01:00
|
|
|
|
2016-01-15 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69117
|
|
|
|
|
* tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
|
|
|
|
|
* tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
|
|
|
|
|
of the leader conservatively.
|
|
|
|
|
(free_scc_vn): Restore original SSA name infos.
|
|
|
|
|
|
2016-01-15 03:45:44 +01:00
|
|
|
|
2016-01-14 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69270
|
|
|
|
|
* tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
|
|
|
|
|
single bit of precision, verify it's also unsigned.
|
|
|
|
|
(record_edge_info): Use constant_boolean_node rather than fold_convert
|
|
|
|
|
to convert boolean_true/boolean_false to the right type.
|
|
|
|
|
|
2016-01-15 00:12:53 +01:00
|
|
|
|
2016-01-14 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-opt/69014
|
|
|
|
|
* loop-doloop.c (record_reg_sets): New.
|
|
|
|
|
(doloop_optimize): Reject the transform if the sequence
|
|
|
|
|
clobbers registers live at the end of the loop block.
|
2016-01-28 23:32:47 +01:00
|
|
|
|
(doloop_optimize_loops): Enable df_live if needed.
|
2016-01-15 00:12:53 +01:00
|
|
|
|
|
2016-01-14 22:54:16 +01:00
|
|
|
|
2016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
|
|
|
|
|
* gcc/config/rs6000/rs6000.c: Likewise.
|
|
|
|
|
* gcc/config/rs6000/rs6000.h: Likewise.
|
|
|
|
|
* gcc/config/rs6000/rs6000.md: Likewise.
|
|
|
|
|
* gcc/doc/extend.texi: Likewsie.
|
|
|
|
|
|
2016-01-14 22:43:20 +01:00
|
|
|
|
2016-01-14 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
|
|
|
|
|
typo.
|
|
|
|
|
|
2016-01-14 22:36:12 +01:00
|
|
|
|
2016-01-14 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/69272
|
|
|
|
|
PR tree-opt/68964
|
|
|
|
|
* trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
|
|
|
|
|
* tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
|
|
|
|
|
instead of builtin_decl_declared_p to test for declaration.
|
|
|
|
|
|
2016-01-14 22:03:11 +01:00
|
|
|
|
2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
|
|
|
|
|
|
2016-01-18 21:56:13 +01:00
|
|
|
|
* doc/loop.texi (Loop Analysis and Representation): Document
|
2016-01-14 22:03:11 +01:00
|
|
|
|
loop_depth function.
|
|
|
|
|
|
2016-01-14 21:01:39 +01:00
|
|
|
|
2016-01-14 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68773
|
|
|
|
|
* omp-low.c (expand_omp_target): Don't set force_output.
|
|
|
|
|
* varpool.c (varpool_node::get_create): Same.
|
|
|
|
|
* lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
|
|
|
|
|
offload_funcs with force_output.
|
|
|
|
|
|
2016-01-14 20:57:34 +01:00
|
|
|
|
2016-01-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/69244
|
|
|
|
|
* lra-eliminations.c (move_plus_up): Don't change anything if either
|
|
|
|
|
the outer or inner subreg mode is not MODE_INT.
|
|
|
|
|
* dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
|
|
|
|
|
integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
|
|
|
|
|
|
Tidy: remove reduc_xxx_optab migration code.
* doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
reduc_uplus_@var{m}): Remove.
* expr.c (expand_expr_real_2): Remove expansion path for
reduc_[us](min|max|plus) optabs.
* optabs-tree.c (scalar_reduc_to_vector): Remove.
* optabs-tree.h (scalar_reduc_to_vector): Remove.
* optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
* tree-vect-loop.c (vectorizable_reduction): Remove test for
reduc_[us](min|max|plus) optabs.
From-SVN: r232373
2016-01-14 17:30:56 +01:00
|
|
|
|
2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
|
|
|
|
|
* doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
|
|
|
|
|
reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
|
|
|
|
|
reduc_uplus_@var{m}): Remove.
|
|
|
|
|
* expr.c (expand_expr_real_2): Remove expansion path for
|
|
|
|
|
reduc_[us](min|max|plus) optabs.
|
|
|
|
|
* optabs-tree.c (scalar_reduc_to_vector): Remove.
|
|
|
|
|
* optabs-tree.h (scalar_reduc_to_vector): Remove.
|
|
|
|
|
* optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
|
|
|
|
|
reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
|
|
|
|
|
* tree-vect-loop.c (vectorizable_reduction): Remove test for
|
|
|
|
|
reduc_[us](min|max|plus) optabs.
|
|
|
|
|
|
2016-01-14 17:19:59 +01:00
|
|
|
|
2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
|
|
|
|
|
(reduc_plus_scal_v2sf): New.
|
|
|
|
|
(reduc_smax_v2sf): Rename to...
|
|
|
|
|
(reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
|
|
|
|
|
(reduc_smin_v2sf): Rename to...
|
|
|
|
|
(reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
|
|
|
|
|
|
2016-01-14 16:30:12 +01:00
|
|
|
|
2016-01-14 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* alias.c (compare_base_symbol_refs): New function.
|
|
|
|
|
(rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
|
|
|
|
|
it.
|
|
|
|
|
|
2016-01-14 16:25:22 +01:00
|
|
|
|
2016-01-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/68146
|
|
|
|
|
PR tree-optimization/69155
|
|
|
|
|
* tree-complex.c: Include cfganal.h.
|
|
|
|
|
(phis_to_revisit): New variable.
|
|
|
|
|
(extract_component): Add phiarg_p argument. Assert that returned
|
|
|
|
|
SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
|
|
|
|
|
(update_phi_components): Partly rewrite to use loop over real/imag
|
|
|
|
|
components instead of code duplication. If extract_component returns
|
|
|
|
|
SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
|
|
|
|
|
create_tmp_reg into the PHI node instead, and mention the phi triplet
|
|
|
|
|
in phis_to_revisit.
|
|
|
|
|
(tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
|
|
|
|
|
in phis_to_revisit at the end.
|
|
|
|
|
|
2016-01-14 16:13:19 +01:00
|
|
|
|
2016-01-14 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68060
|
|
|
|
|
* tree-vect-loop.c (vect_is_simple_reduction): Check the
|
|
|
|
|
outer loop reduction is only used in the inner loop before
|
|
|
|
|
detecting a double reduction.
|
|
|
|
|
|
2016-01-14 16:10:41 +01:00
|
|
|
|
2016-01-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/68269
|
|
|
|
|
* combine.c (expand_field_assignment): Punt if compute_mode is
|
|
|
|
|
unsupported scalar mode.
|
|
|
|
|
|
2016-01-14 15:51:35 +01:00
|
|
|
|
2016-01-14 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/66856
|
|
|
|
|
* tree-vect-slp.c (vect_build_slp_tree): Refactor to build
|
|
|
|
|
SLP node only if it built successfully.
|
|
|
|
|
(vect_analyze_slp_instance): Adjust.
|
|
|
|
|
|
2016-01-14 08:38:18 +01:00
|
|
|
|
2016-01-14 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69270
|
|
|
|
|
* tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
|
|
|
|
|
(record_edge_info): Use it. Convert boolean_{true,false}_node
|
|
|
|
|
to the type of op0.
|
|
|
|
|
|
2016-01-14 00:47:45 +01:00
|
|
|
|
2016-01-13 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/66487
|
|
|
|
|
* ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
|
|
|
|
|
use block_ultimate_origin
|
|
|
|
|
(noncall-stmt_may_be_vtbl_ptr_store): Likewise.
|
2016-01-15 09:46:49 +01:00
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-14 00:27:48 +01:00
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Submodel Options): Rename section to
|
|
|
|
|
"Machine-Dependent Options" to better reflect its content.
|
|
|
|
|
Rewrite introductory text to remove archaic CPU names.
|
|
|
|
|
Update references.
|
|
|
|
|
|
2016-03-02 21:30:48 +01:00
|
|
|
|
2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-13 22:03:45 +01:00
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Code Gen Options): Move section up in file,
|
|
|
|
|
before target-specific options. Update menu and option summary
|
|
|
|
|
to reflect the new section ordering.
|
|
|
|
|
|
2016-01-13 21:30:34 +01:00
|
|
|
|
2016-01-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
|
|
|
|
|
(C++ Dialect Options): Add cross-reference to -std option.
|
|
|
|
|
* doc/standards.texi (C++ Language): Document C++14 support.
|
|
|
|
|
|
2016-01-13 21:07:12 +01:00
|
|
|
|
2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
|
|
|
|
|
for pack/unpack functions for __ibm128.
|
|
|
|
|
(PACK_IF): Likewise.
|
|
|
|
|
(UNPACK_IF): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
|
|
|
|
|
support for __ibm128 pack/unpack functions.
|
|
|
|
|
(rs6000_invalid_builtin): Likewise.
|
|
|
|
|
(rs6000_init_builtins): Likewise.
|
|
|
|
|
(rs6000_opt_masks): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
|
|
|
|
|
(RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
|
|
|
|
|
functions
|
|
|
|
|
(RS6000_BTM_COMMON): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.md (f128_vsx): New mode attribute.
|
|
|
|
|
(unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
|
|
|
|
|
disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
|
|
|
|
|
128-bit floating point. Add support for the double values to be
|
|
|
|
|
in Altivec registers for TF/IF packing and unpacking, but restrict
|
|
|
|
|
TD packing sub-fields to be FPR registers. Don't allow overlapped
|
|
|
|
|
register support for packing. Allow pack inputs to be memory
|
|
|
|
|
locations. Don't build generator functions for unpack<mode>_dm
|
|
|
|
|
and unpack<mode>_nodm.
|
|
|
|
|
(unpack<mode>_dm): Likewise.
|
|
|
|
|
(unpack<mode>_nodm): Likewise.
|
|
|
|
|
(pack<mode>): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
|
|
|
|
|
built-in functions to pack/unpack explicit __ibm128 values.
|
|
|
|
|
(__builtin_unpack_ibm128): Likewise.
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (PowerPC Built-in Functions): Document
|
|
|
|
|
__builtin_pack_ibm128 and __builtin_unpack_ibm128.
|
|
|
|
|
|
2016-01-13 21:03:26 +01:00
|
|
|
|
2016-01-13 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/66208
|
|
|
|
|
* c-common.c (check_function_nonnull): Remove unnecessary declaration.
|
|
|
|
|
Add new arg loc and pass it down as context.
|
|
|
|
|
(check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
|
|
|
|
|
to the location to use for the warning.
|
|
|
|
|
(check_function_arguments): New arg loc. All callers changed. Pass
|
|
|
|
|
it to check_function_nonnull.
|
|
|
|
|
* c-common.h (check_function_arguments): Adjust declaration.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69156
|
|
|
|
|
* gimple.c (validate_type): Removed.
|
|
|
|
|
(gimple_builtin_call_types_compatible_p): Use
|
|
|
|
|
useless_type_conversion_p instead of validate_type.
|
|
|
|
|
* value-prof.c (gimple_stringop_fixed_value): Fold
|
|
|
|
|
icall_size to correct type.
|
|
|
|
|
|
2016-01-13 20:07:21 +01:00
|
|
|
|
2016-01-13 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (__atomic Builtins): Clarify compare_exchange
|
|
|
|
|
effects.
|
|
|
|
|
|
2016-01-13 18:03:42 +01:00
|
|
|
|
2016-01-13 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-opt/68964
|
|
|
|
|
* target.def (builtin_tm_load, builtin_tm_store): Remove.
|
|
|
|
|
* config/i386/i386.c (ix86_builtin_tm_load): Remove.
|
|
|
|
|
(ix86_builtin_tm_store): Remove.
|
|
|
|
|
(TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
|
|
|
|
|
(TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
|
|
|
|
|
* doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
|
|
|
|
|
(TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
|
|
|
|
|
* doc/tm.texi: Rebuild.
|
|
|
|
|
|
|
|
|
|
* gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
|
|
|
|
|
(BUILT_IN_TM_MEMCPY_RTWN): New.
|
|
|
|
|
* trans-mem.c (tm_log_emit_stmt): Rearrange code for better
|
|
|
|
|
fallback from vector to integer helpers.
|
|
|
|
|
(build_tm_load): Handle vector types directly, instead of
|
|
|
|
|
via target hook.
|
|
|
|
|
(build_tm_store): Likewise.
|
|
|
|
|
(expand_assign_tm): Prepare for register types not handled by
|
|
|
|
|
the above. Copy them to memory and use memcpy.
|
|
|
|
|
* tree.c (tm_define_builtin): New.
|
|
|
|
|
(find_tm_vector_type): New.
|
|
|
|
|
(build_tm_vector_builtins): New.
|
|
|
|
|
(build_common_builtin_nodes): Call it.
|
|
|
|
|
|
2016-01-13 17:41:46 +01:00
|
|
|
|
2016-01-13 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
|
|
|
|
|
TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
|
|
|
|
|
|
2016-01-13 17:50:17 +01:00
|
|
|
|
2016-01-13 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69169
|
|
|
|
|
* tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
|
|
|
|
|
handled_struct_type param.
|
|
|
|
|
(create_variable_info_for, intra_create_variable_infos): Call
|
|
|
|
|
create_variable_info_for_1 with extra arg.
|
|
|
|
|
|
2016-01-13 16:28:28 +01:00
|
|
|
|
2016-01-13 Yvan Roux <yvan.roux@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
|
|
|
|
|
and "armv8.1-a+crc" entries.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-13 Alexander Fomin <alexander.fomin@intel.com>
|
2016-01-13 15:31:13 +01:00
|
|
|
|
|
|
|
|
|
PR target/69228
|
|
|
|
|
* config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
|
|
|
|
|
Change first operand predicate from register_or_constm1_operand
|
|
|
|
|
to register_operand.
|
|
|
|
|
(define_expand "avx512pf_gatherpf<mode>df"): Likewise.
|
|
|
|
|
(define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
|
|
|
|
|
(define_expand "avx512pf_scatterpf<mode>df"): Likewise.
|
|
|
|
|
(define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
|
|
|
|
|
(define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
|
|
|
|
|
(define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
|
|
|
|
|
(define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
|
|
|
|
|
* config/i386/i386.c (ix86_expand_builtin): Remove first operand
|
|
|
|
|
comparison with constm1_rtx from vec_prefetch_gen part.
|
|
|
|
|
|
2016-01-13 13:15:01 +01:00
|
|
|
|
2016-01-13 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69013
|
|
|
|
|
* tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
|
|
|
|
|
Exchange assert for a test.
|
|
|
|
|
|
2016-01-13 12:59:29 +01:00
|
|
|
|
2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/69247
|
|
|
|
|
* config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
|
|
|
|
|
|
2016-01-13 09:27:42 +01:00
|
|
|
|
2016-01-13 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69242
|
|
|
|
|
* tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
|
|
|
|
|
assert with a check.
|
|
|
|
|
|
2016-01-13 09:26:45 +01:00
|
|
|
|
2016-01-13 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69186
|
|
|
|
|
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
|
|
|
|
|
Properly guard vect_update_misalignment_for_peel call.
|
|
|
|
|
|
2016-01-13 05:17:36 +01:00
|
|
|
|
2016-01-12 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/pr67755
|
|
|
|
|
* tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
|
|
|
|
|
"need_profile_correction".
|
|
|
|
|
(thread_block_1): Initialize new field to false by default. If we
|
|
|
|
|
have multiple thread paths through a common joiner to different
|
|
|
|
|
final targets, then set new field to true.
|
|
|
|
|
(compute_path_counts): Only do count adjustment when it's really
|
|
|
|
|
needed.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-13 04:27:24 +01:00
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Spec Files): Move section down in file, past
|
|
|
|
|
all command-line option descriptions.
|
|
|
|
|
|
2016-01-13 03:51:11 +01:00
|
|
|
|
2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
|
|
|
|
|
|
|
|
|
PR middle-end/54809
|
|
|
|
|
* doc/gty.texi: Remove documentation of mark_hook.
|
|
|
|
|
* gengtype.c (struct write_types_data): Remove code to support
|
|
|
|
|
mark_hook attribute.
|
|
|
|
|
(walk_type): Likewise.
|
|
|
|
|
(write_func_for_structure): Likewise.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-13 01:40:41 +01:00
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
|
|
|
|
|
Directory Options, and -specs= to Overall Options.
|
|
|
|
|
(Overall Options): Adjust similarly. Reorder to group related
|
|
|
|
|
options together. Make -specs= cross-reference the spec file details.
|
|
|
|
|
(Directory Options): Adjust similarly.
|
|
|
|
|
|
2016-01-12 23:38:06 +01:00
|
|
|
|
2016-01-12 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-threadupdate.c: Various whitespace and typo fixes.
|
|
|
|
|
|
2016-01-12 18:53:14 +01:00
|
|
|
|
2016-01-12 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* gcc.c (spec_undefvar_allowed): New global.
|
|
|
|
|
(process_command): Set to true when running for --version or --help,
|
|
|
|
|
alone or together.
|
|
|
|
|
(getenv_spec_function): When the variable is not defined, use the
|
|
|
|
|
variable name as the variable value if we're allowed not to issue
|
|
|
|
|
a fatal error.
|
|
|
|
|
|
2016-01-12 18:49:51 +01:00
|
|
|
|
2016-01-12 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68911
|
|
|
|
|
* tree-vrp.c (adjust_range_with_scev): Check overflow in range
|
|
|
|
|
information computed for expression "init + nit * step".
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-12 18:34:37 +01:00
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
|
|
|
|
|
about name of GCC executable. Remove deleted node from menu.
|
|
|
|
|
(Directory Options) <-B>: Remove cross-reference to deleted node.
|
|
|
|
|
(Target Options): Delete section.
|
|
|
|
|
|
2016-01-12 16:01:12 +01:00
|
|
|
|
2016-01-12 Christian Bruel <christian.bruel@st.com>
|
|
|
|
|
|
|
|
|
|
PR target/69180
|
|
|
|
|
* config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
|
|
|
|
|
for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
|
|
|
|
|
|
2016-01-12 14:19:49 +01:00
|
|
|
|
2016-01-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-01-12 14:20:33 +01:00
|
|
|
|
PR target/69198
|
|
|
|
|
* config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
|
|
|
|
|
aligned_mem is properly set for AVX512-VL floating point masked
|
|
|
|
|
stores.
|
|
|
|
|
|
2016-01-12 14:19:49 +01:00
|
|
|
|
PR target/69175
|
|
|
|
|
* ifcvt.c (cond_exec_process_if_block): When removing the last
|
|
|
|
|
insn from then_bb, remove also any possible barriers that follow it.
|
|
|
|
|
|
2016-01-12 14:16:53 +01:00
|
|
|
|
2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/68456
|
|
|
|
|
PR target/69226
|
|
|
|
|
* config/i386/iamcu.h (SIZE_TYPE): New macro.
|
|
|
|
|
(PTRDIFF_TYPE): Likewise.
|
|
|
|
|
(WCHAR_TYPE): Likewise.
|
|
|
|
|
(WCHAR_TYPE_SIZE): Likewise.
|
|
|
|
|
(STDINT_LONG32): Likewise.
|
|
|
|
|
|
2016-01-12 12:41:16 +01:00
|
|
|
|
2016-01-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69053
|
|
|
|
|
* tree-vect-loop.c (get_initial_def_for_reduction): Properly
|
|
|
|
|
convert initial value for cond reductions.
|
|
|
|
|
|
2016-01-12 12:39:54 +01:00
|
|
|
|
2016-01-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69007
|
|
|
|
|
* tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
|
|
|
|
|
widen_sum after dot_prod and sad.
|
|
|
|
|
|
2016-01-12 09:36:24 +01:00
|
|
|
|
2016-01-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69168
|
|
|
|
|
* tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
|
|
|
|
|
pattern stmt SLP type.
|
|
|
|
|
* tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
|
|
|
|
|
end up unused so cope with that case.
|
|
|
|
|
|
2016-01-12 09:30:44 +01:00
|
|
|
|
2016-01-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69157
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_mask_load_store): Check
|
|
|
|
|
stmts def type only during analyze phase.
|
|
|
|
|
(vectorizable_call): Likewise.
|
|
|
|
|
(vectorizable_simd_clone_call): Likewise.
|
|
|
|
|
(vectorizable_conversion): Likewise.
|
|
|
|
|
(vectorizable_assignment): Likewise.
|
|
|
|
|
(vectorizable_shift): Likewise.
|
|
|
|
|
(vectorizable_operation): Likewise.
|
|
|
|
|
(vectorizable_store): Likewise.
|
|
|
|
|
(vectorizable_load): Likewise.
|
|
|
|
|
|
|
|
|
|
2016-01-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69174
|
|
|
|
|
* tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
|
|
|
|
|
space.
|
|
|
|
|
(vectorizable_load): Properly compute the number of loads needed
|
|
|
|
|
for permuted strided SLP loads and do not spuriously assign
|
|
|
|
|
to SLP_TREE_VEC_STMTS.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
|
2016-01-12 05:57:10 +01:00
|
|
|
|
|
|
|
|
|
* config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
|
|
|
|
|
(TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
|
|
|
|
|
(MD_EXEC_PREFIX): Remove.
|
|
|
|
|
(MD_STARTFILE_PREFIX) Removee.
|
|
|
|
|
(FILE_NAME_ABSOLUTE_P): Remove.
|
|
|
|
|
(CPP_SPEC): Do not read macros from sys/version.h.
|
|
|
|
|
(LINK_COMMAND_SPEC): Remove.
|
|
|
|
|
(LOCAL_INCLUDE_DIR): Remove.
|
|
|
|
|
(TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
|
|
|
|
|
(TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
|
|
|
|
|
(POST_LINK_SPEC): Define to invoke stubify after linker
|
|
|
|
|
(LIBSTDCXX): Remove define
|
|
|
|
|
(DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
|
|
|
|
|
(DEFAULT_PCC_STRUCT_RETURN): Define to 1.
|
|
|
|
|
(SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
|
|
|
|
|
(SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
|
|
|
|
|
(SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
|
|
|
|
|
(IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
|
|
|
|
|
(i386_djgpp_asm_named_section): Add propotype of new procedure
|
|
|
|
|
|
|
|
|
|
* config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
|
|
|
|
|
(MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
|
2016-01-28 23:32:47 +01:00
|
|
|
|
(STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX
|
|
|
|
|
in config/i386/djgpp.h).
|
|
|
|
|
(STANDARD_STARTFILE_PREFIX_2): Define identical to
|
|
|
|
|
STANDARD_STARTFILE_PREFIX_1.
|
2016-01-12 05:57:10 +01:00
|
|
|
|
(LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
|
2016-01-28 23:32:47 +01:00
|
|
|
|
(GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal
|
|
|
|
|
installation errors.
|
2016-01-12 05:57:10 +01:00
|
|
|
|
(MAX_OFILE_ALIGNMENT): Define to 128.
|
|
|
|
|
(HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* config/i386/djgpp.c: New file. Add implementation of
|
|
|
|
|
i386_djgpp_asm_named_section.
|
2016-01-12 05:57:10 +01:00
|
|
|
|
|
|
|
|
|
* config/i386/djgpp.opt: Remove obsolete option -mbnu210.
|
|
|
|
|
|
|
|
|
|
* config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
|
|
|
|
|
Add rule for building djgpp.o.
|
|
|
|
|
|
2016-01-12 05:49:55 +01:00
|
|
|
|
2016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (v2df_reduction_p): New function.
|
|
|
|
|
(rtx_is_swappable_p): Reductions are swappable.
|
|
|
|
|
(insn_is_swappable_p): V2DF reductions are swappable.
|
|
|
|
|
|
2016-01-12 02:35:23 +01:00
|
|
|
|
2016-01-11 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/pa.c (pa_emit_move_sequence): Handle floating point
|
|
|
|
|
reloads for other unsupported memory operands.
|
|
|
|
|
|
2016-01-12 01:40:54 +01:00
|
|
|
|
2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
|
|
|
|
|
Jim Wilson <jim.wilson@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/69194
|
|
|
|
|
* config/arm/arm-builtins.c (arm_expand_neon_args): Call
|
|
|
|
|
copy_to_mode_reg instead of force_reg.
|
|
|
|
|
|
2016-01-12 01:30:30 +01:00
|
|
|
|
2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/69225
|
|
|
|
|
* config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
|
|
|
|
|
TARGET_80387 is true.
|
|
|
|
|
|
2016-01-11 18:55:38 +01:00
|
|
|
|
2016-01-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-01-11 20:06:34 +01:00
|
|
|
|
PR target/69071
|
|
|
|
|
* lra-eliminations.c (move_plus_up): Only move plus up
|
|
|
|
|
if subreg of the constant can be simplified into constant
|
|
|
|
|
and use the simplified subreg of the constant instead of
|
|
|
|
|
the original constant.
|
|
|
|
|
|
2016-01-11 18:57:43 +01:00
|
|
|
|
* fold-const.c (fold_convertible_p): Don't return true
|
|
|
|
|
for conversion of VECTOR_TYPE to same sized integral type.
|
|
|
|
|
(fold_convert_loc): Fix up formatting. Fold conversion of
|
|
|
|
|
VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
|
|
|
|
|
instead of NOP_EXPR.
|
|
|
|
|
|
2016-01-11 18:56:39 +01:00
|
|
|
|
PR tree-optimization/69214
|
|
|
|
|
* tree-vrp.c (simplify_cond_using_ranges): Don't propagate
|
|
|
|
|
innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
|
|
|
|
|
Formatting fix.
|
|
|
|
|
|
2016-01-11 18:55:38 +01:00
|
|
|
|
PR tree-optimization/69207
|
|
|
|
|
* tree-vect-slp.c (vect_get_constant_vectors): For
|
|
|
|
|
VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
|
|
|
|
|
fold_convertible_p to vector_type's element type, and always
|
|
|
|
|
use VCE for non-VECTOR_BOOLEAN_TYPE_P.
|
|
|
|
|
|
2016-01-11 17:02:23 +01:00
|
|
|
|
2016-01-11 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69173
|
|
|
|
|
* tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
|
|
|
|
|
fixup the cycle if all stmts are in a pattern.
|
|
|
|
|
|
2016-01-11 16:48:40 +01:00
|
|
|
|
2016-01-11 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/68999
|
|
|
|
|
* alias.c (base_alias_check): Move check for addresses with
|
|
|
|
|
alignment ANDs before the call for compare_base_decls.
|
|
|
|
|
(memrefs_conflict_p): Return -1 for different decls
|
|
|
|
|
that went through alignment adjustments.
|
|
|
|
|
|
2016-01-11 15:44:22 +01:00
|
|
|
|
2016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68796
|
|
|
|
|
* config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
|
|
|
|
|
and QImode comparisons against zero with CC_NZmode.
|
|
|
|
|
* config/aarch64/iterators.md (short_mask): New mode_attr.
|
|
|
|
|
|
2016-01-11 13:33:25 +01:00
|
|
|
|
2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
2016-01-11 16:48:40 +01:00
|
|
|
|
* config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
|
2016-01-11 13:33:25 +01:00
|
|
|
|
(<avx512>_store<mode>_mask): Likewise.
|
|
|
|
|
|
2016-01-11 13:13:50 +01:00
|
|
|
|
2016-01-11 Bernd Schmidt <bschmidt@redhat.com>
|
2016-01-11 16:48:40 +01:00
|
|
|
|
Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
2016-01-11 13:13:50 +01:00
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68841
|
|
|
|
|
* ifcvt.c (struct noce_if_info): Add orig_x field.
|
|
|
|
|
(bbs_ok_for_cmove_arith): Add to_rename parameter.
|
|
|
|
|
Don't record conflicts on to_rename if it's present.
|
|
|
|
|
Allow memory destinations in sets.
|
|
|
|
|
(noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
|
|
|
|
|
blocks, passing orig_x to the checks.
|
|
|
|
|
(noce_process_if_block): Set if_info->orig_x appropriately.
|
|
|
|
|
|
2016-01-11 13:08:38 +01:00
|
|
|
|
2016-01-11 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69069
|
|
|
|
|
* tree-parloops.c (create_parallel_loop): Add missing phi args.
|
|
|
|
|
|
2016-01-11 13:07:31 +01:00
|
|
|
|
2016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68920
|
|
|
|
|
* config/i386/i386.c (ix86_option_override_internal): Restrict number
|
|
|
|
|
of conditional moves for RTL if-conversion to 1 for
|
|
|
|
|
TARGET_ONE_IF_CONV_INSN.
|
|
|
|
|
* config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
|
|
|
|
|
* config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
|
|
|
|
|
* params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
|
|
|
|
|
parameter to restirct number of conditional moves for
|
|
|
|
|
RTL if-conversion.
|
|
|
|
|
* doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
|
|
|
|
|
* ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
|
|
|
|
|
conditionl moves.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-11 Alexandre Oliva <aoliva@redhat.com>
|
2016-01-11 11:40:12 +01:00
|
|
|
|
|
[PR69123] fix handling of MEMs in VTA to avoid dataflow oscillation
The problem arises because we used to drop overwritten MEMs from loc
lists of VALUEs, but not of other onepart variables, and it just so
happens that, by doing so, block 6 in the testcase has no D#5 in its
output in the first pass, because the MEM holding its (previous) value
was correctly dropped from value 88:88, but gains it in the second
pass because D#5 has the MEM location incoming directly in its loc
list, rather than indirectly in a VALUE.
This incorrect binding enables other blocks to believe they have a
tentative binding for D#5 in some cycles, but others, still operating
on the early conclusion, believe there isn't, and they oscillate from
that.
Since we check for escaping MEMs in clobbers, we won't lose anything
relevant by dropping call-clobbered or overwritten MEMs in all onepart
variables, and this ensures the loc intersection operation in onepart
vars won't let a MEM through that wasn't present in earlier
iterations.
for gcc/ChangeLog
PR bootstrap/69123
* var-tracking.c (drop_overlapping_mem_locs): Operate on all
onepart vars. Fix typo in comment. Fix reversed condition in
unshare test.
(dataflow_set_remove_mem_locs): Operate on all onepart vars.
for gcc/testsuite/ChangeLog
PR bootstrap/69123
* g++.dg/pr69123.C: New.
From-SVN: r232218
2016-01-11 11:40:33 +01:00
|
|
|
|
PR bootstrap/69123
|
|
|
|
|
* var-tracking.c (drop_overlapping_mem_locs): Operate on all
|
|
|
|
|
onepart vars. Fix typo in comment. Fix reversed condition in
|
|
|
|
|
unshare test.
|
|
|
|
|
(dataflow_set_remove_mem_locs): Operate on all onepart vars.
|
|
|
|
|
|
2016-01-11 11:40:12 +01:00
|
|
|
|
PR bootstrap/69123
|
|
|
|
|
* var-tracking.c (dump_onepart_variable_differences): New.
|
|
|
|
|
(dataflow_set_different): If a detailed dump is requested,
|
|
|
|
|
delay early returns and dump differences between onepart
|
|
|
|
|
variables present before and after, and added variables.
|
|
|
|
|
|
2016-01-11 11:27:17 +01:00
|
|
|
|
2016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69010
|
|
|
|
|
* expr.c (expand_expr_real_1): For boolean vector constants
|
|
|
|
|
with a scalar mode use const_scalar_mask_from_tree.
|
|
|
|
|
(const_scalar_mask_from_tree): New.
|
|
|
|
|
* optabs.c (expand_vec_cond_mask_expr): Use mask mode
|
|
|
|
|
assigned to a mask type to handle constants.
|
|
|
|
|
|
2016-01-11 11:09:17 +01:00
|
|
|
|
2016-01-11 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/69044
|
|
|
|
|
* ipa-cp.c (estimate_local_effects): Do not clone for removal of
|
|
|
|
|
useless parameters if we cannot change function signature.
|
|
|
|
|
|
2016-01-11 11:03:44 +01:00
|
|
|
|
2016-01-11 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/66616
|
|
|
|
|
* cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
|
|
|
|
|
flag.
|
|
|
|
|
|
2016-01-11 10:38:28 +01:00
|
|
|
|
2016-01-11 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69109
|
|
|
|
|
* tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
|
|
|
|
|
latch with phi.
|
|
|
|
|
|
2016-01-11 10:19:33 +01:00
|
|
|
|
2016-01-11 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69108
|
|
|
|
|
* tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
|
|
|
|
|
res is not used in a phi.
|
|
|
|
|
|
2016-01-11 10:06:14 +01:00
|
|
|
|
2016-01-11 Yury Gribov <y.gribov@samsung.com>
|
|
|
|
|
|
|
|
|
|
PR 67425
|
|
|
|
|
* common.opt (frandom-seed): Fix parameter name.
|
|
|
|
|
* doc/invoke.texi (frandom-seed): Ditto and describe parameter.
|
|
|
|
|
|
2016-01-11 09:55:16 +01:00
|
|
|
|
2016-01-11 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69058
|
|
|
|
|
* tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
|
|
|
|
|
not supported.
|
|
|
|
|
|
2016-01-11 05:11:19 +01:00
|
|
|
|
2016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.opt (mdiv-rem): Add period to the end.
|
|
|
|
|
(mcode-density): Likewise.
|
|
|
|
|
|
2016-01-10 13:44:57 +01:00
|
|
|
|
2016-01-10 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69062
|
|
|
|
|
* tree-parloops.c (loop_has_phi_with_address_arg): New function.
|
|
|
|
|
(parallelize_loops): Don't paralelize loop that has phi with address
|
|
|
|
|
arg.
|
|
|
|
|
|
2016-01-10 10:12:03 +01:00
|
|
|
|
2016-01-10 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69039
|
|
|
|
|
* tree-parloops.c (try_create_reduction_list): Only allow single exit
|
|
|
|
|
phi for reduction.
|
|
|
|
|
|
2016-01-09 19:13:44 +01:00
|
|
|
|
2016-01-09 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR middle-end/68743
|
|
|
|
|
* match.pd: Require target has function_c99_misc before doing
|
|
|
|
|
truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
|
2016-01-28 23:32:47 +01:00
|
|
|
|
|
2016-01-09 14:25:22 +01:00
|
|
|
|
2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2016-01-28 23:32:47 +01:00
|
|
|
|
* configure.ac (isl_options_set_schedule_serialize_sccs): Also
|
2016-01-09 14:25:22 +01:00
|
|
|
|
use GMPINC.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2016-01-09 08:37:04 +01:00
|
|
|
|
2016-01-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/50865
|
|
|
|
|
PR tree-optimization/69097
|
|
|
|
|
* fold-const.h (expr_not_equal_to): New prototype.
|
|
|
|
|
* fold-const.c: Include stringpool.h and tree-ssanames.h.
|
|
|
|
|
(expr_not_equal_to): New function.
|
|
|
|
|
* match.pd (X % -Y is the same as X % Y): Don't optimize
|
|
|
|
|
unless X is known not to be equal to minimum or Y is known
|
|
|
|
|
not to be equal to -1.
|
|
|
|
|
* tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
|
|
|
|
|
fold TRUNC_MOD_EXPR if the second argument is not a power of two.
|
|
|
|
|
(simplify_stmt_using_ranges): Adjust caller.
|
|
|
|
|
(vrp_finalize): Call set_value_range on SSA_NAMEs before calling
|
|
|
|
|
substitute_and_fold.
|
|
|
|
|
|
2016-01-08 22:19:04 +01:00
|
|
|
|
2016-01-09 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
|
|
|
|
|
w/o DECL_NAME.
|
|
|
|
|
|
2016-01-08 21:50:24 +01:00
|
|
|
|
2016-01-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69167
|
|
|
|
|
* gimple-fold.c (replace_stmt_with_simplification): Also punt if
|
|
|
|
|
new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
|
|
|
|
|
ops[0] comparison.
|
|
|
|
|
* gimple-match-head.c (maybe_push_res_to_seq): Likewise.
|
|
|
|
|
|
2016-01-08 19:02:35 +01:00
|
|
|
|
2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
|
2016-01-08 21:50:24 +01:00
|
|
|
|
Richard Biener <rguenther@suse.de>
|
2016-01-08 19:02:35 +01:00
|
|
|
|
|
|
|
|
|
PR tree-optimization/68707
|
|
|
|
|
* tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
|
|
|
|
|
instances that can be handled via vect_load_lanes.
|
|
|
|
|
|
2016-01-08 17:13:18 +01:00
|
|
|
|
2016-01-08 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
|
|
|
|
|
if we can't determine address equivalence.
|
|
|
|
|
* alias.c (compare_base_decl): Update for changed return value of
|
|
|
|
|
symtab_node::equal_address_to.
|
|
|
|
|
|
2016-01-08 17:01:12 +01:00
|
|
|
|
2016-01-08 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/68983
|
|
|
|
|
PR c++/67557
|
|
|
|
|
* function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
|
|
|
|
|
* expr.c (store_field): Not here.
|
|
|
|
|
* tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
|
|
|
|
|
call with TREE_ADDRESSABLE type.
|
|
|
|
|
* tree-cfg.c (verify_gimple_call): Adjust.
|
|
|
|
|
|
2016-01-08 15:34:08 +01:00
|
|
|
|
2016-01-08 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
|
|
|
|
|
libc_internal.
|
|
|
|
|
|
2016-01-08 12:15:58 +01:00
|
|
|
|
2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
|
|
|
|
|
|
|
|
|
|
* gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
|
|
|
|
|
(reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
|
|
|
|
|
(reduc_smin_v2sf): Rename to...
|
|
|
|
|
(reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
|
|
|
|
|
(reduc_splus_v2sf): Rename to...
|
|
|
|
|
(reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
|
|
|
|
|
|
2016-01-08 11:13:23 +01:00
|
|
|
|
2016-01-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-01-08 11:14:29 +01:00
|
|
|
|
PR tree-optimization/69162
|
|
|
|
|
* gimplify.c (gimplify_va_arg_expr): Encode original type of
|
|
|
|
|
valist argument in another argument.
|
|
|
|
|
(gimplify_modify_expr): Adjust for the above change. Cleanup.
|
|
|
|
|
* tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
|
|
|
|
|
to determine the va_list type, build a MEM_REF instead of
|
|
|
|
|
build_fold_indirect_ref.
|
|
|
|
|
|
2016-01-08 11:13:23 +01:00
|
|
|
|
PR tree-optimization/69172
|
|
|
|
|
* gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
|
|
|
|
|
gimple_build.
|
|
|
|
|
|
2016-01-08 10:21:19 +01:00
|
|
|
|
2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/67781
|
|
|
|
|
* tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
|
|
|
|
|
and cmpnop in two steps: first the ones not accessed in original
|
|
|
|
|
gimple expression in a endian independent way and then the ones not
|
|
|
|
|
accessed in the final result in an endian-specific way.
|
|
|
|
|
|
2016-01-08 09:37:17 +01:00
|
|
|
|
2016-01-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69083
|
|
|
|
|
* tree-vect-slp.c (vect_get_constant_vectors): For
|
|
|
|
|
VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
|
|
|
|
|
element type. If op is fold_convertible_p to vector_type's element
|
|
|
|
|
type, use NOP_EXPR instead of VCE.
|
|
|
|
|
|
2016-01-08 04:58:40 +01:00
|
|
|
|
2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/67778
|
|
|
|
|
PR rtl-optimization/68634
|
|
|
|
|
PR rtl-optimization/68909
|
|
|
|
|
* shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
|
|
|
|
|
block from the stack until done with it. Remove a superfluous
|
|
|
|
|
bitmap set. Remove a superfluous bitmap test.
|
|
|
|
|
|
2016-01-08 02:00:25 +01:00
|
|
|
|
2016-01-07 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/68966
|
|
|
|
|
* doc/extend.texi (__atomic Builtins, __sync Builtins): Document
|
|
|
|
|
constraint on the type of arguments.
|
|
|
|
|
|
2016-01-07 21:35:53 +01:00
|
|
|
|
2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
|
|
|
|
|
SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
|
|
|
|
|
unaligned_access on the gcc_options set.
|
|
|
|
|
* config/arm/arm.c (arm_option_override_internal): Use
|
|
|
|
|
SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
|
|
|
|
|
|
2016-01-07 20:06:37 +01:00
|
|
|
|
2016-01-07 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69140
|
|
|
|
|
* config/i386/i386.c (ix86_frame_pointer_required): Enable
|
|
|
|
|
frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
|
|
|
|
|
|
|
|
|
|
2016-01-07 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
Revert
|
|
|
|
|
2016-01-06 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69140
|
|
|
|
|
* config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
|
|
|
|
|
depending on frame_pointer_needed before remaining integer and SSE
|
|
|
|
|
registers are saved.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-07 19:02:25 +01:00
|
|
|
|
|
|
|
|
|
PR 1078
|
|
|
|
|
* doc/extend.texi (Nvidia PDX Function Attributes): New section.
|
|
|
|
|
|
2016-01-07 13:43:06 +01:00
|
|
|
|
2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/69171
|
|
|
|
|
* config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
|
|
|
|
|
Use the "xBm" constraint.
|
|
|
|
|
(float<sseintvecmodelower><mode>2<mask_name><round_name):
|
|
|
|
|
Likewise.
|
|
|
|
|
(sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
|
|
|
|
|
(sse_cvtsi2ssq<round_name>): Likewise.
|
|
|
|
|
(sse_cvtss2si<round_name>): Likewise.
|
|
|
|
|
(sse_cvtss2siq<round_name>): Likewise.
|
|
|
|
|
(sse2_cvtsi2sdq<round_name>): Likewise.
|
|
|
|
|
(sse2_cvtsd2si<round_name>): Likewise.
|
|
|
|
|
(sse2_cvtsd2siq<round_name>): Likewise.
|
|
|
|
|
* config/i386/subst.md (round_nimm_scalar_predicate): New
|
|
|
|
|
predicate.
|
|
|
|
|
|
2016-01-07 13:15:59 +01:00
|
|
|
|
2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
2016-01-07 13:17:39 +01:00
|
|
|
|
PR middle-end/67639
|
|
|
|
|
* varasm.c (make_decl_rtl): Mark invalid register vars as
|
|
|
|
|
DECL_EXTERNAL.
|
|
|
|
|
|
2016-01-07 13:15:59 +01:00
|
|
|
|
PR rtl-optimization/66206
|
|
|
|
|
* bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
|
|
|
|
|
All callers changed.
|
|
|
|
|
|
2016-01-07 09:45:54 +01:00
|
|
|
|
2016-01-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-01-07 09:47:44 +01:00
|
|
|
|
PR tree-optimization/69141
|
|
|
|
|
* tree-ssa-pre.c: Include langhooks.h.
|
|
|
|
|
(eliminate_dom_walker::before_dom_children): Use
|
|
|
|
|
lang_hooks.decl_printable_name instead of
|
|
|
|
|
cgraph_node::get ()->name ().
|
|
|
|
|
|
2016-01-07 09:45:54 +01:00
|
|
|
|
PR middle-end/68960
|
|
|
|
|
* gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
|
|
|
|
|
it and DECL_ALIGN too.
|
|
|
|
|
|
2016-01-06 22:10:59 +01:00
|
|
|
|
2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips-ftypes.def: Sort to lexicographical order.
|
|
|
|
|
|
2016-01-06 21:19:04 +01:00
|
|
|
|
2016-01-06 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/69140
|
|
|
|
|
* config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
|
|
|
|
|
depending on frame_pointer_needed before remaining integer and SSE
|
|
|
|
|
registers are saved.
|
|
|
|
|
|
2016-01-06 20:19:47 +01:00
|
|
|
|
2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
|
|
|
|
|
mode iterator with VSX_M2.
|
|
|
|
|
(*p9_vecstore_<mode>): Likewise.
|
|
|
|
|
(*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
|
|
|
|
|
(*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
|
|
|
|
|
(*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
|
|
|
|
|
(define_split for VSX_LE128 stores): Likewise.
|
|
|
|
|
(define_peephole2 for TImode LE swaps): Likewise.
|
|
|
|
|
(define_split for VSX_LE128 post-reload stores): Likewise.
|
|
|
|
|
|
2016-01-06 11:24:15 +01:00
|
|
|
|
2016-01-06 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/69099
|
|
|
|
|
* convert.c (convert_to_integer_1): Adjust call to
|
|
|
|
|
ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
|
|
|
|
|
* ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
|
|
|
|
|
EXPR instead of ARG.
|
|
|
|
|
* ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-05 21:51:48 +01:00
|
|
|
|
|
|
|
|
|
PR 1078
|
|
|
|
|
* doc/extend.texi (RL78 Variable Attributes): New section.
|
|
|
|
|
|
2016-01-05 21:24:02 +01:00
|
|
|
|
2016-01-05 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/69104
|
|
|
|
|
* builtins.c (get_memmodel): Use expansion point location rather than
|
|
|
|
|
the input location. Call warning_at rather than warning.
|
|
|
|
|
(expand_builtin_atomic_compare_exchange): Likewise.
|
|
|
|
|
(expand_builtin_atomic_load): Likewise.
|
|
|
|
|
(expand_builtin_atomic_store): Likewise.
|
|
|
|
|
(expand_builtin_atomic_clear): Likewise.
|
|
|
|
|
|
2016-01-05 21:19:16 +01:00
|
|
|
|
2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/68991
|
|
|
|
|
* config/i386/i386.c (ix86_expand_vector_logical_operator):
|
|
|
|
|
Replace nonimmediate_operand with vector_operand.
|
|
|
|
|
* config/i386/predicates.md (vector_operand): New predicate.
|
|
|
|
|
(general_vector_operand): Replace nonimmediate_operand with
|
|
|
|
|
vector_operand.
|
|
|
|
|
* config/i386/sse.md: Replace nonimmediate_operand with
|
|
|
|
|
vector_operand and m constraint with Bm constraint on SSE
|
|
|
|
|
patterns with 16-byte memory operand.
|
|
|
|
|
* config/i386/subst.md (round_nimm_predicate): Replace
|
|
|
|
|
nonimmediate_operand with vector_operand.
|
|
|
|
|
(round_saeonly_nimm_predicate): Likewise.
|
|
|
|
|
(round_saeonly_nimm_scalar_predicate): New.
|
|
|
|
|
|
2016-01-05 21:17:26 +01:00
|
|
|
|
2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/68991
|
|
|
|
|
* config/i386/constraints.md (Bm): New constraint.
|
|
|
|
|
* config/i386/predicates.md (vector_memory_operand): New
|
|
|
|
|
predicate.
|
|
|
|
|
* config/i386/sse.md: Replace xm with xBm in plusminus and
|
|
|
|
|
any_logic patterns.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-05 20:45:43 +01:00
|
|
|
|
|
|
|
|
|
PR 1078
|
|
|
|
|
* doc/extend.texi (V850 Function Attributes): New section.
|
|
|
|
|
(V850 Variable Attributes): New section.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-05 19:04:01 +01:00
|
|
|
|
|
|
|
|
|
PR 1078
|
|
|
|
|
* doc/extend.texi (MicroBlaze Function Attributes): Document
|
|
|
|
|
interrupt_handler and fast_interrupt attributes.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-05 Sergei Trofimovich <siarheit@google.com>
|
2016-01-05 18:57:05 +01:00
|
|
|
|
|
|
|
|
|
PR other/60465
|
|
|
|
|
* config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
|
|
|
|
|
for local symbolic operands.
|
|
|
|
|
* config/ia64/predicates.md (local_symbolic_operand64): New
|
|
|
|
|
predicate.
|
|
|
|
|
|
2016-01-05 17:06:06 +01:00
|
|
|
|
2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68651
|
|
|
|
|
* combine.c (combine_simplify_rtx): Canonicalize x + x into
|
|
|
|
|
x << 1.
|
|
|
|
|
|
2016-01-05 15:15:01 +01:00
|
|
|
|
2016-01-05 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* alias.c (compare_base_decls): Use symtab_node::get.
|
|
|
|
|
|
2016-01-05 11:57:01 +01:00
|
|
|
|
2016-01-05 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2016-01-05 14:20:29 +01:00
|
|
|
|
PR target/68770
|
|
|
|
|
* ira-costs.c (copy_cost): Initialise the t_icode field of the
|
|
|
|
|
secondary_reload_info structure.
|
|
|
|
|
|
2016-01-05 11:57:01 +01:00
|
|
|
|
PR target/66655
|
|
|
|
|
* config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
|
|
|
|
|
decls if weak support is available.
|
|
|
|
|
|
2016-01-05 03:53:10 +01:00
|
|
|
|
2016-01-04 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
|
|
|
|
|
|
2016-01-04 19:22:52 +01:00
|
|
|
|
2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
2016-01-04 20:04:49 +01:00
|
|
|
|
* config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
|
|
|
|
|
OPTION_MASK_P9_DFORM.
|
|
|
|
|
|
2016-01-04 19:22:52 +01:00
|
|
|
|
* config/rs6000/constraints.md (wo constraint): New constraint for
|
|
|
|
|
ISA 3.0 (power9).
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
|
|
|
|
|
for wo constraint.
|
|
|
|
|
(rs6000_init_hard_regno_mode_ok): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
|
|
|
|
|
wo constraint.
|
|
|
|
|
|
|
|
|
|
* config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
|
|
|
|
|
expanders not to have constraints. Add support for ISA 3.0 xxperm
|
|
|
|
|
instruction. Add support for fusing xxlor with xxperm.
|
|
|
|
|
(altivec_vperm_<mode>_internal): Likewise.
|
|
|
|
|
(altivec_vperm_v8hiv16qi): Likewise.
|
|
|
|
|
(altivec_vperm_<mode>v16q): Likewise.
|
|
|
|
|
(altivec_vperm_<mode>_uns): Likewise.
|
|
|
|
|
(vperm_v8hiv4si): Likewise.
|
|
|
|
|
(vperm_v16qiv8hi): Likewise.
|
|
|
|
|
|
|
|
|
|
* doc/md.texi (RS/6000 constraints): Document wo constraint.
|
|
|
|
|
|
2016-01-04 14:03:35 +01:00
|
|
|
|
2016-01-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-01-04 15:30:50 +01:00
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2016-01-04 14:03:35 +01:00
|
|
|
|
* gcc.c (process_command): Update copyright notice dates.
|
|
|
|
|
* gcov-dump.c (print_version): Ditto.
|
|
|
|
|
* gcov.c (print_version): Ditto.
|
|
|
|
|
* gcov-tool.c (print_version): Ditto.
|
|
|
|
|
* gengtype.c (create_file): Ditto.
|
|
|
|
|
* doc/cpp.texi: Bump @copying's copyright year.
|
|
|
|
|
* doc/cppinternals.texi: Ditto.
|
|
|
|
|
* doc/gcc.texi: Ditto.
|
|
|
|
|
* doc/gccint.texi: Ditto.
|
|
|
|
|
* doc/gcov.texi: Ditto.
|
|
|
|
|
* doc/install.texi: Ditto.
|
|
|
|
|
* doc/invoke.texi: Ditto.
|
|
|
|
|
|
2016-01-04 09:56:49 +01:00
|
|
|
|
2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
|
|
|
|
|
modes larger than TImode as TImode if NEON is not enabled.
|
|
|
|
|
|
2016-01-04 09:14:12 +01:00
|
|
|
|
2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/69100
|
|
|
|
|
* config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
|
|
|
|
|
mode for %f0-%f31 only if TARGET_FPU.
|
|
|
|
|
|
2016-01-04 09:06:52 +01:00
|
|
|
|
2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/69072
|
|
|
|
|
* config/sparc/sparc.c (scan_record_type): Take into account subfields
|
|
|
|
|
to compute the PACKED_P predicate.
|
|
|
|
|
(function_arg_record_value): Minor tweaks.
|
|
|
|
|
|
2016-01-04 06:40:53 +01:00
|
|
|
|
2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi (--with-multilib-list): Describe the meaning of the
|
|
|
|
|
option for arm*-*-* targets.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
|
2016-01-04 03:44:45 +01:00
|
|
|
|
|
|
|
|
|
* doc/extend.texi (Common Function Attributes): Move docs for
|
|
|
|
|
MSP430-specific attributes to....
|
|
|
|
|
(MSP430 Function Attributes): ...here. Delete the redundant
|
|
|
|
|
entries and copy-edit the remaining text.
|
|
|
|
|
(MSP430 Variable Attributes): Use uniform format for index
|
|
|
|
|
entries and add a cross-reference to the corresponding function
|
|
|
|
|
attribute docs.
|
|
|
|
|
|
2016-01-13 20:21:59 +01:00
|
|
|
|
2016-01-03 Vladimír Čunát <vcunat@gmail.com>
|
2016-01-04 03:03:07 +01:00
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (RS/6000 and PowerPC Options): Fix
|
|
|
|
|
-finite-math typo.
|
|
|
|
|
(x86 Options): Likewise.
|
|
|
|
|
|
2016-01-02 04:45:32 +01:00
|
|
|
|
2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR 1078
|
|
|
|
|
|
|
|
|
|
* extend.texi (Common Function Attributes) <no_stack_limit>: New.
|
|
|
|
|
* invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
|
|
|
|
|
to corresponding attribute.
|
|
|
|
|
|
2016-01-02 00:54:10 +01:00
|
|
|
|
2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (Common Function Attributes) <noplt>: Move
|
|
|
|
|
to correct alphabetization of table. Copy-edit and correct
|
|
|
|
|
markup.
|
|
|
|
|
<stack_protect>: Likewise.
|
|
|
|
|
<target_clones>: Likewise.
|
|
|
|
|
<simd>: Likewise.
|
|
|
|
|
* doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
|
|
|
|
|
Correct punctuation.
|
|
|
|
|
(Code Gen Options) <-fno-plt>: Copy-edit.
|
|
|
|
|
|
2016-01-01 19:45:41 +01:00
|
|
|
|
2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
PR target/68917
|
|
|
|
|
* config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
|
|
|
|
|
SI values. Explicitly convert SI to DI and vice-versa.
|
|
|
|
|
|
2016-01-01 00:51:50 +01:00
|
|
|
|
2016-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2016-01-01 12:55:59 +01:00
|
|
|
|
PR tree-optimization/69070
|
|
|
|
|
* tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
|
|
|
|
|
REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
|
|
|
|
|
|
2016-01-01 12:55:02 +01:00
|
|
|
|
PR sanitizer/69055
|
|
|
|
|
* ubsan.c (ubsan_instrument_float_cast): Call
|
|
|
|
|
initialize_sanitizer_builtins.
|
|
|
|
|
|
2016-01-01 00:51:50 +01:00
|
|
|
|
PR target/69015
|
|
|
|
|
* ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
|
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
config/alpha/x-vms, config/arc/t-arc,
config/arm/README-interworking, config/arm/arm-c.c,
config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
config/cris/t-elfmulti, config/crx/t-crx,
config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
config/h8300/t-h8300, config/i386/athlon.md,
config/i386/darwin-libgcc.10.4.ver,
config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
config/i386/t-linux64, config/i386/t-nwld,
config/i386/t-rtems-i386, config/i386/t-sol2-10,
config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
config/iq2000/t-iq2000, config/libgcc-glibc.ver,
config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
config/m32r/t-m32r, config/m68hc11/t-m68hc11,
config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
config/m68k/t-uclinux, config/mcore/t-mcore,
config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
config/mips/crtn.asm, config/mips/irix-crti.asm,
config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
config/mips/mips-fixed.md, config/mips/sb1.md,
config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
config/mips/t-iris6, config/mips/t-isa3264,
config/mips/t-libgcc-mips16, config/mips/t-linux64,
config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
config/mn10300/t-linux, config/mn10300/t-mn10300,
config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
config/picochip/libgccExtras/clzsi2.asm,
config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
config/rs6000/darwin-libgcc.10.4.ver,
config/rs6000/darwin-libgcc.10.5.ver,
config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
config/rs6000/t-aix43, config/rs6000/t-aix52,
config/rs6000/t-darwin, config/rs6000/t-fprules,
config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
config/rs6000/t-lynx, config/rs6000/t-netbsd,
config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
config/rs6000/t-rtems, config/rs6000/t-spe,
config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
config/score/t-score-elf, config/sh/divcost-analysis,
config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
config/stormy16/stormy-abi, config/stormy16/t-stormy16,
config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
limitx.h, version.c, xcoff.h: Add copyright and license notices.
* config/h8300/genmova.sh: Include copyright and license notices
in generated output.
* config/h8300/mova.md: Regenerate.
* doc/install.texi2html: Include word "Copyright" in copyright
notice and use name "Free Software Foundation, Inc.".
* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008: Correct dates.
ada:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
cp:
* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
cfns.gperf: Add copyright and license notices.
* cfns.h: Regenerate.
* ChangeLog, ChangeLog-2004: Correct dates.
fortran:
* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
copyright and license notices.
* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008: Correct dates.
java:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
objc:
* ChangeLog: Add copyright and license notices.
objcp:
* ChangeLog: Add copyright and license notices.
po:
* ChangeLog, EXCLUDES: Add copyright and license notices.
testsuite:
* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
README.gcc, g++.dg/README, g++.dg/compat/break/README,
g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
gcc.c-torture/ChangeLog.0,
gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
gcc.target/i386/math-torture/math-torture.exp,
gcc.target/mips/inter/mips16-inter.exp,
gcc.target/mips/mips-nonpic/README,
gcc.target/x86_64/abi/README.gcc,
gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
notices.
* ChangeLog-1993-2007, ChangeLog: Correct dates.
From-SVN: r146533
2009-04-21 21:03:23 +02:00
|
|
|
|
|
2016-01-01 00:50:54 +01:00
|
|
|
|
Copyright (C) 2016 Free Software Foundation, Inc.
|
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
config/alpha/x-vms, config/arc/t-arc,
config/arm/README-interworking, config/arm/arm-c.c,
config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
config/cris/t-elfmulti, config/crx/t-crx,
config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
config/h8300/t-h8300, config/i386/athlon.md,
config/i386/darwin-libgcc.10.4.ver,
config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
config/i386/t-linux64, config/i386/t-nwld,
config/i386/t-rtems-i386, config/i386/t-sol2-10,
config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
config/iq2000/t-iq2000, config/libgcc-glibc.ver,
config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
config/m32r/t-m32r, config/m68hc11/t-m68hc11,
config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
config/m68k/t-uclinux, config/mcore/t-mcore,
config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
config/mips/crtn.asm, config/mips/irix-crti.asm,
config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
config/mips/mips-fixed.md, config/mips/sb1.md,
config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
config/mips/t-iris6, config/mips/t-isa3264,
config/mips/t-libgcc-mips16, config/mips/t-linux64,
config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
config/mn10300/t-linux, config/mn10300/t-mn10300,
config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
config/picochip/libgccExtras/clzsi2.asm,
config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
config/rs6000/darwin-libgcc.10.4.ver,
config/rs6000/darwin-libgcc.10.5.ver,
config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
config/rs6000/t-aix43, config/rs6000/t-aix52,
config/rs6000/t-darwin, config/rs6000/t-fprules,
config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
config/rs6000/t-lynx, config/rs6000/t-netbsd,
config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
config/rs6000/t-rtems, config/rs6000/t-spe,
config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
config/score/t-score-elf, config/sh/divcost-analysis,
config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
config/stormy16/stormy-abi, config/stormy16/t-stormy16,
config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
limitx.h, version.c, xcoff.h: Add copyright and license notices.
* config/h8300/genmova.sh: Include copyright and license notices
in generated output.
* config/h8300/mova.md: Regenerate.
* doc/install.texi2html: Include word "Copyright" in copyright
notice and use name "Free Software Foundation, Inc.".
* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008: Correct dates.
ada:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
cp:
* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
cfns.gperf: Add copyright and license notices.
* cfns.h: Regenerate.
* ChangeLog, ChangeLog-2004: Correct dates.
fortran:
* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
copyright and license notices.
* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008: Correct dates.
java:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
objc:
* ChangeLog: Add copyright and license notices.
objcp:
* ChangeLog: Add copyright and license notices.
po:
* ChangeLog, EXCLUDES: Add copyright and license notices.
testsuite:
* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
README.gcc, g++.dg/README, g++.dg/compat/break/README,
g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
gcc.c-torture/ChangeLog.0,
gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
gcc.target/i386/math-torture/math-torture.exp,
gcc.target/mips/inter/mips16-inter.exp,
gcc.target/mips/mips-nonpic/README,
gcc.target/x86_64/abi/README.gcc,
gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
notices.
* ChangeLog-1993-2007, ChangeLog: Correct dates.
From-SVN: r146533
2009-04-21 21:03:23 +02:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|