Add Optimization for various IPA parameters.
[gcc.git] / gcc / ChangeLog
1 2020-01-09 Martin Liska <mliska@suse.cz>
2
3 * auto-profile.c (auto_profile): Use opt_for_fn
4 for a parameter.
5 * ipa-cp.c (ipcp_lattice::add_value): Likewise.
6 (propagate_vals_across_arith_jfunc): Likewise.
7 (hint_time_bonus): Likewise.
8 (incorporate_penalties): Likewise.
9 (good_cloning_opportunity_p): Likewise.
10 (perform_estimation_of_a_value): Likewise.
11 (estimate_local_effects): Likewise.
12 (ipcp_propagate_stage): Likewise.
13 * ipa-fnsummary.c (decompose_param_expr): Likewise.
14 (set_switch_stmt_execution_predicate): Likewise.
15 (analyze_function_body): Likewise.
16 * ipa-inline-analysis.c (offline_size): Likewise.
17 * ipa-inline.c (early_inliner): Likewise.
18 * ipa-prop.c (ipa_analyze_node): Likewise.
19 (ipcp_transform_function): Likewise.
20 * ipa-sra.c (process_scan_results): Likewise.
21 (ipa_sra_summarize_function): Likewise.
22 * params.opt: Rename ipcp-unit-growth to
23 ipa-cp-unit-growth. Add Optimization for various
24 IPA-related parameters.
25
26 2020-01-09 Richard Biener <rguenther@suse.de>
27
28 PR middle-end/93054
29 * gimplify.c (gimplify_expr): Deal with NOP definitions.
30
31 2020-01-09 Richard Biener <rguenther@suse.de>
32
33 PR tree-optimization/93040
34 * gimple-ssa-store-merging.c (find_bswap_or_nop): Raise search limit.
35
36 2020-01-09 Georg-Johann Lay <avr@gjlay.de>
37
38 * common/config/avr/avr-common.c (avr_option_optimization_table)
39 [OPT_LEVELS_1_PLUS]: Set -fsplit-wide-types-early.
40
41 2020-01-09 Martin Liska <mliska@suse.cz>
42
43 * cgraphclones.c (symbol_table::materialize_all_clones):
44 Use cgraph_node::dump_name.
45
46 2020-01-09 Jakub Jelinek <jakub@redhat.com>
47
48 PR inline-asm/93202
49 * config/riscv/riscv.c (riscv_print_operand_reloc): Use
50 output_operand_lossage instead of gcc_unreachable.
51 * doc/md.texi (riscv f constraint): Fix typo.
52
53 PR target/93141
54 * config/i386/i386.md (subv<mode>4): Use SWIDWI iterator instead of
55 SWI. Use <general_hilo_operand> instead of <general_operand>. Use
56 CONST_SCALAR_INT_P instead of CONST_INT_P.
57 (*subv<mode>4_1): Rename to ...
58 (subv<mode>4_1): ... this.
59 (*subv<dwi>4_doubleword, *addv<dwi>4_doubleword_1): New
60 define_insn_and_split patterns.
61 (*subv<mode>4_overflow_1, *addv<mode>4_overflow_2): New define_insn
62 patterns.
63
64 2020-01-08 David Malcolm <dmalcolm@redhat.com>
65
66 * vec.c (class selftest::count_dtor): New class.
67 (selftest::test_auto_delete_vec): New test.
68 (selftest::vec_c_tests): Call it.
69 * vec.h (class auto_delete_vec): New class template.
70 (auto_delete_vec<T>::~auto_delete_vec): New dtor.
71
72 2020-01-08 David Malcolm <dmalcolm@redhat.com>
73
74 * sbitmap.h (auto_sbitmap): Add operator const_sbitmap.
75
76 2020-01-08 Jim Wilson <jimw@sifive.com>
77
78 * config/riscv/riscv.c (riscv_legitimize_tls_address): Ifdef out
79 use of TLS_MODEL_LOCAL_EXEC when not pic.
80
81 2020-01-08 David Malcolm <dmalcolm@redhat.com>
82
83 * hash-map-tests.c (selftest::test_map_of_strings_to_int): Fix
84 memory leak.
85
86 2020-01-08 Jakub Jelinek <jakub@redhat.com>
87
88 PR target/93187
89 * config/i386/i386.md (*stack_protect_set_2_<mode> peephole2,
90 *stack_protect_set_3 peephole2): Also check that the second
91 insns source is general_operand.
92
93 PR target/93174
94 * config/i386/i386.md (addcarry<mode>_0): Use nonimmediate_operand
95 predicate for output operand instead of register_operand.
96 (addcarry<mode>, addcarry<mode>_1): Likewise. Add alternative with
97 memory destination and non-memory operands[2].
98
99 2020-01-08 Martin Liska <mliska@suse.cz>
100
101 * cgraph.c (cgraph_node::dump): Use ::dump_name or
102 ::dump_asm_name instead of (::name or ::asm_name).
103 * cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
104 * cgraphunit.c (walk_polymorphic_call_targets): Likewise.
105 (analyze_functions): Likewise.
106 (expand_all_functions): Likewise.
107 * ipa-cp.c (ipcp_cloning_candidate_p): Likewise.
108 (propagate_bits_across_jump_function): Likewise.
109 (dump_profile_updates): Likewise.
110 (ipcp_store_bits_results): Likewise.
111 (ipcp_store_vr_results): Likewise.
112 * ipa-devirt.c (dump_targets): Likewise.
113 * ipa-fnsummary.c (analyze_function_body): Likewise.
114 * ipa-hsa.c (check_warn_node_versionable): Likewise.
115 (process_hsa_functions): Likewise.
116 * ipa-icf.c (sem_item_optimizer::merge_classes): Likewise.
117 (set_alias_uids): Likewise.
118 * ipa-inline-transform.c (save_inline_function_body): Likewise.
119 * ipa-inline.c (recursive_inlining): Likewise.
120 (inline_to_all_callers_1): Likewise.
121 (ipa_inline): Likewise.
122 * ipa-profile.c (ipa_propagate_frequency_1): Likewise.
123 (ipa_propagate_frequency): Likewise.
124 * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
125 (remove_described_reference): Likewise.
126 * ipa-pure-const.c (worse_state): Likewise.
127 (check_retval_uses): Likewise.
128 (analyze_function): Likewise.
129 (propagate_pure_const): Likewise.
130 (propagate_nothrow): Likewise.
131 (dump_malloc_lattice): Likewise.
132 (propagate_malloc): Likewise.
133 (pass_local_pure_const::execute): Likewise.
134 * ipa-visibility.c (optimize_weakref): Likewise.
135 (function_and_variable_visibility): Likewise.
136 * ipa.c (symbol_table::remove_unreachable_nodes): Likewise.
137 (ipa_discover_variable_flags): Likewise.
138 * lto-streamer-out.c (output_function): Likewise.
139 (output_constructor): Likewise.
140 * tree-inline.c (copy_bb): Likewise.
141 * tree-ssa-structalias.c (ipa_pta_execute): Likewise.
142 * varpool.c (symbol_table::remove_unreferenced_decls): Likewise.
143
144 2020-01-08 Richard Biener <rguenther@suse.de>
145
146 PR middle-end/93199
147 * tree-eh.c (sink_clobbers): Update virtual operands for
148 the first and last stmt only. Add a dry-run capability.
149 (pass_lower_eh_dispatch::execute): Perform clobber sinking
150 after CFG manipulations and in RPO order to catch all
151 secondary opportunities reliably.
152
153 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
154
155 PR target/93182
156 * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document.
157
158 2019-01-08 Richard Biener <rguenther@suse.de>
159
160 PR middle-end/93199
161 * gimple-fold.c (rewrite_to_defined_overflow): Mark stmt modified.
162 * tree-ssa-loop-im.c (move_computations_worker): Properly adjust
163 virtual operand, also updating SSA use.
164 * gimple-loop-interchange.cc (loop_cand::undo_simple_reduction):
165 Update stmt after resetting virtual operand.
166 (tree_loop_interchange::move_code_to_inner_loop): Likewise.
167 * gimple-iterator.c (gsi_remove): When not removing the stmt
168 permanently do not delink immediate uses or mark the stmt modified.
169
170 2020-01-08 Martin Liska <mliska@suse.cz>
171
172 * ipa-fnsummary.c (dump_ipa_call_summary): Use symtab_node::dump_name.
173 (ipa_call_context::estimate_size_and_time): Likewise.
174 (inline_analyze_function): Likewise.
175
176 2020-01-08 Martin Liska <mliska@suse.cz>
177
178 * cgraph.c (cgraph_node::dump): Use systematically
179 dump_asm_name.
180
181 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
182
183 Add -nodevicespecs option for avr.
184
185 PR target/93182
186 * config/avr/avr.opt (-nodevicespecs): New driver option.
187 * config/avr/driver-avr.c (avr_devicespecs_file): Only issue
188 "-specs=device-specs/..." if that option is not set.
189 * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document.
190
191 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
192
193 Implement 64-bit double functions for avr.
194
195 PR target/92055
196 * config.gcc (tm_defines) [target=avr]: Support --with-libf7,
197 --with-double-comparison.
198 * doc/install.texi: Document them.
199 * config/avr/avr-c.c (avr_cpu_cpp_builtins)
200 <WITH_LIBF7_LIBGCC, WITH_LIBF7_MATH, WITH_LIBF7_MATH_SYMBOLS>
201 <WITH_DOUBLE_COMPARISON>: New built-in defines.
202 * doc/invoke.texi (AVR Built-in Macros): Document them.
203 * config/avr/avr-protos.h (avr_float_lib_compare_returns_bool): New.
204 * config/avr/avr.c (avr_float_lib_compare_returns_bool): New function.
205 * config/avr/avr.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): New macro.
206
207 2020-01-08 Richard Earnshaw <rearnsha@arm.com>
208
209 PR target/93188
210 * config/arm/t-multilib (MULTILIB_MATCHES): Add rules to match
211 armv7-a{+mp,+sec,+mp+sec} to appropriate armv7 multilib variants
212 when only building rm-profile multilibs.
213
214 2020-01-08 Feng Xue <fxue@os.amperecomputing.com>
215
216 PR ipa/93084
217 * ipa-cp.c (self_recursively_generated_p): Find matched aggregate
218 lattice for a value to check.
219 (propagate_vals_across_arith_jfunc): Add an assertion to ensure
220 finite propagation in self-recursive scc.
221
222 2020-01-08 Luo Xiong Hu <luoxhu@linux.ibm.com>
223
224 * ipa-inline.c (caller_growth_limits): Restore the AND.
225
226 2020-01-07 Andrew Stubbs <ams@codesourcery.com>
227
228 * config/gcn/gcn-valu.md (VEC_1REG_INT_ALT): Delete iterator.
229 (VEC_ALLREG_ALT): New iterator.
230 (VEC_ALLREG_INT_MODE): New iterator.
231 (VCMP_MODE): New iterator.
232 (VCMP_MODE_INT): New iterator.
233 (vec_cmpu<mode>di): Use VCMP_MODE_INT.
234 (vec_cmp<u>v64qidi): New define_expand.
235 (vec_cmp<mode>di_exec): Use VCMP_MODE.
236 (vec_cmpu<mode>di_exec): New define_expand.
237 (vec_cmp<u>v64qidi_exec): New define_expand.
238 (vec_cmp<mode>di_dup): Use VCMP_MODE.
239 (vec_cmp<mode>di_dup_exec): Use VCMP_MODE.
240 (vcond<VEC_ALL1REG_MODE:mode><VEC_1REG_ALT:mode>): Rename ...
241 (vcond<VEC_ALLREG_MODE:mode><VEC_ALLREG_ALT:mode>): ... to this.
242 (vcond<VEC_ALL1REG_MODE:mode><VEC_1REG_ALT:mode>_exec): Rename ...
243 (vcond<VEC_ALLREG_MODE:mode><VEC_ALLREG_ALT:mode>_exec): ... to this.
244 (vcondu<VEC_ALL1REG_MODE:mode><VEC_1REG_INT_ALT:mode>): Rename ...
245 (vcondu<VEC_ALLREG_MODE:mode><VEC_ALLREG_INT_MODE:mode>): ... to this.
246 (vcondu<VEC_ALL1REG_MODE:mode><VEC_1REG_INT_ALT:mode>_exec): Rename ...
247 (vcondu<VEC_ALLREG_MODE:mode><VEC_ALLREG_INT_MODE:mode>_exec): ... to
248 this.
249 * config/gcn/gcn.c (print_operand): Fix 8 and 16 bit suffixes.
250 * config/gcn/gcn.md (expander): Add sign_extend and zero_extend.
251
252 2020-01-07 Andrew Stubbs <ams@codesourcery.com>
253
254 * config/gcn/constraints.md (DA): Update description and match.
255 (DB): Likewise.
256 (Db): New constraint.
257 * config/gcn/gcn-protos.h (gcn_inline_constant64_p): Add second
258 parameter.
259 * config/gcn/gcn.c (gcn_inline_constant64_p): Add 'mixed' parameter.
260 Implement 'Db' mixed immediate type.
261 * config/gcn/gcn-valu.md (addcv64si3<exec_vcc>): Rework constraints.
262 (addcv64si3_dup<exec_vcc>): Delete.
263 (subcv64si3<exec_vcc>): Rework constraints.
264 (addv64di3): Rework constraints.
265 (addv64di3_exec): Rework constraints.
266 (subv64di3): Rework constraints.
267 (addv64di3_dup): Delete.
268 (addv64di3_dup_exec): Delete.
269 (addv64di3_zext): Rework constraints.
270 (addv64di3_zext_exec): Rework constraints.
271 (addv64di3_zext_dup): Rework constraints.
272 (addv64di3_zext_dup_exec): Rework constraints.
273 (addv64di3_zext_dup2): Rework constraints.
274 (addv64di3_zext_dup2_exec): Rework constraints.
275 (addv64di3_sext_dup2): Rework constraints.
276 (addv64di3_sext_dup2_exec): Rework constraints.
277
278 2020-01-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
279
280 * doc/sourcebuild.texi (arm_little_endian, arm_nothumb): Documented
281 existing target checks.
282
283 2020-01-07 Richard Biener <rguenther@suse.de>
284
285 * doc/install.texi: Bump minimal supported MPC version.
286
287 2020-01-07 Richard Sandiford <richard.sandiford@arm.com>
288
289 * langhooks-def.h (lhd_simulate_enum_decl): Declare.
290 (LANG_HOOKS_SIMULATE_ENUM_DECL): Use it.
291 * langhooks.c: Include stor-layout.h.
292 (lhd_simulate_enum_decl): New function.
293 * config/aarch64/aarch64-sve-builtins.cc (init_builtins): Call
294 handle_arm_sve_h for the LTO frontend.
295 (register_vector_type): Cope with null returns from pushdecl.
296
297 2020-01-07 Richard Sandiford <richard.sandiford@arm.com>
298
299 * config/aarch64/aarch64-protos.h (aarch64_sve::svbool_type_p)
300 (aarch64_sve::nvectors_if_data_type): Replace with...
301 (aarch64_sve::builtin_type_p): ...this.
302 * config/aarch64/aarch64-sve-builtins.cc: Include attribs.h.
303 (find_vector_type): Delete.
304 (add_sve_type_attribute): New function.
305 (lookup_sve_type_attribute): Likewise.
306 (register_builtin_types): Add an "SVE type" attribute to each type.
307 (register_tuple_type): Likewise.
308 (svbool_type_p, nvectors_if_data_type): Delete.
309 (mangle_builtin_type): Use lookup_sve_type_attribute.
310 (builtin_type_p): Likewise. Add an overload that returns the
311 number of constituent vector and predicate registers.
312 * config/aarch64/aarch64.c (aarch64_sve_argument_p): Delete.
313 (aarch64_returns_value_in_sve_regs_p): Use aarch64_sve::builtin_type_p
314 instead of aarch64_sve_argument_p.
315 (aarch64_takes_arguments_in_sve_regs_p): Likewise.
316 (aarch64_pass_by_reference): Likewise.
317 (aarch64_function_value_1): Likewise.
318 (aarch64_return_in_memory): Likewise.
319 (aarch64_layout_arg): Likewise.
320
321 2020-01-07 Jakub Jelinek <jakub@redhat.com>
322
323 PR tree-optimization/93156
324 * tree-ssa-ccp.c (bit_value_binop): For x * x note that the second
325 least significant bit is always clear.
326
327 PR tree-optimization/93118
328 * match.pd ((x >> c) << c -> x & (-1<<c)): Add nop_convert?. Add new
329 simplifier with two intermediate conversions.
330
331 2020-01-07 Martin Liska <mliska@suse.cz>
332
333 * params.opt: Add Optimization for various parameters.
334
335 2020-01-07 Martin Liska <mliska@suse.cz>
336
337 PR ipa/83411
338 * doc/extend.texi: Explain cloning for target_clone
339 attribute.
340
341 2020-01-07 Martin Liska <mliska@suse.cz>
342
343 PR tree-optimization/92860
344 * common.opt: Make in Optimization option
345 as it is affected by -O0, which is an Optimization
346 option.
347 * tree-inline.c (tree_inlinable_function_p):
348 Use opt_for_fn for warn_inline.
349 (expand_call_inline): Likewise.
350
351 2020-01-07 Martin Liska <mliska@suse.cz>
352
353 PR tree-optimization/92860
354 * common.opt: Make flag_ree as optimization
355 attribute.
356
357 2020-01-07 Martin Liska <mliska@suse.cz>
358
359 PR optimization/92860
360 * params.opt: Mark param_min_crossjump_insns with Optimization
361 keyword.
362
363 2020-01-07 Luo Xiong Hu <luoxhu@linux.ibm.com>
364
365 * ipa-inline-analysis.c (estimate_growth): Fix typo.
366 * ipa-inline.c (caller_growth_limits): Use OR instead of AND.
367
368 2020-01-06 Michael Meissner <meissner@linux.ibm.com>
369
370 * config/rs6000/rs6000.c (hard_reg_and_mode_to_addr_mask): New
371 helper function to return the valid addressing formats for a given
372 hard register and mode.
373 (rs6000_adjust_vec_address): Call hard_reg_and_mode_to_addr_mask.
374
375 * config/rs6000/constraints.md (Q constraint): Update
376 documentation.
377 * doc/md.texi (RS/6000 constraints): Update 'Q' cosntraint
378 documentation.
379
380 * config/rs6000/vsx.md (vsx_extract_<mode>_var, VSX_D iterator):
381 Use 'Q' for doing vector extract from memory.
382 (vsx_extract_v4sf_var): Use 'Q' for doing vector extract from
383 memory.
384 (vsx_extract_<mode>_var, VSX_EXTRACT_I iterator): Use 'Q' for
385 doing vector extract from memory.
386 (vsx_extract_<mode>_<VS_scalar>mode_var): Use 'Q' for doing vector
387 extract from memory.
388
389 * config/rs6000/rs6000.c (rs6000_adjust_vec_address): Add support
390 for the offset being 34-bits when -mcpu=future is used.
391
392 2020-01-06 John David Anglin <danglin@gcc.gnu.org>
393
394 * config/pa/pa.md: Revert change to use ordered_comparison_operator
395 instead of cmpib_comparison_operator in cmpib patterns.
396 * config/pa/predicates.md (cmpib_comparison_operator): Revert removal
397 of cmpib_comparison_operator. Revise comment.
398
399 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
400
401 * tree-vect-slp.c (vect_build_slp_tree_1): Require all shifts
402 in an IFN_DIV_POW2 node to be equal.
403
404 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
405
406 * tree-vect-stmts.c (vect_check_load_store_mask): Rename to...
407 (vect_check_scalar_mask): ...this.
408 (vectorizable_store, vectorizable_load): Update call accordingly.
409 (vectorizable_call): Use vect_check_scalar_mask to check the mask
410 argument in calls to conditional internal functions.
411
412 2020-01-06 Andrew Stubbs <ams@codesourcery.com>
413
414 * config/gcn/gcn-valu.md (subv64di3): Use separate alternatives for
415 '0' matching inputs.
416 (subv64di3_exec): Likewise.
417
418 2020-01-06 Bryan Stenson <bryan@siliconvortex.com>
419
420 * config/mips/mips.c (vr4130_align_insns): Fix typo.
421 * doc/md.texi (movstr): Likewise.
422
423 2020-01-06 Andrew Stubbs <ams@codesourcery.com>
424
425 * config/gcn/gcn-valu.md (vec_extract<mode><scalar_mode>): Add early
426 clobber.
427
428 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
429
430 * config/aarch64/t-aarch64 ($(srcdir)/config/aarch64/aarch64-tune.md):
431 Depend on...
432 (s-aarch64-tune-md): ...this new stamp file. Pipe the new contents
433 to a temporary file and use move-if-change to update the real
434 file where necessary.
435
436 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
437
438 * config/aarch64/aarch64-sve.md (@aarch64_sel_dup<mode>): Use Upl
439 rather than Upa for CPY /M.
440
441 2020-01-06 Andrew Stubbs <ams@codesourcery.com>
442
443 * config/gcn/gcn.c (gcn_inline_constant_p): Allow 64 as an inline
444 immediate.
445
446 2020-01-06 Martin Liska <mliska@suse.cz>
447
448 PR tree-optimization/92860
449 * params.opt: Mark param_max_combine_insns with Optimization
450 keyword.
451
452 2020-01-05 Jakub Jelinek <jakub@redhat.com>
453
454 PR target/93141
455 * config/i386/i386.md (SWIDWI): New mode iterator.
456 (DWI, dwi): Add TImode variants.
457 (addv<mode>4): Use SWIDWI iterator instead of SWI. Use
458 <general_hilo_operand> instead of <general_operand>. Use
459 CONST_SCALAR_INT_P instead of CONST_INT_P.
460 (*addv<mode>4_1): Rename to ...
461 (addv<mode>4_1): ... this.
462 (QWI): New mode attribute.
463 (*addv<dwi>4_doubleword, *addv<dwi>4_doubleword_1): New
464 define_insn_and_split patterns.
465 (*addv<mode>4_overflow_1, *addv<mode>4_overflow_2): New define_insn
466 patterns.
467 (uaddv<mode>4): Use SWIDWI iterator instead of SWI. Use
468 <general_hilo_operand> instead of <general_operand>.
469 (*addcarry<mode>_1): New define_insn.
470 (*add<dwi>3_doubleword_cc_overflow_1): New define_insn_and_split.
471
472 2020-01-03 Konstantin Kharlamov <Hi-Angel@yandex.ru>
473
474 * gdbinit.in (pr, prl, pt, pct, pgg, pgq, pgs, pge, pmz, pdd, pbs, pbm):
475 Use "call" instead of "set".
476
477 2020-01-03 Martin Jambor <mjambor@suse.cz>
478
479 PR ipa/92917
480 * ipa-cp.c (print_all_lattices): Skip functions without info.
481
482 2020-01-03 Jakub Jelinek <jakub@redhat.com>
483
484 PR target/93089
485 * config/i386/i386-options.c (ix86_simd_clone_adjust): If
486 TARGET_PREFER_AVX128, use prefer-vector-width=256 for 'c' and 'd'
487 simd clones. If TARGET_PREFER_AVX256, use prefer-vector-width=512
488 for 'e' simd clones.
489
490 PR target/93089
491 * config/i386/i386.opt (x_prefer_vector_width_type): Remove TargetSave
492 entry.
493 (mprefer-vector-width=): Add Save.
494 * config/i386/i386-options.c (ix86_target_string): Add PVW argument, print
495 -mprefer-vector-width= if non-zero. Fix up -mfpmath= comment.
496 (ix86_debug_options, ix86_function_specific_print): Adjust
497 ix86_target_string callers.
498 (ix86_valid_target_attribute_inner_p): Handle prefer-vector-width=.
499 (ix86_valid_target_attribute_tree): Likewise.
500 * config/i386/i386-options.h (ix86_target_string): Add PVW argument.
501 * config/i386/i386-expand.c (ix86_expand_builtin): Adjust
502 ix86_target_string caller.
503
504 PR target/93110
505 * config/i386/i386.md (abs<mode>2): Use expand_simple_binop instead of
506 emitting ASHIFTRT, XOR and MINUS by hand. Use gen_int_mode with QImode
507 instead of gen_int_shift_amount + convert_modes.
508
509 PR rtl-optimization/93088
510 * loop-iv.c (find_single_def_src): Punt after looking through
511 128 reg copies for regs with single definitions. Move definitions
512 to first uses.
513
514 2020-01-02 Dennis Zhang <dennis.zhang@arm.com>
515
516 * config/arm/arm-c.c (arm_cpu_builtins): Define
517 __ARM_FEATURE_MATMUL_INT8, __ARM_FEATURE_BF16_VECTOR_ARITHMETIC,
518 __ARM_FEATURE_BF16_SCALAR_ARITHMETIC, and
519 __ARM_BF16_FORMAT_ALTERNATIVE when enabled.
520 * config/arm/arm-cpus.in (armv8_6, i8mm, bf16): New features.
521 * config/arm/arm-tables.opt: Regenerated.
522 * config/arm/arm.c (arm_option_reconfigure_globals): Initialize
523 arm_arch_i8mm and arm_arch_bf16 when enabled.
524 * config/arm/arm.h (TARGET_I8MM): New macro.
525 (TARGET_BF16_FP, TARGET_BF16_SIMD): Likewise.
526 * config/arm/t-aprofile: Add matching rules for -march=armv8.6-a.
527 * config/arm/t-arm-elf (all_v8_archs): Add armv8.6-a.
528 * config/arm/t-multilib: Add matching rules for -march=armv8.6-a.
529 (v8_6_a_simd_variants): New.
530 (v8_*_a_simd_variants): Add i8mm and bf16.
531 * doc/invoke.texi (armv8.6-a, i8mm, bf16): Document new options.
532
533 2020-01-02 Jakub Jelinek <jakub@redhat.com>
534
535 PR ipa/93087
536 * predict.c (compute_function_frequency): Don't call
537 warn_function_cold on functions that already have cold attribute.
538
539 2020-01-01 John David Anglin <danglin@gcc.gnu.org>
540
541 PR target/67834
542 * config/pa/pa.c (pa_elf_select_rtx_section): New. Put references to
543 COMDAT group function labels in .data.rel.ro.local section.
544 * config/pa/pa32-linux.h (TARGET_ASM_SELECT_RTX_SECTION): Define.
545
546 PR target/93111
547 * config/pa/pa.md (scc): Use ordered_comparison_operator instead of
548 comparison_operator in B and S integer comparisons. Likewise, use
549 ordered_comparison_operator instead of cmpib_comparison_operator in
550 cmpib patterns.
551 * config/pa/predicates.md (cmpib_comparison_operator): Remove.
552
553 2020-01-01 Jakub Jelinek <jakub@redhat.com>
554
555 Update copyright years.
556
557 * gcc.c (process_command): Update copyright notice dates.
558 * gcov-dump.c (print_version): Ditto.
559 * gcov.c (print_version): Ditto.
560 * gcov-tool.c (print_version): Ditto.
561 * gengtype.c (create_file): Ditto.
562 * doc/cpp.texi: Bump @copying's copyright year.
563 * doc/cppinternals.texi: Ditto.
564 * doc/gcc.texi: Ditto.
565 * doc/gccint.texi: Ditto.
566 * doc/gcov.texi: Ditto.
567 * doc/install.texi: Ditto.
568 * doc/invoke.texi: Ditto.
569
570 2020-01-01 Jan Hubicka <hubicka@ucw.cz>
571
572 * ipa.c (walk_polymorphic_call_targets): Fix updating of overall
573 summary.
574
575 2020-01-01 Jakub Jelinek <jakub@redhat.com>
576
577 PR tree-optimization/93098
578 * match.pd (popcount): For shift amounts, use integer_onep
579 or wi::to_widest () == cst instead of tree_to_uhwi () == cst
580 tests. Make sure that precision is power of two larger than or equal
581 to 16. Ensure shift is never negative. Use HOST_WIDE_INT_UC macro
582 instead of ULL suffixed constants. Formatting fixes.
583 \f
584 Copyright (C) 2020 Free Software Foundation, Inc.
585
586 Copying and distribution of this file, with or without modification,
587 are permitted in any medium without royalty provided the copyright
588 notice and this notice are preserved.