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