1 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
3 * config/aarch64/aarch64-sve-builtins-functions.h
4 (code_for_mode_function): New class.
5 (CODE_FOR_MODE0, QUIET_CODE_FOR_MODE0): New macros.
6 * config/aarch64/aarch64-sve-builtins-base.cc (svcompact_impl)
7 (svext_impl, svmul_lane_impl, svsplice_impl, svtmad_impl): Delete.
8 (svcompact, svext, svsplice): Use QUIET_CODE_FOR_MODE0.
9 (svmul_lane, svtmad): Use CODE_FOR_MODE0.
11 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
13 * config/aarch64/iterators.md (addsub): New code attribute.
14 * config/aarch64/aarch64-simd.md (aarch64_<su_optab><optab><mode>):
16 (aarch64_<su_optab>q<addsub><mode>): ...this, making the same change
17 in the asm string and attributes. Fix indentation.
18 * config/aarch64/aarch64-sve.md (@aarch64_<su_optab><optab><mode>):
20 (@aarch64_sve_<optab><mode>): ...this.
21 * config/aarch64/aarch64-sve-builtins.h
22 (function_expander::expand_signed_unpred_op): Delete.
23 * config/aarch64/aarch64-sve-builtins.cc
24 (function_expander::expand_signed_unpred_op): Likewise.
25 (function_expander::map_to_rtx_codes): If the optab isn't defined,
26 try using code_for_aarch64_sve instead.
27 * config/aarch64/aarch64-sve-builtins-base.cc (svqadd_impl): Delete.
28 (svqsub_impl): Likewise.
29 (svqadd, svqsub): Use rtx_code_function instead.
31 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
33 * config/aarch64/iterators.md (SRHSUB, URHSUB): Delete.
34 (HADDSUB, sur, addsub): Remove them.
36 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
38 * tree-nrv.c (pass_return_slot::execute): Handle all internal
39 functions the same way, rather than singling out those that
40 aren't mapped directly to optabs.
42 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
44 * target.def (compatible_vector_types_p): New target hook.
45 * hooks.h (hook_bool_const_tree_const_tree_true): Declare.
46 * hooks.c (hook_bool_const_tree_const_tree_true): New function.
47 * doc/tm.texi.in (TARGET_COMPATIBLE_VECTOR_TYPES_P): New hook.
48 * doc/tm.texi: Regenerate.
49 * gimple-expr.c: Include target.h.
50 (useless_type_conversion_p): Use targetm.compatible_vector_types_p.
51 * config/aarch64/aarch64.c (aarch64_compatible_vector_types_p): New
53 (TARGET_COMPATIBLE_VECTOR_TYPES_P): Define.
54 * config/aarch64/aarch64-sve-builtins.cc (gimple_folder::convert_pred):
55 Use the original predicate if it already has a suitable type.
57 2020-01-09 Martin Jambor <mjambor@suse.cz>
59 * cgraph.h (cgraph_edge): Make remove, set_call_stmt, make_direct,
60 resolve_speculation and redirect_call_stmt_to_callee static. Change
61 return type of set_call_stmt to cgraph_edge *.
62 * auto-profile.c (afdo_indirect_call): Adjust call to
63 redirect_call_stmt_to_callee.
64 * cgraph.c (cgraph_edge::set_call_stmt): Make return cgraph-edge *,
65 make the this pointer explicit, adjust self-recursive calls and the
66 call top make_direct. Return the resulting edge.
67 (cgraph_edge::remove): Make this pointer explicit.
68 (cgraph_edge::resolve_speculation): Likewise, adjust call to remove.
69 (cgraph_edge::make_direct): Likewise, adjust call to
71 (cgraph_edge::redirect_call_stmt_to_callee): Likewise, also adjust
72 call to set_call_stmt.
73 (cgraph_update_edges_for_call_stmt_node): Update call to
74 set_call_stmt and remove.
75 * cgraphclones.c (cgraph_node::set_call_stmt_including_clones):
76 Renamed edge to master_edge. Adjusted calls to set_call_stmt.
77 (cgraph_node::create_edge_including_clones): Moved "first" definition
78 of edge to the block where it was used. Adjusted calls to
80 (cgraph_node::remove_symbol_and_inline_clones): Adjust call to
82 * cgraphunit.c (walk_polymorphic_call_targets): Adjusted calls to
83 make_direct and redirect_call_stmt_to_callee.
84 * ipa-fnsummary.c (redirect_to_unreachable): Adjust calls to
85 resolve_speculation and make_direct.
86 * ipa-inline-transform.c (inline_transform): Adjust call to
87 redirect_call_stmt_to_callee.
88 (check_speculations_1):: Adjust call to resolve_speculation.
89 * ipa-inline.c (resolve_noninline_speculation): Adjust call to
91 (inline_small_functions): Adjust call to resolve_speculation.
92 (ipa_inline): Likewise.
93 * ipa-prop.c (ipa_make_edge_direct_to_target): Adjust call to
95 * ipa-visibility.c (function_and_variable_visibility): Make iteration
96 safe with regards to edge removal, adjust calls to
97 redirect_call_stmt_to_callee.
98 * ipa.c (walk_polymorphic_call_targets): Adjust calls to make_direct
99 and redirect_call_stmt_to_callee.
100 * multiple_target.c (create_dispatcher_calls): Adjust call to
101 redirect_call_stmt_to_callee
102 (redirect_to_specific_clone): Likewise.
103 * tree-cfgcleanup.c (delete_unreachable_blocks_update_callgraph):
104 Adjust calls to cgraph_edge::remove.
105 * tree-inline.c (copy_bb): Adjust call to set_call_stmt.
106 (redirect_all_calls): Adjust call to redirect_call_stmt_to_callee.
107 (expand_call_inline): Adjust call to cgraph_edge::remove.
109 2020-01-09 Martin Liska <mliska@suse.cz>
111 * params.opt: Set Optimization for
112 param_max_speculative_devirt_maydefs.
114 2020-01-09 Martin Sebor <msebor@redhat.com>
118 * builtins.c (compute_objsize): Avoid handling MEM_REFs of vector type.
120 2020-01-09 Martin Liska <mliska@suse.cz>
122 * auto-profile.c (auto_profile): Use opt_for_fn
124 * ipa-cp.c (ipcp_lattice::add_value): Likewise.
125 (propagate_vals_across_arith_jfunc): Likewise.
126 (hint_time_bonus): Likewise.
127 (incorporate_penalties): Likewise.
128 (good_cloning_opportunity_p): Likewise.
129 (perform_estimation_of_a_value): Likewise.
130 (estimate_local_effects): Likewise.
131 (ipcp_propagate_stage): Likewise.
132 * ipa-fnsummary.c (decompose_param_expr): Likewise.
133 (set_switch_stmt_execution_predicate): Likewise.
134 (analyze_function_body): Likewise.
135 * ipa-inline-analysis.c (offline_size): Likewise.
136 * ipa-inline.c (early_inliner): Likewise.
137 * ipa-prop.c (ipa_analyze_node): Likewise.
138 (ipcp_transform_function): Likewise.
139 * ipa-sra.c (process_scan_results): Likewise.
140 (ipa_sra_summarize_function): Likewise.
141 * params.opt: Rename ipcp-unit-growth to
142 ipa-cp-unit-growth. Add Optimization for various
143 IPA-related parameters.
145 2020-01-09 Richard Biener <rguenther@suse.de>
148 * gimplify.c (gimplify_expr): Deal with NOP definitions.
150 2020-01-09 Richard Biener <rguenther@suse.de>
152 PR tree-optimization/93040
153 * gimple-ssa-store-merging.c (find_bswap_or_nop): Raise search limit.
155 2020-01-09 Georg-Johann Lay <avr@gjlay.de>
157 * common/config/avr/avr-common.c (avr_option_optimization_table)
158 [OPT_LEVELS_1_PLUS]: Set -fsplit-wide-types-early.
160 2020-01-09 Martin Liska <mliska@suse.cz>
162 * cgraphclones.c (symbol_table::materialize_all_clones):
163 Use cgraph_node::dump_name.
165 2020-01-09 Jakub Jelinek <jakub@redhat.com>
168 * config/riscv/riscv.c (riscv_print_operand_reloc): Use
169 output_operand_lossage instead of gcc_unreachable.
170 * doc/md.texi (riscv f constraint): Fix typo.
173 * config/i386/i386.md (subv<mode>4): Use SWIDWI iterator instead of
174 SWI. Use <general_hilo_operand> instead of <general_operand>. Use
175 CONST_SCALAR_INT_P instead of CONST_INT_P.
176 (*subv<mode>4_1): Rename to ...
177 (subv<mode>4_1): ... this.
178 (*subv<dwi>4_doubleword, *addv<dwi>4_doubleword_1): New
179 define_insn_and_split patterns.
180 (*subv<mode>4_overflow_1, *addv<mode>4_overflow_2): New define_insn
183 2020-01-08 David Malcolm <dmalcolm@redhat.com>
185 * vec.c (class selftest::count_dtor): New class.
186 (selftest::test_auto_delete_vec): New test.
187 (selftest::vec_c_tests): Call it.
188 * vec.h (class auto_delete_vec): New class template.
189 (auto_delete_vec<T>::~auto_delete_vec): New dtor.
191 2020-01-08 David Malcolm <dmalcolm@redhat.com>
193 * sbitmap.h (auto_sbitmap): Add operator const_sbitmap.
195 2020-01-08 Jim Wilson <jimw@sifive.com>
197 * config/riscv/riscv.c (riscv_legitimize_tls_address): Ifdef out
198 use of TLS_MODEL_LOCAL_EXEC when not pic.
200 2020-01-08 David Malcolm <dmalcolm@redhat.com>
202 * hash-map-tests.c (selftest::test_map_of_strings_to_int): Fix
205 2020-01-08 Jakub Jelinek <jakub@redhat.com>
208 * config/i386/i386.md (*stack_protect_set_2_<mode> peephole2,
209 *stack_protect_set_3 peephole2): Also check that the second
210 insns source is general_operand.
213 * config/i386/i386.md (addcarry<mode>_0): Use nonimmediate_operand
214 predicate for output operand instead of register_operand.
215 (addcarry<mode>, addcarry<mode>_1): Likewise. Add alternative with
216 memory destination and non-memory operands[2].
218 2020-01-08 Martin Liska <mliska@suse.cz>
220 * cgraph.c (cgraph_node::dump): Use ::dump_name or
221 ::dump_asm_name instead of (::name or ::asm_name).
222 * cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
223 * cgraphunit.c (walk_polymorphic_call_targets): Likewise.
224 (analyze_functions): Likewise.
225 (expand_all_functions): Likewise.
226 * ipa-cp.c (ipcp_cloning_candidate_p): Likewise.
227 (propagate_bits_across_jump_function): Likewise.
228 (dump_profile_updates): Likewise.
229 (ipcp_store_bits_results): Likewise.
230 (ipcp_store_vr_results): Likewise.
231 * ipa-devirt.c (dump_targets): Likewise.
232 * ipa-fnsummary.c (analyze_function_body): Likewise.
233 * ipa-hsa.c (check_warn_node_versionable): Likewise.
234 (process_hsa_functions): Likewise.
235 * ipa-icf.c (sem_item_optimizer::merge_classes): Likewise.
236 (set_alias_uids): Likewise.
237 * ipa-inline-transform.c (save_inline_function_body): Likewise.
238 * ipa-inline.c (recursive_inlining): Likewise.
239 (inline_to_all_callers_1): Likewise.
240 (ipa_inline): Likewise.
241 * ipa-profile.c (ipa_propagate_frequency_1): Likewise.
242 (ipa_propagate_frequency): Likewise.
243 * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
244 (remove_described_reference): Likewise.
245 * ipa-pure-const.c (worse_state): Likewise.
246 (check_retval_uses): Likewise.
247 (analyze_function): Likewise.
248 (propagate_pure_const): Likewise.
249 (propagate_nothrow): Likewise.
250 (dump_malloc_lattice): Likewise.
251 (propagate_malloc): Likewise.
252 (pass_local_pure_const::execute): Likewise.
253 * ipa-visibility.c (optimize_weakref): Likewise.
254 (function_and_variable_visibility): Likewise.
255 * ipa.c (symbol_table::remove_unreachable_nodes): Likewise.
256 (ipa_discover_variable_flags): Likewise.
257 * lto-streamer-out.c (output_function): Likewise.
258 (output_constructor): Likewise.
259 * tree-inline.c (copy_bb): Likewise.
260 * tree-ssa-structalias.c (ipa_pta_execute): Likewise.
261 * varpool.c (symbol_table::remove_unreferenced_decls): Likewise.
263 2020-01-08 Richard Biener <rguenther@suse.de>
266 * tree-eh.c (sink_clobbers): Update virtual operands for
267 the first and last stmt only. Add a dry-run capability.
268 (pass_lower_eh_dispatch::execute): Perform clobber sinking
269 after CFG manipulations and in RPO order to catch all
270 secondary opportunities reliably.
272 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
275 * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document.
277 2019-01-08 Richard Biener <rguenther@suse.de>
280 * gimple-fold.c (rewrite_to_defined_overflow): Mark stmt modified.
281 * tree-ssa-loop-im.c (move_computations_worker): Properly adjust
282 virtual operand, also updating SSA use.
283 * gimple-loop-interchange.cc (loop_cand::undo_simple_reduction):
284 Update stmt after resetting virtual operand.
285 (tree_loop_interchange::move_code_to_inner_loop): Likewise.
286 * gimple-iterator.c (gsi_remove): When not removing the stmt
287 permanently do not delink immediate uses or mark the stmt modified.
289 2020-01-08 Martin Liska <mliska@suse.cz>
291 * ipa-fnsummary.c (dump_ipa_call_summary): Use symtab_node::dump_name.
292 (ipa_call_context::estimate_size_and_time): Likewise.
293 (inline_analyze_function): Likewise.
295 2020-01-08 Martin Liska <mliska@suse.cz>
297 * cgraph.c (cgraph_node::dump): Use systematically
300 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
302 Add -nodevicespecs option for avr.
305 * config/avr/avr.opt (-nodevicespecs): New driver option.
306 * config/avr/driver-avr.c (avr_devicespecs_file): Only issue
307 "-specs=device-specs/..." if that option is not set.
308 * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document.
310 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
312 Implement 64-bit double functions for avr.
315 * config.gcc (tm_defines) [target=avr]: Support --with-libf7,
316 --with-double-comparison.
317 * doc/install.texi: Document them.
318 * config/avr/avr-c.c (avr_cpu_cpp_builtins)
319 <WITH_LIBF7_LIBGCC, WITH_LIBF7_MATH, WITH_LIBF7_MATH_SYMBOLS>
320 <WITH_DOUBLE_COMPARISON>: New built-in defines.
321 * doc/invoke.texi (AVR Built-in Macros): Document them.
322 * config/avr/avr-protos.h (avr_float_lib_compare_returns_bool): New.
323 * config/avr/avr.c (avr_float_lib_compare_returns_bool): New function.
324 * config/avr/avr.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): New macro.
326 2020-01-08 Richard Earnshaw <rearnsha@arm.com>
329 * config/arm/t-multilib (MULTILIB_MATCHES): Add rules to match
330 armv7-a{+mp,+sec,+mp+sec} to appropriate armv7 multilib variants
331 when only building rm-profile multilibs.
333 2020-01-08 Feng Xue <fxue@os.amperecomputing.com>
336 * ipa-cp.c (self_recursively_generated_p): Find matched aggregate
337 lattice for a value to check.
338 (propagate_vals_across_arith_jfunc): Add an assertion to ensure
339 finite propagation in self-recursive scc.
341 2020-01-08 Luo Xiong Hu <luoxhu@linux.ibm.com>
343 * ipa-inline.c (caller_growth_limits): Restore the AND.
345 2020-01-07 Andrew Stubbs <ams@codesourcery.com>
347 * config/gcn/gcn-valu.md (VEC_1REG_INT_ALT): Delete iterator.
348 (VEC_ALLREG_ALT): New iterator.
349 (VEC_ALLREG_INT_MODE): New iterator.
350 (VCMP_MODE): New iterator.
351 (VCMP_MODE_INT): New iterator.
352 (vec_cmpu<mode>di): Use VCMP_MODE_INT.
353 (vec_cmp<u>v64qidi): New define_expand.
354 (vec_cmp<mode>di_exec): Use VCMP_MODE.
355 (vec_cmpu<mode>di_exec): New define_expand.
356 (vec_cmp<u>v64qidi_exec): New define_expand.
357 (vec_cmp<mode>di_dup): Use VCMP_MODE.
358 (vec_cmp<mode>di_dup_exec): Use VCMP_MODE.
359 (vcond<VEC_ALL1REG_MODE:mode><VEC_1REG_ALT:mode>): Rename ...
360 (vcond<VEC_ALLREG_MODE:mode><VEC_ALLREG_ALT:mode>): ... to this.
361 (vcond<VEC_ALL1REG_MODE:mode><VEC_1REG_ALT:mode>_exec): Rename ...
362 (vcond<VEC_ALLREG_MODE:mode><VEC_ALLREG_ALT:mode>_exec): ... to this.
363 (vcondu<VEC_ALL1REG_MODE:mode><VEC_1REG_INT_ALT:mode>): Rename ...
364 (vcondu<VEC_ALLREG_MODE:mode><VEC_ALLREG_INT_MODE:mode>): ... to this.
365 (vcondu<VEC_ALL1REG_MODE:mode><VEC_1REG_INT_ALT:mode>_exec): Rename ...
366 (vcondu<VEC_ALLREG_MODE:mode><VEC_ALLREG_INT_MODE:mode>_exec): ... to
368 * config/gcn/gcn.c (print_operand): Fix 8 and 16 bit suffixes.
369 * config/gcn/gcn.md (expander): Add sign_extend and zero_extend.
371 2020-01-07 Andrew Stubbs <ams@codesourcery.com>
373 * config/gcn/constraints.md (DA): Update description and match.
375 (Db): New constraint.
376 * config/gcn/gcn-protos.h (gcn_inline_constant64_p): Add second
378 * config/gcn/gcn.c (gcn_inline_constant64_p): Add 'mixed' parameter.
379 Implement 'Db' mixed immediate type.
380 * config/gcn/gcn-valu.md (addcv64si3<exec_vcc>): Rework constraints.
381 (addcv64si3_dup<exec_vcc>): Delete.
382 (subcv64si3<exec_vcc>): Rework constraints.
383 (addv64di3): Rework constraints.
384 (addv64di3_exec): Rework constraints.
385 (subv64di3): Rework constraints.
386 (addv64di3_dup): Delete.
387 (addv64di3_dup_exec): Delete.
388 (addv64di3_zext): Rework constraints.
389 (addv64di3_zext_exec): Rework constraints.
390 (addv64di3_zext_dup): Rework constraints.
391 (addv64di3_zext_dup_exec): Rework constraints.
392 (addv64di3_zext_dup2): Rework constraints.
393 (addv64di3_zext_dup2_exec): Rework constraints.
394 (addv64di3_sext_dup2): Rework constraints.
395 (addv64di3_sext_dup2_exec): Rework constraints.
397 2020-01-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
399 * doc/sourcebuild.texi (arm_little_endian, arm_nothumb): Documented
400 existing target checks.
402 2020-01-07 Richard Biener <rguenther@suse.de>
404 * doc/install.texi: Bump minimal supported MPC version.
406 2020-01-07 Richard Sandiford <richard.sandiford@arm.com>
408 * langhooks-def.h (lhd_simulate_enum_decl): Declare.
409 (LANG_HOOKS_SIMULATE_ENUM_DECL): Use it.
410 * langhooks.c: Include stor-layout.h.
411 (lhd_simulate_enum_decl): New function.
412 * config/aarch64/aarch64-sve-builtins.cc (init_builtins): Call
413 handle_arm_sve_h for the LTO frontend.
414 (register_vector_type): Cope with null returns from pushdecl.
416 2020-01-07 Richard Sandiford <richard.sandiford@arm.com>
418 * config/aarch64/aarch64-protos.h (aarch64_sve::svbool_type_p)
419 (aarch64_sve::nvectors_if_data_type): Replace with...
420 (aarch64_sve::builtin_type_p): ...this.
421 * config/aarch64/aarch64-sve-builtins.cc: Include attribs.h.
422 (find_vector_type): Delete.
423 (add_sve_type_attribute): New function.
424 (lookup_sve_type_attribute): Likewise.
425 (register_builtin_types): Add an "SVE type" attribute to each type.
426 (register_tuple_type): Likewise.
427 (svbool_type_p, nvectors_if_data_type): Delete.
428 (mangle_builtin_type): Use lookup_sve_type_attribute.
429 (builtin_type_p): Likewise. Add an overload that returns the
430 number of constituent vector and predicate registers.
431 * config/aarch64/aarch64.c (aarch64_sve_argument_p): Delete.
432 (aarch64_returns_value_in_sve_regs_p): Use aarch64_sve::builtin_type_p
433 instead of aarch64_sve_argument_p.
434 (aarch64_takes_arguments_in_sve_regs_p): Likewise.
435 (aarch64_pass_by_reference): Likewise.
436 (aarch64_function_value_1): Likewise.
437 (aarch64_return_in_memory): Likewise.
438 (aarch64_layout_arg): Likewise.
440 2020-01-07 Jakub Jelinek <jakub@redhat.com>
442 PR tree-optimization/93156
443 * tree-ssa-ccp.c (bit_value_binop): For x * x note that the second
444 least significant bit is always clear.
446 PR tree-optimization/93118
447 * match.pd ((x >> c) << c -> x & (-1<<c)): Add nop_convert?. Add new
448 simplifier with two intermediate conversions.
450 2020-01-07 Martin Liska <mliska@suse.cz>
452 * params.opt: Add Optimization for various parameters.
454 2020-01-07 Martin Liska <mliska@suse.cz>
457 * doc/extend.texi: Explain cloning for target_clone
460 2020-01-07 Martin Liska <mliska@suse.cz>
462 PR tree-optimization/92860
463 * common.opt: Make in Optimization option
464 as it is affected by -O0, which is an Optimization
466 * tree-inline.c (tree_inlinable_function_p):
467 Use opt_for_fn for warn_inline.
468 (expand_call_inline): Likewise.
470 2020-01-07 Martin Liska <mliska@suse.cz>
472 PR tree-optimization/92860
473 * common.opt: Make flag_ree as optimization
476 2020-01-07 Martin Liska <mliska@suse.cz>
478 PR optimization/92860
479 * params.opt: Mark param_min_crossjump_insns with Optimization
482 2020-01-07 Luo Xiong Hu <luoxhu@linux.ibm.com>
484 * ipa-inline-analysis.c (estimate_growth): Fix typo.
485 * ipa-inline.c (caller_growth_limits): Use OR instead of AND.
487 2020-01-06 Michael Meissner <meissner@linux.ibm.com>
489 * config/rs6000/rs6000.c (hard_reg_and_mode_to_addr_mask): New
490 helper function to return the valid addressing formats for a given
491 hard register and mode.
492 (rs6000_adjust_vec_address): Call hard_reg_and_mode_to_addr_mask.
494 * config/rs6000/constraints.md (Q constraint): Update
496 * doc/md.texi (RS/6000 constraints): Update 'Q' cosntraint
499 * config/rs6000/vsx.md (vsx_extract_<mode>_var, VSX_D iterator):
500 Use 'Q' for doing vector extract from memory.
501 (vsx_extract_v4sf_var): Use 'Q' for doing vector extract from
503 (vsx_extract_<mode>_var, VSX_EXTRACT_I iterator): Use 'Q' for
504 doing vector extract from memory.
505 (vsx_extract_<mode>_<VS_scalar>mode_var): Use 'Q' for doing vector
508 * config/rs6000/rs6000.c (rs6000_adjust_vec_address): Add support
509 for the offset being 34-bits when -mcpu=future is used.
511 2020-01-06 John David Anglin <danglin@gcc.gnu.org>
513 * config/pa/pa.md: Revert change to use ordered_comparison_operator
514 instead of cmpib_comparison_operator in cmpib patterns.
515 * config/pa/predicates.md (cmpib_comparison_operator): Revert removal
516 of cmpib_comparison_operator. Revise comment.
518 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
520 * tree-vect-slp.c (vect_build_slp_tree_1): Require all shifts
521 in an IFN_DIV_POW2 node to be equal.
523 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
525 * tree-vect-stmts.c (vect_check_load_store_mask): Rename to...
526 (vect_check_scalar_mask): ...this.
527 (vectorizable_store, vectorizable_load): Update call accordingly.
528 (vectorizable_call): Use vect_check_scalar_mask to check the mask
529 argument in calls to conditional internal functions.
531 2020-01-06 Andrew Stubbs <ams@codesourcery.com>
533 * config/gcn/gcn-valu.md (subv64di3): Use separate alternatives for
535 (subv64di3_exec): Likewise.
537 2020-01-06 Bryan Stenson <bryan@siliconvortex.com>
539 * config/mips/mips.c (vr4130_align_insns): Fix typo.
540 * doc/md.texi (movstr): Likewise.
542 2020-01-06 Andrew Stubbs <ams@codesourcery.com>
544 * config/gcn/gcn-valu.md (vec_extract<mode><scalar_mode>): Add early
547 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
549 * config/aarch64/t-aarch64 ($(srcdir)/config/aarch64/aarch64-tune.md):
551 (s-aarch64-tune-md): ...this new stamp file. Pipe the new contents
552 to a temporary file and use move-if-change to update the real
553 file where necessary.
555 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
557 * config/aarch64/aarch64-sve.md (@aarch64_sel_dup<mode>): Use Upl
558 rather than Upa for CPY /M.
560 2020-01-06 Andrew Stubbs <ams@codesourcery.com>
562 * config/gcn/gcn.c (gcn_inline_constant_p): Allow 64 as an inline
565 2020-01-06 Martin Liska <mliska@suse.cz>
567 PR tree-optimization/92860
568 * params.opt: Mark param_max_combine_insns with Optimization
571 2020-01-05 Jakub Jelinek <jakub@redhat.com>
574 * config/i386/i386.md (SWIDWI): New mode iterator.
575 (DWI, dwi): Add TImode variants.
576 (addv<mode>4): Use SWIDWI iterator instead of SWI. Use
577 <general_hilo_operand> instead of <general_operand>. Use
578 CONST_SCALAR_INT_P instead of CONST_INT_P.
579 (*addv<mode>4_1): Rename to ...
580 (addv<mode>4_1): ... this.
581 (QWI): New mode attribute.
582 (*addv<dwi>4_doubleword, *addv<dwi>4_doubleword_1): New
583 define_insn_and_split patterns.
584 (*addv<mode>4_overflow_1, *addv<mode>4_overflow_2): New define_insn
586 (uaddv<mode>4): Use SWIDWI iterator instead of SWI. Use
587 <general_hilo_operand> instead of <general_operand>.
588 (*addcarry<mode>_1): New define_insn.
589 (*add<dwi>3_doubleword_cc_overflow_1): New define_insn_and_split.
591 2020-01-03 Konstantin Kharlamov <Hi-Angel@yandex.ru>
593 * gdbinit.in (pr, prl, pt, pct, pgg, pgq, pgs, pge, pmz, pdd, pbs, pbm):
594 Use "call" instead of "set".
596 2020-01-03 Martin Jambor <mjambor@suse.cz>
599 * ipa-cp.c (print_all_lattices): Skip functions without info.
601 2020-01-03 Jakub Jelinek <jakub@redhat.com>
604 * config/i386/i386-options.c (ix86_simd_clone_adjust): If
605 TARGET_PREFER_AVX128, use prefer-vector-width=256 for 'c' and 'd'
606 simd clones. If TARGET_PREFER_AVX256, use prefer-vector-width=512
610 * config/i386/i386.opt (x_prefer_vector_width_type): Remove TargetSave
612 (mprefer-vector-width=): Add Save.
613 * config/i386/i386-options.c (ix86_target_string): Add PVW argument, print
614 -mprefer-vector-width= if non-zero. Fix up -mfpmath= comment.
615 (ix86_debug_options, ix86_function_specific_print): Adjust
616 ix86_target_string callers.
617 (ix86_valid_target_attribute_inner_p): Handle prefer-vector-width=.
618 (ix86_valid_target_attribute_tree): Likewise.
619 * config/i386/i386-options.h (ix86_target_string): Add PVW argument.
620 * config/i386/i386-expand.c (ix86_expand_builtin): Adjust
621 ix86_target_string caller.
624 * config/i386/i386.md (abs<mode>2): Use expand_simple_binop instead of
625 emitting ASHIFTRT, XOR and MINUS by hand. Use gen_int_mode with QImode
626 instead of gen_int_shift_amount + convert_modes.
628 PR rtl-optimization/93088
629 * loop-iv.c (find_single_def_src): Punt after looking through
630 128 reg copies for regs with single definitions. Move definitions
633 2020-01-02 Dennis Zhang <dennis.zhang@arm.com>
635 * config/arm/arm-c.c (arm_cpu_builtins): Define
636 __ARM_FEATURE_MATMUL_INT8, __ARM_FEATURE_BF16_VECTOR_ARITHMETIC,
637 __ARM_FEATURE_BF16_SCALAR_ARITHMETIC, and
638 __ARM_BF16_FORMAT_ALTERNATIVE when enabled.
639 * config/arm/arm-cpus.in (armv8_6, i8mm, bf16): New features.
640 * config/arm/arm-tables.opt: Regenerated.
641 * config/arm/arm.c (arm_option_reconfigure_globals): Initialize
642 arm_arch_i8mm and arm_arch_bf16 when enabled.
643 * config/arm/arm.h (TARGET_I8MM): New macro.
644 (TARGET_BF16_FP, TARGET_BF16_SIMD): Likewise.
645 * config/arm/t-aprofile: Add matching rules for -march=armv8.6-a.
646 * config/arm/t-arm-elf (all_v8_archs): Add armv8.6-a.
647 * config/arm/t-multilib: Add matching rules for -march=armv8.6-a.
648 (v8_6_a_simd_variants): New.
649 (v8_*_a_simd_variants): Add i8mm and bf16.
650 * doc/invoke.texi (armv8.6-a, i8mm, bf16): Document new options.
652 2020-01-02 Jakub Jelinek <jakub@redhat.com>
655 * predict.c (compute_function_frequency): Don't call
656 warn_function_cold on functions that already have cold attribute.
658 2020-01-01 John David Anglin <danglin@gcc.gnu.org>
661 * config/pa/pa.c (pa_elf_select_rtx_section): New. Put references to
662 COMDAT group function labels in .data.rel.ro.local section.
663 * config/pa/pa32-linux.h (TARGET_ASM_SELECT_RTX_SECTION): Define.
666 * config/pa/pa.md (scc): Use ordered_comparison_operator instead of
667 comparison_operator in B and S integer comparisons. Likewise, use
668 ordered_comparison_operator instead of cmpib_comparison_operator in
670 * config/pa/predicates.md (cmpib_comparison_operator): Remove.
672 2020-01-01 Jakub Jelinek <jakub@redhat.com>
674 Update copyright years.
676 * gcc.c (process_command): Update copyright notice dates.
677 * gcov-dump.c (print_version): Ditto.
678 * gcov.c (print_version): Ditto.
679 * gcov-tool.c (print_version): Ditto.
680 * gengtype.c (create_file): Ditto.
681 * doc/cpp.texi: Bump @copying's copyright year.
682 * doc/cppinternals.texi: Ditto.
683 * doc/gcc.texi: Ditto.
684 * doc/gccint.texi: Ditto.
685 * doc/gcov.texi: Ditto.
686 * doc/install.texi: Ditto.
687 * doc/invoke.texi: Ditto.
689 2020-01-01 Jan Hubicka <hubicka@ucw.cz>
691 * ipa.c (walk_polymorphic_call_targets): Fix updating of overall
694 2020-01-01 Jakub Jelinek <jakub@redhat.com>
696 PR tree-optimization/93098
697 * match.pd (popcount): For shift amounts, use integer_onep
698 or wi::to_widest () == cst instead of tree_to_uhwi () == cst
699 tests. Make sure that precision is power of two larger than or equal
700 to 16. Ensure shift is never negative. Use HOST_WIDE_INT_UC macro
701 instead of ULL suffixed constants. Formatting fixes.
703 Copyright (C) 2020 Free Software Foundation, Inc.
705 Copying and distribution of this file, with or without modification,
706 are permitted in any medium without royalty provided the copyright
707 notice and this notice are preserved.