1 2020-10-10 Jan Hubicka <jh@suse.cz>
3 * ipa-modref.c (modref_transform): Fix parameter map computation.
5 2020-10-10 Tom de Vries <tdevries@suse.de>
8 * config/nvptx/nvptx.c (nvptx_replace_dot): New function.
9 (write_fn_proto, write_fn_proto_from_insn, nvptx_output_call_insn):
10 Use nvptx_replace_dot.
12 2020-10-10 Tom de Vries <tdevries@suse.de>
14 * config/nvptx/nvptx.c (write_fn_proto_1): New function, factored out
16 (write_fn_proto): ... here. Return void.
18 2020-10-10 Jan Hubicka <jh@suse.cz>
20 * ipa-modref.c (remap_arguments): Check range in map access.
22 2020-10-10 Jan Hubicka <jh@suse.cz>
24 * ipa-modref.c (modref_transform): Use reserve instead of safe_grow.
26 2020-10-10 Jan Hubicka <jh@suse.cz>
28 * ipa-modref.c (modref_transform): Check that summaries are allocated.
30 2020-10-10 Jan Hubicka <jh@suse.cz>
32 * ipa-modref-tree.h (struct modref_tree): Revert prevoius change.
33 * ipa-modref.c (analyze_function): Dump original summary.
34 (modref_read): Only set IPA if streaming summary (not optimization
36 (remap_arguments): New function.
37 (modref_transform): New function.
38 (compute_parm_map): Fix offset calculation.
39 (ipa_merge_modref_summary_after_inlining): Do not merge stores when
42 2020-10-10 Jan Hubicka <jh@suse.cz>
44 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Improve debug dumps.
45 (call_may_clobber_ref_p_1): Improve debug dumps.
47 2020-10-10 Iain Sandoe <iain@sandoe.co.uk>
49 * config/darwin.c (output_objc_section_asm_op): Avoid extra
50 objective-c section switches unless the linker needs them.
52 2020-10-10 Iain Sandoe <iain@sandoe.co.uk>
54 * config/darwin-sections.def (objc2_data_section): New.
55 (objc2_ivar_section): New.
56 * config/darwin.c (darwin_objc2_section): Act on Protocol and
59 2020-10-10 Iain Sandoe <iain@sandoe.co.uk>
61 * config/darwin-sections.def (objc2_class_names_section,
62 objc2_method_names_section, objc2_method_types_section): New
63 * config/darwin.c (output_objc_section_asm_op): Output new
64 sections. (darwin_objc2_section): Select new sections where
67 2020-10-10 Iain Sandoe <iain@sandoe.co.uk>
69 * config/darwin.c (darwin_emit_local_bss): Amend section names to
70 match system tools. (darwin_output_aligned_bss): Likewise.
72 2020-10-10 Aldy Hernandez <aldyh@redhat.com>
74 PR tree-optimization/97359
75 * gimple-range-gori.cc (logical_stmt_cache::cacheable_p): Only
77 (gori_compute_cache::cache_stmt): Adjust comment.
79 2020-10-09 Vladimir Makarov <vmakarov@redhat.com>
81 PR rtl-optimization/97313
82 * lra-constraints.c (match_reload): Don't keep strict_low_part in
83 reloads for non-registers.
85 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
88 * config.gcc (extra_headers): Add x86gprintrin.h.
89 * config/i386/adxintrin.h: Check _X86GPRINTRIN_H_INCLUDED for
91 * config/i386/bmi2intrin.h: Likewise.
92 * config/i386/bmiintrin.h: Likewise.
93 * config/i386/cetintrin.h: Likewise.
94 * config/i386/cldemoteintrin.h: Likewise.
95 * config/i386/clflushoptintrin.h: Likewise.
96 * config/i386/clwbintrin.h: Likewise.
97 * config/i386/enqcmdintrin.h: Likewise.
98 * config/i386/fxsrintrin.h: Likewise.
99 * config/i386/ia32intrin.h: Likewise.
100 * config/i386/lwpintrin.h: Likewise.
101 * config/i386/lzcntintrin.h: Likewise.
102 * config/i386/movdirintrin.h: Likewise.
103 * config/i386/pconfigintrin.h: Likewise.
104 * config/i386/pkuintrin.h: Likewise.
105 * config/i386/rdseedintrin.h: Likewise.
106 * config/i386/rtmintrin.h: Likewise.
107 * config/i386/serializeintrin.h: Likewise.
108 * config/i386/tbmintrin.h: Likewise.
109 * config/i386/tsxldtrkintrin.h: Likewise.
110 * config/i386/waitpkgintrin.h: Likewise.
111 * config/i386/wbnoinvdintrin.h: Likewise.
112 * config/i386/xsavecintrin.h: Likewise.
113 * config/i386/xsaveintrin.h: Likewise.
114 * config/i386/xsaveoptintrin.h: Likewise.
115 * config/i386/xsavesintrin.h: Likewise.
116 * config/i386/xtestintrin.h: Likewise.
117 * config/i386/immintrin.h: Include <x86gprintrin.h> instead of
118 <fxsrintrin.h>, <xsaveintrin.h>, <xsaveoptintrin.h>,
119 <xsavesintrin.h>, <xsavecintrin.h>, <lzcntintrin.h>,
120 <bmiintrin.h>, <bmi2intrin.h>, <xtestintrin.h>, <cetintrin.h>,
121 <movdirintrin.h>, <sgxintrin.h, <pconfigintrin.h>,
122 <waitpkgintrin.h>, <cldemoteintrin.h>, <enqcmdintrin.h>,
123 <serializeintrin.h>, <tsxldtrkintrin.h>, <adxintrin.h>,
124 <clwbintrin.h>, <clflushoptintrin.h>, <wbnoinvdintrin.h> and
126 (_wbinvd): Moved to config/i386/x86gprintrin.h.
127 (_rdrand16_step): Likewise.
128 (_rdrand32_step): Likewise.
129 (_rdpid_u32): Likewise.
130 (_readfsbase_u32): Likewise.
131 (_readfsbase_u64): Likewise.
132 (_readgsbase_u32): Likewise.
133 (_readgsbase_u64): Likewise.
134 (_writefsbase_u32): Likewise.
135 (_writefsbase_u64): Likewise.
136 (_writegsbase_u32): Likewise.
137 (_writegsbase_u64): Likewise.
138 (_rdrand64_step): Likewise.
139 (_ptwrite64): Likewise.
140 (_ptwrite32): Likewise.
141 * config/i386/x86gprintrin.h: New file.
142 * config/i386/x86intrin.h: Include <x86gprintrin.h>. Don't
143 include <ia32intrin.h>, <lwpintrin.h>, <tbmintrin.h>,
144 <popcntintrin.h>, <mwaitxintrin.h> and <clzerointrin.h>.
146 2020-10-09 Tom de Vries <tdevries@suse.de>
149 * config/nvptx/nvptx.h (ASM_SPEC): Also pass -m to nvptx-as if
151 * config/nvptx/nvptx.opt (misa): Init with PTX_ISA_SM35.
153 2020-10-09 Richard Biener <rguenther@suse.de>
155 * doc/sourcebuild.texi (vect_masked_load): Document.
157 2020-10-09 Richard Biener <rguenther@suse.de>
159 PR tree-optimization/97334
160 * tree-vect-slp.c (vect_build_slp_tree_1): Do not fatally
161 fail lanes other than zero when BB vectorizing.
163 2020-10-09 Jan Hubicka <jh@suse.cz>
167 * ipa-modref-tree.h (copy_from): Drop summary in a
170 2020-10-09 Richard Biener <rguenther@suse.de>
172 PR tree-optimization/97347
173 * tree-vect-slp.c (vect_create_constant_vectors): Use
174 edge insertion when inserting on the fallthru edge,
175 appropriately insert at the start of BBs when inserting
178 2020-10-09 Andrew MacLeod <amacleod@redhat.com>
180 PR tree-optimization/97317
181 * range-op.cc (operator_cast::op1_range): Handle casts where the precision
182 of the RHS is only 1 greater than the precision of the LHS.
184 2020-10-09 Richard Biener <rguenther@suse.de>
186 * cgraphunit.c (expand_all_functions): Free tp_first_run_order.
187 * ipa-modref.c (pass_ipa_modref::execute): Free order.
188 * tree-ssa-loop-niter.c (estimate_numbers_of_iterations): Free
190 * tree-vect-data-refs.c (vect_find_stmt_data_reference): Free
191 data references upon failure.
192 * tree-vect-loop.c (update_epilogue_loop_vinfo): Free BBs
193 array of the original loop.
194 * tree-vect-slp.c (vect_slp_bbs): Use an auto_vec for
195 dataref_groups to release its memory.
197 2020-10-09 Jakub Jelinek <jakub@redhat.com>
199 PR tree-optimization/94801
201 * vr-values.c (vr_values::extract_range_basic) <CASE_CFN_CLZ,
202 CASE_CFN_CTZ>: When stmt is not an internal-fn call or
203 C?Z_DEFINED_VALUE_AT_ZERO is not 2, assume argument is not zero
204 and thus use [0, prec-1] range unless it can be further improved.
205 For CTZ, don't update maxi from upper bound if it was previously prec.
206 * gimple-range.cc (gimple_ranger::range_of_builtin_call) <CASE_CFN_CLZ,
207 CASE_CFN_CTZ>: Likewise.
209 2020-10-09 Jakub Jelinek <jakub@redhat.com>
211 PR tree-optimization/97325
212 * match.pd (FFS(nonzero) -> CTZ(nonzero) + 1): Cast argument to
213 corresponding unsigned type.
215 2020-10-09 Richard Biener <rguenther@suse.de>
217 * tree-vect-slp.c (vect_create_constant_vectors): Properly insert
220 2020-10-08 Alexandre Oliva <oliva@adacore.com>
222 * builtins.c (mathfn_built_in_type): New.
223 * builtins.h (mathfn_built_in_type): Declare.
224 * tree-ssa-math-opts.c (execute_cse_sincos_1): Use it to
225 obtain the type expected by the intrinsic.
227 2020-10-08 Will Schmidt <will_schmidt@vnet.ibm.com>
229 * config/rs6000/rs6000-builtin.def (BU_P10_MISC_2): Rename
230 to BU_P10_POWERPC64_MISC_2.
231 CFUGED, CNTLZDM, CNTTZDM, PDEPD, PEXTD): Call renamed macro.
233 2020-10-08 Jan Hubicka <jh@suse.cz>
235 * tree-nrv.c (dest_safe_for_nrv_p): Disable tbaa in
236 call_may_clobber_ref_p and ref_maybe_used_by_stmt_p.
237 * tree-tailcall.c (find_tail_calls): Likewise.
238 * tree-ssa-alias.c (call_may_clobber_ref_p): Add tbaa_p parameter.
239 * tree-ssa-alias.h (call_may_clobber_ref_p): Update prototype.
240 * tree-ssa-sccvn.c (vn_reference_lookup_3): Pass data->tbaa_p
241 to call_may_clobber_ref_p_1.
243 2020-10-08 Mark Wielaard <mark@klomp.org>
245 * dwarf2out.c (dwarf2out_finish): Emit .file 0 entry when
246 generating DWARF5 .debug_line table through gas.
248 2020-10-08 John Henning <john.henning@oracle.com>
251 * doc/invoke.texi: Improve documentation of
252 -fallow-store-data-races.
254 2020-10-08 Christophe Lyon <christophe.lyon@linaro.org>
257 * config/arm/arm_mve.h (__arm_vcvtnq_u32_f32): New.
259 2020-10-08 Martin Liska <mliska@suse.cz>
260 Richard Biener <rguenther@suse.de>
262 * tree-vectorizer.h (_bb_vec_info::const_iterator): Remove.
263 (_bb_vec_info::const_reverse_iterator): Likewise.
264 (_bb_vec_info::region_stmts): Likewise.
265 (_bb_vec_info::reverse_region_stmts): Likewise.
266 (_bb_vec_info::_bb_vec_info): Adjust.
267 (_bb_vec_info::bb): Remove.
268 (_bb_vec_info::region_begin): Remove.
269 (_bb_vec_info::region_end): Remove.
270 (_bb_vec_info::bbs): New vector of BBs.
271 (vect_slp_function): Declare.
272 * tree-vect-patterns.c (vect_determine_precisions): Use
273 regular stmt iteration.
274 (vect_pattern_recog): Likewise.
275 * tree-vect-slp.c: Include cfganal.h, tree-eh.h and tree-cfg.h.
276 (vect_build_slp_tree_1): Properly refuse to vectorize
277 volatile and throwing stmts.
278 (vect_build_slp_tree_2): Pass group-size down to
279 get_vectype_for_scalar_type.
280 (_bb_vec_info::_bb_vec_info): Use regular stmt iteration,
281 adjust for changed region specification.
282 (_bb_vec_info::~_bb_vec_info): Likewise.
283 (vect_slp_check_for_constructors): Likewise.
284 (vect_slp_region): Likewise.
285 (vect_slp_bbs): New worker operating on a vector of BBs.
286 (vect_slp_bb): Wrap it.
287 (vect_slp_function): New function splitting the function
288 into multi-BB regions.
289 (vect_create_constant_vectors): Handle the case of inserting
290 after a throwing def.
291 (vect_schedule_slp_instance): Adjust.
292 * tree-vectorizer.c (vec_info::remove_stmt): Simplify again.
293 (vec_info::insert_seq_on_entry): Adjust.
294 (pass_slp_vectorize::execute): Also init PHIs. Call
297 2020-10-08 Richard Biener <rguenther@suse.de>
299 PR tree-optimization/97330
300 * tree-ssa-sink.c (statement_sink_location): Avoid skipping
301 PHIs when they dominate the insert location.
303 2020-10-08 Jan Hubicka <jh@suse.cz>
305 * ipa-modref.c (get_access): Fix handling of offsets.
306 * tree-ssa-alias.c (modref_may_conflict): Watch for overflows.
308 2020-10-08 Martin Liska <mliska@suse.cz>
310 * dbgcnt.def (DEBUG_COUNTER): Add ipa_mod_ref debug counter.
311 * tree-ssa-alias.c (modref_may_conflict): Handle the counter.
313 2020-10-08 Richard Biener <rguenther@suse.de>
315 * tree-vectorizer.c (try_vectorize_loop_1): Do not dump
316 "basic block vectorized".
317 (pass_slp_vectorize::execute): Likewise.
318 * tree-vect-slp.c (vect_analyze_slp_instance): Avoid
319 re-analyzing split single stmts.
321 2020-10-08 Christophe Lyon <christophe.lyon@linaro.org>
324 * config/arm/arm_mve.h (vqrdmlashq_n_u8, vqrdmlashq_n_u16)
325 (vqrdmlashq_n_u32, vqrdmlahq_n_u8, vqrdmlahq_n_u16)
326 (vqrdmlahq_n_u32, vqdmlahq_n_u8, vqdmlahq_n_u16, vqdmlahq_n_u32)
327 (vmlaldavaxq_p_u16, vmlaldavaxq_p_u32): Remove.
328 * config/arm/arm_mve_builtins.def (vqrdmlashq_n_u, vqrdmlahq_n_u)
329 (vqdmlahq_n_u, vmlaldavaxq_p_u): Remove.
330 * config/arm/unspecs.md (VQDMLAHQ_N_U, VQRDMLAHQ_N_U)
332 (VMLALDAVAXQ_P_U): Remove unspecs.
333 * config/arm/iterators.md (VQDMLAHQ_N_U, VQRDMLAHQ_N_U)
334 (VQRDMLASHQ_N_U, VMLALDAVAXQ_P_U): Remove attributes.
335 (VQDMLAHQ_N, VQRDMLAHQ_N, VQRDMLASHQ_N, VMLALDAVAXQ_P): Remove
336 unsigned variants from iterators.
337 * config/arm/mve.md (mve_vqdmlahq_n_<supf><mode>)
338 (mve_vqrdmlahq_n_<supf><mode>)
339 (mve_vqrdmlashq_n_<supf><mode>, mve_vmlaldavaxq_p_<supf><mode>):
342 2020-10-08 Christophe Lyon <christophe.lyon@linaro.org>
345 * config/arm/arm_mve.h (vqdmlashq, vqdmlashq_m): Define.
346 * config/arm/arm_mve_builtins.def (vqdmlashq_n_s)
347 (vqdmlashq_m_n_s,): New.
348 * config/arm/unspecs.md (VQDMLASHQ_N_S, VQDMLASHQ_M_N_S): New
350 * config/arm/iterators.md (VQDMLASHQ_N_S, VQDMLASHQ_M_N_S): New
352 (VQDMLASHQ_N): New iterator.
353 * config/arm/mve.md (mve_vqdmlashq_n_, mve_vqdmlashq_m_n_s): New
356 2020-10-08 Jakub Jelinek <jakub@redhat.com>
359 * config/arm/arm.c (arm_expand_divmod_libfunc): Pass mode instead of
360 GET_MODE (op0) or GET_MODE (op1) to emit_library_call_value.
362 2020-10-08 Aldy Hernandez <aldyh@redhat.com>
364 PR tree-optimization/97325
365 * gimple-range.cc (gimple_ranger::range_of_builtin_call): Handle
366 negative numbers in __builtin_ffs and __builtin_popcount.
368 2020-10-08 Aldy Hernandez <aldyh@redhat.com>
370 PR tree-optimization/97315
371 * range-op.cc (value_range_with_overflow): Change any
372 non-overflow calculation in which both bounds are
373 overflow/underflow to be undefined.
375 2020-10-08 Aldy Hernandez <aldyh@redhat.com>
377 PR tree-optimization/97315
378 * gimple-ssa-evrp.c (hybrid_folder::choose_value): Removes the
379 trap and instead annotates the listing.
381 2020-10-08 Jakub Jelinek <jakub@redhat.com>
384 * tree-cfg.c (move_block_to_fn): Call notice_special_calls on
385 call stmts being moved into dest_cfun.
386 * omp-low.c (lower_rec_input_clauses): Set cfun->calls_alloca when
387 adding __builtin_alloca_with_align call without gimplification.
389 2020-10-07 Aldy Hernandez <aldyh@redhat.com>
391 * common.opt (-fevrp-mode): Rename and move...
392 * params.opt (--param=evrp-mode): ...here.
393 * gimple-range.h (DEBUG_RANGE_CACHE): Use param_evrp_mode instead
395 * gimple-ssa-evrp.c (rvrp_folder): Same.
396 (hybrid_folder): Same.
397 (execute_early_vrp): Same.
399 2020-10-07 Richard Biener <rguenther@suse.de>
401 PR tree-optimization/97307
402 * tree-ssa-sink.c (statement_sink_location): Change heuristic
403 for not skipping stores to look for virtual definitions
406 2020-10-07 Andrew MacLeod <amacleod@redhat.com>
408 * value-range.h (irange_allocator::allocate): Allocate in two hunks
409 instead of using the variably-sized trailing array approach.
411 2020-10-07 David Malcolm <dmalcolm@redhat.com>
413 * doc/invoke.texi (-fdiagnostics-plain-output): Add
414 -fdiagnostics-path-format=separate-events to list of
415 options injected by -fdiagnostics-plain-output.
416 * opts-common.c (decode_cmdline_options_to_array): Likewise.
418 2020-10-07 Martin Jambor <mjambor@suse.cz>
421 * ipa-prop.c (update_indirect_edges_after_inlining): Do not add
422 resolved speculation edges to vector of new direct edges even in
423 presence of multiple speculative direct edges for a single call.
425 2020-10-07 Andrew Stubbs <ams@codesourcery.com>
427 * config/gcn/gcn.md (unspec): Add UNSPEC_ADDPTR.
428 (addptrdi3): Add SGPR alternative.
430 2020-10-07 Mark Wielaard <mark@klomp.org>
432 * dwarf2out.c (add_filepath_AT_string): New function.
433 (asm_outputs_debug_line_str): Likewise.
434 (add_filename_attribute): Likewise.
435 (add_comp_dir_attribute): Call add_filepath_AT_string.
436 (gen_compile_unit_die): Call add_filename_attribute for name.
437 (init_sections_and_labels): Init debug_line_str_section when
438 asm_outputs_debug_line_str return true.
439 (dwarf2out_early_finish): Remove DW_AT_name and DW_AT_comp_dir
440 hack and call add_filename_attribute for the remap_debug_filename.
442 2020-10-07 Jakub Jelinek <jakub@redhat.com>
444 * configure.ac (HAVE_AS_GDWARF_5_DEBUG_FLAG,
445 HAVE_AS_WORKING_DWARF_4_FLAG): New tests.
446 * gcc.c (ASM_DEBUG_DWARF_OPTION): Define.
447 (ASM_DEBUG_SPEC): Use ASM_DEBUG_DWARF_OPTION instead of
448 "--gdwarf2". Use %{cond:opt1;:opt2} style.
449 (ASM_DEBUG_OPTION_DWARF_OPT): Define.
450 (ASM_DEBUG_OPTION_SPEC): Define.
451 (asm_debug_option): New variable.
452 (asm_options): Add "%(asm_debug_option)".
453 (static_specs): Add asm_debug_option entry.
454 (static_spec_functions): Add dwarf-version-gt.
455 (debug_level_greater_than_spec_func): New function.
456 * config/darwin.h (ASM_DEBUG_OPTION_SPEC): Define.
457 * config/darwin9.h (ASM_DEBUG_OPTION_SPEC): Redefine.
458 * config.in: Regenerated.
459 * configure: Regenerated.
461 2020-10-07 Jakub Jelinek <jakub@redhat.com>
464 * optc-save-gen.awk: Don't declare mask variable if explicit_mask
465 array is not present.
467 2020-10-07 Jakub Jelinek <jakub@redhat.com>
469 * omp-expand.c (expand_omp_simd): Don't emit MIN_EXPR and PLUS_EXPR
470 at the end of entry_bb and innermost init_bb, instead force arguments
471 for MIN_EXPR into temporaries in both cases and jump to a new bb that
472 performs MIN_EXPR and PLUS_EXPR.
474 2020-10-07 Tom de Vries <tdevries@suse.de>
476 * tree-ssa-loop-ch.c (ch_base::copy_headers): Add missing NULL test
479 2020-10-06 Andrew MacLeod <amacleod@redhat.com>
481 * flag-types.h (enum evrp_mode): New enumerated type EVRP_MODE_*.
482 * common.opt (fevrp-mode): New undocumented flag.
483 * gimple-ssa-evrp.c: Include gimple-range.h
484 (class rvrp_folder): EVRP folding using ranger exclusively.
485 (rvrp_folder::rvrp_folder): New.
486 (rvrp_folder::~rvrp_folder): New.
487 (rvrp_folder::value_of_expr): New. Use rangers value_of_expr.
488 (rvrp_folder::value_on_edge): New. Use rangers value_on_edge.
489 (rvrp_folder::value_of_Stmt): New. Use rangers value_of_stmt.
490 (rvrp_folder::fold_stmt): New. Call the simplifier.
491 (class hybrid_folder): EVRP folding using both engines.
492 (hybrid_folder::hybrid_folder): New.
493 (hybrid_folder::~hybrid_folder): New.
494 (hybrid_folder::fold_stmt): New. Simplify with one engne, then the
496 (hybrid_folder::value_of_expr): New. Use both value routines.
497 (hybrid_folder::value_on_edge): New. Use both value routines.
498 (hybrid_folder::value_of_stmt): New. Use both value routines.
499 (hybrid_folder::choose_value): New. Choose between range_analzyer and
501 (execute_early_vrp): Choose a folder based on flag_evrp_mode.
502 * vr-values.c (simplify_using_ranges::fold_cond): Try range_of_stmt
503 first to see if it returns a value.
504 (simplify_using_ranges::simplify_switch_using_ranges): Return true if
505 any changes were made to the switch.
507 2020-10-06 Andrew MacLeod <amacleod@redhat.com>
509 * Makefile.in (OBJS): Add gimple-range*.o.
510 * gimple-range.h: New file.
511 * gimple-range.cc: New file.
512 * gimple-range-cache.h: New file.
513 * gimple-range-cache.cc: New file.
514 * gimple-range-edge.h: New file.
515 * gimple-range-edge.cc: New file.
516 * gimple-range-gori.h: New file.
517 * gimple-range-gori.cc: New file.
519 2020-10-06 Dennis Zhang <dennis.zhang@arm.com>
521 * config/arm/arm.c (arm_preferred_simd_mode): Enable MVE SIMD modes.
523 2020-10-06 Tom de Vries <tdevries@suse.de>
526 * gimplify.c (gimplify_bind_expr): Handle lookup in
527 oacc_declare_returns using key with decl-expr.
529 2020-10-06 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
531 * config/arm/iterators.md (MVE_types): Move mode iterator from mve.md to
533 (MVE_VLD_ST): Likewise.
540 (MVE_CNVT): Move mode attribute iterator from mve.md to iterators.md.
541 (MVE_LANES): Likewise.
542 (MVE_constraint): Likewise.
543 (MVE_constraint1): Likewise.
544 (MVE_constraint2): Likewise.
545 (MVE_constraint3): Likewise.
546 (MVE_pred): Likewise.
547 (MVE_pred1): Likewise.
548 (MVE_pred2): Likewise.
549 (MVE_pred3): Likewise.
550 (MVE_B_ELEM): Likewise.
551 (MVE_H_ELEM): Likewise.
552 (V_sz_elem1): Likewise.
553 (V_extr_elem): Likewise.
554 (earlyclobber_32): Likewise.
555 (supf): Move int attribute from mve.md to iterators.md.
557 (VCVTQ_TO_F): Move int iterator from mve.md to iterators.md.
560 (VCVTQ_FROM_F): Likewise.
576 (VCVTQ_N_TO_F): Likewise.
577 (VCREATEQ): Likewise.
579 (VCVTQ_N_FROM_F): Likewise.
580 (VADDLVQ_P): Likewise.
586 (VADDVQ_P): Likewise.
589 (VBRSRQ_N): Likewise.
590 (VCADDQ_ROT270): Likewise.
591 (VCADDQ_ROT90): Likewise.
593 (VCMPEQQ_N): Likewise.
594 (VCMPNEQ_N): Likewise.
597 (VHADDQ_N): Likewise.
599 (VHSUBQ_N): Likewise.
604 (VMLADAVQ): Likewise.
606 (VMULLBQ_INT): Likewise.
607 (VMULLTQ_INT): Likewise.
613 (VQADDQ_N): Likewise.
615 (VQRSHLQ_N): Likewise.
617 (VQSHLQ_N): Likewise.
618 (VQSHLQ_R): Likewise.
620 (VQSUBQ_N): Likewise.
624 (VRSHLQ_N): Likewise.
625 (VRSHRQ_N): Likewise.
630 (VADDLVAQ): Likewise.
632 (VMLALDAVQ): Likewise.
633 (VMLALDAVXQ): Likewise.
637 (VQMOVNBQ): Likewise.
638 (VQMOVNTQ): Likewise.
639 (VSHLLBQ_N): Likewise.
640 (VSHLLTQ_N): Likewise.
641 (VRMLALDAVHQ): Likewise.
642 (VBICQ_M_N): Likewise.
643 (VCVTAQ_M): Likewise.
644 (VCVTQ_M_TO_F): Likewise.
645 (VQRSHRNBQ_N): Likewise.
648 (VRMLALDAVHAQ): Likewise.
649 (VADDVAQ_P): Likewise.
651 (VCMPEQQ_M_N): Likewise.
652 (VCMPEQQ_M): Likewise.
653 (VCMPNEQ_M_N): Likewise.
654 (VCMPNEQ_M): Likewise.
655 (VDUPQ_M_N): Likewise.
656 (VMAXVQ_P): Likewise.
657 (VMINVQ_P): Likewise.
658 (VMLADAVAQ): Likewise.
659 (VMLADAVQ_P): Likewise.
661 (VMLASQ_N): Likewise.
664 (VQDMLAHQ_N): Likewise.
665 (VQRDMLAHQ_N): Likewise.
666 (VQRDMLASHQ_N): Likewise.
667 (VQRSHLQ_M_N): Likewise.
668 (VQSHLQ_M_R): Likewise.
669 (VREV64Q_M): Likewise.
670 (VRSHLQ_M_N): Likewise.
671 (VSHLQ_M_R): Likewise.
674 (VMLALDAVQ_P): Likewise.
675 (VQMOVNBQ_M): Likewise.
676 (VMOVLTQ_M): Likewise.
677 (VMOVNBQ_M): Likewise.
678 (VRSHRNTQ_N): Likewise.
679 (VORRQ_M_N): Likewise.
680 (VREV32Q_M): Likewise.
681 (VREV16Q_M): Likewise.
682 (VQRSHRNTQ_N): Likewise.
683 (VMOVNTQ_M): Likewise.
684 (VMOVLBQ_M): Likewise.
685 (VMLALDAVAQ): Likewise.
686 (VQSHRNBQ_N): Likewise.
687 (VSHRNBQ_N): Likewise.
688 (VRSHRNBQ_N): Likewise.
689 (VMLALDAVXQ_P): Likewise.
690 (VQMOVNTQ_M): Likewise.
691 (VMVNQ_M_N): Likewise.
692 (VQSHRNTQ_N): Likewise.
693 (VMLALDAVAXQ): Likewise.
694 (VSHRNTQ_N): Likewise.
695 (VCVTMQ_M): Likewise.
696 (VCVTNQ_M): Likewise.
697 (VCVTPQ_M): Likewise.
698 (VCVTQ_M_N_FROM_F): Likewise.
699 (VCVTQ_M_FROM_F): Likewise.
700 (VRMLALDAVHQ_P): Likewise.
701 (VADDLVAQ_P): Likewise.
702 (VABAVQ_P): Likewise.
704 (VSRIQ_M_N): Likewise.
706 (VCVTQ_M_N_TO_F): Likewise.
707 (VHSUBQ_M): Likewise.
708 (VSLIQ_M_N): Likewise.
709 (VRSHLQ_M): Likewise.
711 (VMULLBQ_INT_M): Likewise.
712 (VMULHQ_M): Likewise.
714 (VHSUBQ_M_N): Likewise.
715 (VHADDQ_M_N): Likewise.
717 (VRMULHQ_M): Likewise.
718 (VQADDQ_M): Likewise.
719 (VRSHRQ_M_N): Likewise.
720 (VQSUBQ_M_N): Likewise.
723 (VRHADDQ_M): Likewise.
724 (VQSHLQ_M): Likewise.
727 (VSHLQ_M_N): Likewise.
728 (VCADDQ_ROT270_M): Likewise.
729 (VQRSHLQ_M): Likewise.
730 (VQADDQ_M_N): Likewise.
731 (VADDQ_M_N): Likewise.
733 (VQSUBQ_M): Likewise.
734 (VMLASQ_M_N): Likewise.
735 (VMLADAVAQ_P): Likewise.
736 (VBRSRQ_M_N): Likewise.
737 (VMULQ_M_N): Likewise.
738 (VCADDQ_ROT90_M): Likewise.
739 (VMULLTQ_INT_M): Likewise.
741 (VSHRQ_M_N): Likewise.
742 (VSUBQ_M_N): Likewise.
743 (VHADDQ_M): Likewise.
745 (VMLAQ_M_N): Likewise.
746 (VQSHLQ_M_N): Likewise.
747 (VMLALDAVAQ_P): Likewise.
748 (VMLALDAVAXQ_P): Likewise.
749 (VQRSHRNBQ_M_N): Likewise.
750 (VQRSHRNTQ_M_N): Likewise.
751 (VQSHRNBQ_M_N): Likewise.
752 (VQSHRNTQ_M_N): Likewise.
753 (VRSHRNBQ_M_N): Likewise.
754 (VRSHRNTQ_M_N): Likewise.
755 (VSHLLBQ_M_N): Likewise.
756 (VSHLLTQ_M_N): Likewise.
757 (VSHRNBQ_M_N): Likewise.
758 (VSHRNTQ_M_N): Likewise.
759 (VSTRWSBQ): Likewise.
760 (VSTRBSOQ): Likewise.
762 (VLDRBGOQ): Likewise.
764 (VLDRWGBQ): Likewise.
766 (VLDRHGOQ): Likewise.
767 (VLDRHGSOQ): Likewise.
770 (VLDRDGBQ): Likewise.
771 (VLDRDGOQ): Likewise.
772 (VLDRDGSOQ): Likewise.
773 (VLDRWGOQ): Likewise.
774 (VLDRWGSOQ): Likewise.
776 (VSTRHSOQ): Likewise.
777 (VSTRHSSOQ): Likewise.
780 (VSTRDSBQ): Likewise.
781 (VSTRDSOQ): Likewise.
782 (VSTRDSSOQ): Likewise.
783 (VSTRWSOQ): Likewise.
784 (VSTRWSSOQ): Likewise.
785 (VSTRWSBWBQ): Likewise.
786 (VLDRWGBWBQ): Likewise.
787 (VSTRDSBWBQ): Likewise.
788 (VLDRDGBWBQ): Likewise.
790 (VADCIQ_M): Likewise.
794 (VSBCIQ_M): Likewise.
797 (UQRSHLLQ): Likewise.
798 (SQRSHRLQ): Likewise.
799 (VSHLCQ_M): Likewise.
800 * config/arm/mve.md (MVE_types): Move mode iterator to iterators.md from mve.md.
801 (MVE_VLD_ST): Likewise.
808 (MVE_CNVT): Move mode attribute iterator to iterators.md from mve.md.
809 (MVE_LANES): Likewise.
810 (MVE_constraint): Likewise.
811 (MVE_constraint1): Likewise.
812 (MVE_constraint2): Likewise.
813 (MVE_constraint3): Likewise.
814 (MVE_pred): Likewise.
815 (MVE_pred1): Likewise.
816 (MVE_pred2): Likewise.
817 (MVE_pred3): Likewise.
818 (MVE_B_ELEM): Likewise.
819 (MVE_H_ELEM): Likewise.
820 (V_sz_elem1): Likewise.
821 (V_extr_elem): Likewise.
822 (earlyclobber_32): Likewise.
823 (supf): Move int attribute to iterators.md from mve.md.
825 (VCVTQ_TO_F): Move int iterator to iterators.md from mve.md.
828 (VCVTQ_FROM_F): Likewise.
844 (VCVTQ_N_TO_F): Likewise.
845 (VCREATEQ): Likewise.
847 (VCVTQ_N_FROM_F): Likewise.
848 (VADDLVQ_P): Likewise.
854 (VADDVQ_P): Likewise.
857 (VBRSRQ_N): Likewise.
858 (VCADDQ_ROT270): Likewise.
859 (VCADDQ_ROT90): Likewise.
861 (VCMPEQQ_N): Likewise.
862 (VCMPNEQ_N): Likewise.
865 (VHADDQ_N): Likewise.
867 (VHSUBQ_N): Likewise.
872 (VMLADAVQ): Likewise.
874 (VMULLBQ_INT): Likewise.
875 (VMULLTQ_INT): Likewise.
881 (VQADDQ_N): Likewise.
883 (VQRSHLQ_N): Likewise.
885 (VQSHLQ_N): Likewise.
886 (VQSHLQ_R): Likewise.
888 (VQSUBQ_N): Likewise.
892 (VRSHLQ_N): Likewise.
893 (VRSHRQ_N): Likewise.
898 (VADDLVAQ): Likewise.
900 (VMLALDAVQ): Likewise.
901 (VMLALDAVXQ): Likewise.
905 (VQMOVNBQ): Likewise.
906 (VQMOVNTQ): Likewise.
907 (VSHLLBQ_N): Likewise.
908 (VSHLLTQ_N): Likewise.
909 (VRMLALDAVHQ): Likewise.
910 (VBICQ_M_N): Likewise.
911 (VCVTAQ_M): Likewise.
912 (VCVTQ_M_TO_F): Likewise.
913 (VQRSHRNBQ_N): Likewise.
916 (VRMLALDAVHAQ): Likewise.
917 (VADDVAQ_P): Likewise.
919 (VCMPEQQ_M_N): Likewise.
920 (VCMPEQQ_M): Likewise.
921 (VCMPNEQ_M_N): Likewise.
922 (VCMPNEQ_M): Likewise.
923 (VDUPQ_M_N): Likewise.
924 (VMAXVQ_P): Likewise.
925 (VMINVQ_P): Likewise.
926 (VMLADAVAQ): Likewise.
927 (VMLADAVQ_P): Likewise.
929 (VMLASQ_N): Likewise.
932 (VQDMLAHQ_N): Likewise.
933 (VQRDMLAHQ_N): Likewise.
934 (VQRDMLASHQ_N): Likewise.
935 (VQRSHLQ_M_N): Likewise.
936 (VQSHLQ_M_R): Likewise.
937 (VREV64Q_M): Likewise.
938 (VRSHLQ_M_N): Likewise.
939 (VSHLQ_M_R): Likewise.
942 (VMLALDAVQ_P): Likewise.
943 (VQMOVNBQ_M): Likewise.
944 (VMOVLTQ_M): Likewise.
945 (VMOVNBQ_M): Likewise.
946 (VRSHRNTQ_N): Likewise.
947 (VORRQ_M_N): Likewise.
948 (VREV32Q_M): Likewise.
949 (VREV16Q_M): Likewise.
950 (VQRSHRNTQ_N): Likewise.
951 (VMOVNTQ_M): Likewise.
952 (VMOVLBQ_M): Likewise.
953 (VMLALDAVAQ): Likewise.
954 (VQSHRNBQ_N): Likewise.
955 (VSHRNBQ_N): Likewise.
956 (VRSHRNBQ_N): Likewise.
957 (VMLALDAVXQ_P): Likewise.
958 (VQMOVNTQ_M): Likewise.
959 (VMVNQ_M_N): Likewise.
960 (VQSHRNTQ_N): Likewise.
961 (VMLALDAVAXQ): Likewise.
962 (VSHRNTQ_N): Likewise.
963 (VCVTMQ_M): Likewise.
964 (VCVTNQ_M): Likewise.
965 (VCVTPQ_M): Likewise.
966 (VCVTQ_M_N_FROM_F): Likewise.
967 (VCVTQ_M_FROM_F): Likewise.
968 (VRMLALDAVHQ_P): Likewise.
969 (VADDLVAQ_P): Likewise.
970 (VABAVQ_P): Likewise.
972 (VSRIQ_M_N): Likewise.
974 (VCVTQ_M_N_TO_F): Likewise.
975 (VHSUBQ_M): Likewise.
976 (VSLIQ_M_N): Likewise.
977 (VRSHLQ_M): Likewise.
979 (VMULLBQ_INT_M): Likewise.
980 (VMULHQ_M): Likewise.
982 (VHSUBQ_M_N): Likewise.
983 (VHADDQ_M_N): Likewise.
985 (VRMULHQ_M): Likewise.
986 (VQADDQ_M): Likewise.
987 (VRSHRQ_M_N): Likewise.
988 (VQSUBQ_M_N): Likewise.
991 (VRHADDQ_M): Likewise.
992 (VQSHLQ_M): Likewise.
995 (VSHLQ_M_N): Likewise.
996 (VCADDQ_ROT270_M): Likewise.
997 (VQRSHLQ_M): Likewise.
998 (VQADDQ_M_N): Likewise.
999 (VADDQ_M_N): Likewise.
1000 (VMAXQ_M): Likewise.
1001 (VQSUBQ_M): Likewise.
1002 (VMLASQ_M_N): Likewise.
1003 (VMLADAVAQ_P): Likewise.
1004 (VBRSRQ_M_N): Likewise.
1005 (VMULQ_M_N): Likewise.
1006 (VCADDQ_ROT90_M): Likewise.
1007 (VMULLTQ_INT_M): Likewise.
1008 (VEORQ_M): Likewise.
1009 (VSHRQ_M_N): Likewise.
1010 (VSUBQ_M_N): Likewise.
1011 (VHADDQ_M): Likewise.
1012 (VABDQ_M): Likewise.
1013 (VMLAQ_M_N): Likewise.
1014 (VQSHLQ_M_N): Likewise.
1015 (VMLALDAVAQ_P): Likewise.
1016 (VMLALDAVAXQ_P): Likewise.
1017 (VQRSHRNBQ_M_N): Likewise.
1018 (VQRSHRNTQ_M_N): Likewise.
1019 (VQSHRNBQ_M_N): Likewise.
1020 (VQSHRNTQ_M_N): Likewise.
1021 (VRSHRNBQ_M_N): Likewise.
1022 (VRSHRNTQ_M_N): Likewise.
1023 (VSHLLBQ_M_N): Likewise.
1024 (VSHLLTQ_M_N): Likewise.
1025 (VSHRNBQ_M_N): Likewise.
1026 (VSHRNTQ_M_N): Likewise.
1027 (VSTRWSBQ): Likewise.
1028 (VSTRBSOQ): Likewise.
1030 (VLDRBGOQ): Likewise.
1032 (VLDRWGBQ): Likewise.
1034 (VLDRHGOQ): Likewise.
1035 (VLDRHGSOQ): Likewise.
1038 (VLDRDGBQ): Likewise.
1039 (VLDRDGOQ): Likewise.
1040 (VLDRDGSOQ): Likewise.
1041 (VLDRWGOQ): Likewise.
1042 (VLDRWGSOQ): Likewise.
1044 (VSTRHSOQ): Likewise.
1045 (VSTRHSSOQ): Likewise.
1048 (VSTRDSBQ): Likewise.
1049 (VSTRDSOQ): Likewise.
1050 (VSTRDSSOQ): Likewise.
1051 (VSTRWSOQ): Likewise.
1052 (VSTRWSSOQ): Likewise.
1053 (VSTRWSBWBQ): Likewise.
1054 (VLDRWGBWBQ): Likewise.
1055 (VSTRDSBWBQ): Likewise.
1056 (VLDRDGBWBQ): Likewise.
1058 (VADCIQ_M): Likewise.
1060 (VSBCQ_M): Likewise.
1062 (VSBCIQ_M): Likewise.
1064 (VADCQ_M): Likewise.
1065 (UQRSHLLQ): Likewise.
1066 (SQRSHRLQ): Likewise.
1067 (VSHLCQ_M): Likewise.
1068 (define_c_enum "unspec"): Move MVE enumerator to unspecs.md from mve.md.
1069 * config/arm/unspecs.md (define_c_enum "unspec"): Move MVE enumerator from
1070 mve.md to unspecs.md.
1072 2020-10-06 Martin Liska <mliska@suse.cz>
1074 * common.opt: Remove -fdbg-cnt-list from deferred options.
1075 * dbgcnt.c (dbg_cnt_set_limit_by_index): Make a copy
1077 (dbg_cnt_list_all_counters): Print also current counter value
1078 and print to stderr.
1079 * opts-global.c (handle_common_deferred_options): Do not handle
1081 * opts.c (common_handle_option): Likewise.
1082 * toplev.c (finalize): Handle it after compilation here.
1084 2020-10-06 Martin Liska <mliska@suse.cz>
1086 * dbgcnt.c (dbg_cnt): Report also upper limit.
1088 2020-10-06 Tom de Vries <tdevries@suse.de>
1090 * tracer.c (count_insns): Rename to ...
1091 (analyze_bb): ... this.
1092 (cache_can_duplicate_bb_p, cached_can_duplicate_bb_p): New function.
1093 (ignore_bb_p): Use cached_can_duplicate_bb_p.
1094 (tail_duplicate): Call cache_can_duplicate_bb_p.
1096 2020-10-06 Tom de Vries <tdevries@suse.de>
1098 * tracer.c (can_duplicate_insn_p, can_duplicate_bb_no_insn_iter_p)
1099 (can_duplicate_bb_p): New function, factored out of ...
1100 (ignore_bb_p): ... here.
1102 2020-10-06 Jakub Jelinek <jakub@redhat.com>
1104 PR rtl-optimization/97282
1105 * tree-ssa-math-opts.c (divmod_candidate_p): Don't return false for
1106 constant op2 if it is not a power of two and the type has precision
1107 larger than HOST_BITS_PER_WIDE_INT or BITS_PER_WORD.
1108 * internal-fn.c (contains_call_div_mod): New function.
1109 (expand_DIVMOD): If last argument is a constant, try to expand it as
1110 TRUNC_DIV_EXPR followed by TRUNC_MOD_EXPR, but if the sequence
1111 contains any calls or {,U}{DIV,MOD} rtxes, throw it away and use
1112 divmod optab or divmod libfunc.
1114 2020-10-06 Aldy Hernandez <aldyh@redhat.com>
1116 * value-range.h (irange_allocator::allocate): Increase
1117 newir storage by one.
1119 2020-10-06 Jakub Jelinek <jakub@redhat.com>
1122 * omp-offload.c (omp_discover_declare_target_tgt_fn_r): Only follow
1123 node->alias_target if it is a FUNCTION_DECL.
1125 2020-10-06 Joe Ramsay <joe.ramsay@arm.com>
1127 * config/arm/arm-cpus.in:
1128 (ALL_FPU_INTERNAL): Remove vfp_base.
1129 (VFPv2): Remove vfp_base.
1130 (MVE): Remove vfp_base.
1131 (vfp_base): Redefine as implied bit dependent on MVE or FP
1132 (cortex-m55): Add flags to disable MVE, MVE FP, FP and DSP extensions.
1133 * config/arm/arm.c (arm_configure_build_target): Add implied bits to ISA.
1134 * config/arm/parsecpu.awk:
1135 (gen_isa): Print implied bits and their dependencies to ISA header.
1136 (gen_data): Add parsing for implied feature bits.
1138 2020-10-06 Andreas Krebbel <krebbel@linux.ibm.com>
1140 * doc/invoke.texi: Add z15/arch13 to the list of documented
1141 -march/-mtune options.
1143 2020-10-05 Dennis Zhang <dennis.zhang@arm.com>
1145 * config/arm/arm.c (arm_preferred_simd_mode): Enable MVE SIMD modes.
1147 2020-10-05 Aldy Hernandez <aldyh@redhat.com>
1149 * value-range.cc (irange::legacy_intersect): Only handle
1151 (irange::legacy_union): Same.
1152 (irange::union_): When unioning legacy with non-legacy,
1153 first convert to legacy and do everything in legacy mode.
1154 (irange::intersect): Same, but for intersect.
1155 * range-op.cc (range_tests): Adjust for above changes.
1157 2020-10-05 Aldy Hernandez <aldyh@redhat.com>
1159 * range-op.cc (operator_div::wi_fold): Return varying for
1161 (class operator_rshift): Move class up.
1162 (operator_abs::wi_fold): Return [-MIN,-MIN] for ABS([-MIN,-MIN]).
1163 (operator_tests): Adjust tests.
1165 2020-10-05 Tom de Vries <tdevries@suse.de>
1167 * tracer.c (ignore_bb_p): Ignore GOMP_SIMT_XCHG_*.
1169 2020-10-05 Alex Coplan <alex.coplan@arm.com>
1171 * config/arm/arm-cpus.in (neoverse-v1): Add missing vendor and
1174 2020-10-05 Tom de Vries <tdevries@suse.de>
1176 * tracer.c (ignore_bb_p): Remove incorrect suggestion.
1178 2020-10-05 Jakub Jelinek <jakub@redhat.com>
1180 * opth-gen.awk: Don't emit explicit_mask array if n_target_explicit
1181 is equal to n_target_explicit_mask.
1182 * optc-save-gen.awk: Compute has_target_explicit_mask and if false,
1183 don't emit code iterating over explicit_mask array elements. Stream
1184 also explicit_mask_* target members.
1186 2020-10-05 Jakub Jelinek <jakub@redhat.com>
1188 * gimple-ssa-store-merging.c
1189 (imm_store_chain_info::output_merged_store): Use ~0U instead of ~0 in
1190 unsigned int array initializer.
1192 2020-10-05 Tom de Vries <tdevries@suse.de>
1195 * tracer.c (ignore_bb_p): Ignore GOMP_SIMT_ENTER_ALLOC,
1196 GOMP_SIMT_VOTE_ANY and GOMP_SIMT_EXIT.
1198 2020-10-03 Jakub Jelinek <jakub@redhat.com>
1200 * opth-gen.awk: For variables referenced in Mask and InverseMask,
1201 don't use the explicit_mask bitmask array, but add separate
1202 explicit_mask_* members with the same types as the variables.
1203 * optc-save-gen.awk: Save, restore, compare and hash the separate
1204 explicit_mask_* members.
1206 2020-10-03 Jan Hubicka <hubicka@ucw.cz>
1208 * ipa-modref-tree.c (test_insert_search_collapse): Update andling
1210 (test_merge): Likewise.
1211 * ipa-modref-tree.h (struct modref_access_node): Add offset, size,
1212 max_size, parm_offset and parm_offset_known.
1213 (modref_access_node::useful_p): Constify.
1214 (modref_access_node::range_info_useful_p): New predicate.
1215 (modref_access_node::operator==): New.
1216 (struct modref_parm_map): New structure.
1217 (modref_tree::merge): Update for racking parameters)
1218 * ipa-modref.c (dump_access): Dump new fields.
1219 (get_access): Fill in new fields.
1220 (merge_call_side_effects): Update handling of parm map.
1221 (write_modref_records): Stream new fields.
1222 (read_modref_records): Stream new fields.
1223 (compute_parm_map): Update for new parm map.
1224 (ipa_merge_modref_summary_after_inlining): Update.
1225 (modref_propagate_in_scc): Update.
1226 * tree-ssa-alias.c (modref_may_conflict): Handle known ranges.
1228 2020-10-03 H.J. Lu <hjl.tools@gmail.com>
1231 * doc/extend.texi: Replace roudnevenl with roundevenl
1233 2020-10-02 David Edelsohn <dje.gcc@gmail.com>
1234 Andrew MacLeod <amacleod@redhat.com>
1236 * config/rs6000/rs6000.c: Include ssa.h. Reorder some headers.
1237 * config/rs6000/rs6000-call.c: Same.
1239 2020-10-02 Martin Jambor <mjambor@suse.cz>
1241 * params.opt (ipa-cp-large-unit-insns): New parameter.
1242 * ipa-cp.c (get_max_overall_size): Use the new parameter.
1244 2020-10-02 Martin Jambor <mjambor@suse.cz>
1246 * ipa-cp.c (estimate_local_effects): Add overeall_size to dumped
1248 (decide_about_value): Add dumping new overall_size.
1250 2020-10-02 Martin Jambor <mjambor@suse.cz>
1252 * ipa-fnsummary.h (ipa_freqcounting_predicate): New type.
1253 (ipa_fn_summary): Change the type of loop_iterations and loop_strides
1254 to vectors of ipa_freqcounting_predicate.
1255 (ipa_fn_summary::ipa_fn_summary): Construct the new vectors.
1256 (ipa_call_estimates): New fields loops_with_known_iterations and
1257 loops_with_known_strides.
1258 * ipa-cp.c (hint_time_bonus): Multiply param_ipa_cp_loop_hint_bonus
1259 with the expected frequencies of loops with known iteration count or
1261 * ipa-fnsummary.c (add_freqcounting_predicate): New function.
1262 (ipa_fn_summary::~ipa_fn_summary): Release the new vectors instead of
1263 just two predicates.
1264 (remap_hint_predicate_after_duplication): Replace with function
1265 remap_freqcounting_preds_after_dup.
1266 (ipa_fn_summary_t::duplicate): Use it or duplicate new vectors.
1267 (ipa_dump_fn_summary): Dump the new vectors.
1268 (analyze_function_body): Compute the loop property vectors.
1269 (ipa_call_context::estimate_size_and_time): Calculate also
1270 loops_with_known_iterations and loops_with_known_strides. Adjusted
1272 (remap_hint_predicate): Replace with function
1273 remap_freqcounting_predicate.
1274 (ipa_merge_fn_summary_after_inlining): Use it.
1275 (inline_read_section): Stream loopcounting vectors instead of two
1277 (ipa_fn_summary_write): Likewise.
1278 * params.opt (ipa-max-loop-predicates): New parameter.
1279 * doc/invoke.texi (ipa-max-loop-predicates): Document new param.
1281 2020-10-02 Martin Jambor <mjambor@suse.cz>
1283 * ipa-inline-analysis.c (do_estimate_edge_time): Adjusted to use
1285 (do_estimate_edge_size): Likewise.
1286 (do_estimate_edge_hints): Likewise.
1287 * ipa-fnsummary.h (struct ipa_call_estimates): New type.
1288 (ipa_call_context::estimate_size_and_time): Adjusted declaration.
1289 (estimate_ipcp_clone_size_and_time): Likewise.
1290 * ipa-cp.c (hint_time_bonus): Changed the type of the second argument
1291 to ipa_call_estimates.
1292 (perform_estimation_of_a_value): Adjusted to use ipa_call_estimates.
1293 (estimate_local_effects): Likewise.
1294 * ipa-fnsummary.c (ipa_call_context::estimate_size_and_time): Adjusted
1295 to return estimates in a single ipa_call_estimates parameter.
1296 (estimate_ipcp_clone_size_and_time): Likewise.
1298 2020-10-02 Martin Jambor <mjambor@suse.cz>
1300 * ipa-fnsummary.h (ipa_cached_call_context): New forward declaration
1302 (class ipa_call_context): Make friend ipa_cached_call_context. Moved
1303 methods duplicate_from and release to it too.
1304 * ipa-fnsummary.c (ipa_call_context::duplicate_from): Moved to class
1305 ipa_cached_call_context.
1306 (ipa_call_context::release): Likewise, removed the parameter.
1307 * ipa-inline-analysis.c (node_context_cache_entry): Change the type of
1308 ctx to ipa_cached_call_context.
1309 (do_estimate_edge_time): Remove parameter from the call to
1310 ipa_cached_call_context::release.
1312 2020-10-02 Martin Jambor <mjambor@suse.cz>
1314 * ipa-prop.h (ipa_auto_call_arg_values): New type.
1315 (class ipa_call_arg_values): Likewise.
1316 (ipa_get_indirect_edge_target): Replaced vector arguments with
1317 ipa_call_arg_values in declaration. Added an overload for
1318 ipa_auto_call_arg_values.
1319 * ipa-fnsummary.h (ipa_call_context): Removed members m_known_vals,
1320 m_known_contexts, m_known_aggs, duplicate_from, release and equal_to,
1321 new members m_avals, store_to_cache and equivalent_to_p. Adjusted
1322 construcotr arguments.
1323 (estimate_ipcp_clone_size_and_time): Replaced vector arguments
1324 with ipa_auto_call_arg_values in declaration.
1325 (evaluate_properties_for_edge): Likewise.
1326 * ipa-cp.c (ipa_get_indirect_edge_target): Adjusted to work on
1327 ipa_call_arg_values rather than on separate vectors. Added an
1328 overload for ipa_auto_call_arg_values.
1329 (devirtualization_time_bonus): Adjusted to work on
1330 ipa_auto_call_arg_values rather than on separate vectors.
1331 (gather_context_independent_values): Adjusted to work on
1332 ipa_auto_call_arg_values rather than on separate vectors.
1333 (perform_estimation_of_a_value): Likewise.
1334 (estimate_local_effects): Likewise.
1335 (modify_known_vectors_with_val): Adjusted both variants to work on
1336 ipa_auto_call_arg_values and rename them to
1337 copy_known_vectors_add_val.
1338 (decide_about_value): Adjusted to work on ipa_call_arg_values rather
1339 than on separate vectors.
1340 (decide_whether_version_node): Likewise.
1341 * ipa-fnsummary.c (evaluate_conditions_for_known_args): Likewise.
1342 (evaluate_properties_for_edge): Likewise.
1343 (ipa_fn_summary_t::duplicate): Likewise.
1344 (estimate_edge_devirt_benefit): Adjusted to work on
1345 ipa_call_arg_values rather than on separate vectors.
1346 (estimate_edge_size_and_time): Likewise.
1347 (estimate_calls_size_and_time_1): Likewise.
1348 (summarize_calls_size_and_time): Adjusted calls to
1349 estimate_edge_size_and_time.
1350 (estimate_calls_size_and_time): Adjusted to work on
1351 ipa_call_arg_values rather than on separate vectors.
1352 (ipa_call_context::ipa_call_context): Construct from a pointer to
1353 ipa_auto_call_arg_values instead of inividual vectors.
1354 (ipa_call_context::duplicate_from): Adjusted to access vectors within
1356 (ipa_call_context::release): Likewise.
1357 (ipa_call_context::equal_to): Likewise.
1358 (ipa_call_context::estimate_size_and_time): Adjusted to work on
1359 ipa_call_arg_values rather than on separate vectors.
1360 (estimate_ipcp_clone_size_and_time): Adjusted to work with
1361 ipa_auto_call_arg_values rather than on separate vectors.
1362 (ipa_merge_fn_summary_after_inlining): Likewise. Adjusted call to
1363 estimate_edge_size_and_time.
1364 (ipa_update_overall_fn_summary): Adjusted call to
1365 estimate_edge_size_and_time.
1366 * ipa-inline-analysis.c (do_estimate_edge_time): Adjusted to work with
1367 ipa_auto_call_arg_values rather than with separate vectors.
1368 (do_estimate_edge_size): Likewise.
1369 (do_estimate_edge_hints): Likewise.
1370 * ipa-prop.c (ipa_auto_call_arg_values::~ipa_auto_call_arg_values):
1373 2020-10-02 Joe Ramsay <joe.ramsay@arm.com>
1375 * config/arm/arm_mve.h (__arm_vmaxnmavq): Remove coercion of scalar
1377 (__arm_vmaxnmvq): Likewise.
1378 (__arm_vminnmavq): Likewise.
1379 (__arm_vminnmvq): Likewise.
1380 (__arm_vmaxnmavq_p): Likewise.
1381 (__arm_vmaxnmvq_p): Likewise (and delete duplicate definition).
1382 (__arm_vminnmavq_p): Likewise.
1383 (__arm_vminnmvq_p): Likewise.
1384 (__arm_vmaxavq): Likewise.
1385 (__arm_vmaxavq_p): Likewise.
1386 (__arm_vmaxvq): Likewise.
1387 (__arm_vmaxvq_p): Likewise.
1388 (__arm_vminavq): Likewise.
1389 (__arm_vminavq_p): Likewise.
1390 (__arm_vminvq): Likewise.
1391 (__arm_vminvq_p): Likewise.
1393 2020-10-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1395 * config/aarch64/aarch64.c (neoversev1_tunings): Define.
1396 * config/aarch64/aarch64-cores.def (zeus): Use it.
1397 (neoverse-v1): Likewise.
1399 2020-10-02 Jan Hubicka <hubicka@ucw.cz>
1401 * attr-fnspec.h: Update documentation.
1402 (attr_fnsec::return_desc_size): Set to 2
1403 (attr_fnsec::arg_desc_size): Set to 2
1404 * builtin-attrs.def (STR1): Update fnspec.
1405 * internal-fn.def (UBSAN_NULL): Update fnspec.
1406 (UBSAN_VPTR): Update fnspec.
1407 (UBSAN_PTR): Update fnspec.
1408 (ASAN_CHECK): Update fnspec.
1409 (GOACC_DIM_SIZE): Remove fnspec.
1410 (GOACC_DIM_POS): Remove fnspec.
1411 * tree-ssa-alias.c (attr_fnspec::verify): Update verification.
1413 2020-10-02 Jan Hubicka <jh@suse.cz>
1415 * attr-fnspec.h: New file.
1416 * calls.c (decl_return_flags): Use attr_fnspec.
1417 * gimple.c (gimple_call_arg_flags): Use attr_fnspec.
1418 (gimple_call_return_flags): Use attr_fnspec.
1419 * tree-into-ssa.c (pass_build_ssa::execute): Use attr_fnspec.
1420 * tree-ssa-alias.c (attr_fnspec::verify): New member fuction.
1422 2020-10-02 Jan Hubicka <jh@suse.cz>
1424 * tree-ssa-alias.c (ao_ref_init_from_ptr_and_range): Break out from ...
1425 (ao_ref_init_from_ptr_and_size): ... here.
1427 2020-10-02 Jan Hubicka <hubicka@ucw.cz>
1429 * data-streamer-in.c (streamer_read_poly_int64): New function.
1430 * data-streamer-out.c (streamer_write_poly_int64): New function.
1431 * data-streamer.h (streamer_write_poly_int64): Declare.
1432 (streamer_read_poly_int64): Declare.
1434 2020-10-02 Richard Sandiford <richard.sandiford@arm.com>
1436 * config/aarch64/aarch64-protos.h (aarch64_sve_pred_dominates_p):
1438 * config/aarch64/aarch64.c (aarch64_sve_pred_dominates_p): Likewise.
1439 * config/aarch64/aarch64-sve.md: Add banner comment describing
1440 how merging predicated FP operations are represented.
1441 (*cond_<SVE_COND_FP_UNARY:optab><mode>_2): Split into...
1442 (*cond_<SVE_COND_FP_UNARY:optab><mode>_2_relaxed): ...this and...
1443 (*cond_<SVE_COND_FP_UNARY:optab><mode>_2_strict): ...this.
1444 (*cond_<SVE_COND_FP_UNARY:optab><mode>_any): Split into...
1445 (*cond_<SVE_COND_FP_UNARY:optab><mode>_any_relaxed): ...this and...
1446 (*cond_<SVE_COND_FP_UNARY:optab><mode>_any_strict): ...this.
1447 (*cond_<SVE_COND_FP_BINARY_INT:optab><mode>_2): Split into...
1448 (*cond_<SVE_COND_FP_BINARY_INT:optab><mode>_2_relaxed): ...this and...
1449 (*cond_<SVE_COND_FP_BINARY_INT:optab><mode>_2_strict): ...this.
1450 (*cond_<SVE_COND_FP_BINARY_INT:optab><mode>_any): Split into...
1451 (*cond_<SVE_COND_FP_BINARY_INT:optab><mode>_any_relaxed): ...this
1453 (*cond_<SVE_COND_FP_BINARY_INT:optab><mode>_any_strict): ...this.
1454 (*cond_<SVE_COND_FP_BINARY:optab><mode>_2): Split into...
1455 (*cond_<SVE_COND_FP_BINARY:optab><mode>_2_relaxed): ...this and...
1456 (*cond_<SVE_COND_FP_BINARY:optab><mode>_2_strict): ...this.
1457 (*cond_<SVE_COND_FP_BINARY_I1:optab><mode>_2_const): Split into...
1458 (*cond_<SVE_COND_FP_BINARY_I1:optab><mode>_2_const_relaxed): ...this
1460 (*cond_<SVE_COND_FP_BINARY_I1:optab><mode>_2_const_strict): ...this.
1461 (*cond_<SVE_COND_FP_BINARY:optab><mode>_3): Split into...
1462 (*cond_<SVE_COND_FP_BINARY:optab><mode>_3_relaxed): ...this and...
1463 (*cond_<SVE_COND_FP_BINARY:optab><mode>_3_strict): ...this.
1464 (*cond_<SVE_COND_FP_BINARY:optab><mode>_any): Split into...
1465 (*cond_<SVE_COND_FP_BINARY:optab><mode>_any_relaxed): ...this and...
1466 (*cond_<SVE_COND_FP_BINARY:optab><mode>_any_strict): ...this.
1467 (*cond_<SVE_COND_FP_BINARY_I1:optab><mode>_any_const): Split into...
1468 (*cond_<SVE_COND_FP_BINARY_I1:optab><mode>_any_const_relaxed): ...this
1470 (*cond_<SVE_COND_FP_BINARY_I1:optab><mode>_any_const_strict): ...this.
1471 (*cond_add<mode>_2_const): Split into...
1472 (*cond_add<mode>_2_const_relaxed): ...this and...
1473 (*cond_add<mode>_2_const_strict): ...this.
1474 (*cond_add<mode>_any_const): Split into...
1475 (*cond_add<mode>_any_const_relaxed): ...this and...
1476 (*cond_add<mode>_any_const_strict): ...this.
1477 (*cond_<SVE_COND_FCADD:optab><mode>_2): Split into...
1478 (*cond_<SVE_COND_FCADD:optab><mode>_2_relaxed): ...this and...
1479 (*cond_<SVE_COND_FCADD:optab><mode>_2_strict): ...this.
1480 (*cond_<SVE_COND_FCADD:optab><mode>_any): Split into...
1481 (*cond_<SVE_COND_FCADD:optab><mode>_any_relaxed): ...this and...
1482 (*cond_<SVE_COND_FCADD:optab><mode>_any_strict): ...this.
1483 (*cond_sub<mode>_3_const): Split into...
1484 (*cond_sub<mode>_3_const_relaxed): ...this and...
1485 (*cond_sub<mode>_3_const_strict): ...this.
1486 (*aarch64_pred_abd<mode>): Split into...
1487 (*aarch64_pred_abd<mode>_relaxed): ...this and...
1488 (*aarch64_pred_abd<mode>_strict): ...this.
1489 (*aarch64_cond_abd<mode>_2): Split into...
1490 (*aarch64_cond_abd<mode>_2_relaxed): ...this and...
1491 (*aarch64_cond_abd<mode>_2_strict): ...this.
1492 (*aarch64_cond_abd<mode>_3): Split into...
1493 (*aarch64_cond_abd<mode>_3_relaxed): ...this and...
1494 (*aarch64_cond_abd<mode>_3_strict): ...this.
1495 (*aarch64_cond_abd<mode>_any): Split into...
1496 (*aarch64_cond_abd<mode>_any_relaxed): ...this and...
1497 (*aarch64_cond_abd<mode>_any_strict): ...this.
1498 (*cond_<SVE_COND_FP_TERNARY:optab><mode>_2): Split into...
1499 (*cond_<SVE_COND_FP_TERNARY:optab><mode>_2_relaxed): ...this and...
1500 (*cond_<SVE_COND_FP_TERNARY:optab><mode>_2_strict): ...this.
1501 (*cond_<SVE_COND_FP_TERNARY:optab><mode>_4): Split into...
1502 (*cond_<SVE_COND_FP_TERNARY:optab><mode>_4_relaxed): ...this and...
1503 (*cond_<SVE_COND_FP_TERNARY:optab><mode>_4_strict): ...this.
1504 (*cond_<SVE_COND_FP_TERNARY:optab><mode>_any): Split into...
1505 (*cond_<SVE_COND_FP_TERNARY:optab><mode>_any_relaxed): ...this and...
1506 (*cond_<SVE_COND_FP_TERNARY:optab><mode>_any_strict): ...this.
1507 (*cond_<SVE_COND_FCMLA:optab><mode>_4): Split into...
1508 (*cond_<SVE_COND_FCMLA:optab><mode>_4_relaxed): ...this and...
1509 (*cond_<SVE_COND_FCMLA:optab><mode>_4_strict): ...this.
1510 (*cond_<SVE_COND_FCMLA:optab><mode>_any): Split into...
1511 (*cond_<SVE_COND_FCMLA:optab><mode>_any_relaxed): ...this and...
1512 (*cond_<SVE_COND_FCMLA:optab><mode>_any_strict): ...this.
1513 (*aarch64_pred_fac<cmp_op><mode>): Split into...
1514 (*aarch64_pred_fac<cmp_op><mode>_relaxed): ...this and...
1515 (*aarch64_pred_fac<cmp_op><mode>_strict): ...this.
1516 (*cond_<optab>_nontrunc<SVE_FULL_F:mode><SVE_FULL_HSDI:mode>): Split
1518 (*cond_<optab>_nontrunc<SVE_FULL_F:mode><SVE_FULL_HSDI:mode>_relaxed):
1520 (*cond_<optab>_nontrunc<SVE_FULL_F:mode><SVE_FULL_HSDI:mode>_strict):
1522 (*cond_<optab>_nonextend<SVE_FULL_HSDI:mode><SVE_FULL_F:mode>): Split
1524 (*cond_<optab>_nonextend<SVE_FULL_HSDI:mode><SVE_FULL_F:mode>_relaxed):
1526 (*cond_<optab>_nonextend<SVE_FULL_HSDI:mode><SVE_FULL_F:mode>_strict):
1528 * config/aarch64/aarch64-sve2.md
1529 (*cond_<SVE2_COND_FP_UNARY_LONG:optab><mode>): Split into...
1530 (*cond_<SVE2_COND_FP_UNARY_LONG:optab><mode>_relaxed): ...this and...
1531 (*cond_<SVE2_COND_FP_UNARY_LONG:optab><mode>_strict): ...this.
1532 (*cond_<SVE2_COND_FP_UNARY_NARROWB:optab><mode>_any): Split into...
1533 (*cond_<SVE2_COND_FP_UNARY_NARROWB:optab><mode>_any_relaxed): ...this
1535 (*cond_<SVE2_COND_FP_UNARY_NARROWB:optab><mode>_any_strict): ...this.
1536 (*cond_<SVE2_COND_INT_UNARY_FP:optab><mode>): Split into...
1537 (*cond_<SVE2_COND_INT_UNARY_FP:optab><mode>_relaxed): ...this and...
1538 (*cond_<SVE2_COND_INT_UNARY_FP:optab><mode>_strict): ...this.
1540 2020-10-02 Richard Sandiford <richard.sandiford@arm.com>
1542 * config/arm/neon.md (*sub<VDQ:mode>3_neon): Use the new mode macros
1543 for the insn condition.
1544 (sub<VH:mode>3, *mul<VDQW:mode>3_neon): Likewise.
1545 (mul<VDQW:mode>3add<VDQW:mode>_neon): Likewise.
1546 (mul<VH:mode>3add<VH:mode>_neon): Likewise.
1547 (mul<VDQW:mode>3neg<VDQW:mode>add<VDQW:mode>_neon): Likewise.
1548 (fma<VCVTF:mode>4, fma<VH:mode>4, *fmsub<VCVTF:mode>4): Likewise.
1549 (quad_halves_<code>v4sf, reduc_plus_scal_<VD:mode>): Likewise.
1550 (reduc_plus_scal_<VQ:mode>, reduc_smin_scal_<VD:mode>): Likewise.
1551 (reduc_smin_scal_<VQ:mode>, reduc_smax_scal_<VD:mode>): Likewise.
1552 (reduc_smax_scal_<VQ:mode>, mul<VH:mode>3): Likewise.
1553 (neon_vabd<VF:mode>_2, neon_vabd<VF:mode>_3): Likewise.
1554 (fma<VH:mode>4_intrinsic): Delete.
1555 (neon_vadd<VCVTF:mode>): Use the new mode macros to decide which
1556 form of instruction to generate.
1557 (neon_vmla<VDQW:mode>, neon_vmls<VDQW:mode>): Likewise.
1558 (neon_vsub<VCVTF:mode>): Likewise.
1559 (neon_vfma<VH:mode>): Generate the main fma<mode>4 form instead
1560 of using fma<mode>4_intrinsic.
1562 2020-10-02 Martin Liska <mliska@suse.cz>
1564 PR gcov-profile/97193
1565 * coverage.c (coverage_init): GCDA note files should not be
1566 mangled and should end in output directory.
1568 2020-10-02 Jason Merril <jason@redhat.com>
1570 * gimple.h (gimple_call_operator_delete_p): Rename from
1571 gimple_call_replaceable_operator_delete_p.
1572 * gimple.c (gimple_call_operator_delete_p): Likewise.
1573 * tree.h (DECL_IS_REPLACEABLE_OPERATOR_DELETE_P): Remove.
1574 * tree-ssa-dce.c (mark_all_reaching_defs_necessary_1): Adjust.
1575 (propagate_necessity): Likewise.
1576 (eliminate_unnecessary_stmts): Likewise.
1577 * tree-ssa-structalias.c (find_func_aliases_for_call): Likewise.
1579 2020-10-02 Richard Biener <rguenther@suse.de>
1581 * gimple.h (GF_CALL_FROM_NEW_OR_DELETE): New call flag.
1582 (gimple_call_set_from_new_or_delete): New.
1583 (gimple_call_from_new_or_delete): Likewise.
1584 * gimple.c (gimple_build_call_from_tree): Set
1585 GF_CALL_FROM_NEW_OR_DELETE appropriately.
1586 * ipa-icf-gimple.c (func_checker::compare_gimple_call):
1587 Compare gimple_call_from_new_or_delete.
1588 * tree-ssa-dce.c (mark_all_reaching_defs_necessary_1): Make
1589 sure to only consider new/delete calls from new or delete
1591 (propagate_necessity): Likewise.
1592 (eliminate_unnecessary_stmts): Likewise.
1593 * tree-ssa-structalias.c (find_func_aliases_for_call):
1596 2020-10-02 Jason Merril <jason@redhat.com>
1598 * tree.h (CALL_FROM_NEW_OR_DELETE_P): Move from cp-tree.h.
1599 * tree-core.h: Document new usage of protected_flag.
1601 2020-10-02 Aldy Hernandez <aldyh@redhat.com>
1603 * value-range.h (irange::fits_p): New.
1605 2020-10-01 Alan Modra <amodra@gmail.com>
1607 * config/rs6000/rs6000.c (rs6000_legitimize_address): Use
1608 gen_int_mode for high part of address constant.
1610 2020-10-01 Alan Modra <amodra@gmail.com>
1612 * config/rs6000/rs6000.c (rs6000_linux64_override_options):
1613 Formatting. Correct setting of TARGET_NO_FP_IN_TOC and
1614 TARGET_NO_SUM_IN_TOC.
1616 2020-10-01 Alan Modra <amodra@gmail.com>
1618 * config/rs6000/freebsd64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use
1619 rs6000_linux64_override_options.
1620 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Break
1622 * config/rs6000/rs6000.c (rs6000_linux64_override_options): ..this,
1623 new function. Tweak non-biarch test and clearing of
1624 profile_kernel to work with freebsd64.h.
1626 2020-10-01 Martin Liska <mliska@suse.cz>
1628 * config/rs6000/rs6000-call.c: Include value-range.h.
1629 * config/rs6000/rs6000.c: Likewise.
1631 2020-10-01 Tom de Vries <tdevries@suse.de>
1634 * config/nvptx/nvptx.md (define_insn "truncsi<QHIM>2"): Emit mov.u32
1635 instead of cvt.u32.u32.
1637 2020-10-01 Richard Sandiford <richard.sandiford@arm.com>
1641 * config/arm/arm-protos.h (arm_expand_vector_compare): Declare.
1642 (arm_expand_vcond): Likewise.
1643 * config/arm/arm.c (arm_expand_vector_compare): New function.
1644 (arm_expand_vcond): Likewise.
1645 * config/arm/neon.md (vec_cmp<VDQW:mode><v_cmp_result>): New pattern.
1646 (vec_cmpu<VDQW:mode><VDQW:mode>): Likewise.
1647 (vcond<VDQW:mode><VDQW:mode>): Require operand 5 to be a register
1648 or zero. Use arm_expand_vcond.
1649 (vcond<V_cvtto><V32:mode>): New pattern.
1650 (vcondu<VDQIW:mode><VDQIW:mode>): Generalize to...
1651 (vcondu<VDQW:mode><v_cmp_result): ...this. Require operand 5
1652 to be a register or zero. Use arm_expand_vcond.
1653 (vcond_mask_<VDQW:mode><v_cmp_result>): New pattern.
1654 (neon_vc<cmp_op><mode>, neon_vc<cmp_op><mode>_insn): Add "@" marker.
1655 (neon_vbsl<mode>): Likewise.
1656 (neon_vc<cmp_op>u<mode>): Reexpress as...
1657 (@neon_vc<code><mode>): ...this.
1659 2020-10-01 Michael Davidsaver <mdavidsaver@gmail.com>
1661 * config/i386/t-rtems: Change from mtune to march when building
1662 multilibs. The mtune argument tunes or optimizes for a specific
1663 CPU model but does not ensure the generated code is appropriate
1664 for the CPU model. Prior to this patch, i386 compatible code
1665 was always generated but tuned for later models.
1667 2020-10-01 Aldy Hernandez <aldyh@redhat.com>
1669 * builtins.c (compute_objsize): Replace vr_values with range_query.
1671 (gimple_call_alloc_size): Same.
1672 * builtins.h (class vr_values): Remove.
1673 (gimple_call_alloc_size): Replace vr_values with range_query.
1674 * gimple-ssa-sprintf.c (get_int_range): Same.
1675 (struct directive): Pass gimple context to fmtfunc callback.
1676 (directive::set_width): Replace inline with out-of-line version.
1677 (directive::set_precision): Same.
1678 (format_none): New gimple argument.
1679 (format_percent): New gimple argument.
1680 (format_integer): New gimple argument.
1681 (format_floating): New gimple argument.
1682 (get_string_length): Use range_query API.
1683 (format_character): New gimple argument.
1684 (format_string): New gimple argument.
1685 (format_plain): New gimple argument.
1686 (format_directive): New gimple argument.
1687 (parse_directive): Replace vr_values with range_query.
1688 (compute_format_length): Same.
1689 (handle_printf_call): Same. Adjust for range_query API.
1690 * tree-ssa-strlen.c (get_range): Same.
1691 (compare_nonzero_chars): Same.
1692 (get_addr_stridx) Replace vr_values with range_query.
1694 (dump_strlen_info): Same.
1695 (get_range_strlen_dynamic): Adjust for range_query API.
1696 (set_strlen_range): Same
1697 (maybe_warn_overflow): Replace vr_values with range_query.
1698 (handle_builtin_strcpy): Same.
1699 (maybe_diag_stxncpy_trunc): Add FIXME comment.
1700 (handle_builtin_memcpy): Replace vr_values with range_query.
1701 (handle_builtin_memset): Same.
1702 (get_len_or_size): Same.
1703 (strxcmp_eqz_result): Same.
1704 (handle_builtin_string_cmp): Same.
1705 (count_nonzero_bytes_addr): Same, plus adjust for range_query API.
1706 (count_nonzero_bytes): Replace vr_values with range_query.
1707 (handle_store): Same.
1708 (strlen_check_and_optimize_call): Same.
1709 (handle_integral_assign): Same.
1710 (check_and_optimize_stmt): Same.
1711 * tree-ssa-strlen.h (class vr_values): Remove.
1712 (get_range): Replace vr_values with range_query.
1713 (get_range_strlen_dynamic): Same.
1714 (handle_printf_call): Same.
1716 2020-10-01 Aldy Hernandez <aldyh@redhat.com>
1718 * gimple-loop-versioning.cc (lv_dom_walker::before_dom_children):
1719 Pass m_range_analyzer instead of get_vr_values.
1720 (loop_versioning::name_prop::get_value): Rename to...
1721 (loop_versioning::name_prop::value_of_expr): ...this.
1722 * gimple-ssa-evrp-analyze.c (evrp_range_analyzer::evrp_range_analyzer):
1723 Adjust for evrp_range_analyzer
1724 inheriting from vr_values.
1725 (evrp_range_analyzer::try_find_new_range): Same.
1726 (evrp_range_analyzer::record_ranges_from_incoming_edge): Same.
1727 (evrp_range_analyzer::record_ranges_from_phis): Same.
1728 (evrp_range_analyzer::record_ranges_from_stmt): Same.
1729 (evrp_range_analyzer::push_value_range): Same.
1730 (evrp_range_analyzer::pop_value_range): Same.
1731 * gimple-ssa-evrp-analyze.h (class evrp_range_analyzer): Inherit from
1732 vr_values. Adjust accordingly.
1733 * gimple-ssa-evrp.c: Adjust for evrp_range_analyzer inheriting from
1735 (evrp_folder::value_of_evrp): Rename from get_value.
1736 * tree-ssa-ccp.c (class ccp_folder): Rename get_value to
1738 (ccp_folder::get_value): Rename to...
1739 (ccp_folder::value_of_expr): ...this.
1740 * tree-ssa-copy.c (class copy_folder): Rename get_value to
1742 (copy_folder::get_value): Rename to...
1743 (copy_folder::value_of_expr): ...this.
1744 * tree-ssa-dom.c (dom_opt_dom_walker::after_dom_children): Adjust
1745 for evrp_range_analyzer inheriting from vr_values.
1746 (dom_opt_dom_walker::optimize_stmt): Same.
1747 * tree-ssa-propagate.c (substitute_and_fold_engine::replace_uses_in):
1748 Call value_of_* instead of get_value.
1749 (substitute_and_fold_engine::replace_phi_args_in): Same.
1750 (substitute_and_fold_engine::propagate_into_phi_args): Same.
1751 (substitute_and_fold_dom_walker::before_dom_children): Same.
1752 * tree-ssa-propagate.h: Include value-query.h.
1753 (class substitute_and_fold_engine): Inherit from value_query.
1754 * tree-ssa-strlen.c (strlen_dom_walker::before_dom_children):
1755 Adjust for evrp_range_analyzer inheriting from vr_values.
1756 * tree-ssa-threadedge.c (record_temporary_equivalences_from_phis):
1758 * tree-vrp.c (class vrp_folder): Same.
1759 (vrp_folder::get_value): Rename to value_of_expr.
1760 * vr-values.c (vr_values::get_lattice_entry): Adjust for
1761 vr_values inheriting from range_query.
1762 (vr_values::range_of_expr): New.
1763 (vr_values::value_of_expr): New.
1764 (vr_values::value_on_edge): New.
1765 (vr_values::value_of_stmt): New.
1766 (simplify_using_ranges::op_with_boolean_value_range_p): Call
1767 get_value_range through query.
1768 (check_for_binary_op_overflow): Rename store to query.
1769 (vr_values::vr_values): Remove vrp_value_range_pool.
1770 (vr_values::~vr_values): Same.
1771 (simplify_using_ranges::get_vr_for_comparison): Call get_value_range
1773 (simplify_using_ranges::compare_names): Same.
1774 (simplify_using_ranges::vrp_evaluate_conditional): Same.
1775 (simplify_using_ranges::vrp_visit_cond_stmt): Same.
1776 (simplify_using_ranges::simplify_abs_using_ranges): Same.
1777 (simplify_using_ranges::simplify_cond_using_ranges_1): Same.
1778 (simplify_cond_using_ranges_2): Same.
1779 (simplify_using_ranges::simplify_switch_using_ranges): Same.
1780 (simplify_using_ranges::two_valued_val_range_p): Same.
1781 (simplify_using_ranges::simplify_using_ranges): Rename store to query.
1782 (simplify_using_ranges::simplify): Assert that we have a query.
1783 * vr-values.h (class range_query): Remove.
1784 (class simplify_using_ranges): Remove inheritance of range_query.
1785 (class vr_values): Add virtuals for range_of_expr, value_of_expr,
1786 value_on_edge, value_of_stmt, and get_value_range.
1787 Call range_query allocator instead of using vrp_value_range_pool.
1788 Remove vrp_value_range_pool.
1789 (simplify_using_ranges::get_value_range): Remove.
1791 2020-10-01 Richard Biener <rguenther@suse.de>
1793 PR tree-optimization/97236
1794 * tree-vect-stmts.c (get_group_load_store_type): Keep
1795 VMAT_ELEMENTWISE for single-element vectors.
1797 2020-10-01 Jan Hubicka <jh@suse.cz>
1799 * ipa-modref.c (compute_parm_map): Be ready for callee_pi to be NULL.
1801 2020-10-01 Jan Hubicka <jh@suse.cz>
1804 * ipa-fnsummary.c (pass_free_fnsummary::execute): Free
1805 also indirect inlining datastructure.
1806 * ipa-modref.c (pass_ipa_modref::execute): Do not free them here.
1807 * ipa-prop.c (ipa_free_all_node_params): Do not crash when info does
1809 (ipa_unregister_cgraph_hooks): Likewise.
1811 2020-10-01 Jan Hubicka <jh@suse.cz>
1813 * internal-fn.c (DEF_INTERNAL_FN): Fix handling of fnspec
1815 2020-10-01 Aldy Hernandez <aldyh@redhat.com>
1817 * Makefile.in: Add value-query.o.
1818 * value-query.cc: New file.
1819 * value-query.h: New file.
1821 2020-10-01 Alex Coplan <alex.coplan@arm.com>
1823 * config/arm/arm-cpus.in: Fix ordering, move Neoverse N2 down.
1824 * config/arm/arm-tables.opt: Regenerate.
1825 * config/arm/arm-tune.md: Regenerate.
1827 2020-10-01 Jakub Jelinek <jakub@redhat.com>
1829 * config/s390/s390.c (s390_atomic_assign_expand_fenv): Use
1830 TARGET_EXPR instead of MODIFY_EXPR for the first assignments to
1831 fenv_var and old_fpc. Formatting fixes.
1833 2020-10-01 Richard Biener <rguenther@suse.de>
1835 * tree-vect-patterns.c (vect_recog_bool_pattern): Also handle
1838 2020-10-01 Florian Weimer <fweimer@redhat.com>
1841 * config/i386/i386.h (PTA_NO_TUNE, PTA_X86_64_BASELINE)
1842 (PTA_X86_64_V2, PTA_X86_64_V3, PTA_X86_64_V4): New.
1843 * common/config/i386/i386-common.c (processor_alias_table):
1844 Add "x86-64-v2", "x86-64-v3", "x86-64-v4".
1845 * config/i386/i386-options.c (ix86_option_override_internal):
1846 Handle new PTA_NO_TUNE processor table entries.
1847 * doc/invoke.texi (x86 Options): Document new -march values.
1849 2020-10-01 Alan Modra <amodra@gmail.com>
1851 * config/rs6000/ppc-asm.h: Support __PCREL__ code.
1853 2020-10-01 Alan Modra <amodra@gmail.com>
1855 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Don't
1856 set -mcmodel=small for -mno-minimal-toc when pcrel.
1858 2020-09-30 Martin Sebor <msebor@redhat.com>
1861 * attribs.c (attr_access::array_as_string): Avoid assuming a VLA
1862 access specification string contains a closing bracket.
1864 2020-09-30 Martin Sebor <msebor@redhat.com>
1867 * attribs.c (attr_access::array_as_string): Avoid modifying a shared
1868 type in place and use build_type_attribute_qual_variant instead.
1870 2020-09-30 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
1872 * config/arm/arm-cpus.in: Add Cortex-A78 and Cortex-A78AE cores.
1873 * config/arm/arm-tables.opt: Regenerate.
1874 * config/arm/arm-tune.md: Regenerate.
1875 * doc/invoke.texi: Update docs.
1877 2020-09-30 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
1879 * config/aarch64/aarch64-cores.def: Add Cortex-A78 and Cortex-A78AE cores.
1880 * config/aarch64/aarch64-tune.md: Regenerate.
1881 * doc/invoke.texi: Add -mtune=cortex-a78 and -mtune=cortex-a78ae.
1883 2020-09-30 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1886 * config/arm/arm_mve.h (__ARM_mve_coerce2): Define.
1887 (__arm_vaddq): Correct the scalar argument.
1888 (__arm_vaddq_m): Likewise.
1889 (__arm_vaddq_x): Likewise.
1890 (__arm_vcmpeqq_m): Likewise.
1891 (__arm_vcmpeqq): Likewise.
1892 (__arm_vcmpgeq_m): Likewise.
1893 (__arm_vcmpgeq): Likewise.
1894 (__arm_vcmpgtq_m): Likewise.
1895 (__arm_vcmpgtq): Likewise.
1896 (__arm_vcmpleq_m): Likewise.
1897 (__arm_vcmpleq): Likewise.
1898 (__arm_vcmpltq_m): Likewise.
1899 (__arm_vcmpltq): Likewise.
1900 (__arm_vcmpneq_m): Likewise.
1901 (__arm_vcmpneq): Likewise.
1902 (__arm_vfmaq_m): Likewise.
1903 (__arm_vfmaq): Likewise.
1904 (__arm_vfmasq_m): Likewise.
1905 (__arm_vfmasq): Likewise.
1906 (__arm_vmaxnmavq): Likewise.
1907 (__arm_vmaxnmavq_p): Likewise.
1908 (__arm_vmaxnmvq): Likewise.
1909 (__arm_vmaxnmvq_p): Likewise.
1910 (__arm_vminnmavq): Likewise.
1911 (__arm_vminnmavq_p): Likewise.
1912 (__arm_vminnmvq): Likewise.
1913 (__arm_vminnmvq_p): Likewise.
1914 (__arm_vmulq_m): Likewise.
1915 (__arm_vmulq): Likewise.
1916 (__arm_vmulq_x): Likewise.
1917 (__arm_vsetq_lane): Likewise.
1918 (__arm_vsubq_m): Likewise.
1919 (__arm_vsubq): Likewise.
1920 (__arm_vsubq_x): Likewise.
1922 2020-09-30 Joel Hutton <joel.hutton@arm.com>
1925 * tree-vect-slp.c (vect_analyze_slp): Do not call
1926 vect_attempt_slp_rearrange_stmts for vector constructors.
1928 2020-09-30 Tamar Christina <tamar.christina@arm.com>
1930 * tree-vectorizer.h (SLP_TREE_REF_COUNT): New.
1931 * tree-vect-slp.c (_slp_tree::_slp_tree, _slp_tree::~_slp_tree,
1932 vect_free_slp_tree, vect_build_slp_tree, vect_print_slp_tree,
1933 slp_copy_subtree, vect_attempt_slp_rearrange_stmts): Use it.
1935 2020-09-30 Tobias Burnus <tobias@codesourcery.com>
1937 * omp-offload.c (omp_discover_implicit_declare_target): Also
1938 handled nested functions.
1940 2020-09-30 Tobias Burnus <tobias@codesourcery.com>
1941 Tom de Vries <tdevries@suse.de>
1943 * builtins.c (expand_builtin_cexpi, fold_builtin_sincos): Update
1944 targetm.libc_has_function call.
1945 * builtins.def (DEF_C94_BUILTIN, DEF_C99_BUILTIN, DEF_C11_BUILTIN):
1946 (DEF_C2X_BUILTIN, DEF_C99_COMPL_BUILTIN, DEF_C99_C90RES_BUILTIN):
1948 * config/darwin-protos.h (darwin_libc_has_function): Update prototype.
1949 * config/darwin.c (darwin_libc_has_function): Add arg.
1950 * config/linux-protos.h (linux_libc_has_function): Update prototype.
1951 * config/linux.c (linux_libc_has_function): Add arg.
1952 * config/i386/i386.c (ix86_libc_has_function): Update
1953 targetm.libc_has_function call.
1954 * config/nvptx/nvptx.c (nvptx_libc_has_function): New function.
1955 (TARGET_LIBC_HAS_FUNCTION): Redefine to nvptx_libc_has_function.
1956 * convert.c (convert_to_integer_1): Update targetm.libc_has_function
1959 * target.def (libc_has_function): Add arg.
1960 * doc/tm.texi: Regenerate.
1961 * targhooks.c (default_libc_has_function, gnu_libc_has_function)
1962 (no_c99_libc_has_function): Add arg.
1963 * targhooks.h (default_libc_has_function, no_c99_libc_has_function)
1964 (gnu_libc_has_function): Update prototype.
1965 * tree-ssa-math-opts.c (pass_cse_sincos::execute): Update
1966 targetm.libc_has_function call.
1968 2020-09-30 H.J. Lu <hjl.tools@gmail.com>
1971 * config/i386/i386.md (UNSPECV_MOVDIRI): Renamed to ...
1972 (UNSPEC_MOVDIRI): This.
1973 (UNSPECV_MOVDIR64B): Renamed to ...
1974 (UNSPEC_MOVDIR64B): This.
1975 (movdiri<mode>): Use SET operation.
1976 (@movdir64b_<mode>): Likewise.
1978 2020-09-30 Florian Weimer <fweimer@redhat.com>
1980 * config/i386/i386-c.c (ix86_target_macros_internal): Define
1981 __LAHF_SAHF__ and __MOVBE__ based on ISA flags.
1983 2020-09-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1986 * config/aarch64/arm_neon.h (vqrshlb_u8): Make second argument
1988 (vqrshlh_u16): Likewise.
1989 (vqrshls_u32): Likewise.
1990 (vqrshld_u64): Likewise.
1991 (vqshlb_u8): Likewise.
1992 (vqshlh_u16): Likewise.
1993 (vqshls_u32): Likewise.
1994 (vqshld_u64): Likewise.
1995 (vshld_u64): Likewise.
1997 2020-09-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2000 * config/aarch64/aarch64-simd-builtins.def (sqmovun): Use UNOPUS
2002 * config/aarch64/arm_neon.h (vqmovun_s16): Adjust builtin call.
2003 Remove unnecessary result cast.
2004 (vqmovun_s32): Likewise.
2005 (vqmovun_s64): Likewise.
2006 (vqmovunh_s16): Likewise. Fix return type.
2007 (vqmovuns_s32): Likewise.
2008 (vqmovund_s64): Likewise.
2010 2020-09-30 Richard Sandiford <richard.sandiford@arm.com>
2012 * config/aarch64/aarch64.c (aarch64_split_128bit_move_p): Add a
2013 function comment. Tighten check for FP moves.
2014 * config/aarch64/aarch64.md (*movti_aarch64): Add a w<-Z alternative.
2015 (*movtf_aarch64): Handle r<-Y like r<-r. Remove unnecessary
2016 earlyclobber. Change splitter predicate from aarch64_reg_or_imm
2017 to nonmemory_operand.
2019 2020-09-30 Alex Coplan <alex.coplan@arm.com>
2022 * config/arm/arm.md (movsf): Relax TARGET_HARD_FLOAT to
2025 * config/arm/vfp.md (no_literal_pool_df_immediate): Likewise.
2026 (no_literal_pool_sf_immediate): Likewise.
2028 2020-09-30 Alan Modra <amodra@gmail.com>
2030 * configure.ac (--with-long-double-format): Typo fix.
2031 * configure: Regenerate.
2033 2020-09-30 Alan Modra <amodra@gmail.com>
2035 * config/rs6000/rs6000.md (@tablejump<mode>_normal): Don't use
2036 non-existent operands[].
2037 (@tablejump<mode>_nospec): Likewise.
2039 2020-09-30 Segher Boessenkool <segher@kernel.crashing.org>
2041 * config/rs6000/rs6000.md (tablejump): Simplify.
2042 (tablejumpsi): Merge this ...
2043 (tablejumpdi): ... and this ...
2044 (@tablejump<mode>_normal): ... into this.
2045 (tablejumpsi_nospec): Merge this ...
2046 (tablejumpdi_nospec): ... and this ...
2047 (@tablejump<mode>_nospec): ... into this.
2048 (*tablejump<mode>_internal1): Delete, rename to ...
2049 (@tablejump<mode>_insn_normal): ... this.
2050 (*tablejump<mode>_internal1_nospec): Delete, rename to ...
2051 (@tablejump<mode>_insn_nospec): ... this.
2053 2020-09-29 Martin Sebor <msebor@redhat.com>
2056 * calls.c (maybe_warn_rdwr_sizes): Simplify warning messages.
2057 Correct handling of VLA argumments.
2059 2020-09-29 Marek Polacek <polacek@redhat.com>
2062 * doc/invoke.texi: Document -Wrange-loop-construct.
2064 2020-09-29 Jim Wilson <jimw@sifive.com>
2067 * configure.ac (gcc_cv_header_zstd_h): Check ZSTD_VERISON_NUMBER.
2068 * configure: Regenerated.
2070 2020-09-29 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
2072 * config/arm/arm-cpus.in: Add Cortex-X1 core.
2073 * config/arm/arm-tables.opt: Regenerate.
2074 * config/arm/arm-tune.md: Regenerate.
2075 * doc/invoke.texi: Update docs.
2077 2020-09-29 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
2079 * config/aarch64/aarch64-cores.def: Add Cortex-X1 Arm core.
2080 * config/aarch64/aarch64-tune.md: Regenerate.
2081 * doc/invoke.texi: Add -mtune=cortex-x1 docs.
2083 2020-09-29 H.J. Lu <hjl.tools@gmail.com>
2086 * config/i386/enqcmdintrin.h: Replace <enqcmdntrin.h> with
2087 <enqcmdintrin.h>. Replace _ENQCMDNTRIN_H_INCLUDED with
2088 _ENQCMDINTRIN_H_INCLUDED.
2090 2020-09-29 Richard Biener <rguenther@suse.de>
2092 PR tree-optimization/97241
2093 * tree-vect-loop.c (vectorizable_reduction): Move finding
2094 the SLP node for the reduction stmt to a better place.
2096 2020-09-29 Richard Biener <rguenther@suse.de>
2098 * tree-vect-slp.c (vect_analyze_slp): Move SLP reduction
2099 re-arrangement and SLP graph load gathering...
2100 (vect_optimize_slp): ... here.
2101 * tree-vectorizer.h (vec_info::slp_loads): Remove.
2103 2020-09-29 Hongyu Wang <hongyu.wang@intel.com>
2106 * config/i386/amxbf16intrin.h: Add FSF copyright notes.
2107 * config/i386/amxint8intrin.h: Ditto.
2108 * config/i386/amxtileintrin.h: Ditto.
2109 * config/i386/avx512vp2intersectintrin.h: Ditto.
2110 * config/i386/avx512vp2intersectvlintrin.h: Ditto.
2111 * config/i386/pconfigintrin.h: Ditto.
2112 * config/i386/tsxldtrkintrin.h: Ditto.
2113 * config/i386/wbnoinvdintrin.h: Ditto.
2115 2020-09-29 Richard Biener <rguenther@suse.de>
2117 PR tree-optimization/97238
2118 * tree-ssa-reassoc.c (ovce_extract_ops): Fix typo.
2120 2020-09-29 Richard Sandiford <richard.sandiford@arm.com>
2122 * config/arm/arm.h (ARM_HAVE_NEON_V8QI_ARITH, ARM_HAVE_NEON_V4HI_ARITH)
2123 (ARM_HAVE_NEON_V2SI_ARITH, ARM_HAVE_NEON_V16QI_ARITH): New macros.
2124 (ARM_HAVE_NEON_V8HI_ARITH, ARM_HAVE_NEON_V4SI_ARITH): Likewise.
2125 (ARM_HAVE_NEON_V2DI_ARITH, ARM_HAVE_NEON_V4HF_ARITH): Likewise.
2126 (ARM_HAVE_NEON_V8HF_ARITH, ARM_HAVE_NEON_V2SF_ARITH): Likewise.
2127 (ARM_HAVE_NEON_V4SF_ARITH, ARM_HAVE_V8QI_ARITH, ARM_HAVE_V4HI_ARITH)
2128 (ARM_HAVE_V2SI_ARITH, ARM_HAVE_V16QI_ARITH, ARM_HAVE_V8HI_ARITH)
2129 (ARM_HAVE_V4SI_ARITH, ARM_HAVE_V2DI_ARITH, ARM_HAVE_V4HF_ARITH)
2130 (ARM_HAVE_V2SF_ARITH, ARM_HAVE_V8HF_ARITH, ARM_HAVE_V4SF_ARITH):
2132 * config/arm/iterators.md (VNIM, VNINOTM): Delete.
2133 * config/arm/vec-common.md (add<VNIM:mode>3, addv8hf3)
2134 (add<VNINOTM:mode>3): Replace with...
2135 (add<VDQ:mode>3): ...this new expander.
2136 * config/arm/neon.md (*add<VDQ:mode>3_neon): Use the new
2137 ARM_HAVE_NEON_<MODE>_ARITH macros as the C condition.
2138 (addv8hf3_neon, addv4hf3, add<VFH:mode>3_fp16): Delete in
2140 (neon_vadd<VH:mode>): Use gen_add<mode>3 instead of
2141 gen_add<mode>3_fp16.
2143 2020-09-29 Kito Cheng <kito.cheng@sifive.com>
2145 * config/riscv/riscv-c.c (riscv_cpu_cpp_builtins): Define
2146 __riscv_cmodel_medany when PIC mode.
2148 2020-09-29 Alex Coplan <alex.coplan@arm.com>
2150 * config/aarch64/aarch64-cores.def: Move neoverse-n2 after saphira.
2151 * config/aarch64/aarch64-tune.md: Regenerate.
2153 2020-09-29 Martin Liska <mliska@suse.cz>
2155 PR tree-optimization/96979
2156 * tree-switch-conversion.c (jump_table_cluster::can_be_handled):
2157 Make a fast bail out.
2158 (bit_test_cluster::can_be_handled): Likewise here.
2159 * tree-switch-conversion.h (get_range): Use wi::to_wide instead
2162 2020-09-29 Martin Liska <mliska@suse.cz>
2165 2020-09-22 Martin Liska <mliska@suse.cz>
2167 PR tree-optimization/96979
2168 * doc/invoke.texi: Document new param max-switch-clustering-attempts.
2169 * params.opt: Add new parameter.
2170 * tree-switch-conversion.c (jump_table_cluster::find_jump_tables):
2171 Limit number of attempts.
2172 (bit_test_cluster::find_bit_tests): Likewise.
2174 2020-09-28 Aldy Hernandez <aldyh@redhat.com>
2176 * value-range.h (class irange): Add irange_allocator friend.
2177 (class irange_allocator): New.
2179 2020-09-28 Tobias Burnus <tobias@codesourcery.com>
2182 * omp-offload.c (omp_discover_declare_target_tgt_fn_r): Handle
2185 2020-09-28 Paul A. Clarke <pc@us.ibm.com>
2187 * config/rs6000/smmintrin.h (_mm_insert_epi8): New.
2188 (_mm_insert_epi32): New.
2189 (_mm_insert_epi64): New.
2191 2020-09-28 liuhongt <hongtao.liu@intel.com>
2193 * common/config/i386/i386-common.c (OPTION_MASK_ISA2_AMX_TILE_SET,
2194 OPTION_MASK_ISA2_AMX_INT8_SET, OPTION_MASK_ISA2_AMX_BF16_SET,
2195 OPTION_MASK_ISA2_AMX_TILE_UNSET, OPTION_MASK_ISA2_AMX_INT8_UNSET,
2196 OPTION_MASK_ISA2_AMX_BF16_UNSET, OPTION_MASK_ISA2_XSAVE_UNSET):
2198 (ix86_handle_option): Hanlde -mamx-tile, -mamx-int8, -mamx-bf16.
2199 * common/config/i386/i386-cpuinfo.h (processor_types): Add
2200 FEATURE_AMX_TILE, FEATURE_AMX_INT8, FEATURE_AMX_BF16.
2201 * common/config/i386/cpuinfo.h (XSTATE_TILECFG,
2202 XSTATE_TILEDATA, XCR_AMX_ENABLED_MASK): New macro.
2203 (get_available_features): Enable AMX features only if
2204 their states are suoorited by OSXSAVE.
2205 * common/config/i386/i386-isas.h: Add ISA_NAME_TABLE_ENTRY
2206 for amx-tile, amx-int8, amx-bf16.
2207 * config.gcc: Add amxtileintrin.h, amxint8intrin.h,
2208 amxbf16intrin.h to extra headers.
2209 * config/i386/amxbf16intrin.h: New file.
2210 * config/i386/amxint8intrin.h: Ditto.
2211 * config/i386/amxtileintrin.h: Ditto.
2212 * config/i386/cpuid.h (bit_AMX_BF16, bit_AMX_TILE, bit_AMX_INT8):
2214 * config/i386/i386-c.c (ix86_target_macros_internal): Define
2215 __AMX_TILE__, __AMX_INT8__, AMX_BF16__.
2216 * config/i386/i386-options.c (ix86_target_string): Add
2217 -mamx-tile, -mamx-int8, -mamx-bf16.
2218 (ix86_option_override_internal): Handle AMX-TILE,
2220 * config/i386/i386.h (TARGET_AMX_TILE, TARGET_AMX_TILE_P,
2221 TARGET_AMX_INT8, TARGET_AMX_INT8_P, TARGET_AMX_BF16_P,
2222 PTA_AMX_TILE, PTA_AMX_INT8, PTA_AMX_BF16): New macros.
2223 * config/i386/i386.opt: Add -mamx-tile, -mamx-int8, -mamx-bf16.
2224 * config/i386/immintrin.h: Include amxtileintrin.h,
2225 amxint8intrin.h, amxbf16intrin.h.
2226 * doc/invoke.texi: Document -mamx-tile, -mamx-int8, -mamx-bf16.
2227 * doc/extend.texi: Document amx-tile, amx-int8, amx-bf16.
2228 * doc/sourcebuild.texi ((Effective-Target Keywords, Other
2229 hardware attributes): Document amx_int8, amx_tile, amx_bf16.
2231 2020-09-28 Andrea Corallo <andrea.corallo@arm.com>
2233 * config/aarch64/aarch64-builtins.c
2234 (aarch64_general_expand_builtin): Do not alter value on a
2235 force_reg returned rtx.
2237 2020-09-28 Eric Botcazou <ebotcazou@adacore.com>
2239 * tree-eh.c (lower_try_finally_dup_block): Revert latest change.
2241 2020-09-27 Jan Hubicka <jh@suse.cz>
2243 * ipa-modref.c (modref_summary::useful_p): Fix testing of stores.
2245 2020-09-27 Jakub Jelinek <jakub@redhat.com>
2248 * optabs.c (expand_binop, expand_absneg_bit, expand_unop,
2249 expand_copysign_bit): Check reg_overlap_mentioned_p between target
2250 and operand(s) and if it returns true, force a pseudo as target.
2252 2020-09-27 Xionghu Luo <luoxhu@linux.ibm.com>
2254 * gimple-isel.cc (gimple_expand_vec_set_expr): New function.
2255 (gimple_expand_vec_cond_exprs): Rename to ...
2256 (gimple_expand_vec_exprs): ... this and call
2257 gimple_expand_vec_set_expr.
2258 * internal-fn.c (vec_set_direct): New define.
2259 (expand_vec_set_optab_fn): New function.
2260 (direct_vec_set_optab_supported_p): New define.
2261 * internal-fn.def (VEC_SET): New DEF_INTERNAL_OPTAB_FN.
2262 * optabs.c (can_vec_set_var_idx_p): New function.
2263 * optabs.h (can_vec_set_var_idx_p): New declaration.
2265 2020-09-26 Jan Hubicka <jh@suse.cz>
2267 * ipa-modref.c (analyze_stmt): Do not skip clobbers in early pass.
2268 * ipa-pure-const.c (analyze_stmt): Update comment.
2270 2020-09-26 David Edelsohn <dje.gcc@gmail.com>
2271 Clement Chigot <clement.chigot@atos.com>
2273 * collect2.c (visibility_flag): New.
2274 (main): Detect -fvisibility.
2275 (write_c_file_stat): Push and pop default visibility.
2277 2020-09-26 Jan Hubicka <hubicka@ucw.cz>
2279 * ipa-inline-transform.c: Include ipa-modref-tree.h and ipa-modref.h.
2280 (inline_call): Call ipa_merge_modref_summary_after_inlining.
2281 * ipa-inline.c (ipa_inline): Do not free summaries.
2282 * ipa-modref.c (dump_records): Fix formating.
2283 (merge_call_side_effects): Break out from ...
2284 (analyze_call): ... here; record recursive calls.
2285 (analyze_stmt): Add new parameter RECURSIVE_CALLS.
2286 (analyze_function): Do iterative dataflow on recursive calls.
2287 (compute_parm_map): New function.
2288 (ipa_merge_modref_summary_after_inlining): New function.
2289 (collapse_loads): New function.
2290 (modref_propagate_in_scc): Break out from ...
2291 (pass_ipa_modref::execute): ... here; Do iterative dataflow.
2292 * ipa-modref.h (ipa_merge_modref_summary_after_inlining): Declare.
2294 2020-09-26 Jakub Jelinek <jakub@redhat.com>
2296 * omp-expand.c (expand_omp_simd): Help vectorizer for the collapse == 1
2297 and non-composite collapse > 1 case with non-constant innermost loop
2298 step by precomputing number of iterations before loop and using an
2299 alternate IV from 0 to number of iterations - 1 with step of 1.
2301 2020-09-26 Jan Hubicka <jh@suse.cz>
2303 * ipa-fnsummary.c (dump_ipa_call_summary): Dump
2304 points_to_local_or_readonly_memory flag.
2305 (analyze_function_body): Compute points_to_local_or_readonly_memory
2307 (remap_edge_change_prob): Rename to ...
2308 (remap_edge_params): ... this one; update
2309 points_to_local_or_readonly_memory.
2310 (remap_edge_summaries): Update.
2311 (read_ipa_call_summary): Stream the new flag.
2312 (write_ipa_call_summary): Likewise.
2313 * ipa-predicate.h (struct inline_param_summary): Add
2314 points_to_local_or_readonly_memory.
2315 (inline_param_summary::equal_to): Update.
2316 (inline_param_summary::useless_p): Update.
2318 2020-09-26 Jan Hubicka <hubicka@ucw.cz>
2320 * ipa-modref-tree.h (modref_ref_node::insert_access): Track if something
2322 (modref_base_node::insert_ref): Likewise (and add a new optional
2324 (modref_tree::insert): Likewise.
2325 (modref_tree::merge): Rewrite
2327 2020-09-25 Jan Hubicka <hubicka@ucw.cz>
2329 * doc/invoke.texi: Add -fno-ipa-modref to flags disabled by
2331 * opts.c (control_options_for_live_patching): Disable ipa-modref.
2333 2020-09-25 Jan Hubicka <hubicka@ucw.cz>
2335 * ipa-modref.c (analyze_stmt): Fix return value for gimple_clobber.
2337 2020-09-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2339 * config/aarch64/aarch64-option-extensions.def (rng): Add
2342 2020-09-25 Alex Coplan <alex.coplan@arm.com>
2344 * config/arm/arm-cpus.in (neoverse-v1): Add FP16.
2346 2020-09-25 Martin Liska <mliska@suse.cz>
2348 PR gcov-profile/64636
2349 * value-prof.c (stream_out_histogram_value): Allow negative
2350 values for HIST_TYPE_IOR.
2352 2020-09-25 Tom de Vries <tdevries@suse.de>
2354 * config/nvptx/nvptx.c (nvptx_assemble_integer, nvptx_print_operand):
2355 Use gcc_fallthrough ().
2357 2020-09-25 Richard Biener <rguenther@suse.de>
2360 * expr.c (store_constructor): Handle VECTOR_BOOLEAN_TYPE_P
2363 2020-09-25 Richard Biener <rguenther@suse.de>
2366 * vec.h (auto_vec<T>::operator=(auto_vec<T>&&)): Implement.
2368 2020-09-25 Richard Sandiford <richard.sandiford@arm.com>
2370 * config/arm/arm-protos.h (arm_mve_mode_and_operands_type_check):
2372 * config/arm/arm.c (arm_coproc_mem_operand_wb): Use a scale factor
2373 of 2 rather than 4 for 16-bit modes.
2374 (arm_mve_mode_and_operands_type_check): Delete.
2375 * config/arm/constraints.md (Uj): Allow writeback for Neon,
2376 but continue to disallow it for MVE.
2377 * config/arm/arm.md (*arm32_mov<HFBF:mode>): Add !TARGET_HAVE_MVE.
2378 * config/arm/vfp.md (*mov_load_vfp_hf16, *mov_store_vfp_hf16): Fold
2380 (*mov<mode>_vfp_<mode>16): ...here but use Uj for the FPR memory
2381 constraints. Use for base MVE too.
2383 2020-09-25 Richard Biener <rguenther@suse.de>
2385 PR tree-optimization/97199
2386 * tree-if-conv.c (combine_blocks): Remove edges only
2387 after looking at virtual PHI args.
2389 2020-09-25 Jakub Jelinek <jakub@redhat.com>
2391 * omp-low.c (scan_omp_1_stmt): Don't call scan_omp_simd for
2392 collapse > 1 loops as simt doesn't support collapsed loops yet.
2393 * omp-expand.c (expand_omp_for_init_counts, expand_omp_for_init_vars):
2394 Small tweaks to function comment.
2395 (expand_omp_simd): Rewritten collapse > 1 support to only attempt
2396 to vectorize the innermost loop and emit set of outer loops around it.
2397 For non-composite simd with collapse > 1 without broken loop don't
2398 even try to compute number of iterations first. Add support for
2399 non-rectangular simd loops.
2400 (expand_omp_for): Don't sorry_at on non-rectangular simd loops.
2402 2020-09-25 Martin Liska <mliska@suse.cz>
2404 * cgraph.c (cgraph_edge::debug): New.
2405 * cgraph.h (cgraph_edge::debug): New.
2407 2020-09-25 Martin Liska <mliska@suse.cz>
2409 * cgraph.c (cgraph_node::dump): Always print space at the end
2410 of a message. Remove one extra space.
2412 2020-09-24 Alex Coplan <alex.coplan@arm.com>
2414 * config/arm/arm-cpus.in (neoverse-n2): New.
2415 * config/arm/arm-tables.opt: Regenerate.
2416 * config/arm/arm-tune.md: Regenerate.
2417 * doc/invoke.texi: Document support for Neoverse N2.
2419 2020-09-24 Alex Coplan <alex.coplan@arm.com>
2421 * config/aarch64/aarch64-cores.def: Add Neoverse N2.
2422 * config/aarch64/aarch64-tune.md: Regenerate.
2423 * doc/invoke.texi: Document AArch64 support for Neoverse N2.
2425 2020-09-24 Richard Biener <rguenther@suse.de>
2427 * vec.h (auto_vec<T, 0>::auto_vec (auto_vec &&)): New move CTOR.
2428 (auto_vec<T, 0>::operator=(auto_vec &&)): Delete.
2429 * hash-table.h (hash_table::expand): Use std::move when expanding.
2430 * cfgloop.h (get_loop_exit_edges): Return auto_vec<edge>.
2431 * cfgloop.c (get_loop_exit_edges): Adjust.
2432 * cfgloopmanip.c (fix_loop_placement): Likewise.
2433 * ipa-fnsummary.c (analyze_function_body): Likewise.
2434 * ira-build.c (create_loop_tree_nodes): Likewise.
2435 (create_loop_tree_node_allocnos): Likewise.
2436 (loop_with_complex_edge_p): Likewise.
2437 * ira-color.c (ira_loop_edge_freq): Likewise.
2438 * loop-unroll.c (analyze_insns_in_loop): Likewise.
2439 * predict.c (predict_loops): Likewise.
2440 * tree-predcom.c (last_always_executed_block): Likewise.
2441 * tree-ssa-loop-ch.c (ch_base::copy_headers): Likewise.
2442 * tree-ssa-loop-im.c (store_motion_loop): Likewise.
2443 * tree-ssa-loop-ivcanon.c (loop_edge_to_cancel): Likewise.
2444 (canonicalize_loop_induction_variables): Likewise.
2445 * tree-ssa-loop-manip.c (get_loops_exits): Likewise.
2446 * tree-ssa-loop-niter.c (find_loop_niter): Likewise.
2447 (finite_loop_p): Likewise.
2448 (find_loop_niter_by_eval): Likewise.
2449 (estimate_numbers_of_iterations): Likewise.
2450 * tree-ssa-loop-prefetch.c (emit_mfence_after_loop): Likewise.
2451 (may_use_storent_in_loop_p): Likewise.
2453 2020-09-24 Jan Hubicka <jh@suse.cz>
2455 * doc/invoke.texi: Document -fipa-modref, ipa-modref-max-bases,
2456 ipa-modref-max-refs, ipa-modref-max-accesses, ipa-modref-max-tests.
2457 * ipa-modref-tree.c (test_insert_search_collapse): Update.
2458 (test_merge): Update.
2459 (gt_ggc_mx): New function.
2460 * ipa-modref-tree.h (struct modref_access_node): New structure.
2461 (struct modref_ref_node): Add every_access and accesses array.
2462 (modref_ref_node::modref_ref_node): Update ctor.
2463 (modref_ref_node::search): New member function.
2464 (modref_ref_node::collapse): New member function.
2465 (modref_ref_node::insert_access): New member function.
2466 (modref_base_node::insert_ref): Do not collapse base if ref is 0.
2467 (modref_base_node::collapse): Copllapse also refs.
2468 (modref_tree): Add accesses.
2469 (modref_tree::modref_tree): Initialize max_accesses.
2470 (modref_tree::insert): Add access parameter.
2471 (modref_tree::cleanup): New member function.
2472 (modref_tree::merge): Add parm_map; merge accesses.
2473 (modref_tree::copy_from): New member function.
2474 (modref_tree::create_ggc): Add max_accesses.
2475 * ipa-modref.c (dump_access): New function.
2476 (dump_records): Dump accesses.
2477 (dump_lto_records): Dump accesses.
2478 (get_access): New function.
2479 (record_access): Record access.
2480 (record_access_lto): Record access.
2481 (analyze_call): Compute parm_map.
2482 (analyze_function): Update construction of modref records.
2483 (modref_summaries::duplicate): Likewise; use copy_from.
2484 (write_modref_records): Stream accesses.
2485 (read_modref_records): Sream accesses.
2486 (pass_ipa_modref::execute): Update call of merge.
2487 * params.opt (-param=modref-max-accesses): New.
2488 * tree-ssa-alias.c (alias_stats): Add modref_baseptr_tests.
2489 (dump_alias_stats): Update.
2490 (base_may_alias_with_dereference_p): New function.
2491 (modref_may_conflict): Check accesses.
2492 (ref_maybe_used_by_call_p_1): Update call to modref_may_conflict.
2493 (call_may_clobber_ref_p_1): Update call to modref_may_conflict.
2495 2020-09-24 Richard Sandiford <richard.sandiford@arm.com>
2497 * config/arm/arm.md (*stack_protect_combined_set_insn): For non-PIC,
2498 load the address of the canary rather than the address of the
2499 constant pool entry that points to it.
2500 (*stack_protect_combined_test_insn): Likewise.
2502 2020-09-24 Richard Biener <rguenther@suse.de>
2504 PR tree-optimization/97085
2505 * match.pd (mask ? { false,..} : { true, ..} -> ~mask): New.
2507 2020-09-24 Jan Hubicka <hubicka@ucw.cz>
2509 * ipa-modref-tree.h (modref_base::collapse): Release memory.
2510 (modref_tree::create_ggc): New member function.
2511 (modref_tree::colapse): Release memory.
2512 (modref_tree::~modref_tree): New destructor.
2513 * ipa-modref.c (modref_summaries::create_ggc): New function.
2514 (analyze_function): Use create_ggc.
2515 (modref_summaries::duplicate): Likewise.
2516 (read_modref_records): Likewise.
2517 (modref_read): Likewise.
2519 2020-09-24 Alan Modra <amodra@gmail.com>
2521 * config/rs6000/rs6000.c (rs6000_rtx_costs): Pass mode to
2522 reg_or_add_cint_operand and reg_or_sub_cint_operand.
2524 2020-09-24 Alan Modra <amodra@gmail.com>
2527 * config/rs6000/rs6000.c (num_insns_constant_gpr): Count rldimi
2528 constants correctly.
2530 2020-09-24 Alan Modra <amodra@gmail.com>
2532 * config/rs6000/rs6000-c.c (rs6000_target_modify_macros):
2533 Conditionally define __PCREL__.
2535 2020-09-24 Alan Modra <amodra@gmail.com>
2538 * config/rs6000/rs6000-internal.h (struct rs6000_stack): Improve
2540 * config/rs6000/rs6000-logue.c (rs6000_stack_info): Likewise.
2541 (rs6000_expand_split_stack_prologue): Emit the prologue for
2542 functions that make a sibling call.
2544 2020-09-24 David Malcolm <dmalcolm@redhat.com>
2546 * doc/analyzer.texi (Analyzer Paths): Add note about
2547 -fno-analyzer-feasibility.
2548 * doc/invoke.texi (Static Analyzer Options): Add
2549 -fno-analyzer-feasibility.
2551 2020-09-24 Paul A. Clarke <pc@us.ibm.com>
2553 * doc/extend.texi: Add 'd' for doubleword variant of
2554 vector insert instruction.
2556 2020-09-23 Martin Sebor <msebor@redhat.com>
2558 * gimple-array-bounds.cc (build_zero_elt_array_type): New function.
2559 (array_bounds_checker::check_mem_ref): Call it.
2561 2020-09-23 Martin Sebor <msebor@redhat.com>
2564 * builtins.c (maybe_warn_for_bound): Handle both DECLs and EXPRESSIONs
2565 in pad->dst.ref, same is pad->src.ref.
2567 2020-09-23 Jan Hubicka <jh@suse.cz>
2569 * ipa-fnsummary.c (refs_local_or_readonly_memory_p): New function.
2570 (points_to_local_or_readonly_memory_p): New function.
2571 * ipa-fnsummary.h (refs_local_or_readonly_memory_p): Declare.
2572 (points_to_local_or_readonly_memory_p): Declare.
2573 * ipa-modref.c (record_access_p): Use refs_local_or_readonly_memory_p.
2574 * ipa-pure-const.c (check_op): Likewise.
2576 2020-09-23 Tom de Vries <tdevries@suse.de>
2578 * config/nvptx/nvptx.md: Don't allow operand containing sum of
2579 function ref and const.
2581 2020-09-23 Richard Sandiford <richard.sandiford@arm.com>
2583 * config/aarch64/aarch64-protos.h (aarch64_salt_type): New enum.
2584 (aarch64_stack_protect_canary_mem): Declare.
2585 * config/aarch64/aarch64.md (UNSPEC_SALT_ADDR): New unspec.
2586 (stack_protect_set): Forward to stack_protect_combined_set.
2587 (stack_protect_combined_set): New pattern. Use
2588 aarch64_stack_protect_canary_mem.
2589 (reg_stack_protect_address_<mode>): Add a salt operand.
2590 (stack_protect_test): Forward to stack_protect_combined_test.
2591 (stack_protect_combined_test): New pattern. Use
2592 aarch64_stack_protect_canary_mem.
2593 * config/aarch64/aarch64.c (strip_salt): New function.
2594 (strip_offset_and_salt): Likewise.
2595 (tls_symbolic_operand_type): Use strip_offset_and_salt.
2596 (aarch64_stack_protect_canary_mem): New function.
2597 (aarch64_cannot_force_const_mem): Use strip_offset_and_salt.
2598 (aarch64_classify_address): Likewise.
2599 (aarch64_symbolic_address_p): Likewise.
2600 (aarch64_print_operand): Likewise.
2601 (aarch64_output_addr_const_extra): New function.
2602 (aarch64_tls_symbol_p): Use strip_salt.
2603 (aarch64_classify_symbol): Likewise.
2604 (aarch64_legitimate_pic_operand_p): Use strip_offset_and_salt.
2605 (aarch64_legitimate_constant_p): Likewise.
2606 (aarch64_mov_operand_p): Use strip_salt.
2607 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Override.
2609 2020-09-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2612 * config/aarch64/arm_neon.h (vreinterpretq_f64_p128,
2613 vreinterpretq_p128_f64): Define.
2615 2020-09-23 Alex Coplan <alex.coplan@arm.com>
2617 * config/arm/arm-cpus.in (neoverse-v1): New.
2618 * config/arm/arm-tables.opt: Regenerate.
2619 * config/arm/arm-tune.md: Regenerate.
2620 * doc/invoke.texi: Document support for Neoverse V1.
2622 2020-09-23 Alex Coplan <alex.coplan@arm.com>
2624 * config/aarch64/aarch64-cores.def: Add Neoverse V1.
2625 * config/aarch64/aarch64-tune.md: Regenerate.
2626 * doc/invoke.texi: Document support for Neoverse V1.
2628 2020-09-23 Richard Biener <rguenther@suse.de>
2631 * gimple-isel.cc (gimple_expand_vec_cond_expr): Remove
2632 LT_EXPR -> NE_EXPR verification and also apply it for
2635 2020-09-23 Jan Hubicka <hubicka@ucw.cz>
2637 * ipa-modref.c (modref_summary::lto_useful_p): New member function.
2638 (modref_summary::useful_p): New member function.
2639 (analyze_function): Drop useless summaries.
2640 (modref_write): Skip useless summaries.
2641 (pass_ipa_modref::execute): Drop useless summaries.
2642 * ipa-modref.h (struct GTY): Declare useful_p and lto_useful_p.
2643 * tree-ssa-alias.c (dump_alias_stats): Fix.
2644 (modref_may_conflict): Fix stats.
2646 2020-09-23 Richard Biener <rguenther@suse.de>
2649 * internal-fn.c (expand_vect_cond_mask_optab_fn): Use
2650 appropriate mode for force_reg.
2651 * tree.c (build_truth_vector_type_for): Pass VOIDmode to
2654 2020-09-23 Richard Sandiford <richard.sandiford@arm.com>
2656 * tree-vectorizer.h (determine_peel_for_niter): Delete in favor of...
2657 (vect_determine_partial_vectors_and_peeling): ...this new function.
2658 * tree-vect-loop-manip.c (vect_update_epilogue_niters): New function.
2659 Reject using vector epilogue loops for single iterations. Install
2660 the constant number of epilogue loop iterations in the associated
2661 loop_vinfo. Rely on vect_determine_partial_vectors_and_peeling
2662 to do the main part of the test.
2663 (vect_do_peeling): Use vect_update_epilogue_niters to handle
2664 epilogue loops with a known number of iterations. Skip recomputing
2665 the number of iterations later in that case. Otherwise, use
2666 vect_determine_partial_vectors_and_peeling to decide whether the
2667 epilogue loop needs to use partial vectors or peeling.
2668 * tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Set the
2669 default can_use_partial_vectors_p to false if partial-vector-usage=0.
2670 (determine_peel_for_niter): Remove in favor of...
2671 (vect_determine_partial_vectors_and_peeling): ...this new function,
2673 (vect_analyze_loop_2): ...here. Reflect the vect_verify_full_masking
2674 and vect_verify_loop_lens results in CAN_USE_PARTIAL_VECTORS_P
2675 rather than USING_PARTIAL_VECTORS_P.
2677 2020-09-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2680 * config/aarch64/aarch64-simd-builtins.def (frintn): Use BUILTIN_VHSDF_HSDF
2681 for modes. Remove explicit hf instantiation.
2682 * config/aarch64/arm_neon.h (vrndns_f32): Define.
2684 2020-09-23 Richard Biener <rguenther@suse.de>
2686 PR tree-optimization/97173
2687 * tree-vect-loop.c (vectorizable_live_operation): Extend
2688 assert to also conver element conversions.
2690 2020-09-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2693 * config/aarch64/arm_neon.h (vtrn1q_p64, vtrn2q_p64, vuzp1q_p64,
2694 vuzp2q_p64, vzip1q_p64, vzip2q_p64): Define.
2696 2020-09-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2699 * config/aarch64/arm_neon.h (vldrq_p128): Define.
2701 2020-09-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2704 * config/aarch64/arm_neon.h (vstrq_p128): Define.
2706 2020-09-23 Richard Biener <rguenther@suse.de>
2708 PR tree-optimization/97151
2709 * tree-ssa-structalias.c (find_func_aliases_for_call):
2710 DECL_IS_REPLACEABLE_OPERATOR_DELETE_P has no effect on
2713 2020-09-23 Richard Biener <rguenther@suse.de>
2716 * alias.c (compare_base_decls): Use DECL_HARD_REGISTER
2717 and guard with VAR_P.
2719 2020-09-23 Martin Liska <mliska@suse.cz>
2721 PR gcov-profile/97069
2722 * profile.c (branch_prob): Line number must be at least 1.
2724 2020-09-23 Tom de Vries <tdevries@suse.de>
2727 * config/nvptx/nvptx.c (nvptx_output_mov_insn): Handle move from
2728 DF subreg to DF reg.
2730 2020-09-23 David Malcolm <dmalcolm@redhat.com>
2732 * Makefile.in: Add $(ZLIBINC) to CFLAGS-analyzer/engine.o.
2734 2020-09-22 Jan Hubicka <jh@suse.cz>
2736 * ipa-modref.c (analyze_stmt): Ignore gimple clobber.
2738 2020-09-22 Jan Hubicka <jh@suse.cz>
2740 * ipa-modref-tree.c: Add namespace selftest.
2741 (modref_tree_c_tests): Rename to ...
2742 (ipa_modref_tree_c_tests): ... this.
2743 * ipa-modref.c (pass_modref): Remove destructor.
2744 (ipa_modref_c_finalize): New function.
2745 * ipa-modref.h (ipa_modref_c_finalize): Declare.
2746 * selftest-run-tests.c (selftest::run_tests): Call
2747 ipa_modref_c_finalize.
2748 * selftest.h (ipa_modref_tree_c_tests): Declare.
2749 * toplev.c: Include ipa-modref-tree.h and ipa-modref.h
2750 (toplev::finalize): Call ipa_modref_c_finalize.
2752 2020-09-22 David Malcolm <dmalcolm@redhat.com>
2754 * doc/analyzer.texi (Other Debugging Techniques): Mention
2755 -fdump-analyzer-json.
2756 * doc/invoke.texi (Static Analyzer Options): Add
2757 -fdump-analyzer-json.
2759 2020-09-22 David Faust <david.faust@oracle.com>
2761 * config/bpf/bpf.md: Add defines for signed div and mod operators.
2763 2020-09-22 Martin Liska <mliska@suse.cz>
2765 PR tree-optimization/96979
2766 * doc/invoke.texi: Document new param max-switch-clustering-attempts.
2767 * params.opt: Add new parameter.
2768 * tree-switch-conversion.c (jump_table_cluster::find_jump_tables):
2769 Limit number of attempts.
2770 (bit_test_cluster::find_bit_tests): Likewise.
2772 2020-09-22 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
2774 * config/s390/s390.md ("*cmp<mode>_ccs_0", "*cmp<mode>_ccz_0",
2775 "*cmp<mode>_ccs_0_fastmath"): Basically change "*cmp<mode>_ccs_0" into
2776 "*cmp<mode>_ccz_0" and for fast math add "*cmp<mode>_ccs_0_fastmath".
2778 2020-09-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2781 * config/aarch64/arm_neon.h (vcls_u8, vcls_u16, vcls_u32,
2782 vclsq_u8, vclsq_u16, vclsq_u32): Define.
2784 2020-09-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2787 * config/aarch64/arm_neon.h (vceqq_p64, vceqz_p64, vceqzq_p64): Define.
2789 2020-09-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2792 * config/aarch64/arm_neon.h (vadd_p8, vadd_p16, vadd_p64, vaddq_p8,
2793 vaddq_p16, vaddq_p64, vaddq_p128): Define.
2795 2020-09-22 Jakub Jelinek <jakub@redhat.com>
2797 * params.opt (--param=modref-max-tests=): Fix typo in help text:
2798 perofmed -> performed.
2799 * common.opt: Fix typo: incrmeental -> incremental.
2800 * ipa-modref.c: Fix typos: recroding -> recording, becaue -> because,
2801 analsis -> analysis.
2802 (class modref_summaries): Fix typo: betweehn -> between.
2803 (analyze_call): Fix typo: calle -> callee.
2804 (read_modref_records): Fix typo: expcted -> expected.
2805 (pass_ipa_modref::execute): Fix typo: calle -> callee.
2807 2020-09-22 Jakub Jelinek <jakub@redhat.com>
2809 * common.opt (-fipa-modref): Add dot at the end of option help.
2810 * params.opt (--param=modref-max-tests=): Likewise.
2812 2020-09-21 Marek Polacek <polacek@redhat.com>
2814 * doc/invoke.texi: Document -Wctad-maybe-unsupported.
2816 2020-09-21 Richard Biener <rguenther@suse.de>
2818 PR tree-optimization/97139
2819 * tree-vect-slp.c (vect_bb_slp_mark_live_stmts): Only mark the
2820 pattern root, track visited vectorized stmts.
2822 2020-09-21 Jakub Jelinek <jakub@redhat.com>
2824 * configure.ac: Use mallinfo mallinfo2 as first operand of
2825 gcc_AC_CHECK_DECLS rather than [mallinfo, mallinfo2].
2826 * configure: Regenerated.
2827 * config.in: Regenerated.
2829 2020-09-21 Andrea Corallo <andrea.corallo@arm.com>
2831 * config/aarch64/aarch64-builtins.c
2832 (aarch64_general_expand_builtin): Use expand machinery not to
2833 alter the value of an rtx returned by force_reg.
2835 2020-09-21 Richard Biener <rguenther@suse.de>
2837 PR tree-optimization/97135
2838 * tree-ssa-loop-im.c (sm_seq_push_down): Do not ignore
2841 2020-09-21 Martin Liska <mliska@suse.cz>
2843 PR tree-optimization/96915
2844 * tree-switch-conversion.c (switch_conversion::expand): Accept
2845 also integer constants.
2847 2020-09-21 Martin Liska <mliska@suse.cz>
2849 * print-tree.c (print_node): Remove extra space.
2851 2020-09-21 Andrea Corallo <andrea.corallo@arm.com>
2854 * config/aarch64/aarch64-builtins.c
2855 (aarch64_expand_fpsr_fpcr_setter): Fix comment nit.
2856 (aarch64_expand_fpsr_fpcr_getter): New function, expand these
2857 getters using expand_insn machinery.
2858 (aarch64_general_expand_builtin): Make use of.
2860 2020-09-21 Martin Liska <mliska@suse.cz>
2862 * ggc-common.c (ggc_rlimit_bound): Use ONE_? macro.
2863 (ggc_min_expand_heuristic): Likewise.
2864 (ggc_min_heapsize_heuristic): Likewise.
2865 * ggc-page.c (ggc_collect): Likewise.
2866 * system.h (ONE_G): Likewise.
2868 2020-09-21 Martin Liska <mliska@suse.cz>
2870 * ggc-common.c (ggc_prune_overhead_list): Use SIZE_AMOUNT.
2871 * ggc-page.c (release_pages): Likewise.
2872 (ggc_collect): Likewise.
2873 (ggc_trim): Likewise.
2874 (ggc_grow): Likewise.
2875 * timevar.c (timer::print): Likewise.
2877 2020-09-21 Martin Liska <mliska@suse.cz>
2879 * config.in: Regenerate.
2880 * configure: Likewise.
2881 * configure.ac: Detect for mallinfo2.
2882 * ggc-common.c (defined): Use it.
2883 * system.h: Handle also HAVE_MALLINFO2.
2885 2020-09-20 John David Anglin < danglin@gcc.gnu.org>
2887 * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Delete.
2888 * config/pa/pa64-hpux.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
2889 (ENDFILE_SPEC): Link with libgcc_stub.a and mill.a.
2890 * config/pa/pa32-linux.h (ENDFILE_SPEC): Link with libgcc.a.
2892 2020-09-20 Jan Hubicka <hubicka@ucw.cz>
2894 * ipa-modref.c (dump_lto_records): Fix ICE.
2896 2020-09-20 David Cepelik <d@dcepelik.cz>
2897 Jan Hubicka <hubicka@ucw.cz>
2899 * Makefile.in: Add ipa-modref.c and ipa-modref-tree.c.
2900 * alias.c: (reference_alias_ptr_type_1): Export.
2901 * alias.h (reference_alias_ptr_type_1): Declare.
2902 * common.opt (fipa-modref): New.
2903 * gengtype.c (open_base_files): Add ipa-modref-tree.h and ipa-modref.h
2904 * ipa-modref-tree.c: New file.
2905 * ipa-modref-tree.h: New file.
2906 * ipa-modref.c: New file.
2907 * ipa-modref.h: New file.
2908 * lto-section-in.c (lto_section_name): Add ipa_modref.
2909 * lto-streamer.h (enum lto_section_type): Add LTO_section_ipa_modref.
2910 * opts.c (default_options_table): Enable ipa-modref at -O1+.
2911 * params.opt (-param=modref-max-bases, -param=modref-max-refs,
2912 -param=modref-max-tests): New params.
2913 * passes.def: Schedule pass_modref and pass_ipa_modref.
2914 * timevar.def (TV_IPA_MODREF): New timevar.
2915 (TV_TREE_MODREF): New timevar.
2916 * tree-pass.h (make_pass_modref): Declare.
2917 (make_pass_ipa_modref): Declare.
2918 * tree-ssa-alias.c (dump_alias_stats): Include ipa-modref-tree.h
2920 (alias_stats): Add modref_use_may_alias, modref_use_no_alias,
2921 modref_clobber_may_alias, modref_clobber_no_alias, modref_tests.
2922 (dump_alias_stats): Dump new stats.
2923 (nonoverlapping_array_refs_p): Fix formating.
2924 (modref_may_conflict): New function.
2925 (ref_maybe_used_by_call_p_1): Use it.
2926 (call_may_clobber_ref_p_1): Use it.
2927 (call_may_clobber_ref_p): Update.
2928 (stmt_may_clobber_ref_p_1): Update.
2929 * tree-ssa-alias.h (call_may_clobber_ref_p_1): Update.
2931 2020-09-19 Martin Sebor <msebor@redhat.com>
2937 * gimple-array-bounds.cc (get_base_decl): New function.
2938 (get_ref_size): New function.
2939 (trailing_array): New function.
2940 (array_bounds_checker::check_array_ref): Call them. Handle arrays
2941 declared in function parameters.
2942 (array_bounds_checker::check_mem_ref): Same. Handle references to
2943 dynamically allocated arrays.
2945 2020-09-19 Martin Sebor <msebor@redhat.com>
2948 * builtins.c (warn_for_access): Add argument. Distinguish between
2950 (check_access): Add argument. Distinguish between reads and writes.
2951 (gimple_call_alloc_size): Set range even on failure.
2952 (gimple_parm_array_size): New function.
2953 (compute_objsize): Call it.
2954 (check_memop_access): Pass check_access an additional argument.
2955 (expand_builtin_memchr, expand_builtin_strcat): Same.
2956 (expand_builtin_strcpy, expand_builtin_stpcpy_1): Same.
2957 (expand_builtin_stpncpy, check_strncat_sizes): Same.
2958 (expand_builtin_strncat, expand_builtin_strncpy): Same.
2959 (expand_builtin_memcmp): Same.
2960 * builtins.h (compute_objsize): Declare a new overload.
2961 (gimple_parm_array_size): Declare.
2962 (check_access): Add argument.
2963 * calls.c (append_attrname): Simplify.
2964 (maybe_warn_rdwr_sizes): Handle internal attribute access.
2965 * tree-ssa-uninit.c (maybe_warn_pass_by_reference): Avoid adding
2968 2020-09-19 Martin Sebor <msebor@redhat.com>
2970 * tree-ssa-uninit.c (maybe_warn_pass_by_reference): Handle attribute
2971 access internal representation of arrays.
2973 2020-09-19 Martin Sebor <msebor@redhat.com>
2976 * attribs.c (decl_attributes): Also pass decl along with type
2977 attributes to handlers.
2978 (init_attr_rdwr_indices): Change second argument to attribute chain.
2979 Handle internal attribute representation in addition to external.
2980 (get_parm_access): New function.
2981 (attr_access::to_internal_string): Define new member function.
2982 (attr_access::to_external_string): Define new member function.
2983 (attr_access::vla_bounds): Define new member function.
2984 * attribs.h (struct attr_access): Declare new members.
2985 (attr_access::from_mode_char): Define new member function.
2986 (get_parm_access): Declare new function.
2987 * calls.c (initialize_argument_information): Pass function type
2988 attributes to init_attr_rdwr_indices.
2989 * doc/invoke.texi (-Warray-parameter, -Wvla-parameter): Document.
2990 * tree-pretty-print.c (dump_generic_node): Correct handling of
2992 * tree-ssa-uninit.c (maybe_warn_pass_by_reference): Same.
2993 * tree.h (access_mode): Add new enumerator.
2995 2020-09-19 Sandra Loosemore <sandra@codesourcery.com>
2997 * doc/generic.texi (Basic Statements): Document SWITCH_EXPR here,
2999 (Statements for C and C++): Rename node to reflect what
3000 the introduction already says about sharing between C and C++
3001 front ends. Copy-edit and correct documentation for structured
3004 2020-09-19 liuhongt <hongtao.liu@intel.com>
3007 * config/i386/x86-tune-costs.h (skylake_cost): increase rtx
3008 cost of sse_to_integer from 2 to 6.
3010 2020-09-18 Sudi Das <sudi.das@arm.com>
3011 Omar Tahir <omar.tahir@arm.com>
3013 * config/arm/thumb2.md (*thumb2_csneg): New.
3014 (*thumb2_negscc): Don't match if TARGET_COND_ARITH.
3015 * config/arm/arm.md (*if_neg_move): Don't match if TARGET_COND_ARITH.
3017 2020-09-18 Sudi Das <sudi.das@arm.com>
3018 Omar Tahir <omar.tahir@arm.com>
3020 * config/arm/thumb2.md (*thumb2_csinc): New.
3021 (*thumb2_cond_arith): Generate CINC where possible.
3023 2020-09-18 Sudi Das <sudi.das@arm.com>
3024 Omar Tahir <omar.tahir@arm.com>
3026 * config/arm/arm.h (TARGET_COND_ARITH): New macro.
3027 * config/arm/arm.c (arm_have_conditional_execution): Return false if
3028 TARGET_COND_ARITH before reload.
3029 * config/arm/predicates.md (arm_comparison_operation): Returns true if
3030 comparing CC_REGNUM with constant zero.
3031 * config/arm/thumb2.md (*thumb2_csinv): New.
3032 (*thumb2_movcond): Don't match if TARGET_COND_ARITH.
3034 2020-09-18 Richard Sandiford <richard.sandiford@arm.com>
3037 * ira.c (ira_setup_eliminable_regset): Skip the special elimination
3038 handling of the hard frame pointer if the hard frame pointer is fixed.
3040 2020-09-18 Richard Biener <rguenther@suse.de>
3042 PR tree-optimization/97081
3043 * tree-vect-patterns.c (vect_recog_rotate_pattern): Use the
3044 precision of the shifted operand to determine the mask.
3046 2020-09-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3048 * config/msp430/msp430.c (msp430_print_operand): Update comment.
3049 Cast to long when printing values formatted as long.
3050 Support 'd', 'e', 'f' and 'g' modifiers.
3051 Extract operand value with a single operation for all modifiers.
3052 * doc/extend.texi (msp430Operandmodifiers): New.
3054 2020-09-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3056 * config/msp430/msp430.c (increment_stack): Mark insns which increment
3057 the stack as frame_related.
3058 (msp430_expand_prologue): Add comments.
3059 (msp430_expand_epilogue): Mark insns which decrement
3060 the stack as frame_related.
3061 Add reg_note to stack pop insns describing position of register
3062 variables on the stack.
3064 2020-09-18 Andrew Stubbs <ams@codesourcery.com>
3066 * config/gcn/gcn-tree.c (execute_omp_gcn): Delete.
3067 (make_pass_omp_gcn): Delete.
3068 * config/gcn/t-gcn-hsa (PASSES_EXTRA): Delete.
3069 * config/gcn/gcn-passes.def: Removed.
3071 2020-09-18 Alex Coplan <alex.coplan@arm.com>
3073 * cfgloop.h (nb_iter_bound): Reword comment describing is_exit.
3075 2020-09-18 Richard Biener <rguenther@suse.de>
3077 PR tree-optimization/97095
3078 * tree-vect-loop.c (vectorizable_live_operation): Get
3079 the SLP vector type from the correct object.
3081 2020-09-18 Richard Biener <rguenther@suse.de>
3083 PR tree-optimization/97089
3084 * tree-ssa-sccvn.c (visit_nary_op): Do not replace unsigned
3087 2020-09-18 Richard Biener <rguenther@suse.de>
3089 PR tree-optimization/97098
3090 * tree-vect-slp.c (vect_bb_slp_mark_live_stmts): Do not
3091 recurse to children when all stmts were already visited.
3093 2020-09-17 Sergei Trofimovich <siarheit@google.com>
3095 * profile.c (sort_hist_values): Clarify hist format:
3096 start with a value, not counter.
3098 2020-09-17 Yeting Kuo <fakepaper56@gmail.com>
3100 * config/riscv/riscv.h (CSW_MAX_OFFSET): Fix typo.
3102 2020-09-17 Patrick Palka <ppalka@redhat.com>
3105 * gensupport.c (alter_attrs_for_subst_insn) <case SET_ATTR>:
3106 Reduce indentation of misleadingly indented code fragment.
3107 * lra-constraints.c (multi_block_pseudo_p): Likewise.
3108 * sel-sched-ir.c (merge_fences): Likewise.
3110 2020-09-17 Martin Sebor <msebor@redhat.com>
3112 * doc/invoke.texi (-Wuninitialized): Document -Wuninitialized for
3114 (-Wmaybe-uninitialized): Same.
3116 2020-09-17 Richard Biener <rguenther@suse.de>
3118 * tree-ssa-sccvn.c (visit_nary_op): Value-number multiplications
3119 and divisions to negates of available negated forms.
3121 2020-09-17 Eric Botcazou <ebotcazou@adacore.com>
3124 * function.c (use_register_for_decl): Test cfun->tail_call_marked
3125 for a parameter here instead of...
3126 (assign_parm_setup_reg): ...here.
3128 2020-09-17 Aldy Hernandez <aldyh@redhat.com>
3130 * range-op.cc (multi_precision_range_tests): Normalize symbolics when copying to a
3132 * value-range.cc (irange::copy_legacy_range): Add test.
3134 2020-09-17 Jan Hubicka <jh@suse.cz>
3136 * cgraph.c (cgraph_node::get_availability): Fix availability of
3137 functions in other partitions
3138 * varpool.c (varpool_node::get_availability): Likewise.
3140 2020-09-17 Jojo R <jiejie_rong@c-sky.com>
3142 * config/csky/csky.opt (msim): New.
3143 * doc/invoke.texi (C-SKY Options): Document -msim.
3144 * config/csky/csky-elf.h (LIB_SPEC): Add simulator runtime.
3146 2020-09-17 Sergei Trofimovich <siarheit@google.com>
3148 * doc/cppenv.texi: Use @code{} instead of @samp{@command{}}
3151 2020-09-17 liuhongt <hongtao.liu@intel.com>
3153 * common/config/i386/i386-common.c
3154 (OPTION_MASK_ISA_AVX_UNSET): Remove OPTION_MASK_ISA_XSAVE_UNSET.
3155 (OPTION_MASK_ISA_XSAVE_UNSET): Add OPTION_MASK_ISA_AVX_UNSET.
3157 2020-09-16 Alexandre Oliva <oliva@adacore.com>
3159 * config/rs6000/rs6000.c (have_compare_and_set_mask): Use
3162 2020-09-16 Bill Schmidt <wschmidt@linux.ibm.com>
3164 * config/rs6000/predicates.md (current_file_function_operand):
3165 Remove argument from rs6000_pcrel_p call.
3166 * config/rs6000/rs6000-logue.c (rs6000_decl_ok_for_sibcall):
3168 (rs6000_global_entry_point_prologue_needed_p): Likewise.
3169 (rs6000_output_function_prologue): Likewise.
3170 * config/rs6000/rs6000-protos.h (rs6000_function_pcrel_p): New
3172 (rs6000_pcrel_p): Remove argument.
3173 * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Remove
3174 argument from rs6000_pcrel_p call.
3175 (rs6000_call_template_1): Likewise.
3176 (rs6000_indirect_call_template_1): Likewise.
3177 (rs6000_longcall_ref): Likewise.
3178 (rs6000_call_aix): Likewise.
3179 (rs6000_sibcall_aix): Likewise.
3180 (rs6000_function_pcrel_p): Rename from rs6000_pcrel_p.
3181 (rs6000_pcrel_p): Rewrite.
3182 * config/rs6000/rs6000.md (*pltseq_plt_pcrel<mode>): Remove
3183 argument from rs6000_pcrel_p call.
3184 (*call_local<mode>): Likewise.
3185 (*call_value_local<mode>): Likewise.
3186 (*call_nonlocal_aix<mode>): Likewise.
3187 (*call_value_nonlocal_aix<mode>): Likewise.
3188 (*call_indirect_pcrel<mode>): Likewise.
3189 (*call_value_indirect_pcrel<mode>): Likewise.
3191 2020-09-16 Marek Polacek <polacek@redhat.com>
3193 PR preprocessor/96935
3194 * input.c (get_substring_ranges_for_loc): Return if start.column
3197 2020-09-16 Martin Sebor <msebor@redhat.com>
3200 * tree-ssa-uninit.c (maybe_warn_operand): Work harder to avoid
3201 warning for objects of empty structs
3203 2020-09-16 Eric Botcazou <ebotcazou@adacore.com>
3205 * tree-eh.c (lower_try_finally_dup_block): Backward propagate slocs
3206 to stack restore builtin calls.
3207 (cleanup_all_empty_eh): Do again a post-order traversal of the EH
3210 2020-09-16 Andrea Corallo <andrea.corallo@arm.com>
3212 * tree-vect-loop.c (vect_need_peeling_or_partial_vectors_p): New
3214 (vect_analyze_loop_2): Make use of it not to select partial
3215 vectors if no peel is required.
3216 (determine_peel_for_niter): Move out some logic into
3217 'vect_need_peeling_or_partial_vectors_p'.
3219 2020-09-16 H.J. Lu <hjl.tools@gmail.com>
3222 * cfgexpand.c (asm_clobber_reg_kind): Set sp_is_clobbered_by_asm
3223 to true if the stack pointer is clobbered by asm statement.
3224 * emit-rtl.h (rtl_data): Add sp_is_clobbered_by_asm.
3225 * config/i386/i386.c (ix86_get_drap_rtx): Set need_drap to true
3226 if the stack pointer is clobbered by asm statement.
3228 2020-09-16 Ilya Leoshkevich <iii@linux.ibm.com>
3230 * config/s390/vector.md(*vec_tf_to_v1tf): Use "f" instead of "v"
3231 for the source operand.
3233 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
3235 * config.gcc (C-SKY): Set use_gcc_stdint=wrap for elf target.
3237 2020-09-16 Richard Biener <rguenther@suse.de>
3239 * tree-vectorizer.h (_stmt_vec_info::num_slp_uses): Remove.
3240 (STMT_VINFO_NUM_SLP_USES): Likewise.
3241 (vect_free_slp_instance): Adjust.
3242 (vect_update_shared_vectype): Declare.
3243 * tree-vectorizer.c (vec_info::~vec_info): Adjust.
3244 * tree-vect-loop.c (vect_analyze_loop_2): Likewise.
3245 (vectorizable_live_operation): Use vector type from
3246 SLP_TREE_REPRESENTATIVE.
3247 (vect_transform_loop): Adjust.
3248 * tree-vect-data-refs.c (vect_slp_analyze_node_alignment):
3249 Set the shared vector type.
3250 * tree-vect-slp.c (vect_free_slp_tree): Remove final_p
3251 parameter, remove STMT_VINFO_NUM_SLP_USES updating.
3252 (vect_free_slp_instance): Adjust.
3253 (vect_create_new_slp_node): Remove STMT_VINFO_NUM_SLP_USES
3255 (vect_update_shared_vectype): Always compare with the
3256 present vector type, update if NULL.
3257 (vect_build_slp_tree_1): Do not update the shared vector
3259 (vect_build_slp_tree_2): Adjust.
3260 (slp_copy_subtree): Likewise.
3261 (vect_attempt_slp_rearrange_stmts): Likewise.
3262 (vect_analyze_slp_instance): Likewise.
3263 (vect_analyze_slp): Likewise.
3264 (vect_slp_analyze_node_operations_1): Update the shared
3266 (vect_slp_analyze_operations): Adjust.
3267 (vect_slp_analyze_bb_1): Likewise.
3269 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
3271 * config/csky/t-csky-linux (CSKY_MULTILIB_OSDIRNAMES): Use mfloat-abi.
3272 (MULTILIB_OPTIONS): Likewise.
3273 * config/csky/t-csky-elf (MULTILIB_OPTIONS): Likewise.
3274 (MULTILIB_EXCEPTIONS): Likewise.
3276 2020-09-16 Jakub Jelinek <jakub@redhat.com>
3278 * config/arm/arm.c (arm_option_restore): Comment out opts argument
3279 name to avoid unused parameter warnings.
3281 2020-09-16 Jakub Jelinek <jakub@redhat.com>
3283 * optc-save-gen.awk: In cl_optimization_stream_out use
3284 bp_pack_var_len_{int,unsigned} instead of bp_pack_value. In
3285 cl_optimization_stream_in use bp_unpack_var_len_{int,unsigned}
3286 instead of bp_unpack_value. Formatting fix.
3288 2020-09-16 Jakub Jelinek <jakub@redhat.com>
3290 PR tree-optimization/97053
3291 * gimple-ssa-store-merging.c (check_no_overlap): Add FIRST_ORDER,
3292 START, FIRST_EARLIER and LAST_EARLIER arguments. Return false if
3293 any stores between FIRST_EARLIER inclusive and LAST_EARLIER exclusive
3294 has order in between FIRST_ORDER and LAST_ORDER and overlaps the to
3296 (imm_store_chain_info::try_coalesce_bswap): Add FIRST_EARLIER argument.
3297 Adjust check_no_overlap caller.
3298 (imm_store_chain_info::coalesce_immediate_stores): Add first_earlier
3299 and last_earlier variables, adjust them during iterations. Adjust
3300 check_no_overlap callers, call check_no_overlap even when extending
3301 overlapping stores by extra INTEGER_CST stores.
3303 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
3305 * config/csky/csky-linux-elf.h (GLIBC_DYNAMIC_LINKER): Use mfloat-abi.
3307 2020-09-16 Kewen Lin <linkw@linux.ibm.com>
3310 * config/rs6000/rs6000-p8swap.c (find_alignment_op): Adjust to
3311 support multiple defintions which are all AND operations with
3313 (recombine_lvx_pattern): Adjust to handle multiple AND operations
3314 from find_alignment_op.
3315 (recombine_stvx_pattern): Likewise.
3317 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
3319 * config/csky/csky.md (CSKY_NPARM_FREGS): New.
3320 (call_value_internal_vs/d): New.
3321 (untyped_call): New.
3322 * config/csky/csky.h (TARGET_SINGLE_FPU): New.
3323 (TARGET_DOUBLE_FPU): New.
3324 (FUNCTION_VARG_REGNO_P): New.
3325 (CSKY_VREG_MODE_P): New.
3326 (FUNCTION_VARG_MODE_P): New.
3327 (CUMULATIVE_ARGS): Add extra regs info.
3328 (INIT_CUMULATIVE_ARGS): Use csky_init_cumulative_args.
3329 (FUNCTION_ARG_REGNO_P): Use FUNCTION_VARG_REGNO_P.
3330 * config/csky/csky-protos.h (csky_init_cumulative_args): Extern.
3331 * config/csky/csky.c (csky_cpu_cpp_builtins): Support TARGET_HARD_FLOAT_ABI.
3332 (csky_function_arg): Likewise.
3333 (csky_num_arg_regs): Likewise.
3334 (csky_function_arg_advance): Likewise.
3335 (csky_function_value): Likewise.
3336 (csky_libcall_value): Likewise.
3337 (csky_function_value_regno_p): Likewise.
3338 (csky_arg_partial_bytes): Likewise.
3339 (csky_setup_incoming_varargs): Likewise.
3340 (csky_init_cumulative_args): New.
3342 2020-09-16 Bill Schmidt <wschmidt@linux.ibm.com>
3344 * config/rs6000/rs6000-call.c (altivec_init_builtins): Fix name
3345 of __builtin_altivec_xst_len_r.
3347 2020-09-15 Ilya Leoshkevich <iii@linux.ibm.com>
3349 * rtlanal.c (set_noop_p): Treat subregs of registers in
3350 different modes conservatively.
3352 2020-09-15 Richard Biener <rguenther@suse.de>
3354 * tree-vect-slp.c (vect_get_and_check_slp_defs): Make swap
3355 argument by-value and do not change it.
3356 (vect_build_slp_tree_2): Adjust, set swap to NULL after last
3359 2020-09-15 Feng Xue <fxue@os.amperecomputing.com>
3361 PR tree-optimization/94234
3362 * match.pd (T)(A) +- (T)(B) -> (T)(A +- B): New simplification.
3364 2020-09-15 Segher Boessenkool <segher@kernel.crashing.org>
3366 PR rtl-optimization/96475
3367 * bb-reorder.c (duplicate_computed_gotos): If we did anything, run
3370 2020-09-15 Richard Biener <rguenther@suse.de>
3372 * tree-vect-slp.c (vect_build_slp_tree_2): Also consider
3373 building an operand from scalars when building it did not
3374 fail fatally but avoid messing with the upcall splitting
3377 2020-09-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
3379 * config/arm/arm.c (arm_options_perform_arch_sanity_checks): Do not
3380 check +D32 for CMSE if -mfloat-abi=soft
3382 2020-09-15 liuhongt <hongtao.liu@intel.com>
3385 * config/i386/x86-tune-costs.h (struct processor_costs):
3386 Increase mask <-> integer cost for non AVX512 target to avoid
3387 spill gpr to mask. Also retune mask <-> integer and
3388 mask_load/store for skylake_cost.
3390 2020-09-15 Jakub Jelinek <jakub@redhat.com>
3393 * config/i386/sse.md (mul<mode>3<mask_name>_bcs,
3394 <avx512>_div<mode>3<mask_name>_bcst): Use <avx512bcst> instead of
3397 2020-09-15 Tobias Burnus <tobias@codesourcery.com>
3400 * gimplify.c (gimplify_omp_for): Add 'bool openacc' argument;
3401 update omp_finish_clause calls.
3402 (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses,
3403 gimplify_expr, gimplify_omp_loop): Update omp_finish_clause
3404 and/or gimplify_for calls.
3405 * langhooks-def.h (lhd_omp_finish_clause): Add bool openacc arg.
3406 * langhooks.c (lhd_omp_finish_clause): Likewise.
3407 * langhooks.h (lhd_omp_finish_clause): Likewise.
3408 * omp-low.c (scan_sharing_clauses): Keep GOMP_MAP_TO_PSET cause for
3409 'declare target' vars.
3411 2020-09-15 Feng Xue <fxue@os.amperecomputing.com>
3413 PR tree-optimization/94234
3414 * genmatch.c (dt_simplify::gen_1): Emit check on final simplification
3415 result when "!" is specified on toplevel output expr.
3416 * match.pd ((A * C) +- (B * C) -> (A +- B) * C): Allow folding on expr
3417 with multi-use operands if final result is a simple gimple value.
3419 2020-09-14 Sergei Trofimovich <siarheit@google.com>
3421 * doc/invoke.texi: fix '-fprofile-reproducibility' option
3424 2020-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3426 * config/bpf/bpf.md ("nop"): Re-define as `ja 0'.
3428 2020-09-14 Eric Botcazou <ebotcazou@adacore.com>
3430 * cgraphunit.c (cgraph_node::expand_thunk): Make sure to set
3431 cfun->tail_call_marked when forcing a tail call.
3432 * function.c (assign_parm_setup_reg): Always use a register to
3433 load a parameter passed by reference if cfun->tail_call_marked.
3435 2020-09-14 Pat Haugen <pthaugen@linux.ibm.com>
3437 * config/rs6000/power10.md (power10-mffgpr, power10-mftgpr): Rename to
3438 power10-mtvsr/power10-mfvsr.
3439 * config/rs6000/power6.md (X2F_power6, power6-mftgpr, power6-mffgpr):
3441 * config/rs6000/power8.md (power8-mffgpr, power8-mftgpr): Rename to
3442 power8-mtvsr/power8-mfvsr.
3443 * config/rs6000/power9.md (power9-mffgpr, power9-mftgpr): Rename to
3444 power9-mtvsr/power9-mfvsr.
3445 * config/rs6000/rs6000.c (rs6000_adjust_cost): Remove Power6
3447 * config/rs6000/rs6000.md (mffgpr, mftgpr, zero_extendsi<mode>2,
3448 extendsi<mode>2, @signbit<mode>2_dm, lfiwax, lfiwzx, *movsi_internal1,
3449 movsi_from_sf, *movdi_from_sf_zero_ext, *mov<mode>_internal,
3450 movsd_hardfloat, movsf_from_si, *mov<mode>_hardfloat64, p8_mtvsrwz,
3451 p8_mtvsrd_df, p8_mtvsrd_sf, p8_mfvsrd_3_<mode>, *movdi_internal64,
3452 unpack<mode>_dm): Rename mffgpr/mftgpr to mtvsr/mfvsr.
3453 * config/rs6000/vsx.md (vsx_mov<mode>_64bit, vsx_extract_<mode>,
3454 vsx_extract_si, *vsx_extract_<mode>_p8): Likewise.
3456 2020-09-14 Jakub Jelinek <jakub@redhat.com>
3458 * config/arm/arm.opt (x_arm_arch_string, x_arm_cpu_string,
3459 x_arm_tune_string): Remove TargetSave entries.
3460 (march=, mcpu=, mtune=): Add Save keyword.
3461 * config/arm/arm.c (arm_option_save): Remove.
3462 (TARGET_OPTION_SAVE): Don't redefine.
3463 (arm_option_restore): Don't restore x_arm_*_string here.
3465 2020-09-14 Jakub Jelinek <jakub@redhat.com>
3467 * opt-read.awk: Also initialize extra_target_var_types array.
3468 * opth-gen.awk: Emit explicit_mask arrays to struct cl_optimization
3469 and cl_target_option. Adjust cl_optimization_save,
3470 cl_optimization_restore, cl_target_option_save and
3471 cl_target_option_restore declarations.
3472 * optc-save-gen.awk: Add opts_set argument to cl_optimization_save,
3473 cl_optimization_restore, cl_target_option_save and
3474 cl_target_option_restore functions and save or restore opts_set
3475 next to the opts values into or from explicit_mask arrays.
3476 In cl_target_option_eq and cl_optimization_option_eq compare
3477 explicit_mask arrays, in cl_target_option_hash and cl_optimization_hash
3478 hash them and in cl_target_option_stream_out,
3479 cl_target_option_stream_in, cl_optimization_stream_out and
3480 cl_optimization_stream_in stream them.
3481 * tree.h (build_optimization_node, build_target_option_node): Add
3483 * tree.c (build_optimization_node): Add opts_set argument, pass it
3484 to cl_optimization_save.
3485 (build_target_option_node): Add opts_set argument, pass it to
3486 cl_target_option_save.
3487 * function.c (invoke_set_current_function_hook): Adjust
3488 cl_optimization_restore caller.
3489 * ipa-inline-transform.c (inline_call): Adjust cl_optimization_restore
3490 and build_optimization_node callers.
3491 * target.def (TARGET_OPTION_SAVE, TARGET_OPTION_RESTORE): Add opts_set
3493 * target-globals.c (save_target_globals_default_opts): Adjust
3494 cl_optimization_restore callers.
3495 * toplev.c (process_options): Adjust build_optimization_node and
3496 cl_optimization_restore callers.
3497 (target_reinit): Adjust cl_optimization_restore caller.
3498 * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers):
3499 Adjust build_optimization_node and cl_optimization_restore callers.
3500 * doc/tm.texi: Updated.
3501 * config/aarch64/aarch64.c (aarch64_override_options): Adjust
3502 build_target_option_node caller.
3503 (aarch64_option_save, aarch64_option_restore): Add opts_set argument.
3504 (aarch64_set_current_function): Adjust cl_target_option_restore
3506 (aarch64_option_valid_attribute_p): Adjust cl_target_option_save,
3507 cl_target_option_restore, cl_optimization_restore,
3508 build_optimization_node and build_target_option_node callers.
3509 * config/aarch64/aarch64-c.c (aarch64_pragma_target_parse): Adjust
3510 cl_target_option_restore and build_target_option_node callers.
3511 * config/arm/arm.c (arm_option_save, arm_option_restore): Add
3513 (arm_option_override): Adjust cl_target_option_save,
3514 build_optimization_node and build_target_option_node callers.
3515 (arm_set_current_function): Adjust cl_target_option_restore caller.
3516 (arm_valid_target_attribute_tree): Adjust build_target_option_node
3518 (add_attribute): Formatting fix.
3519 (arm_valid_target_attribute_p): Adjust cl_optimization_restore,
3520 cl_target_option_restore, arm_valid_target_attribute_tree and
3521 build_optimization_node callers.
3522 * config/arm/arm-c.c (arm_pragma_target_parse): Adjust
3523 cl_target_option_restore callers.
3524 * config/csky/csky.c (csky_option_override): Adjust
3525 build_target_option_node and cl_target_option_save callers.
3526 * config/gcn/gcn.c (gcn_fixup_accel_lto_options): Adjust
3527 build_optimization_node and cl_optimization_restore callers.
3528 * config/i386/i386-builtins.c (get_builtin_code_for_version):
3529 Adjust cl_target_option_save and cl_target_option_restore
3531 * config/i386/i386-c.c (ix86_pragma_target_parse): Adjust
3532 build_target_option_node and cl_target_option_restore callers.
3533 * config/i386/i386-options.c (ix86_function_specific_save,
3534 ix86_function_specific_restore): Add opts_set arguments.
3535 (ix86_valid_target_attribute_tree): Adjust build_target_option_node
3537 (ix86_valid_target_attribute_p): Adjust build_optimization_node,
3538 cl_optimization_restore, cl_target_option_restore,
3539 ix86_valid_target_attribute_tree and build_optimization_node callers.
3540 (ix86_option_override_internal): Adjust build_target_option_node
3542 (ix86_reset_previous_fndecl, ix86_set_current_function): Adjust
3543 cl_target_option_restore callers.
3544 * config/i386/i386-options.h (ix86_function_specific_save,
3545 ix86_function_specific_restore): Add opts_set argument.
3546 * config/nios2/nios2.c (nios2_option_override): Adjust
3547 build_target_option_node caller.
3548 (nios2_option_save, nios2_option_restore): Add opts_set argument.
3549 (nios2_valid_target_attribute_tree): Adjust build_target_option_node
3551 (nios2_valid_target_attribute_p): Adjust build_optimization_node,
3552 cl_optimization_restore, cl_target_option_save and
3553 cl_target_option_restore callers.
3554 (nios2_set_current_function, nios2_pragma_target_parse): Adjust
3555 cl_target_option_restore callers.
3556 * config/pru/pru.c (pru_option_override): Adjust
3557 build_target_option_node caller.
3558 (pru_set_current_function): Adjust cl_target_option_restore
3560 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Adjust
3561 cl_target_option_save caller.
3562 (rs6000_option_override_internal): Adjust build_target_option_node
3564 (rs6000_valid_attribute_p): Adjust build_optimization_node,
3565 cl_optimization_restore, cl_target_option_save,
3566 cl_target_option_restore and build_target_option_node callers.
3567 (rs6000_pragma_target_parse): Adjust cl_target_option_restore and
3568 build_target_option_node callers.
3569 (rs6000_activate_target_options): Adjust cl_target_option_restore
3571 (rs6000_function_specific_save, rs6000_function_specific_restore):
3572 Add opts_set argument.
3573 * config/s390/s390.c (s390_function_specific_restore): Likewise.
3574 (s390_option_override_internal): Adjust s390_function_specific_restore
3576 (s390_option_override, s390_valid_target_attribute_tree): Adjust
3577 build_target_option_node caller.
3578 (s390_valid_target_attribute_p): Adjust build_optimization_node,
3579 cl_optimization_restore and cl_target_option_restore callers.
3580 (s390_activate_target_options): Adjust cl_target_option_restore
3582 * config/s390/s390-c.c (s390_cpu_cpp_builtins): Adjust
3583 cl_target_option_save caller.
3584 (s390_pragma_target_parse): Adjust build_target_option_node and
3585 cl_target_option_restore callers.
3587 2020-09-13 Roger Sayle <roger@nextmovesoftware.com>
3589 * config/pa/pa.c (hppa_rtx_costs) [ASHIFT, ASHIFTRT, LSHIFTRT]:
3590 Provide accurate costs for DImode shifts of integer constants.
3592 2020-09-12 Roger Sayle <roger@nextmovesoftware.com>
3593 John David Anglin <danglin@gcc.gnu.org>
3595 * config/pa/pa.md (shrpsi4_1, shrpsi4_2): New define_insns split
3596 out from previous shrpsi4 providing two commutitive variants using
3597 plus_xor_ior_operator as a predicate.
3598 (shrpdi4_1, shrpdi4_2, shrpdi_3, shrpdi_4): Likewise DImode versions
3599 where _1 and _2 take register shifts, and _3 and _4 for integers.
3600 (rotlsi3_internal): Name this anonymous instruction.
3601 (rotrdi3): New DImode insn copied from rotrsi3.
3602 (rotldi3): New DImode expander copied from rotlsi3.
3603 (rotldi4_internal): New DImode insn copied from rotsi3_internal.
3605 2020-09-11 Michael Meissner <meissner@linux.ibm.com>
3607 * config/rs6000/rs6000.c (rs6000_maybe_emit_maxc_minc): Rename
3608 from rs6000_emit_p9_fp_minmax. Change return type to bool. Add
3609 comments to document NaN/signed zero behavior.
3610 (rs6000_maybe_emit_fp_cmove): Rename from rs6000_emit_p9_fp_cmove.
3611 (have_compare_and_set_mask): New helper function.
3612 (rs6000_emit_cmove): Update calls to new names and the new helper
3615 2020-09-11 Nathan Sidwell <nathan@acm.org>
3617 * config/i386/sse.md (mov<mode>): Fix operand indices.
3619 2020-09-11 Martin Sebor <msebor@redhat.com>
3622 * builtins.c (compute_objsize): Remove incorrect offset adjustment.
3623 (compute_objsize): Adjust offset range here instead.
3625 2020-09-11 Richard Biener <rguenther@suse.de>
3627 PR tree-optimization/97020
3628 * tree-vect-slp.c (vect_slp_analyze_operations): Apply
3629 SLP costs when doing loop vectorization.
3631 2020-09-11 Tom de Vries <tdevries@suse.de>
3634 * config/nvptx/nvptx.md (define_expand "atomic_test_and_set"): New
3637 2020-09-11 Andrew Stubbs <ams@codesourcery.com>
3639 * config/gcn/gcn.c (gcn_hard_regno_mode_ok): Align TImode registers.
3640 * config/gcn/gcn.md: Assert that TImode registers do not early clobber.
3642 2020-09-11 Richard Biener <rguenther@suse.de>
3644 * tree-vectorizer.h (_slp_instance::location): New method.
3645 (vect_schedule_slp): Adjust prototype.
3646 * tree-vectorizer.c (vec_info::remove_stmt): Adjust
3647 the BB region begin if we removed the stmt it points to.
3648 * tree-vect-loop.c (vect_transform_loop): Adjust.
3649 * tree-vect-slp.c (_slp_instance::location): Implement.
3650 (vect_analyze_slp_instance): For BB vectorization set
3651 vect_location to that of the instance.
3652 (vect_slp_analyze_operations): Likewise.
3653 (vect_bb_vectorization_profitable_p): Remove wrapper.
3654 (vect_slp_analyze_bb_1): Remove cost check here.
3655 (vect_slp_region): Cost check and code generate subgraphs separately,
3656 report optimized locations and missed optimizations due to
3657 profitability for each of them.
3658 (vect_schedule_slp): Get the vector of SLP graph entries to
3659 vectorize as argument.
3661 2020-09-11 Richard Biener <rguenther@suse.de>
3663 PR tree-optimization/97013
3664 * tree-vect-slp.c (vect_slp_analyze_bb_1): Remove duplicate dumping.
3666 2020-09-11 Richard Biener <rguenther@suse.de>
3668 * tree-vect-slp.c (vect_build_slp_tree_1): Check vector
3669 types for all lanes are compatible.
3670 (vect_analyze_slp_instance): Appropriately check for stores.
3671 (vect_schedule_slp): Likewise.
3673 2020-09-11 Tom de Vries <tdevries@suse.de>
3675 * config/nvptx/nvptx.c (nvptx_assemble_value): Fix undefined
3678 2020-09-11 Tom de Vries <tdevries@suse.de>
3680 * config/nvptx/nvptx.c (nvptx_assemble_value): Handle negative
3683 2020-09-11 Aaron Sawdey <acsawdey@linux.ibm.com>
3685 * config/rs6000/rs6000.c (rs6000_option_override_internal):
3688 2020-09-10 Michael Meissner <meissner@linux.ibm.com>
3690 * config/rs6000/rs6000-protos.h (rs6000_emit_cmove): Change return
3692 (rs6000_emit_int_cmove): Change return type to bool.
3693 * config/rs6000/rs6000.c (rs6000_emit_cmove): Change return type
3695 (rs6000_emit_int_cmove): Change return type to bool.
3697 2020-09-10 Tom de Vries <tdevries@suse.de>
3700 * config/nvptx/nvptx.c (nvptx_assemble_value): Handle shift by
3701 number of bits in shift operand.
3703 2020-09-10 Jakub Jelinek <jakub@redhat.com>
3705 * lto-streamer-out.c (collect_block_tree_leafs): Recurse on
3706 root rather than BLOCK_SUBBLOCKS (root).
3708 2020-09-10 Alex Coplan <alex.coplan@arm.com>
3710 * config/aarch64/aarch64-cores.def: Add Cortex-R82.
3711 * config/aarch64/aarch64-tune.md: Regenerate.
3712 * doc/invoke.texi: Add entry for Cortex-R82.
3714 2020-09-10 Alex Coplan <alex.coplan@arm.com>
3716 * common/config/aarch64/aarch64-common.c
3717 (aarch64_get_extension_string_for_isa_flags): Don't force +crc for
3719 * config/aarch64/aarch64-arches.def: Add entry for Armv8-R.
3720 * config/aarch64/aarch64-c.c (aarch64_define_unconditional_macros): Set
3721 __ARM_ARCH_PROFILE correctly for Armv8-R.
3722 * config/aarch64/aarch64.h (AARCH64_FL_V8_R): New.
3723 (AARCH64_FL_FOR_ARCH8_R): New.
3724 (AARCH64_ISA_V8_R): New.
3725 * doc/invoke.texi: Add Armv8-R to architecture table.
3727 2020-09-10 Jakub Jelinek <jakub@redhat.com>
3729 * config/arm/arm.c (arm_override_options_after_change_1): Add opts_set
3730 argument, test opts_set->x_str_align_functions rather than
3731 opts->x_str_align_functions.
3732 (arm_override_options_after_change, arm_option_override_internal,
3733 arm_set_current_function): Adjust callers.
3735 2020-09-10 Jakub Jelinek <jakub@redhat.com>
3738 * config/arm/arm.c (arm_override_options_after_change): Don't call
3739 arm_configure_build_target here.
3740 (arm_set_current_function): Call arm_override_options_after_change_1
3743 2020-09-10 Pat Haugen <pthaugen@linux.ibm.com>
3745 * config/rs6000/rs6000.md
3746 (lfiwzx, floatunssi<mode>2_lfiwzx, p8_mtvsrwz, p8_mtvsrd_sf): Fix insn
3748 * config/rs6000/vsx.md
3749 (vsx_concat_<mode>, vsx_splat_<mode>_reg, vsx_splat_v4sf): Likewise.
3751 2020-09-10 Jonathan Yong <10walls@gmail.com>
3753 * config.host: Adjust plugin name for Windows.
3755 2020-09-10 Tom de Vries <tdevries@suse.de>
3757 PR tree-optimization/97000
3758 * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): Don't clear
3759 flag for IFN_UNIQUE.
3761 2020-09-10 Jakub Jelinek <jakub@redhat.com>
3764 * lto-streamer.h (struct output_block): Add emit_pwd member.
3765 * lto-streamer-out.c: Include toplev.h.
3766 (clear_line_info): Set emit_pwd.
3767 (lto_output_location_1): Encode the ob->current_file != xloc.file
3768 bit directly into the location number. If changing file, emit
3769 additionally a bit whether pwd is emitted and emit it before the
3770 first relative pathname since clear_line_info.
3771 (output_function, output_constructor): Don't call clear_line_info
3773 * lto-streamer-in.c (struct string_pair_map): New type.
3774 (struct string_pair_map_hasher): New type.
3775 (string_pair_map_hasher::hash): New method.
3776 (string_pair_map_hasher::equal): New method.
3777 (path_name_pair_hash_table, string_pair_map_allocator): New variables.
3778 (relative_path_prefix, canon_relative_path_prefix,
3779 canon_relative_file_name): New functions.
3780 (canon_file_name): Add relative_prefix argument, if non-NULL
3781 and string is a relative path, return canon_relative_file_name.
3782 (lto_location_cache::input_location_and_block): Decode file change
3783 bit from the location number. If changing file, unpack bit whether
3784 pwd is streamed and stream in pwd. Adjust canon_file_name caller.
3785 (lto_free_file_name_hash): Delete path_name_pair_hash_table
3786 and string_pair_map_allocator.
3788 2020-09-10 Richard Biener <rguenther@suse.de>
3790 PR tree-optimization/96043
3791 * tree-vectorizer.h (_slp_instance::cost_vec): New.
3792 (_slp_instance::subgraph_entries): Likewise.
3793 (BB_VINFO_TARGET_COST_DATA): Remove.
3794 * tree-vect-slp.c (vect_free_slp_instance): Free
3795 cost_vec and subgraph_entries.
3796 (vect_analyze_slp_instance): Initialize them.
3797 (vect_slp_analyze_operations): Defer passing costs to
3798 the target, instead record them in the SLP graph entry.
3799 (get_ultimate_leader): New helper for graph partitioning.
3800 (vect_bb_partition_graph_r): Likewise.
3801 (vect_bb_partition_graph): New function to partition the
3802 SLP graph into independently costable parts.
3803 (vect_bb_vectorization_profitable_p): Adjust to work on
3805 (vect_bb_vectorization_profitable_p): New wrapper,
3806 discarding non-profitable vectorization of subgraphs.
3807 (vect_slp_analyze_bb_1): Call vect_bb_partition_graph before
3810 2020-09-09 David Malcolm <dmalcolm@redhat.com>
3813 * doc/invoke.texi: Document -Wanalyzer-mismatching-deallocation.
3815 2020-09-09 Segher Boessenkool <segher@kernel.crashing.org>
3817 PR rtl-optimization/96475
3818 * bb-reorder.c (maybe_duplicate_computed_goto): Remove single_pred_p
3821 2020-09-09 Tom de Vries <tdevries@suse.de>
3823 * config/nvptx/nvptx.c (nvptx_assemble_decl_begin): Fix Wformat
3826 2020-09-09 Richard Biener <rguenther@suse.de>
3828 * tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Do
3829 nothing when the permutation doesn't permute.
3831 2020-09-09 Tom de Vries <tdevries@suse.de>
3834 * config/nvptx/nvptx.c (write_fn_proto): Fix boolean type check.
3836 2020-09-09 Richard Biener <rguenther@suse.de>
3838 * tree-vect-stmts.c (vectorizable_comparison): Allow
3839 STMT_VINFO_LIVE_P stmts.
3841 2020-09-09 Richard Biener <rguenther@suse.de>
3843 * tree-vect-stmts.c (vectorizable_condition): Allow
3844 STMT_VINFO_LIVE_P stmts.
3846 2020-09-09 Richard Biener <rguenther@suse.de>
3848 PR tree-optimization/96978
3849 * tree-vect-stmts.c (vectorizable_condition): Do not
3850 look at STMT_VINFO_LIVE_P for BB vectorization.
3851 (vectorizable_comparison): Likewise.
3853 2020-09-09 liuhongt <hongtao.liu@intel.com>
3856 * config/i386/i386.md (get_thread_pointer<mode>): New
3859 2020-09-08 Julian Brown <julian@codesourcery.com>
3861 * config/gcn/gcn-valu.md (scatter<mode>_insn_1offset_ds<exec_scatter>):
3863 * config/gcn/gcn.md (*mov<mode>_insn, *movti_insn): Add waitcnt to
3864 ds_write alternatives.
3866 2020-09-08 Julian Brown <julian@codesourcery.com>
3868 * config/gcn/mkoffload.c (process_asm): Initialise regcount. Update
3869 scanning for SGPR/VGPR usage for HSACO v3.
3871 2020-09-08 Aldy Hernandez <aldyh@redhat.com>
3873 PR tree-optimization/96967
3874 * tree-vrp.c (find_case_label_range): Cast label range to
3875 type of switch operand.
3877 2020-09-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3879 * config/msp430/msp430.c (msp430_file_end): Fix jumbled
3880 HAVE_AS_MSPABI_ATTRIBUTE and HAVE_AS_GNU_ATTRIBUTE checks.
3881 * configure: Regenerate.
3882 * configure.ac: Use ".mspabi_attribute 4,2" to check for assembler
3883 support for this object attribute directive.
3885 2020-09-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3887 * common/config/msp430/msp430-common.c (msp430_handle_option): Remove
3889 Set target_cpu value to new enum values when parsing certain -mmcu=
3891 * config/msp430/msp430-opts.h (enum msp430_cpu_types): New.
3892 * config/msp430/msp430.c (msp430_option_override): Handle new
3893 target_cpu enum values.
3894 Set target_cpu using extracted value for given MCU when -mcpu=
3895 option is not passed by the user.
3896 * config/msp430/msp430.opt: Handle -mcpu= values using enums.
3898 2020-09-07 Richard Sandiford <richard.sandiford@arm.com>
3900 PR rtl-optimization/96796
3901 * lra-constraints.c (in_class_p): Add a default-false
3902 allow_all_reload_class_changes_p parameter. Do not treat
3903 reload moves specially when the parameter is true.
3904 (get_reload_reg): Try to narrow the class of an existing OP_OUT
3905 reload if we're reloading a reload pseudo in a reload instruction.
3907 2020-09-07 Andrea Corallo <andrea.corallo@arm.com>
3909 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Revert
3910 dead-code removal introduced by 09fa6acd8d9 + add a comment to
3913 2020-09-07 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3915 * doc/rtl.texi (subreg): Fix documentation to state there is a known
3916 number of undefined bits in regs and subregs of MODE_PARTIAL_INT modes.
3918 2020-09-07 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3920 * config/msp430/msp430.c (msp430_option_override): Don't set the
3921 ISA to 430 when the MCU is unrecognized.
3923 2020-09-07 Iain Sandoe <iain@sandoe.co.uk>
3925 * config/darwin.c (darwin_libc_has_function): Report sincos
3926 available from 10.9.
3928 2020-09-07 Alex Coplan <alex.coplan@arm.com>
3930 * config/aarch64/aarch64.md (*adds_mul_imm_<mode>): Delete.
3931 (*subs_mul_imm_<mode>): Delete.
3932 (*adds_<optab><mode>_multp2): Delete.
3933 (*subs_<optab><mode>_multp2): Delete.
3934 (*add_mul_imm_<mode>): Delete.
3935 (*add_<optab><ALLX:mode>_mult_<GPI:mode>): Delete.
3936 (*add_<optab><SHORT:mode>_mult_si_uxtw): Delete.
3937 (*add_<optab><mode>_multp2): Delete.
3938 (*add_<optab>si_multp2_uxtw): Delete.
3939 (*add_uxt<mode>_multp2): Delete.
3940 (*add_uxtsi_multp2_uxtw): Delete.
3941 (*sub_mul_imm_<mode>): Delete.
3942 (*sub_mul_imm_si_uxtw): Delete.
3943 (*sub_<optab><mode>_multp2): Delete.
3944 (*sub_<optab>si_multp2_uxtw): Delete.
3945 (*sub_uxt<mode>_multp2): Delete.
3946 (*sub_uxtsi_multp2_uxtw): Delete.
3947 (*neg_mul_imm_<mode>2): Delete.
3948 (*neg_mul_imm_si2_uxtw): Delete.
3949 * config/aarch64/predicates.md (aarch64_pwr_imm3): Delete.
3950 (aarch64_pwr_2_si): Delete.
3951 (aarch64_pwr_2_di): Delete.
3953 2020-09-07 Alex Coplan <alex.coplan@arm.com>
3955 * config/aarch64/aarch64.md
3956 (*adds_<optab><ALLX:mode>_<GPI:mode>): Ensure extended operand
3957 agrees with width of extension specifier.
3958 (*subs_<optab><ALLX:mode>_<GPI:mode>): Likewise.
3959 (*adds_<optab><ALLX:mode>_shift_<GPI:mode>): Likewise.
3960 (*subs_<optab><ALLX:mode>_shift_<GPI:mode>): Likewise.
3961 (*add_<optab><ALLX:mode>_<GPI:mode>): Likewise.
3962 (*add_<optab><ALLX:mode>_shft_<GPI:mode>): Likewise.
3963 (*add_uxt<mode>_shift2): Likewise.
3964 (*sub_<optab><ALLX:mode>_<GPI:mode>): Likewise.
3965 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>): Likewise.
3966 (*sub_uxt<mode>_shift2): Likewise.
3967 (*cmp_swp_<optab><ALLX:mode>_reg<GPI:mode>): Likewise.
3968 (*cmp_swp_<optab><ALLX:mode>_shft_<GPI:mode>): Likewise.
3970 2020-09-07 Richard Biener <rguenther@suse.de>
3972 * tree-vect-slp.c (vect_analyze_slp_instance): Dump
3973 stmts we start SLP analysis from, failure and splitting.
3974 (vect_schedule_slp): Dump SLP graph entry and root stmt
3975 we are about to emit code for.
3977 2020-09-07 Martin Storsjö <martin@martin.st>
3979 * dwarf2out.c (file_name_acquire): Make a strchr return value
3982 2020-09-07 Jakub Jelinek <jakub@redhat.com>
3985 * lto-streamer-out.c (output_cfg): Also stream goto_locus for edges.
3986 Use bp_pack_var_len_unsigned instead of streamer_write_uhwi to stream
3987 e->dest->index and e->flags.
3988 (output_function): Call output_cfg before output_ssa_name, rather than
3989 after streaming all bbs.
3990 * lto-streamer-in.c (input_cfg): Stream in goto_locus for edges.
3991 Use bp_unpack_var_len_unsigned instead of streamer_read_uhwi to stream
3992 in dest_index and edge_flags.
3994 2020-09-07 Richard Biener <rguenther@suse.de>
3996 * tree-vectorizer.h (vectorizable_live_operation): Adjust.
3997 * tree-vect-loop.c (vectorizable_live_operation): Vectorize
3998 live lanes out of basic-block vectorization nodes.
3999 * tree-vect-slp.c (vect_bb_slp_mark_live_stmts): New function.
4000 (vect_slp_analyze_operations): Analyze live lanes and their
4001 vectorization possibility after the whole SLP graph is final.
4002 (vect_bb_slp_scalar_cost): Adjust for vectorized live lanes.
4003 * tree-vect-stmts.c (can_vectorize_live_stmts): Adjust.
4004 (vect_transform_stmt): Call can_vectorize_live_stmts also for
4005 basic-block vectorization.
4007 2020-09-04 Richard Biener <rguenther@suse.de>
4009 PR tree-optimization/96698
4010 PR tree-optimization/96920
4011 * tree-vectorizer.h (loop_vec_info::reduc_latch_defs): Remove.
4012 (loop_vec_info::reduc_latch_slp_defs): Likewise.
4013 * tree-vect-stmts.c (vect_transform_stmt): Remove vectorized
4014 cycle PHI latch code.
4015 * tree-vect-loop.c (maybe_set_vectorized_backedge_value): New
4016 helper to set vectorized cycle PHI latch values.
4017 (vect_transform_loop): Walk over all PHIs again after
4018 vectorizing them, calling maybe_set_vectorized_backedge_value.
4019 Call maybe_set_vectorized_backedge_value for each vectorized
4020 stmt. Remove delayed update code.
4021 * tree-vect-slp.c (vect_analyze_slp_instance): Initialize
4022 SLP instance reduc_phis member.
4023 (vect_schedule_slp): Set vectorized cycle PHI latch values.
4025 2020-09-04 Andrea Corallo <andrea.corallo@arm.com>
4027 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Remove
4028 dead code as LOOP_VINFO_USING_PARTIAL_VECTORS_P (loop_vinfo) is
4031 2020-09-04 Christophe Lyon <christophe.lyon@linaro.org>
4034 * config/arm/thumb1.md: Move movsi splitter for
4035 arm_disable_literal_pool after the other movsi splitters.
4037 2020-09-04 Aldy Hernandez <aldyh@redhat.com>
4039 * range-op.cc (range_operator::fold_range): Rename widest_irange
4041 (operator_div::wi_fold): Same.
4042 (operator_lshift::op1_range): Same.
4043 (operator_rshift::op1_range): Same.
4044 (operator_cast::fold_range): Same.
4045 (operator_cast::op1_range): Same.
4046 (operator_bitwise_and::remove_impossible_ranges): Same.
4047 (operator_bitwise_and::op1_range): Same.
4048 (operator_abs::op1_range): Same.
4050 (widest_irange_tests): Same.
4051 (range3_tests): Rename irange3 to int_range3.
4052 (int_range_max_tests): Rename from widest_irange_tests.
4053 Rename widest_irange to int_range_max.
4054 (operator_tests): Rename widest_irange to int_range_max.
4055 (range_tests): Same.
4056 * tree-vrp.c (find_case_label_range): Same.
4057 * value-range.cc (irange::irange_intersect): Same.
4058 (irange::invert): Same.
4059 * value-range.h: Same.
4061 2020-09-04 Richard Biener <rguenther@suse.de>
4063 PR tree-optimization/96931
4064 * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): If
4065 there's a fallthru edge and no abnormal edge the call is
4066 no longer control-altering.
4067 (cleanup_control_flow_bb): Pass down the BB to
4068 cleanup_call_ctrl_altering_flag.
4070 2020-09-04 Jakub Jelinek <jakub@redhat.com>
4072 * lto-streamer.h (stream_input_location_now): Remove declaration.
4073 * lto-streamer-in.c (stream_input_location_now): Remove.
4074 (input_eh_region, input_struct_function_base): Use
4075 stream_input_location instead of stream_input_location_now.
4077 2020-09-04 Jakub Jelinek <jakub@redhat.com>
4079 * lto-streamer.h (struct output_block): Add reset_locus member.
4080 * lto-streamer-out.c (clear_line_info): Set reset_locus to true.
4081 (lto_output_location_1): If reset_locus, clear it and ensure
4082 current_{file,line,col} is different from xloc members.
4084 2020-09-04 David Faust <david.faust@oracle.com>
4086 * config/bpf/bpf.h (ASM_SPEC): Pass -mxbpf to gas, if specified.
4087 * config/bpf/bpf.c (bpf_output_call): Support indirect calls in xBPF.
4089 2020-09-03 Martin Jambor <mjambor@suse.cz>
4091 PR tree-optimization/96820
4092 * tree-sra.c (create_access): Disqualify candidates with accesses
4093 beyond the end of the original aggregate.
4094 (maybe_add_sra_candidate): Check that candidate type size fits
4095 signed uhwi for the sake of consistency.
4097 2020-09-03 Will Schmidt <will_schmidt@vnet.ibm.com>
4099 * config/rs6000/rs6000-call.c (rs6000_init_builtin): Update V2DI_type_node
4100 and unsigned_V2DI_type_node definitions.
4102 2020-09-03 Jakub Jelinek <jakub@redhat.com>
4105 * tree.h (struct decl_tree_traits): New type.
4106 (decl_tree_map): New typedef.
4108 2020-09-03 Jakub Jelinek <jakub@redhat.com>
4111 * gimple.h (gimple_location_ptr, gimple_phi_arg_location_ptr): New
4113 * streamer-hooks.h (struct streamer_hooks): Add
4114 output_location_and_block callback. Fix up formatting for
4116 (stream_output_location_and_block): Define.
4117 * lto-streamer.h (class lto_location_cache): Fix comment typo. Add
4118 current_block member.
4119 (lto_location_cache::input_location_and_block): New method.
4120 (lto_location_cache::lto_location_cache): Initialize current_block.
4121 (lto_location_cache::cached_location): Add block member.
4122 (struct output_block): Add current_block member.
4123 (lto_output_location): Formatting fix.
4124 (lto_output_location_and_block): Declare.
4125 * lto-streamer.c (lto_streamer_hooks_init): Initialize
4126 streamer_hooks.output_location_and_block.
4127 * lto-streamer-in.c (lto_location_cache::cmp_loc): Also compare
4129 (lto_location_cache::apply_location_cache): Handle blocks.
4130 (lto_location_cache::accept_location_cache,
4131 lto_location_cache::revert_location_cache): Fix up function comments.
4132 (lto_location_cache::input_location_and_block): New method.
4133 (lto_location_cache::input_location): Implement using
4134 input_location_and_block.
4135 (input_function): Invoke apply_location_cache after streaming in all
4137 * lto-streamer-out.c (clear_line_info): Set current_block.
4138 (lto_output_location_1): New function, moved from lto_output_location,
4139 added block handling.
4140 (lto_output_location): Implement using lto_output_location_1.
4141 (lto_output_location_and_block): New function.
4142 * gimple-streamer-in.c (input_phi): Use input_location_and_block
4143 to input and cache both location and block.
4144 (input_gimple_stmt): Likewise.
4145 * gimple-streamer-out.c (output_phi): Use
4146 stream_output_location_and_block.
4147 (output_gimple_stmt): Likewise.
4149 2020-09-03 Richard Biener <rguenther@suse.de>
4151 * tree-vect-generic.c (tree_vec_extract): Remove odd
4152 special-casing of boolean vectors.
4153 * fold-const.c (fold_ternary_loc): Handle boolean vector
4154 type BIT_FIELD_REFs.
4156 2020-09-03 Hongtao Liu <hongtao.liu@intel.com>
4159 * config/i386/i386-features.c
4160 (replace_constant_pool_with_broadcast): New function.
4161 (constant_pool_broadcast): Ditto.
4162 (class pass_constant_pool_broadcast): New pass.
4163 (make_pass_constant_pool_broadcast): Ditto.
4164 (remove_partial_avx_dependency): Call
4165 replace_constant_pool_with_broadcast under TARGET_AVX512F, it
4166 would save compile time when both pass rpad and cpb are
4168 (remove_partial_avx_dependency_gate): New function.
4169 (class pass_remove_partial_avx_dependency::gate): Call
4170 remove_partial_avx_dependency_gate.
4171 * config/i386/i386-passes.def: Insert new pass after combine.
4172 * config/i386/i386-protos.h
4173 (make_pass_constant_pool_broadcast): Declare.
4174 * config/i386/sse.md (*avx512dq_mul<mode>3<mask_name>_bcst):
4176 (*avx512f_mul<mode>3<mask_name>_bcst): Ditto.
4177 * config/i386/avx512fintrin.h (_mm512_set1_ps,
4178 _mm512_set1_pd,_mm512_set1_epi32, _mm512_set1_epi64): Adjusted.
4180 2020-09-02 Jonathan Wakely <jwakely@redhat.com>
4183 * ginclude/stdbool.h (bool, false, true): Never define for C++.
4185 2020-09-02 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4187 * doc/invoke.texi (MSP430 options): Fix -mlarge description to
4188 indicate size_t is a 20-bit type.
4190 2020-09-02 Roger Sayle <roger@nextmovesoftware.com>
4192 * config/pa/pa.c (hppa_rtx_costs) [ASHIFT, ASHIFTRT, LSHIFTRT]:
4193 Provide accurate costs for shifts of integer constants.
4195 2020-09-02 Jose E. Marchesi <jose.marchesi@oracle.com>
4197 * config/bpf/bpf.c (bpf_asm_named_section): Delete.
4198 (TARGET_ASM_NAMED_SECTION): Likewise.
4200 2020-09-02 Jose E. Marchesi <jemarch@gnu.org>
4202 * config.gcc: Use elfos.h in bpf-*-* targets.
4203 * config/bpf/bpf.h (MAX_OFILE_ALIGNMENT): Remove definition.
4204 (COMMON_ASM_OP): Likewise.
4205 (INIT_SECTION_ASM_OP): Likewise.
4206 (FINI_SECTION_ASM_OP): Likewise.
4207 (ASM_OUTPUT_SKIP): Likewise.
4208 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4209 (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
4211 2020-09-01 Martin Sebor <msebor@redhat.com>
4213 * builtins.c (compute_objsize): Only replace the upper bound
4214 of a POINTER_PLUS offset when it's less than the lower bound.
4216 2020-09-01 Peter Bergner <bergner@linux.ibm.com>
4219 * config/rs6000/rs6000-call.c (rs6000_gimple_fold_mma_builtin): Do not
4220 reuse accumulator memory reference for source and destination accesses.
4222 2020-09-01 Martin Liska <mliska@suse.cz>
4224 * cfgrtl.c (rtl_create_basic_block): Use default value for
4225 growth vector function.
4226 * gimple.c (gimple_set_bb): Likewise.
4227 * symbol-summary.h: Likewise.
4228 * tree-cfg.c (init_empty_tree_cfg_for_function): Likewise.
4229 (build_gimple_cfg): Likewise.
4230 (create_bb): Likewise.
4231 (move_block_to_fn): Likewise.
4233 2020-09-01 Martin Liska <mliska@suse.cz>
4235 * vec.h (vec_safe_grow): Change default of exact to false.
4236 (vec_safe_grow_cleared): Likewise.
4238 2020-09-01 Roger Sayle <roger@nextmovesoftware.com>
4241 * targhooks.c (default_vector_alignment): Return at least the
4242 GET_MODE_ALIGNMENT for the type's mode.
4244 2020-09-01 Richard Biener <rguenther@suse.de>
4246 PR rtl-optimization/96812
4247 * tree-ssa-address.c (copy_ref_info): Also copy dependence info.
4248 * cfgrtl.h (duplicate_insn_chain): Adjust prototype.
4249 * cfgrtl.c (duplicate_insn_chain): Remap dependence info
4251 (cfg_layout_duplicate_bb): Make sure we remap dependence info.
4252 * modulo-sched.c (duplicate_insns_of_cycles): Remap dependence
4254 (generate_prolog_epilog): Adjust.
4255 * config/c6x/c6x.c (hwloop_optimize): Remap dependence info.
4257 2020-09-01 Kewen Lin <linkw@gcc.gnu.org>
4259 * doc/sourcebuild.texi (has_arch_pwr5, has_arch_pwr6, has_arch_pwr7,
4260 has_arch_pwr8, has_arch_pwr9): Document.
4262 2020-08-31 Carl Love <cel@us.ibm.com>
4265 * config/rs6000/altivec.h (vec_popcntb, vec_popcnth, vec_popcntw,
4266 vec_popcntd): Remove defines.
4268 2020-08-31 Marek Polacek <polacek@redhat.com>
4269 Jason Merrill <jason@redhat.com>
4272 * tree.c (build_constructor_from_vec): New.
4273 * tree.h (build_constructor_from_vec): Declare.
4275 2020-08-31 Aldy Hernandez <aldyh@redhat.com>
4277 PR tree-optimization/96818
4278 * tree-vrp.c (find_case_label_range): Cast label range to
4279 type of switch operand.
4281 2020-08-31 liuhongt <hongtao.liu@intel.com>
4284 * config/i386/sse.md (vec_unpacku_float_hi_v16si): For vector
4285 compare to integer mask, don't use gen_rtx_LT, use
4286 ix86_expand_mask_vec_cmp instead.
4287 (vec_unpacku_float_hi_v16si): Ditto.
4289 2020-08-31 Jakub Jelinek <jakub@redhat.com>
4291 * tree-cfg.c (verify_gimple_switch): If the first non-default case
4292 label has CASE_HIGH, verify it has the same type as CASE_LOW.
4294 2020-08-31 Feng Xue <fxue@os.amperecomputing.com>
4297 * ipa-cp.c (decide_about_value): Use safe_add to avoid cost addition
4300 2020-08-31 Jakub Jelinek <jakub@redhat.com>
4303 * varasm.c: Include alloc-pool.h.
4304 (output_constant_pool_contents): Emit desc->mark < 0 entries as
4306 (struct constant_descriptor_rtx_data): New type.
4307 (constant_descriptor_rtx_data_cmp): New function.
4308 (struct const_rtx_data_hasher): New type.
4309 (const_rtx_data_hasher::hash, const_rtx_data_hasher::equal): New
4311 (optimize_constant_pool): New function.
4312 (output_shared_constant_pool): Call it if TARGET_SUPPORTS_ALIASES.
4314 2020-08-31 Kewen Lin <linkw@gcc.gnu.org>
4316 * doc/sourcebuild.texi (vect_len_load_store,
4317 vect_partial_vectors_usage_1, vect_partial_vectors_usage_2,
4318 vect_partial_vectors): Document.
4320 2020-08-30 Martin Sebor <msebor@redhat.com>
4322 * builtins.c (access_ref::access_ref): Call get_size_range instead
4325 2020-08-30 Jakub Jelinek <jakub@redhat.com>
4327 * config/i386/sse.md (ssse3_pshufbv8qi): Use gen_int_mode instead of
4328 GEN_INT, and ix86_build_const_vector instead of gen_rtvec and
4329 gen_rtx_CONT_VECTOR.
4331 2020-08-29 Bill Schmidt <wschmidt@linux.ibm.com>
4333 * config/rs6000/rs6000-builtin.def (MASK_FOR_STORE): Remove.
4334 * config/rs6000/rs6000-call.c (rs6000_expand_builtin): Remove
4335 all logic for ALTIVEC_BUILTIN_MASK_FOR_STORE.
4337 2020-08-28 Martin Sebor <msebor@redhat.com>
4339 * attribs.c (init_attr_rdwr_indices): Use global access_mode.
4340 * attribs.h (struct attr_access): Same.
4341 * builtins.c (fold_builtin_strlen): Add argument.
4342 (compute_objsize): Declare.
4343 (get_range): Declare.
4344 (check_read_access): New function.
4345 (access_ref::access_ref): Define ctor.
4346 (warn_string_no_nul): Add arguments. Handle -Wstrintop-overread.
4347 (check_nul_terminated_array): Handle source strings of different
4349 (expand_builtin_strlen): Remove warning code, call check_read_access
4350 instead. Declare locals closer to their initialization.
4351 (expand_builtin_strnlen): Same.
4352 (maybe_warn_for_bound): New function.
4353 (warn_for_access): Remove argument. Handle -Wstrintop-overread.
4354 (inform_access): Change argument type.
4355 (get_size_range): New function.
4356 (check_access): Remove unused arguments. Add new arguments. Handle
4357 -Wstrintop-overread. Move warning code to helpers and call them.
4358 Call check_nul_terminated_array.
4359 (check_memop_access): Remove unnecessary and provide additional
4361 (expand_builtin_memchr): Call check_read_access.
4362 (expand_builtin_strcat): Remove unnecessary and provide additional
4364 (expand_builtin_strcpy): Same.
4365 (expand_builtin_strcpy_args): Same. Avoid testing no-warning bit.
4366 (expand_builtin_stpcpy_1): Remove unnecessary and provide additional
4368 (expand_builtin_stpncpy): Same.
4369 (check_strncat_sizes): Same.
4370 (expand_builtin_strncat): Remove unnecessary and provide additional
4371 arguments in calls. Adjust comments.
4372 (expand_builtin_strncpy): Remove unnecessary and provide additional
4374 (expand_builtin_memcmp): Remove warning code. Call check_access.
4375 (expand_builtin_strcmp): Call check_access instead of
4376 check_nul_terminated_array.
4377 (expand_builtin_strncmp): Handle -Wstrintop-overread.
4378 (expand_builtin_fork_or_exec): Call check_access instead of
4379 check_nul_terminated_array.
4380 (expand_builtin): Same.
4381 (fold_builtin_1): Pass additional argument.
4382 (fold_builtin_n): Same.
4383 (fold_builtin_strpbrk): Remove calls to check_nul_terminated_array.
4384 (expand_builtin_memory_chk): Add comments.
4385 (maybe_emit_chk_warning): Remove unnecessary and provide additional
4387 (maybe_emit_sprintf_chk_warning): Same. Adjust comments.
4388 * builtins.h (warn_string_no_nul): Add arguments.
4389 (struct access_ref): Add member and ctor argument.
4390 (struct access_data): Add members and ctor.
4391 (check_access): Adjust signature.
4392 * calls.c (maybe_warn_nonstring_arg): Return an indication of
4393 whether a warning was issued. Issue -Wstrintop-overread instead
4394 of -Wstringop-overflow.
4395 (append_attrname): Adjust to naming changes.
4396 (maybe_warn_rdwr_sizes): Same. Remove unnecessary and provide
4397 additional arguments in calls.
4398 * calls.h (maybe_warn_nonstring_arg): Return bool.
4399 * doc/invoke.texi (-Wstringop-overread): Document new option.
4400 * gimple-fold.c (gimple_fold_builtin_strcpy): Provide an additional
4402 (gimple_fold_builtin_stpcpy): Same.
4403 * tree-ssa-uninit.c (maybe_warn_pass_by_reference): Adjust to naming
4405 * tree.h (enum access_mode): New type.
4407 2020-08-28 Bill Schmidt <wschmidt@linux.ibm.com>
4409 * config/rs6000/rs6000.c (rs6000_call_aix): Remove test for r12.
4410 (rs6000_sibcall_aix): Likewise.
4412 2020-08-28 Andrew Stubbs <ams@codesourcery.com>
4414 * config/gcn/gcn-tree.c (gcn_goacc_get_worker_red_decl): Add "true"
4415 parameter to vec_safe_grow_cleared.
4417 2020-08-28 Martin Sebor <msebor@redhat.com>
4419 * ggc-common.c (gt_pch_save): Add argument to a call.
4421 2020-08-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
4424 * config/aarch64/aarch64-sve.md
4425 (cond_sub<mode>_relaxed_const): Updated and renamed from
4426 cond_sub<mode>_any_const pattern.
4427 (cond_sub<mode>_strict_const): New pattern.
4429 2020-08-28 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
4431 * doc/rtl.texi: Fix typo.
4433 2020-08-28 Uros Bizjak <ubizjak@gmail.com>
4436 * config/i386/i386-expand.c (split_double_mode): Also handle
4437 E_P2HImode and E_P2QImode.
4438 * config/i386/sse.md (MASK_DWI): New define_mode_iterator.
4439 (mov<mode>): New expander for P2HI,P2QI.
4440 (*mov<mode>_internal): New define_insn_and_split to split
4441 movement of P2QI/P2HI to 2 movqi/movhi patterns after reload.
4443 2020-08-28 liuhongt <hongtao.liu@intel.com>
4445 * common/config/i386/i386-common.c (ix86_handle_option): Set
4446 AVX512DQ when AVX512VP2INTERSECT exists.
4448 2020-08-27 Jakub Jelinek <jakub@redhat.com>
4451 * config/i386/i386.c (iamcu_alignment): Don't decrease alignment
4452 for TYPE_ATOMIC types.
4453 (ix86_local_alignment): Likewise.
4454 (ix86_minimum_alignment): Likewise.
4455 (x86_field_alignment): Likewise, and emit a -Wpsabi diagnostic
4458 2020-08-27 Bill Schmidt <wschmidt@linux.ibm.com>
4461 * config/rs6000/rs6000.c (rs6000_sibcall_aix): Support
4462 indirect call for ELFv2.
4464 2020-08-27 Richard Biener <rguenther@suse.de>
4466 PR tree-optimization/96522
4467 * tree-ssa-address.c (copy_ref_info): Reset flow-sensitive
4468 info of the copied points-to. Transfer bigger alignment
4469 via the access type.
4470 * tree-ssa-sccvn.c (eliminate_dom_walker::eliminate_stmt):
4471 Reset all flow-sensitive info.
4473 2020-08-27 Martin Liska <mliska@suse.cz>
4475 * alias.c (init_alias_analysis): Set exact argument of a vector
4476 growth function to true.
4477 * calls.c (internal_arg_pointer_based_exp_scan): Likewise.
4478 * cfgbuild.c (find_many_sub_basic_blocks): Likewise.
4479 * cfgexpand.c (expand_asm_stmt): Likewise.
4480 * cfgrtl.c (rtl_create_basic_block): Likewise.
4481 * combine.c (combine_split_insns): Likewise.
4482 (combine_instructions): Likewise.
4483 * config/aarch64/aarch64-sve-builtins.cc (function_expander::add_output_operand): Likewise.
4484 (function_expander::add_input_operand): Likewise.
4485 (function_expander::add_integer_operand): Likewise.
4486 (function_expander::add_address_operand): Likewise.
4487 (function_expander::add_fixed_operand): Likewise.
4488 * df-core.c (df_worklist_dataflow_doublequeue): Likewise.
4489 * dwarf2cfi.c (update_row_reg_save): Likewise.
4490 * early-remat.c (early_remat::init_block_info): Likewise.
4491 (early_remat::finalize_candidate_indices): Likewise.
4492 * except.c (sjlj_build_landing_pads): Likewise.
4493 * final.c (compute_alignments): Likewise.
4494 (grow_label_align): Likewise.
4495 * function.c (temp_slots_at_level): Likewise.
4496 * fwprop.c (build_single_def_use_links): Likewise.
4497 (update_uses): Likewise.
4498 * gcc.c (insert_wrapper): Likewise.
4499 * genautomata.c (create_state_ainsn_table): Likewise.
4500 (add_vect): Likewise.
4501 (output_dead_lock_vect): Likewise.
4502 * genmatch.c (capture_info::capture_info): Likewise.
4503 (parser::finish_match_operand): Likewise.
4504 * genrecog.c (optimize_subroutine_group): Likewise.
4505 (merge_pattern_info::merge_pattern_info): Likewise.
4506 (merge_into_decision): Likewise.
4507 (print_subroutine_start): Likewise.
4509 * gimple-loop-versioning.cc (loop_versioning::loop_versioning): Likewise.
4510 * gimple.c (gimple_set_bb): Likewise.
4511 * graphite-isl-ast-to-gimple.c (translate_isl_ast_node_user): Likewise.
4512 * haifa-sched.c (sched_extend_luids): Likewise.
4513 (extend_h_i_d): Likewise.
4514 * insn-addr.h (insn_addresses_new): Likewise.
4515 * ipa-cp.c (gather_context_independent_values): Likewise.
4516 (find_more_contexts_for_caller_subset): Likewise.
4517 * ipa-devirt.c (final_warning_record::grow_type_warnings): Likewise.
4518 (ipa_odr_read_section): Likewise.
4519 * ipa-fnsummary.c (evaluate_properties_for_edge): Likewise.
4520 (ipa_fn_summary_t::duplicate): Likewise.
4521 (analyze_function_body): Likewise.
4522 (ipa_merge_fn_summary_after_inlining): Likewise.
4523 (read_ipa_call_summary): Likewise.
4524 * ipa-icf.c (sem_function::bb_dict_test): Likewise.
4525 * ipa-prop.c (ipa_alloc_node_params): Likewise.
4526 (parm_bb_aa_status_for_bb): Likewise.
4527 (ipa_compute_jump_functions_for_edge): Likewise.
4528 (ipa_analyze_node): Likewise.
4529 (update_jump_functions_after_inlining): Likewise.
4530 (ipa_read_edge_info): Likewise.
4531 (read_ipcp_transformation_info): Likewise.
4532 (ipcp_transform_function): Likewise.
4533 * ipa-reference.c (ipa_reference_write_optimization_summary): Likewise.
4534 * ipa-split.c (execute_split_functions): Likewise.
4535 * ira.c (find_moveable_pseudos): Likewise.
4536 * lower-subreg.c (decompose_multiword_subregs): Likewise.
4537 * lto-streamer-in.c (input_eh_regions): Likewise.
4538 (input_cfg): Likewise.
4539 (input_struct_function_base): Likewise.
4540 (input_function): Likewise.
4541 * modulo-sched.c (set_node_sched_params): Likewise.
4542 (extend_node_sched_params): Likewise.
4543 (schedule_reg_moves): Likewise.
4544 * omp-general.c (omp_construct_simd_compare): Likewise.
4545 * passes.c (pass_manager::create_pass_tab): Likewise.
4546 (enable_disable_pass): Likewise.
4547 * predict.c (determine_unlikely_bbs): Likewise.
4548 * profile.c (compute_branch_probabilities): Likewise.
4549 * read-rtl-function.c (function_reader::parse_block): Likewise.
4550 * read-rtl.c (rtx_reader::read_rtx_code): Likewise.
4551 * reg-stack.c (stack_regs_mentioned): Likewise.
4552 * regrename.c (regrename_init): Likewise.
4553 * rtlanal.c (T>::add_single_to_queue): Likewise.
4554 * sched-deps.c (init_deps_data_vector): Likewise.
4555 * sel-sched-ir.c (sel_extend_global_bb_info): Likewise.
4556 (extend_region_bb_info): Likewise.
4557 (extend_insn_data): Likewise.
4558 * symtab.c (symtab_node::create_reference): Likewise.
4559 * tracer.c (tail_duplicate): Likewise.
4560 * trans-mem.c (tm_region_init): Likewise.
4561 (get_bb_regions_instrumented): Likewise.
4562 * tree-cfg.c (init_empty_tree_cfg_for_function): Likewise.
4563 (build_gimple_cfg): Likewise.
4564 (create_bb): Likewise.
4565 (move_block_to_fn): Likewise.
4566 * tree-complex.c (tree_lower_complex): Likewise.
4567 * tree-if-conv.c (predicate_rhs_code): Likewise.
4568 * tree-inline.c (copy_bb): Likewise.
4569 * tree-into-ssa.c (get_ssa_name_ann): Likewise.
4570 (mark_phi_for_rewrite): Likewise.
4571 * tree-object-size.c (compute_builtin_object_size): Likewise.
4572 (init_object_sizes): Likewise.
4573 * tree-predcom.c (initialize_root_vars_store_elim_1): Likewise.
4574 (initialize_root_vars_store_elim_2): Likewise.
4575 (prepare_initializers_chain_store_elim): Likewise.
4576 * tree-ssa-address.c (addr_for_mem_ref): Likewise.
4577 (multiplier_allowed_in_address_p): Likewise.
4578 * tree-ssa-coalesce.c (ssa_conflicts_new): Likewise.
4579 * tree-ssa-forwprop.c (simplify_vector_constructor): Likewise.
4580 * tree-ssa-loop-ivopts.c (addr_offset_valid_p): Likewise.
4581 (get_address_cost_ainc): Likewise.
4582 * tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk): Likewise.
4583 * tree-ssa-pre.c (add_to_value): Likewise.
4584 (phi_translate_1): Likewise.
4585 (do_pre_regular_insertion): Likewise.
4586 (do_pre_partial_partial_insertion): Likewise.
4587 (init_pre): Likewise.
4588 * tree-ssa-propagate.c (ssa_prop_init): Likewise.
4589 (update_call_from_tree): Likewise.
4590 * tree-ssa-reassoc.c (optimize_range_tests_cmp_bitwise): Likewise.
4591 * tree-ssa-sccvn.c (vn_reference_lookup_3): Likewise.
4592 (vn_reference_lookup_pieces): Likewise.
4593 (eliminate_dom_walker::eliminate_push_avail): Likewise.
4594 * tree-ssa-strlen.c (set_strinfo): Likewise.
4595 (get_stridx_plus_constant): Likewise.
4596 (zero_length_string): Likewise.
4597 (find_equal_ptrs): Likewise.
4598 (printf_strlen_execute): Likewise.
4599 * tree-ssa-threadedge.c (set_ssa_name_value): Likewise.
4600 * tree-ssanames.c (make_ssa_name_fn): Likewise.
4601 * tree-streamer-in.c (streamer_read_tree_bitfields): Likewise.
4602 * tree-vect-loop.c (vect_record_loop_mask): Likewise.
4603 (vect_get_loop_mask): Likewise.
4604 (vect_record_loop_len): Likewise.
4605 (vect_get_loop_len): Likewise.
4606 * tree-vect-patterns.c (vect_recog_mask_conversion_pattern): Likewise.
4607 * tree-vect-slp.c (vect_slp_convert_to_external): Likewise.
4608 (vect_bb_slp_scalar_cost): Likewise.
4609 (vect_bb_vectorization_profitable_p): Likewise.
4610 (vectorizable_slp_permutation): Likewise.
4611 * tree-vect-stmts.c (vectorizable_call): Likewise.
4612 (vectorizable_simd_clone_call): Likewise.
4613 (scan_store_can_perm_p): Likewise.
4614 (vectorizable_store): Likewise.
4616 * vec.c (test_safe_grow_cleared): Likewise.
4617 * vec.h (vec_safe_grow): Likewise.
4618 (vec_safe_grow_cleared): Likewise.
4619 (vl_ptr>::safe_grow): Likewise.
4620 (vl_ptr>::safe_grow_cleared): Likewise.
4621 * config/c6x/c6x.c (insn_set_clock): Likewise.
4623 2020-08-27 Richard Biener <rguenther@suse.de>
4625 * tree-pretty-print.c (dump_mem_ref): Handle TARGET_MEM_REFs.
4626 (dump_generic_node): Use dump_mem_ref also for TARGET_MEM_REF.
4628 2020-08-27 Alex Coplan <alex.coplan@arm.com>
4630 * lra-constraints.c (canonicalize_reload_addr): New.
4631 (curr_insn_transform): Use canonicalize_reload_addr to ensure we
4632 generate canonical RTL for an address reload.
4634 2020-08-27 Zhiheng Xie <xiezhiheng@huawei.com>
4636 * config/aarch64/aarch64-simd-builtins.def: Add proper FLAG
4637 for rounding intrinsics.
4639 2020-08-27 Zhiheng Xie <xiezhiheng@huawei.com>
4641 * config/aarch64/aarch64-simd-builtins.def: Add proper FLAG
4642 for min/max intrinsics.
4644 2020-08-27 Richard Biener <rguenther@suse.de>
4646 PR tree-optimization/96579
4647 * tree-ssa-reassoc.c (linearize_expr_tree): If we expand
4648 rhs via special ops make sure to swap operands.
4650 2020-08-27 Richard Biener <rguenther@suse.de>
4652 PR tree-optimization/96565
4653 * tree-ssa-dse.c (dse_classify_store): Remove defs with
4654 no uses from further processing.
4656 2020-08-26 Göran Uddeborg <goeran@uddeborg.se>
4658 PR gcov-profile/96285
4659 * common.opt, doc/invoke.texi: Clarify wording of
4660 -fprofile-exclude-files and adjust -fprofile-filter-files to
4663 2020-08-26 H.J. Lu <hjl.tools@gmail.com>
4666 * config/i386/i386-options.c (ix86_valid_target_attribute_inner_p):
4667 Reject target("no-general-regs-only").
4669 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4671 * config/msp430/constraints.md (K): Change unused constraint to
4672 constraint to a const_int between 1 and 19.
4673 (P): New constraint.
4674 * config/msp430/msp430-protos.h (msp430x_logical_shift_right): Remove.
4675 (msp430_expand_shift): New.
4676 (msp430_output_asm_shift_insns): New.
4677 * config/msp430/msp430.c (msp430_rtx_costs): Remove shift costs.
4679 (msp430_expand_helper): Remove hard-coded generation of some inline
4681 (use_helper_for_const_shift): New.
4682 (msp430_expand_shift): New.
4683 (msp430_output_asm_shift_insns): New.
4684 (msp430_print_operand): Add new 'W' operand selector.
4685 (msp430x_logical_shift_right): Remove.
4686 * config/msp430/msp430.md (HPSI): New define_mode_iterator.
4688 (any_shift): New define_code_iterator.
4689 (shift_insn): New define_code_attr.
4690 Adjust unnamed insn patterns searched for by combine.
4693 (430x_shift_left): Remove.
4700 (430x_arithmetic_shift_right): Remove.
4709 (430x_logical_shift_right): Remove.
4715 (<shift_insn><mode>3): New define_expand.
4716 (<shift_insn>hi3_430): New define_insn.
4717 (<shift_insn>si3_const): Likewise.
4718 (ashl<mode>3_430x): Likewise.
4719 (ashr<mode>3_430x): Likewise.
4720 (lshr<mode>3_430x): Likewise.
4721 (*bitbranch<mode>4_z): Replace renamed predicate msp430_bitpos with
4722 const_0_to_15_operand.
4723 * config/msp430/msp430.opt: New option -mmax-inline-shift=.
4724 * config/msp430/predicates.md (const_1_to_8_operand): New predicate.
4725 (const_0_to_15_operand): Rename msp430_bitpos predicate.
4726 (const_1_to_19_operand): New predicate.
4727 * doc/invoke.texi: Document -mmax-inline-shift=.
4729 2020-08-26 Aldy Hernandez <aldyh@redhat.com>
4731 * tree-ssa-dom.c (simplify_stmt_for_jump_threading): Abstract code out to...
4732 * tree-vrp.c (find_case_label_range): ...here. Rewrite for to use irange
4734 (simplify_stmt_for_jump_threading): Call find_case_label_range instead of
4735 duplicating the code in simplify_stmt_for_jump_threading.
4736 * tree-vrp.h (find_case_label_range): New prototype.
4738 2020-08-26 Richard Biener <rguenther@suse.de>
4740 PR tree-optimization/96698
4741 * tree-vectorizer.h (loop_vec_info::reduc_latch_defs): New.
4742 (loop_vec_info::reduc_latch_slp_defs): Likewise.
4743 * tree-vect-stmts.c (vect_transform_stmt): Only record
4744 stmts to update PHI latches from, perform the update ...
4745 * tree-vect-loop.c (vect_transform_loop): ... here after
4746 vectorizing those PHIs.
4747 (info_for_reduction): Properly handle non-reduction PHIs.
4749 2020-08-26 Martin Liska <mliska@suse.cz>
4751 * cgraphunit.c (process_symver_attribute): Match only symver
4754 2020-08-26 Richard Biener <rguenther@suse.de>
4756 PR tree-optimization/96783
4757 * tree-vect-stmts.c (get_group_load_store_type): Use
4758 VMAT_ELEMENTWISE for negative strides when we cannot
4759 use VMAT_STRIDED_SLP.
4761 2020-08-26 Martin Liska <mliska@suse.cz>
4763 * doc/invoke.texi: Document how are pie and pic options merged.
4765 2020-08-26 Zhiheng Xie <xiezhiheng@huawei.com>
4767 * config/aarch64/aarch64-simd-builtins.def: Add proper FLAG
4768 for add/sub arithmetic intrinsics.
4770 2020-08-26 Jakub Jelinek <jakub@redhat.com>
4773 * dwarf2out.c (dwarf2out_next_real_insn): Adjust function comment.
4774 (dwarf2out_var_location): Look for next_note only if next_real is
4775 non-NULL, in that case look for the first non-deleted
4776 NOTE_INSN_VAR_LOCATION between loc_note and next_real, if any.
4778 2020-08-26 Iain Buclaw <ibuclaw@gdcproject.org>
4780 * config/tilepro/gen-mul-tables.cc (main): Define IN_TARGET_CODE to 1
4783 2020-08-26 Martin Liska <mliska@suse.cz>
4785 * cgraphunit.c (process_symver_attribute): Allow multiple
4786 symver attributes for one symbol.
4787 * doc/extend.texi: Document the change.
4789 2020-08-25 H.J. Lu <hjl.tools@gmail.com>
4792 * config/i386/i386.h (CTZ_DEFINED_VALUE_AT_ZERO): Return 0/2.
4793 (CLZ_DEFINED_VALUE_AT_ZERO): Likewise.
4795 2020-08-25 Roger Sayle <roger@nextmovesoftware.com>
4798 * config/pa/pa.c (hppa_rtx_costs_shadd_p): New helper function
4799 to check for coefficients supported by shNadd and shladd,l.
4800 (hppa_rtx_costs): Rewrite to avoid using estimates based upon
4801 FACTOR and enable recursing deeper into RTL expressions.
4803 2020-08-25 Roger Sayle <roger@nextmovesoftware.com>
4805 * config/pa/pa.md (ashldi3): Additionally, on !TARGET_64BIT
4806 generate a two instruction shd/zdep sequence when shifting
4807 registers by suitable constants.
4808 (shd_internal): New define_expand to provide gen_shd_internal.
4810 2020-08-25 Richard Sandiford <richard.sandiford@arm.com>
4812 * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Rename
4813 __ARM_FEATURE_SVE_VECTOR_OPERATIONS to
4814 __ARM_FEATURE_SVE_VECTOR_OPERATORS.
4816 2020-08-25 Richard Sandiford <richard.sandiford@arm.com>
4818 * config/aarch64/aarch64-sve-builtins.cc (add_sve_type_attribute):
4819 Take the ACLE name of the type as a parameter and add it as fourth
4820 argument to the "SVE type" attribute.
4821 (register_builtin_types): Update call accordingly.
4822 (register_tuple_type): Likewise. Construct the name of the type
4823 earlier in order to do this.
4824 (get_arm_sve_vector_bits_attributes): New function.
4825 (handle_arm_sve_vector_bits_attribute): Report a more sensible
4826 error message if the attribute is applied to an SVE tuple type.
4827 Don't allow the attribute to be applied to an existing fixed-length
4828 SVE type. Mangle the new type as __SVE_VLS<type, vector-bits>.
4829 Add a dummy TYPE_DECL to the new type.
4831 2020-08-25 Richard Sandiford <richard.sandiford@arm.com>
4833 * config/aarch64/aarch64-sve-builtins.cc (DEF_SVE_TYPE): Add a
4834 leading "u" to each mangled name.
4836 2020-08-25 Richard Biener <rguenther@suse.de>
4838 PR tree-optimization/96548
4839 PR tree-optimization/96760
4840 * tree-ssa-loop-im.c (tree_ssa_lim): Recompute RPO after
4843 2020-08-25 Jakub Jelinek <jakub@redhat.com>
4845 PR tree-optimization/96722
4846 * gimple.c (infer_nonnull_range): Formatting fix.
4847 (infer_nonnull_range_by_dereference): Return false for clobber stmts.
4849 2020-08-25 Jakub Jelinek <jakub@redhat.com>
4851 PR tree-optimization/96758
4852 * tree-ssa-strlen.c (handle_builtin_string_cmp): If both cstlen1
4853 and cstlen2 are set, set cmpsiz to their minimum, otherwise use the
4854 one that is set. If bound is used and smaller than cmpsiz, set cmpsiz
4855 to bound. If both cstlen1 and cstlen2 are set, perform the optimization.
4857 2020-08-25 Martin Jambor <mjambor@suse.cz>
4859 PR tree-optimization/96730
4860 * tree-sra.c (create_access): Disqualify any aggregate with negative
4862 (build_ref_for_model): Add assert that offset is non-negative.
4864 2020-08-25 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
4866 * rtl.def: Fix typo in comment.
4868 2020-08-25 Roger Sayle <roger@nextmovesoftware.com>
4870 PR tree-optimization/21137
4871 * fold-const.c (fold_binary_loc) [NE_EXPR/EQ_EXPR]: Call
4872 STRIP_NOPS when checking whether to simplify ((x>>C1)&C2) != 0.
4874 2020-08-25 Andrew Pinski <apinski@marvell.com>
4877 * config/mips/mips.md (builtin_longjmp): Restore the frame
4878 pointer and stack pointer and gp.
4880 2020-08-25 Richard Biener <rguenther@suse.de>
4883 * dwarf2out.c (reference_to_unused): Make FUNCTION_DECL
4884 processing more consistent with respect to
4885 symtab->global_info_ready.
4886 (tree_add_const_value_attribute): Unconditionally call
4887 rtl_for_decl_init to do all mangling early but throw
4888 away the result if early_dwarf.
4890 2020-08-25 Hongtao Liu <hongtao.liu@intel.com>
4893 * config/i386/sse.md: Correct the mode of NOT operands to
4896 2020-08-25 Jakub Jelinek <jakub@redhat.com>
4898 PR tree-optimization/96715
4899 * match.pd (copysign(x,-x) -> -x): New simplification.
4901 2020-08-25 Jakub Jelinek <jakub@redhat.com>
4904 * fold-const.c (native_interpret_real): For MODE_COMPOSITE_P modes
4905 punt if the to be returned REAL_CST does not encode to the bitwise
4906 same representation.
4908 2020-08-24 Gerald Pfeifer <gerald@pfeifer.com>
4910 * doc/install.texi (Configuration): Switch valgrind.com to https.
4912 2020-08-24 Christophe Lyon <christophe.lyon@linaro.org>
4916 * config/arm/thumb1.md: Disable set-constant splitter when
4918 (thumb1_movsi_insn): Fix -mpure-code
4921 2020-08-24 Martin Liska <mliska@suse.cz>
4923 * tree-vect-data-refs.c (dr_group_sort_cmp): Work on
4925 (vect_analyze_data_ref_accesses): Work on groups.
4926 (vect_find_stmt_data_reference): Add group_id argument and fill
4927 up dataref_groups vector.
4928 * tree-vect-loop.c (vect_get_datarefs_in_loop): Pass new
4930 (vect_analyze_loop_2): Likewise.
4931 * tree-vect-slp.c (vect_slp_analyze_bb_1): Pass argument.
4932 (vect_slp_bb_region): Likewise.
4933 (vect_slp_region): Likewise.
4934 (vect_slp_bb):Work on the entire BB.
4935 * tree-vectorizer.h (vect_analyze_data_ref_accesses): Add new
4937 (vect_find_stmt_data_reference): Likewise.
4939 2020-08-24 Martin Liska <mliska@suse.cz>
4941 PR tree-optimization/96597
4942 * tree-ssa-sccvn.c (vn_reference_lookup_call): Add missing
4943 initialization of ::punned.
4944 (vn_reference_insert): Use consistently false instead of 0.
4945 (vn_reference_insert_pieces): Likewise.
4947 2020-08-24 Hans-Peter Nilsson <hp@axis.com>
4950 * reorg.c (fill_slots_from_thread): Allow trial insns that clobber
4951 TARGET_FLAGS_REGNUM as delay-slot fillers.
4953 2020-08-23 H.J. Lu <hjl.tools@gmail.com>
4956 * config/i386/i386-options.c (IX86_ATTR_IX86_YES): New.
4957 (IX86_ATTR_IX86_NO): Likewise.
4958 (ix86_opt_type): Add ix86_opt_ix86_yes and ix86_opt_ix86_no.
4959 (ix86_valid_target_attribute_inner_p): Handle general-regs-only,
4960 ix86_opt_ix86_yes and ix86_opt_ix86_no.
4961 (ix86_option_override_internal): Check opts->x_ix86_target_flags
4962 instead of opts->x_ix86_target_flags.
4963 * doc/extend.texi: Document target("general-regs-only") function
4966 2020-08-21 Richard Sandiford <richard.sandiford@arm.com>
4968 * doc/extend.texi: Update links to Arm docs.
4969 * doc/invoke.texi: Likewise.
4971 2020-08-21 Hongtao Liu <hongtao.liu@intel.com>
4974 * config/i386/i386-expand.c
4975 (ix86_expand_vec_shift_qihi_constant): Refine.
4977 2020-08-21 Alex Coplan <alex.coplan@arm.com>
4980 * gcc.c (set_static_spec): New.
4981 (set_static_spec_owned): New.
4982 (set_static_spec_shared): New.
4983 (driver::maybe_putenv_COLLECT_LTO_WRAPPER): Use
4984 set_static_spec_owned() to take ownership of lto_wrapper_file
4985 such that it gets freed in driver::finalize.
4986 (driver::maybe_run_linker): Use set_static_spec_shared() to
4987 ensure that we don't try and free() the static string "ld",
4988 also ensuring that any previously-allocated string in
4989 linker_name_spec is freed. Likewise with argv0.
4990 (driver::finalize): Use set_static_spec_shared() when resetting
4991 specs that previously had allocated strings; remove if(0)
4992 around call to free().
4994 2020-08-21 Senthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
4996 * emit-rtl.c (try_split): Call copy_frame_info_to_split_insn
4997 to split certain RTX_FRAME_RELATED_P insns.
4998 * recog.c (copy_frame_info_to_split_insn): New function.
4999 (peep2_attempt): Split copying of frame related info of
5000 RTX_FRAME_RELATED_P insns into above function and call it.
5001 * recog.h (copy_frame_info_to_split_insn): Declare it.
5003 2020-08-21 liuhongt <hongtao.liu@intel.com>
5006 * config/i386/i386.c (ix86_preferred_reload_class): Allow
5007 QImode data go into mask registers.
5008 * config/i386/i386.md: (*movhi_internal): Adjust constraints
5010 (*movqi_internal): Ditto.
5011 (*anddi_1): Support mask register operations
5012 (*and<mode>_1): Ditto.
5014 (*andn<mode>_1): Ditto.
5015 (*<code><mode>_1): Ditto.
5016 (*<code>qi_1): Ditto.
5017 (*one_cmpl<mode>2_1): Ditto.
5018 (*one_cmplsi2_1_zext): Ditto.
5019 (*one_cmplqi2_1): Ditto.
5020 (define_peephole2): Move constant 0/-1 directly into mask
5022 * config/i386/predicates.md (mask_reg_operand): New predicate.
5023 * config/i386/sse.md (define_split): Add post-reload splitters
5024 that would convert "generic" patterns to mask patterns.
5025 (*knotsi_1_zext): New define_insn.
5027 2020-08-21 liuhongt <hongtao.liu@intel.com>
5029 * config/i386/x86-tune-costs.h (skylake_cost): Adjust cost
5032 2020-08-21 liuhongt <hongtao.liu@intel.com>
5034 * config/i386/i386.c (inline_secondary_memory_needed):
5035 No memory is needed between mask regs and gpr.
5036 (ix86_hard_regno_mode_ok): Add condition TARGET_AVX512F for
5038 * config/i386/i386.h (enum reg_class): Add INT_MASK_REGS.
5039 (REG_CLASS_NAMES): Ditto.
5040 (REG_CLASS_CONTENTS): Ditto.
5041 * config/i386/i386.md: Exclude mask register in
5042 define_peephole2 which is avaiable only for gpr.
5044 2020-08-21 H.J. Lu <hjl.tools@gmail.com>
5047 * config/i386/i386.h (struct processor_costs): Add member
5048 mask_to_integer, integer_to_mask, mask_load[3], mask_store[3],
5050 * config/i386/x86-tune-costs.h (ix86_size_cost, i386_cost,
5051 i386_cost, pentium_cost, lakemont_cost, pentiumpro_cost,
5052 geode_cost, k6_cost, athlon_cost, k8_cost, amdfam10_cost,
5053 bdver_cost, znver1_cost, znver2_cost, skylake_cost,
5054 btver1_cost, btver2_cost, pentium4_cost, nocona_cost,
5055 atom_cost, slm_cost, intel_cost, generic_cost, core_cost):
5056 Initialize mask_load[3], mask_store[3], mask_move,
5057 integer_to_mask, mask_to_integer for all target costs.
5058 * config/i386/i386.c (ix86_register_move_cost): Using cost
5059 model of mask registers.
5060 (inline_memory_move_cost): Ditto.
5061 (ix86_register_move_cost): Ditto.
5063 2020-08-20 Iain Buclaw <ibuclaw@gdcproject.org>
5065 * config/vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): Don't include
5066 VxWorks header files if -fself-test is used.
5067 (STARTFILE_PREFIX_SPEC): Avoid using VSB_DIR if -fself-test is used.
5069 2020-08-20 Joe Ramsay <Joe.Ramsay@arm.com>
5072 * config/arm/mve.md (mve_vst1q_f<mode>): Require MVE memory operand for
5074 (mve_vst1q_<supf><mode>): Likewise.
5076 2020-08-19 2020-08-19 Carl Love <cel@us.ibm.com>
5078 * config/rs6000/rs6000-builtin.def (BU_P10V_0, BU_P10V_1,
5079 BU_P10V_2, BU_P10V_3): Rename BU_P10V_VSX_0, BU_P10V_VSX_1,
5080 BU_P10V_VSX_2, BU_P10V_VSX_3 respectively.
5081 (BU_P10V_4): Remove.
5082 (BU_P10V_AV_0, BU_P10V_AV_1, BU_P10V_AV_2, BU_P10V_AV_3, BU_P10V_AV_4):
5083 New definitions for Power 10 Altivec macros.
5084 (VSTRIBR, VSTRIHR, VSTRIBL, VSTRIHL, VSTRIBR_P, VSTRIHR_P,
5085 VSTRIBL_P, VSTRIHL_P, MTVSRBM, MTVSRHM, MTVSRWM, MTVSRDM, MTVSRQM,
5086 VEXPANDMB, VEXPANDMH, VEXPANDMW, VEXPANDMD, VEXPANDMQ, VEXTRACTMB,
5087 VEXTRACTMH, VEXTRACTMW, VEXTRACTMD, VEXTRACTMQ): Replace macro
5088 expansion BU_P10V_1 with BU_P10V_AV_1.
5089 (VCLRLB, VCLRRB, VCFUGED, VCLZDM, VCTZDM, VPDEPD, VPEXTD, VGNB,
5090 VCNTMBB, VCNTMBH, VCNTMBW, VCNTMBD): Replace macro expansion
5091 BU_P10V_2 with BU_P10V_AV_2.
5092 (VEXTRACTBL, VEXTRACTHL, VEXTRACTWL, VEXTRACTDL, VEXTRACTBR, VEXTRACTHR,
5093 VEXTRACTWR, VEXTRACTDR, VINSERTGPRBL, VINSERTGPRHL, VINSERTGPRWL,
5094 VINSERTGPRDL, VINSERTVPRBL, VINSERTVPRHL, VINSERTVPRWL, VINSERTGPRBR,
5095 VINSERTGPRHR, VINSERTGPRWR, VINSERTGPRDR, VINSERTVPRBR, VINSERTVPRHR,
5096 VINSERTVPRWR, VREPLACE_ELT_V4SI, VREPLACE_ELT_UV4SI, VREPLACE_ELT_V2DF,
5097 VREPLACE_ELT_V4SF, VREPLACE_ELT_V2DI, VREPLACE_ELT_UV2DI, VREPLACE_UN_V4SI,
5098 VREPLACE_UN_UV4SI, VREPLACE_UN_V4SF, VREPLACE_UN_V2DI, VREPLACE_UN_UV2DI,
5099 VREPLACE_UN_V2DF, VSLDB_V16QI, VSLDB_V8HI, VSLDB_V4SI, VSLDB_V2DI,
5100 VSRDB_V16QI, VSRDB_V8HI, VSRDB_V4SI, VSRDB_V2DI): Replace macro expansion
5101 BU_P10V_3 with BU_P10V_AV_3.
5102 (VXXSPLTIW_V4SI, VXXSPLTIW_V4SF, VXXSPLTID): Replace macro expansion
5103 BU_P10V_1 with BU_P10V_AV_1.
5104 (XXGENPCVM_V16QI, XXGENPCVM_V8HI, XXGENPCVM_V4SI, XXGENPCVM_V2DI):
5105 Replace macro expansion BU_P10V_2 with BU_P10V_VSX_2.
5106 (VXXSPLTI32DX_V4SI, VXXSPLTI32DX_V4SF, VXXBLEND_V16QI, VXXBLEND_V8HI,
5107 VXXBLEND_V4SI, VXXBLEND_V2DI, VXXBLEND_V4SF, VXXBLEND_V2DF): Replace macor
5108 expansion BU_P10V_3 with BU_P10V_VSX_3.
5109 (XXEVAL, VXXPERMX): Replace macro expansion BU_P10V_4 with BU_P10V_VSX_4.
5110 (XVCVBF16SP, XVCVSPBF16): Replace macro expansion BU_VSX_1 with
5111 BU_P10V_VSX_1. Also change MISC to CONST.
5112 * config/rs6000/rs6000-c.c: (P10_BUILTIN_VXXPERMX): Replace with
5113 P10V_BUILTIN_VXXPERMX.
5114 (P10_BUILTIN_VCLRLB, P10_BUILTIN_VCLRLB, P10_BUILTIN_VCLRRB,
5115 P10_BUILTIN_VGNB, P10_BUILTIN_XXEVAL, P10_BUILTIN_VXXPERMX,
5116 P10_BUILTIN_VEXTRACTBL, P10_BUILTIN_VEXTRACTHL, P10_BUILTIN_VEXTRACTWL,
5117 P10_BUILTIN_VEXTRACTDL, P10_BUILTIN_VINSERTGPRHL,
5118 P10_BUILTIN_VINSERTGPRWL, P10_BUILTIN_VINSERTGPRDL,
5119 P10_BUILTIN_VINSERTVPRBL, P10_BUILTIN_VINSERTVPRHL,
5120 P10_BUILTIN_VEXTRACTBR, P10_BUILTIN_VEXTRACTHR,
5121 P10_BUILTIN_VEXTRACTWR, P10_BUILTIN_VEXTRACTDR,
5122 P10_BUILTIN_VINSERTGPRBR, P10_BUILTIN_VINSERTGPRHR,
5123 P10_BUILTIN_VINSERTGPRWR, P10_BUILTIN_VINSERTGPRDR,
5124 P10_BUILTIN_VINSERTVPRBR, P10_BUILTIN_VINSERTVPRHR,
5125 P10_BUILTIN_VINSERTVPRWR, P10_BUILTIN_VREPLACE_ELT_UV4SI,
5126 P10_BUILTIN_VREPLACE_ELT_V4SI, P10_BUILTIN_VREPLACE_ELT_UV2DI,
5127 P10_BUILTIN_VREPLACE_ELT_V2DI, P10_BUILTIN_VREPLACE_ELT_V2DF,
5128 P10_BUILTIN_VREPLACE_UN_UV4SI, P10_BUILTIN_VREPLACE_UN_V4SI,
5129 P10_BUILTIN_VREPLACE_UN_V4SF, P10_BUILTIN_VREPLACE_UN_UV2DI,
5130 P10_BUILTIN_VREPLACE_UN_V2DI, P10_BUILTIN_VREPLACE_UN_V2DF,
5131 P10_BUILTIN_VSLDB_V16QI, P10_BUILTIN_VSLDB_V16QI,
5132 P10_BUILTIN_VSLDB_V8HI, P10_BUILTIN_VSLDB_V4SI,
5133 P10_BUILTIN_VSLDB_V2DI, P10_BUILTIN_VXXSPLTIW_V4SI,
5134 P10_BUILTIN_VXXSPLTIW_V4SF, P10_BUILTIN_VXXSPLTID,
5135 P10_BUILTIN_VXXSPLTI32DX_V4SI, P10_BUILTIN_VXXSPLTI32DX_V4SF,
5136 P10_BUILTIN_VXXBLEND_V16QI, P10_BUILTIN_VXXBLEND_V8HI,
5137 P10_BUILTIN_VXXBLEND_V4SI, P10_BUILTIN_VXXBLEND_V2DI,
5138 P10_BUILTIN_VXXBLEND_V4SF, P10_BUILTIN_VXXBLEND_V2DF,
5139 P10_BUILTIN_VSRDB_V16QI, P10_BUILTIN_VSRDB_V8HI,
5140 P10_BUILTIN_VSRDB_V4SI, P10_BUILTIN_VSRDB_V2DI,
5141 P10_BUILTIN_VSTRIBL, P10_BUILTIN_VSTRIHL,
5142 P10_BUILTIN_VSTRIBL_P, P10_BUILTIN_VSTRIHL_P,
5143 P10_BUILTIN_VSTRIBR, P10_BUILTIN_VSTRIHR,
5144 P10_BUILTIN_VSTRIBR_P, P10_BUILTIN_VSTRIHR_P,
5145 P10_BUILTIN_MTVSRBM, P10_BUILTIN_MTVSRHM,
5146 P10_BUILTIN_MTVSRWM, P10_BUILTIN_MTVSRDM,
5147 P10_BUILTIN_MTVSRQM, P10_BUILTIN_VCNTMBB,
5148 P10_BUILTIN_VCNTMBH, P10_BUILTIN_VCNTMBW,
5149 P10_BUILTIN_VCNTMBD, P10_BUILTIN_VEXPANDMB,
5150 P10_BUILTIN_VEXPANDMH, P10_BUILTIN_VEXPANDMW,
5151 P10_BUILTIN_VEXPANDMD, P10_BUILTIN_VEXPANDMQ,
5152 P10_BUILTIN_VEXTRACTMB, P10_BUILTIN_VEXTRACTMH,
5153 P10_BUILTIN_VEXTRACTMW, P10_BUILTIN_VEXTRACTMD,
5154 P10_BUILTIN_VEXTRACTMQ, P10_BUILTIN_XVTLSBB_ZEROS,
5155 P10_BUILTIN_XVTLSBB_ONES): Replace with
5156 P10V_BUILTIN_VCLRLB, P10V_BUILTIN_VCLRLB, P10V_BUILTIN_VCLRRB,
5157 P10V_BUILTIN_VGNB, P10V_BUILTIN_XXEVAL, P10V_BUILTIN_VXXPERMX,
5158 P10V_BUILTIN_VEXTRACTBL, P10V_BUILTIN_VEXTRACTHL, P10V_BUILTIN_VEXTRACTWL,
5159 P10V_BUILTIN_VEXTRACTDL, P10V_BUILTIN_VINSERTGPRHL,
5160 P10V_BUILTIN_VINSERTGPRWL, P10V_BUILTIN_VINSERTGPRDL,
5161 P10V_BUILTIN_VINSERTVPRBL,P10V_BUILTIN_VINSERTVPRHL,
5162 P10V_BUILTIN_VEXTRACTBR, P10V_BUILTIN_VEXTRACTHR
5163 P10V_BUILTIN_VEXTRACTWR, P10V_BUILTIN_VEXTRACTDR,
5164 P10V_BUILTIN_VINSERTGPRBR, P10V_BUILTIN_VINSERTGPRHR,
5165 P10V_BUILTIN_VINSERTGPRWR, P10V_BUILTIN_VINSERTGPRDR,
5166 P10V_BUILTIN_VINSERTVPRBR, P10V_BUILTIN_VINSERTVPRHR,
5167 P10V_BUILTIN_VINSERTVPRWR, P10V_BUILTIN_VREPLACE_ELT_UV4SI,
5168 P10V_BUILTIN_VREPLACE_ELT_V4SI, P10V_BUILTIN_VREPLACE_ELT_UV2DI,
5169 P10V_BUILTIN_VREPLACE_ELT_V2DI, P10V_BUILTIN_VREPLACE_ELT_V2DF,
5170 P10V_BUILTIN_VREPLACE_UN_UV4SI, P10V_BUILTIN_VREPLACE_UN_V4SI,
5171 P10V_BUILTIN_VREPLACE_UN_V4SF, P10V_BUILTIN_VREPLACE_UN_UV2DI,
5172 P10V_BUILTIN_VREPLACE_UN_V2DI, P10V_BUILTIN_VREPLACE_UN_V2DF,
5173 P10V_BUILTIN_VSLDB_V16QI, P10V_BUILTIN_VSLDB_V16QI,
5174 P10V_BUILTIN_VSLDB_V8HI, P10V_BUILTIN_VSLDB_V4SI,
5175 P10V_BUILTIN_VSLDB_V2DI, P10V_BUILTIN_VXXSPLTIW_V4SI,
5176 P10V_BUILTIN_VXXSPLTIW_V4SF, P10V_BUILTIN_VXXSPLTID,
5177 P10V_BUILTIN_VXXSPLTI32DX_V4SI, P10V_BUILTIN_VXXSPLTI32DX_V4SF,
5178 P10V_BUILTIN_VXXBLEND_V16QI, P10V_BUILTIN_VXXBLEND_V8HI,
5179 P10V_BUILTIN_VXXBLEND_V4SI, P10V_BUILTIN_VXXBLEND_V2DI,
5180 P10V_BUILTIN_VXXBLEND_V4SF, P10V_BUILTIN_VXXBLEND_V2DF,
5181 P10V_BUILTIN_VSRDB_V16QI, P10V_BUILTIN_VSRDB_V8HI,
5182 P10V_BUILTIN_VSRDB_V4SI, P10V_BUILTIN_VSRDB_V2DI,
5183 P10V_BUILTIN_VSTRIBL, P10V_BUILTIN_VSTRIHL,
5184 P10V_BUILTIN_VSTRIBL_P, P10V_BUILTIN_VSTRIHL_P,
5185 P10V_BUILTIN_VSTRIBR, P10V_BUILTIN_VSTRIHR,
5186 P10V_BUILTIN_VSTRIBR_P, P10V_BUILTIN_VSTRIHR_P,
5187 P10V_BUILTIN_MTVSRBM, P10V_BUILTIN_MTVSRHM,
5188 P10V_BUILTIN_MTVSRWM, P10V_BUILTIN_MTVSRDM,
5189 P10V_BUILTIN_MTVSRQM, P10V_BUILTIN_VCNTMBB,
5190 P10V_BUILTIN_VCNTMBH, P10V_BUILTIN_VCNTMBW,
5191 P10V_BUILTIN_VCNTMBD, P10V_BUILTIN_VEXPANDMB,
5192 P10V_BUILTIN_VEXPANDMH, P10V_BUILTIN_VEXPANDMW,
5193 P10V_BUILTIN_VEXPANDMD, P10V_BUILTIN_VEXPANDMQ,
5194 P10V_BUILTIN_VEXTRACTMB, P10V_BUILTIN_VEXTRACTMH,
5195 P10V_BUILTIN_VEXTRACTMW, P10V_BUILTIN_VEXTRACTMD,
5196 P10V_BUILTIN_VEXTRACTMQ, P10V_BUILTIN_XVTLSBB_ZEROS,
5197 P10V_BUILTIN_XVTLSBB_ONES respectively.
5198 * config/rs6000/rs6000-call.c: Ditto above, change P10_BUILTIN_name to
5200 (P10_BUILTIN_XVCVSPBF16, P10_BUILTIN_XVCVBF16SP): Change to
5201 P10V_BUILTIN_XVCVSPBF16, P10V_BUILTIN_XVCVBF16SP respectively.
5203 2020-08-19 Bill Schmidt <wschmidt@linux.ibm.com>
5205 * config/rs6000/rs6000-logue.c (rs6000_decl_ok_for_sibcall):
5206 Sibcalls are always legal when the caller doesn't preserve r2.
5208 2020-08-19 Uroš Bizjak <ubizjak@gmail.com>
5210 * config/i386/i386-expand.c (ix86_expand_builtin)
5211 [case IX86_BUILTIN_ENQCMD, case IX86_BUILTIN_ENQCMDS]:
5212 Rewrite expansion to use code_for_enqcmd.
5213 [case IX86_BUILTIN_WRSSD, case IX86_BUILTIN_WRSSQ]:
5214 Rewrite expansion to use code_for_wrss.
5215 [case IX86_BUILTIN_WRUSSD, case IX86_BUILTIN_WRUSSD]:
5216 Rewrite expansion to use code_for_wrss.
5218 2020-08-19 Feng Xue <fxue@os.amperecomputing.com>
5220 PR tree-optimization/94234
5221 * match.pd ((PTR_A + OFF) - (PTR_B + OFF)) -> (PTR_A - PTR_B): New
5224 2020-08-19 H.J. Lu <hjl.tools@gmail.com>
5226 * common/config/i386/cpuinfo.h (get_intel_cpu): Detect Rocket
5227 Lake and Alder Lake.
5229 2020-08-19 Peixin Qiao <qiaopeixin@huawei.com>
5231 * config/aarch64/aarch64.c (aarch64_init_cumulative_args): Remove
5232 "fndecl && TREE_PUBLIC (fndecl)" check since it prevents the funtion
5233 type check when calling via a function pointer or when calling a static
5236 2020-08-19 Kewen Lin <linkw@linux.ibm.com>
5238 * opts-global.c (decode_options): Call target_option_override_hook
5239 before it prints for --help=*.
5241 2020-08-18 Peter Bergner <bergner@linux.ibm.com>
5243 * config/rs6000/rs6000-builtin.def (BU_VSX_1): Rename xvcvbf16sp to
5245 * config/rs6000/rs6000-call.c (builtin_function_type): Likewise.
5246 * config/rs6000/vsx.md: Likewise.
5247 * doc/extend.texi: Likewise.
5249 2020-08-18 Aaron Sawdey <acsawdey@linux.ibm.com>
5251 * config/rs6000/rs6000-string.c (gen_lxvl_stxvl_move):
5253 (expand_block_move): Add lxvl/stxvl, vector pair, and
5255 * config/rs6000/rs6000.c (rs6000_option_override_internal):
5256 Default value for -mblock-ops-vector-pair.
5257 * config/rs6000/rs6000.opt: Add -mblock-ops-vector-pair.
5259 2020-08-18 Aldy Hernandez <aldyh@redhat.com>
5261 * vr-values.c (check_for_binary_op_overflow): Change type of store
5263 (vr_values::adjust_range_with_scev): Abstract most of the code...
5264 (range_of_var_in_loop): ...here. Remove value_range_equiv uses.
5265 (simplify_using_ranges::simplify_using_ranges): Change type of store
5267 * vr-values.h (class range_query): New.
5268 (class simplify_using_ranges): Use range_query.
5269 (class vr_values): Add OVERRIDE to get_value_range.
5270 (range_of_var_in_loop): New.
5272 2020-08-18 Martin Sebor <msebor@redhat.com>
5276 * expr.c (convert_to_bytes): Replace statically allocated buffer with
5277 a dynamically allocated one of sufficient size.
5279 2020-08-18 Martin Sebor <msebor@redhat.com>
5281 PR tree-optimization/96670
5283 * gimple-fold.c (gimple_fold_builtin_memchr): Call byte_representation
5284 to get it, not string_constant.
5286 2020-08-18 Hu Jiangping <hujiangping@cn.fujitsu.com>
5288 * doc/gimple.texi (gimple_debug_begin_stmt_p): Add return type.
5289 (gimple_debug_inline_entry_p, gimple_debug_nonbind_marker_p): Likewise.
5291 2020-08-18 Martin Sebor <msebor@redhat.com>
5293 * fold-const.c (native_encode_expr): Update comment.
5295 2020-08-18 Uroš Bizjak <ubizjak@gmail.com>
5298 * config/i386/i386.md (restore_stack_nonlocal): Add missing compare
5299 RTX. Rewrite expander to use high-level functions in RTL construction.
5301 2020-08-18 liuhongt <hongtao.liu@intel.com>
5305 * config/i386/i386-expand.c (ix86_expand_pinsr): Don't use
5307 (ix86_expand_pextr): Don't use pextr for TImode.
5309 2020-08-17 Uroš Bizjak <ubizjak@gmail.com>
5311 * config/i386/i386-builtin.def (__builtin_ia32_bextri_u32)
5312 (__builtin_ia32_bextri_u64): Use CODE_FOR_nothing.
5313 * config/i386/i386.md (@tbm_bextri_<mode>):
5314 Implement as parametrized name pattern.
5315 (@rdrand<mode>): Ditto.
5316 (@rdseed<mode>): Ditto.
5317 * config/i386/i386-expand.c (ix86_expand_builtin)
5318 [case IX86_BUILTIN_BEXTRI32, case IX86_BUILTIN_BEXTRI64]:
5319 Update for parameterized name patterns.
5320 [case IX86_BUILTIN_RDRAND16_STEP, case IX86_BUILTIN_RDRAND32_STEP]
5321 [case IX86_BUILTIN_RDRAND64_STEP]: Ditto.
5322 [case IX86_BUILTIN_RDSEED16_STEP, case IX86_BUILTIN_RDSEED32_STEP]
5323 [case IX86_BUILTIN_RDSEED64_STEP]: Ditto.
5325 2020-08-17 Aldy Hernandez <aldyh@redhat.com>
5327 * vr-values.c (vr_values::get_value_range): Add stmt param.
5328 (vr_values::extract_range_from_comparison): Same.
5329 (vr_values::extract_range_from_assignment): Pass stmt to
5330 extract_range_from_comparison.
5331 (vr_values::adjust_range_with_scev): Pass stmt to get_value_range.
5332 (simplify_using_ranges::vrp_evaluate_conditional): Add stmt param.
5333 Pass stmt to get_value_range.
5334 (simplify_using_ranges::vrp_visit_cond_stmt): Pass stmt to
5336 (simplify_using_ranges::simplify_abs_using_ranges): Same.
5337 (simplify_using_ranges::simplify_div_or_mod_using_ranges): Same.
5338 (simplify_using_ranges::simplify_bit_ops_using_ranges): Same.
5339 (simplify_using_ranges::simplify_cond_using_ranges_1): Same.
5340 (simplify_using_ranges::simplify_switch_using_ranges): Same.
5341 (simplify_using_ranges::simplify_float_conversion_using_ranges): Same.
5342 * vr-values.h (class vr_values): Add stmt arg to
5343 vrp_evaluate_conditional_warnv_with_ops.
5344 Add stmt arg to extract_range_from_comparison and get_value_range.
5345 (simplify_using_ranges::get_value_range): Add stmt arg.
5347 2020-08-17 liuhongt <hongtao.liu@intel.com>
5350 * config/i386/i386.c (ix86_legitimate_constant_p): Return
5351 false for ENDBR immediate.
5352 (ix86_legitimate_address_p): Ditto.
5353 * config/i386/predicates.md
5354 (x86_64_immediate_operand): Exclude ENDBR immediate.
5355 (x86_64_zext_immediate_operand): Ditto.
5356 (x86_64_dwzext_immediate_operand): Ditto.
5357 (ix86_endbr_immediate_operand): New predicate.
5359 2020-08-16 Roger Sayle <roger@nextmovesoftware.com>
5361 * simplify-rtx.c (simplify_unary_operation_1) [SIGN_EXTEND]:
5362 Simplify (sign_extend:M (truncate:N (lshiftrt:M x C))) to
5363 (ashiftrt:M x C) when the shift sets the high bits appropriately.
5365 2020-08-14 Martin Sebor <msebor@redhat.com>
5368 * builtins.c (expand_builtin_memory_copy_args): Rename called function.
5369 (expand_builtin_stpcpy_1): Remove argument from call.
5370 (expand_builtin_memcmp): Rename called function.
5371 (inline_expand_builtin_bytecmp): Same.
5372 * expr.c (convert_to_bytes): New function.
5373 (constant_byte_string): New function (formerly string_constant).
5374 (string_constant): Call constant_byte_string.
5375 (byte_representation): New function.
5376 * expr.h (byte_representation): Declare.
5377 * fold-const-call.c (fold_const_call): Rename called function.
5378 * fold-const.c (c_getstr): Remove an argument.
5379 (getbyterep): Define a new function.
5380 * fold-const.h (c_getstr): Remove an argument.
5381 (getbyterep): Declare a new function.
5382 * gimple-fold.c (gimple_fold_builtin_memory_op): Rename callee.
5383 (gimple_fold_builtin_string_compare): Same.
5384 (gimple_fold_builtin_memchr): Same.
5386 2020-08-14 David Malcolm <dmalcolm@redhat.com>
5388 * doc/analyzer.texi (Overview): Add tip about how to get a
5389 gimple dump if the analyzer ICEs.
5391 2020-08-14 Uroš Bizjak <ubizjak@gmail.com>
5393 * config/i386/i386-builtin.def (__builtin_ia32_llwpcb)
5394 (__builtin_ia32_slwpcb, __builtin_ia32_lwpval32)
5395 (__builtin_ia32_lwpval64, __builtin_ia32_lwpins32)
5396 (__builtin_ia32_lwpins64): Use CODE_FOR_nothing.
5397 * config/i386/i386.md (@lwp_llwpcb<mode>):
5398 Implement as parametrized name pattern.
5399 (@lwp_slwpcb<mode>): Ditto.
5400 (@lwp_lwpval<mode>): Ditto.
5401 (@lwp_lwpins<mode>): Ditto.
5402 * config/i386/i386-expand.c (ix86_expand_special_args_builtin)
5403 [case VOID_FTYPE_UINT_UINT_UINT, case VOID_FTYPE_UINT64_UINT_UINT]
5404 [case UCHAR_FTYPE_UINT_UINT_UINT, case UCHAR_FTYPE_UINT64_UINT_UINT]:
5406 (ix86_expand_builtin)
5407 [ case IX86_BUILTIN_LLWPCB, case IX86_BUILTIN_LLWPCB]:
5408 Update for parameterized name patterns.
5409 [case IX86_BUILTIN_LWPVAL32, case IX86_BUILTIN_LWPVAL64]
5410 [case IX86_BUILTIN_LWPINS32, case IX86_BUILTIN_LWPINS64]: Expand here.
5412 2020-08-14 Lewis Hyatt <lhyatt@gmail.com>
5414 * common.opt: Add new option -fdiagnostics-plain-output.
5415 * doc/invoke.texi: Document it.
5416 * opts-common.c (decode_cmdline_options_to_array): Implement it.
5417 (decode_cmdline_option): Add missing const qualifier to argv.
5419 2020-08-14 Jakub Jelinek <jakub@redhat.com>
5420 Jonathan Wakely <jwakely@redhat.com>
5421 Jonathan Wakely <jwakely@redhat.com>
5423 * system.h: Include type_traits.
5424 * vec.h (vec<T, A, vl_embed>::embedded_size): Use offsetof and asserts
5425 on vec_stdlayout, which is conditionally a vec (for standard layout T)
5426 and otherwise vec_embedded.
5428 2020-08-14 Jojo R <jiejie_rong@c-sky.com>
5430 * config/csky/csky-elf.h (ASM_SPEC): Use mfloat-abi.
5431 * config/csky/csky-linux-elf.h (ASM_SPEC): mfloat-abi.
5433 2020-08-13 David Malcolm <dmalcolm@redhat.com>
5449 * Makefile.in (ANALYZER_OBJS): Add analyzer/region.o,
5450 analyzer/region-model-impl-calls.o,
5451 analyzer/region-model-manager.o,
5452 analyzer/region-model-reachability.o, analyzer/store.o, and
5454 * doc/analyzer.texi: Update for changes to analyzer
5456 * tristate.h (tristate::get_value): New accessor.
5458 2020-08-13 Uroš Bizjak <ubizjak@gmail.com>
5460 * config/i386/i386-builtin.def (CET_NORMAL): Merge to CET BDESC array.
5461 (__builtin_ia32_rddspd, __builtin_ia32_rddspq, __builtin_ia32_incsspd)
5462 (__builtin_ia32_incsspq, __builtin_ia32_wrssd, __builtin_ia32_wrssq)
5463 (__builtin_ia32_wrussd, __builtin_ia32_wrussq): Use CODE_FOR_nothing.
5464 * config/i386/i386-builtins.c: Remove handling of CET_NORMAL builtins.
5465 * config/i386/i386.md (@rdssp<mode>): Implement as parametrized
5466 name pattern. Use SWI48 mode iterator. Introduce input operand
5467 and remove explicit XOR zeroing from insn template.
5468 (@incssp<mode>): Implement as parametrized name pattern.
5469 Use SWI48 mode iterator.
5470 (@wrss<mode>): Ditto.
5471 (@wruss<mode>): Ditto.
5472 (rstorssp): Remove expander. Rename insn pattern from *rstorssp<mode>.
5473 Use DImode memory operand.
5474 (clrssbsy): Remove expander. Rename insn pattern from *clrssbsy<mode>.
5475 Use DImode memory operand.
5476 (save_stack_nonlocal): Update for parametrized name patterns.
5477 Use cleared register as an argument to gen_rddsp.
5478 (restore_stack_nonlocal): Update for parametrized name patterns.
5479 * config/i386/i386-expand.c (ix86_expand_builtin):
5480 [case IX86_BUILTIN_RDSSPD, case IX86_BUILTIN_RDSSPQ]: Expand here.
5481 [case IX86_BUILTIN_INCSSPD, case IX86_BUILTIN_INCSSPQ]: Ditto.
5482 [case IX86_BUILTIN_RSTORSSP, case IX86_BUILTIN_CLRSSBSY]:
5483 Generate DImode memory operand.
5484 [case IX86_BUILTIN_WRSSD, case IX86_BUILTIN_WRSSQ]
5485 [case IX86_BUILTIN_WRUSSD, case IX86_BUILTIN_WRUSSD]:
5486 Update for parameterized name patterns.
5488 2020-08-13 Peter Bergner <bergner@linux.ibm.com>
5491 * config/rs6000/rs6000-call.c (rs6000_promote_function_mode): Disallow
5492 MMA types as return values.
5493 (rs6000_function_arg): Disallow MMA types as function arguments.
5495 2020-08-13 Richard Sandiford <richard.sandiford@arm.com>
5498 2020-08-12 Peixin Qiao <qiaopeixin@huawei.com>
5500 * config/aarch64/aarch64.c (aarch64_function_value): Add if
5501 condition to check ag_mode after entering if condition of
5502 aarch64_vfp_is_call_or_return_candidate. If TARGET_FLOAT is
5503 set as false by -mgeneral-regs-only, report the diagnostic
5504 information of -mgeneral-regs-only imcompatible with the use
5505 of fp/simd register(s).
5507 2020-08-13 Martin Liska <mliska@suse.cz>
5510 * ipa-cp.c (ipcp_bits_lattice::meet_with_1): Mask m_value
5513 2020-08-13 Jakub Jelinek <jakub@redhat.com>
5515 * gimplify.c (gimplify_omp_taskloop_expr): New function.
5516 (gimplify_omp_for): Use it. For OMP_FOR_NON_RECTANGULAR
5517 loops adjust in outer taskloop the var-outer decls.
5518 * omp-expand.c (expand_omp_taskloop_for_inner): Handle non-rectangular
5520 (expand_omp_for): Don't reject non-rectangular taskloop.
5521 * omp-general.c (omp_extract_for_data): Don't assert that
5522 non-rectangular loops have static schedule, instead treat loop->m1
5523 or loop->m2 as if loop->n1 or loop->n2 is non-constant.
5525 2020-08-13 Hongtao Liu <hongtao.liu@intel.com>
5528 * config/i386/sse.md (<avx512>_load<mode>_mask,
5529 <avx512>_load<mode>_mask): Extend to generate blendm
5531 (<avx512>_blendm<mode>, <avx512>_blendm<mode>): Change
5532 define_insn to define_expand.
5534 2020-08-12 Roger Sayle <roger@nextmovesoftware.com>
5535 Uroš Bizjak <ubizjak@gmail.com>
5538 * config/i386/i386.md (peephole2): Only reorder register clearing
5539 instructions to allow use of xor for general registers.
5541 2020-08-12 Martin Liska <mliska@suse.cz>
5544 * ipa-cp.c (ipcp_bits_lattice::meet_with_1): Drop value bits
5545 for bits that are unknown.
5546 (ipcp_bits_lattice::set_to_constant): Likewise.
5547 * tree-ssa-ccp.c (get_default_value): Add sanity check that
5548 IPA CP bit info has all bits set to zero in bits that
5551 2020-08-12 Peixin Qiao <qiaopeixin@huawei.com>
5553 * config/aarch64/aarch64.c (aarch64_function_value): Add if
5554 condition to check ag_mode after entering if condition of
5555 aarch64_vfp_is_call_or_return_candidate. If TARGET_FLOAT is
5556 set as false by -mgeneral-regs-only, report the diagnostic
5557 information of -mgeneral-regs-only imcompatible with the use
5558 of fp/simd register(s).
5560 2020-08-12 Jakub Jelinek <jakub@redhat.com>
5562 PR tree-optimization/96535
5563 * toplev.c (process_options): Move flag_unroll_loops and
5564 flag_cunroll_grow_size handling from here to ...
5565 * opts.c (finish_options): ... here. For flag_cunroll_grow_size,
5566 don't check for AUTODETECT_VALUE, but instead check
5567 opts_set->x_flag_cunroll_grow_size.
5568 * common.opt (funroll-completely-grow-size): Default to 0.
5569 * config/rs6000/rs6000.c (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE):
5571 (rs6000_override_options_after_change): New function.
5572 (rs6000_option_override_internal): Call it. Move there the
5573 flag_cunroll_grow_size, unroll_only_small_loops and
5574 flag_rename_registers handling.
5576 2020-08-12 Tom de Vries <tdevries@suse.de>
5578 * config/nvptx/nvptx.c (nvptx_assemble_decl_begin): Make elt_size an
5579 unsigned HOST_WIDE_INT. Print init_frag.remaining using
5580 HOST_WIDE_INT_PRINT_UNSIGNED.
5582 2020-08-12 Roger Sayle <roger@nextmovesoftware.com>
5583 Uroš Bizjak <ubizjak@gmail.com>
5585 * config/i386/i386.md (peephole2): Reduce unnecessary
5586 register shuffling produced by register allocation.
5588 2020-08-12 Aldy Hernandez <aldyh@redhat.com>
5590 * ipa-fnsummary.c (evaluate_conditions_for_known_args): Use vec<>
5591 instead of std::vector<>.
5592 (evaluate_properties_for_edge): Same.
5593 (ipa_fn_summary_t::duplicate): Same.
5594 (estimate_ipcp_clone_size_and_time): Same.
5595 * vec.h (<T, A, vl_embed>::embedded_size): Change vec_embedded
5596 type to contain a char[].
5598 2020-08-12 Andreas Krebbel <krebbel@linux.ibm.com>
5601 * config/s390/s390.c (s390_cannot_force_const_mem): Reject an
5602 unary minus for everything not being a numeric constant.
5603 (legitimize_tls_address): Move a NEG out of the CONST rtx.
5605 2020-08-12 Andreas Krebbel <krebbel@linux.ibm.com>
5608 * config/s390/s390.h (TARGET_NONSIGNALING_VECTOR_COMPARE_OK): New
5610 * config/s390/vector.md (vcond_comparison_operator): Use new macro
5613 2020-08-11 Jakub Jelinek <jakub@redhat.com>
5615 PR rtl-optimization/96539
5616 * expr.c (emit_block_move_hints): Don't copy anything if x and y
5617 are the same and neither is MEM_VOLATILE_P.
5619 2020-08-11 Jakub Jelinek <jakub@redhat.com>
5622 * tree.c (get_narrower): Use TREE_TYPE (ret) instead of
5623 TREE_TYPE (win) for COMPOUND_EXPRs.
5625 2020-08-11 Jan Hubicka <hubicka@ucw.cz>
5627 * predict.c (not_loop_guard_equal_edge_p): New function.
5628 (maybe_predict_edge): New function.
5629 (predict_paths_for_bb): Use it.
5630 (predict_paths_leading_to_edge): Use it.
5632 2020-08-11 Martin Liska <mliska@suse.cz>
5634 * dbgcnt.def (DEBUG_COUNTER): Add ipa_cp_bits.
5635 * ipa-cp.c (ipcp_store_bits_results): Use it when we store known
5636 bits for parameters.
5638 2020-08-10 Marek Polacek <polacek@redhat.com>
5640 * doc/sourcebuild.texi: Document dg-ice.
5642 2020-08-10 Roger Sayle <roger@nextmovesoftware.com>
5644 * config/i386/i386-expand.c (ix86_expand_int_movcc): Expand
5645 signed MIN_EXPR against zero as "x < 0 ? x : 0" instead of
5646 "x <= 0 ? x : 0" to enable sign_bit_compare_p optimizations.
5648 2020-08-10 Aldy Hernandez <aldyh@redhat.com>
5650 * value-range.h (gt_ggc_mx): Declare inline.
5653 2020-08-10 Marc Glisse <marc.glisse@inria.fr>
5655 PR tree-optimization/95433
5656 * match.pd (X * C1 == C2): Handle wrapping overflow.
5657 * expr.c (maybe_optimize_mod_cmp): Qualify call to mod_inv.
5659 * wide-int.cc (mod_inv): ... here.
5660 * wide-int.h (mod_inv): Declare it.
5662 2020-08-10 Jan Hubicka <hubicka@ucw.cz>
5664 * predict.c (filter_predictions): Document semantics of filter.
5665 (equal_edge_p): Rename to ...
5666 (not_equal_edge_p): ... this; reverse semantics.
5667 (remove_predictions_associated_with_edge): Fix.
5669 2020-08-10 Hongtao Liu <hongtao.liu@intel.com>
5672 * config/i386/i386-expand.c (ix86_expand_sse_cmp): Refine for
5674 (ix86_expand_mask_vec_cmp): Change prototype.
5675 * config/i386/i386-protos.h (ix86_expand_mask_vec_cmp): Change prototype.
5676 * config/i386/i386.c (ix86_print_operand): Remove operand
5678 * config/i386/sse.md
5679 (*<avx512>_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>): Deleted.
5680 (*<avx512>_cmp<mode>3<mask_scalar_merge_name>): Ditto.
5681 (*<avx512>_ucmp<mode>3<mask_scalar_merge_name>): Ditto.
5682 (*<avx512>_ucmp<mode>3<mask_scalar_merge_name>,
5683 avx512f_maskcmp<mode>3): Ditto.
5685 2020-08-09 Roger Sayle <roger@nextmovesoftware.com>
5687 * expmed.c (init_expmed_one_conv): Restore all->reg's mode.
5688 (init_expmed_one_mode): Set all->reg to desired mode.
5690 2020-08-08 Peter Bergner <bergner@linux.ibm.com>
5693 * config/rs6000/rs6000.c (rs6000_invalid_conversion): Use canonical
5694 types for type comparisons. Refactor code to simplify it.
5696 2020-08-08 Jakub Jelinek <jakub@redhat.com>
5699 * tree-nested.c (convert_nonlocal_omp_clauses): For
5700 OMP_CLAUSE_REDUCTION, OMP_CLAUSE_LASTPRIVATE and OMP_CLAUSE_LINEAR
5701 save info->new_local_var_chain around walks of the clause gimple
5702 sequences and declare_vars if needed into the sequence.
5704 2020-08-08 Jakub Jelinek <jakub@redhat.com>
5706 PR tree-optimization/96424
5707 * omp-expand.c: Include tree-eh.h.
5708 (expand_omp_for_init_vars): Handle -fexceptions -fnon-call-exceptions
5709 by forcing floating point comparison into a bool temporary.
5711 2020-08-07 Marc Glisse <marc.glisse@inria.fr>
5713 * generic-match-head.c (optimize_vectors_before_lowering_p): New
5715 * gimple-match-head.c (optimize_vectors_before_lowering_p):
5717 * match.pd ((v ? w : 0) ? a : b, c1 ? c2 ? a : b : b): Use it.
5719 2020-08-07 Richard Biener <rguenther@suse.de>
5721 PR tree-optimization/96514
5722 * tree-if-conv.c (if_convertible_bb_p): If the last stmt
5723 is a call that is control-altering, fail.
5725 2020-08-07 Jose E. Marchesi <jose.marchesi@oracle.com>
5727 * config/bpf/bpf.md: Remove trailing whitespaces.
5728 * config/bpf/constraints.md: Likewise.
5729 * config/bpf/predicates.md: Likewise.
5731 2020-08-07 Michael Meissner <meissner@linux.ibm.com>
5733 * config/rs6000/rs6000.md (bswaphi2_reg): Add ISA 3.1 support.
5734 (bswapsi2_reg): Add ISA 3.1 support.
5735 (bswapdi2): Rename bswapdi2_xxbrd to bswapdi2_brd.
5736 (bswapdi2_brd,bswapdi2_xxbrd): Rename. Add ISA 3.1 support.
5738 2020-08-07 Alan Modra <amodra@gmail.com>
5741 * config/rs6000/predicates.md (current_file_function_operand): Don't
5742 accept functions that differ in r2 usage.
5744 2020-08-06 Hans-Peter Nilsson <hp@bitrange.com>
5746 * config/mmix/mmix.md (MM): New mode_iterator.
5747 ("mov<mode>"): New expander to expand for all MM-modes.
5748 ("*movqi_expanded", "*movhi_expanded", "*movsi_expanded")
5749 ("*movsf_expanded", "*movdf_expanded"): Rename from the
5750 corresponding mov<M> named pattern. Add to the condition that
5751 either operand must be a register_operand.
5752 ("*movdi_expanded"): Similar, but also allow STCO in the condition.
5754 2020-08-06 Richard Sandiford <richard.sandiford@arm.com>
5757 * config/arm/arm.md (arm_stack_protect_test_insn): Zero out
5758 operand 2 after use.
5759 * config/arm/thumb1.md (thumb1_stack_protect_test_insn): Likewise.
5761 2020-08-06 Peter Bergner <bergner@linux.ibm.com>
5764 * config/rs6000/mma.md (*movpxi): Add xxsetaccz generation.
5765 Disable split for zero constant source operand.
5766 (mma_xxsetaccz): Change to define_expand. Call gen_movpxi.
5768 2020-08-06 Jakub Jelinek <jakub@redhat.com>
5770 PR tree-optimization/96480
5771 * tree-ssa-reassoc.c (suitable_cond_bb): Add TEST_SWAPPED_P argument.
5772 If TEST_BB ends in cond and has one edge to *OTHER_BB and another
5773 through an empty bb to that block too, if PHI args don't match, retry
5774 them through the other path from TEST_BB.
5775 (maybe_optimize_range_tests): Adjust callers. Handle such LAST_BB
5776 through inversion of the condition.
5778 2020-08-06 Jose E. Marchesi <jose.marchesi@oracle.com>
5780 * config/bpf/bpf-helpers.h (KERNEL_HELPER): Define.
5781 (KERNEL_VERSION): Remove.
5782 * config/bpf/bpf-helpers.def: Delete.
5783 * config/bpf/bpf.c (bpf_handle_fndecl_attribute): New function.
5784 (bpf_attribute_table): Define.
5785 (bpf_helper_names): Delete.
5786 (bpf_helper_code): Likewise.
5787 (enum bpf_builtins): Adjust to new helpers mechanism.
5788 (bpf_output_call): Likewise.
5789 (bpf_init_builtins): Likewise.
5790 (bpf_init_builtins): Likewise.
5791 * doc/extend.texi (BPF Function Attributes): New section.
5792 (BPF Kernel Helpers): Delete section.
5794 2020-08-06 Richard Biener <rguenther@suse.de>
5796 PR tree-optimization/96491
5797 * tree-ssa-sink.c (sink_common_stores_to_bb): Avoid
5798 sinking across abnormal edges.
5800 2020-08-06 Richard Biener <rguenther@suse.de>
5802 PR tree-optimization/96483
5803 * tree-ssa-pre.c (create_component_ref_by_pieces_1): Handle
5806 2020-08-06 Richard Biener <rguenther@suse.de>
5808 * graphite-isl-ast-to-gimple.c (ivs_params): Use hash_map instead
5810 (ivs_params_clear): Adjust.
5811 (gcc_expression_from_isl_ast_expr_id): Likewise.
5812 (graphite_create_new_loop): Likewise.
5813 (add_parameters_to_ivs_params): Likewise.
5815 2020-08-06 Roger Sayle <roger@nextmovesoftware.com>
5816 Uroš Bizjak <ubizjak@gmail.com>
5818 * config/i386/i386.md (MAXMIN_IMODE): No longer needed.
5819 (<maxmin><mode>3): Support SWI248 and general_operand for
5820 second operand, when TARGET_CMOVE.
5821 (<maxmin><mode>3_1 splitter): Optimize comparisons against
5822 0, 1 and -1 to use "test" instead of "cmp".
5823 (*<maxmin>di3_doubleword): Likewise, allow general_operand
5824 and enable on TARGET_CMOVE.
5825 (peephole2): Convert clearing a register after a flag setting
5826 instruction into an xor followed by the original flag setter.
5828 2020-08-06 Gerald Pfeifer <gerald@pfeifer.com>
5830 * ipa-fnsummary.c (INCLUDE_VECTOR): Define.
5831 Remove direct inclusion of <vector>.
5833 2020-08-06 Kewen Lin <linkw@gcc.gnu.org>
5835 * config/rs6000/rs6000.c (rs6000_adjust_vect_cost_per_loop): New
5837 (rs6000_finish_cost): Call rs6000_adjust_vect_cost_per_loop.
5838 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Add cost
5839 modeling for vector with length.
5840 (vect_rgroup_iv_might_wrap_p): New function, factored out from...
5841 * tree-vect-loop-manip.c (vect_set_loop_controls_directly): ...this.
5842 Update function comment.
5843 * tree-vect-stmts.c (vect_gen_len): Update function comment.
5844 * tree-vectorizer.h (vect_rgroup_iv_might_wrap_p): New declare.
5846 2020-08-06 Kewen Lin <linkw@linux.ibm.com>
5848 * tree-vectorizer.c (try_vectorize_loop_1): Skip the epilogue loops
5851 2020-08-05 Marc Glisse <marc.glisse@inria.fr>
5853 PR tree-optimization/95906
5855 * match.pd ((c ? a : b) op d, (c ? a : b) op (c ? d : e),
5856 (v ? w : 0) ? a : b, c1 ? c2 ? a : b : b): New transformations.
5857 (op (c ? a : b)): Update to match the new transformations.
5859 2020-08-05 Richard Sandiford <richard.sandiford@arm.com>
5862 * config/aarch64/aarch64.md (stack_protect_test_<mode>): Set the
5863 CC register directly, instead of a GPR. Replace the original GPR
5864 destination with an extra scratch register. Zero out operand 3
5866 (stack_protect_test): Update accordingly.
5868 2020-08-05 Richard Sandiford <richard.sandiford@arm.com>
5870 * config/aarch64/aarch64.md (load_pair_sw_<SX:mode><SX2:mode>)
5871 (load_pair_dw_<DX:mode><DX2:mode>, load_pair_dw_tftf)
5872 (store_pair_sw_<SX:mode><SX2:mode>)
5873 (store_pair_dw_<DX:mode><DX2:mode>, store_pair_dw_tftf)
5874 (*load_pair_extendsidi2_aarch64)
5875 (*load_pair_zero_extendsidi2_aarch64): Use %z for the memory operand.
5876 * config/aarch64/aarch64-simd.md (load_pair<DREG:mode><DREG2:mode>)
5877 (vec_store_pair<DREG:mode><DREG2:mode>, load_pair<VQ:mode><VQ2:mode>)
5878 (vec_store_pair<VQ:mode><VQ2:mode>): Likewise.
5880 2020-08-05 Richard Biener <rguenther@suse.de>
5882 * tree-ssa-loop-im.c (invariantness_dom_walker): Remove.
5883 (invariantness_dom_walker::before_dom_children): Move to ...
5884 (compute_invariantness): ... this function.
5885 (move_computations): Inline ...
5886 (tree_ssa_lim): ... here, share RPO order and avoid some
5888 (analyze_memory_references): Remove sorting of location
5889 lists, instead assert they are sorted already when checking.
5890 (prev_flag_edges): Remove.
5891 (execute_sm_if_changed): Pass down and adjust prev edge state.
5892 (execute_sm_exit): Likewise.
5893 (hoist_memory_references): Likewise. Commit edge insertions
5894 of each processed exit.
5895 (store_motion_loop): Do not commit edge insertions on all
5896 edges in the function.
5897 (tree_ssa_lim_initialize): Do not call alloc_aux_for_edges.
5898 (tree_ssa_lim_finalize): Do not call free_aux_for_edges.
5900 2020-08-05 Richard Biener <rguenther@suse.de>
5902 * genmatch.c (fail_label): New global.
5903 (expr::gen_transform): Branch to fail_label instead of
5904 returning. Fix indent of call argument checking.
5905 (dt_simplify::gen_1): Compute and emit fail_label, branch
5906 to it instead of returning early.
5908 2020-08-05 Jakub Jelinek <jakub@redhat.com>
5910 * omp-expand.c (expand_omp_for): Don't disallow combined non-rectangular
5913 2020-08-05 Jakub Jelinek <jakub@redhat.com>
5916 * omp-low.c (lower_omp_taskreg): Call lower_reduction_clauses even in
5919 2020-08-05 Jakub Jelinek <jakub@redhat.com>
5921 * omp-expand.c (expand_omp_for_init_counts): Remember
5922 first_inner_iterations, factor and n1o from the number of iterations
5924 (expand_omp_for_init_vars): Use more efficient logical iteration number
5925 to actual iterator values computation even for non-rectangular loops
5926 where number of loop iterations could not be computed at compile time.
5928 2020-08-05 2020-08-04 Carl Love <cel@us.ibm.com>
5930 * config/rs6000/altivec.h (vec_blendv, vec_permx): Add define.
5931 * config/rs6000/altivec.md (UNSPEC_XXBLEND, UNSPEC_XXPERMX.): New
5933 (VM3): New define_mode.
5934 (VM3_char): New define_attr.
5935 (xxblend_<mode> mode VM3): New define_insn.
5936 (xxpermx): New define_expand.
5937 (xxpermx_inst): New define_insn.
5938 * config/rs6000/rs6000-builtin.def (VXXBLEND_V16QI, VXXBLEND_V8HI,
5939 VXXBLEND_V4SI, VXXBLEND_V2DI, VXXBLEND_V4SF, VXXBLEND_V2DF): New
5940 BU_P10V_3 definitions.
5941 (XXBLEND): New BU_P10_OVERLOAD_3 definition.
5942 (XXPERMX): New BU_P10_OVERLOAD_4 definition.
5943 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
5944 (P10_BUILTIN_VXXPERMX): Add if statement.
5945 * config/rs6000/rs6000-call.c (P10_BUILTIN_VXXBLEND_V16QI,
5946 P10_BUILTIN_VXXBLEND_V8HI, P10_BUILTIN_VXXBLEND_V4SI,
5947 P10_BUILTIN_VXXBLEND_V2DI, P10_BUILTIN_VXXBLEND_V4SF,
5948 P10_BUILTIN_VXXBLEND_V2DF, P10_BUILTIN_VXXPERMX): Define
5949 overloaded arguments.
5950 (rs6000_expand_quaternop_builtin): Add if case for CODE_FOR_xxpermx.
5951 (builtin_quaternary_function_type): Add v16uqi_type and xxpermx_type
5952 variables, add case statement for P10_BUILTIN_VXXPERMX.
5953 (builtin_function_type): Add case statements for
5954 P10_BUILTIN_VXXBLEND_V16QI, P10_BUILTIN_VXXBLEND_V8HI,
5955 P10_BUILTIN_VXXBLEND_V4SI, P10_BUILTIN_VXXBLEND_V2DI.
5956 * doc/extend.texi: Add documentation for vec_blendv and vec_permx.
5958 2020-08-05 2020-08-04 Carl Love <cel@us.ibm.com>
5960 * config/rs6000/altivec.h (vec_splati, vec_splatid, vec_splati_ins):
5962 * config/rs6000/altivec.md (UNSPEC_XXSPLTIW, UNSPEC_XXSPLTID,
5963 UNSPEC_XXSPLTI32DX): New.
5964 (vxxspltiw_v4si, vxxspltiw_v4sf_inst, vxxspltidp_v2df_inst,
5965 vxxsplti32dx_v4si_inst, vxxsplti32dx_v4sf_inst): New define_insn.
5966 (vxxspltiw_v4sf, vxxspltidp_v2df, vxxsplti32dx_v4si,
5967 vxxsplti32dx_v4sf.): New define_expands.
5968 * config/rs6000/predicates.md (u1bit_cint_operand,
5969 s32bit_cint_operand, c32bit_cint_operand): New predicates.
5970 * config/rs6000/rs6000-builtin.def (VXXSPLTIW_V4SI, VXXSPLTIW_V4SF,
5971 VXXSPLTID): New definitions.
5972 (VXXSPLTI32DX_V4SI, VXXSPLTI32DX_V4SF): New BU_P10V_3
5974 (XXSPLTIW, XXSPLTID): New definitions.
5975 (XXSPLTI32DX): Add definitions.
5976 * config/rs6000/rs6000-call.c (P10_BUILTIN_VEC_XXSPLTIW,
5977 P10_BUILTIN_VEC_XXSPLTID, P10_BUILTIN_VEC_XXSPLTI32DX):
5979 * config/rs6000/rs6000-protos.h (rs6000_constF32toI32): New extern
5981 * config/rs6000/rs6000.c (rs6000_constF32toI32): New function.
5982 * doc/extend.texi: Add documentation for vec_splati,
5983 vec_splatid, and vec_splati_ins.
5985 2020-08-05 2020-08-04 Carl Love <cel@us.ibm.com>
5987 * config/rs6000/altivec.h (vec_sldb, vec_srdb): New defines.
5988 * config/rs6000/altivec.md (UNSPEC_SLDB, UNSPEC_SRDB): New.
5989 (SLDB_lr): New attribute.
5990 (VSHIFT_DBL_LR): New iterator.
5991 (vs<SLDB_lr>db_<mode>): New define_insn.
5992 * config/rs6000/rs6000-builtin.def (VSLDB_V16QI, VSLDB_V8HI,
5993 VSLDB_V4SI, VSLDB_V2DI, VSRDB_V16QI, VSRDB_V8HI, VSRDB_V4SI,
5994 VSRDB_V2DI): New BU_P10V_3 definitions.
5995 (SLDB, SRDB): New BU_P10_OVERLOAD_3 definitions.
5996 * config/rs6000/rs6000-call.c (P10_BUILTIN_VEC_SLDB,
5997 P10_BUILTIN_VEC_SRDB): New definitions.
5998 (rs6000_expand_ternop_builtin) [CODE_FOR_vsldb_v16qi,
5999 CODE_FOR_vsldb_v8hi, CODE_FOR_vsldb_v4si, CODE_FOR_vsldb_v2di,
6000 CODE_FOR_vsrdb_v16qi, CODE_FOR_vsrdb_v8hi, CODE_FOR_vsrdb_v4si,
6001 CODE_FOR_vsrdb_v2di]: Add clauses.
6002 * doc/extend.texi: Add description for vec_sldb and vec_srdb.
6004 2020-08-05 2020-08-04 Carl Love <cel@us.ibm.com>
6006 * config/rs6000/altivec.h: Add define for vec_replace_elt and
6007 vec_replace_unaligned.
6008 * config/rs6000/vsx.md (UNSPEC_REPLACE_ELT, UNSPEC_REPLACE_UN): New
6010 (REPLACE_ELT): New mode iterator.
6011 (REPLACE_ELT_char, REPLACE_ELT_sh, REPLACE_ELT_max): New mode attributes.
6012 (vreplace_un_<mode>, vreplace_elt_<mode>_inst): New.
6013 * config/rs6000/rs6000-builtin.def (VREPLACE_ELT_V4SI,
6014 VREPLACE_ELT_UV4SI, VREPLACE_ELT_V4SF, VREPLACE_ELT_UV2DI,
6015 VREPLACE_ELT_V2DF, VREPLACE_UN_V4SI, VREPLACE_UN_UV4SI,
6016 VREPLACE_UN_V4SF, VREPLACE_UN_V2DI, VREPLACE_UN_UV2DI,
6017 VREPLACE_UN_V2DF, (REPLACE_ELT, REPLACE_UN, VREPLACE_ELT_V2DI): New builtin
6019 * config/rs6000/rs6000-call.c (P10_BUILTIN_VEC_REPLACE_ELT,
6020 P10_BUILTIN_VEC_REPLACE_UN): New builtin argument definitions.
6021 (rs6000_expand_quaternop_builtin): Add 3rd argument checks for
6022 CODE_FOR_vreplace_elt_v4si, CODE_FOR_vreplace_elt_v4sf,
6023 CODE_FOR_vreplace_un_v4si, CODE_FOR_vreplace_un_v4sf.
6024 (builtin_function_type) [P10_BUILTIN_VREPLACE_ELT_UV4SI,
6025 P10_BUILTIN_VREPLACE_ELT_UV2DI, P10_BUILTIN_VREPLACE_UN_UV4SI,
6026 P10_BUILTIN_VREPLACE_UN_UV2DI]: New cases.
6027 * doc/extend.texi: Add description for vec_replace_elt and
6028 vec_replace_unaligned builtins.
6030 2020-08-05 2020-08-04 Carl Love <cel@us.ibm.com>
6032 * config/rs6000/altivec.h (vec_insertl, vec_inserth): New defines.
6033 * config/rs6000/rs6000-builtin.def (VINSERTGPRBL, VINSERTGPRHL,
6034 VINSERTGPRWL, VINSERTGPRDL, VINSERTVPRBL, VINSERTVPRHL, VINSERTVPRWL,
6035 VINSERTGPRBR, VINSERTGPRHR, VINSERTGPRWR, VINSERTGPRDR, VINSERTVPRBR,
6036 VINSERTVPRHR, VINSERTVPRWR): New builtins.
6037 (INSERTL, INSERTH): New builtins.
6038 * config/rs6000/rs6000-call.c (P10_BUILTIN_VEC_INSERTL,
6039 P10_BUILTIN_VEC_INSERTH): New overloaded definitions.
6040 (P10_BUILTIN_VINSERTGPRBL, P10_BUILTIN_VINSERTGPRHL,
6041 P10_BUILTIN_VINSERTGPRWL, P10_BUILTIN_VINSERTGPRDL,
6042 P10_BUILTIN_VINSERTVPRBL, P10_BUILTIN_VINSERTVPRHL,
6043 P10_BUILTIN_VINSERTVPRWL): Add case entries.
6044 * config/rs6000/vsx.md (define_c_enum): Add UNSPEC_INSERTL,
6046 (define_expand): Add vinsertvl_<mode>, vinsertvr_<mode>,
6047 vinsertgl_<mode>, vinsertgr_<mode>, mode is VI2.
6048 (define_ins): vinsertvl_internal_<mode>, vinsertvr_internal_<mode>,
6049 vinsertgl_internal_<mode>, vinsertgr_internal_<mode>, mode VEC_I.
6050 * doc/extend.texi: Add documentation for vec_insertl, vec_inserth.
6052 2020-08-05 2020-08-04 Carl Love <cel@us.ibm.com>
6054 * config/rs6000/altivec.md: (UNSPEC_EXTRACTL, UNSPEC_EXTRACTR)
6055 (vextractl<mode>, vextractr<mode>)
6056 (vextractl<mode>_internal, vextractr<mode>_internal for mode VI2)
6058 * config/rs6000/vsx.md: (UNSPEC_EXTRACTL, UNSPEC_EXTRACTR)
6059 (vextractl<mode>, vextractr<mode>)
6060 (vextractl<mode>_internal, vextractr<mode>_internal for mode VI2)
6062 * doc/extend.texi: Update documentation for vec_extractl.
6063 Replace builtin name vec_extractr with vec_extracth. Update
6064 description of vec_extracth.
6066 2020-08-04 Jim Wilson <jimw@sifive.com>
6068 * doc/invoke.texi (AArch64 Options): Delete duplicate
6069 -mstack-protector-guard docs.
6071 2020-08-04 Roger Sayle <roger@nextmovesoftware.com>
6073 * config/nvptx/nvptx.md (smulhi3_highpart, smulsi3_highpart)
6074 (umulhi3_highpart, umulsi3_highpart): New instructions.
6076 2020-08-04 Andrew Stubbs <ams@codesourcery.com>
6078 * config/gcn/gcn-run.c (R_AMDGPU_NONE): Delete.
6079 (R_AMDGPU_ABS32_LO): Delete.
6080 (R_AMDGPU_ABS32_HI): Delete.
6081 (R_AMDGPU_ABS64): Delete.
6082 (R_AMDGPU_REL32): Delete.
6083 (R_AMDGPU_REL64): Delete.
6084 (R_AMDGPU_ABS32): Delete.
6085 (R_AMDGPU_GOTPCREL): Delete.
6086 (R_AMDGPU_GOTPCREL32_LO): Delete.
6087 (R_AMDGPU_GOTPCREL32_HI): Delete.
6088 (R_AMDGPU_REL32_LO): Delete.
6089 (R_AMDGPU_REL32_HI): Delete.
6091 (R_AMDGPU_RELATIVE64): Delete.
6093 2020-08-04 Omar Tahir <omar.tahir@arm.com>
6095 * config/arm/arm-cpus.in (armv8.1-m.main): Tune for Cortex-M55.
6097 2020-08-04 Hu Jiangping <hujiangping@cn.fujitsu.com>
6099 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Delete
6100 redundant extra_cost variable.
6102 2020-08-04 Zhiheng Xie <xiezhiheng@huawei.com>
6104 * config/aarch64/aarch64-builtins.c (aarch64_call_properties):
6105 Use FLOAT_MODE_P macro instead of enumerating all floating-point
6106 modes and add global flag FLAG_AUTO_FP.
6108 2020-08-04 Jakub Jelinek <jakub@redhat.com>
6110 * doc/extend.texi (symver): Add @cindex for symver function attribute.
6112 2020-08-04 Marc Glisse <marc.glisse@inria.fr>
6114 PR tree-optimization/95433
6115 * match.pd (X * C1 == C2): New transformation.
6117 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6119 * gimple-ssa-sprintf.c (get_int_range): Adjust for irange API.
6120 (format_integer): Same.
6121 (handle_printf_call): Same.
6123 2020-08-04 Andrew Stubbs <ams@codesourcery.com>
6125 * config/gcn/gcn.md ("<expander>ti3"): New.
6127 2020-08-04 Richard Biener <rguenther@suse.de>
6129 PR tree-optimization/88240
6130 * tree-ssa-sccvn.h (vn_reference_s::punned): New flag.
6131 * tree-ssa-sccvn.c (vn_reference_insert): Initialize punned.
6132 (vn_reference_insert_pieces): Likewise.
6133 (visit_reference_op_call): Likewise.
6134 (visit_reference_op_load): Track whether a ref was punned.
6135 * tree-ssa-pre.c (do_hoist_insertion): Refuse to perform hoist
6136 insertion on punned floating point loads.
6138 2020-08-04 Sudakshina Das <sudi.das@arm.com>
6140 * config/aarch64/aarch64.c (aarch64_gen_store_pair): Add case
6142 (aarch64_gen_load_pair): Likewise.
6143 (aarch64_copy_one_block_and_progress_pointers): Handle 256 bit copy.
6144 (aarch64_expand_cpymem): Expand copy_limit to 256bits where
6147 2020-08-04 Andrea Corallo <andrea.corallo@arm.com>
6149 * config/aarch64/aarch64.md (aarch64_fjcvtzs): Add missing
6151 * doc/sourcebuild.texi (aarch64_fjcvtzs_hw) Document new
6152 target supports option.
6154 2020-08-04 Tom de Vries <tdevries@suse.de>
6157 * config/nvptx/nvptx.c (nvptx_gen_shuffle): Handle V2SI/V2DI.
6159 2020-08-04 Jakub Jelinek <jakub@redhat.com>
6162 * tree-vect-generic.c (expand_vector_conversion): Replace .VEC_CONVERT
6163 call with GIMPLE_NOP if there is no lhs.
6165 2020-08-04 Jakub Jelinek <jakub@redhat.com>
6168 * gimple-fold.c (maybe_canonicalize_mem_ref_addr): Add IS_DEBUG
6169 argument. Return false instead of gcc_unreachable if it is true and
6170 get_addr_base_and_unit_offset returns NULL.
6171 (fold_stmt_1) <case GIMPLE_DEBUG>: Adjust caller.
6173 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6175 * vr-values.c (simplify_using_ranges::vrp_evaluate_conditional):
6176 Call is_gimple_min_invariant dropped from previous patch.
6178 2020-08-04 Jakub Jelinek <jakub@redhat.com>
6180 * omp-expand.c (expand_omp_for_init_counts): For triangular loops
6181 compute number of iterations at runtime more efficiently.
6182 (expand_omp_for_init_vars): Adjust immediate dominators.
6183 (extract_omp_for_update_vars): Likewise.
6185 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6187 * vr-values.c (simplify_using_ranges::two_valued_val_range_p):
6190 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6192 * vr-values.c (simplify_conversion_using_ranges): Convert to irange API.
6194 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6196 * vr-values.c (test_for_singularity): Use irange API.
6197 (simplify_using_ranges::simplify_cond_using_ranges_1): Do not
6198 special case VR_RANGE.
6200 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6202 * vr-values.c (simplify_using_ranges::vrp_evaluate_conditional): Adjust
6205 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6207 * vr-values.c (simplify_using_ranges::op_with_boolean_value_range_p): Adjust
6210 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6212 * tree-ssanames.c (get_range_info): Use irange instead of value_range.
6213 * tree-ssanames.h (get_range_info): Same.
6215 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6217 * fold-const.c (expr_not_equal_to): Adjust for irange API.
6219 2020-08-04 Aldy Hernandez <aldyh@redhat.com>
6221 * builtins.c (determine_block_size): Remove ad-hoc range canonicalization.
6223 2020-08-04 Xionghu Luo <luoxhu@linux.ibm.com>
6225 PR rtl-optimization/71309
6226 * dse.c (find_shift_sequence): Use subreg of shifted from high part
6227 register to avoid loading from address.
6229 2020-08-03 Jonathan Wakely <jwakely@redhat.com>
6231 * doc/cpp.texi (Variadic Macros): Use the exact ... token in
6234 2020-08-03 Nathan Sidwell <nathan@acm.org>
6236 * doc/invoke.texi: Refer to c++20
6238 2020-08-03 Julian Brown <julian@codesourcery.com>
6239 Thomas Schwinge <thomas@codesourcery.com>
6241 * gimplify.c (gimplify_omp_target_update): Allow GOMP_MAP_TO_PSET
6242 without a preceding data-movement mapping.
6244 2020-08-03 Iain Sandoe <iain@sandoe.co.uk>
6246 * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): UNDEF before
6248 (DEF_MIN_OSX_VERSION): Only define if there's no existing
6251 2020-08-03 Iain Sandoe <iain@sandoe.co.uk>
6253 * config/darwin.c (IN_TARGET_CODE): Remove.
6254 (darwin_mergeable_constant_section): Handle poly-int machine modes.
6255 (machopic_select_rtx_section): Likewise.
6257 2020-08-03 Aldy Hernandez <aldyh@redhat.com>
6259 PR tree-optimization/96430
6260 * range-op.cc (operator_tests): Do not shift by 31 on targets with
6261 integer's smaller than 32 bits.
6263 2020-08-03 Martin Jambor <mjambor@suse.cz>
6265 * hsa-brig-format.h: Moved to brig/brigfrontend.
6266 * hsa-brig.c: Removed.
6267 * hsa-builtins.def: Likewise.
6268 * hsa-common.c: Likewise.
6269 * hsa-common.h: Likewise.
6270 * hsa-dump.c: Likewise.
6271 * hsa-gen.c: Likewise.
6272 * hsa-regalloc.c: Likewise.
6273 * ipa-hsa.c: Likewise.
6274 * omp-grid.c: Likewise.
6275 * omp-grid.h: Likewise.
6276 * Makefile.in (BUILTINS_DEF): Remove hsa-builtins.def.
6277 (OBJS): Remove hsa-common.o, hsa-gen.o, hsa-regalloc.o, hsa-brig.o,
6278 hsa-dump.o, ipa-hsa.c and omp-grid.o.
6279 (GTFILES): Removed hsa-common.c and omp-expand.c.
6280 * builtins.def: Remove processing of hsa-builtins.def.
6281 (DEF_HSA_BUILTIN): Remove.
6282 * common.opt (flag_disable_hsa): Remove.
6284 * config.in (ENABLE_HSA): Removed.
6285 * configure.ac: Removed handling configuration for hsa offloading.
6286 (ENABLE_HSA): Removed.
6287 * configure: Regenerated.
6288 * doc/install.texi (--enable-offload-targets): Remove hsa from the
6290 (--with-hsa-runtime): Reword to reference any HSA run-time, not
6291 specifically HSA offloading.
6292 * doc/invoke.texi (Option Summary): Remove -Whsa.
6293 (Warning Options): Likewise.
6294 (Optimize Options): Remove hsa-gen-debug-stores.
6295 * doc/passes.texi (Regular IPA passes): Remove section on IPA HSA
6297 * gimple-low.c (lower_stmt): Remove GIMPLE_OMP_GRID_BODY case.
6298 * gimple-pretty-print.c (dump_gimple_omp_for): Likewise.
6299 (dump_gimple_omp_block): Likewise.
6300 (pp_gimple_stmt_1): Likewise.
6301 * gimple-walk.c (walk_gimple_stmt): Likewise.
6302 * gimple.c (gimple_build_omp_grid_body): Removed function.
6303 (gimple_copy): Remove GIMPLE_OMP_GRID_BODY case.
6304 * gimple.def (GIMPLE_OMP_GRID_BODY): Removed.
6305 * gimple.h (gf_mask): Removed GF_OMP_PARALLEL_GRID_PHONY,
6306 OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY,
6307 GF_OMP_FOR_GRID_INTRA_GROUP, GF_OMP_FOR_GRID_GROUP_ITER and
6308 GF_OMP_TEAMS_GRID_PHONY. Renumbered GF_OMP_FOR_KIND_SIMD and
6310 (gimple_build_omp_grid_body): Removed declaration.
6311 (gimple_has_substatements): Remove GIMPLE_OMP_GRID_BODY case.
6312 (gimple_omp_for_grid_phony): Removed.
6313 (gimple_omp_for_set_grid_phony): Likewise.
6314 (gimple_omp_for_grid_intra_group): Likewise.
6315 (gimple_omp_for_grid_intra_group): Likewise.
6316 (gimple_omp_for_grid_group_iter): Likewise.
6317 (gimple_omp_for_set_grid_group_iter): Likewise.
6318 (gimple_omp_parallel_grid_phony): Likewise.
6319 (gimple_omp_parallel_set_grid_phony): Likewise.
6320 (gimple_omp_teams_grid_phony): Likewise.
6321 (gimple_omp_teams_set_grid_phony): Likewise.
6322 (CASE_GIMPLE_OMP): Remove GIMPLE_OMP_GRID_BODY case.
6323 * lto-section-in.c (lto_section_name): Removed hsa.
6324 * lto-streamer.h (lto_section_type): Removed LTO_section_ipa_hsa.
6325 * lto-wrapper.c (compile_images_for_offload_targets): Remove special
6327 * omp-expand.c: Do not include hsa-common.h and gt-omp-expand.h.
6328 (parallel_needs_hsa_kernel_p): Removed.
6329 (grid_launch_attributes_trees): Likewise.
6330 (grid_launch_attributes_trees): Likewise.
6331 (grid_create_kernel_launch_attr_types): Likewise.
6332 (grid_insert_store_range_dim): Likewise.
6333 (grid_get_kernel_launch_attributes): Likewise.
6334 (get_target_arguments): Remove code passing HSA grid sizes.
6335 (grid_expand_omp_for_loop): Remove.
6336 (grid_arg_decl_map): Likewise.
6337 (grid_remap_kernel_arg_accesses): Likewise.
6338 (grid_expand_target_grid_body): Likewise.
6339 (expand_omp): Remove call to grid_expand_target_grid_body.
6340 (omp_make_gimple_edges): Remove GIMPLE_OMP_GRID_BODY case.
6341 * omp-general.c: Do not include hsa-common.h.
6342 (omp_maybe_offloaded): Do not check for HSA offloading.
6343 (omp_context_selector_matches): Likewise.
6344 * omp-low.c: Do not include hsa-common.h and omp-grid.h.
6345 (build_outer_var_ref): Remove handling of GIMPLE_OMP_GRID_BODY.
6346 (scan_sharing_clauses): Remove handling of OMP_CLAUSE__GRIDDIM_.
6347 (scan_omp_parallel): Remove handling of the phoney variant.
6348 (check_omp_nesting_restrictions): Remove handling of
6349 GIMPLE_OMP_GRID_BODY and GF_OMP_FOR_KIND_GRID_LOOP.
6350 (scan_omp_1_stmt): Remove handling of GIMPLE_OMP_GRID_BODY.
6351 (lower_omp_for_lastprivate): Remove handling of gridified loops.
6352 (lower_omp_for): Remove phony loop handling.
6353 (lower_omp_taskreg): Remove phony construct handling.
6354 (lower_omp_teams): Likewise.
6355 (lower_omp_grid_body): Removed.
6356 (lower_omp_1): Remove GIMPLE_OMP_GRID_BODY case.
6357 (execute_lower_omp): Do not call omp_grid_gridify_all_targets.
6358 * opts.c (common_handle_option): Do not handle hsa when processing
6360 * params.opt (hsa-gen-debug-stores): Remove.
6361 * passes.def: Remove pass_ipa_hsa and pass_gen_hsail.
6362 * timevar.def: Remove TV_IPA_HSA.
6363 * toplev.c: Do not include hsa-common.h.
6364 (compile_file): Do not call hsa_output_brig.
6365 * tree-core.h (enum omp_clause_code): Remove OMP_CLAUSE__GRIDDIM_.
6366 (tree_omp_clause): Remove union field dimension.
6367 * tree-nested.c (convert_nonlocal_omp_clauses): Remove the
6368 OMP_CLAUSE__GRIDDIM_ case.
6369 (convert_local_omp_clauses): Likewise.
6370 * tree-pass.h (make_pass_gen_hsail): Remove declaration.
6371 (make_pass_ipa_hsa): Likewise.
6372 * tree-pretty-print.c (dump_omp_clause): Remove GIMPLE_OMP_GRID_BODY
6374 * tree.c (omp_clause_num_ops): Remove the element corresponding to
6375 OMP_CLAUSE__GRIDDIM_.
6376 (omp_clause_code_name): Likewise.
6377 (walk_tree_1): Remove GIMPLE_OMP_GRID_BODY case.
6378 * tree.h (OMP_CLAUSE__GRIDDIM__DIMENSION): Remove.
6379 (OMP_CLAUSE__GRIDDIM__SIZE): Likewise.
6380 (OMP_CLAUSE__GRIDDIM__GROUP): Likewise.
6382 2020-08-03 Bu Le <bule1@huawei.com>
6384 * config/aarch64/aarch64-sve.md (sub<mode>3): Add support for
6387 2020-08-03 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6389 * config/msp430/msp430.h (ASM_SPEC): Don't pass on "-md" option.
6391 2020-08-03 Yunde Zhong <zhongyunde@huawei.com>
6393 PR rtl-optimization/95696
6394 * regrename.c (regrename_analyze): New param include_all_block_p
6395 with default value TRUE. If set to false, avoid disrupting SMS
6397 * regrename.h (regrename_analyze): Adjust prototype.
6399 2020-08-03 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
6401 * doc/tm.texi.in (VECTOR_STORE_FLAG_VALUE): Fix a typo.
6402 * doc/tm.texi: Regenerate.
6404 2020-08-03 Richard Sandiford <richard.sandiford@arm.com>
6406 * doc/invoke.texi: Add missing comma after octeontx2f95mm entry.
6408 2020-08-03 Qian jianhua <qianjh@cn.fujitsu.com>
6410 * config/aarch64/aarch64-cores.def (a64fx): New core.
6411 * config/aarch64/aarch64-tune.md: Regenerated.
6412 * config/aarch64/aarch64.c (a64fx_prefetch_tune, a64fx_tunings): New.
6413 * doc/invoke.texi: Add a64fx to the list.
6415 2020-08-03 Roger Sayle <roger@nextmovesoftware.com>
6417 PR rtl-optimization/61494
6418 * simplify-rtx.c (simplify_binary_operation_1) [MINUS]: Don't
6419 simplify x - 0.0 with -fsignaling-nans.
6421 2020-08-03 Roger Sayle <roger@nextmovesoftware.com>
6423 * genmatch.c (decision_tree::gen): Emit stub functions for
6424 tree code operand counts that have no simplifications.
6425 (main): Correct comment typo.
6427 2020-08-03 Jonathan Wakely <jwakely@redhat.com>
6429 * gimple-ssa-sprintf.c: Fix typos in comments.
6431 2020-08-03 Tamar Christina <tamar.christina@arm.com>
6433 * config/aarch64/driver-aarch64.c (readline): Check return value fgets.
6435 2020-08-03 Richard Biener <rguenther@suse.de>
6437 * doc/match-and-simplify.texi: Amend accordingly.
6439 2020-08-03 Richard Biener <rguenther@suse.de>
6441 * genmatch.c (parser::gimple): New.
6442 (parser::parser): Initialize gimple flag member.
6443 (parser::parse_expr): Error on ! operator modifier when
6444 not targeting GIMPLE.
6445 (main): Pass down gimple flag to parser ctor.
6447 2020-08-03 Aldy Hernandez <aldyh@redhat.com>
6449 * Makefile.in (GTFILES): Move value-range.h up.
6450 * gengtype-lex.l: Set yylval to handle GTY markers on templates.
6451 * ipa-cp.c (initialize_node_lattices): Call value_range
6453 (ipcp_propagate_stage): Use in-place new so value_range construct
6455 * ipa-fnsummary.c (evaluate_conditions_for_known_args): Use std
6456 vec instead of GCC's vec<>.
6457 (evaluate_properties_for_edge): Adjust for std vec.
6458 (ipa_fn_summary_t::duplicate): Same.
6459 (estimate_ipcp_clone_size_and_time): Same.
6460 * ipa-prop.c (ipa_get_value_range): Use in-place new for
6462 * ipa-prop.h (struct GTY): Remove class keyword for m_vr.
6463 * range-op.cc (empty_range_check): Rename to...
6464 (empty_range_varying): ...this and adjust for varying.
6465 (undefined_shift_range_check): Adjust for irange.
6466 (range_operator::wi_fold): Same.
6467 (range_operator::fold_range): Adjust for irange. Special case
6468 single pairs for performance.
6469 (range_operator::op1_range): Adjust for irange.
6470 (range_operator::op2_range): Same.
6471 (value_range_from_overflowed_bounds): Same.
6472 (value_range_with_overflow): Same.
6473 (create_possibly_reversed_range): Same.
6475 (range_false): Same.
6476 (range_true_and_false): Same.
6477 (get_bool_state): Adjust for irange and tweak for performance.
6478 (operator_equal::fold_range): Adjust for irange.
6479 (operator_equal::op1_range): Same.
6480 (operator_equal::op2_range): Same.
6481 (operator_not_equal::fold_range): Same.
6482 (operator_not_equal::op1_range): Same.
6483 (operator_not_equal::op2_range): Same.
6488 (operator_lt::fold_range): Same.
6489 (operator_lt::op1_range): Same.
6490 (operator_lt::op2_range): Same.
6491 (operator_le::fold_range): Same.
6492 (operator_le::op1_range): Same.
6493 (operator_le::op2_range): Same.
6494 (operator_gt::fold_range): Same.
6495 (operator_gt::op1_range): Same.
6496 (operator_gt::op2_range): Same.
6497 (operator_ge::fold_range): Same.
6498 (operator_ge::op1_range): Same.
6499 (operator_ge::op2_range): Same.
6500 (operator_plus::wi_fold): Same.
6501 (operator_plus::op1_range): Same.
6502 (operator_plus::op2_range): Same.
6503 (operator_minus::wi_fold): Same.
6504 (operator_minus::op1_range): Same.
6505 (operator_minus::op2_range): Same.
6506 (operator_min::wi_fold): Same.
6507 (operator_max::wi_fold): Same.
6508 (cross_product_operator::wi_cross_product): Same.
6509 (operator_mult::op1_range): New.
6510 (operator_mult::op2_range): New.
6511 (operator_mult::wi_fold): Adjust for irange.
6512 (operator_div::wi_fold): Same.
6513 (operator_exact_divide::op1_range): Same.
6514 (operator_lshift::fold_range): Same.
6515 (operator_lshift::wi_fold): Same.
6516 (operator_lshift::op1_range): New.
6517 (operator_rshift::op1_range): New.
6518 (operator_rshift::fold_range): Adjust for irange.
6519 (operator_rshift::wi_fold): Same.
6520 (operator_cast::truncating_cast_p): Abstract out from
6521 operator_cast::fold_range.
6522 (operator_cast::fold_range): Adjust for irange and tweak for
6524 (operator_cast::inside_domain_p): Abstract out from fold_range.
6525 (operator_cast::fold_pair): Same.
6526 (operator_cast::op1_range): Use abstracted methods above. Adjust
6527 for irange and tweak for performance.
6528 (operator_logical_and::fold_range): Adjust for irange.
6529 (operator_logical_and::op1_range): Same.
6530 (operator_logical_and::op2_range): Same.
6531 (unsigned_singleton_p): New.
6532 (operator_bitwise_and::remove_impossible_ranges): New.
6533 (operator_bitwise_and::fold_range): New.
6534 (wi_optimize_and_or): Adjust for irange.
6535 (operator_bitwise_and::wi_fold): Same.
6536 (set_nonzero_range_from_mask): New.
6537 (operator_bitwise_and::simple_op1_range_solver): New.
6538 (operator_bitwise_and::op1_range): Adjust for irange.
6539 (operator_bitwise_and::op2_range): Same.
6540 (operator_logical_or::fold_range): Same.
6541 (operator_logical_or::op1_range): Same.
6542 (operator_logical_or::op2_range): Same.
6543 (operator_bitwise_or::wi_fold): Same.
6544 (operator_bitwise_or::op1_range): Same.
6545 (operator_bitwise_or::op2_range): Same.
6546 (operator_bitwise_xor::wi_fold): Same.
6547 (operator_bitwise_xor::op1_range): New.
6548 (operator_bitwise_xor::op2_range): New.
6549 (operator_trunc_mod::wi_fold): Adjust for irange.
6550 (operator_logical_not::fold_range): Same.
6551 (operator_logical_not::op1_range): Same.
6552 (operator_bitwise_not::fold_range): Same.
6553 (operator_bitwise_not::op1_range): Same.
6554 (operator_cst::fold_range): Same.
6555 (operator_identity::fold_range): Same.
6556 (operator_identity::op1_range): Same.
6557 (class operator_unknown): New.
6558 (operator_unknown::fold_range): New.
6559 (class operator_abs): Adjust for irange.
6560 (operator_abs::wi_fold): Same.
6561 (operator_abs::op1_range): Same.
6562 (operator_absu::wi_fold): Same.
6563 (class operator_negate): Same.
6564 (operator_negate::fold_range): Same.
6565 (operator_negate::op1_range): Same.
6566 (operator_addr_expr::fold_range): Same.
6567 (operator_addr_expr::op1_range): Same.
6568 (pointer_plus_operator::wi_fold): Same.
6569 (pointer_min_max_operator::wi_fold): Same.
6570 (pointer_and_operator::wi_fold): Same.
6571 (pointer_or_operator::op1_range): New.
6572 (pointer_or_operator::op2_range): New.
6573 (pointer_or_operator::wi_fold): Adjust for irange.
6574 (integral_table::integral_table): Add entries for IMAGPART_EXPR
6575 and POINTER_DIFF_EXPR.
6576 (range_cast): Adjust for irange.
6577 (build_range3): New.
6578 (range3_tests): New.
6579 (widest_irange_tests): New.
6580 (multi_precision_range_tests): New.
6581 (operator_tests): New.
6583 * range-op.h (class range_operator): Adjust for irange.
6585 * tree-vrp.c (range_fold_binary_symbolics_p): Adjust for irange and
6586 tweak for performance.
6587 (range_fold_binary_expr): Same.
6588 (masked_increment): Change to extern.
6589 * tree-vrp.h (masked_increment): New.
6590 * tree.c (cache_wide_int_in_type_cache): New function abstracted
6591 out from wide_int_to_tree_1.
6592 (wide_int_to_tree_1): Cache 0, 1, and MAX for pointers.
6593 * value-range-equiv.cc (value_range_equiv::deep_copy): Use kind
6595 (value_range_equiv::move): Same.
6596 (value_range_equiv::check): Adjust for irange.
6597 (value_range_equiv::intersect): Same.
6598 (value_range_equiv::union_): Same.
6599 (value_range_equiv::dump): Same.
6600 * value-range.cc (irange::operator=): Same.
6601 (irange::maybe_anti_range): New.
6602 (irange::copy_legacy_range): New.
6603 (irange::set_undefined): Adjust for irange.
6604 (irange::swap_out_of_order_endpoints): Abstract out from set().
6605 (irange::set_varying): Adjust for irange.
6606 (irange::irange_set): New.
6607 (irange::irange_set_anti_range): New.
6608 (irange::set): Adjust for irange.
6609 (value_range::set_nonzero): Move to header file.
6610 (value_range::set_zero): Move to header file.
6611 (value_range::check): Rename to...
6612 (irange::verify_range): ...this.
6613 (value_range::num_pairs): Rename to...
6614 (irange::legacy_num_pairs): ...this, and adjust for irange.
6615 (value_range::lower_bound): Rename to...
6616 (irange::legacy_lower_bound): ...this, and adjust for irange.
6617 (value_range::upper_bound): Rename to...
6618 (irange::legacy_upper_bound): ...this, and adjust for irange.
6619 (value_range::equal_p): Rename to...
6620 (irange::legacy_equal_p): ...this.
6621 (value_range::operator==): Move to header file.
6622 (irange::equal_p): New.
6623 (irange::symbolic_p): Adjust for irange.
6624 (irange::constant_p): Same.
6625 (irange::singleton_p): Same.
6626 (irange::value_inside_range): Same.
6627 (irange::may_contain_p): Same.
6628 (irange::contains_p): Same.
6629 (irange::normalize_addresses): Same.
6630 (irange::normalize_symbolics): Same.
6631 (irange::legacy_intersect): Same.
6632 (irange::legacy_union): Same.
6633 (irange::union_): Same.
6634 (irange::intersect): Same.
6635 (irange::irange_union): New.
6636 (irange::irange_intersect): New.
6637 (subtract_one): New.
6638 (irange::invert): Adjust for irange.
6639 (dump_bound_with_infinite_markers): New.
6640 (irange::dump): Adjust for irange.
6641 (debug): Add irange versions.
6642 (range_has_numeric_bounds_p): Adjust for irange.
6643 (vrp_val_max): Move to header file.
6644 (vrp_val_min): Move to header file.
6645 (DEFINE_INT_RANGE_GC_STUBS): New.
6646 (DEFINE_INT_RANGE_INSTANCE): New.
6647 * value-range.h (class irange): New.
6648 (class int_range): New.
6649 (class value_range): Rename to a instantiation of int_range.
6650 (irange::legacy_mode_p): New.
6651 (value_range::value_range): Remove.
6652 (irange::kind): New.
6653 (irange::num_pairs): Adjust for irange.
6654 (irange::type): Adjust for irange.
6655 (irange::tree_lower_bound): New.
6656 (irange::tree_upper_bound): New.
6657 (irange::type): Adjust for irange.
6658 (irange::min): Same.
6659 (irange::max): Same.
6660 (irange::varying_p): Same.
6661 (irange::undefined_p): Same.
6662 (irange::zero_p): Same.
6663 (irange::nonzero_p): Same.
6664 (irange::supports_type_p): Same.
6665 (range_includes_zero_p): Same.
6668 (irange::irange): New.
6669 (int_range::int_range): New.
6670 (int_range::operator=): New.
6671 (irange::set): Moved from value-range.cc and adjusted for irange.
6672 (irange::set_undefined): Same.
6673 (irange::set_varying): Same.
6674 (irange::operator==): Same.
6675 (irange::lower_bound): Same.
6676 (irange::upper_bound): Same.
6677 (irange::union_): Same.
6678 (irange::intersect): Same.
6679 (irange::set_nonzero): Same.
6680 (irange::set_zero): Same.
6681 (irange::normalize_min_max): New.
6682 (vrp_val_max): Move from value-range.cc.
6683 (vrp_val_min): Same.
6684 * vr-values.c (vr_values::get_lattice_entry): Call value_range
6687 2020-08-02 Sergei Trofimovich <siarheit@google.com>
6690 * var-tracking.c (vt_find_locations): Fully initialize
6691 all 'in_pending' bits.
6693 2020-08-01 Jan Hubicka <jh@suse.cz>
6695 * symtab.c (symtab_node::verify_base): Verify order.
6696 (symtab_node::verify_symtab_nodes): Verify order.
6698 2020-08-01 Jan Hubicka <jh@suse.cz>
6700 * predict.c (estimate_bb_frequencies): Cap recursive calls by 90%.
6702 2020-08-01 Jojo R <jiejie_rong@c-sky.com>
6704 * config/csky/csky_opts.h (float_abi_type): New.
6705 * config/csky/csky.h (TARGET_SOFT_FLOAT): New.
6706 (TARGET_HARD_FLOAT): New.
6707 (TARGET_HARD_FLOAT_ABI): New.
6708 (OPTION_DEFAULT_SPECS): Use mfloat-abi.
6709 * config/csky/csky.opt (mfloat-abi): New.
6710 * doc/invoke.texi (C-SKY Options): Document -mfloat-abi=.
6712 2020-08-01 Cooper Qu <cooper.qu@linux.alibaba.com>
6714 * config/csky/t-csky-linux: Delete big endian CPUs' multilib.
6716 2020-07-31 Roger Sayle <roger@nextmovesoftware.com>
6717 Tom de Vries <tdevries@suse.de>
6720 * config/nvptx/nvptx.c (nvptx_truly_noop_truncation): Implement.
6721 (TARGET_TRULY_NOOP_TRUNCATION): Define.
6723 2020-07-31 Richard Biener <rguenther@suse.de>
6726 * langhooks-def.h (lhd_finalize_early_debug): Declare.
6727 (LANG_HOOKS_FINALIZE_EARLY_DEBUG): Define.
6728 (LANG_HOOKS_INITIALIZER): Amend.
6729 * langhooks.c: Include cgraph.h and debug.h.
6730 (lhd_finalize_early_debug): Default implementation from
6731 former code in finalize_compilation_unit.
6732 * langhooks.h (lang_hooks::finalize_early_debug): Add.
6733 * cgraphunit.c (symbol_table::finalize_compilation_unit):
6734 Call the finalize_early_debug langhook.
6736 2020-07-31 Richard Biener <rguenther@suse.de>
6738 * genmatch.c (expr::force_leaf): Add and initialize.
6739 (expr::gen_transform): Honor force_leaf by passing
6740 NULL as sequence argument to maybe_push_res_to_seq.
6741 (parser::parse_expr): Allow ! marker on result expression
6743 * doc/match-and-simplify.texi: Amend.
6745 2020-07-31 Kewen Lin <linkw@linux.ibm.com>
6747 * tree-vect-loop.c (vect_get_known_peeling_cost): Don't consider branch
6748 taken costs for prologue and epilogue if they don't exist.
6749 (vect_estimate_min_profitable_iters): Likewise.
6751 2020-07-31 Martin Liska <mliska@suse.cz>
6753 * cgraph.h: Remove leading empty lines.
6754 * cgraphunit.c (enum cgraph_order_sort_kind): Remove
6756 (struct cgraph_order_sort): Add constructors.
6757 (cgraph_order_sort::process): New.
6758 (cgraph_order_cmp): New.
6759 (output_in_order): Simplify and push nodes to vector.
6761 2020-07-31 Richard Biener <rguenther@suse.de>
6764 * fold-const.c (fold_range_test): Special-case constant
6765 LHS for short-circuiting operations.
6767 2020-07-31 Martin Liska <mliska@suse.cz>
6769 * gcov-io.h (GCOV_PREALLOCATED_KVP): New.
6771 2020-07-31 Zhiheng Xie <xiezhiheng@huawei.com>
6773 * config/aarch64/aarch64-builtins.c (aarch64_general_add_builtin):
6774 Add new argument ATTRS.
6775 (aarch64_call_properties): New function.
6776 (aarch64_modifies_global_state_p): Likewise.
6777 (aarch64_reads_global_state_p): Likewise.
6778 (aarch64_could_trap_p): Likewise.
6779 (aarch64_add_attribute): Likewise.
6780 (aarch64_get_attributes): Likewise.
6781 (aarch64_init_simd_builtins): Add attributes for each built-in function.
6783 2020-07-31 Richard Biener <rguenther@suse.de>
6786 * var-tracking.c (vt_find_locations): Use
6787 rev_post_order_and_mark_dfs_back_seme and separately iterate
6790 2020-07-31 Richard Biener <rguenther@suse.de>
6792 * cfganal.h (rev_post_order_and_mark_dfs_back_seme): Adjust
6794 * cfganal.c (rpoamdbs_bb_data): New struct with pre BB data.
6795 (tag_header): New helper.
6796 (cmp_edge_dest_pre): Likewise.
6797 (rev_post_order_and_mark_dfs_back_seme): Compute SCCs,
6798 find SCC exits and perform a DFS walk with extra edges to
6799 compute a RPO with adjacent SCC members when requesting an
6800 iteration optimized order and populate the toplevel SCC array.
6801 * tree-ssa-sccvn.c (do_rpo_vn): Remove ad-hoc computation
6802 of max_rpo and fill it in from SCC extent info instead.
6804 2020-07-30 Will Schmidt <will_schmidt@vnet.ibm.com>
6806 * config/rs6000/altivec.h (vec_test_lsbb_all_ones): New define.
6807 (vec_test_lsbb_all_zeros): New define.
6808 * config/rs6000/rs6000-builtin.def (BU_P10_VSX_1): New built-in
6810 (XVTLSBB_ZEROS, XVTLSBB_ONES): New builtin defines.
6811 (xvtlsbb_all_zeros, xvtlsbb_all_ones): New builtin overloads.
6812 * config/rs6000/rs6000-call.c (P10_BUILTIN_VEC_XVTLSBB_ZEROS,
6813 P10_BUILTIN_VEC_XVTLSBB_ONES): New altivec_builtin_types entries.
6814 * config/rs6000/rs6000.md (UNSPEC_XVTLSBB): New unspec.
6815 * config/rs6000/vsx.md (*xvtlsbb_internal): New instruction define.
6816 (xvtlsbbo, xvtlsbbz): New instruction expands.
6818 2020-07-30 Cooper Qu <cooper.qu@linux.alibaba.com>
6820 * config/riscv/riscv-opts.h (stack_protector_guard): New enum.
6821 * config/riscv/riscv.c (riscv_option_override): Handle
6823 * config/riscv/riscv.md (stack_protect_set): New pattern to handle
6824 flexible stack protector guard settings.
6825 (stack_protect_set_<mode>): Ditto.
6826 (stack_protect_test): Ditto.
6827 (stack_protect_test_<mode>): Ditto.
6828 * config/riscv/riscv.opt (mstack-protector-guard=,
6829 mstack-protector-guard-reg=, mstack-protector-guard-offset=): New
6831 * doc/invoke.texi (Option Summary) [RISC-V Options]:
6832 Add -mstack-protector-guard=, -mstack-protector-guard-reg=, and
6833 -mstack-protector-guard-offset=.
6834 (RISC-V Options): Ditto.
6836 2020-07-30 H.J. Lu <hjl.tools@gmail.com>
6839 * configure: Regenerated.
6841 2020-07-30 Richard Biener <rguenther@suse.de>
6843 PR tree-optimization/96370
6844 * tree-ssa-reassoc.c (rewrite_expr_tree): Add operation
6845 code parameter and use it instead of picking it up from
6846 the stmt that is being rewritten.
6847 (reassociate_bb): Pass down the operation code.
6849 2020-07-30 Roger Sayle <roger@nextmovesoftware.com>
6850 Tom de Vries <tdevries@suse.de>
6852 * config/nvptx/nvptx.md (nvptx_vector_index_operand): New predicate.
6853 (VECELEM): New mode attribute for a vector's uppercase element mode.
6854 (Vecelem): New mode attribute for a vector's lowercase element mode.
6855 (*vec_set<mode>_0, *vec_set<mode>_1, *vec_set<mode>_2)
6856 (*vec_set<mode>_3): New instructions.
6857 (vec_set<mode>): New expander to generate one of the above insns.
6858 (vec_extract<mode><Vecelem>): New instruction.
6860 2020-07-30 Martin Liska <mliska@suse.cz>
6863 * config/i386/x86-tune-costs.h: Use libcall for large sizes for
6864 -m32. Start using libcall from 128+ bytes.
6866 2020-07-30 Martin Liska <mliska@suse.cz>
6868 * config/i386/x86-tune-costs.h: Change code formatting.
6870 2020-07-29 Roger Sayle <roger@nextmovesoftware.com>
6872 * config/nvptx/nvptx.md (recip<mode>2): New instruction.
6874 2020-07-29 Fangrui Song <maskray@google.com>
6877 * opts.c (common_handle_option): Don't make -gsplit-dwarf imply -g.
6878 * doc/invoke.texi (-gsplit-dwarf): Update documentation.
6880 2020-07-29 Joe Ramsay <joe.ramsay@arm.com>
6882 * config/arm/arm-protos.h (arm_coproc_mem_operand_no_writeback):
6884 (arm_mve_mode_and_operands_type_check): Declare prototype.
6885 * config/arm/arm.c (arm_coproc_mem_operand): Refactor to use
6886 _arm_coproc_mem_operand.
6887 (arm_coproc_mem_operand_wb): New function to cover full, limited
6889 (arm_coproc_mem_operand_no_writeback): New constraint for memory
6890 operand with no writeback.
6891 (arm_print_operand): Extend 'E' specifier for memory operand
6892 that does not support writeback.
6893 (arm_mve_mode_and_operands_type_check): New constraint check for
6894 MVE memory operands.
6895 * config/arm/constraints.md: Add Uj constraint for VFP vldr.16
6897 * config/arm/vfp.md (*mov_load_vfp_hf16): New pattern for
6899 (*mov_store_vfp_hf16): New pattern for vstr.16.
6900 (*mov<mode>_vfp_<mode>16): Remove MVE moves.
6902 2020-07-29 Richard Biener <rguenther@suse.de>
6904 PR tree-optimization/96349
6905 * tree-ssa-loop-split.c (stmt_semi_invariant_p_1): When the
6906 condition runs into a loop PHI with an abnormal entry value give up.
6908 2020-07-29 Richard Biener <rguenther@suse.de>
6910 * tree-vectorizer.c (vectorize_loops): Reset the SCEV
6911 cache if we removed any SIMD UID SSA defs.
6912 * gimple-loop-interchange.cc (pass_linterchange::execute):
6913 Reset the scev cache if we interchanged a loop.
6915 2020-07-29 Richard Biener <rguenther@suse.de>
6917 PR tree-optimization/95679
6918 * tree-ssa-propagate.h
6919 (substitute_and_fold_engine::propagate_into_phi_args): Return
6920 whether anything changed.
6921 * tree-ssa-propagate.c
6922 (substitute_and_fold_engine::propagate_into_phi_args): Likewise.
6923 (substitute_and_fold_dom_walker::before_dom_children): Update
6926 2020-07-29 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
6928 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
6929 Ensure that loop variable npeel_tmp advances in each iteration.
6931 2020-07-29 Hans-Peter Nilsson <hp@bitrange.com>
6933 * config/mmix/mmix.h (NO_FUNCTION_CSE): Define to 1.
6935 2020-07-29 Hans-Peter Nilsson <hp@bitrange.com>
6937 * config/mmix/mmix.h (ASM_OUTPUT_EXTERNAL): Define to
6938 default_elf_asm_output_external.
6940 2020-07-28 Sergei Trofimovich <siarheit@google.com>
6943 * ipa-cp.c (has_undead_caller_from_outside_scc_p): Consider
6944 unoptimized callers as undead.
6946 2020-07-28 Roger Sayle <roger@nextmovesoftware.com>
6947 Richard Biener <rguenther@suse.de>
6949 * match.pd (popcount(x)&1 -> parity(x)): New simplification.
6950 (parity(~x) -> parity(x)): New simplification.
6951 (parity(x)^parity(y) -> parity(x^y)): New simplification.
6952 (parity(x&1) -> x&1): New simplification.
6953 (popcount(x) -> x>>C): New simplification.
6955 2020-07-28 Roger Sayle <roger@nextmovesoftware.com>
6956 Tom de Vries <tdevries@suse.de>
6958 * config/nvptx/nvptx.md (extendqihi2): New instruction.
6959 (ashl<mode>3, ashr<mode>3, lshr<mode>3): Support HImode.
6961 2020-07-28 Jakub Jelinek <jakub@redhat.com>
6964 * calls.c (maybe_warn_rdwr_sizes): Add FNDECL and FNTYPE arguments,
6965 instead of trying to rediscover them in the body.
6966 (initialize_argument_information): Adjust caller.
6968 2020-07-28 Kewen Lin <linkw@linux.ibm.com>
6970 * tree-vect-loop.c (vect_get_known_peeling_cost): Factor out some code
6971 to determine peel_iters_epilogue to...
6972 (vect_get_peel_iters_epilogue): ...this new function.
6973 (vect_estimate_min_profitable_iters): Refactor cost calculation on
6974 peel_iters_prologue and peel_iters_epilogue.
6976 2020-07-27 Martin Sebor <msebor@redhat.com>
6978 PR tree-optimization/84079
6979 * gimple-array-bounds.cc (array_bounds_checker::check_addr_expr):
6980 Only allow just-past-the-end references for the most significant
6983 2020-07-27 Hu Jiangping <hujiangping@cn.fujitsu.com>
6986 * opts.c (check_alignment_argument): Set the -falign-Name
6987 on/off flag on and set the -falign-Name string value null,
6988 when the command-line specified argument is zero.
6990 2020-07-27 Martin Liska <mliska@suse.cz>
6992 PR tree-optimization/96058
6993 * expr.c (string_constant): Build string_constant only
6994 for a type that has same precision as char_type_node
6995 and is an integral type.
6997 2020-07-27 Richard Biener <rguenther@suse.de>
6999 * var-tracking.c (variable_tracking_main_1): Remove call
7000 to mark_dfs_back_edges.
7002 2020-07-27 Martin Liska <mliska@suse.cz>
7004 PR tree-optimization/96128
7005 * tree-vect-generic.c (expand_vector_comparison): Do not expand
7006 vector comparison with VEC_COND_EXPR.
7008 2020-07-27 H.J. Lu <hjl.tools@gmail.com>
7011 * common.opt: Add -fcf-protection=check.
7012 * flag-types.h (cf_protection_level): Add CF_CHECK.
7013 * lto-wrapper.c (merge_and_complain): Issue an error for
7014 mismatching -fcf-protection values with -fcf-protection=check.
7015 Otherwise, merge -fcf-protection values.
7016 * doc/invoke.texi: Document -fcf-protection=check.
7018 2020-07-27 Martin Liska <mliska@suse.cz>
7021 * symbol-summary.h: Call vec_safe_reserve before grow is called
7022 in order to grow to a reasonable size.
7023 * vec.h (vec_safe_reserve): Add missing function for vl_ptr
7026 2020-07-26 Hans-Peter Nilsson <hp@bitrange.com>
7028 * configure.ac (out-of-tree linker .hidden support): Don't turn off
7029 for mmix-knuth-mmixware.
7030 * configure: Regenerate.
7032 2020-07-26 Aaron Sawdey <acsawdey@linux.ibm.com>
7034 * config/rs6000/rs6000.c (rs6000_option_override_internal):
7035 Set the default value for -mblock-ops-unaligned-vsx.
7036 * config/rs6000/rs6000.opt: Add -mblock-ops-unaligned-vsx.
7037 * doc/invoke.texi: Document -mblock-ops-unaligned-vsx.
7039 2020-07-25 Hans-Peter Nilsson <hp@bitrange.com>
7041 * config/mmix/mmix.c (TARGET_ASM_OUTPUT_IDENT): Override the default
7042 with default_asm_output_ident_directive.
7044 2020-07-25 Andrew Stubbs <ams@codesourcery.com>
7046 * config/gcn/gcn.c (gcn_scalar_mode_supported_p): New function.
7047 (TARGET_SCALAR_MODE_SUPPORTED_P): New define.
7049 2020-07-24 David Edelsohn <dje.gcc@gmail.com>
7050 Clement Chigot <clement.chigot@atos.net>
7052 * config.gcc (powerpc-ibm-aix7.1): Use t-aix64 and biarch64 for
7054 * config/rs6000/aix71.h (ASM_SPEC): Remove aix64 option.
7057 (ASM_CPU_SPEC): Remove vsx and altivec options.
7058 (CPP_SPEC_COMMON): Rename from CPP_SPEC.
7061 (CPLUSPLUS_CPP_SPEC): Rename to CPLUSPLUS_CPP_SPEC_COMMON..
7062 (TARGET_DEFAULT): Use 64 bit mask if BIARCH.
7063 (LIB_SPEC_COMMON): Rename from LIB_SPEC.
7066 (LINK_SPEC_COMMON): Rename from LINK_SPEC.
7069 (STARTFILE_SPEC): Add 64 bit version of crtcxa and crtdbase.
7070 (ASM_SPEC): Define 32 and 64 bit alternatives using DEFAULT_ARCH64_P.
7072 (CPLUSPLUS_CPP_SPEC): Same.
7075 (SUBTARGET_EXTRA_SPECS): Add new 32/64 specs.
7076 * config/rs6000/aix72.h (TARGET_DEFAULT): Use 64 bit mask if BIARCH.
7077 * config/rs6000/defaultaix64.h: Delete.
7079 2020-07-24 Segher Boessenkool <segher@kernel.crashing.org>
7081 * config/rs6000/rs6000.opt: Delete -mpower10.
7083 2020-07-24 Alexandre Oliva <oliva@adacore.com>
7085 * config/i386/intelmic-mkoffload.c
7086 (generate_target_descr_file): Use dumppfx for save_temps
7087 files. Pass -dumpbase et al down to the compiler.
7088 (generate_target_offloadend_file): Likewise.
7089 (generate_host_descr_file): Likewise.
7090 (prepare_target_image): Likewise. Move out_obj_filename
7092 (main): ... here. Detect -dumpbase, set dumppfx too.
7094 2020-07-24 Alexandre Oliva <oliva@adacore.com>
7097 * gcc.c (process_command): Adjust and document conditions to
7100 2020-07-24 Matthias Klose <doko@ubuntu.com>
7102 * config/aarch64/aarch64.c (+aarch64_offload_options,
7103 TARGET_OFFLOAD_OPTIONS): New.
7105 2020-07-24 Uroš Bizjak <ubizjak@gmail.com>
7108 * config/i386/sync.md (mmem_thread_fence): Emit mfence_sse2 for -Os.
7110 2020-07-23 Roger Sayle <roger@nextmovesoftware.com>
7112 PR rtl-optimization/96298
7113 * simplify-rtx.c (simplify_binary_operation_1) [XOR]: Xor doesn't
7114 distribute over xor, so (a^b)^(c^b) is not the same as (a^c)^b.
7116 2020-07-23 Dong JianQiang <dongjianqiang2@huawei.com>
7118 PR gcov-profile/96267
7119 * gcov-io.c (gcov_open): enable if IN_GCOV_TOOL.
7121 2020-07-23 Kewen Lin <linkw@linux.ibm.com>
7123 * config/rs6000/rs6000.c (adjust_vectorization_cost): Renamed to ...
7124 (rs6000_adjust_vect_cost_per_stmt): ... here.
7125 (rs6000_add_stmt_cost): Rename adjust_vectorization_cost to
7126 rs6000_adjust_vect_cost_per_stmt.
7128 2020-07-23 Kewen Lin <linkw@linux.ibm.com>
7130 * tree-ssa-loop-ivopts.c (get_mem_type_for_internal_fn): Handle
7131 IFN_LEN_LOAD and IFN_LEN_STORE.
7132 (get_alias_ptr_type_for_ptr_address): Likewise.
7134 2020-07-23 Kito Cheng <kito.cheng@sifive.com>
7137 * asan.c (asan_shadow_offset_set_p): New.
7138 * asan.h (asan_shadow_offset_set_p): Ditto.
7139 * toplev.c (process_options): Allow -fsanitize=kernel-address
7140 even TARGET_ASAN_SHADOW_OFFSET not implemented, only check when
7141 asan stack protection is enabled.
7143 2020-07-22 Peter Bergner <bergner@linux.ibm.com>
7146 * config/rs6000/rs6000-call.c (rs6000_gimple_fold_mma_builtin): Handle
7147 little-endian memory ordering.
7149 2020-07-22 Nathan Sidwell <nathan@acm.org>
7151 * dumpfile.c (parse_dump_option): Deal with filenames
7154 2020-07-22 Nathan Sidwell <nathan@acm.org>
7156 * incpath.c (add_path): Avoid multiple strlen calls.
7158 2020-07-22 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7160 * expmed.c (expand_sdiv_pow2): Check return value from emit_store_flag
7161 is not NULL_RTX before use.
7163 2020-07-22 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7165 * expr.c (convert_modes): Allow a constant integer to be converted to
7166 any scalar int mode.
7168 2020-07-22 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
7170 * config/aarch64/aarch64-ldpstp.md: Add two peepholes for adjusted vector
7171 V2SI, V2SF, V2DI, V2DF load pair and store pair modes.
7172 * config/aarch64/aarch64-protos.h (aarch64_gen_adjusted_ldpstp):
7173 Change mode parameter to machine_mode.
7174 (aarch64_operands_adjust_ok_for_ldpstp): Change mode parameter to
7176 * config/aarch64/aarch64.c (aarch64_operands_adjust_ok_for_ldpstp):
7177 Change mode parameter to machine_mode.
7178 (aarch64_gen_adjusted_ldpstp): Change mode parameter to machine_mode.
7179 * config/aarch64/iterators.md (VP_2E): New iterator for 2 element vectors.
7181 2020-07-22 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
7183 * doc/languages.texi: Fix “then”/“than” typo.
7185 2020-07-21 Sunil K Pandey <skpgkp2@gmail.com>
7188 * config/i386/i386-protos.h (ix86_local_alignment): Add
7189 another function parameter may_lower alignment. Default is
7191 * config/i386/i386.c (ix86_lower_local_decl_alignment): New
7193 (ix86_local_alignment): Amend ix86_local_alignment to accept
7194 another parameter may_lower. If may_lower is true, new align
7195 may be lower than incoming alignment. If may_lower is false,
7196 new align will be greater or equal to incoming alignment.
7197 (TARGET_LOWER_LOCAL_DECL_ALIGNMENT): Define.
7198 * doc/tm.texi: Regenerate.
7199 * doc/tm.texi.in (TARGET_LOWER_LOCAL_DECL_ALIGNMENT): New
7201 * target.def (lower_local_decl_alignment): New hook.
7203 2020-07-21 Uroš Bizjak <ubizjak@gmail.com>
7206 * config/i386/sync.md (mfence_sse2): Enable for
7207 TARGET_64BIT and TARGET_SSE2.
7208 (mfence_nosse): Always enable.
7210 2020-07-21 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7212 * config/msp430/msp430-protos.h (msp430_do_not_relax_short_jumps):
7214 * config/msp430/msp430.c (msp430_do_not_relax_short_jumps): Likewise.
7215 * config/msp430/msp430.md (cbranchhi4_real): Remove special case for
7216 msp430_do_not_relax_short_jumps.
7218 2020-07-21 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7220 * config/msp430/msp430.md: New "extendqipsi2" define_insn.
7222 2020-07-21 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7224 * config/msp430/msp430.h (NO_FUNCTION_CSE): Set to true at -O2 and
7227 2020-07-21 Xionghu Luo <luoxhu@linux.ibm.com>
7229 PR rtl-optimization/89310
7230 * config/rs6000/rs6000.md (movsf_from_si2): New define_insn_and_split.
7232 2020-07-20 Hans-Peter Nilsson <hp@bitrange.com>
7234 * config/mmix/mmix.c (mmix_expand_prologue): Calculate the total
7235 allocated size and set current_function_static_stack_size, if
7236 flag_stack_usage_info.
7238 2020-07-20 Sergei Trofimovich <siarheit@google.com>
7241 * config/sparc/linux.h (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
7242 to get crtendS.o for !no-pie mode.
7243 * config/sparc/linux64.h (ENDFILE_SPEC): Ditto.
7245 2020-07-20 Yang Yang <yangyang305@huawei.com>
7247 * tree-vect-stmts.c (vectorizable_simd_clone_call): Add
7248 VIEW_CONVERT_EXPRs if the arguments types and return type
7249 of simd clone function are distinct with the vectype of stmt.
7251 2020-07-20 Uroš Bizjak <ubizjak@gmail.com>
7254 * config/i386/i386.h (TARGET_AVOID_MFENCE):
7255 Rename from TARGET_USE_XCHG_FOR_ATOMIC_STORE.
7256 * config/i386/sync.md (mfence_sse2): Disable for TARGET_AVOID_MFENCE.
7257 (mfence_nosse): Enable also for TARGET_AVOID_MFENCE. Emit stack
7258 referred memory in word_mode.
7259 (mem_thread_fence): Do not generate mfence_sse2 pattern when
7260 TARGET_AVOID_MFENCE is true.
7261 (atomic_store<mode>): Update for rename.
7262 * config/i386/x86-tune.def (X86_TUNE_AVOID_MFENCE):
7263 Rename from X86_TUNE_USE_XCHG_FOR_ATOMIC_STORE.
7265 2020-07-20 Martin Sebor <msebor@redhat.com>
7269 * builtins.c (inline_expand_builtin_string_cmp): Rename...
7270 (inline_expand_builtin_bytecmp): ...to this.
7271 (builtin_memcpy_read_str): Don't expect data to be nul-terminated.
7272 (expand_builtin_memory_copy_args): Handle object representations
7273 with embedded nul bytes.
7274 (expand_builtin_memcmp): Same.
7275 (expand_builtin_strcmp): Adjust call to naming change.
7276 (expand_builtin_strncmp): Same.
7277 * expr.c (string_constant): Create empty strings with nonzero size.
7278 * fold-const.c (c_getstr): Rename locals and update comments.
7279 * tree.c (build_string): Accept null pointer argument.
7280 (build_string_literal): Same.
7281 * tree.h (build_string): Provide a default.
7282 (build_string_literal): Same.
7284 2020-07-20 Richard Biener <rguenther@suse.de>
7286 * cfganal.c (rev_post_order_and_mark_dfs_back_seme): Remove
7287 write-only post array.
7289 2020-07-20 Jakub Jelinek <jakub@redhat.com>
7292 * gimple-fold.c (fold_const_aggregate_ref_1): For COMPONENT_REF
7293 of a bitfield not aligned on byte boundaries try to
7294 fold_ctor_reference DECL_BIT_FIELD_REPRESENTATIVE if any and
7295 adjust it depending on endianity.
7297 2020-07-20 Jakub Jelinek <jakub@redhat.com>
7300 * fold-const.c (native_encode_initializer): Handle bit-fields.
7302 2020-07-20 Kewen Lin <linkw@linux.ibm.com>
7304 * config/rs6000/rs6000.c (rs6000_option_override_internal):
7305 Set param_vect_partial_vector_usage to 0 explicitly.
7306 * doc/invoke.texi (vect-partial-vector-usage): Document new option.
7307 * optabs-query.c (get_len_load_store_mode): New function.
7308 * optabs-query.h (get_len_load_store_mode): New declare.
7309 * params.opt (vect-partial-vector-usage): New.
7310 * tree-vect-loop-manip.c (vect_set_loop_controls_directly): Add the
7311 handlings for vectorization using length-based partial vectors, call
7312 vect_gen_len for length generation, and rename some variables with
7313 items instead of scalars.
7314 (vect_set_loop_condition_partial_vectors): Add the handlings for
7315 vectorization using length-based partial vectors.
7316 (vect_do_peeling): Allow remaining eiters less than epilogue vf for
7317 LOOP_VINFO_USING_PARTIAL_VECTORS_P.
7318 * tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Init
7319 epil_using_partial_vectors_p.
7320 (_loop_vec_info::~_loop_vec_info): Call release_vec_loop_controls
7321 for lengths destruction.
7322 (vect_verify_loop_lens): New function.
7323 (vect_analyze_loop): Add handlings for epilogue of loop when it's
7324 marked to use vectorization using partial vectors.
7325 (vect_analyze_loop_2): Add the check to allow only one vectorization
7326 approach using partial vectorization at the same time. Check param
7327 vect-partial-vector-usage for partial vectors decision. Mark
7328 LOOP_VINFO_EPIL_USING_PARTIAL_VECTORS_P if the epilogue is
7329 considerable to use partial vectors. Call release_vec_loop_controls
7330 for lengths destruction.
7331 (vect_estimate_min_profitable_iters): Adjust for loop vectorization
7332 using length-based partial vectors.
7333 (vect_record_loop_mask): Init factor to 1 for vectorization using
7334 mask-based partial vectors.
7335 (vect_record_loop_len): New function.
7336 (vect_get_loop_len): Likewise.
7337 * tree-vect-stmts.c (check_load_store_for_partial_vectors): Add
7338 checks for vectorization using length-based partial vectors. Factor
7339 some code to lambda function get_valid_nvectors.
7340 (vectorizable_store): Add handlings when using length-based partial
7342 (vectorizable_load): Likewise.
7343 (vect_gen_len): New function.
7344 * tree-vectorizer.h (struct rgroup_controls): Add field factor
7345 mainly for length-based partial vectors.
7346 (vec_loop_lens): New typedef.
7347 (_loop_vec_info): Add lens and epil_using_partial_vectors_p.
7348 (LOOP_VINFO_EPIL_USING_PARTIAL_VECTORS_P): New macro.
7349 (LOOP_VINFO_LENS): Likewise.
7350 (LOOP_VINFO_FULLY_WITH_LENGTH_P): Likewise.
7351 (vect_record_loop_len): New declare.
7352 (vect_get_loop_len): Likewise.
7353 (vect_gen_len): Likewise.
7355 2020-07-20 Hans-Peter Nilsson <hp@bitrange.com>
7357 * config/mmix/mmix.c (mmix_option_override): Reinstate default
7358 integer-emitting targetm.asm_out pseudos when dumping detailed
7360 (mmix_assemble_integer): Update comment.
7362 2020-07-19 H.J. Lu <hjl.tools@gmail.com>
7366 * config/i386/cpuid.h: Add include guard.
7369 2020-07-18 H.J. Lu <hjl.tools@gmail.com>
7372 * config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
7374 2020-07-18 Peter Bergner <bergner@linux.ibm.com>
7377 * config/rs6000/dfp.md (trunctdsd2): New define_insn.
7378 * config/rs6000/rs6000.md (define_attr "isa"): Add p9.
7379 (define_attr "enabled"): Handle p9.
7381 2020-07-17 Roger Sayle <roger@nextmovesoftware.com>
7383 * function.c (assign_parm_setup_block): Use the macro
7384 TRULY_NOOP_TRUNCATION_MODES_P instead of calling
7385 targetm.truly_noop_truncation directly.
7387 2020-07-17 H.J. Lu <hjl.tools@gmail.com>
7391 * config/i386/sse.md (VF_AVX512VL_VF1_128_256): Renamed to ...
7392 (VF1_AVX512ER_128_256): This. Drop DF vector modes.
7393 (rsqrt<mode>2): Replace VF_AVX512VL_VF1_128_256 with
7394 VF1_AVX512ER_128_256.
7396 2020-07-17 Tamar Christina <tamar.christina@arm.com>
7398 * doc/sourcebuild.texi (dg-set-compiler-env-var,
7399 dg-set-target-env-var): Document.
7401 2020-07-17 Tamar Christina <tamar.christina@arm.com>
7403 * config/arm/driver-arm.c (host_detect_local_cpu): Add GCC_CPUINFO.
7405 2020-07-17 Tamar Christina <tamar.christina@arm.com>
7407 * config/aarch64/driver-aarch64.c (host_detect_local_cpu):
7410 2020-07-17 Tamar Christina <tamar.christina@arm.com>
7412 * config/aarch64/driver-aarch64.c (INCLUDE_SET): New.
7413 (parse_field): Use std::string.
7414 (split_words, readline, find_field): New.
7415 (host_detect_local_cpu): Fix truncation issues.
7417 2020-07-17 Andrew Stubbs <ams@codesourcery.com>
7419 * config/gcn/mkoffload.c (EM_AMDGPU): Undefine before defining.
7420 (ELFOSABI_AMDGPU_HSA): Likewise.
7421 (ELFABIVERSION_AMDGPU_HSA): Likewise.
7422 (EF_AMDGPU_MACH_AMDGCN_GFX803): Likewise.
7423 (EF_AMDGPU_MACH_AMDGCN_GFX900): Likewise.
7424 (EF_AMDGPU_MACH_AMDGCN_GFX906): Likewise.
7427 2020-07-17 Andrew Pinski <apinksi@marvell.com>
7428 Dmitrij Pochepko <dmitrij.pochepko@bell-sw.com>
7431 * config/aarch64/aarch64.c (aarch64_evpc_ins): New function.
7432 (aarch64_expand_vec_perm_const_1): Call it.
7433 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_copy_lane): Make
7434 public, and add a "@" prefix.
7436 2020-07-17 Andrew Pinski <apinksi@marvell.com>
7437 Dmitrij Pochepko <dmitrij.pochepko@bell-sw.com>
7440 * config/aarch64/aarch64.c (aarch64_evpc_reencode): New function.
7441 (aarch64_expand_vec_perm_const_1): Call it.
7443 2020-07-17 Zhiheng Xie <xiezhiheng@huawei.com>
7445 * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
7446 Add new field flags.
7447 (VAR1): Add new field FLAG in macro.
7463 (aarch64_general_fold_builtin): Likewise.
7464 (aarch64_general_gimple_fold_builtin): Likewise.
7465 * config/aarch64/aarch64-simd-builtins.def: Add default flag for
7466 each built-in function.
7467 * config/aarch64/geniterators.sh: Add new field in BUILTIN macro.
7469 2020-07-17 Andreas Krebbel <krebbel@linux.ibm.com>
7472 * config/s390/s390.c (s390_expand_insv): Invoke the movstrict
7473 expanders to generate the pattern.
7474 * config/s390/s390.md ("*movstricthi", "*movstrictqi"): Remove the
7475 '*' to have callable expanders.
7477 2020-07-16 Hans-Peter Nilsson <hp@axis.com>
7478 Segher Boessenkool <segher@kernel.crashing.org>
7481 * combine.c (is_just_move): Take an rtx_insn* as argument. Use
7484 2020-07-16 Uroš Bizjak <ubizjak@gmail.com>
7487 * config/i386/sync.md
7488 (peephole2 to remove unneded compare after CMPXCHG):
7489 New pattern, also handle XOR zeroing and load of -1 by OR.
7491 2020-07-16 Eric Botcazou <ebotcazou@adacore.com>
7493 * config/i386/i386.c (ix86_compute_frame_layout): Minor tweak.
7494 (ix86_adjust_stack_and_probe): Delete.
7495 (ix86_adjust_stack_and_probe_stack_clash): Rename to above and add
7496 PROTECTION_AREA parameter. If it is true, probe PROBE_INTERVAL plus
7497 a small dope beyond SIZE bytes.
7498 (ix86_emit_probe_stack_range): Use local variable.
7499 (ix86_expand_prologue): Adjust calls to ix86_adjust_stack_and_probe
7500 and tidy up the stack checking code.
7501 * explow.c (get_stack_check_protect): Fix head comment.
7502 (anti_adjust_stack_and_probe_stack_clash): Likewise.
7503 (allocate_dynamic_stack_space): Add comment.
7504 * tree-nested.c (lookup_field_for_decl): Set the DECL_IGNORED_P and
7505 TREE_NO_WARNING but not TREE_ADDRESSABLE flags on the field.
7507 2020-07-16 Andrew Stubbs <ams@codesourcery.com>
7509 * config/gcn/mkoffload.c: Include simple-object.h and elf.h.
7510 (EM_AMDGPU): New macro.
7511 (ELFOSABI_AMDGPU_HSA): New macro.
7512 (ELFABIVERSION_AMDGPU_HSA): New macro.
7513 (EF_AMDGPU_MACH_AMDGCN_GFX803): New macro.
7514 (EF_AMDGPU_MACH_AMDGCN_GFX900): New macro.
7515 (EF_AMDGPU_MACH_AMDGCN_GFX906): New macro.
7516 (R_AMDGPU_NONE): New macro.
7517 (R_AMDGPU_ABS32_LO): New macro.
7518 (R_AMDGPU_ABS32_HI): New macro.
7519 (R_AMDGPU_ABS64): New macro.
7520 (R_AMDGPU_REL32): New macro.
7521 (R_AMDGPU_REL64): New macro.
7522 (R_AMDGPU_ABS32): New macro.
7523 (R_AMDGPU_GOTPCREL): New macro.
7524 (R_AMDGPU_GOTPCREL32_LO): New macro.
7525 (R_AMDGPU_GOTPCREL32_HI): New macro.
7526 (R_AMDGPU_REL32_LO): New macro.
7527 (R_AMDGPU_REL32_HI): New macro.
7528 (reserved): New macro.
7529 (R_AMDGPU_RELATIVE64): New macro.
7530 (gcn_s1_name): Delete global variable.
7531 (gcn_s2_name): Delete global variable.
7532 (gcn_o_name): Delete global variable.
7533 (gcn_cfile_name): Delete global variable.
7534 (files_to_cleanup): New global variable.
7535 (offload_abi): New global variable.
7536 (tool_cleanup): Use files_to_cleanup, not explicit list.
7537 (copy_early_debug_info): New function.
7538 (main): New local variables gcn_s1_name, gcn_s2_name, gcn_o_name,
7540 Create files_to_cleanup obstack.
7541 Recognize -march options.
7542 Copy early debug info from input .o files.
7544 2020-07-16 Andrea Corallo <andrea.corallo@arm.com>
7546 * Makefile.in (TAGS): Remove 'params.def'.
7548 2020-07-16 Roger Sayle <roger@nextmovesoftware.com>
7550 * target.def (TARGET_TRULY_NOOP_TRUNCATION): Clarify that
7551 targets that return false, indicating SUBREGs shouldn't be
7552 used, also need to provide a trunc?i?i2 optab that performs this
7554 * doc/tm.texi: Regenerate.
7556 2020-07-15 Uroš Bizjak <ubizjak@gmail.com>
7559 * config/i386/sync.md
7560 (peephole2 to remove unneded compare after CMPXCHG): New pattern.
7562 2020-07-15 Jakub Jelinek <jakub@redhat.com>
7565 * omp-general.h (struct omp_for_data): Rename min_inner_iterations
7566 member to first_inner_iterations, adjust comment.
7567 * omp-general.c (omp_extract_for_data): Adjust for the above change.
7568 Always use n1first and n2first to compute it, rather than depending
7569 on single_nonrect_cond_code. Similarly, always compute factor
7570 as (m2 - m1) * outer_step / inner_step rather than sometimes m1 - m2
7571 depending on single_nonrect_cond_code.
7572 * omp-expand.c (expand_omp_for_init_vars): Rename min_inner_iterations
7573 to first_inner_iterations and min_inner_iterationsd to
7574 first_inner_iterationsd.
7576 2020-07-15 Jakub Jelinek <jakub@redhat.com>
7579 * config/i386/avx512fintrin.h (_mm512_cmpeq_pd_mask,
7580 _mm512_mask_cmpeq_pd_mask, _mm512_cmplt_pd_mask,
7581 _mm512_mask_cmplt_pd_mask, _mm512_cmple_pd_mask,
7582 _mm512_mask_cmple_pd_mask, _mm512_cmpunord_pd_mask,
7583 _mm512_mask_cmpunord_pd_mask, _mm512_cmpneq_pd_mask,
7584 _mm512_mask_cmpneq_pd_mask, _mm512_cmpnlt_pd_mask,
7585 _mm512_mask_cmpnlt_pd_mask, _mm512_cmpnle_pd_mask,
7586 _mm512_mask_cmpnle_pd_mask, _mm512_cmpord_pd_mask,
7587 _mm512_mask_cmpord_pd_mask, _mm512_cmpeq_ps_mask,
7588 _mm512_mask_cmpeq_ps_mask, _mm512_cmplt_ps_mask,
7589 _mm512_mask_cmplt_ps_mask, _mm512_cmple_ps_mask,
7590 _mm512_mask_cmple_ps_mask, _mm512_cmpunord_ps_mask,
7591 _mm512_mask_cmpunord_ps_mask, _mm512_cmpneq_ps_mask,
7592 _mm512_mask_cmpneq_ps_mask, _mm512_cmpnlt_ps_mask,
7593 _mm512_mask_cmpnlt_ps_mask, _mm512_cmpnle_ps_mask,
7594 _mm512_mask_cmpnle_ps_mask, _mm512_cmpord_ps_mask,
7595 _mm512_mask_cmpord_ps_mask): Move outside of __OPTIMIZE__ guarded
7598 2020-07-15 Jakub Jelinek <jakub@redhat.com>
7601 * builtins.c: Include gimple-ssa.h, tree-ssa-live.h and
7603 (expand_expr_force_mode): If exp is a SSA_NAME with different mode
7604 from MODE and get_gimple_for_ssa_name is a cast from MODE, use the
7607 2020-07-15 Jiufu Guo <guojiufu@cn.ibm.com>
7609 * config/rs6000/rs6000.c (rs6000_loop_unroll_adjust): Refine hook.
7611 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
7613 * config/rs6000/rs6000.md (rotldi3_insert_sf): Add TARGET_POWERPC64
7615 * config/rs6000/rs6000.c (rs6000_expand_vector_init): Add
7616 TARGET_POWERPC64 requirement to TARGET_P8_VECTOR case.
7618 2020-07-14 Lewis Hyatt <lhyatt@gmail.com>
7620 PR preprocessor/49973
7622 * common.opt: Handle -ftabstop here instead of in c-family
7623 options. Add -fdiagnostics-column-unit= and
7624 -fdiagnostics-column-origin= options.
7625 * opts.c (common_handle_option): Handle the new options.
7626 * diagnostic-format-json.cc (json_from_expanded_location): Add
7627 diagnostic_context argument. Use it to convert column numbers as per
7629 (json_from_location_range): Likewise.
7630 (json_from_fixit_hint): Likewise.
7631 (json_end_diagnostic): Pass the new context argument to helper
7632 functions above. Add "column-origin" field to the output.
7633 (test_unknown_location): Add the new context argument to calls to
7635 (test_bad_endpoints): Likewise.
7636 * diagnostic-show-locus.c
7637 (exploc_with_display_col::exploc_with_display_col): Support
7639 (layout_point::layout_point): Make use of class
7640 exploc_with_display_col.
7641 (layout_range::layout_range): Likewise.
7642 (struct line_bounds): Clarify that the units are now always
7643 display columns. Rename members accordingly. Add constructor.
7644 (layout::print_source_line): Add support for tab expansion.
7645 (make_range): Adapt to class layout_range changes.
7646 (layout::maybe_add_location_range): Likewise.
7647 (layout::layout): Adapt to class exploc_with_display_col changes.
7648 (layout::calculate_x_offset_display): Support tabstop parameter.
7649 (layout::print_annotation_line): Adapt to struct line_bounds changes.
7650 (layout::print_line): Likewise.
7651 (line_label::line_label): Add diagnostic_context argument.
7652 (get_affected_range): Likewise.
7653 (get_printed_columns): Likewise.
7654 (layout::print_any_labels): Adapt to struct line_label changes.
7655 (class correction): Add m_tabstop member.
7656 (correction::correction): Add tabstop argument.
7657 (correction::compute_display_cols): Use m_tabstop.
7658 (class line_corrections): Add m_context member.
7659 (line_corrections::line_corrections): Add diagnostic_context argument.
7660 (line_corrections::add_hint): Use m_context to handle tabstops.
7661 (layout::print_trailing_fixits): Adapt to class line_corrections
7663 (test_layout_x_offset_display_utf8): Support tabstop parameter.
7664 (test_layout_x_offset_display_tab): New selftest.
7665 (test_one_liner_colorized_utf8): Likewise.
7666 (test_tab_expansion): Likewise.
7667 (test_diagnostic_show_locus_one_liner_utf8): Call the new tests.
7668 (diagnostic_show_locus_c_tests): Likewise.
7669 (test_overlapped_fixit_printing): Adapt to helper class and
7671 (test_overlapped_fixit_printing_utf8): Likewise.
7672 (test_overlapped_fixit_printing_2): Likewise.
7673 * diagnostic.h (enum diagnostics_column_unit): New enum.
7674 (struct diagnostic_context): Add members for the new options.
7675 (diagnostic_converted_column): Declare.
7676 (json_from_expanded_location): Add new context argument.
7677 * diagnostic.c (diagnostic_initialize): Initialize new members.
7678 (diagnostic_converted_column): New function.
7679 (maybe_line_and_column): Be willing to output a column of 0.
7680 (diagnostic_get_location_text): Convert column number as per the new
7682 (diagnostic_report_current_module): Likewise.
7683 (assert_location_text): Add origin and column_unit arguments for
7684 testing the new functionality.
7685 (test_diagnostic_get_location_text): Test the new functionality.
7686 * doc/invoke.texi: Document the new options and behavior.
7687 * input.h (location_compute_display_column): Add tabstop argument.
7688 * input.c (location_compute_display_column): Likewise.
7689 (test_cpp_utf8): Add selftests for tab expansion.
7690 * tree-diagnostic-path.cc (default_tree_make_json_for_path): Pass the
7691 new context argument to json_from_expanded_location().
7693 2020-07-14 Jakub Jelinek <jakub@redhat.com>
7696 * expr.c (expand_constructor): Don't create temporary for store to
7697 volatile MEM if exp has an addressable type.
7699 2020-07-14 Nathan Sidwell <nathan@acm.org>
7701 * hash-map.h (hash_map::get): Note it is a pointer to value.
7702 * incpath.h (incpath_kind): Align comments.
7704 2020-07-14 Nathan Sidwell <nathan@acm.org>
7706 * tree-core.h (tree_decl_with_vis, tree_function_decl):
7707 Note additional padding on 64-bits
7708 * tree.c (cache_integer_cst): Note why no caching of enum literals.
7709 (get_tree_code_name): Robustify error case.
7711 2020-07-14 Nathan Sidwell <nathan@acm.org>
7713 * doc/gty.texi: Fic gt_cleare_cache name.
7714 * doc/invoke.texi: Remove duplicate opindex Wabi-tag.
7716 2020-07-14 Jakub Jelinek <jakub@redhat.com>
7718 * omp-general.h (struct omp_for_data): Add adjn1 member.
7719 * omp-general.c (omp_extract_for_data): For non-rect loop, punt on
7720 count computing if n1, n2 or step are not INTEGER_CST earlier.
7721 Narrow the outer iterator range if needed so that non-rect loop
7722 has at least one iteration for each outer range iteration. Compute
7724 * omp-expand.c (expand_omp_for_init_vars): Use adjn1 if non-NULL
7725 instead of the outer loop's n1.
7727 2020-07-14 Matthias Klose <doko@ubuntu.com>
7730 * lto-wrapper.c (merge_and_complain): Add decoded options as parameter,
7731 error on different values for -fcf-protection.
7732 (append_compiler_options): Pass -fcf-protection option.
7733 (find_and_merge_options): Add decoded options as parameter,
7734 pass decoded_options to merge_and_complain.
7735 (run_gcc): Pass decoded options to find_and_merge_options.
7736 * lto-opts.c (lto_write_options): Pass -fcf-protection option.
7738 2020-07-13 Alan Modra <amodra@gmail.com>
7740 * config/rs6000/rs6000.md (sibcall_local): Merge sibcall_local32
7741 and sibcall_local64.
7742 (sibcall_value_local): Similarly.
7744 2020-07-13 Nathan Sidwell <nathan@acm.org>
7746 * Makefile.in (distclean): Remove long gone cxxmain.c
7748 2020-07-13 H.J. Lu <hjl.tools@gmail.com>
7751 * config/i386/i386.md (cmpstrnsi): Pass a copy of the string
7752 length to cmpstrnqi patterns.
7754 2020-07-13 Jakub Jelinek <jakub@redhat.com>
7757 * ipa-fnsummary.c (analyze_function_body): Treat NULL bb->aux
7760 2020-07-13 Richard Biener <rguenther@suse.de>
7762 PR tree-optimization/96163
7763 * tree-vect-slp.c (vect_schedule_slp_instance): Put new stmts
7764 at least after region begin.
7766 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7768 * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Add
7769 __ARM_FEATURE_PAC_DEFAULT support.
7771 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7774 * doc/extend.texi: Update the text for __builtin_return_address.
7776 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7779 * config/aarch64/aarch64.c (aarch64_return_address_signing_enabled):
7780 Disable return address signing if __builtin_eh_return is used.
7782 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7786 * config/aarch64/aarch64-protos.h (aarch64_return_addr_rtx): Declare.
7787 * config/aarch64/aarch64.c (aarch64_return_addr_rtx): New.
7788 (aarch64_return_addr): Use aarch64_return_addr_rtx.
7789 * config/aarch64/aarch64.h (PROFILE_HOOK): Likewise.
7791 2020-07-13 Richard Sandiford <richard.sandiford@arm.com>
7794 * tree.h (virtual_method_call_p): Add a default-false parameter
7795 that indicates whether the function is being called from dump
7797 (obj_type_ref_class): Likewise.
7798 * tree.c (virtual_method_call_p): Likewise.
7799 * ipa-devirt.c (obj_type_ref_class): Likewise. Lazily add ODR
7800 type information for the type when the parameter is false.
7801 * tree-pretty-print.c (dump_generic_node): Update calls to
7802 virtual_method_call_p and obj_type_ref_class accordingly.
7804 2020-07-13 Julian Brown <julian@codesourcery.com>
7805 Thomas Schwinge <thomas@codesourcery.com>
7807 * gimplify.c (gimplify_scan_omp_clauses): Do not strip
7808 GOMP_MAP_TO_PSET/GOMP_MAP_POINTER for OpenACC enter/exit data
7809 directives (see also PR92929).
7811 2020-07-13 Roger Sayle <roger@nextmovesoftware.com>
7813 * convert.c (convert_to_integer_1): Narrow integer operations
7814 even on targets that require explicit truncation instructions.
7816 2020-07-13 Hans-Peter Nilsson <hp@axis.com>
7819 * config/cris/cris-passes.def: New file.
7820 * config/cris/t-cris (PASSES_EXTRA): Add cris-passes.def.
7821 * config/cris/cris.c: Add infrastructure bits and pass execute
7822 function cris_postdbr_cmpelim.
7823 * config/cris/cris-protos.h (make_pass_cris_postdbr_cmpelim): Declare.
7825 2020-07-13 Hans-Peter Nilsson <hp@axis.com>
7827 * config/cris/t-cris: Remove gt-cris.h-related excessive cargo.
7829 2020-07-13 Hans-Peter Nilsson <hp@axis.com>
7832 * config/cris/cris.md ("*add<mode>3_addi"): New splitter.
7833 ("*addi_b_<mode>"): New pattern.
7834 ("*addsi3<setnz>"): Remove stale %-related comment.
7836 2020-07-13 Hans-Peter Nilsson <hp@axis.com>
7838 * config/cris/cris.md ("setnz_subst", "setnz_subst", "setcc_subst"):
7839 Use match_dup in output template, not match_operand.
7841 2020-07-13 Richard Biener <rguenther@suse.de>
7843 * var-tracking.c (bb_heap_node_t): Remove unused typedef.
7844 (vt_find_locations): Eliminate visited bitmap in favor of
7845 RPO order check. Dump statistics about the number of
7846 local BB dataflow computes.
7848 2020-07-13 Richard Biener <rguenther@suse.de>
7851 * expr.c (expand_constructor): Make a temporary also if we're
7852 storing to volatile memory.
7854 2020-07-13 Xionghu Luo <luoxhu@linux.ibm.com>
7856 * config/rs6000/rs6000.md (rotl_unspec): New
7857 define_insn_and_split.
7859 2020-07-13 Xionghu Luo <luoxhu@linux.ibm.com>
7861 * config/rs6000/rs6000.c (rs6000_expand_vector_init):
7862 Move V4SF to V4SI, init vector like V4SI and move to V4SF back.
7864 2020-07-11 Roger Sayle <roger@nextmovesoftware.com>
7866 * internal-fn.c (expand_mul_overflow): When checking for signed
7867 overflow from a widening multiplication, we access the truncated
7868 lowpart RES twice, so keep this value in a pseudo register.
7870 2020-07-11 Richard Sandiford <richard.sandiford@arm.com>
7872 PR tree-optimization/96146
7873 * value-range.cc (value_range::set): Only decompose POLY_INT_CST
7874 bounds to integers for VR_RANGE. Decay to VR_VARYING for anti-ranges
7875 involving POLY_INT_CSTs.
7877 2020-07-10 David Edelsohn <dje.gcc@gmail.com>
7880 * config/rs6000/rs6000.c (rs6000_xcoff_select_section): Only
7881 create named section for VAR_DECL or FUNCTION_DECL.
7883 2020-07-10 Joseph Myers <joseph@codesourcery.com>
7885 * glimits.h [__STDC_VERSION__ > 201710L] (BOOL_MAX, BOOL_WIDTH):
7888 2020-07-10 Alexander Popov <alex.popov@linux.com>
7890 * shrink-wrap.c (try_shrink_wrapping): Improve debug output.
7892 2020-07-10 Richard Sandiford <richard.sandiford@arm.com>
7895 * expr.c (expand_expr_real_2): When reducing bit fields,
7896 clear the target if it has a different mode from the expression.
7897 (reduce_to_bit_field_precision): Don't do that here. Instead
7898 assert that the target already has the correct mode.
7900 2020-07-10 Richard Sandiford <richard.sandiford@arm.com>
7904 * config/arm/arm.c (arm_attribute_table): Add
7905 "Advanced SIMD type".
7906 (arm_comp_type_attributes): Check that the "Advanced SIMD type"
7907 attributes are equal.
7908 * config/arm/arm-builtins.c: Include stringpool.h and
7910 (arm_mangle_builtin_vector_type): Use the mangling recorded
7911 in the "Advanced SIMD type" attribute.
7912 (arm_init_simd_builtin_types): Add an "Advanced SIMD type"
7913 attribute to each Advanced SIMD type, using the mangled type
7914 as the attribute's single argument.
7916 2020-07-10 Carl Love <cel@us.ibm.com>
7918 * config/rs6000/vsx.md (VSX_MM): New define_mode_iterator.
7919 (VSX_MM4): New define_mode_iterator.
7920 (vec_mtvsrbmi): New define_insn.
7921 (vec_mtvsr_<mode>): New define_insn.
7922 (vec_cntmb_<mode>): New define_insn.
7923 (vec_extract_<mode>): New define_insn.
7924 (vec_expand_<mode>): New define_insn.
7925 (define_c_enum unspec): Add entries UNSPEC_MTVSBM, UNSPEC_VCNTMB,
7926 UNSPEC_VEXTRACT, UNSPEC_VEXPAND.
7927 * config/rs6000/altivec.h ( vec_genbm, vec_genhm, vec_genwm,
7928 vec_gendm, vec_genqm, vec_cntm, vec_expandm, vec_extractm): Add
7930 * config/rs6000/rs6000-builtin.def: Add defines BU_P10_2, BU_P10_1.
7931 (BU_P10_1): Add definitions for mtvsrbm, mtvsrhm, mtvsrwm,
7932 mtvsrdm, mtvsrqm, vexpandmb, vexpandmh, vexpandmw, vexpandmd,
7933 vexpandmq, vextractmb, vextractmh, vextractmw, vextractmd, vextractmq.
7934 (BU_P10_2): Add definitions for cntmbb, cntmbh, cntmbw, cntmbd.
7935 (BU_P10_OVERLOAD_1): Add definitions for mtvsrbm, mtvsrhm,
7936 mtvsrwm, mtvsrdm, mtvsrqm, vexpandm, vextractm.
7937 (BU_P10_OVERLOAD_2): Add defition for cntm.
7938 * config/rs6000/rs6000-call.c (rs6000_expand_binop_builtin): Add
7939 checks for CODE_FOR_vec_cntmbb_v16qi, CODE_FOR_vec_cntmb_v8hi,
7940 CODE_FOR_vec_cntmb_v4si, CODE_FOR_vec_cntmb_v2di.
7941 (altivec_overloaded_builtins): Add overloaded argument entries for
7942 P10_BUILTIN_VEC_MTVSRBM, P10_BUILTIN_VEC_MTVSRHM,
7943 P10_BUILTIN_VEC_MTVSRWM, P10_BUILTIN_VEC_MTVSRDM,
7944 P10_BUILTIN_VEC_MTVSRQM, P10_BUILTIN_VEC_VCNTMBB,
7945 P10_BUILTIN_VCNTMBB, P10_BUILTIN_VCNTMBH,
7946 P10_BUILTIN_VCNTMBW, P10_BUILTIN_VCNTMBD,
7947 P10_BUILTIN_VEXPANDMB, P10_BUILTIN_VEXPANDMH,
7948 P10_BUILTIN_VEXPANDMW, P10_BUILTIN_VEXPANDMD,
7949 P10_BUILTIN_VEXPANDMQ, P10_BUILTIN_VEXTRACTMB,
7950 P10_BUILTIN_VEXTRACTMH, P10_BUILTIN_VEXTRACTMW,
7951 P10_BUILTIN_VEXTRACTMD, P10_BUILTIN_VEXTRACTMQ.
7952 (builtin_function_type): Add case entries for P10_BUILTIN_MTVSRBM,
7953 P10_BUILTIN_MTVSRHM, P10_BUILTIN_MTVSRWM, P10_BUILTIN_MTVSRDM,
7954 P10_BUILTIN_MTVSRQM, P10_BUILTIN_VCNTMBB, P10_BUILTIN_VCNTMBH,
7955 P10_BUILTIN_VCNTMBW, P10_BUILTIN_VCNTMBD,
7956 P10_BUILTIN_VEXPANDMB, P10_BUILTIN_VEXPANDMH,
7957 P10_BUILTIN_VEXPANDMW, P10_BUILTIN_VEXPANDMD,
7958 P10_BUILTIN_VEXPANDMQ.
7959 * config/rs6000/rs6000-builtin.def (altivec_overloaded_builtins): Add
7960 entries for MTVSRBM, MTVSRHM, MTVSRWM, MTVSRDM, MTVSRQM, VCNTM,
7961 VEXPANDM, VEXTRACTM.
7963 2020-07-10 Bill Seurer, 507-253-3502, seurer@us.ibm.com <(no_default)>
7966 * config/rs6000/rs6000-call.c: Add new type v16qi_ftype_pcvoid.
7967 (altivec_init_builtins) Change __builtin_altivec_mask_for_load to use
7968 v16qi_ftype_pcvoid with correct number of parameters.
7970 2020-07-10 H.J. Lu <hjl.tools@gmail.com>
7973 * config/i386/i386-expand.c (ix86_emit_swsqrtsf): Check
7974 TARGET_AVX512VL when enabling FMA.
7976 2020-07-10 Andrea Corallo <andrea.corallo@arm.com>
7977 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
7978 Iain Apreotesei <iain.apreotesei@arm.com>
7980 * config/arm/arm-protos.h (arm_target_insn_ok_for_lob): New
7982 * config/arm/arm.c (TARGET_INVALID_WITHIN_DOLOOP): Define.
7983 (arm_invalid_within_doloop): Implement invalid_within_doloop hook.
7984 (arm_target_insn_ok_for_lob): New function.
7985 * config/arm/arm.h (TARGET_HAVE_LOB): Define macro.
7986 * config/arm/thumb2.md (*doloop_end_internal, doloop_begin)
7987 (dls_insn): Add new patterns.
7988 (doloop_end): Modify to select LR when LOB is available.
7989 * config/arm/unspecs.md: Add new unspec.
7990 * doc/sourcebuild.texi (arm_v8_1_lob_ok)
7991 (arm_thumb2_ok_no_arm_v8_1_lob): Document new target supports
7994 2020-07-10 Richard Biener <rguenther@suse.de>
7996 PR tree-optimization/96133
7997 * gimple-fold.c (fold_array_ctor_reference): Do not
7998 recurse to folding a CTOR that does not fully cover the
8001 2020-07-10 Cui,Lili <lili.cui@intel.com>
8003 * common/config/i386/cpuinfo.h
8004 (get_intel_cpu): Handle sapphirerapids.
8005 * common/config/i386/i386-common.c
8006 (processor_names): Add sapphirerapids and alderlake.
8007 (processor_alias_table): Add sapphirerapids and alderlake.
8008 * common/config/i386/i386-cpuinfo.h
8009 (processor_subtypes): Add INTEL_COREI7_ALDERLAKE and
8010 INTEL_COREI7_ALDERLAKE.
8011 * config.gcc: Add -march=sapphirerapids and alderlake.
8012 * config/i386/driver-i386.c
8013 (host_detect_local_cpu) Handle sapphirerapids and alderlake.
8014 * config/i386/i386-c.c
8015 (ix86_target_macros_internal): Handle sapphirerapids and alderlake.
8016 * config/i386/i386-options.c
8017 (m_SAPPHIRERAPIDS) : Define.
8018 (m_ALDERLAKE): Ditto.
8019 (m_CORE_AVX512) : Add m_SAPPHIRERAPIDS.
8020 (processor_cost_table): Add sapphirerapids and alderlake.
8021 (ix86_option_override_internal) Handle PTA_WAITPKG, PTA_ENQCMD,
8022 PTA_CLDEMOTE, PTA_SERIALIZE, PTA_TSXLDTRK.
8023 * config/i386/i386.h
8024 (ix86_size_cost) : Define SAPPHIRERAPIDS and ALDERLAKE.
8025 (processor_type) : Add PROCESSOR_SAPPHIRERAPIDS and
8026 PROCESSOR_ALDERLAKE.
8028 (PTA_CLDEMOTE): Ditto.
8029 (PTA_SERIALIZE): Ditto.
8030 (PTA_TSXLDTRK): New.
8031 (PTA_SAPPHIRERAPIDS): Ditto.
8032 (PTA_ALDERLAKE): Ditto.
8033 (processor_type) : Add PROCESSOR_SAPPHIRERAPIDS and
8034 PROCESSOR_ALDERLAKE.
8035 * doc/extend.texi: Add sapphirerapids and alderlake.
8036 * doc/invoke.texi: Add sapphirerapids and alderlake.
8038 2020-07-10 Martin Liska <mliska@suse.cz>
8040 * dumpfile.c [profile-report]: Add new profile dump.
8041 * dumpfile.h (enum tree_dump_index): Ad TDI_profile_report.
8042 * passes.c (pass_manager::dump_profile_report): Change stderr
8045 2020-07-10 Kewen Lin <linkw@linux.ibm.com>
8047 * tree-vect-loop.c (vect_transform_loop): Use LOOP_VINFO_NITERS which
8048 is adjusted by considering peeled prologue for non
8049 vect_use_loop_mask_for_alignment_p cases.
8051 2020-07-09 Peter Bergner <bergner@linux.ibm.com>
8054 * config/rs6000/rs6000-call.c (rs6000_init_builtins): Define the MMA
8055 specific types __vector_quad and __vector_pair, and initialize the
8056 MMA built-ins if TARGET_EXTRA_BUILTINS is set.
8057 (mma_init_builtins): Don't test for mask set in rs6000_builtin_mask.
8058 Remove now unneeded mask variable.
8059 * config/rs6000/rs6000.c (rs6000_option_override_internal): Add the
8060 OPTION_MASK_MMA flag for power10 if not already set.
8062 2020-07-09 Richard Biener <rguenther@suse.de>
8064 PR tree-optimization/96133
8065 * tree-vect-slp.c (vect_build_slp_tree_1): Compare load_p
8066 status between stmts.
8068 2020-07-09 H.J. Lu <hjl.tools@gmail.com>
8071 * config/i386/i386-expand.c (ix86_emit_swsqrtsf): Enable FMA.
8072 * config/i386/sse.md (VF_AVX512VL_VF1_128_256): New.
8073 (rsqrt<mode>2): Replace VF1_128_256 with VF_AVX512VL_VF1_128_256.
8074 (rsqrtv16sf2): Removed.
8076 2020-07-09 Richard Biener <rguenther@suse.de>
8078 * tree-vectorizer.h (vect_verify_datarefs_alignment): Remove.
8079 (vect_slp_analyze_and_verify_instance_alignment): Rename to ...
8080 (vect_slp_analyze_instance_alignment): ... this.
8081 * tree-vect-data-refs.c (verify_data_ref_alignment): Remove.
8082 (vect_verify_datarefs_alignment): Likewise.
8083 (vect_enhance_data_refs_alignment): Do not call
8084 vect_verify_datarefs_alignment.
8085 (vect_slp_analyze_node_alignment): Rename from
8086 vect_slp_analyze_and_verify_node_alignment and do not
8087 call verify_data_ref_alignment.
8088 (vect_slp_analyze_instance_alignment): Rename from
8089 vect_slp_analyze_and_verify_instance_alignment.
8090 * tree-vect-stmts.c (vectorizable_store): Dump when
8091 we vectorize an unaligned access.
8092 (vectorizable_load): Likewise.
8093 * tree-vect-loop.c (vect_analyze_loop_2): Do not call
8094 vect_verify_datarefs_alignment.
8095 * tree-vect-slp.c (vect_slp_analyze_bb_1): Adjust.
8097 2020-07-09 Bin Cheng <bin.cheng@linux.alibaba.com>
8099 PR tree-optimization/95804
8100 * tree-loop-distribution.c (break_alias_scc_partitions): Force
8101 negative post order to reduction partition.
8103 2020-07-09 Jakub Jelinek <jakub@redhat.com>
8105 * omp-general.h (struct omp_for_data): Add min_inner_iterations
8107 * omp-general.c (omp_extract_for_data): Initialize them and remember
8108 them in OMP_CLAUSE_COLLAPSE_COUNT if needed and restore from there.
8109 * omp-expand.c (expand_omp_for_init_counts): Fix up computation of
8110 counts[fd->last_nonrect] if fd->loop.n2 is INTEGER_CST.
8111 (expand_omp_for_init_vars): For
8112 fd->first_nonrect + 1 == fd->last_nonrect loops with for now
8113 INTEGER_CST fd->loop.n2 find quadratic equation roots instead of
8114 using fallback method when possible.
8116 2020-07-09 Omar Tahir <omar.tahir@arm.com>
8118 * ira.c (move_unallocated_pseudos): Zero first_moveable_pseudo and
8119 last_moveable_pseudo before returning.
8121 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8123 * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Add
8124 __ARM_FEATURE_BTI_DEFAULT support.
8126 2020-07-09 Matthew Malcomson <matthew.malcomson@arm.com>
8128 * config/aarch64/aarch64-protos.h (aarch64_indirect_call_asm):
8130 * config/aarch64/aarch64.c (aarch64_regno_regclass): Handle new
8131 stub registers class.
8132 (aarch64_class_max_nregs): Likewise.
8133 (aarch64_register_move_cost): Likewise.
8134 (aarch64_sls_shared_thunks): Global array to store stub labels.
8135 (aarch64_sls_emit_function_stub): New.
8136 (aarch64_create_blr_label): New.
8137 (aarch64_sls_emit_blr_function_thunks): New.
8138 (aarch64_sls_emit_shared_blr_thunks): New.
8139 (aarch64_asm_file_end): New.
8140 (aarch64_indirect_call_asm): New.
8141 (TARGET_ASM_FILE_END): Use aarch64_asm_file_end.
8142 (TARGET_ASM_FUNCTION_EPILOGUE): Use
8143 aarch64_sls_emit_blr_function_thunks.
8144 * config/aarch64/aarch64.h (STB_REGNUM_P): New.
8145 (enum reg_class): Add STUB_REGS class.
8146 (machine_function): Introduce `call_via` array for
8147 function-local stub labels.
8148 * config/aarch64/aarch64.md (*call_insn, *call_value_insn): Use
8149 aarch64_indirect_call_asm to emit code when hardening BLR
8151 * config/aarch64/constraints.md (Ucr): New constraint
8152 representing registers for indirect calls. Is GENERAL_REGS
8153 usually, and STUB_REGS when hardening BLR instruction against
8155 * config/aarch64/predicates.md (aarch64_general_reg): STUB_REGS class
8156 is also a general register.
8158 2020-07-09 Matthew Malcomson <matthew.malcomson@arm.com>
8160 * config/aarch64/aarch64-protos.h (aarch64_sls_barrier): New.
8161 * config/aarch64/aarch64.c (aarch64_output_casesi): Emit
8162 speculation barrier after BR instruction if needs be.
8163 (aarch64_trampoline_init): Handle ptr_mode value & adjust size
8165 (aarch64_sls_barrier): New.
8166 (aarch64_asm_trampoline_template): Add needed barriers.
8167 * config/aarch64/aarch64.h (AARCH64_ISA_SB): New.
8169 (TRAMPOLINE_SIZE): Account for barrier.
8170 * config/aarch64/aarch64.md (indirect_jump, *casesi_dispatch,
8171 simple_return, *do_return, *sibcall_insn, *sibcall_value_insn):
8172 Emit barrier if needs be, also account for possible barrier using
8173 "sls_length" attribute.
8174 (sls_length): New attribute.
8175 (length): Determine default using any non-default sls_length
8178 2020-07-09 Matthew Malcomson <matthew.malcomson@arm.com>
8180 * config/aarch64/aarch64-protos.h (aarch64_harden_sls_retbr_p):
8182 (aarch64_harden_sls_blr_p): New.
8183 * config/aarch64/aarch64.c (enum aarch64_sls_hardening_type):
8185 (aarch64_harden_sls_retbr_p): New.
8186 (aarch64_harden_sls_blr_p): New.
8187 (aarch64_validate_sls_mitigation): New.
8188 (aarch64_override_options): Parse options for SLS mitigation.
8189 * config/aarch64/aarch64.opt (-mharden-sls): New option.
8190 * doc/invoke.texi: Document new option.
8192 2020-07-09 Kewen Lin <linkw@linux.ibm.com>
8194 * tree-vect-stmts.c (vectorizable_condition): Prohibit vectorization
8195 with partial vectors explicitly excepting for EXTRACT_LAST_REDUCTION
8196 or nested-cycle reduction.
8198 2020-07-09 Kewen Lin <linkw@linux.ibm.com>
8200 * tree-vect-loop.c (vect_analyze_loop_2): Update dumping string
8201 for fully masking to be more common.
8203 2020-07-09 Kito Cheng <kito.cheng@sifive.com>
8205 * config/riscv/riscv.md (get_thread_pointer<mode>): New.
8207 * doc/extend.texi (Target Builtins): Add RISC-V built-in section.
8208 Document __builtin_thread_pointer.
8210 2020-07-09 Kito Cheng <kito.cheng@sifive.com>
8212 * config/riscv/riscv-sr.c (riscv_remove_unneeded_save_restore_calls):
8213 Abort if any arguments on stack.
8215 2020-07-08 Eric Botcazou <ebotcazou@adacore.com>
8217 * gimple-fold.c (gimple_fold_builtin_memory_op): Do not fold if
8218 either type has reverse scalar storage order.
8219 * tree-ssa-sccvn.c (vn_reference_lookup_3): Do not propagate through
8220 a memory copy if either type has reverse scalar storage order.
8222 2020-07-08 Tobias Burnus <tobias@codesourcery.com>
8224 * config/gcn/mkoffload.c (compile_native, main): Pass -fPIC/-fpic
8225 on to the native compiler, if used.
8226 * config/nvptx/mkoffload.c (compile_native, main): Likewise.
8228 2020-07-08 Will Schmidt <will_schmidt@vnet.ibm.com>
8230 * config/rs6000/altivec.h (vec_vmsumudm): New define.
8231 * config/rs6000/altivec.md (UNSPEC_VMSUMUDM): New unspec.
8232 (altivec_vmsumudm): New define_insn.
8233 * config/rs6000/rs6000-builtin.def (altivec_vmsumudm): New BU_ALTIVEC_3
8234 entry. (vmsumudm): New BU_ALTIVEC_OVERLOAD_3 entry.
8235 * config/rs6000/rs6000-call.c (altivec_overloaded_builtins): Add entries for
8236 ALTIVEC_BUILTIN_VMSUMUDM variants of vec_msum.
8237 * doc/extend.texi: Add document for vmsumudm behind vmsum.
8239 2020-07-08 Richard Biener <rguenther@suse.de>
8241 * tree-vect-stmts.c (get_group_load_store_type): Pass
8242 in the SLP node and the alignment support scheme output.
8244 (get_load_store_type): Likewise.
8245 (vectorizable_store): Adjust.
8246 (vectorizable_load): Likewise.
8248 2020-07-08 Richard Sandiford <richard.sandiford@arm.com>
8251 * expr.c (expand_expr_real_2): Get the mode from the type rather
8252 than the rtx, and assert that it is consistent with the mode of
8253 the rtx (where known). Optimize all constant integers, not just
8254 those that can be represented in poly_int64.
8256 2020-07-08 Kewen Lin <linkw@linux.ibm.com>
8258 * config/rs6000/vsx.md (len_load_v16qi): New define_expand.
8259 (len_store_v16qi): Likewise.
8261 2020-07-08 Kewen Lin <linkw@linux.ibm.com>
8263 * doc/md.texi (len_load_@var{m}): Document.
8264 (len_store_@var{m}): Likewise.
8265 * internal-fn.c (len_load_direct): New macro.
8266 (len_store_direct): Likewise.
8267 (expand_len_load_optab_fn): Likewise.
8268 (expand_len_store_optab_fn): Likewise.
8269 (direct_len_load_optab_supported_p): Likewise.
8270 (direct_len_store_optab_supported_p): Likewise.
8271 (expand_mask_load_optab_fn): New macro. Original renamed to ...
8272 (expand_partial_load_optab_fn): ... here. Add handlings for
8274 (expand_mask_store_optab_fn): New macro. Original renamed to ...
8275 (expand_partial_store_optab_fn): ... here. Add handlings for
8277 (internal_load_fn_p): Handle IFN_LEN_LOAD.
8278 (internal_store_fn_p): Handle IFN_LEN_STORE.
8279 (internal_fn_stored_value_index): Handle IFN_LEN_STORE.
8280 * internal-fn.def (LEN_LOAD): New internal function.
8281 (LEN_STORE): Likewise.
8282 * optabs.def (len_load_optab, len_store_optab): New optab.
8284 2020-07-07 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8286 * config/aarch64/aarch64.c (thunderx2t99_regmove_cost,
8287 thunderx2t99_vector_cost): Likewise.
8289 2020-07-07 Richard Biener <rguenther@suse.de>
8291 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Fix
8292 group overlap condition to allow negative step DR groups.
8293 * tree-vect-stmts.c (get_group_load_store_type): For
8294 multi element SLP groups force VMAT_STRIDED_SLP when the step
8297 2020-07-07 Qian Jianhua <qianjh@cn.fujitsu.com>
8299 * doc/generic.texi: Fix typo.
8301 2020-07-07 Richard Biener <rguenther@suse.de>
8303 * lto-streamer-out.c (cmp_symbol_files): Use the computed
8304 order map to sort symbols from the same sub-file together.
8305 (lto_output): Compute a map of sub-file to an order number
8306 it appears in the symbol output array.
8308 2020-07-06 Richard Biener <rguenther@suse.de>
8310 PR tree-optimization/96075
8311 * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use
8312 TYPE_SIZE_UNIT of the vector component type instead of DR_STEP
8313 for the misalignment calculation for negative step.
8315 2020-07-06 Roger Sayle <roger@nextmovesoftware.com>
8317 * config/nvptx/nvptx.md (*vadd_addsi4): New instruction.
8318 (*vsub_addsi4): New instruction.
8320 2020-07-06 Hans-Peter Nilsson <hp@axis.com>
8322 * config/cris/cris.md (movulsr): New peephole2.
8324 2020-07-06 Hans-Peter Nilsson <hp@axis.com>
8326 * config/cris/sync.md ("cris_atomic_fetch_<atomic_op_name><mode>_1"):
8327 Correct gcc_assert of overlapping operands.
8329 2020-07-05 Hans-Peter Nilsson <hp@axis.com>
8331 * config/cris/cris.c (cris_select_cc_mode): Always return
8332 CC_NZmode for matching comparisons. Clarify comments.
8333 * config/cris/cris-modes.def: Clarify mode comment.
8334 * config/cris/cris.md (plusminus, plusminusumin, plusumin): New
8336 (addsub, addsubbo, nd): New code iterator attributes.
8337 ("*<addsub><su>qihi"): Rename from "*extopqihi". Use code
8338 iterator constructs instead of match_operator constructs.
8339 ("*<addsubbo><su><nd><mode>si<setnz>"): Similar from
8340 "*extop<mode>si<setnz>".
8341 ("*add<su>qihi_swap"): Similar from "*addxqihi_swap".
8342 ("*<addsubbo><su><nd><mode>si<setnz>_swap"): Similar from
8343 "*extop<mode>si<setnz>_swap".
8345 2020-07-05 Hans-Peter Nilsson <hp@axis.com>
8347 * config/cris/cris.md ("*extopqihi", "*extop<mode>si<setnz>_swap")
8348 ("*extop<mode>si<setnz>", "*addxqihi_swap"): Reinstate.
8350 2020-07-03 Eric Botcazou <ebotcazou@adacore.com>
8352 * gimple-fold.c (gimple_fold_builtin_memory_op): Fold calls that
8353 were initially created for the assignment of a variable-sized
8354 object and whose source is now a string constant.
8355 * gimple-ssa-store-merging.c (struct merged_store_group): Document
8356 STRING_CST for rhs_code field.
8357 Add string_concatenation boolean field.
8358 (merged_store_group::merged_store_group): Initialize it as well as
8360 (merged_store_group::do_merge): Set it upon seeing a STRING_CST.
8361 Also set bit_insertion here upon seeing a BIT_INSERT_EXPR.
8362 (merged_store_group::apply_stores): Clear it for small regions.
8363 Do not create a power-of-2-sized buffer if it is still true.
8364 And do not set bit_insertion here again.
8365 (encode_tree_to_bitpos): Deal with BLKmode for the expression.
8366 (merged_store_group::can_be_merged_into): Deal with STRING_CST.
8367 (imm_store_chain_info::coalesce_immediate_stores): Set bit_insertion
8368 to true after changing MEM_REF stores into BIT_INSERT_EXPR stores.
8369 (count_multiple_uses): Return 0 for STRING_CST.
8370 (split_group): Do not split the group for a string concatenation.
8371 (imm_store_chain_info::output_merged_store): Constify and rename
8372 some local variables. Build an array type as destination type
8373 for a string concatenation, as well as a zero mask, and call
8374 build_string to build the source.
8375 (lhs_valid_for_store_merging_p): Return true for VIEW_CONVERT_EXPR.
8376 (pass_store_merging::process_store): Accept STRING_CST on the RHS.
8377 * gimple.h (gimple_call_alloca_for_var_p): New accessor function.
8378 * gimplify.c (gimplify_modify_expr_to_memcpy): Set alloca_for_var.
8379 * tree.h (CALL_ALLOCA_FOR_VAR_P): Document it for BUILT_IN_MEMCPY.
8381 2020-07-03 Martin Jambor <mjambor@suse.cz>
8384 * ipa-sra.c (all_callee_accesses_present_p): Do not accept type
8385 mismatched accesses.
8387 2020-07-03 Roger Sayle <roger@nextmovesoftware.com>
8389 * config/nvptx/nvptx.md (popcount<mode>2): New instructions.
8390 (mulhishi3, mulsidi3, umulhisi3, umulsidi3): New instructions.
8392 2020-07-03 Martin Liska <mliska@suse.cz>
8393 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8396 * gcov-dump.c (tag_function): Use gcov_position_t
8399 2020-07-03 Richard Biener <rguenther@suse.de>
8401 PR tree-optimization/96037
8402 * tree-vect-stmts.c (vect_is_simple_use): Initialize *slp_def.
8404 2020-07-03 Richard Biener <rguenther@suse.de>
8406 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Cost the
8407 original non-pattern stmts, look at the pattern stmt
8408 vectorization status.
8410 2020-07-03 Andrew Stubbs <ams@codesourcery.com>
8412 * config/gcn/gcn-valu.md (fold_left_plus_<mode>): New.
8414 2020-07-03 Richard Biener <rguenther@suse.de>
8416 * tree-vectorizer.h (vec_info::insert_on_entry): New.
8417 (vec_info::insert_seq_on_entry): Likewise.
8418 * tree-vectorizer.c (vec_info::insert_on_entry): Implement.
8419 (vec_info::insert_seq_on_entry): Likewise.
8420 * tree-vect-stmts.c (vect_init_vector_1): Use
8421 vec_info::insert_on_entry.
8422 (vect_finish_stmt_generation): Set modified bit after
8424 * tree-vect-slp.c (vect_create_constant_vectors): Simplify
8425 by using vec_info::insert_seq_on_entry and bypassing
8427 (vect_schedule_slp_instance): Deal with all-constant
8430 2020-07-03 Roger Sayle <roger@nextmovesoftware.com>
8431 Tom de Vries <tdevries@suse.de>
8434 * config/nvptx/nvptx.c (nvptx_vector_alignment): Use tree_to_uhwi
8435 to access TYPE_SIZE (type). Return at least the mode's alignment.
8437 2020-07-02 Richard Biener <rguenther@suse.de>
8439 PR tree-optimization/96028
8440 * tree-vect-slp.c (vect_slp_convert_to_external): Make sure
8441 we have scalar stmts to use.
8442 (vect_slp_analyze_node_operations): When analyzing a child
8443 failed try externalizing the parent node.
8445 2020-07-02 Martin Jambor <mjambor@suse.cz>
8448 * ipa-param-manipulation.c (ipa_param_adjustments::modify_call): Adjust
8449 argument index if necessary.
8451 2020-07-02 Martin Liska <mliska@suse.cz>
8454 * tree-vect-generic.c (expand_vector_condition): Forward declaration.
8455 (expand_vector_comparison): Do not expand a comparison if all
8456 uses are consumed by a VEC_COND_EXPR.
8457 (expand_vector_operation): Change void return type to bool.
8458 (expand_vector_operations_1): Pass dce_ssa_names.
8460 2020-07-02 Ilya Leoshkevich <iii@linux.ibm.com>
8463 * system.h (NULL): Redefine to nullptr.
8465 2020-07-02 Jakub Jelinek <jakub@redhat.com>
8467 PR tree-optimization/95857
8468 * tree-cfg.c (group_case_labels_stmt): When removing an unreachable
8469 base_bb, remember all forced and non-local labels on it and later
8470 treat those as if they have NULL label_to_block. Formatting fix.
8473 2020-07-02 Richard Biener <rguenther@suse.de>
8475 PR tree-optimization/96022
8476 * tree-vect-stmts.c (vectorizable_shift): Only use the
8477 first vector stmt when extracting the scalar shift amount.
8478 * tree-vect-slp.c (vect_build_slp_tree_2): Also build unary
8479 nodes with all-scalar children from scalars but not stores.
8480 (vect_analyze_slp_instance): Mark the node not failed.
8482 2020-07-02 Felix Yang <felix.yang@huawei.com>
8484 PR tree-optimization/95961
8485 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Use the
8486 number of scalars instead of the number of vectors as an upper bound
8487 for the loop saving info about DR in the hash table. Remove unused
8490 2020-07-02 Jakub Jelinek <jakub@redhat.com>
8492 * omp-expand.c (expand_omp_for): Diagnose non-rectangular loops with
8493 invalid steps - ((m2 - m1) * incr_outer) % incr must be 0 in valid
8494 OpenMP non-rectangular loops. Use XALLOCAVEC.
8496 2020-07-02 Martin Liska <mliska@suse.cz>
8498 PR gcov-profile/95348
8499 * coverage.c (read_counts_file): Read only COUNTERS that are
8501 * gcov-dump.c (tag_function): Change signature from unsigned to
8503 (tag_blocks): Likewise.
8504 (tag_arcs): Likewise.
8505 (tag_lines): Likewise.
8506 (tag_counters): Likewise.
8507 (tag_summary): Likewise.
8508 * gcov.c (read_count_file): Read all non-zero counters
8511 2020-07-02 Kito Cheng <kito.cheng@sifive.com>
8513 * config/riscv/multilib-generator (arch_canonicalize): Handle
8514 multi-letter extension.
8515 Using underline as separator between different extensions.
8517 2020-07-01 Pip Cet <pipcet@gmail.com>
8519 * spellcheck.c (test_data): Add problematic strings.
8520 (test_metric_conditions): Don't test the triangle inequality
8521 condition, which our distance function does not satisfy.
8523 2020-07-01 Omar Tahir <omar.tahir@arm.com>
8525 * config/aarch64/aarch64.c (aarch64_asm_trampoline_template): Always
8526 generate a BTI instruction.
8528 2020-07-01 Jeff Law <law@redhat.com>
8530 PR tree-optimization/94882
8531 * match.pd (x & y) - (x | y) - 1 -> ~(x ^ y): New simplification.
8533 2020-07-01 Jeff Law <law@redhat.com>
8535 * config/m68k/m68k.c (m68k_output_btst): Drop "register" keyword.
8536 (emit_move_sequence, output_iorsi3, output_xorsi3): Likewise.
8538 2020-07-01 Andrea Corallo <andrea.corallo@arm.com>
8540 * config/aarch64/aarch64-builtins.c (aarch64_builtins): Add enums
8541 for 64bits fpsr/fpcr getter setters builtin variants.
8542 (aarch64_init_fpsr_fpcr_builtins): New function.
8543 (aarch64_general_init_builtins): Modify to make use of the later.
8544 (aarch64_expand_fpsr_fpcr_setter): New function.
8545 (aarch64_general_expand_builtin): Modify to make use of the later.
8546 * config/aarch64/aarch64.md (@aarch64_set_<fpscr_name><GPI:mode>)
8547 (@aarch64_get_<fpscr_name><GPI:mode>): New patterns replacing and
8548 generalizing 'get_fpcr', 'set_fpsr'.
8549 * config/aarch64/iterators.md (GET_FPSCR, SET_FPSCR): New int
8551 (fpscr_name): New int attribute.
8552 * doc/extend.texi (__builtin_aarch64_get_fpcr64)
8553 (__builtin_aarch64_set_fpcr64, __builtin_aarch64_get_fpsr64)
8554 (__builtin_aarch64_set_fpsr64): Add into AArch64 Built-in
8557 2020-07-01 Martin Liska <mliska@suse.cz>
8559 * gcov.c (print_usage): Avoid trailing space for -j option.
8561 2020-07-01 Richard Biener <rguenther@suse.de>
8563 PR tree-optimization/95839
8564 * tree-vect-slp.c (vect_slp_tree_uniform_p): Pre-existing
8565 vectors are not uniform.
8566 (vect_build_slp_tree_1): Handle BIT_FIELD_REFs of
8568 (vect_build_slp_tree_2): For groups of lane extracts
8569 from a vector register generate a permute node
8570 with a special child representing the pre-existing vector.
8571 (vect_prologue_cost_for_slp): Pre-existing vectors cost nothing.
8572 (vect_slp_analyze_node_operations): Use SLP_TREE_LANES.
8573 (vectorizable_slp_permutation): Do not generate or cost identity
8575 (vect_schedule_slp_instance): Handle pre-existing vector
8576 that are function arguments.
8578 2020-07-01 Richard Biener <rguenther@suse.de>
8580 * system.h (INCLUDE_ISL): New guarded include.
8581 * graphite-dependences.c: Use it.
8582 * graphite-isl-ast-to-gimple.c: Likewise.
8583 * graphite-optimize-isl.c: Likewise.
8584 * graphite-poly.c: Likewise.
8585 * graphite-scop-detection.c: Likewise.
8586 * graphite-sese-to-poly.c: Likewise.
8587 * graphite.c: Likewise.
8588 * graphite.h: Drop the includes here.
8590 2020-07-01 Martin Liska <mliska@suse.cz>
8592 * gcov.c (print_usage): Shorted option description for -j
8595 2020-07-01 Martin Liska <mliska@suse.cz>
8597 * doc/gcov.texi: Rename 2 options.
8598 * gcov.c (print_usage): Rename -i,--json-format to
8599 -j,--json-format and -j,--human-readable to -H,--human-readable.
8600 (process_args): Fix up parsing. Document obsolete options and
8601 how are they changed.
8603 2020-07-01 Jeff Law <law@redhat.com>
8605 * config/pa/pa.c (pa_emit_move_sequence): Drop register keyword.
8606 (pa_output_ascii): Likewise.
8608 2020-07-01 Kito Cheng <kito.cheng@sifive.com>
8610 * common/config/riscv/riscv-common.c (riscv_subset_t): New field
8612 (riscv_subset_list::parsing_subset_version): Add parameter for
8613 indicate explicitly version, and handle explicitly version.
8614 (riscv_subset_list::handle_implied_ext): Ditto.
8615 (riscv_subset_list::add): Ditto.
8616 (riscv_subset_t::riscv_subset_t): Init new field.
8617 (riscv_subset_list::to_string): Always output version info if version
8618 explicitly specified.
8619 (riscv_subset_list::parsing_subset_version): Handle explicitly
8621 (riscv_subset_list::parse_std_ext): Ditto.
8622 (riscv_subset_list::parse_multiletter_ext): Ditto.
8624 2020-06-30 Richard Sandiford <richard.sandiford@arm.com>
8628 * config/aarch64/aarch64.c (aarch64_attribute_table): Add
8629 "Advanced SIMD type".
8630 (aarch64_comp_type_attributes): Check that the "Advanced SIMD type"
8631 attributes are equal.
8632 * config/aarch64/aarch64-builtins.c: Include stringpool.h and
8634 (aarch64_mangle_builtin_vector_type): Use the mangling recorded
8635 in the "Advanced SIMD type" attribute.
8636 (aarch64_init_simd_builtin_types): Add an "Advanced SIMD type"
8637 attribute to each Advanced SIMD type, using the mangled type
8638 as the attribute's single argument.
8640 2020-06-30 Christophe Lyon <christophe.lyon@linaro.org>
8643 * config/arm/arm.c (arm_handle_isr_attribute): Warn if
8644 -mgeneral-regs-only is not used.
8646 2020-06-30 Yang Yang <yangyang305@huawei.com>
8648 PR tree-optimization/95855
8649 * gimple-ssa-split-paths.c (is_feasible_trace): Add extra
8650 checks to recognize a missed if-conversion opportunity when
8651 judging whether to duplicate a block.
8653 2020-06-29 Segher Boessenkool <segher@kernel.crashing.org>
8655 * doc/extend.texi: Change references to "future architecture" to
8656 "ISA 3.1", "-mcpu=future" to "-mcpu=power10", and remove vaguer
8657 references to "future" (because the future is now).
8659 2020-06-29 Segher Boessenkool <segher@kernel.crashing.org>
8661 * config/rs6000/rs6000.md (isa): Rename "fut" to "p10".
8663 2020-06-29 Roger Sayle <roger@nextmovesoftware.com>
8665 * simplify-rtx.c (simplify_distributive_operation): New function
8666 to un-distribute a binary operation of two binary operations.
8667 (X & C) ^ (Y & C) to (X ^ Y) & C, when C is simple (i.e. a constant).
8668 (simplify_binary_operation_1) <IOR, XOR, AND>: Call it from here
8670 (test_scalar_int_ops): New function for unit self-testing
8671 scalar integer transformations in simplify-rtx.c.
8672 (test_scalar_ops): Call test_scalar_int_ops for each integer mode.
8673 (simplify_rtx_c_tests): Call test_scalar_ops.
8675 2020-06-29 Richard Biener <rguenther@suse.de>
8677 PR tree-optimization/95916
8678 * tree-vect-slp.c (vect_schedule_slp_instance): Explicitely handle
8679 the case of not vectorized externals.
8681 2020-06-29 Richard Biener <rguenther@suse.de>
8683 * tree-vectorizer.h: Do not include <utility>.
8685 2020-06-29 Martin Liska <mliska@suse.cz>
8687 * tree-ssa-ccp.c (gsi_prev_dom_bb_nondebug): Use gsi_bb
8688 instead of gimple_stmt_iterator::bb.
8689 * tree-ssa-math-opts.c (insert_reciprocals): Likewise.
8690 * tree-vectorizer.h: Likewise.
8692 2020-06-29 Andrew Stubbs <ams@codesourcery.com>
8694 * config/gcn/gcn-hsa.h (DBX_REGISTER_NUMBER): New macro.
8695 * config/gcn/gcn-protos.h (gcn_dwarf_register_number): New prototype.
8696 * config/gcn/gcn.c (gcn_expand_prologue): Add RTX_FRAME_RELATED_P
8697 and REG_FRAME_RELATED_EXPR to stack and frame pointer adjustments.
8698 (gcn_dwarf_register_number): New function.
8699 (gcn_dwarf_register_span): New function.
8700 (TARGET_DWARF_REGISTER_SPAN): New hook macro.
8702 2020-06-29 Kaipeng Zhou <zhoukaipeng3@huawei.com>
8704 PR tree-optimization/95854
8705 * gimple-ssa-store-merging.c (find_bswap_or_nop_1): Return NULL
8706 if operand 1 or 2 of a BIT_FIELD_REF cannot be converted to
8707 unsigned HOST_WIDE_INT.
8709 2020-06-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8711 * config/sparc/sparc.c (epilogue_renumber): Remove register.
8712 (sparc_print_operand_address): Likewise.
8713 (sparc_type_code): Likewise.
8714 (set_extends): Likewise.
8716 2020-06-29 Martin Liska <mliska@suse.cz>
8718 PR tree-optimization/92860
8719 * optc-save-gen.awk: Add exceptions for arc target.
8721 2020-06-29 Frederik Harwath <frederik@codesourcery.com>
8723 * doc/sourcebuild.texi: Describe globbing of the
8724 dump file scanning commands "suffix" argument.
8726 2020-06-28 Martin Sebor <msebor@redhat.com>
8729 * calls.c (maybe_warn_rdwr_sizes): Use location of argument if
8731 * tree-ssa-ccp.c (pass_post_ipa_warn::execute): Same. Adjust
8733 * tree.c (get_nonnull_args): Consider the this pointer implicitly
8735 * var-tracking.c (deps_vec): New type.
8736 (var_loc_dep_vec): New function.
8737 (VAR_LOC_DEP_VEC): Use it.
8739 2020-06-28 Kewen Lin <linkw@linux.ibm.com>
8741 * internal-fn.c (direct_mask_load_optab_supported_p): Use
8742 convert_optab_supported_p instead of direct_optab_supported_p.
8743 (direct_mask_store_optab_supported_p): Likewise.
8745 2020-06-27 Aldy Hernandez <aldyh@redhat.com>
8747 * gimple-ssa-evrp-analyze.h (vrp_visit_cond_stmt): Use
8748 simplify_using_ranges class.
8749 * gimple-ssa-evrp.c (class evrp_folder): New simplify_using_ranges
8750 field. Adjust all methods to use new field.
8751 * tree-ssa-dom.c (simplify_stmt_for_jump_threading): Use
8752 simplify_using_ranges class.
8753 * tree-vrp.c (class vrp_folder): New simplify_using_ranges
8754 field. Adjust all methods to use new field.
8755 (simplify_stmt_for_jump_threading): Use simplify_using_ranges class.
8756 (vrp_prop::vrp_finalize): New vrp_folder argument.
8757 (execute_vrp): Pass folder to vrp_finalize. Use
8758 simplify_using_ranges class.
8759 Remove cleanup_edges_and_switches call.
8760 * vr-values.c (vr_values::op_with_boolean_value_range_p): Change
8761 value_range_equiv uses to value_range.
8762 (simplify_using_ranges::op_with_boolean_value_range_p): Use
8763 simplify_using_ranges class.
8764 (check_for_binary_op_overflow): Make static.
8765 (vr_values::extract_range_basic): Pass this to
8766 check_for_binary_op_overflow.
8767 (compare_range_with_value): Change value_range_equiv uses to
8769 (vr_values::vr_values): Initialize simplifier field.
8770 Remove uses of to_remove_edges and to_update_switch_stmts.
8771 (vr_values::~vr_values): Remove uses of to_remove_edges and
8772 to_update_switch_stmts.
8773 (vr_values::get_vr_for_comparison): Move to simplify_using_ranges
8775 (vr_values::compare_name_with_value): Same.
8776 (vr_values::compare_names): Same.
8777 (vr_values::vrp_evaluate_conditional_warnv_with_ops): Same.
8778 (vr_values::vrp_evaluate_conditional): Same.
8779 (vr_values::vrp_visit_cond_stmt): Same.
8780 (find_case_label_ranges): Change value_range_equiv uses to
8782 (vr_values::extract_range_from_stmt): Use simplify_using_ranges class.
8783 (vr_values::simplify_truth_ops_using_ranges): Move to
8784 simplify_using_ranges class.
8785 (vr_values::simplify_div_or_mod_using_ranges): Same.
8786 (vr_values::simplify_min_or_max_using_ranges): Same.
8787 (vr_values::simplify_abs_using_ranges): Same.
8788 (vr_values::simplify_bit_ops_using_ranges): Same.
8789 (test_for_singularity): Change value_range_equiv uses to
8791 (range_fits_type_p): Same.
8792 (vr_values::simplify_cond_using_ranges_1): Same.
8793 (vr_values::simplify_cond_using_ranges_2): Make extern.
8794 (vr_values::fold_cond): Move to simplify_using_ranges class.
8795 (vr_values::simplify_switch_using_ranges): Same.
8796 (vr_values::cleanup_edges_and_switches): Same.
8797 (vr_values::simplify_float_conversion_using_ranges): Same.
8798 (vr_values::simplify_internal_call_using_ranges): Same.
8799 (vr_values::two_valued_val_range_p): Same.
8800 (vr_values::simplify_stmt_using_ranges): Move to...
8801 (simplify_using_ranges::simplify): ...here.
8802 * vr-values.h (class vr_values): Move all the simplification of
8803 statements using ranges methods and code from here...
8804 (class simplify_using_ranges): ...to here.
8805 (simplify_cond_using_ranges_2): New extern prototype.
8807 2020-06-27 Jakub Jelinek <jakub@redhat.com>
8809 * omp-general.h (struct omp_for_data_loop): Add non_rect_referenced
8810 member, move outer member.
8811 (struct omp_for_data): Add first_nonrect and last_nonrect members.
8812 * omp-general.c (omp_extract_for_data): Initialize first_nonrect,
8813 last_nonrect and non_rect_referenced members.
8814 * omp-expand.c (expand_omp_for_init_counts): Handle non-rectangular
8816 (expand_omp_for_init_vars): Add nonrect_bounds parameter. Handle
8817 non-rectangular loops.
8818 (extract_omp_for_update_vars): Likewise.
8819 (expand_omp_for_generic, expand_omp_for_static_nochunk,
8820 expand_omp_for_static_chunk, expand_omp_simd,
8821 expand_omp_taskloop_for_outer, expand_omp_taskloop_for_inner): Adjust
8822 expand_omp_for_init_vars and extract_omp_for_update_vars callers.
8823 (expand_omp_for): Don't sorry on non-composite worksharing-loop or
8826 2020-06-26 H.J. Lu <hjl.tools@gmail.com>
8829 * config/i386/gnu-user.h (SUBTARGET_FRAME_POINTER_REQUIRED):
8831 * config/i386/i386.c (ix86_frame_pointer_required): Update
8834 2020-06-26 Yichao Yu <yyc1992@gmail.com>
8836 * multiple_target.c (redirect_to_specific_clone): Fix tests
8837 to check individual attribute rather than an attribute list.
8839 2020-06-26 Peter Bergner <bergner@linux.ibm.com>
8841 * config/rs6000/rs6000-call.c (cpu_is_info) <power10>: New.
8842 * doc/extend.texi (PowerPC Built-in Functions): Document power10,
8845 2020-06-26 Marek Polacek <polacek@redhat.com>
8847 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
8848 * doc/standards.texi (C Language): Correct the default dialect.
8849 (C++ Language): Update the default for C++ to gnu++17.
8851 2020-06-26 Eric Botcazou <ebotcazou@adacore.com>
8853 * tree-ssa-reassoc.c (dump_range_entry): New function.
8854 (debug_range_entry): New debug function.
8855 (update_range_test): Invoke dump_range_entry for dumping.
8856 (optimize_range_tests_to_bit_test): Merge the entry test in the
8857 bit test when possible and lower the profitability threshold.
8859 2020-06-26 Richard Biener <rguenther@suse.de>
8861 PR tree-optimization/95897
8862 * tree-vectorizer.h (vectorizable_induction): Remove
8863 unused gimple_stmt_iterator * parameter.
8864 * tree-vect-loop.c (vectorizable_induction): Likewise.
8865 (vect_analyze_loop_operations): Adjust.
8866 * tree-vect-stmts.c (vect_analyze_stmt): Likewise.
8867 (vect_transform_stmt): Likewise.
8868 * tree-vect-slp.c (vect_schedule_slp_instance): Adjust
8869 for fold-left reductions, clarify existing reduction case.
8871 2020-06-25 Nick Clifton <nickc@redhat.com>
8873 * config/m32r/m32r.md (movsicc): Disable pattern.
8875 2020-06-25 Richard Biener <rguenther@suse.de>
8877 PR tree-optimization/95839
8878 * tree-vect-slp.c (vect_slp_analyze_bb_1): Remove premature
8879 check on the number of datarefs.
8881 2020-06-25 Iain Sandoe <iain@sandoe.co.uk>
8883 * config/rs6000/rs6000-call.c (mma_init_builtins): Cast
8884 the insn_data n_operands value to unsigned.
8886 2020-06-25 Richard Biener <rguenther@suse.de>
8888 * tree-vect-slp.c (vect_schedule_slp_instance): Always use
8889 vector defs to determine insertion place.
8891 2020-06-25 H.J. Lu <hjl.tools@gmail.com>
8894 * config/i386/i386.h (PTA_ICELAKE_CLIENT): Remove PTA_CLWB.
8895 (PTA_ICELAKE_SERVER): Add PTA_CLWB.
8896 (PTA_TIGERLAKE): Add PTA_CLWB.
8898 2020-06-25 Richard Biener <rguenther@suse.de>
8900 PR tree-optimization/95866
8901 * tree-vect-stmts.c (vectorizable_shift): Reject incompatible
8902 vectorized shift operands. For scalar shifts use lane zero
8903 of a vectorized shift operand.
8905 2020-06-25 Martin Liska <mliska@suse.cz>
8907 PR tree-optimization/95745
8909 * gimple-isel.cc (gimple_expand_vec_cond_exprs): Delete dead
8910 SSA_NAMEs used as the first argument of a VEC_COND_EXPR. Always
8912 * tree-vect-generic.c (expand_vector_condition): Remove dead
8913 SSA_NAMEs used as the first argument of a VEC_COND_EXPR.
8915 2020-06-24 Will Schmidt <will_schmidt@vnet.ibm.com>
8918 * config/rs6000/altivec.h (vec_pack_to_short_fp32): Update.
8919 * config/rs6000/altivec.md (UNSPEC_CONVERT_4F32_8F16): New unspec.
8920 (convert_4f32_8f16): New define_expand
8921 * config/rs6000/rs6000-builtin.def (convert_4f32_8f16): New builtin define
8923 * config/rs6000/rs6000-call.c (P9V_BUILTIN_VEC_CONVERT_4F32_8F16): New
8924 overloaded builtin entry.
8925 * config/rs6000/vsx.md (UNSPEC_VSX_XVCVSPHP): New unspec.
8926 (vsx_xvcvsphp): New define_insn.
8928 2020-06-24 Roger Sayle <roger@nextmovesoftware.com>
8929 Segher Boessenkool <segher@kernel.crashing.org>
8931 * simplify-rtx.c (simplify_unary_operation_1): Simplify rotates by 0.
8933 2020-06-24 Roger Sayle <roger@nextmovesoftware.com>
8935 * simplify-rtx.c (simplify_unary_operation_1): Simplify
8936 (parity (parity x)) as (parity x), i.e. PARITY is idempotent.
8938 2020-06-24 Richard Biener <rguenther@suse.de>
8940 PR tree-optimization/95866
8941 * tree-vect-slp.c (vect_slp_tree_uniform_p): New.
8942 (vect_build_slp_tree_2): Properly reset matches[0],
8943 ignore uniform constants.
8945 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
8948 * common/config/i386/cpuinfo.h (get_intel_cpu): Remove brand_id.
8949 (cpu_indicator_init): Likewise.
8950 * config/i386/driver-i386.c (host_detect_local_cpu): Updated.
8952 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
8955 * common/config/i386/cpuinfo.h (get_intel_cpu): Add Cooper Lake
8956 detection with AVX512BF16.
8958 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
8961 * common/config/i386/i386-isas.h: New file. Extracted from
8962 gcc/config/i386/i386-builtins.c.
8963 (_isa_names_table): Add option.
8964 (ISA_NAMES_TABLE_START): New.
8965 (ISA_NAMES_TABLE_END): Likewise.
8966 (ISA_NAMES_TABLE_ENTRY): Likewise.
8967 (isa_names_table): Defined with ISA_NAMES_TABLE_START,
8968 ISA_NAMES_TABLE_END and ISA_NAMES_TABLE_ENTRY. Add more ISAs
8969 from enum processor_features.
8970 * config/i386/driver-i386.c: Include
8971 "common/config/i386/cpuinfo.h" and
8972 "common/config/i386/i386-isas.h".
8973 (has_feature): New macro.
8974 (host_detect_local_cpu): Call cpu_indicator_init to get CPU
8975 features. Use has_feature to detect processor features. Call
8976 Call get_intel_cpu to get the newer Intel CPU name. Use
8977 isa_names_table to generate command-line options.
8978 * config/i386/i386-builtins.c: Include
8979 "common/config/i386/i386-isas.h".
8980 (_arch_names_table): Removed.
8981 (isa_names_table): Likewise.
8983 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
8986 * common/config/i386/cpuinfo.h: New file.
8987 (__processor_model): Moved from libgcc/config/i386/cpuinfo.h.
8988 (__processor_model2): New.
8989 (CHECK___builtin_cpu_is): New. Defined as empty if not defined.
8990 (has_cpu_feature): New function.
8991 (set_cpu_feature): Likewise.
8992 (get_amd_cpu): Moved from libgcc/config/i386/cpuinfo.c. Use
8993 CHECK___builtin_cpu_is. Return AMD CPU name.
8994 (get_intel_cpu): Moved from libgcc/config/i386/cpuinfo.c. Use
8995 Use CHECK___builtin_cpu_is. Return Intel CPU name.
8996 (get_available_features): Moved from libgcc/config/i386/cpuinfo.c.
8997 Also check FEATURE_3DNOW, FEATURE_3DNOWP, FEATURE_ADX,
8998 FEATURE_ABM, FEATURE_CLDEMOTE, FEATURE_CLFLUSHOPT, FEATURE_CLWB,
8999 FEATURE_CLZERO, FEATURE_CMPXCHG16B, FEATURE_CMPXCHG8B,
9000 FEATURE_ENQCMD, FEATURE_F16C, FEATURE_FSGSBASE, FEATURE_FXSAVE,
9001 FEATURE_HLE, FEATURE_IBT, FEATURE_LAHF_LM, FEATURE_LM,
9002 FEATURE_LWP, FEATURE_LZCNT, FEATURE_MOVBE, FEATURE_MOVDIR64B,
9003 FEATURE_MOVDIRI, FEATURE_MWAITX, FEATURE_OSXSAVE,
9004 FEATURE_PCONFIG, FEATURE_PKU, FEATURE_PREFETCHWT1, FEATURE_PRFCHW,
9005 FEATURE_PTWRITE, FEATURE_RDPID, FEATURE_RDRND, FEATURE_RDSEED,
9006 FEATURE_RTM, FEATURE_SERIALIZE, FEATURE_SGX, FEATURE_SHA,
9007 FEATURE_SHSTK, FEATURE_TBM, FEATURE_TSXLDTRK, FEATURE_VAES,
9008 FEATURE_WAITPKG, FEATURE_WBNOINVD, FEATURE_XSAVE, FEATURE_XSAVEC,
9009 FEATURE_XSAVEOPT and FEATURE_XSAVES
9010 (cpu_indicator_init): Moved from libgcc/config/i386/cpuinfo.c.
9011 Also update cpu_model2.
9012 * common/config/i386/i386-cpuinfo.h (processor_vendor): Add
9013 Add VENDOR_CENTAUR, VENDOR_CYRIX and VENDOR_NSC.
9014 (processor_features): Moved from gcc/config/i386/i386-builtins.c.
9015 Renamed F_XXX to FEATURE_XXX. Add FEATURE_3DNOW, FEATURE_3DNOWP,
9016 FEATURE_ADX, FEATURE_ABM, FEATURE_CLDEMOTE, FEATURE_CLFLUSHOPT,
9017 FEATURE_CLWB, FEATURE_CLZERO, FEATURE_CMPXCHG16B,
9018 FEATURE_CMPXCHG8B, FEATURE_ENQCMD, FEATURE_F16C,
9019 FEATURE_FSGSBASE, FEATURE_FXSAVE, FEATURE_HLE, FEATURE_IBT,
9020 FEATURE_LAHF_LM, FEATURE_LM, FEATURE_LWP, FEATURE_LZCNT,
9021 FEATURE_MOVBE, FEATURE_MOVDIR64B, FEATURE_MOVDIRI,
9022 FEATURE_MWAITX, FEATURE_OSXSAVE, FEATURE_PCONFIG,
9023 FEATURE_PKU, FEATURE_PREFETCHWT1, FEATURE_PRFCHW,
9024 FEATURE_PTWRITE, FEATURE_RDPID, FEATURE_RDRND, FEATURE_RDSEED,
9025 FEATURE_RTM, FEATURE_SERIALIZE, FEATURE_SGX, FEATURE_SHA,
9026 FEATURE_SHSTK, FEATURE_TBM, FEATURE_TSXLDTRK, FEATURE_VAES,
9027 FEATURE_WAITPKG, FEATURE_WBNOINVD, FEATURE_XSAVE, FEATURE_XSAVEC,
9028 FEATURE_XSAVEOPT, FEATURE_XSAVES and CPU_FEATURE_MAX.
9029 (SIZE_OF_CPU_FEATURES): New.
9030 * config/i386/i386-builtins.c (processor_features): Removed.
9031 (isa_names_table): Replace F_XXX with FEATURE_XXX.
9032 (fold_builtin_cpu): Change __cpu_features2 to an array.
9034 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
9037 * common/config/i386/i386-common.c (processor_alias_table): Add
9038 processor model and priority to each entry.
9039 (pta_size): Updated with -6.
9040 (num_arch_names): New.
9041 * common/config/i386/i386-cpuinfo.h: New file.
9042 * config/i386/i386-builtins.c (feature_priority): Removed.
9043 (processor_model): Likewise.
9044 (_arch_names_table): Likewise.
9045 (arch_names_table): Likewise.
9046 (_isa_names_table): Replace P_ZERO with P_NONE.
9047 (get_builtin_code_for_version): Replace P_ZERO with P_NONE. Use
9048 processor_alias_table.
9049 (fold_builtin_cpu): Replace arch_names_table with
9050 processor_alias_table.
9051 * config/i386/i386.h: Include "common/config/i386/i386-cpuinfo.h".
9052 (pta): Add model and priority.
9053 (num_arch_names): New.
9055 2020-06-24 Richard Biener <rguenther@suse.de>
9057 * tree-vectorizer.h (vect_find_first_scalar_stmt_in_slp):
9059 * tree-vect-data-refs.c (vect_preserves_scalar_order_p):
9060 Simplify for new position of vectorized SLP loads.
9061 (vect_slp_analyze_node_dependences): Adjust for it.
9062 (vect_slp_analyze_and_verify_node_alignment): Compute alignment
9063 for the first stmts dataref.
9064 * tree-vect-slp.c (vect_find_first_scalar_stmt_in_slp): New.
9065 (vect_schedule_slp_instance): Emit loads before the
9067 * tree-vect-stmts.c (vectorizable_load): Do what the comment
9068 says and use vect_find_first_scalar_stmt_in_slp.
9070 2020-06-24 Richard Biener <rguenther@suse.de>
9072 PR tree-optimization/95856
9073 * tree-vectorizer.c (vect_stmt_dominates_stmt_p): Honor
9076 2020-06-24 Jakub Jelinek <jakub@redhat.com>
9079 * fold-const.c (fold_cond_expr_with_comparison): Optimize
9080 A <= 0 ? A : -A into (type)-absu(A) rather than -abs(A).
9082 2020-06-24 Jakub Jelinek <jakub@redhat.com>
9084 * omp-low.c (lower_omp_for): Fix two pastos.
9086 2020-06-24 Martin Liska <mliska@suse.cz>
9088 * optc-save-gen.awk: Compare string options in cl_optimization_compare
9091 2020-06-23 Aaron Sawdey <acsawdey@linux.ibm.com>
9093 * config.gcc: Identify power10 as a 64-bit processor and as valid
9094 for --with-cpu and --with-tune.
9096 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
9098 * Makefile.in (LANG_MAKEFRAGS): Same.
9099 (tmake_file): Use -include.
9102 2020-06-23 Michael Meissner <meissner@linux.ibm.com>
9104 * REVISION: Delete file meant for a private branch.
9106 2020-06-23 Andre Vieira <andre.simoesdiasvieira@arm.com>
9109 * config/arm/arm.c: (cmse_nonsecure_entry_clear_before_return): Use
9110 'callee_saved_reg_p' instead of 'calL_used_or_fixed_reg_p'.
9112 2020-06-23 Alexandre Oliva <oliva@adacore.com>
9114 * collect-utils.h (dumppfx): New.
9115 * collect-utils.c (dumppfx): Likewise.
9116 * lto-wrapper.c (run_gcc): Set global dumppfx.
9117 (compile_offload_image): Pass a -dumpbase on to mkoffload.
9118 * config/nvptx/mkoffload.c (ptx_dumpbase): New.
9119 (main): Handle incoming -dumpbase. Set ptx_dumpbase. Obey
9121 (compile_native): Pass -dumpbase et al to compiler.
9122 * config/gcn/mkoffload.c (gcn_dumpbase): New.
9123 (main): Handle incoming -dumpbase. Set gcn_dumpbase. Obey
9124 save_temps. Pass -dumpbase et al to offload target compiler.
9125 (compile_native): Pass -dumpbase et al to compiler.
9127 2020-06-23 Michael Meissner <meissner@linux.ibm.com>
9129 * REVISION: New file.
9131 2020-06-22 Segher Boessenkool <segher@kernel.crashing.org>
9133 * config/rs6000/altivec.h: Use _ARCH_PWR10, not _ARCH_PWR_FUTURE.
9134 Update comment for ISA 3.1.
9135 * config/rs6000/altivec.md: Use TARGET_POWER10, not TARGET_FUTURE.
9136 * config/rs6000/driver-rs6000.c (asm_names): Use -mpwr10 for power10
9137 on AIX, and -mpower10 elsewhere.
9138 * config/rs6000/future.md: Delete.
9139 * config/rs6000/linux64.h: Update comments. Use TARGET_POWER10, not
9141 * config/rs6000/power10.md: New file.
9142 * config/rs6000/ppc-auxv.h: Use PPC_PLATFORM_POWER10, not
9143 PPC_PLATFORM_FUTURE.
9144 * config/rs6000/rs6000-builtin.def: Update comments. Use BU_P10V_*
9145 names instead of BU_FUTURE_V_* names. Use RS6000_BTM_P10 instead of
9146 RS6000_BTM_FUTURE. Use P10_BUILTIN_* instead of FUTURE_BUILTIN_*.
9147 Use BU_P10_* instead of BU_FUTURE_*.
9148 * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define
9149 _ARCH_PWR10 instead of _ARCH_PWR_FUTURE.
9150 (altivec_resolve_overloaded_builtin): Use P10_BUILTIN_VEC_XXEVAL, not
9151 FUTURE_BUILTIN_VEC_XXEVAL.
9152 * config/rs6000/rs6000-call.c: Use P10_BUILTIN_*, not FUTURE_BUILTIN_*.
9153 Update compiler messages.
9154 * config/rs6000/rs6000-cpus.def: Update comments. Use ISA_3_1_*, not
9155 ISA_FUTURE_*. Use OPTION_MASK_POWER10, not OPTION_MASK_FUTURE.
9156 * config/rs6000/rs6000-opts.h: Use PROCESSOR_POWER10, not
9158 * config/rs6000/rs6000-string.c: Ditto.
9159 * config/rs6000/rs6000-tables.opt (rs6000_cpu_opt_value): Use "power10"
9160 instead of "future", reorder it to right after "power9".
9161 * config/rs6000/rs6000.c: Update comments. Use OPTION_MASK_POWER10,
9162 not OPTION_MASK_FUTURE. Use TARGET_POWER10, not TARGET_FUTURE. Use
9163 RS6000_BTM_P10, not RS6000_BTM_FUTURE. Update compiler messages.
9164 Use PROCESSOR_POWER10, not PROCESSOR_FUTURE. Use ISA_3_1_MASKS_SERVER,
9165 not ISA_FUTURE_MASKS_SERVER.
9166 (rs6000_opt_masks): Use "power10" instead of "future".
9167 (rs6000_builtin_mask_names): Ditto.
9168 (rs6000_disable_incompatible_switches): Ditto.
9169 * config/rs6000/rs6000.h: Use -mpower10, not -mfuture. Use
9170 -mcpu=power10, not -mcpu=future. Use MASK_POWER10, not MASK_FUTURE.
9171 Use OPTION_MASK_POWER10, not OPTION_MASK_FUTURE. Use RS6000_BTM_P10,
9172 not RS6000_BTM_FUTURE.
9173 * config/rs6000/rs6000.md: Use "power10", not "future". Use
9174 TARGET_POWER10, not TARGET_FUTURE. Include "power10.md", not
9176 * config/rs6000/rs6000.opt (mfuture): Delete.
9178 * config/rs6000/t-rs6000: Use "power10.md", not "future.md".
9179 * config/rs6000/vsx.md: Use TARGET_POWER10, not TARGET_FUTURE.
9181 2020-06-22 Richard Sandiford <richard.sandiford@arm.com>
9183 * coretypes.h (first_type): Delete.
9184 * recog.h (insn_gen_fn::operator()): Go back to using a decltype.
9186 2020-06-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
9188 * doc/sourcebuild.texi (arm_v8_1m_mve_fp_ok): Add item.
9189 (arm_mve_hw): Likewise.
9191 2020-06-22 H.J. Lu <hjl.tools@gmail.com>
9194 * config/i386/i386.c (ix86_dirflag_mode_needed): Skip
9197 2020-06-22 Richard Biener <rguenther@suse.de>
9199 PR tree-optimization/95770
9200 * tree-vect-slp.c (vect_schedule_slp_instance): Also consider
9203 2020-06-22 Andrew Stubbs <ams@codesourcery.com>
9205 * config/gcn/gcn.c (gcn_function_arg): Disallow vector arguments.
9206 (gcn_return_in_memory): Return vectors in memory.
9208 2020-06-22 Jakub Jelinek <jakub@redhat.com>
9210 * omp-general.c (omp_extract_for_data): For triangular loops with
9211 all loop invariant expressions constant where the innermost loop is
9212 executed at least once compute number of iterations at compile time.
9214 2020-06-22 Kito Cheng <kito.cheng@sifive.com>
9216 * config/riscv/riscv.h (ASM_SPEC): Remove riscv_expand_arch call.
9217 (DRIVER_SELF_SPECS): New.
9219 2020-06-22 Kito Cheng <kito.cheng@sifive.com>
9221 * config/riscv/riscv-builtins.c (RISCV_FTYPE_NAME0): New.
9222 (RISCV_FTYPE_ATYPES0): New.
9223 (riscv_builtins): Using RISCV_USI_FTYPE for frflags.
9224 * config/riscv/riscv-ftypes.def: Remove VOID argument.
9226 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
9228 * config.gcc: Use t-aix64, biarch64 and default64 for cpu_is_64bit.
9229 * config/rs6000/aix72.h (ASM_SPEC): Remove aix64 option.
9232 (ASM_CPU_SPEC): Remove vsx and altivec options.
9233 (CPP_SPEC_COMMON): Rename from CPP_SPEC.
9236 (CPLUSPLUS_CPP_SPEC): Rename to CPLUSPLUS_CPP_SPEC_COMMON..
9237 (TARGET_DEFAULT): Only define if not BIARCH.
9238 (LIB_SPEC_COMMON): Rename from LIB_SPEC.
9241 (LINK_SPEC_COMMON): Rename from LINK_SPEC.
9244 (STARTFILE_SPEC): Add 64 bit version of crtcxa and crtdbase.
9245 (ASM_SPEC): Define 32 and 64 bit alternatives using DEFAULT_ARCH64_P.
9247 (CPLUSPLUS_CPP_SPEC): Same.
9250 (SUBTARGET_EXTRA_SPECS): Add new 32/64 specs.
9251 * config/rs6000/defaultaix64.h: New file.
9252 * config/rs6000/t-aix64: New file.
9254 2020-06-21 Peter Bergner <bergner@linux.ibm.com>
9256 * config/rs6000/predicates.md (mma_assemble_input_operand): New.
9257 * config/rs6000/rs6000-builtin.def (BU_MMA_1, BU_MMA_V2, BU_MMA_3,
9258 BU_MMA_5, BU_MMA_6, BU_VSX_1): Add support macros for defining MMA
9260 (ASSEMBLE_ACC, ASSEMBLE_PAIR, DISASSEMBLE_ACC, DISASSEMBLE_PAIR,
9261 PMXVBF16GER2, PMXVBF16GER2NN, PMXVBF16GER2NP, PMXVBF16GER2PN,
9262 PMXVBF16GER2PP, PMXVF16GER2, PMXVF16GER2NN, PMXVF16GER2NP,
9263 PMXVF16GER2PN, PMXVF16GER2PP, PMXVF32GER, PMXVF32GERNN,
9264 PMXVF32GERNP, PMXVF32GERPN, PMXVF32GERPP, PMXVF64GER, PMXVF64GERNN,
9265 PMXVF64GERNP, PMXVF64GERPN, PMXVF64GERPP, PMXVI16GER2, PMXVI16GER2PP,
9266 PMXVI16GER2S, PMXVI16GER2SPP, PMXVI4GER8, PMXVI4GER8PP, PMXVI8GER4,
9267 PMXVI8GER4PP, PMXVI8GER4SPP, XVBF16GER2, XVBF16GER2NN, XVBF16GER2NP,
9268 XVBF16GER2PN, XVBF16GER2PP, XVCVBF16SP, XVCVSPBF16, XVF16GER2,
9269 XVF16GER2NN, XVF16GER2NP, XVF16GER2PN, XVF16GER2PP, XVF32GER,
9270 XVF32GERNN, XVF32GERNP, XVF32GERPN, XVF32GERPP, XVF64GER, XVF64GERNN,
9271 XVF64GERNP, XVF64GERPN, XVF64GERPP, XVI16GER2, XVI16GER2PP, XVI16GER2S,
9272 XVI16GER2SPP, XVI4GER8, XVI4GER8PP, XVI8GER4, XVI8GER4PP, XVI8GER4SPP,
9273 XXMFACC, XXMTACC, XXSETACCZ): Add MMA built-ins.
9274 * config/rs6000/rs6000.c (rs6000_emit_move): Use CONST_INT_P.
9275 Allow zero constants.
9276 (print_operand) <case 'A'>: New output modifier.
9277 (rs6000_split_multireg_move): Add support for inserting accumulator
9278 priming and depriming instructions. Add support for splitting an
9279 assemble accumulator pattern.
9280 * config/rs6000/rs6000-call.c (mma_init_builtins, mma_expand_builtin,
9281 rs6000_gimple_fold_mma_builtin): New functions.
9282 (RS6000_BUILTIN_M): New macro.
9283 (def_builtin): Handle RS6000_BTC_QUAD and RS6000_BTC_PAIR attributes.
9284 (bdesc_mma): Add new MMA built-in support.
9285 (htm_expand_builtin): Use RS6000_BTC_OPND_MASK.
9286 (rs6000_invalid_builtin): Add handling of RS6000_BTM_FUTURE and
9288 (rs6000_builtin_valid_without_lhs): Handle RS6000_BTC_VOID attribute.
9289 (rs6000_gimple_fold_builtin): Call rs6000_builtin_is_supported_p
9290 and rs6000_gimple_fold_mma_builtin.
9291 (rs6000_expand_builtin): Call mma_expand_builtin.
9292 Use RS6000_BTC_OPND_MASK.
9293 (rs6000_init_builtins): Adjust comment. Call mma_init_builtins.
9294 (htm_init_builtins): Use RS6000_BTC_OPND_MASK.
9295 (builtin_function_type): Handle VSX_BUILTIN_XVCVSPBF16 and
9296 VSX_BUILTIN_XVCVBF16SP.
9297 * config/rs6000/rs6000.h (RS6000_BTC_QUINARY, RS6000_BTC_SENARY,
9298 RS6000_BTC_OPND_MASK, RS6000_BTC_QUAD, RS6000_BTC_PAIR,
9299 RS6000_BTC_QUADPAIR, RS6000_BTC_GIMPLE): New defines.
9300 (RS6000_BTC_PREDICATE, RS6000_BTC_ABS, RS6000_BTC_DST,
9301 RS6000_BTC_TYPE_MASK, RS6000_BTC_ATTR_MASK): Adjust values.
9302 * config/rs6000/mma.md (MAX_MMA_OPERANDS): New define_constant.
9303 (UNSPEC_MMA_ASSEMBLE_ACC, UNSPEC_MMA_PMXVBF16GER2,
9304 UNSPEC_MMA_PMXVBF16GER2NN, UNSPEC_MMA_PMXVBF16GER2NP,
9305 UNSPEC_MMA_PMXVBF16GER2PN, UNSPEC_MMA_PMXVBF16GER2PP,
9306 UNSPEC_MMA_PMXVF16GER2, UNSPEC_MMA_PMXVF16GER2NN,
9307 UNSPEC_MMA_PMXVF16GER2NP, UNSPEC_MMA_PMXVF16GER2PN,
9308 UNSPEC_MMA_PMXVF16GER2PP, UNSPEC_MMA_PMXVF32GER,
9309 UNSPEC_MMA_PMXVF32GERNN, UNSPEC_MMA_PMXVF32GERNP,
9310 UNSPEC_MMA_PMXVF32GERPN, UNSPEC_MMA_PMXVF32GERPP,
9311 UNSPEC_MMA_PMXVF64GER, UNSPEC_MMA_PMXVF64GERNN,
9312 UNSPEC_MMA_PMXVF64GERNP, UNSPEC_MMA_PMXVF64GERPN,
9313 UNSPEC_MMA_PMXVF64GERPP, UNSPEC_MMA_PMXVI16GER2,
9314 UNSPEC_MMA_PMXVI16GER2PP, UNSPEC_MMA_PMXVI16GER2S,
9315 UNSPEC_MMA_PMXVI16GER2SPP, UNSPEC_MMA_PMXVI4GER8,
9316 UNSPEC_MMA_PMXVI4GER8PP, UNSPEC_MMA_PMXVI8GER4,
9317 UNSPEC_MMA_PMXVI8GER4PP, UNSPEC_MMA_PMXVI8GER4SPP,
9318 UNSPEC_MMA_XVBF16GER2, UNSPEC_MMA_XVBF16GER2NN,
9319 UNSPEC_MMA_XVBF16GER2NP, UNSPEC_MMA_XVBF16GER2PN,
9320 UNSPEC_MMA_XVBF16GER2PP, UNSPEC_MMA_XVF16GER2, UNSPEC_MMA_XVF16GER2NN,
9321 UNSPEC_MMA_XVF16GER2NP, UNSPEC_MMA_XVF16GER2PN, UNSPEC_MMA_XVF16GER2PP,
9322 UNSPEC_MMA_XVF32GER, UNSPEC_MMA_XVF32GERNN, UNSPEC_MMA_XVF32GERNP,
9323 UNSPEC_MMA_XVF32GERPN, UNSPEC_MMA_XVF32GERPP, UNSPEC_MMA_XVF64GER,
9324 UNSPEC_MMA_XVF64GERNN, UNSPEC_MMA_XVF64GERNP, UNSPEC_MMA_XVF64GERPN,
9325 UNSPEC_MMA_XVF64GERPP, UNSPEC_MMA_XVI16GER2, UNSPEC_MMA_XVI16GER2PP,
9326 UNSPEC_MMA_XVI16GER2S, UNSPEC_MMA_XVI16GER2SPP, UNSPEC_MMA_XVI4GER8,
9327 UNSPEC_MMA_XVI4GER8PP, UNSPEC_MMA_XVI8GER4, UNSPEC_MMA_XVI8GER4PP,
9328 UNSPEC_MMA_XVI8GER4SPP, UNSPEC_MMA_XXMFACC, UNSPEC_MMA_XXMTACC): New.
9329 (MMA_ACC, MMA_VV, MMA_AVV, MMA_PV, MMA_APV, MMA_VVI4I4I8,
9330 MMA_AVVI4I4I8, MMA_VVI4I4I2, MMA_AVVI4I4I2, MMA_VVI4I4,
9331 MMA_AVVI4I4, MMA_PVI4I2, MMA_APVI4I2, MMA_VVI4I4I4,
9332 MMA_AVVI4I4I4): New define_int_iterator.
9333 (acc, vv, avv, pv, apv, vvi4i4i8, avvi4i4i8, vvi4i4i2,
9334 avvi4i4i2, vvi4i4, avvi4i4, pvi4i2, apvi4i2, vvi4i4i4,
9335 avvi4i4i4): New define_int_attr.
9336 (*movpxi): Add zero constant alternative.
9337 (mma_assemble_pair, mma_assemble_acc): New define_expand.
9338 (*mma_assemble_acc): New define_insn_and_split.
9339 (mma_<acc>, mma_xxsetaccz, mma_<vv>, mma_<avv>, mma_<pv>, mma_<apv>,
9340 mma_<vvi4i4i8>, mma_<avvi4i4i8>, mma_<vvi4i4i2>, mma_<avvi4i4i2>,
9341 mma_<vvi4i4>, mma_<avvi4i4>, mma_<pvi4i2>, mma_<apvi4i2>,
9342 mma_<vvi4i4i4>, mma_<avvi4i4i4>): New define_insn.
9343 * config/rs6000/rs6000.md (define_attr "type"): New type mma.
9344 * config/rs6000/vsx.md (UNSPEC_VSX_XVCVBF16SP): New.
9345 (UNSPEC_VSX_XVCVSPBF16): Likewise.
9346 (XVCVBF16): New define_int_iterator.
9347 (xvcvbf16): New define_int_attr.
9348 (vsx_<xvcvbf16>): New define_insn.
9349 * doc/extend.texi: Document the mma built-ins.
9351 2020-06-21 Peter Bergner <bergner@linux.ibm.com>
9352 Michael Meissner <meissner@linux.ibm.com>
9354 * config/rs6000/mma.md: New file.
9355 * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define
9357 * config/rs6000/rs6000-call.c (rs6000_init_builtins): Add support
9358 for __vector_pair and __vector_quad types.
9359 * config/rs6000/rs6000-cpus.def (OTHER_FUTURE_MASKS): Add
9361 (POWERPC_MASKS): Likewise.
9362 * config/rs6000/rs6000-modes.def (OI, XI): New integer modes.
9363 (POI, PXI): New partial integer modes.
9364 * config/rs6000/rs6000.c (TARGET_INVALID_CONVERSION): Define.
9365 (rs6000_hard_regno_nregs_internal): Use VECTOR_ALIGNMENT_P.
9366 (rs6000_hard_regno_mode_ok_uncached): Likewise.
9367 Add support for POImode being allowed in VSX registers and PXImode
9368 being allowed in FP registers.
9369 (rs6000_modes_tieable_p): Adjust comment.
9370 Add support for POImode and PXImode.
9371 (rs6000_debug_reg_global) <print_tieable_modes>: Add OImode, POImode
9372 XImode, PXImode, V2SImode, V2SFmode and CCFPmode..
9373 (rs6000_setup_reg_addr_masks): Use VECTOR_ALIGNMENT_P.
9374 Set up appropriate addr_masks for vector pair and vector quad addresses.
9375 (rs6000_init_hard_regno_mode_ok): Add support for vector pair and
9376 vector quad registers. Setup reload handlers for POImode and PXImode.
9377 (rs6000_builtin_mask_calculate): Add support for RS6000_BTM_MMA.
9378 (rs6000_option_override_internal): Error if -mmma is specified
9379 without -mcpu=future.
9380 (rs6000_slow_unaligned_access): Use VECTOR_ALIGNMENT_P.
9381 (quad_address_p): Change size test to less than 16 bytes.
9382 (reg_offset_addressing_ok_p): Add support for ISA 3.1 vector pair
9383 and vector quad instructions.
9384 (avoiding_indexed_address_p): Likewise.
9385 (rs6000_emit_move): Disallow POImode and PXImode moves involving
9387 (rs6000_preferred_reload_class): Prefer VSX registers for POImode
9388 and FP registers for PXImode.
9389 (rs6000_split_multireg_move): Support splitting POImode and PXImode
9391 (rs6000_mangle_type): Adjust comment. Add support for mangling
9392 __vector_pair and __vector_quad types.
9393 (rs6000_opt_masks): Add entry for mma.
9394 (rs6000_builtin_mask_names): Add RS6000_BTM_MMA and RS6000_BTM_FUTURE.
9395 (rs6000_function_value): Use VECTOR_ALIGNMENT_P.
9396 (address_to_insn_form): Likewise.
9397 (reg_to_non_prefixed): Likewise.
9398 (rs6000_invalid_conversion): New function.
9399 * config/rs6000/rs6000.h (MASK_MMA): Define.
9400 (BIGGEST_ALIGNMENT): Set to 512 if MMA support is enabled.
9401 (VECTOR_ALIGNMENT_P): New helper macro.
9402 (ALTIVEC_VECTOR_MODE): Use VECTOR_ALIGNMENT_P.
9403 (RS6000_BTM_MMA): Define.
9404 (RS6000_BTM_COMMON): Add RS6000_BTM_MMA and RS6000_BTM_FUTURE.
9405 (rs6000_builtin_type_index): Add RS6000_BTI_vector_pair and
9406 RS6000_BTI_vector_quad.
9407 (vector_pair_type_node): New.
9408 (vector_quad_type_node): New.
9409 * config/rs6000/rs6000.md: Include mma.md.
9410 (define_mode_iterator RELOAD): Add POI and PXI.
9411 * config/rs6000/t-rs6000 (MD_INCLUDES): Add mma.md.
9412 * config/rs6000/rs6000.opt (-mmma): New.
9413 * doc/invoke.texi: Document -mmma.
9415 2020-06-20 Bin Cheng <bin.cheng@linux.alibaba.com>
9417 PR tree-optimization/95638
9418 * tree-loop-distribution.c (pg_edge_callback_data): New field.
9419 (loop_distribution::break_alias_scc_partitions): Record and restore
9420 postorder information. Fix memory leak.
9422 2020-06-19 Tobias Burnus <tobias@codesourcery.com>
9424 * config/gcn/gcn.c (gcn_related_vector_mode): Add ARG_UNUSED.
9425 (output_file_start): Use const 'char *'.
9427 2020-06-19 Przemyslaw Wirkus <Przemyslaw.Wirkus@arm.com>
9429 PR tree-optimization/94880
9430 * match.pd (A | B) - B -> (A & ~B): New simplification.
9432 2020-06-19 Richard Biener <rguenther@suse.de>
9434 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Adjust
9435 for lane permutations.
9437 2020-06-19 Richard Biener <rguenther@suse.de>
9439 PR tree-optimization/95761
9440 * tree-vect-slp.c (vect_schedule_slp_instance): Walk all
9441 vectorized stmts for finding the last one.
9443 2020-06-18 Felix Yang <felix.yang@huawei.com>
9445 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Call
9446 vect_relevant_for_alignment_p to filter out data references in
9447 the loop whose alignment is irrelevant when trying loop peeling
9450 2020-06-18 Uroš Bizjak <ubizjak@gmail.com>
9452 * config/i386/i386.md (*cmpqi_ext<mode>_1): Use SWI248 mode
9453 iterator instead of SImode for ZERO_EXTRACT RTX. Use SWI248
9454 mode iterator for the first operand of ZERO_EXTRACT RTX.
9455 Change ext_register_operand predicate to register_operand.
9456 Rename from *cmpqi_ext_1.
9457 (*cmpqi_ext<mode>_2): Ditto. Rename from *cmpqi_ext_2.
9458 (*cmpqi_ext<mode>_3): Ditto. Rename from *cmpqi_ext_3.
9459 (*cmpqi_ext<mode>_4): Ditto. Rename from *cmpqi_ext_4.
9460 (cmpi_ext_3): Use HImode instead of SImode for ZERO_EXTRACT RTX.
9461 (*extv<mode>): Use SWI24 mode iterator for the first operand
9462 of ZERO_EXTRACT RTX. Change ext_register_operand predicate
9463 to register_operand.
9464 (*extzv<mode>): Use SWI248 mode iterator for the first operand
9465 of ZERO_EXTRACT RTX. Change ext_register_operand predicate
9466 to register_operand.
9467 (*extzvqi): Use SWI248 mode iterator instead of SImode for
9468 ZERO_EXTRACT RTX. Use SWI248 mode iterator for the first operand
9469 of ZERO_EXTRACT RTX. Change ext_register_operand predicate to
9471 (*extzvqi_mem_rex64 and corresponding peephole2): Use SWI248 mode
9472 iterator instead of SImode for ZERO_EXTRACT RTX. Use SWI248
9473 mode iterator for the first operand of ZERO_EXTRACT RTX.
9474 Change ext_register_operand predicate to register_operand.
9475 (@insv<mode>_1): Use SWI248 mode iterator for the first operand
9476 of ZERO_EXTRACT RTX. Change ext_register_operand predicate to
9478 (*insvqi_1): Use SWI248 mode iterator instead of SImode
9479 for ZERO_EXTRACT RTX. Use SWI248 mode iterator for the
9480 first operand of ZERO_EXTRACT RTX. Change ext_register_operand
9481 predicate to register_operand.
9484 (*insvqi_1_mem_rex64 and corresponding peephole2): Use SWI248 mode
9485 iterator instead of SImode for ZERO_EXTRACT RTX. Use SWI248
9486 mode iterator for the first operand of ZERO_EXTRACT RTX.
9487 Change ext_register_operand predicate to register_operand.
9488 (addqi_ext_1): New expander.
9489 (*addqi_ext<mode>_1): Use SWI248 mode iterator instead of SImode
9490 for ZERO_EXTRACT RTX. Use SWI248 mode iterator for the first
9491 operand of ZERO_EXTRACT RTX. Change ext_register_operand predicate
9492 to register_operand. Rename from *addqi_ext_1.
9493 (*addqi_ext<mode>_2): Ditto. Rename from *addqi_ext_2.
9494 (divmodqi4): Use HImode instead of SImode for ZERO_EXTRACT RTX.
9495 (udivmodqi4): Ditto.
9496 (testqi_ext_1): Use HImode instead of SImode for ZERO_EXTRACT RTX.
9497 (*testqi_ext<mode>_1): Use SWI248 mode iterator instead of SImode
9498 for ZERO_EXTRACT RTX. Use SWI248 mode iterator for the first
9499 operand of ZERO_EXTRACT RTX. Change ext_register_operand predicate
9500 to register_operand. Rename from *testqi_ext_1.
9501 (*testqi_ext<mode>_2): Ditto. Rename from *testqi_ext_2.
9502 (andqi_ext_1): New expander.
9503 (*andqi_ext<mode>_1): Use SWI248 mode iterator instead of SImode
9504 for ZERO_EXTRACT RTX. Use SWI248 mode iterator for the first
9505 operand of ZERO_EXTRACT RTX. Change ext_register_operand predicate
9506 to register_operand. Rename from andqi_ext_1.
9507 (*andqi_ext<mode>_1_cc): Ditto. Rename from *andqi_ext_1_cc.
9508 (*andqi_ext<mode>_2): Ditto. Rename from *andqi_ext_2.
9509 (*<code>qi_ext<mode>_1): Ditto. Rename from *<code>qi_ext_1.
9510 (*<code>qi_ext<mode>_2): Ditto. Rename from *<code>qi_ext_2.
9511 (xorqi_ext_1_cc): Use HImode instead of SImode for ZERO_EXTRACT RTX.
9512 (*xorqi_ext<mode>_1_cc): Use SWI248 mode iterator instead of SImode
9513 for ZERO_EXTRACT RTX. Use SWI248 mode iterator for the first
9514 operand of ZERO_EXTRACT RTX. Change ext_register_operand predicate
9515 to register_operand. Rename from *xorqi_ext_1_cc.
9516 * config/i386/i386-expand.c (ix86_split_idivmod): Emit ZERO_EXTRACT
9517 in mode, matching its first operand.
9518 (promote_duplicated_reg): Update for renamed insv<mode>_1.
9519 * config/i386/predicates.md (ext_register_operand): Remove predicate.
9521 2020-06-18 Martin Sebor <msebor@redhat.com>
9525 * builtins.c (compute_objsize): Remove call to
9526 compute_builtin_object_size and instead compute conservative sizes
9529 2020-06-18 Martin Liska <mliska@suse.cz>
9531 * coretypes.h (struct iterator_range): New type.
9532 * tree-vect-patterns.c (vect_determine_precisions): Use
9533 range-based iterator.
9534 (vect_pattern_recog): Likewise.
9535 * tree-vect-slp.c (_bb_vec_info): Likewise.
9536 (_bb_vec_info::~_bb_vec_info): Likewise.
9537 (vect_slp_check_for_constructors): Likewise.
9538 * tree-vectorizer.h:Add new iterators
9539 and functions that use it.
9541 2020-06-18 Martin Liska <mliska@suse.cz>
9543 * config/rs6000/rs6000-call.c (fold_build_vec_cmp):
9544 Since 502d63b6d6141597bb18fd23c87736a1b384cf8f, first argument
9545 of a VEC_COND_EXPR cannot be tcc_comparison and so that
9546 a SSA_NAME needs to be created before we use it for the first
9547 argument of the VEC_COND_EXPR.
9548 (fold_compare_helper): Pass gsi to fold_build_vec_cmp.
9550 2020-06-18 Richard Biener <rguenther@suse.de>
9553 * internal-fn.c (expand_vect_cond_optab_fn): Move the result
9554 to the target if necessary.
9555 (expand_vect_cond_mask_optab_fn): Likewise.
9557 2020-06-18 Martin Liska <mliska@suse.cz>
9559 * tree-ssa-reassoc.c (ovce_extract_ops): Replace *vcond with
9560 vcond as we check for NULL pointer.
9562 2020-06-18 Tobias Burnus <tobias@codesourcery.com>
9564 * gimple-pretty-print.c (dump_binary_rhs): Use braces to
9565 silence empty-body warning with gcc_fallthrough.
9567 2020-06-18 Jakub Jelinek <jakub@redhat.com>
9569 PR tree-optimization/95699
9570 * tree-ssa-phiopt.c (minmax_replacement): Treat (signed int)x < 0
9571 as x > INT_MAX and (signed int)x >= 0 as x <= INT_MAX. Move variable
9572 declarations to the statements that set them where possible.
9574 2020-06-18 Jakub Jelinek <jakub@redhat.com>
9577 * tree-ssa-forwprop.c (simplify_vector_constructor): Don't allow
9578 scalar mode halfvectype other than vector boolean for
9579 VEC_PACK_TRUNC_EXPR.
9581 2020-06-18 Richard Biener <rguenther@suse.de>
9583 * varasm.c (assemble_variable): Make sure to not
9584 defer output when outputting addressed constants.
9585 (output_constant_def_contents): Likewise.
9586 (add_constant_to_table): Take and pass on whether to
9588 (output_addressed_constants): Likewise.
9589 (output_constant_def): Pass on whether to defer output
9590 to add_constant_to_table.
9591 (tree_output_constant_def): Defer output of constants.
9593 2020-06-18 Richard Biener <rguenther@suse.de>
9595 * tree-vectorizer.h (_slp_tree::two_operators): Remove.
9596 (_slp_tree::lane_permutation): New member.
9597 (_slp_tree::code): Likewise.
9598 (SLP_TREE_TWO_OPERATORS): Remove.
9599 (SLP_TREE_LANE_PERMUTATION): New.
9600 (SLP_TREE_CODE): Likewise.
9601 (vect_stmt_dominates_stmt_p): Declare.
9602 * tree-vectorizer.c (vect_stmt_dominates_stmt_p): New function.
9603 * tree-vect-stmts.c (vect_model_simple_cost): Remove
9604 SLP_TREE_TWO_OPERATORS handling.
9605 * tree-vect-slp.c (_slp_tree::_slp_tree): Amend.
9606 (_slp_tree::~_slp_tree): Likewise.
9607 (vect_two_operations_perm_ok_p): Remove.
9608 (vect_build_slp_tree_1): Remove verification of two-operator
9610 (vect_build_slp_tree_2): When we have two different operators
9611 build two computation SLP nodes and a blend.
9612 (vect_print_slp_tree): Print the lane permutation if it exists.
9613 (slp_copy_subtree): Copy it.
9614 (vect_slp_rearrange_stmts): Re-arrange it.
9615 (vect_slp_analyze_node_operations_1): Handle SLP_TREE_CODE
9616 VEC_PERM_EXPR explicitely.
9617 (vect_schedule_slp_instance): Likewise. Remove old
9618 SLP_TREE_TWO_OPERATORS code.
9619 (vectorizable_slp_permutation): New function.
9621 2020-06-18 Martin Liska <mliska@suse.cz>
9623 * tree-vect-generic.c (expand_vector_condition): Check
9624 for gassign before inspecting RHS.
9626 2020-06-17 Thomas Schwinge <thomas@codesourcery.com>
9628 * gimplify.c (omp_notice_threadprivate_variable)
9629 (omp_default_clause, omp_notice_variable): 'inform' after 'error'
9630 diagnostic. Adjust all users.
9632 2020-06-17 Thomas Schwinge <thomas@codesourcery.com>
9634 * hsa-gen.c (gen_hsa_insns_for_call): Move 'function_decl ==
9635 NULL_TREE' check earlier.
9637 2020-06-17 Forrest Timour <forrest.timour@gmail.com>
9639 * doc/extend.texi (attribute access): Fix a typo.
9641 2020-06-17 Bin Cheng <bin.cheng@linux.alibaba.com>
9642 Kaipeng Zhou <zhoukaipeng3@huawei.com>
9644 PR tree-optimization/95199
9645 * tree-vect-stmts.c: Eliminate common stmts for bump and offset in
9646 strided load/store operations and remove redundant code.
9648 2020-06-17 Richard Sandiford <richard.sandiford@arm.com>
9650 * coretypes.h (first_type): New alias template.
9651 * recog.h (insn_gen_fn::operator()): Use it instead of a decltype.
9652 Remove spurious “...” and split the function type out into a typedef.
9654 2020-06-17 Andreas Krebbel <krebbel@linux.ibm.com>
9656 * config/s390/s390.c (s390_fix_long_loop_prediction): Exit early
9659 2020-06-17 Richard Biener <rguenther@suse.de>
9661 * tree-vect-slp.c (vect_build_slp_tree_1): Set the passed
9662 in *vectype parameter.
9663 (vect_build_slp_tree_2): Set SLP_TREE_VECTYPE from what
9664 vect_build_slp_tree_1 computed.
9665 (vect_analyze_slp_instance): Set SLP_TREE_VECTYPE.
9666 (vect_slp_analyze_node_operations_1): Use the SLP node vector type.
9667 (vect_schedule_slp_instance): Likewise.
9668 * tree-vect-stmts.c (vect_is_simple_use): Take the vector type
9669 from SLP_TREE_VECTYPE.
9671 2020-06-17 Richard Biener <rguenther@suse.de>
9673 PR tree-optimization/95717
9674 * tree-vect-loop-manip.c (slpeel_tree_duplicate_loop_to_edge_cfg):
9675 Move BB SSA updating before exit/latch PHI current def copying.
9677 2020-06-17 Martin Liska <mliska@suse.cz>
9679 * Makefile.in: Add new file.
9680 * expr.c (expand_expr_real_2): Add gcc_unreachable as we should
9681 not meet this condition.
9682 (do_store_flag): Likewise.
9683 * gimplify.c (gimplify_expr): Gimplify first argument of
9684 VEC_COND_EXPR to be a SSA name.
9685 * internal-fn.c (vec_cond_mask_direct): New.
9686 (vec_cond_direct): Likewise.
9687 (vec_condu_direct): Likewise.
9688 (vec_condeq_direct): Likewise.
9689 (expand_vect_cond_optab_fn): New.
9690 (expand_vec_cond_optab_fn): Likewise.
9691 (expand_vec_condu_optab_fn): Likewise.
9692 (expand_vec_condeq_optab_fn): Likewise.
9693 (expand_vect_cond_mask_optab_fn): Likewise.
9694 (expand_vec_cond_mask_optab_fn): Likewise.
9695 (direct_vec_cond_mask_optab_supported_p): Likewise.
9696 (direct_vec_cond_optab_supported_p): Likewise.
9697 (direct_vec_condu_optab_supported_p): Likewise.
9698 (direct_vec_condeq_optab_supported_p): Likewise.
9699 * internal-fn.def (VCOND): New OPTAB.
9701 (VCONDEQ): Likewise.
9702 (VCOND_MASK): Likewise.
9703 * optabs.c (get_rtx_code): Make it global.
9704 (expand_vec_cond_mask_expr): Removed.
9705 (expand_vec_cond_expr): Removed.
9706 * optabs.h (expand_vec_cond_expr): Likewise.
9707 (vector_compare_rtx): Make it global.
9708 * passes.def: Add new pass_gimple_isel pass.
9709 * tree-cfg.c (verify_gimple_assign_ternary): Add check
9710 for VEC_COND_EXPR about first argument.
9711 * tree-pass.h (make_pass_gimple_isel): New.
9712 * tree-ssa-forwprop.c (pass_forwprop::execute): Prevent
9713 propagation of the first argument of a VEC_COND_EXPR.
9714 * tree-ssa-reassoc.c (ovce_extract_ops): Support SSA_NAME as
9715 first argument of a VEC_COND_EXPR.
9716 (optimize_vec_cond_expr): Likewise.
9717 * tree-vect-generic.c (expand_vector_divmod): Make SSA_NAME
9718 for a first argument of created VEC_COND_EXPR.
9719 (expand_vector_condition): Fix coding style.
9720 * tree-vect-stmts.c (vectorizable_condition): Gimplify
9722 * gimple-isel.cc: New file.
9724 2020-06-17 Andrew Stubbs <ams@codesourcery.com>
9726 * config/gcn/gcn-hsa.h (TEXT_SECTION_ASM_OP): Use ".text".
9727 (BSS_SECTION_ASM_OP): Use ".bss".
9728 (ASM_SPEC): Remove "-mattr=-code-object-v3".
9729 (LINK_SPEC): Add "--export-dynamic".
9730 * config/gcn/gcn-opts.h (processor_type): Replace PROCESSOR_VEGA with
9731 PROCESSOR_VEGA10 and PROCESSOR_VEGA20.
9732 * config/gcn/gcn-run.c (HSA_RUNTIME_LIB): Use ".so.1" variant.
9733 (load_image): Remove obsolete relocation handling.
9734 Add ".kd" suffix to the symbol names.
9735 * config/gcn/gcn.c (MAX_NORMAL_SGPR_COUNT): Set to 62.
9736 (gcn_option_override): Update gcn_isa test.
9737 (gcn_kernel_arg_types): Update all the assembler directives.
9738 Remove the obsolete options.
9739 (gcn_conditional_register_usage): Update MAX_NORMAL_SGPR_COUNT usage.
9740 (gcn_omp_device_kind_arch_isa): Handle PROCESSOR_VEGA10 and
9742 (output_file_start): Rework assembler file header.
9743 (gcn_hsa_declare_function_name): Rework kernel metadata.
9744 * config/gcn/gcn.h (GCN_KERNEL_ARG_TYPES): Set to 16.
9745 * config/gcn/gcn.opt (PROCESSOR_VEGA): Remove enum.
9746 (PROCESSOR_VEGA10): New enum value.
9747 (PROCESSOR_VEGA20): New enum value.
9749 2020-06-17 Martin Liska <mliska@suse.cz>
9751 * gcov-dump.c (print_version): Collapse lisence header to 2 lines
9753 * gcov-tool.c (print_version): Likewise.
9754 * gcov.c (print_version): Likewise.
9756 2020-06-17 liuhongt <hongtao.liu@intel.com>
9759 * config/i386/i386-expand.c
9760 (ix86_expand_vec_shift_qihi_constant): New function.
9761 * config/i386/i386-protos.h
9762 (ix86_expand_vec_shift_qihi_constant): Declare.
9763 * config/i386/sse.md (<shift_insn><mode>3): Optimize shift
9764 V*QImode by constant.
9766 2020-06-16 Aldy Hernandez <aldyh@redhat.com>
9768 PR tree-optimization/95649
9769 * tree-ssa-propagate.c (propagate_into_phi_args): Do not propagate unless
9770 value is a constant.
9772 2020-06-16 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
9774 * config.in: Regenerate.
9775 * config/s390/s390.c (print_operand): Emit vector alignment hints
9776 for target z13, if AS accepts them. For other targets the logic
9778 * config/s390/s390.h (TARGET_VECTOR_LOADSTORE_ALIGNMENT_HINTS): Define
9780 * configure: Regenerate.
9781 * configure.ac: Check HAVE_AS_VECTOR_LOADSTORE_ALIGNMENT_HINTS_ON_Z13.
9783 2020-06-16 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
9785 * config/arm/arm_mve.h (__arm_vaddq_m_n_s8): Correct the intrinsic
9787 (__arm_vaddq_m_n_s32): Likewise.
9788 (__arm_vaddq_m_n_s16): Likewise.
9789 (__arm_vaddq_m_n_u8): Likewise.
9790 (__arm_vaddq_m_n_u32): Likewise.
9791 (__arm_vaddq_m_n_u16): Likewise.
9792 (__arm_vaddq_m): Modify polymorphic variant.
9794 2020-06-16 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
9796 * config/arm/mve.md (mve_uqrshll_sat<supf>_di): Correct the predicate
9797 and constraint of all the operands.
9798 (mve_sqrshrl_sat<supf>_di): Likewise.
9799 (mve_uqrshl_si): Likewise.
9800 (mve_sqrshr_si): Likewise.
9801 (mve_uqshll_di): Likewise.
9802 (mve_urshrl_di): Likewise.
9803 (mve_uqshl_si): Likewise.
9804 (mve_urshr_si): Likewise.
9805 (mve_sqshl_si): Likewise.
9806 (mve_srshr_si): Likewise.
9807 (mve_srshrl_di): Likewise.
9808 (mve_sqshll_di): Likewise.
9809 * config/arm/predicates.md (arm_low_register_operand): Define.
9811 2020-06-16 Jakub Jelinek <jakub@redhat.com>
9813 * tree.h (OMP_FOR_NON_RECTANGULAR): Define.
9814 * gimplify.c (gimplify_omp_for): Diagnose schedule, ordered
9815 or dist_schedule clause on non-rectangular loops. Handle
9816 gimplification of non-rectangular lb/b expressions. When changing
9817 iteration variable, adjust also non-rectangular lb/b expressions
9819 * omp-general.h (struct omp_for_data_loop): Add m1, m2 and outer
9821 (struct omp_for_data): Add non_rect member.
9822 * omp-general.c (omp_extract_for_data): Handle non-rectangular
9823 loops. Fill in non_rect, m1, m2 and outer.
9824 * omp-low.c (lower_omp_for): Handle non-rectangular lb/b expressions.
9825 * omp-expand.c (expand_omp_for): Emit sorry_at for unsupported
9826 non-rectangular loop cases and assert for cases that can't be
9828 * tree-pretty-print.c (dump_mem_ref): Formatting fix.
9829 (dump_omp_loop_non_rect_expr): New function.
9830 (dump_generic_node): Handle non-rectangular OpenMP loops.
9831 * tree-pretty-print.h (dump_omp_loop_non_rect_expr): Declare.
9832 * gimple-pretty-print.c (dump_gimple_omp_for): Handle non-rectangular
9835 2020-06-16 Richard Biener <rguenther@suse.de>
9838 * varasm.c (build_constant_desc): Remove set_mem_attributes call.
9840 2020-06-16 Kito Cheng <kito.cheng@sifive.com>
9843 * config/riscv/riscv.c (riscv_gpr_save_operation_p): Remove
9844 assertion and turn it into a early exit check.
9846 2020-06-15 Eric Botcazou <ebotcazou@adacore.com>
9848 * gimplify.c (gimplify_init_constructor) <AGGREGATE_TYPE>: Declare
9849 new ENSURE_SINGLE_ACCESS constant and move variables down. If it is
9850 true and all elements are zero, then always clear. Return GS_ERROR
9851 if a temporary would be created for it and NOTIFY_TEMP_CREATION set.
9852 (gimplify_modify_expr_rhs) <VAR_DECL>: If the target is volatile but
9853 the type is aggregate non-addressable, ask gimplify_init_constructor
9854 whether it can generate a single access to the target.
9856 2020-06-15 Eric Botcazou <ebotcazou@adacore.com>
9858 * tree-sra.c (propagate_subaccesses_from_rhs): When a non-scalar
9859 access on the LHS is replaced with a scalar access, propagate the
9860 TYPE_REVERSE_STORAGE_ORDER flag of the type of the original access.
9862 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
9864 * config/xtensa/xtensa.c (TARGET_HAVE_TLS): Remove
9865 TARGET_THREADPTR reference.
9866 (xtensa_tls_symbol_p, xtensa_tls_referenced_p): Use
9867 targetm.have_tls instead of TARGET_HAVE_TLS.
9868 (xtensa_option_override): Set targetm.have_tls to false in
9869 configurations without THREADPTR.
9871 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
9873 * config/xtensa/elf.h (ASM_SPEC, LINK_SPEC): Pass ABI switch to
9875 * config/xtensa/linux.h (ASM_SPEC, LINK_SPEC): Ditto.
9876 * config/xtensa/uclinux.h (ASM_SPEC, LINK_SPEC): Ditto.
9877 * config/xtensa/xtensa.c (xtensa_option_override): Initialize
9878 xtensa_windowed_abi if needed.
9879 * config/xtensa/xtensa.h (TARGET_WINDOWED_ABI_DEFAULT): New
9881 (TARGET_WINDOWED_ABI): Redefine to xtensa_windowed_abi.
9882 * config/xtensa/xtensa.opt (xtensa_windowed_abi): New target
9884 (mabi=call0, mabi=windowed): New options.
9885 * doc/invoke.texi: Document new -mabi= Xtensa-specific options.
9887 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
9889 * config/xtensa/xtensa.c (xtensa_can_eliminate): New function.
9890 (TARGET_CAN_ELIMINATE): New macro.
9891 * config/xtensa/xtensa.h
9892 (XTENSA_WINDOWED_HARD_FRAME_POINTER_REGNUM)
9893 (XTENSA_CALL0_HARD_FRAME_POINTER_REGNUM): New macros.
9894 (HARD_FRAME_POINTER_REGNUM): Define using
9895 XTENSA_*_HARD_FRAME_POINTER_REGNUM.
9896 (ELIMINABLE_REGS): Replace lines with HARD_FRAME_POINTER_REGNUM
9897 by lines with XTENSA_WINDOWED_HARD_FRAME_POINTER_REGNUM and
9898 XTENSA_CALL0_HARD_FRAME_POINTER_REGNUM.
9900 2020-06-15 Felix Yang <felix.yang@huawei.com>
9902 * tree-vect-data-refs.c (vect_verify_datarefs_alignment): Rename
9903 parameter to loop_vinfo and update uses. Use LOOP_VINFO_DATAREFS
9905 (vect_analyze_data_refs_alignment): Likewise, and use LOOP_VINFO_DDRS
9907 * tree-vect-loop.c (vect_dissolve_slp_only_groups): Use
9908 LOOP_VINFO_DATAREFS when possible.
9909 (update_epilogue_loop_vinfo): Likewise.
9911 2020-06-15 Kito Cheng <kito.cheng@sifive.com>
9913 * config/riscv/riscv.c (riscv_gen_gpr_save_insn): Change type to
9915 (riscv_gpr_save_operation_p): Change type to unsigned for i and
9918 2020-06-15 Hongtao Liu <hongtao.liu@intel.com>
9921 * config/i386/i386-expand.c (ix86_expand_vecmul_qihi): New
9923 * config/i386/i386-protos.h (ix86_expand_vecmul_qihi): Declare.
9924 * config/i386/sse.md (mul<mode>3): Drop mask_name since
9925 there's no real simd int8 multiplication instruction with
9926 mask. Also optimize it under TARGET_AVX512BW.
9927 (mulv8qi3): New expander.
9929 2020-06-12 Marco Elver <elver@google.com>
9931 * gimplify.c (gimplify_function_tree): Optimize and do not emit
9932 IFN_TSAN_FUNC_EXIT in a finally block if we do not need it.
9933 * params.opt: Add --param=tsan-instrument-func-entry-exit=.
9934 * tsan.c (instrument_memory_accesses): Make
9935 fentry_exit_instrument bool depend on new param.
9937 2020-06-12 Felix Yang <felix.yang@huawei.com>
9939 PR tree-optimization/95570
9940 * tree-vect-data-refs.c (vect_relevant_for_alignment_p): New function.
9941 (vect_verify_datarefs_alignment): Call it to filter out data references
9942 in the loop whose alignment is irrelevant.
9943 (vect_get_peeling_costs_all_drs): Likewise.
9944 (vect_peeling_supportable): Likewise.
9945 (vect_enhance_data_refs_alignment): Likewise.
9947 2020-06-12 Richard Biener <rguenther@suse.de>
9949 PR tree-optimization/95633
9950 * tree-vect-stmts.c (vectorizable_condition): Properly
9951 guard the vec_else_clause access with EXTRACT_LAST_REDUCTION.
9953 2020-06-12 Martin Liška <mliska@suse.cz>
9955 * cgraphunit.c (process_symver_attribute): Wrap weakref keyword.
9956 * dbgcnt.c (dbg_cnt_set_limit_by_index): Do not print extra new
9958 * lto-wrapper.c (merge_and_complain): Wrap option names.
9960 2020-06-12 Kewen Lin <linkw@gcc.gnu.org>
9962 * tree-vect-loop-manip.c (vect_set_loop_controls_directly): Rename
9963 LOOP_VINFO_MASK_COMPARE_TYPE to LOOP_VINFO_RGROUP_COMPARE_TYPE. Rename
9964 LOOP_VINFO_MASK_IV_TYPE to LOOP_VINFO_RGROUP_IV_TYPE.
9965 (vect_set_loop_condition_masked): Renamed to ...
9966 (vect_set_loop_condition_partial_vectors): ... this. Rename
9967 LOOP_VINFO_MASK_COMPARE_TYPE to LOOP_VINFO_RGROUP_COMPARE_TYPE. Rename
9968 vect_iv_limit_for_full_masking to vect_iv_limit_for_partial_vectors.
9969 (vect_set_loop_condition_unmasked): Renamed to ...
9970 (vect_set_loop_condition_normal): ... this.
9971 (vect_set_loop_condition): Rename vect_set_loop_condition_unmasked to
9972 vect_set_loop_condition_normal. Rename vect_set_loop_condition_masked
9973 to vect_set_loop_condition_partial_vectors.
9974 (vect_prepare_for_masked_peels): Rename LOOP_VINFO_MASK_COMPARE_TYPE
9975 to LOOP_VINFO_RGROUP_COMPARE_TYPE.
9976 * tree-vect-loop.c (vect_known_niters_smaller_than_vf): New, factored
9978 (vect_analyze_loop_costing): ... this.
9979 (_loop_vec_info::_loop_vec_info): Rename mask_compare_type to
9981 (vect_min_prec_for_max_niters): New, factored out from ...
9982 (vect_verify_full_masking): ... this. Rename
9983 vect_iv_limit_for_full_masking to vect_iv_limit_for_partial_vectors.
9984 Rename LOOP_VINFO_MASK_COMPARE_TYPE to LOOP_VINFO_RGROUP_COMPARE_TYPE.
9985 Rename LOOP_VINFO_MASK_IV_TYPE to LOOP_VINFO_RGROUP_IV_TYPE.
9986 (vectorizable_reduction): Update some dumpings with partial
9987 vectors instead of fully-masked.
9988 (vectorizable_live_operation): Likewise.
9989 (vect_iv_limit_for_full_masking): Renamed to ...
9990 (vect_iv_limit_for_partial_vectors): ... this.
9991 * tree-vect-stmts.c (check_load_store_masking): Renamed to ...
9992 (check_load_store_for_partial_vectors): ... this. Update some
9993 dumpings with partial vectors instead of fully-masked.
9994 (vectorizable_store): Rename check_load_store_masking to
9995 check_load_store_for_partial_vectors.
9996 (vectorizable_load): Likewise.
9997 * tree-vectorizer.h (LOOP_VINFO_MASK_COMPARE_TYPE): Renamed to ...
9998 (LOOP_VINFO_RGROUP_COMPARE_TYPE): ... this.
9999 (LOOP_VINFO_MASK_IV_TYPE): Renamed to ...
10000 (LOOP_VINFO_RGROUP_IV_TYPE): ... this.
10001 (vect_iv_limit_for_full_masking): Renamed to ...
10002 (vect_iv_limit_for_partial_vectors): this.
10003 (_loop_vec_info): Rename mask_compare_type to rgroup_compare_type.
10004 Rename iv_type to rgroup_iv_type.
10006 2020-06-12 Richard Sandiford <richard.sandiford@arm.com>
10008 * recog.h (insn_gen_fn::f0, insn_gen_fn::f1, insn_gen_fn::f2)
10009 (insn_gen_fn::f3, insn_gen_fn::f4, insn_gen_fn::f5, insn_gen_fn::f6)
10010 (insn_gen_fn::f7, insn_gen_fn::f8, insn_gen_fn::f9, insn_gen_fn::f10)
10011 (insn_gen_fn::f11, insn_gen_fn::f12, insn_gen_fn::f13)
10012 (insn_gen_fn::f14, insn_gen_fn::f15, insn_gen_fn::f16): Delete.
10013 (insn_gen_fn::operator()): Replace overloaded definitions with
10014 a parameter-pack version.
10016 2020-06-12 H.J. Lu <hjl.tools@gmail.com>
10019 * config/i386/i386-features.c (rest_of_insert_endbranch):
10021 (rest_of_insert_endbr_and_patchable_area): Change return type
10022 to void. Add need_endbr and patchable_area_size arguments.
10023 Don't call timevar_push nor timevar_pop. Replace
10024 endbr_queued_at_entrance with insn_queued_at_entrance. Insert
10025 UNSPECV_PATCHABLE_AREA for patchable area.
10026 (pass_data_insert_endbranch): Renamed to ...
10027 (pass_data_insert_endbr_and_patchable_area): This. Change
10028 pass name to endbr_and_patchable_area.
10029 (pass_insert_endbranch): Renamed to ...
10030 (pass_insert_endbr_and_patchable_area): This. Add need_endbr
10031 and patchable_area_size;.
10032 (pass_insert_endbr_and_patchable_area::gate): Set and check
10033 need_endbr and patchable_area_size.
10034 (pass_insert_endbr_and_patchable_area::execute): Call
10035 timevar_push and timevar_pop. Pass need_endbr and
10036 patchable_area_size to rest_of_insert_endbr_and_patchable_area.
10037 (make_pass_insert_endbranch): Renamed to ...
10038 (make_pass_insert_endbr_and_patchable_area): This.
10039 * config/i386/i386-passes.def: Replace pass_insert_endbranch
10040 with pass_insert_endbr_and_patchable_area.
10041 * config/i386/i386-protos.h (ix86_output_patchable_area): New.
10042 (make_pass_insert_endbranch): Renamed to ...
10043 (make_pass_insert_endbr_and_patchable_area): This.
10044 * config/i386/i386.c (ix86_asm_output_function_label): Set
10045 function_label_emitted to true.
10046 (ix86_print_patchable_function_entry): New function.
10047 (ix86_output_patchable_area): Likewise.
10048 (x86_function_profiler): Replace endbr_queued_at_entrance with
10049 insn_queued_at_entrance. Generate ENDBR only for TYPE_ENDBR.
10050 Call ix86_output_patchable_area to generate patchable area if
10052 (TARGET_ASM_PRINT_PATCHABLE_FUNCTION_ENTRY): New.
10053 * config/i386/i386.h (queued_insn_type): New.
10054 (machine_function): Add function_label_emitted. Replace
10055 endbr_queued_at_entrance with insn_queued_at_entrance.
10056 * config/i386/i386.md (UNSPECV_PATCHABLE_AREA): New.
10057 (patchable_area): New.
10059 2020-06-11 Martin Liska <mliska@suse.cz>
10061 * config/rs6000/rs6000.c (rs6000_density_test): Fix GNU coding
10064 2020-06-11 Martin Liska <mliska@suse.cz>
10067 * config/rs6000/rs6000.c (rs6000_density_test): Skip debug
10070 2020-06-11 Martin Liska <mliska@suse.cz>
10071 Jakub Jelinek <jakub@redhat.com>
10074 * asan.c (asan_emit_stack_protection): Fix emission for ilp32
10075 by using Pmode instead of ptr_mode.
10077 2020-06-11 Kewen Lin <linkw@gcc.gnu.org>
10079 * tree-vect-loop-manip.c (vect_set_loop_mask): Renamed to ...
10080 (vect_set_loop_control): ... this.
10081 (vect_maybe_permute_loop_masks): Rename rgroup_masks related things.
10082 (vect_set_loop_masks_directly): Renamed to ...
10083 (vect_set_loop_controls_directly): ... this. Also rename some
10084 variables with ctrl instead of mask. Rename vect_set_loop_mask to
10085 vect_set_loop_control.
10086 (vect_set_loop_condition_masked): Rename rgroup_masks related things.
10087 Also rename some variables with ctrl instead of mask.
10088 * tree-vect-loop.c (release_vec_loop_masks): Renamed to ...
10089 (release_vec_loop_controls): ... this. Rename rgroup_masks related
10091 (_loop_vec_info::~_loop_vec_info): Rename release_vec_loop_masks to
10092 release_vec_loop_controls.
10093 (can_produce_all_loop_masks_p): Rename rgroup_masks related things.
10094 (vect_get_max_nscalars_per_iter): Likewise.
10095 (vect_estimate_min_profitable_iters): Likewise.
10096 (vect_record_loop_mask): Likewise.
10097 (vect_get_loop_mask): Likewise.
10098 * tree-vectorizer.h (struct rgroup_masks): Renamed to ...
10099 (struct rgroup_controls): ... this. Also rename mask_type
10100 to type and rename masks to controls.
10102 2020-06-11 Kewen Lin <linkw@gcc.gnu.org>
10104 * tree-vect-loop-manip.c (vect_set_loop_condition): Rename
10105 LOOP_VINFO_FULLY_MASKED_P to LOOP_VINFO_USING_PARTIAL_VECTORS_P.
10106 (vect_gen_vector_loop_niters): Likewise.
10107 (vect_do_peeling): Likewise.
10108 * tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Rename
10109 fully_masked_p to using_partial_vectors_p.
10110 (vect_analyze_loop_costing): Rename LOOP_VINFO_FULLY_MASKED_P to
10111 LOOP_VINFO_USING_PARTIAL_VECTORS_P.
10112 (determine_peel_for_niter): Likewise.
10113 (vect_estimate_min_profitable_iters): Likewise.
10114 (vect_transform_loop): Likewise.
10115 * tree-vectorizer.h (LOOP_VINFO_FULLY_MASKED_P): Updated.
10116 (LOOP_VINFO_USING_PARTIAL_VECTORS_P): New macro.
10118 2020-06-11 Kewen Lin <linkw@gcc.gnu.org>
10120 * tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Rename
10121 can_fully_mask_p to can_use_partial_vectors_p.
10122 (vect_analyze_loop_2): Rename LOOP_VINFO_CAN_FULLY_MASK_P to
10123 LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P. Rename saved_can_fully_mask_p
10124 to saved_can_use_partial_vectors_p.
10125 (vectorizable_reduction): Rename LOOP_VINFO_CAN_FULLY_MASK_P to
10126 LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P.
10127 (vectorizable_live_operation): Likewise.
10128 * tree-vect-stmts.c (permute_vec_elements): Likewise.
10129 (check_load_store_masking): Likewise.
10130 (vectorizable_operation): Likewise.
10131 (vectorizable_store): Likewise.
10132 (vectorizable_load): Likewise.
10133 (vectorizable_condition): Likewise.
10134 * tree-vectorizer.h (LOOP_VINFO_CAN_FULLY_MASK_P): Renamed to ...
10135 (LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P): ... this.
10136 (_loop_vec_info): Rename can_fully_mask_p to can_use_partial_vectors_p.
10138 2020-06-11 Martin Liska <mliska@suse.cz>
10140 * optc-save-gen.awk: Quote error string.
10142 2020-06-11 Alexandre Oliva <oliva@adacore.com>
10144 * print-rtl.c (print_mem_expr): Enable TDF_SLIM in dump_flags.
10146 2020-06-11 Kito Cheng <kito.cheng@sifive.com>
10148 * config/riscv/riscv-protos.h (riscv_output_gpr_save): Remove.
10149 * config/riscv/riscv-sr.c (riscv_sr_match_prologue): Update
10151 * config/riscv/riscv.c (riscv_output_gpr_save): Remove.
10152 * config/riscv/riscv.md (gpr_save): Update output asm pattern.
10154 2020-06-11 Kito Cheng <kito.cheng@sifive.com>
10156 * config/riscv/predicates.md (gpr_save_operation): New.
10157 * config/riscv/riscv-protos.h (riscv_gen_gpr_save_insn): New.
10158 (riscv_gpr_save_operation_p): Ditto.
10159 * config/riscv/riscv-sr.c (riscv_remove_unneeded_save_restore_calls):
10160 Ignore USEs for gpr_save patter.
10161 * config/riscv/riscv.c (gpr_save_reg_order): New.
10162 (riscv_expand_prologue): Use riscv_gen_gpr_save_insn to gen gpr_save.
10163 (riscv_gen_gpr_save_insn): New.
10164 (riscv_gpr_save_operation_p): Ditto.
10165 * config/riscv/riscv.md (S3_REGNUM): New.
10166 (S4_REGNUM): Ditto.
10167 (S5_REGNUM): Ditto.
10168 (S6_REGNUM): Ditto.
10169 (S7_REGNUM): Ditto.
10170 (S8_REGNUM): Ditto.
10171 (S9_REGNUM): Ditto.
10172 (S10_REGNUM): Ditto.
10173 (S11_REGNUM): Ditto.
10174 (gpr_save): Model USEs correctly.
10176 2020-06-10 Martin Sebor <msebor@redhat.com>
10178 PR middle-end/95353
10179 PR middle-end/92939
10180 * builtins.c (inform_access): New function.
10181 (check_access): Call it. Add argument.
10182 (addr_decl_size): Remove.
10183 (get_range): New function.
10184 (compute_objsize): New overload. Only use compute_builtin_object_size
10185 with raw memory function.
10186 (check_memop_access): Pass new argument to compute_objsize and
10188 (expand_builtin_memchr, expand_builtin_strcat): Same.
10189 (expand_builtin_strcpy, expand_builtin_stpcpy_1): Same.
10190 (expand_builtin_stpncpy, check_strncat_sizes): Same.
10191 (expand_builtin_strncat, expand_builtin_strncpy): Same.
10192 (expand_builtin_memcmp): Same.
10193 * builtins.h (check_nul_terminated_array): Declare extern.
10194 (check_access): Add argument.
10195 (struct access_ref, struct access_data): New structs.
10196 * gimple-ssa-warn-restrict.c (clamp_offset): New helper.
10197 (builtin_access::overlap): Call it.
10198 * tree-object-size.c (decl_init_size): Declare extern.
10199 (addr_object_size): Correct offset computation.
10200 * tree-object-size.h (decl_init_size): Declare.
10201 * tree-ssa-strlen.c (handle_integral_assign): Remove a call
10202 to maybe_warn_overflow when assigning to an SSA_NAME.
10204 2020-06-10 Richard Biener <rguenther@suse.de>
10206 * tree-vect-loop.c (vect_determine_vectorization_factor):
10208 (_loop_vec_info::_loop_vec_info): Likewise.
10209 (vect_update_vf_for_slp): Likewise.
10210 (vect_analyze_loop_operations): Likewise.
10211 (update_epilogue_loop_vinfo): Likewise.
10212 * tree-vect-patterns.c (vect_determine_precisions): Likewise.
10213 (vect_pattern_recog): Likewise.
10214 * tree-vect-slp.c (vect_detect_hybrid_slp): Likewise.
10215 (_bb_vec_info::_bb_vec_info): Likewise.
10216 * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized):
10219 2020-06-10 Richard Biener <rguenther@suse.de>
10221 PR tree-optimization/95576
10222 * tree-vect-slp.c (vect_slp_bb): Skip leading debug stmts.
10224 2020-06-10 Haijian Zhang <z.zhanghaijian@huawei.com>
10227 * config/aarch64/aarch64-sve-builtins.h
10228 (sve_switcher::m_old_maximum_field_alignment): New member.
10229 * config/aarch64/aarch64-sve-builtins.cc
10230 (sve_switcher::sve_switcher): Save maximum_field_alignment in
10231 m_old_maximum_field_alignment and clear maximum_field_alignment.
10232 (sve_switcher::~sve_switcher): Restore maximum_field_alignment.
10234 2020-06-10 Richard Biener <rguenther@suse.de>
10236 * tree-vectorizer.h (_slp_tree::vec_stmts): Make it a vector
10238 (_stmt_vec_info::vec_stmts): Likewise.
10239 (vec_info::stmt_vec_info_ro): New flag.
10240 (vect_finish_replace_stmt): Adjust declaration.
10241 (vect_finish_stmt_generation): Likewise.
10242 (vectorizable_induction): Likewise.
10243 (vect_transform_reduction): Likewise.
10244 (vectorizable_lc_phi): Likewise.
10245 * tree-vect-data-refs.c (vect_create_data_ref_ptr): Do not
10246 allocate stmt infos for increments.
10247 (vect_record_grouped_load_vectors): Adjust.
10248 * tree-vect-loop.c (vect_create_epilog_for_reduction): Likewise.
10249 (vectorize_fold_left_reduction): Likewise.
10250 (vect_transform_reduction): Likewise.
10251 (vect_transform_cycle_phi): Likewise.
10252 (vectorizable_lc_phi): Likewise.
10253 (vectorizable_induction): Likewise.
10254 (vectorizable_live_operation): Likewise.
10255 (vect_transform_loop): Likewise.
10256 * tree-vect-patterns.c (vect_pattern_recog): Set stmt_vec_info_ro.
10257 * tree-vect-slp.c (vect_get_slp_vect_def): Adjust.
10258 (vect_get_slp_defs): Likewise.
10259 (vect_transform_slp_perm_load): Likewise.
10260 (vect_schedule_slp_instance): Likewise.
10261 (vectorize_slp_instance_root_stmt): Likewise.
10262 * tree-vect-stmts.c (vect_get_vec_defs_for_operand): Likewise.
10263 (vect_finish_stmt_generation_1): Do not allocate a stmt info.
10264 (vect_finish_replace_stmt): Do not return anything.
10265 (vect_finish_stmt_generation): Likewise.
10266 (vect_build_gather_load_calls): Adjust.
10267 (vectorizable_bswap): Likewise.
10268 (vectorizable_call): Likewise.
10269 (vectorizable_simd_clone_call): Likewise.
10270 (vect_create_vectorized_demotion_stmts): Likewise.
10271 (vectorizable_conversion): Likewise.
10272 (vectorizable_assignment): Likewise.
10273 (vectorizable_shift): Likewise.
10274 (vectorizable_operation): Likewise.
10275 (vectorizable_scan_store): Likewise.
10276 (vectorizable_store): Likewise.
10277 (vectorizable_load): Likewise.
10278 (vectorizable_condition): Likewise.
10279 (vectorizable_comparison): Likewise.
10280 (vect_transform_stmt): Likewise.
10281 * tree-vectorizer.c (vec_info::vec_info): Initialize
10283 (vec_info::replace_stmt): Copy over stmt UID rather than
10284 unsetting/setting a stmt info allocating a new UID.
10285 (vec_info::set_vinfo_for_stmt): Assert !stmt_vec_info_ro.
10287 2020-06-10 Aldy Hernandez <aldyh@redhat.com>
10289 * gimple-loop-versioning.cc (loop_versioning::name_prop::get_value):
10290 Add stmt parameter.
10291 * gimple-ssa-evrp.c (class evrp_folder): New.
10292 (class evrp_dom_walker): Remove.
10293 (execute_early_vrp): Use evrp_folder instead of evrp_dom_walker.
10294 * tree-ssa-ccp.c (ccp_folder::get_value): Add stmt parameter.
10295 * tree-ssa-copy.c (copy_folder::get_value): Same.
10296 * tree-ssa-propagate.c (substitute_and_fold_engine::replace_uses_in):
10297 Pass stmt to get_value.
10298 (substitute_and_fold_engine::replace_phi_args_in): Same.
10299 (substitute_and_fold_dom_walker::after_dom_children): Call
10301 (substitute_and_fold_dom_walker::foreach_new_stmt_in_bb): New.
10302 (substitute_and_fold_dom_walker::propagate_into_phi_args): New.
10303 (substitute_and_fold_dom_walker::before_dom_children): Adjust to
10304 call virtual functions for folding, pre_folding, and post folding.
10305 Call get_value with PHI. Tweak dump.
10306 * tree-ssa-propagate.h (class substitute_and_fold_engine):
10307 New argument to get_value.
10308 New virtual function pre_fold_bb.
10309 New virtual function post_fold_bb.
10310 New virtual function pre_fold_stmt.
10311 New virtual function post_new_stmt.
10312 New function propagate_into_phi_args.
10313 * tree-vrp.c (vrp_folder::get_value): Add stmt argument.
10314 * vr-values.c (vr_values::extract_range_from_stmt): Adjust dump
10316 (vr_values::fold_cond): New.
10317 (vr_values::simplify_cond_using_ranges_1): Call fold_cond.
10318 * vr-values.h (class vr_values): Add
10319 simplify_cond_using_ranges_when_edge_is_known.
10321 2020-06-10 Martin Liska <mliska@suse.cz>
10324 * asan.c (asan_emit_stack_protection): Emit
10325 also **SavedFlagPtr(FakeStack, class_id) = 0 in order to release
10328 2020-06-10 Tamar Christina <tamar.christina@arm.com>
10330 * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Adjust costs for mul.
10332 2020-06-10 Richard Biener <rguenther@suse.de>
10334 * tree-vect-data-refs.c (vect_vfa_access_size): Adjust.
10335 (vect_record_grouped_load_vectors): Likewise.
10336 * tree-vect-loop.c (vect_create_epilog_for_reduction): Likewise.
10337 (vectorize_fold_left_reduction): Likewise.
10338 (vect_transform_reduction): Likewise.
10339 (vect_transform_cycle_phi): Likewise.
10340 (vectorizable_lc_phi): Likewise.
10341 (vectorizable_induction): Likewise.
10342 (vectorizable_live_operation): Likewise.
10343 (vect_transform_loop): Likewise.
10344 * tree-vect-slp.c (vect_get_slp_defs): New function, split out
10346 * tree-vect-stmts.c (vect_get_vec_def_for_operand_1): Remove.
10347 (vect_get_vec_def_for_operand): Likewise.
10348 (vect_get_vec_def_for_stmt_copy): Likewise.
10349 (vect_get_vec_defs_for_stmt_copy): Likewise.
10350 (vect_get_vec_defs_for_operand): New function.
10351 (vect_get_vec_defs): Likewise.
10352 (vect_build_gather_load_calls): Adjust.
10353 (vect_get_gather_scatter_ops): Likewise.
10354 (vectorizable_bswap): Likewise.
10355 (vectorizable_call): Likewise.
10356 (vectorizable_simd_clone_call): Likewise.
10357 (vect_get_loop_based_defs): Remove.
10358 (vect_create_vectorized_demotion_stmts): Adjust.
10359 (vectorizable_conversion): Likewise.
10360 (vectorizable_assignment): Likewise.
10361 (vectorizable_shift): Likewise.
10362 (vectorizable_operation): Likewise.
10363 (vectorizable_scan_store): Likewise.
10364 (vectorizable_store): Likewise.
10365 (vectorizable_load): Likewise.
10366 (vectorizable_condition): Likewise.
10367 (vectorizable_comparison): Likewise.
10368 (vect_transform_stmt): Adjust and remove no longer applicable
10370 * tree-vectorizer.c (vec_info::new_stmt_vec_info): Initialize
10371 STMT_VINFO_VEC_STMTS.
10372 (vec_info::free_stmt_vec_info): Relase it.
10373 * tree-vectorizer.h (_stmt_vec_info::vectorized_stmt): Remove.
10374 (_stmt_vec_info::vec_stmts): Add.
10375 (STMT_VINFO_VEC_STMT): Remove.
10376 (STMT_VINFO_VEC_STMTS): New.
10377 (vect_get_vec_def_for_operand_1): Remove.
10378 (vect_get_vec_def_for_operand): Likewise.
10379 (vect_get_vec_defs_for_stmt_copy): Likewise.
10380 (vect_get_vec_def_for_stmt_copy): Likewise.
10381 (vect_get_vec_defs): New overloads.
10382 (vect_get_vec_defs_for_operand): New.
10383 (vect_get_slp_defs): Declare.
10385 2020-06-10 Qian Chao <qianchao9@huawei.com>
10387 PR tree-optimization/95569
10388 * trans-mem.c (expand_assign_tm): Ensure that rtmp is marked TREE_ADDRESSABLE.
10390 2020-06-10 Martin Liska <mliska@suse.cz>
10392 PR tree-optimization/92860
10393 * optc-save-gen.awk: Generate new function cl_optimization_compare.
10394 * opth-gen.awk: Generate declaration of the function.
10396 2020-06-09 Michael Meissner <meissner@linux.ibm.com>
10398 * config/rs6000/ppc-auxv.h (PPC_PLATFORM_FUTURE): Allocate
10399 'future' PowerPC platform.
10400 (PPC_FEATURE2_ARCH_3_1): New HWCAP2 bit for ISA 3.1.
10401 (PPC_FEATURE2_MMA): New HWCAP2 bit for MMA.
10402 * config/rs6000/rs6000-call.c (cpu_supports_info): Add ISA 3.1 and
10404 * config/rs6000/rs6000.c (CLONE_ISA_3_1): New clone support.
10405 (rs6000_clone_map): Add 'future' system target_clones support.
10407 2020-06-09 Michael Kuhn <gcc@ikkoku.de>
10409 * Makefile.in (ZSTD_INC): Define.
10410 (ZSTD_LIB): Include ZSTD_LDFLAGS.
10411 (CFLAGS-lto-compress.o): Add ZSTD_INC.
10412 * configure.ac (ZSTD_CPPFLAGS, ZSTD_LDFLAGS): New variables for
10414 * configure: Rebuilt.
10416 2020-06-09 Jason Merrill <jason@redhat.com>
10419 * tree.c (walk_tree_1): Call func on the TYPE_DECL of a DECL_EXPR.
10421 2020-06-09 Marco Elver <elver@google.com>
10423 * params.opt: Define --param=tsan-distinguish-volatile=[0,1].
10424 * sanitizer.def (BUILT_IN_TSAN_VOLATILE_READ1): Define new
10425 builtin for volatile instrumentation of reads/writes.
10426 (BUILT_IN_TSAN_VOLATILE_READ2): Likewise.
10427 (BUILT_IN_TSAN_VOLATILE_READ4): Likewise.
10428 (BUILT_IN_TSAN_VOLATILE_READ8): Likewise.
10429 (BUILT_IN_TSAN_VOLATILE_READ16): Likewise.
10430 (BUILT_IN_TSAN_VOLATILE_WRITE1): Likewise.
10431 (BUILT_IN_TSAN_VOLATILE_WRITE2): Likewise.
10432 (BUILT_IN_TSAN_VOLATILE_WRITE4): Likewise.
10433 (BUILT_IN_TSAN_VOLATILE_WRITE8): Likewise.
10434 (BUILT_IN_TSAN_VOLATILE_WRITE16): Likewise.
10435 * tsan.c (get_memory_access_decl): Argument if access is
10436 volatile. If param tsan-distinguish-volatile is non-zero, and
10437 access if volatile, return volatile instrumentation decl.
10438 (instrument_expr): Check if access is volatile.
10440 2020-06-09 Richard Biener <rguenther@suse.de>
10442 * tree-vect-loop.c (vectorizable_induction): Remove dead code.
10444 2020-06-09 Tobias Burnus <tobias@codesourcery.com>
10446 * omp-offload.c (add_decls_addresses_to_decl_constructor,
10447 omp_finish_file): With in_lto_p, stream out all offload-table
10448 items even if the symtab_node does not exist.
10450 2020-06-09 Richard Biener <rguenther@suse.de>
10452 * tree-vect-stmts.c (vect_transform_stmt): Remove dead code.
10454 2020-06-09 Martin Liska <mliska@suse.cz>
10456 * gcov-dump.c (print_usage): Fix spacing for --raw option
10459 2020-06-09 Martin Liska <mliska@suse.cz>
10461 * cif-code.def (ATTRIBUTE_MISMATCH): Rename to...
10462 (SANITIZE_ATTRIBUTE_MISMATCH): ...this.
10463 * ipa-inline.c (sanitize_attrs_match_for_inline_p):
10464 Handle all sanitizer options.
10465 (can_inline_edge_p): Use renamed CIF_* enum value.
10467 2020-06-09 Joe Ramsay <joe.ramsay@arm.com>
10469 * config/aarch64/aarch64-sve.md (<optab><mode>2): Add support for
10471 (@aarch64_pred_<optab><mode>): Add support for unpacked vectors.
10472 (@aarch64_bic<mode>): Enable unpacked BIC.
10473 (*bic<mode>3): Enable unpacked BIC.
10475 2020-06-09 Martin Liska <mliska@suse.cz>
10477 PR gcov-profile/95365
10478 * doc/gcov.texi: Compile and link one example in 2 steps.
10480 2020-06-09 Jakub Jelinek <jakub@redhat.com>
10482 PR tree-optimization/95527
10483 * match.pd (__builtin_ffs (X) cmp CST): New optimizations.
10485 2020-06-09 Michael Meissner <meissner@linux.ibm.com>
10487 * config/rs6000/ppc-auxv.h (PPC_PLATFORM_FUTURE): Allocate
10488 'future' PowerPC platform.
10489 (PPC_FEATURE2_ARCH_3_1): New HWCAP2 bit for ISA 3.1.
10490 (PPC_FEATURE2_MMA): New HWCAP2 bit for MMA.
10491 * config/rs6000/rs6000-call.c (cpu_supports_info): Add ISA 3.1 and
10493 * config/rs6000/rs6000.c (CLONE_ISA_3_1): New clone support.
10494 (rs6000_clone_map): Add 'future' system target_clones support.
10496 2020-06-08 Tobias Burnus <tobias@codesourcery.com>
10499 PR middle-end/95551
10500 * omp-offload.c (add_decls_addresses_to_decl_constructor,
10501 omp_finish_file): Skip removed items.
10502 * lto-cgraph.c (output_offload_tables): Likewise; set force_output
10503 to this node for variables and functions.
10505 2020-06-08 Jason Merrill <jason@redhat.com>
10507 * aclocal.m4: Remove ax_cxx_compile_stdcxx.m4.
10508 * configure.ac: Remove AX_CXX_COMPILE_STDCXX.
10509 * configure: Regenerate.
10511 2020-06-08 Martin Sebor <msebor@redhat.com>
10513 * postreload.c (reload_cse_simplify_operands): Clear first array element
10514 before using it. Assert a precondition.
10516 2020-06-08 Jakub Jelinek <jakub@redhat.com>
10519 * tree-ssa-forwprop.c (simplify_vector_constructor): Don't use
10520 VEC_UNPACK*_EXPR or VEC_PACK_TRUNC_EXPR with scalar modes unless the
10521 type is vector boolean.
10523 2020-06-08 Tamar Christina <tamar.christina@arm.com>
10525 * config/aarch64/aarch64.c (aarch64_layout_frame): Expand comments.
10527 2020-06-08 Christophe Lyon <christophe.lyon@linaro.org>
10529 * config/arm/predicates.md (vfp_register_operand): Use VFP_HI_REGS
10530 instead of VFP_REGS.
10532 2020-06-08 Martin Liska <mliska@suse.cz>
10534 * config/rs6000/vector.md: Replace FAIL with gcc_unreachable
10535 in all vcond* patterns.
10537 2020-06-08 Christophe Lyon <christophe.lyon@linaro.org>
10539 * common/config/arm/arm-common.c (INCLUDE_ALGORITHM):
10540 Define. No longer include <algorithm>.
10542 2020-06-07 Roger Sayle <roger@nextmovesoftware.com>
10544 * config/i386/i386.md (paritydi2, paritysi2): Expand reduction
10545 via shift and xor to an USPEC PARITY matching a parityhi2_cmp.
10546 (paritydi2_cmp, paritysi2_cmp): Delete these define_insn_and_split.
10547 (parityhi2, parityqi2): New expanders.
10548 (parityhi2_cmp): Implement set parity flag with xorb insn.
10549 (parityqi2_cmp): Implement set parity flag with testb insn.
10550 New peephole2s to use these insns (UNSPEC PARITY) when appropriate.
10552 2020-06-07 Jiufu Guo <guojiufu@linux.ibm.com>
10555 * config/rs6000/rs6000.c (rs6000_option_override_internal):
10556 Override flag_cunroll_grow_size.
10558 2020-06-07 Jiufu Guo <guojiufu@linux.ibm.com>
10560 * common.opt (flag_cunroll_grow_size): New flag.
10561 * toplev.c (process_options): Set flag_cunroll_grow_size.
10562 * tree-ssa-loop-ivcanon.c (pass_complete_unroll::execute):
10563 Use flag_cunroll_grow_size.
10565 2020-06-06 Jan Hubicka <hubicka@ucw.cz>
10568 * ipa-devirt.c (struct odr_enum_val): Turn values to wide_int.
10569 (ipa_odr_summary_write): Update streaming.
10570 (ipa_odr_read_section): Update streaming.
10572 2020-06-06 Alexandre Oliva <oliva@adacore.com>
10575 * gcc.c (do_spec_1): Don't call memcpy (_, NULL, 0).
10577 2020-06-05 Thomas Schwinge <thomas@codesourcery.com>
10578 Julian Brown <julian@codesourcery.com>
10580 * gimplify.c (gimplify_adjust_omp_clauses): Remove
10581 'GOMP_MAP_STRUCT' mapping from OpenACC 'exit data' directives.
10583 2020-06-05 Richard Biener <rguenther@suse.de>
10585 PR tree-optimization/95539
10586 * tree-vect-data-refs.c
10587 (vect_slp_analyze_and_verify_instance_alignment): Use
10588 SLP_TREE_REPRESENTATIVE for the data-ref check.
10589 * tree-vect-stmts.c (vectorizable_load): Reset stmt_info
10590 back to the first scalar stmt rather than the
10591 SLP_TREE_REPRESENTATIVE to match previous behavior.
10593 2020-06-05 Felix Yang <felix.yang@huawei.com>
10596 * expr.c (emit_move_insn): Check src and dest of the copy to see
10597 if one or both of them are subregs, try to remove the subregs when
10598 innermode and outermode are equal in size and the mode change involves
10599 an implicit round trip through memory.
10601 2020-06-05 Jakub Jelinek <jakub@redhat.com>
10604 * config/i386/i386.md (*ctzsi2_zext, *clzsi2_lzcnt_zext): New
10605 define_insn_and_split patterns.
10606 (*ctzsi2_zext_falsedep, *clzsi2_lzcnt_zext_falsedep): New
10607 define_insn patterns.
10609 2020-06-05 Jonathan Wakely <jwakely@redhat.com>
10611 * alloc-pool.h (object_allocator::remove_raw): New.
10612 * tree-ssa-math-opts.c (struct occurrence): Use NSMDI.
10613 (occurrence::occurrence): Add.
10614 (occurrence::~occurrence): Likewise.
10615 (occurrence::new): Likewise.
10616 (occurrence::delete): Likewise.
10618 (insert_bb): Use new occurence (...) instead of occ_new.
10619 (register_division_in): Likewise.
10620 (free_bb): Use delete occ instead of manually removing
10623 2020-06-05 Richard Biener <rguenther@suse.de>
10625 PR middle-end/95493
10626 * cfgexpand.c (expand_debug_expr): Avoid calling
10627 set_mem_attributes_minus_bitpos when we were expanding
10629 * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove
10630 ARRAY_REF special-casing, add CONSTRUCTOR to the set of
10631 special-cases we do not want MEM_EXPRs for. Assert
10632 we end up with reasonable MEM_EXPRs.
10634 2020-06-05 Lili Cui <lili.cui@intel.com>
10637 * config/i386/i386.h (PTA_WAITPKG): Change bitmask value.
10639 2020-06-04 Martin Sebor <msebor@redhat.com>
10641 PR middle-end/10138
10642 PR middle-end/95136
10643 * attribs.c (init_attr_rdwr_indices): Move function here.
10644 * attribs.h (rdwr_access_hash, rdwr_map): Define.
10645 (attr_access): Add 'none'.
10646 (init_attr_rdwr_indices): Declared function.
10647 * builtins.c (warn_for_access)): New function.
10648 (check_access): Call it.
10649 * builtins.h (checK-access): Add an optional argument.
10650 * calls.c (rdwr_access_hash, rdwr_map): Move to attribs.h.
10651 (init_attr_rdwr_indices): Declare extern.
10652 (append_attrname): Handle attr_access::none.
10653 (maybe_warn_rdwr_sizes): Same.
10654 (initialize_argument_information): Update comments.
10655 * doc/extend.texi (attribute access): Document 'none'.
10656 * tree-ssa-uninit.c (struct wlimits): New.
10657 (maybe_warn_operand): New function.
10658 (maybe_warn_pass_by_reference): Same.
10659 (warn_uninitialized_vars): Refactor code into maybe_warn_operand.
10660 Also call for function calls.
10661 (pass_late_warn_uninitialized::execute): Adjust comments.
10662 (execute_early_warn_uninitialized): Same.
10664 2020-06-04 Vladimir Makarov <vmakarov@redhat.com>
10666 PR middle-end/95464
10667 * lra.c (lra_emit_move): Add processing STRICT_LOW_PART.
10668 * lra-constraints.c (match_reload): Use STRICT_LOW_PART in output
10669 reload if the original insn has it too.
10671 2020-06-04 Richard Biener <rguenther@suse.de>
10673 * config/aarch64/aarch64.c (aarch64_gimplify_va_arg_expr):
10674 Ensure that tmp_ha is marked TREE_ADDRESSABLE.
10676 2020-06-04 Martin Jambor <mjambor@suse.cz>
10679 * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Move non-call
10680 exceptions check to...
10681 * tree-eh.c (stmt_unremovable_because_of_non_call_eh_p): ...this
10683 * tree-eh.h (stmt_unremovable_because_of_non_call_eh_p): Declare it.
10684 * ipa-sra.c (isra_track_scalar_value_uses): Use it. New parameter
10687 2020-06-04 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
10690 * config/arm/predicates.md (mve_scatter_memory): Define to
10691 match (mem (reg)) for scatter store memory.
10692 * config/arm/mve.md (mve_vstrbq_scatter_offset_<supf><mode>): Modify
10693 define_insn to define_expand.
10694 (mve_vstrbq_scatter_offset_p_<supf><mode>): Likewise.
10695 (mve_vstrhq_scatter_offset_<supf><mode>): Likewise.
10696 (mve_vstrhq_scatter_shifted_offset_p_<supf><mode>): Likewise.
10697 (mve_vstrhq_scatter_shifted_offset_<supf><mode>): Likewise.
10698 (mve_vstrdq_scatter_offset_p_<supf>v2di): Likewise.
10699 (mve_vstrdq_scatter_offset_<supf>v2di): Likewise.
10700 (mve_vstrdq_scatter_shifted_offset_p_<supf>v2di): Likewise.
10701 (mve_vstrdq_scatter_shifted_offset_<supf>v2di): Likewise.
10702 (mve_vstrhq_scatter_offset_fv8hf): Likewise.
10703 (mve_vstrhq_scatter_offset_p_fv8hf): Likewise.
10704 (mve_vstrhq_scatter_shifted_offset_fv8hf): Likewise.
10705 (mve_vstrhq_scatter_shifted_offset_p_fv8hf): Likewise.
10706 (mve_vstrwq_scatter_offset_fv4sf): Likewise.
10707 (mve_vstrwq_scatter_offset_p_fv4sf): Likewise.
10708 (mve_vstrwq_scatter_offset_p_<supf>v4si): Likewise.
10709 (mve_vstrwq_scatter_offset_<supf>v4si): Likewise.
10710 (mve_vstrwq_scatter_shifted_offset_fv4sf): Likewise.
10711 (mve_vstrwq_scatter_shifted_offset_p_fv4sf): Likewise.
10712 (mve_vstrwq_scatter_shifted_offset_p_<supf>v4si): Likewise.
10713 (mve_vstrwq_scatter_shifted_offset_<supf>v4si): Likewise.
10714 (mve_vstrbq_scatter_offset_<supf><mode>_insn): Define insn for scatter
10716 (mve_vstrbq_scatter_offset_p_<supf><mode>_insn): Likewise.
10717 (mve_vstrhq_scatter_offset_<supf><mode>_insn): Likewise.
10718 (mve_vstrhq_scatter_shifted_offset_p_<supf><mode>_insn): Likewise.
10719 (mve_vstrhq_scatter_shifted_offset_<supf><mode>_insn): Likewise.
10720 (mve_vstrdq_scatter_offset_p_<supf>v2di_insn): Likewise.
10721 (mve_vstrdq_scatter_offset_<supf>v2di_insn): Likewise.
10722 (mve_vstrdq_scatter_shifted_offset_p_<supf>v2di_insn): Likewise.
10723 (mve_vstrdq_scatter_shifted_offset_<supf>v2di_insn): Likewise.
10724 (mve_vstrhq_scatter_offset_fv8hf_insn): Likewise.
10725 (mve_vstrhq_scatter_offset_p_fv8hf_insn): Likewise.
10726 (mve_vstrhq_scatter_shifted_offset_fv8hf_insn): Likewise.
10727 (mve_vstrhq_scatter_shifted_offset_p_fv8hf_insn): Likewise.
10728 (mve_vstrwq_scatter_offset_fv4sf_insn): Likewise.
10729 (mve_vstrwq_scatter_offset_p_fv4sf_insn): Likewise.
10730 (mve_vstrwq_scatter_offset_p_<supf>v4si_insn): Likewise.
10731 (mve_vstrwq_scatter_offset_<supf>v4si_insn): Likewise.
10732 (mve_vstrwq_scatter_shifted_offset_fv4sf_insn): Likewise.
10733 (mve_vstrwq_scatter_shifted_offset_p_fv4sf_insn): Likewise.
10734 (mve_vstrwq_scatter_shifted_offset_p_<supf>v4si_insn): Likewise.
10735 (mve_vstrwq_scatter_shifted_offset_<supf>v4si_insn): Likewise.
10737 2020-06-04 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
10739 * config/arm/arm_mve.h (__arm_vbicq_n_u16): Correct the intrinsic
10741 (__arm_vbicq_n_s16): Likewise.
10742 (__arm_vbicq_n_u32): Likewise.
10743 (__arm_vbicq_n_s32): Likewise.
10744 (__arm_vbicq): Modify polymorphic variant.
10746 2020-06-04 Richard Biener <rguenther@suse.de>
10748 * tree-vectorizer.h (vect_get_slp_vect_def): Declare.
10749 * tree-vect-loop.c (vect_create_epilog_for_reduction): Use it.
10750 * tree-vect-stmts.c (vect_transform_stmt): Likewise.
10751 (vect_is_simple_use): Use SLP_TREE_REPRESENTATIVE.
10752 * tree-vect-slp.c (vect_get_slp_vect_defs): Fold into single
10754 (vect_get_slp_defs): ... here.
10755 (vect_get_slp_vect_def): New function.
10757 2020-06-04 Richard Biener <rguenther@suse.de>
10759 * tree-vectorizer.h (_slp_tree::lanes): New.
10760 (SLP_TREE_LANES): Likewise.
10761 * tree-vect-loop.c (vect_create_epilog_for_reduction): Use it.
10762 (vectorizable_reduction): Likewise.
10763 (vect_transform_cycle_phi): Likewise.
10764 (vectorizable_induction): Likewise.
10765 (vectorizable_live_operation): Likewise.
10766 * tree-vect-slp.c (_slp_tree::_slp_tree): Initialize lanes.
10767 (vect_create_new_slp_node): Likewise.
10768 (slp_copy_subtree): Copy it.
10769 (vect_optimize_slp): Use it.
10770 (vect_slp_analyze_node_operations_1): Likewise.
10771 (vect_slp_convert_to_external): Likewise.
10772 (vect_bb_vectorization_profitable_p): Likewise.
10773 * tree-vect-stmts.c (vectorizable_load): Likewise.
10774 (get_vectype_for_scalar_type): Likewise.
10776 2020-06-04 Richard Biener <rguenther@suse.de>
10778 * tree-vect-slp.c (vect_update_all_shared_vectypes): Remove.
10779 (vect_build_slp_tree_2): Simplify building all external op
10780 nodes from scalars.
10781 (vect_slp_analyze_node_operations): Remove push/pop of
10782 STMT_VINFO_DEF_TYPE.
10783 (vect_schedule_slp_instance): Likewise.
10784 * tree-vect-stmts.c (ect_check_store_rhs): Pass in the
10785 stmt_info, use the vect_is_simple_use overload combining
10786 SLP and stmt_info analysis.
10787 (vect_is_simple_cond): Likewise.
10788 (vectorizable_store): Adjust.
10789 (vectorizable_condition): Likewise.
10790 (vect_is_simple_use): Fully handle invariant SLP nodes
10791 here. Amend stmt_info operand extraction with COND_EXPR
10793 * tree-vect-loop.c (vectorizable_reduction): Deal with
10794 COND_EXPR representation ugliness.
10796 2020-06-04 Hongtao Liu <hongtao.liu@inte.com>
10799 * config/i386/sse.md (*vcvtps2ph_store<merge_mask_name>):
10800 Refine from *vcvtps2ph_store<mask_name>.
10801 (vcvtps2ph256<mask_name>): Refine constraint from vm to v.
10802 (<mask_codefor>avx512f_vcvtps2ph512<mask_name>): Ditto.
10803 (*vcvtps2ph256<merge_mask_name>): New define_insn.
10804 (*avx512f_vcvtps2ph512<merge_mask_name>): Ditto.
10805 * config/i386/subst.md (merge_mask): New define_subst.
10806 (merge_mask_name): New define_subst_attr.
10807 (merge_mask_operand3): Ditto.
10809 2020-06-04 Hao Liu <hliu@os.amperecomputing.com>
10811 PR tree-optimization/89430
10812 * tree-ssa-phiopt.c
10813 (struct name_to_bb): Rename to ref_to_bb; add a new field exp;
10814 remove ssa_name_ver, store, offset fields.
10815 (struct ssa_names_hasher): Rename to refs_hasher; update functions.
10816 (class nontrapping_dom_walker): Rename m_seen_ssa_names to m_seen_refs.
10817 (nontrapping_dom_walker::add_or_mark_expr): Extend to support ARRAY_REFs
10818 and COMPONENT_REFs.
10820 2020-06-04 Andreas Schwab <schwab@suse.de>
10823 * config/ia64/ia64.h (ASM_OUTPUT_FDESC): Call assemble_external.
10825 2020-06-04 Hongtao.liu <hongtao.liu@intel.com>
10827 * config/i386/sse.md (pmov_dst_3_lower): New mode attribute.
10828 (trunc<mode><pmov_dst_3_lower>2): Refine from
10829 trunc<mode><pmov_dst_3>2.
10831 2020-06-03 Vitor Guidi <vitor.guidi@usp.br>
10833 * match.pd (tanh/sinh -> 1/cosh): New simplification.
10835 2020-06-03 Aaron Sawdey <acsawdey@linux.ibm.com>
10838 * config/rs6000/rs6000.c (is_stfs_insn): Rename to
10839 is_lfs_stfs_insn and make it recognize lfs as well.
10840 (prefixed_store_p): Use is_lfs_stfs_insn().
10841 (prefixed_load_p): Use is_lfs_stfs_insn() to recognize lfs.
10843 2020-06-03 Jan Hubicka <hubicka@ucw.cz>
10845 * ipa-devirt.c: Include data-streamer.h, lto-streamer.h and
10847 (odr_enums): New static var.
10848 (struct odr_enum_val): New struct.
10849 (class odr_enum): New struct.
10850 (odr_enum_map): New hashtable.
10851 (odr_types_equivalent_p): Drop code testing TYPE_VALUES.
10852 (add_type_duplicate): Likewise.
10853 (free_odr_warning_data): Do not free TYPE_VALUES.
10854 (register_odr_enum): New function.
10855 (ipa_odr_summary_write): New function.
10856 (ipa_odr_read_section): New function.
10857 (ipa_odr_summary_read): New function.
10858 (class pass_ipa_odr): New pass.
10859 (make_pass_ipa_odr): New function.
10860 * ipa-utils.h (register_odr_enum): Declare.
10861 * lto-section-in.c: (lto_section_name): Add odr_types section.
10862 * lto-streamer.h (enum lto_section_type): Add odr_types section.
10863 * passes.def: Add odr_types pass.
10864 * lto-streamer-out.c (DFS::DFS_write_tree_body): Do not stream
10866 (hash_tree): Likewise.
10867 * tree-streamer-in.c (lto_input_ts_type_non_common_tree_pointers):
10869 * tree-streamer-out.c (write_ts_type_non_common_tree_pointers):
10871 * timevar.def (TV_IPA_ODR): New timervar.
10872 * tree-pass.h (make_pass_ipa_odr): Declare.
10873 * tree.c (free_lang_data_in_type): Regiser ODR types.
10875 2020-06-03 Romain Naour <romain.naour@gmail.com>
10877 * Makefile.in (SELFTEST_DEPS): Move before including language makefile
10880 2020-06-03 Richard Biener <rguenther@suse.de>
10882 PR tree-optimization/95487
10883 * tree-vect-stmts.c (vectorizable_store): Use a truth type
10884 for the scatter mask.
10886 2020-06-03 Richard Biener <rguenther@suse.de>
10888 PR tree-optimization/95495
10889 * tree-vect-slp.c (vect_slp_analyze_node_operations): Use
10890 SLP_TREE_REPRESENTATIVE in the shift assertion.
10892 2020-06-03 Tom Tromey <tromey@adacore.com>
10894 * spellcheck.c (CASE_COST): New define.
10895 (BASE_COST): New define.
10896 (get_edit_distance): Recognize case changes.
10897 (get_edit_distance_cutoff): Update.
10898 (test_edit_distances): Update.
10899 (get_old_cutoff): Update.
10900 (test_find_closest_string): Add case sensitivity test.
10902 2020-06-03 Richard Biener <rguenther@suse.de>
10904 * tree-vect-slp.c (vect_bb_vectorization_profitable_p): Loop over
10905 the cost vector to unset the visited flag on stmts.
10907 2020-06-03 Tobias Burnus <tobias@codesourcery.com>
10909 * gimplify.c (omp_notice_variable): Use new hook.
10910 * langhooks-def.h (lhd_omp_predetermined_mapping): Declare.
10911 (LANG_HOOKS_OMP_PREDETERMINED_MAPPING): Define
10912 (LANG_HOOKS_DECLS): Add it.
10913 * langhooks.c (lhd_omp_predetermined_sharing): Remove bogus unused attr.
10914 (lhd_omp_predetermined_mapping): New.
10915 * langhooks.h (struct lang_hooks_for_decls): Add new hook.
10917 2020-06-03 Jan Hubicka <jh@suse.cz>
10919 * lto-streamer.h (LTO_tags): Reorder so frequent tags has small indexes;
10920 add LTO_first_tree_tag and LTO_first_gimple_tag.
10921 (lto_tag_is_tree_code_p): Update.
10922 (lto_tag_is_gimple_code_p): Update.
10923 (lto_gimple_code_to_tag): Update.
10924 (lto_tag_to_gimple_code): Update.
10925 (lto_tree_code_to_tag): Update.
10926 (lto_tag_to_tree_code): Update.
10928 2020-06-02 Felix Yang <felix.yang@huawei.com>
10931 * config/aarch64/aarch64.c (aarch64_short_vector_p):
10932 Leave later code to report an error if SVE is disabled.
10934 2020-06-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
10936 * config/aarch64/aarch64-cores.def (zeus): Define.
10937 * config/aarch64/aarch64-tune.md: Regenerate.
10938 * doc/invoke.texi (AArch64 Options): Document zeus -mcpu option.
10940 2020-06-02 Aaron Sawdey <acsawdey@linux.ibm.com>
10943 * config/rs6000/rs6000.c (prefixed_store_p): Add special case
10945 (is_stfs_insn): New helper function.
10947 2020-06-02 Jan Hubicka <jh@suse.cz>
10949 * lto-streamer-in.c (stream_read_tree_ref): Simplify streaming of
10951 * lto-streamer-out.c (stream_write_tree_ref): Likewise.
10953 2020-06-02 Andrew Stubbs <ams@codesourcery.com>
10955 * config/gcn/gcn-hsa.h (CC1_SPEC): Delete.
10956 * config/gcn/gcn.opt (-mlocal-symbol-id): Delete.
10957 * config/gcn/mkoffload.c (main): Don't use -mlocal-symbol-id.
10959 2020-06-02 Eric Botcazou <ebotcazou@adacore.com>
10961 PR middle-end/95395
10962 * optabs.c (expand_unop): Fix bits/bytes confusion in latest change.
10963 * tree-pretty-print.c (dump_generic_node) <ARRAY_TYPE>: Print quals.
10965 2020-06-02 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
10967 * config/s390/s390.c (print_operand): Emit vector alignment
10970 2020-06-02 Martin Liska <mliska@suse.cz>
10972 * coverage.c (get_coverage_counts): Skip sanity check for TOP N counters
10973 as they have variable number of counters.
10974 * gcov-dump.c (main): Add new option -r.
10975 (print_usage): Likewise.
10976 (tag_counters): All new raw format.
10977 * gcov-io.h (struct gcov_kvp): New.
10978 (GCOV_TOPN_VALUES): Remove.
10979 (GCOV_TOPN_VALUES_COUNTERS): Likewise.
10980 (GCOV_TOPN_MEM_COUNTERS): New.
10981 (GCOV_TOPN_DISK_COUNTERS): Likewise.
10982 (GCOV_TOPN_MAXIMUM_TRACKED_VALUES): Likewise.
10983 * ipa-profile.c (ipa_profile_generate_summary): Use
10984 GCOV_TOPN_MAXIMUM_TRACKED_VALUES.
10985 (ipa_profile_write_edge_summary): Likewise.
10986 (ipa_profile_read_edge_summary): Likewise.
10987 (ipa_profile): Remove usage of GCOV_TOPN_VALUES.
10988 * profile.c (sort_hist_values): Sort variable number
10990 (compute_value_histograms): Special case for TOP N counters
10991 that have dynamic number of key-value pairs.
10992 * value-prof.c (dump_histogram_value): Dump variable number
10993 of key-value pairs.
10994 (stream_in_histogram_value): Stream in variable number
10995 of key-value pairs for TOP N counter.
10996 (get_nth_most_common_value): Deal with variable number
10997 of key-value pairs.
10998 (dump_ic_profile): Use GCOV_TOPN_MAXIMUM_TRACKED_VALUES
10999 for loop iteration.
11000 (gimple_find_values_to_profile): Set GCOV_TOPN_MEM_COUNTERS
11002 * doc/gcov-dump.texi: Document new -r option.
11004 2020-06-02 Iain Buclaw <ibuclaw@gdcproject.org>
11007 * config.gcc (arm-wrs-vxworks7*): Set default cpu to generic-armv7-a.
11009 2020-06-01 Jeff Law <law@torsion.usersys.redhat.com>
11011 * lower-subreg.c (resolve_simple_move): If simplify_gen_subreg_concatn
11012 returns (const_int 0) for the destination, then emit nothing.
11014 2020-06-01 Jan Hubicka <hubicka@ucw.cz>
11016 * lto-streamer.h (enum LTO_tags): Remove LTO_field_decl_ref,
11017 LTO_function_decl_ref, LTO_label_decl_ref, LTO_namespace_decl_ref,
11018 LTO_result_decl_ref, LTO_type_decl_ref, LTO_type_ref,
11019 LTO_const_decl_ref, LTO_imported_decl_ref,
11020 LTO_translation_unit_decl_ref, LTO_global_decl_ref and
11021 LTO_namelist_decl_ref; add LTO_global_stream_ref.
11022 * lto-streamer-in.c (lto_input_tree_ref): Simplify.
11023 (lto_input_scc): Update.
11024 (lto_input_tree_1): Update.
11025 * lto-streamer-out.c (lto_indexable_tree_ref): Simlify.
11026 * lto-streamer.c (lto_tag_name): Update.
11028 2020-06-01 Jan Hubicka <hubicka@ucw.cz>
11030 * ipa-reference.c (stream_out_bitmap): Use lto_output_var_decl_ref.
11031 (ipa_reference_read_optimization_summary): Use lto_intput_var_decl_ref.
11032 * lto-cgraph.c (lto_output_node): Likewise.
11033 (lto_output_varpool_node): Likewise.
11034 (output_offload_tables): Likewise.
11035 (input_node): Likewise.
11036 (input_varpool_node): Likewise.
11037 (input_offload_tables): Likewise.
11038 * lto-streamer-in.c (lto_input_tree_ref): Declare.
11039 (lto_input_var_decl_ref): Declare.
11040 (lto_input_fn_decl_ref): Declare.
11041 * lto-streamer-out.c (lto_indexable_tree_ref): Use only one decl stream.
11042 (lto_output_var_decl_index): Rename to ..
11043 (lto_output_var_decl_ref): ... this.
11044 (lto_output_fn_decl_index): Rename to ...
11045 (lto_output_fn_decl_ref): ... this.
11046 * lto-streamer.h (enum lto_decl_stream_e_t): Remove per-type streams.
11047 (DEFINE_DECL_STREAM_FUNCS): Remove.
11048 (lto_output_var_decl_index): Remove.
11049 (lto_output_fn_decl_index): Remove.
11050 (lto_output_var_decl_ref): Declare.
11051 (lto_output_fn_decl_ref): Declare.
11052 (lto_input_var_decl_ref): Declare.
11053 (lto_input_fn_decl_ref): Declare.
11055 2020-06-01 Feng Xue <fxue@os.amperecomputing.com>
11057 * cgraphclones.c (materialize_all_clones): Adjust replace map dump.
11058 * ipa-param-manipulation.c (ipa_dump_adjusted_parameters): Do not
11059 dump infomation if there is no adjusted parameter.
11060 * (ipa_param_adjustments::dump): Adjust prefix spaces for dump string.
11062 2020-06-01 Aldy Hernandez <aldyh@redhat.com>
11064 * Makefile.in (gimple-array-bounds.o): New.
11065 * tree-vrp.c: Move array bounds code...
11066 * gimple-array-bounds.cc: ...here...
11067 * gimple-array-bounds.h: ...and here.
11069 2020-06-01 Aldy Hernandez <aldyh@redhat.com>
11071 * Makefile.in (OBJS): Add value-range-equiv.o.
11072 * tree-vrp.c (*value_range_equiv*): Move to...
11073 * value-range-equiv.cc: ...here.
11074 * tree-vrp.h (class value_range_equiv): Move to...
11075 * value-range-equiv.h: ...here.
11076 * vr-values.h: Include value-range-equiv.h.
11078 2020-06-01 Feng Xue <fxue@os.amperecomputing.com>
11081 * ipa-cp.c (propagate_aggs_across_jump_function): Check aggregate
11082 lattice for simple pass-through by-ref argument.
11084 2020-05-31 Jeff Law <law@redhat.com>
11086 * lra.c (add_auto_inc_notes): Remove function.
11087 * reload1.c (add_auto_inc_notes): Similarly. Move into...
11088 * rtlanal.c (add_auto_inc_notes): New function.
11089 * rtl.h (add_auto_inc_notes): Add prototype.
11090 * recog.c (peep2_attempt): Scan and add REG_INC notes to new insns
11093 2020-05-31 Jan Hubicka <jh@suse.cz>
11095 * lto-section-out.c (lto_output_decl_index): Remove.
11096 (lto_output_field_decl_index): Move to lto-streamer-out.c
11097 (lto_output_fn_decl_index): Move to lto-streamer-out.c
11098 (lto_output_namespace_decl_index): Remove.
11099 (lto_output_var_decl_index): Remove.
11100 (lto_output_type_decl_index): Remove.
11101 (lto_output_type_ref_index): Remove.
11102 * lto-streamer-out.c (output_type_ref): Remove.
11103 (lto_get_index): New function.
11104 (lto_output_tree_ref): Remove.
11105 (lto_indexable_tree_ref): New function.
11106 (lto_output_var_decl_index): Move here from lto-section-out.c; simplify.
11107 (lto_output_fn_decl_index): Move here from lto-section-out.c; simplify.
11108 (stream_write_tree_ref): Update.
11109 (lto_output_tree): Update.
11110 * lto-streamer.h (lto_output_decl_index): Remove prototype.
11111 (lto_output_field_decl_index): Remove prototype.
11112 (lto_output_namespace_decl_index): Remove prototype.
11113 (lto_output_type_decl_index): Remove prototype.
11114 (lto_output_type_ref_index): Remove prototype.
11115 (lto_output_var_decl_index): Move.
11116 (lto_output_fn_decl_index): Move
11118 2020-05-31 Jakub Jelinek <jakub@redhat.com>
11120 PR middle-end/95052
11121 * expr.c (store_expr): For shortedned_string_cst, ensure temp has
11124 2020-05-31 Jeff Law <law@redhat.com>
11126 * config/h8300/jumpcall.md (brabs, brabc): Disable patterns.
11128 2020-05-31 Jim Wilson <jimw@sifive.com>
11130 * config/riscv/riscv.md (zero_extendsidi2_shifted): New.
11132 2020-05-30 Jonathan Yong <10walls@gmail.com>
11134 * config/i386/mingw32.h (REAL_LIBGCC_SPEC): Insert -lkernel32
11135 after -lmsvcrt. This is necessary as libmsvcrt.a is not a pure
11136 import library, but also contains some functions that invoke
11137 others in KERNEL32.DLL.
11139 2020-05-29 Segher Boessenkool <segher@kernel.crashing.org>
11141 * config/rs6000/altivec.md (altivec_vmrghw_direct): Prefer VSX form.
11142 (altivec_vmrglw_direct): Ditto.
11143 (altivec_vperm_<mode>_direct): Ditto.
11144 (altivec_vperm_v8hiv16qi): Ditto.
11145 (*altivec_vperm_<mode>_uns_internal): Ditto.
11146 (*altivec_vpermr_<mode>_internal): Ditto.
11147 (vperm_v8hiv4si): Ditto.
11148 (vperm_v16qiv8hi): Ditto.
11150 2020-05-29 Jan Hubicka <jh@suse.cz>
11152 * lto-streamer-in.c (streamer_read_chain): Move here from
11153 tree-streamer-in.c.
11154 (stream_read_tree_ref): New.
11155 (lto_input_tree_1): Simplify.
11156 * lto-streamer-out.c (stream_write_tree_ref): New.
11157 (lto_write_tree_1): Simplify.
11158 (lto_output_tree_1): Simplify.
11159 (DFS::DFS_write_tree): Simplify.
11160 (streamer_write_chain): Move here from tree-stremaer-out.c.
11161 * lto-streamer.h (lto_output_tree_ref): Update prototype.
11162 (stream_read_tree_ref): Declare
11163 (stream_write_tree_ref): Declare
11164 * tree-streamer-in.c (streamer_read_chain): Update to use
11165 stream_read_tree_ref.
11166 (lto_input_ts_common_tree_pointers): Likewise.
11167 (lto_input_ts_vector_tree_pointers): Likewise.
11168 (lto_input_ts_poly_tree_pointers): Likewise.
11169 (lto_input_ts_complex_tree_pointers): Likewise.
11170 (lto_input_ts_decl_minimal_tree_pointers): Likewise.
11171 (lto_input_ts_decl_common_tree_pointers): Likewise.
11172 (lto_input_ts_decl_with_vis_tree_pointers): Likewise.
11173 (lto_input_ts_field_decl_tree_pointers): Likewise.
11174 (lto_input_ts_function_decl_tree_pointers): Likewise.
11175 (lto_input_ts_type_common_tree_pointers): Likewise.
11176 (lto_input_ts_type_non_common_tree_pointers): Likewise.
11177 (lto_input_ts_list_tree_pointers): Likewise.
11178 (lto_input_ts_vec_tree_pointers): Likewise.
11179 (lto_input_ts_exp_tree_pointers): Likewise.
11180 (lto_input_ts_block_tree_pointers): Likewise.
11181 (lto_input_ts_binfo_tree_pointers): Likewise.
11182 (lto_input_ts_constructor_tree_pointers): Likewise.
11183 (lto_input_ts_omp_clause_tree_pointers): Likewise.
11184 * tree-streamer-out.c (streamer_write_chain): Update to use
11185 stream_write_tree_ref.
11186 (write_ts_common_tree_pointers): Likewise.
11187 (write_ts_vector_tree_pointers): Likewise.
11188 (write_ts_poly_tree_pointers): Likewise.
11189 (write_ts_complex_tree_pointers): Likewise.
11190 (write_ts_decl_minimal_tree_pointers): Likewise.
11191 (write_ts_decl_common_tree_pointers): Likewise.
11192 (write_ts_decl_non_common_tree_pointers): Likewise.
11193 (write_ts_decl_with_vis_tree_pointers): Likewise.
11194 (write_ts_field_decl_tree_pointers): Likewise.
11195 (write_ts_function_decl_tree_pointers): Likewise.
11196 (write_ts_type_common_tree_pointers): Likewise.
11197 (write_ts_type_non_common_tree_pointers): Likewise.
11198 (write_ts_list_tree_pointers): Likewise.
11199 (write_ts_vec_tree_pointers): Likewise.
11200 (write_ts_exp_tree_pointers): Likewise.
11201 (write_ts_block_tree_pointers): Likewise.
11202 (write_ts_binfo_tree_pointers): Likewise.
11203 (write_ts_constructor_tree_pointers): Likewise.
11204 (write_ts_omp_clause_tree_pointers): Likewise.
11205 (streamer_write_tree_body): Likewise.
11206 (streamer_write_integer_cst): Likewise.
11207 * tree-streamer.h (streamer_read_chain):Declare.
11208 (streamer_write_chain):Declare.
11209 (streamer_write_tree_body): Update prototype.
11210 (streamer_write_integer_cst): Update prototype.
11212 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
11215 * configure: Regenerated.
11217 2020-05-29 Andrew Stubbs <ams@codesourcery.com>
11219 * config/gcn/gcn-valu.md (add<mode>3_vcc_zext_dup): Add early clobber.
11220 (add<mode>3_vcc_zext_dup_exec): Likewise.
11221 (add<mode>3_vcc_zext_dup2): Likewise.
11222 (add<mode>3_vcc_zext_dup2_exec): Likewise.
11224 2020-05-29 Richard Biener <rguenther@suse.de>
11226 PR tree-optimization/95272
11227 * tree-vectorizer.h (_slp_tree::representative): Add.
11228 (SLP_TREE_REPRESENTATIVE): Likewise.
11229 * tree-vect-loop.c (vectorizable_reduction): Adjust SLP
11231 (vectorizable_live_operation): Use the representative to
11232 attach the reduction info to.
11233 * tree-vect-slp.c (_slp_tree::_slp_tree): Initialize
11234 SLP_TREE_REPRESENTATIVE.
11235 (vect_create_new_slp_node): Likewise.
11236 (slp_copy_subtree): Copy it.
11237 (vect_slp_rearrange_stmts): Re-arrange even COND_EXPR stmts.
11238 (vect_slp_analyze_node_operations_1): Pass the representative
11239 to vect_analyze_stmt.
11240 (vect_schedule_slp_instance): Pass the representative to
11241 vect_transform_stmt.
11243 2020-05-29 Richard Biener <rguenther@suse.de>
11245 PR tree-optimization/95356
11246 * tree-vect-stmts.c (vectorizable_shift): Do in-place SLP
11247 node hacking during analysis.
11249 2020-05-29 Jan Hubicka <hubicka@ucw.cz>
11252 * lto-streamer-out.c (lto_output_tree): Disable redundant streaming.
11254 2020-05-29 Richard Biener <rguenther@suse.de>
11256 PR tree-optimization/95403
11257 * tree-vect-stmts.c (vect_init_vector_1): Guard against NULL
11260 2020-05-29 Jakub Jelinek <jakub@redhat.com>
11262 PR middle-end/95315
11263 * omp-general.c (omp_resolve_declare_variant): Fix up addition of
11264 declare variant cgraph node removal callback.
11266 2020-05-29 Jakub Jelinek <jakub@redhat.com>
11268 PR middle-end/95052
11269 * expr.c (store_expr): If expr_size is constant and significantly
11270 larger than TREE_STRING_LENGTH, set temp to just the
11271 TREE_STRING_LENGTH portion of the STRING_CST.
11273 2020-05-29 Richard Biener <rguenther@suse.de>
11275 PR tree-optimization/95393
11276 * tree-ssa-phiopt.c (minmax_replacement): Use gimple_build
11277 to build the min/max expression so we simplify cases like
11278 MAX(0, s) immediately.
11280 2020-05-29 Joe Ramsay <joe.ramsay@arm.com>
11282 * config/aarch64/aarch64-sve.md (<LOGICAL:optab><mode>3): Add support
11283 for unpacked EOR, ORR, AND.
11285 2020-05-28 Nicolas Bértolo <nicolasbertolo@gmail.com>
11287 * Makefile.in: don't look for libiberty in the "pic" subdirectory
11288 when building for Mingw. Add dependency on xgcc with the proper
11291 2020-05-28 Jeff Law <law@redhat.com>
11293 * config/h8300/logical.md (bclrhi_msx): Remove pattern.
11295 2020-05-28 Jeff Law <law@redhat.com>
11297 * config/h8300/logical.md (HImode H8/SX bit-and splitter): Don't
11298 make a nonzero adjustment to the memory offset.
11299 (b<ior,xor>hi_msx): Turn into a splitter.
11301 2020-05-28 Eric Botcazou <ebotcazou@adacore.com>
11303 * gimple-ssa-store-merging.c (merged_store_group::can_be_merged_into):
11304 Fix off-by-one error.
11306 2020-05-28 Richard Sandiford <richard.sandiford@arm.com>
11308 * config/aarch64/aarch64.h (aarch64_frame): Add a comment above
11309 wb_candidate1 and wb_candidate2.
11310 * config/aarch64/aarch64.c (aarch64_layout_frame): Invalidate
11311 wb_candidate1 and wb_candidate2 if we decided not to use them.
11313 2020-05-28 Richard Sandiford <richard.sandiford@arm.com>
11316 * config/aarch64/aarch64.c (aarch64_expand_epilogue): Assert that
11317 we have at least some CFI operations when using a frame pointer.
11318 Only redefine the CFA if we have CFI operations.
11320 2020-05-28 Richard Biener <rguenther@suse.de>
11322 * tree-vect-slp.c (vect_prologue_cost_for_slp): Remove
11323 case for !SLP_TREE_VECTYPE.
11324 (vect_slp_analyze_node_operations): Adjust.
11326 2020-05-28 Richard Biener <rguenther@suse.de>
11328 * tree-vectorizer.h (_slp_tree::vec_defs): Add.
11329 (SLP_TREE_VEC_DEFS): Likewise.
11330 * tree-vect-slp.c (_slp_tree::_slp_tree): Adjust.
11331 (_slp_tree::~_slp_tree): Likewise.
11332 (vect_mask_constant_operand_p): Remove unused function.
11333 (vect_get_constant_vectors): Rename to...
11334 (vect_create_constant_vectors): ... this. Take the
11335 invariant node as argument and code generate it. Remove
11336 dead code, remove temporary asserts. Pass a NULL stmt_info
11337 to vect_init_vector.
11338 (vect_get_slp_defs): Simplify.
11339 (vect_schedule_slp_instance): Code-generate externals and
11340 invariants using vect_create_constant_vectors.
11342 2020-05-28 Richard Biener <rguenther@suse.de>
11344 * tree-vect-stmts.c (vect_finish_stmt_generation_1):
11345 Conditionalize stmt_info use, assert the new stmt cannot throw
11346 when not specified.
11347 (vect_finish_stmt_generation): Adjust assert.
11349 2020-05-28 Richard Biener <rguenther@suse.de>
11351 PR tree-optimization/95273
11352 PR tree-optimization/95356
11353 * tree-vect-stmts.c (vectorizable_shift): Adjust when and to
11354 what we set the vector type of the shift operand SLP node
11357 2020-05-28 Andrea Corallo <andrea.corallo@arm.com>
11359 * config/arm/arm.c (mve_vector_mem_operand): Fix unwanted
11362 2020-05-28 Martin Liska <mliska@suse.cz>
11365 * doc/invoke.texi: Add missing params, remove max-once-peeled-insns and
11366 rename ipcp-unit-growth to ipa-cp-unit-growth.
11368 2020-05-28 Hongtao Liu <hongtao.liu@intel.com>
11370 * config/i386/sse.md (*avx512vl_<code>v2div2qi2_store_1): Rename
11371 from *avx512vl_<code>v2div2qi_store and refine memory size of
11373 (*avx512vl_<code>v2div2qi2_mask_store_1): Ditto.
11374 (*avx512vl_<code><mode>v4qi2_store_1): Ditto.
11375 (*avx512vl_<code><mode>v4qi2_mask_store_1): Ditto.
11376 (*avx512vl_<code><mode>v8qi2_store_1): Ditto.
11377 (*avx512vl_<code><mode>v8qi2_mask_store_1): Ditto.
11378 (*avx512vl_<code><mode>v4hi2_store_1): Ditto.
11379 (*avx512vl_<code><mode>v4hi2_mask_store_1): Ditto.
11380 (*avx512vl_<code>v2div2hi2_store_1): Ditto.
11381 (*avx512vl_<code>v2div2hi2_mask_store_1): Ditto.
11382 (*avx512vl_<code>v2div2si2_store_1): Ditto.
11383 (*avx512vl_<code>v2div2si2_mask_store_1): Ditto.
11384 (*avx512f_<code>v8div16qi2_store_1): Ditto.
11385 (*avx512f_<code>v8div16qi2_mask_store_1): Ditto.
11386 (*avx512vl_<code>v2div2qi2_store_2): New define_insn_and_split.
11387 (*avx512vl_<code>v2div2qi2_mask_store_2): Ditto.
11388 (*avx512vl_<code><mode>v4qi2_store_2): Ditto.
11389 (*avx512vl_<code><mode>v4qi2_mask_store_2): Ditto.
11390 (*avx512vl_<code><mode>v8qi2_store_2): Ditto.
11391 (*avx512vl_<code><mode>v8qi2_mask_store_2): Ditto.
11392 (*avx512vl_<code><mode>v4hi2_store_2): Ditto.
11393 (*avx512vl_<code><mode>v4hi2_mask_store_2): Ditto.
11394 (*avx512vl_<code>v2div2hi2_store_2): Ditto.
11395 (*avx512vl_<code>v2div2hi2_mask_store_2): Ditto.
11396 (*avx512vl_<code>v2div2si2_store_2): Ditto.
11397 (*avx512vl_<code>v2div2si2_mask_store_2): Ditto.
11398 (*avx512f_<code>v8div16qi2_store_2): Ditto.
11399 (*avx512f_<code>v8div16qi2_mask_store_2): Ditto.
11400 * config/i386/i386-builtin-types.def: Adjust builtin type.
11401 * config/i386/i386-expand.c: Ditto.
11402 * config/i386/i386-builtin.def: Adjust builtin.
11403 * config/i386/avx512fintrin.h: Ditto.
11404 * config/i386/avx512vlbwintrin.h: Ditto.
11405 * config/i386/avx512vlintrin.h: Ditto.
11407 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
11409 PR gcov-profile/95332
11410 * gcov-io.c (gcov_var::endian): Move field.
11411 (from_file): Add IN_GCOV_TOOL check.
11412 * gcov-io.h (gcov_magic): Ditto.
11414 2020-05-28 Max Filippov <jcmvbkbc@gmail.com>
11416 * config/xtensa/xtensa.c (xtensa_delegitimize_address): New
11418 (TARGET_DELEGITIMIZE_ADDRESS): New macro.
11420 2020-05-27 Eric Botcazou <ebotcazou@adacore.com>
11422 * builtin-types.def (BT_UINT128): New primitive type.
11423 (BT_FN_UINT128_UINT128): New function type.
11424 * builtins.def (BUILT_IN_BSWAP128): New GCC builtin.
11425 * doc/extend.texi (__builtin_bswap128): Document it.
11426 * builtins.c (expand_builtin): Deal with BUILT_IN_BSWAP128.
11427 (is_inexpensive_builtin): Likewise.
11428 * fold-const-call.c (fold_const_call_ss): Likewise.
11429 * fold-const.c (tree_call_nonnegative_warnv_p): Likewise.
11430 * tree-ssa-ccp.c (evaluate_stmt): Likewise.
11431 * tree-vect-stmts.c (vect_get_data_ptr_increment): Likewise.
11432 (vectorizable_call): Likewise.
11433 * optabs.c (expand_unop): Always use the double word path for it.
11434 * tree-core.h (enum tree_index): Add TI_UINT128_TYPE.
11435 * tree.h (uint128_type_node): New global type.
11436 * tree.c (build_common_tree_nodes): Build it if TImode is supported.
11438 2020-05-27 Uroš Bizjak <ubizjak@gmail.com>
11440 * config/i386/mmx.md (*mmx_haddv2sf3): Remove SSE alternatives.
11441 (mmx_hsubv2sf3): Ditto.
11442 (mmx_haddsubv2sf3): New expander.
11443 (*mmx_haddsubv2sf3): Rename from mmx_addsubv2sf3. Correct
11444 RTL template to model horizontal subtraction and addition.
11445 * config/i386/i386-builtin.def (IX86_BUILTIN_PFPNACC):
11448 2020-05-27 Uroš Bizjak <ubizjak@gmail.com>
11451 * config/i386/sse.md
11452 (<mask_codefor>avx512f_<code>v16qiv16si2<mask_name>):
11453 Remove %q operand modifier from insn template.
11454 (avx512f_<code>v8hiv8di2<mask_name>): Ditto.
11456 2020-05-27 Uroš Bizjak <ubizjak@gmail.com>
11458 * config/i386/mmx.md (mmx_pswapdsf2): Add SSE alternatives.
11459 Enable insn pattern for TARGET_MMX_WITH_SSE.
11460 (*mmx_movshdup): New insn pattern.
11461 (*mmx_movsldup): Ditto.
11462 (*mmx_movss): Ditto.
11463 * config/i386/i386-expand.c (ix86_vectorize_vec_perm_const):
11465 (expand_vec_perm_movs): Handle E_V2SFmode.
11466 (expand_vec_perm_even_odd): Ditto.
11467 (expand_vec_perm_broadcast_1): Assert that E_V2SFmode
11468 is already handled by standard shuffle patterns.
11470 2020-05-27 Richard Biener <rguenther@suse.de>
11472 PR tree-optimization/95295
11473 * tree-ssa-loop-im.c (sm_seq_valid_bb): Fix sinking after
11474 merging stores from paths.
11476 2020-05-27 Richard Biener <rguenther@suse.de>
11478 PR tree-optimization/95356
11479 * tree-vect-stmts.c (vectorizable_shift): Adjust vector
11480 type for the shift operand.
11482 2020-05-27 Richard Biener <rguenther@suse.de>
11484 PR tree-optimization/95335
11485 * tree-vect-slp.c (vect_slp_analyze_node_operations): Reset
11486 lvisited for nodes made external.
11488 2020-05-27 Richard Biener <rguenther@suse.de>
11490 * dump-context.h (debug_dump_context): New class.
11491 (dump_context): Make it friend.
11492 * dumpfile.c (debug_dump_context::debug_dump_context):
11494 (debug_dump_context::~debug_dump_context): Likewise.
11495 * tree-vect-slp.c: Include dump-context.h.
11496 (vect_print_slp_tree): Dump a single SLP node.
11497 (debug): New overload for slp_tree.
11498 (vect_print_slp_graph): Rename from vect_print_slp_tree and
11500 (vect_analyze_slp_instance): Adjust.
11502 2020-05-27 Jakub Jelinek <jakub@redhat.com>
11504 PR middle-end/95315
11505 * omp-general.c (omp_declare_variant_remove_hook): New function.
11506 (omp_resolve_declare_variant): Always return base if it is already
11507 declare_variant_alt magic decl itself. Register
11508 omp_declare_variant_remove_hook as cgraph node removal hook.
11510 2020-05-27 Jeff Law <law@redhat.com>
11512 * config/h8300/testcompare.md (tst_extzv_1_n): Do not accept constants
11513 for the primary input operand.
11514 (tstsi_variable_bit_qi): Similarly.
11516 2020-05-26 Uroš Bizjak <ubizjak@gmail.com>
11518 * config/i386/mmx.md (mmx_pswapdv2si2): Add SSE2 alternative.
11520 2020-05-26 Tobias Burnus <tobias@codesourcery.com>
11523 * ipa-utils.h (odr_type_p): Also permit calls with
11524 only flag_generate_offload set.
11526 2020-05-26 Alexandre Oliva <oliva@adacore.com>
11528 * gcc.c (validate_switches): Add braced parameter. Adjust all
11529 callers. Expected and skip trailing brace only if braced.
11530 Return after handling one atom otherwise.
11531 (DUMPS_OPTIONS): New.
11532 (cpp_debug_options): Define in terms of it.
11534 2020-05-26 Richard Biener <rguenther@suse.de>
11536 PR tree-optimization/95327
11537 * tree-vect-stmts.c (vectorizable_shift): Compute op1_vectype
11538 when we are not using a scalar shift.
11540 2020-05-26 Uroš Bizjak <ubizjak@gmail.com>
11542 * config/i386/mmx.md (*mmx_pshufd_1): New insn pattern.
11543 * config/i386/i386-expand.c (ix86_vectorize_vec_perm_const):
11544 Handle E_V2SImode and E_V4HImode.
11545 (expand_vec_perm_even_odd_1): Handle E_V4HImode.
11546 Assert that E_V2SImode is already handled.
11547 (expand_vec_perm_broadcast_1): Assert that E_V2SImode
11548 is already handled by standard shuffle patterns.
11550 2020-05-26 Jan Hubicka <jh@suse.cz>
11552 * tree.c (free_lang_data_in_type): Simpify types of TYPE_VALUES in
11555 2020-05-26 Jakub Jelinek <jakub@redhat.com>
11558 * gimplify.c (find_combined_omp_for): Move to omp-general.c.
11559 * omp-general.h (find_combined_omp_for): Declare.
11560 * omp-general.c: Include tree-iterator.h.
11561 (find_combined_omp_for): New function, moved from gimplify.c.
11563 2020-05-26 Alexandre Oliva <oliva@adacore.com>
11565 * common.opt (aux_base_name): Define.
11566 (dumpbase, dumpdir): Mark as Driver options.
11567 (-dumpbase, -dumpdir): Likewise.
11568 (dumpbase-ext, -dumpbase-ext): New.
11569 (auxbase, auxbase-strip): Drop.
11570 * doc/invoke.texi (-dumpbase, -dumpbase-ext, -dumpdir):
11572 (-o): Introduce the notion of primary output, mention it
11573 influences auxiliary and dump output names as well, add
11575 (-save-temps): Adjust, move examples into -dump*.
11576 (-save-temps=cwd, -save-temps=obj): Likewise.
11577 (-fdump-final-insns): Adjust.
11578 * dwarf2out.c (gen_producer_string): Drop auxbase and
11579 auxbase_strip; add dumpbase_ext.
11580 * gcc.c (enum save_temps): Add SAVE_TEMPS_DUMP.
11581 (save_temps_prefix, save_temps_length): Drop.
11582 (save_temps_overrides_dumpdir): New.
11583 (dumpdir, dumpbase, dumpbase_ext): New.
11584 (dumpdir_length, dumpdir_trailing_dash_added): New.
11585 (outbase, outbase_length): New.
11586 (The Specs Language): Introduce %". Adjust %b and %B.
11587 (ASM_FINAL_SPEC): Use %b.dwo for an aux output name always.
11588 Precede object file with %w when it's the primary output.
11589 (cpp_debug_options): Do not pass on incoming -dumpdir,
11590 -dumpbase and -dumpbase-ext options; recompute them with
11592 (cc1_options): Drop auxbase with and without compare-debug;
11593 use cpp_debug_options instead of dumpbase. Mark asm output
11594 with %w when it's the primary output.
11595 (static_spec_functions): Drop %:compare-debug-auxbase-opt and
11596 %:replace-exception. Add %:dumps.
11597 (driver_handle_option): Implement -save-temps=*/-dumpdir
11598 mutual overriding logic. Save dumpdir, dumpbase and
11599 dumpbase-ext options. Do not save output_file in
11601 (adds_single_suffix_p): New.
11602 (single_input_file_index): New.
11603 (process_command): Combine output dir, output base name, and
11604 dumpbase into dumpdir and outbase.
11605 (set_collect_gcc_options): Pass a possibly-adjusted -dumpdir.
11606 (do_spec_1): Optionally dumpdir instead of save_temps_prefix,
11607 and outbase instead of input_basename in %b, %B and in
11608 -save-temps aux files. Handle empty argument %".
11609 (driver::maybe_run_linker): Adjust dumpdir and auxbase.
11610 (compare_debug_dump_opt_spec_function): Adjust gkd dump file
11611 naming. Spec-quote the computed -fdump-final-insns file name.
11612 (debug_auxbase_opt): Drop.
11613 (compare_debug_self_opt_spec_function): Drop auxbase-strip
11615 (compare_debug_auxbase_opt_spec_function): Drop.
11616 (not_actual_file_p): New.
11617 (replace_extension_spec_func): Drop.
11618 (dumps_spec_func): New.
11619 (convert_white_space): Split-out parts into...
11620 (quote_string, whitespace_to_convert_p): ... these. New.
11621 (quote_spec_char_p, quote_spec, quote_spec_arg): New.
11622 (driver::finalize): Release and reset new variables; drop
11624 * lto-wrapper.c (HAVE_TARGET_EXECUTABLE_SUFFIX): Define if...
11625 (TARGET_EXECUTABLE_SUFFIX): ... is defined; define this to the
11626 empty string otherwise.
11627 (DUMPBASE_SUFFIX): Drop leading period.
11628 (debug_objcopy): Use concat.
11629 (run_gcc): Recognize -save-temps=* as -save-temps too. Obey
11630 -dumpdir. Pass on empty dumpdir and dumpbase with a directory
11631 component. Simplify temp file names.
11632 * opts.c (finish_options): Drop aux base name handling.
11633 (common_handle_option): Drop auxbase-strip handling.
11634 * toplev.c (print_switch_values): Drop auxbase, add
11636 (process_options): Derive aux_base_name from dump_base_name
11638 (lang_dependent_init): Compute dump_base_ext along with
11639 dump_base_name. Disable stack usage and callgraph-info during
11640 lto generation and compare-debug recompilation.
11642 2020-05-26 Hongtao Liu <hongtao.liu@intel.com>
11643 Uroš Bizjak <ubizjak@gmail.com>
11647 * config/i386/sse.md (<floatunssuffix>v2div2sf2): New expander.
11648 (fix<fixunssuffix>_truncv2sfv2di2): Ditto.
11649 (avx512dq_float<floatunssuffix>v2div2sf2): Renaming from
11650 float<floatunssuffix>v2div2sf2.
11651 (avx512dq_fix<fixunssuffix>_truncv2sfv2di2<mask_name>):
11652 Renaming from fix<fixunssuffix>_truncv2sfv2di2<mask_name>.
11653 (vec_pack<floatprefix>_float_<mode>): Adjust icode name.
11654 (vec_unpack_<fixprefix>fix_trunc_lo_<mode>): Ditto.
11655 (vec_unpack_<fixprefix>fix_trunc_hi_<mode>): Ditto.
11656 * config/i386/i386-builtin.def: Ditto.
11657 * emit-rtl.c (validate_subreg): Allow use of *paradoxical* vector
11658 subregs when both omode and imode are vector mode and
11659 have the same inner mode.
11661 2020-05-25 Eric Botcazou <ebotcazou@adacore.com>
11663 * gimple-ssa-store-merging.c (merged_store_group::can_be_merged_into):
11664 Only turn MEM_REFs into bit-field stores for small bit-field regions.
11665 (imm_store_chain_info::output_merged_store): Be prepared for sources
11666 with non-integral type in the bit-field insertion case.
11667 (pass_store_merging::process_store): Use MAX_BITSIZE_MODE_ANY_INT as
11668 the largest size for the bit-field case.
11670 2020-05-25 Uroš Bizjak <ubizjak@gmail.com>
11672 * config/i386/mmx.md (*vec_dupv2sf): Redefine as define_insn.
11673 (mmx_pshufw_1): Change Yv constraint to xYw. Correct type attribute.
11674 (*vec_dupv4hi): Redefine as define_insn.
11675 Remove alternative with general register input.
11676 (*vec_dupv2si): Ditto.
11678 2020-05-25 Richard Biener <rguenther@suse.de>
11680 PR tree-optimization/95309
11681 * tree-vect-slp.c (vect_get_constant_vectors): Move number
11682 of vector computation ...
11683 (vect_slp_analyze_node_operations): ... to analysis phase.
11685 2020-05-25 Jan Hubicka <hubicka@ucw.cz>
11687 * lto-streamer-out.c (lto_output_tree): Add streamer_debugging check.
11688 * lto-streamer.h (streamer_debugging): New constant
11689 * tree-streamer-in.c (streamer_read_tree_bitfields): Add
11690 streamer_debugging check.
11691 (streamer_get_pickled_tree): Likewise.
11692 * tree-streamer-out.c (pack_ts_base_value_fields): Likewise.
11694 2020-05-25 Richard Biener <rguenther@suse.de>
11696 PR tree-optimization/95308
11697 * tree-ssa-forwprop.c (pass_forwprop::execute): Generalize
11698 test for TARGET_MEM_REFs.
11700 2020-05-25 Richard Biener <rguenther@suse.de>
11702 PR tree-optimization/95295
11703 * tree-ssa-loop-im.c (sm_seq_valid_bb): Compare remat stores
11704 RHSes and drop to full sm_other if they are not equal.
11706 2020-05-25 Richard Biener <rguenther@suse.de>
11708 PR tree-optimization/95271
11709 * tree-vect-stmts.c (vectorizable_bswap): Update invariant SLP
11710 children vector type.
11711 (vectorizable_call): Pass down slp ops.
11713 2020-05-25 Richard Biener <rguenther@suse.de>
11715 PR tree-optimization/95297
11716 * tree-vect-stmts.c (vectorizable_shift): For scalar_shift_arg
11717 skip updating operand 1 vector type.
11719 2020-05-25 Richard Biener <rguenther@suse.de>
11721 PR tree-optimization/95284
11722 * tree-ssa-sink.c (sink_common_stores_to_bb): Amend previous
11725 2020-05-25 Hongtao Liu <hongtao.liu@intel.com>
11728 * config/i386/sse.md (sf2dfmode_lower): New mode attribute.
11729 (trunc<mode><sf2dfmode_lower>2) New expander.
11730 (extend<sf2dfmode_lower><mode>2): Ditto.
11732 2020-05-23 Iain Sandoe <iain@sandoe.co.uk>
11734 * config/darwin.h (ASM_GENERATE_INTERNAL_LABEL): Make
11735 ubsan_{data,type},ASAN symbols linker-visible.
11737 2020-05-22 Jan Hubicka <hubicka@ucw.cz>
11739 * lto-streamer-out.c (DFS::DFS): Silence warning.
11741 2020-05-22 Uroš Bizjak <ubizjak@gmail.com>
11744 * config/i386/i386.md (<rounding_insn><mode>2): Do not try to
11745 expand non-sse4 ROUND_ROUNDEVEN rounding via SSE support routines.
11747 2020-05-22 Jan Hubicka <hubicka@ucw.cz>
11749 * lto-streamer-out.c (lto_output_tree): Do not stream final ref if
11752 2020-05-22 Jan Hubicka <hubicka@ucw.cz>
11754 * lto-section-out.c (lto_output_decl_index): Adjust dump indentation.
11755 * lto-streamer-out.c (create_output_block): Fix whitespace
11756 (lto_write_tree_1): Add (debug) dump.
11757 (DFS::DFS): Add dump.
11758 (DFS::DFS_write_tree_body): Do not dump here.
11759 (lto_output_tree): Improve dumping; do not stream ref when not needed.
11760 (produce_asm_for_decls): Fix whitespace.
11761 * tree-streamer-out.c (streamer_write_tree_header): Add dump.
11762 * tree-streamer-out.c (streamer_write_integer_cst): Add debug dump.
11764 2020-05-22 Hongtao.liu <hongtao.liu@intel.com>
11767 * config/i386/sse.md (trunc<pmov_src_lower><mode>2): New expander
11768 (truncv32hiv32qi2): Ditto.
11769 (trunc<ssedoublemodelower><mode>2): Ditto.
11770 (trunc<mode><pmov_dst_3>2): Ditto.
11771 (trunc<mode><pmov_dst_mode_4>2): Ditto.
11772 (truncv2div2si2): Ditto.
11773 (truncv8div8qi2): Ditto.
11774 (avx512f_<code>v8div16qi2): Renaming from *avx512f_<code>v8div16qi2.
11775 (avx512vl_<code>v2div2si): Renaming from *avx512vl_<code>v2div2si2.
11776 (avx512vl_<code><mode>v2<ssecakarnum>qi2): Renaming from
11777 *avx512vl_<code><mode>v<ssescalarnum>qi2.
11779 2020-05-22 H.J. Lu <hongjiu.lu@intel.com>
11782 * config/i386/driver-i386.c (host_detect_local_cpu): Detect
11785 2020-05-22 Richard Biener <rguenther@suse.de>
11787 PR tree-optimization/95268
11788 * tree-ssa-sink.c (sink_common_stores_to_bb): Handle clobbers
11791 2020-05-22 Jan Hubicka <hubicka@ucw.cz>
11793 * tree-streamer.c (record_common_node): Fix hash value of pre-streamed
11796 2020-05-22 Jan Hubicka <hubicka@ucw.cz>
11798 * lto-streamer-in.c (lto_read_tree): Do not stream end markers.
11799 (lto_input_scc): Optimize streaming of entry lengths.
11800 * lto-streamer-out.c (lto_write_tree): Do not stream end markers
11801 (DFS::DFS): Optimize stremaing of entry lengths
11803 2020-05-22 Richard Biener <rguenther@suse.de>
11806 * doc/invoke.texi (flto): Document behavior of diagnostic
11809 2020-05-22 Richard Biener <rguenther@suse.de>
11811 * tree-vectorizer.h (vect_is_simple_use): New overload.
11812 (vect_maybe_update_slp_op_vectype): New.
11813 * tree-vect-stmts.c (vect_is_simple_use): New overload
11814 accessing operands of SLP vs. non-SLP operation transparently.
11815 (vect_maybe_update_slp_op_vectype): New function updating
11816 the possibly shared SLP operands vector type.
11817 (vectorizable_operation): Be a bit more SLP vs non-SLP agnostic
11818 using the new vect_is_simple_use overload; update SLP invariant
11819 operand nodes vector type.
11820 (vectorizable_comparison): Likewise.
11821 (vectorizable_call): Likewise.
11822 (vectorizable_conversion): Likewise.
11823 (vectorizable_shift): Likewise.
11824 (vectorizable_store): Likewise.
11825 (vectorizable_condition): Likewise.
11826 (vectorizable_assignment): Likewise.
11827 * tree-vect-loop.c (vectorizable_reduction): Likewise.
11828 * tree-vect-slp.c (vect_get_constant_vectors): Enforce
11829 present SLP_TREE_VECTYPE and check it matches previous
11832 2020-05-22 Richard Biener <rguenther@suse.de>
11834 PR tree-optimization/95248
11835 * tree-ssa-loop-im.c (sm_seq_valid_bb): Remove bogus early out.
11837 2020-05-22 Richard Biener <rguenther@suse.de>
11839 * tree-vectorizer.h (_slp_tree::_slp_tree): New.
11840 (_slp_tree::~_slp_tree): Likewise.
11841 * tree-vect-slp.c (_slp_tree::_slp_tree): Factor out code
11843 (_slp_tree::~_slp_tree): Implement.
11844 (vect_free_slp_tree): Simplify.
11845 (vect_create_new_slp_node): Likewise. Add nops parameter.
11846 (vect_build_slp_tree_2): Adjust.
11847 (vect_analyze_slp_instance): Likewise.
11849 2020-05-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11851 * adjust-alignment.c: Include memmodel.h.
11853 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
11856 * config/i386/cpuid.h: Use hexadecimal in comments.
11858 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
11861 * config/i386/i386-builtins.c (processor_features): Move
11862 F_AVX512VP2INTERSECT after F_AVX512BF16.
11863 (isa_names_table): Likewise.
11865 2020-05-21 Martin Liska <mliska@suse.cz>
11867 * common/config/aarch64/aarch64-common.c (aarch64_handle_option):
11868 Handle OPT_moutline_atomics.
11869 * config/aarch64/aarch64.c: Add outline-atomics to
11870 aarch64_attributes.
11871 * doc/extend.texi: Document the newly added target attribute.
11873 2020-05-21 Uroš Bizjak <ubizjak@gmail.com>
11877 * config/i386/mmx.md (*mmx_<code>v2sf): Do not mark
11878 operands 1 and 2 commutative. Manually swap operands.
11879 (*mmx_nabsv2sf2): Ditto.
11882 2020-05-18 Uroš Bizjak <ubizjak@gmail.com>
11884 * config/i386/i386.md (*<code>tf2_1):
11885 Mark operands 1 and 2 commutative.
11886 (*nabstf2_1): Ditto.
11887 * config/i386/sse.md (*<code><mode>2): Mark operands 1 and 2
11888 commutative. Do not swap operands.
11889 (*nabs<mode>2): Ditto.
11891 2020-05-20 Uroš Bizjak <ubizjak@gmail.com>
11894 * config/i386/sse.md (<code>v8qiv8hi2): Use
11895 simplify_gen_subreg instead of simplify_subreg.
11896 (<code>v8qiv8si2): Ditto.
11897 (<code>v4qiv4si2): Ditto.
11898 (<code>v4hiv4si2): Ditto.
11899 (<code>v8qiv8di2): Ditto.
11900 (<code>v4qiv4di2): Ditto.
11901 (<code>v2qiv2di2): Ditto.
11902 (<code>v4hiv4di2): Ditto.
11903 (<code>v2hiv2di2): Ditto.
11904 (<code>v2siv2di2): Ditto.
11906 2020-05-20 Uroš Bizjak <ubizjak@gmail.com>
11909 * config/i386/i386.md (*pushsi2_rex64):
11910 Use "e" constraint instead of "i".
11912 2020-05-20 Jan Hubicka <hubicka@ucw.cz>
11914 * lto-streamer-in.c (lto_input_scc): Add SHARED_SCC parameter.
11915 (lto_input_tree_1): Strenghten sanity check.
11916 (lto_input_tree): Update call of lto_input_scc.
11917 * lto-streamer-out.c: Include ipa-utils.h
11918 (create_output_block): Initialize local_trees if merigng is going
11920 (destroy_output_block): Destroy local_trees.
11921 (DFS): Add max_local_entry.
11922 (local_tree_p): New function.
11923 (DFS::DFS): Initialize and maintain it.
11924 (DFS::DFS_write_tree): Decide on streaming format.
11925 (lto_output_tree): Stream inline singleton SCCs
11926 * lto-streamer.h (enum LTO_tags): Add LTO_trees.
11927 (struct output_block): Add local_trees.
11928 (lto_input_scc): Update prototype.
11930 2020-05-20 Patrick Palka <ppalka@redhat.com>
11933 * hash-table.h (hash_table::find_with_hash): Move up the call to
11934 hash_table::verify.
11936 2020-05-20 Martin Liska <mliska@suse.cz>
11938 * lto-compress.c (lto_compression_zstd): Fill up
11939 num_compressed_il_bytes.
11940 (lto_uncompression_zstd): Likewise for num_uncompressed_il_bytes here.
11942 2020-05-20 Richard Biener <rguenther@suse.de>
11944 PR tree-optimization/95219
11945 * tree-vect-loop.c (vectorizable_induction): Reduce
11946 group_size before computing the number of required IVs.
11948 2020-05-20 Richard Biener <rguenther@suse.de>
11950 PR middle-end/95231
11951 * tree-inline.c (remap_gimple_stmt): Revert adjusting
11952 COND_EXPR and VEC_COND_EXPR for a -fnon-call-exception boundary.
11954 2020-05-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
11955 Andre Vieira <andre.simoesdiasvieira@arm.com>
11958 * config/arm/arm-protos.h (arm_mode_base_reg_class): Function
11960 (mve_vector_mem_operand): Likewise.
11961 * config/arm/arm.c (thumb2_legitimate_address_p): For MVE target check
11962 the load from memory to a core register is legitimate for give mode.
11963 (mve_vector_mem_operand): Define function.
11964 (arm_print_operand): Modify comment.
11965 (arm_mode_base_reg_class): Define.
11966 * config/arm/arm.h (MODE_BASE_REG_CLASS): Modify to add check for
11967 TARGET_HAVE_MVE and expand to arm_mode_base_reg_class on TRUE.
11968 * config/arm/constraints.md (Ux): Likewise.
11970 * config/arm/mve.md (mve_mov): Replace constraint Us with Ux and also
11971 add support for missing Vector Store Register and Vector Load Register.
11972 Add a new alternative to support load from memory to PC (or label) in
11974 (mve_vstrbq_<supf><mode>): Modify constraint Us to Ux.
11975 (mve_vldrbq_<supf><mode>): Modify constriant Us to Ux, predicate to
11976 mve_memory_operand and also modify the MVE instructions to emit.
11977 (mve_vldrbq_z_<supf><mode>): Modify constraint Us to Ux.
11978 (mve_vldrhq_fv8hf): Modify constriant Us to Ux, predicate to
11979 mve_memory_operand and also modify the MVE instructions to emit.
11980 (mve_vldrhq_<supf><mode>): Modify constriant Us to Ux, predicate to
11981 mve_memory_operand and also modify the MVE instructions to emit.
11982 (mve_vldrhq_z_fv8hf): Likewise.
11983 (mve_vldrhq_z_<supf><mode>): Likewise.
11984 (mve_vldrwq_fv4sf): Likewise.
11985 (mve_vldrwq_<supf>v4si): Likewise.
11986 (mve_vldrwq_z_fv4sf): Likewise.
11987 (mve_vldrwq_z_<supf>v4si): Likewise.
11988 (mve_vld1q_f<mode>): Modify constriant Us to Ux.
11989 (mve_vld1q_<supf><mode>): Likewise.
11990 (mve_vstrhq_fv8hf): Modify constriant Us to Ux, predicate to
11991 mve_memory_operand.
11992 (mve_vstrhq_p_fv8hf): Modify constriant Us to Ux, predicate to
11993 mve_memory_operand and also modify the MVE instructions to emit.
11994 (mve_vstrhq_p_<supf><mode>): Likewise.
11995 (mve_vstrhq_<supf><mode>): Modify constriant Us to Ux, predicate to
11996 mve_memory_operand.
11997 (mve_vstrwq_fv4sf): Modify constriant Us to Ux.
11998 (mve_vstrwq_p_fv4sf): Modify constriant Us to Ux and also modify the MVE
11999 instructions to emit.
12000 (mve_vstrwq_p_<supf>v4si): Likewise.
12001 (mve_vstrwq_<supf>v4si): Likewise.Modify constriant Us to Ux.
12002 * config/arm/predicates.md (mve_memory_operand): Define.
12004 2020-05-30 Richard Biener <rguenther@suse.de>
12007 * c-fold.c (c_fully_fold_internal): Enhance guard on
12010 2020-05-20 Kito Cheng <kito.cheng@sifive.com>
12013 * Makefile.in (OBJS): Add adjust-alignment.o.
12014 * adjust-alignment.c (pass_data_adjust_alignment): New.
12015 (pass_adjust_alignment): New.
12016 (pass_adjust_alignment::execute): New.
12017 (make_pass_adjust_alignment): New.
12018 * tree-pass.h (make_pass_adjust_alignment): New.
12019 * passes.def: Add pass_adjust_alignment.
12021 2020-05-19 Alex Coplan <alex.coplan@arm.com>
12024 * config/aarch64/aarch64.c (aarch64_evpc_rev_local): Don't match
12025 identity permutation.
12027 2020-05-19 Jozef Lawrynowicz <jozef.l@mittosystems.com>
12029 * doc/sourcebuild.texi: Document new short_eq_int, ptr_eq_short,
12030 msp430_small, msp430_large and size24plus DejaGNU effective
12032 Improve grammar in descriptions for size20plus and size32plus effective
12035 2020-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
12037 * config/bpf/bpf.c (bpf_compute_frame_layout): Include space for
12038 callee saved registers only in xBPF.
12039 (bpf_expand_prologue): Save callee saved registers only in xBPF.
12040 (bpf_expand_epilogue): Likewise for restoring.
12041 * doc/invoke.texi (eBPF Options): Document this is activated by
12044 2020-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
12046 * config/bpf/bpf.opt (mxbpf): New option.
12047 * doc/invoke.texi (Option Summary): Add -mxbpf.
12048 (eBPF Options): Document -mxbbpf.
12050 2020-05-19 Uroš Bizjak <ubizjak@gmail.com>
12053 * config/i386/sse.md (<code>v16qiv16hi2): New expander.
12054 (<code>v32qiv32hi2): Ditto.
12055 (<code>v8qiv8hi2): Ditto.
12056 (<code>v16qiv16si2): Ditto.
12057 (<code>v8qiv8si2): Ditto.
12058 (<code>v4qiv4si2): Ditto.
12059 (<code>v16hiv16si2): Ditto.
12060 (<code>v8hiv8si2): Ditto.
12061 (<code>v4hiv4si2): Ditto.
12062 (<code>v8qiv8di2): Ditto.
12063 (<code>v4qiv4di2): Ditto.
12064 (<code>v2qiv2di2): Ditto.
12065 (<code>v8hiv8di2): Ditto.
12066 (<code>v4hiv4di2): Ditto.
12067 (<code>v2hiv2di2): Ditto.
12068 (<code>v8siv8di2): Ditto.
12069 (<code>v4siv4di2): Ditto.
12070 (<code>v2siv2di2): Ditto.
12072 2020-05-19 Kito Cheng <kito.cheng@sifive.com>
12074 * common/config/riscv/riscv-common.c (riscv_implied_info_t): New.
12075 (riscv_implied_info): New.
12076 (riscv_subset_list): Add handle_implied_ext.
12077 (riscv_subset_list::to_string): New parameter version_p to
12078 control output format.
12079 (riscv_subset_list::handle_implied_ext): New.
12080 (riscv_subset_list::parse_std_ext): Call handle_implied_ext.
12081 (riscv_arch_str): New parameter version_p to control output format.
12082 (riscv_expand_arch): New.
12083 * config/riscv/riscv-protos.h (riscv_arch_str): New parameter,
12085 * config/riscv/riscv.h (riscv_expand_arch): New,
12086 (EXTRA_SPEC_FUNCTIONS): Define.
12087 (ASM_SPEC): Transform -march= via riscv_expand_arch.
12089 2020-05-19 Kito Cheng <kito.cheng@sifive.com>
12091 * riscv-common.c (parse_sv_or_non_std_ext): Rename to
12092 parse_multiletter_ext.
12093 (parse_multiletter_ext): Add parsing `h` and `z`, drop `sx`,
12094 adjust parsing order for 's' and 'x'.
12096 2020-05-19 Richard Biener <rguenther@suse.de>
12098 * tree-vectorizer.h (_slp_tree::vectype): Add field.
12099 (SLP_TREE_VECTYPE): New.
12100 * tree-vect-slp.c (vect_create_new_slp_node): Initialize
12102 (vect_create_new_slp_node): Likewise.
12103 (vect_prologue_cost_for_slp): Move here from tree-vect-stmts.c
12105 (vect_slp_analyze_node_operations): Walk nodes children for
12107 (vect_get_constant_vectors): Use local scope op variable.
12108 * tree-vect-stmts.c (vect_prologue_cost_for_slp_op): Remove here.
12109 (vect_model_simple_cost): Adjust.
12110 (vect_model_store_cost): Likewise.
12111 (vectorizable_store): Likewise.
12113 2020-05-18 Martin Sebor <msebor@redhat.com>
12115 PR middle-end/92815
12116 * tree-object-size.c (decl_init_size): New function.
12117 (addr_object_size): Call it.
12118 * tree.h (last_field): Declare.
12119 (first_field): Add attribute nonnull.
12121 2020-05-18 Martin Sebor <msebor@redhat.com>
12123 PR middle-end/94940
12124 * tree-vrp.c (vrp_prop::check_mem_ref): Remove unreachable code.
12125 * tree.c (component_ref_size): Correct the handling or array members
12127 Drop a pointless test.
12128 Rename a local variable.
12130 2020-05-18 Jason Merrill <jason@redhat.com>
12132 * aclocal.m4: Add ax_cxx_compile_stdcxx.m4.
12133 * configure.ac: Use AX_CXX_COMPILE_STDCXX(11).
12135 2020-05-14 Jason Merrill <jason@redhat.com>
12137 * doc/install.texi (Prerequisites): Update boostrap compiler
12138 requirement to C++11/GCC 4.8.
12140 2020-05-18 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
12142 PR tree-optimization/94952
12143 * gimple-ssa-store-merging.c (pass_store_merging::process_store):
12144 Initialize variables bitpos, bitregion_start, and bitregion_end in
12145 order to silence warnings about use of uninitialized variables.
12147 2020-05-18 Carl Love <cel@us.ibm.com>
12150 * config/rs6000/vsx.md (define_expand): Fix instruction generation for
12151 first_match_index_<mode>.
12152 * testsuite/gcc.target/powerpc/builtins-8-p9-runnable.c (main): Add
12153 additional test cases with zero vector elements.
12155 2020-05-18 Uroš Bizjak <ubizjak@gmail.com>
12158 * config/i386/i386-expand.c (ix86_expand_int_movcc):
12159 Avoid reversing a non-trapping comparison to a trapping one.
12161 2020-05-18 Alex Coplan <alex.coplan@arm.com>
12163 * config/arm/arm.c (output_move_double): Fix codegen when loading into
12164 a register pair with an odd base register.
12166 2020-05-18 Uroš Bizjak <ubizjak@gmail.com>
12168 * config/i386/i386-expand.c (ix86_expand_fp_absneg_operator):
12169 Do not emit FLAGS_REG clobber for TFmode.
12170 * config/i386/i386.md (*<code>tf2_1): Rewrite as
12171 define_insn_and_split. Mark operands 1 and 2 commutative.
12172 (*nabstf2_1): Ditto.
12173 (absneg SSE splitter): Use MODEF mode iterator instead of SSEMODEF.
12174 Do not swap memory operands. Simplify RTX generation.
12175 (neg abs SSE splitter): Ditto.
12176 * config/i386/sse.md (*<code><mode>2): Mark operands 1 and 2
12177 commutative. Do not swap operands. Simplify RTX generation.
12178 (*nabs<mode>2): Ditto.
12180 2020-05-18 Richard Biener <rguenther@suse.de>
12182 * tree-vect-slp.c (vect_slp_bb): Start after labels.
12183 (vect_get_constant_vectors): Really place init stmt after scalar defs.
12184 * tree-vect-stmts.c (vect_init_vector_1): Insert before
12187 2020-05-18 H.J. Lu <hongjiu.lu@intel.com>
12189 * config/i386/driver-i386.c (host_detect_local_cpu): Support
12190 Intel Airmont, Tremont, Comet Lake, Ice Lake and Tiger Lake
12191 processor families.
12193 2020-05-18 Richard Biener <rguenther@suse.de>
12195 PR middle-end/95171
12196 * tree-inline.c (remap_gimple_stmt): Split out trapping compares
12197 when inlining into a non-call EH function.
12199 2020-05-18 Richard Biener <rguenther@suse.de>
12201 PR tree-optimization/95172
12202 * tree-ssa-loop-im.c (execute_sm): Get flag whether we
12203 eventually need the conditional processing.
12204 (execute_sm_exit): When processing an orderd sequence
12205 avoid doing any conditional processing.
12206 (hoist_memory_references): Pass down whether all edges
12207 have ordered processing for a ref to execute_sm.
12209 2020-05-17 Jeff Law <law@redhat.com>
12211 * config/h8300/predicates.md (pc_or_label_operand): New predicate.
12212 * config/h8300/jumpcall.md (branch_true, branch_false): Consolidate
12213 into a single pattern using pc_or_label_operand.
12214 * config/h8300/combiner.md (bit branch patterns): Likewise.
12215 * config/h8300/peepholes.md (HImode and SImode branches): Likewise.
12217 2020-05-17 H.J. Lu <hongjiu.lu@intel.com>
12220 * config/i386/i386-features.c (has_non_address_hard_reg):
12222 (pseudo_reg_set): This. Return the SET expression. Ignore
12223 pseudo register push.
12224 (general_scalar_to_vector_candidate_p): Combine single_set and
12225 has_non_address_hard_reg calls to pseudo_reg_set.
12226 (timode_scalar_to_vector_candidate_p): Likewise.
12227 * config/i386/i386.md (*pushv1ti2): New pattern.
12229 2020-05-17 Aldy Hernandez <aldyh@redhat.com>
12232 2020-05-17 Aldy Hernandez <aldyh@redhat.com>
12234 * tree-vrp.c (operand_less_p): Move to...
12235 * vr-values.c (operand_less_p): ...here.
12236 * tree-vrp.h (operand_less_p): Remove.
12238 2020-05-17 Aldy Hernandez <aldyh@redhat.com>
12240 * tree-vrp.c (operand_less_p): Move to...
12241 * vr-values.c (operand_less_p): ...here.
12242 * tree-vrp.h (operand_less_p): Remove.
12244 2020-05-17 Aldy Hernandez <aldyh@redhat.com>
12246 * tree-vrp.c (class vrp_insert): Remove prototype for
12249 2020-05-17 Aldy Hernandez <aldyh@redhat.com>
12251 * tree-vrp.c (class live_names): New.
12252 (live_on_edge): Move into live_names.
12253 (build_assert_expr_for): Move into vrp_insert.
12254 (find_assert_locations_in_bb): Rename from
12255 find_assert_locations_1.
12256 (process_assert_insertions_for): Move into vrp_insert.
12257 (compare_assert_loc): Same.
12258 (remove_range_assertions): Same.
12259 (dump_asserts_for): Rename to vrp_insert::dump.
12260 (debug_asserts_for): Rename to vrp_insert::debug.
12261 (dump_all_asserts): Rename to vrp_insert::dump.
12262 (debug_all_asserts): Rename to vrp_insert::debug.
12264 2020-05-17 Aldy Hernandez <aldyh@redhat.com>
12266 * tree-vrp.c (class vrp_prop): Move check_all_array_refs,
12267 check_array_ref, check_mem_ref, and search_for_addr_array
12269 (class array_bounds_checker): ...here.
12270 (class check_array_bounds_dom_walker): Adjust to use
12271 array_bounds_checker.
12272 (check_all_array_refs): Move into array_bounds_checker and rename
12274 (class vrp_folder): Make fold_predicate_in private.
12276 2020-05-15 Jeff Law <law@redhat.com>
12278 * config/h8300/h8300.md (SFI iterator): New iterator for
12280 * config/h8300/peepholes.md (memory comparison): Use mode
12281 iterator to consolidate 3 patterns into one.
12282 (stack allocation and stack store): Handle SFmode. Handle
12283 8 byte allocations.
12285 2020-05-15 Segher Boessenkool <segher@kernel.crashing.org>
12287 * config/rs6000/rs6000-builtin.def (BU_FUTURE_MISC_2): Also require
12288 RS6000_BTM_POWERPC64.
12290 2020-05-15 Uroš Bizjak <ubizjak@gmail.com>
12292 * config/i386/i386.md (SWI48DWI): New mode iterator.
12293 (*push<mode>2): Allow XMM registers.
12294 (*pushdi2_rex64): Ditto.
12295 (*pushsi2_rex64): Ditto.
12297 (push XMM reg splitter): New splitter
12299 (*pushdf) Change "x" operand constraint to "v".
12300 (*pushsf_rex64): Ditto.
12303 2020-05-15 Richard Biener <rguenther@suse.de>
12305 PR tree-optimization/92260
12306 * tree-vect-slp.c (vect_get_constant_vectors): Compute
12307 the number of vector stmts in a canonical way.
12309 2020-05-15 Martin Liska <mliska@suse.cz>
12311 * hsa-gen.c (get_symbol_for_decl): Fix misleading indentation
12314 2020-05-15 Andrew Stubbs <ams@codesourcery.com>
12316 * config/gcn/gcn-valu.md (v<expander><mode>3): Fix unsignedp.
12318 2020-05-15 Richard Biener <rguenther@suse.de>
12320 PR tree-optimization/95133
12321 * gimple-ssa-split-paths.c
12322 (find_block_to_duplicate_for_splitting_paths): Check for
12325 2020-05-15 Christophe Lyon <christophe.lyon@linaro.org>
12327 * config/arm/arm.c (reg_needs_saving_p): Add support for interrupt
12329 (arm_compute_save_reg0_reg12_mask): Use reg_needs_saving_p.
12331 2020-05-15 Tobias Burnus <tobias@codesourcery.com>
12333 PR middle-end/94635
12334 * gimplify.c (gimplify_scan_omp_clauses): For MAP_TO_PSET with
12335 OMP_TARGET_EXIT_DATA, use 'release:' unless the associated
12338 2020-05-15 Uroš Bizjak <ubizjak@gmail.com>
12341 * config/i386/i386.md (isa): Add sse3_noavx.
12342 (enabled): Handle sse3_noavx.
12344 * config/i386/mmx.md (mmx_haddv2sf3): New expander.
12345 (*mmx_haddv2sf3): Rename from mmx_haddv2sf3. Add SSE/AVX
12346 alternatives. Match commutative vec_select selector operands.
12347 (*mmx_haddv2sf3_low): New insn pattern.
12349 (*mmx_hsubv2sf3): Add SSE/AVX alternatives.
12350 (*mmx_hsubv2sf3_low): New insn pattern.
12352 2020-05-15 Richard Biener <rguenther@suse.de>
12354 PR tree-optimization/33315
12355 * tree-ssa-sink.c: Include tree-eh.h.
12356 (sink_stats): Add commoned member.
12357 (sink_common_stores_to_bb): New function implementing store
12358 commoning by sinking to the successor.
12359 (sink_code_in_bb): Call it, pass down TODO_cleanup_cfg returned.
12360 (pass_sink_code::execute): Likewise. Record commoned stores
12363 2020-05-14 Xiong Hu Luo <luoxhu@linux.ibm.com>
12365 PR rtl-optimization/37451, part of PR target/61837
12366 * loop-doloop.c (doloop_simplify_count): New function. Simplify
12367 (add -1; zero_ext; add +1) to zero_ext when not wrapping.
12368 (doloop_modify): Call doloop_simplify_count.
12370 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
12373 * doc/sourcebuild.texi: Document effective target lgccjit.
12375 2020-05-14 Andrew Stubbs <ams@codesourcery.com>
12377 * config/gcn/gcn-valu.md (add<mode>3_zext_dup): Change to a
12378 define_expand, and rename the original to ...
12379 (add<mode>3_vcc_zext_dup): ... this, and add a custom VCC operand.
12380 (add<mode>3_zext_dup_exec): Likewise, with ...
12381 (add<mode>3_vcc_zext_dup_exec): ... this.
12382 (add<mode>3_zext_dup2): Likewise, with ...
12383 (add<mode>3_zext_dup_exec): ... this.
12384 (add<mode>3_zext_dup2_exec): Likewise, with ...
12385 (add<mode>3_zext_dup2): ... this.
12386 * config/gcn/gcn.c (gcn_expand_scalar_to_vector_address): Switch
12387 addv64di3_zext* calls to use addv64di3_vcc_zext*.
12389 2020-05-14 Uroš Bizjak <ubizjak@gmail.com>
12392 * config/i386/sse.md (truncv2dfv2df2): New insn pattern.
12393 (extendv2sfv2df2): Ditto.
12395 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
12397 * configure: Regenerated.
12399 2020-05-14 Christophe Lyon <christophe.lyon@linaro.org>
12401 * config/arm/arm.c (reg_needs_saving_p): New function.
12402 (use_return_insn): Use reg_needs_saving_p.
12403 (arm_get_vfp_saved_size): Likewise.
12404 (arm_compute_frame_layout): Likewise.
12405 (arm_save_coproc_regs): Likewise.
12406 (thumb1_expand_epilogue): Likewise.
12407 (arm_expand_epilogue_apcs_frame): Likewise.
12408 (arm_expand_epilogue): Likewise.
12410 2020-05-14 Christophe Lyon <christophe.lyon@linaro.org>
12412 * config/arm/arm.c (thumb1_expand_prologue): Update error message.
12414 2020-05-14 Uroš Bizjak <ubizjak@gmail.com>
12417 * config/i386/sse.md (sse2_cvtpi2pd): Add memory to alternative 1.
12419 (floatv2siv2df2): New expander.
12420 (floatunsv2siv2df2): New insn pattern.
12422 (fix_truncv2dfv2si2): New expander.
12423 (fixuns_truncv2dfv2si2): New insn pattern.
12425 2020-05-14 Richard Sandiford <richard.sandiford@arm.com>
12428 * config/aarch64/aarch64-sve-builtins.cc
12429 (handle_arm_sve_vector_bits_attribute): Create a copy of the
12430 original type's TYPE_MAIN_VARIANT, then reapply all the differences
12431 between the original type and its main variant.
12433 2020-05-14 Richard Biener <rguenther@suse.de>
12435 PR middle-end/95118
12436 * real.c (real_to_decimal_for_mode): Make sure we handle
12437 a zero with nonzero exponent.
12439 2020-05-14 Jakub Jelinek <jakub@redhat.com>
12441 * Makefile.in (GTFILES): Add omp-general.c.
12442 * cgraph.h (struct cgraph_node): Add declare_variant_alt and
12443 calls_declare_variant_alt members and initialize them in the
12445 * ipa.c (symbol_table::remove_unreachable_nodes): Handle direct
12446 calls to declare_variant_alt nodes.
12447 * lto-cgraph.c (lto_output_node): Write declare_variant_alt
12448 and calls_declare_variant_alt.
12449 (input_overwrite_node): Read them back.
12450 * omp-simd-clone.c (simd_clone_create): Copy calls_declare_variant_alt
12452 * tree-inline.c (expand_call_inline): Or in calls_declare_variant_alt
12454 (tree_function_versioning): Copy calls_declare_variant_alt bit.
12455 * omp-offload.c (execute_omp_device_lower): Call
12456 omp_resolve_declare_variant on direct function calls.
12457 (pass_omp_device_lower::gate): Also enable for
12458 calls_declare_variant_alt functions.
12459 * omp-general.c (omp_maybe_offloaded): Return false after inlining.
12460 (omp_context_selector_matches): Handle the case when
12461 cfun->curr_properties has PROP_gimple_any bit set.
12462 (struct omp_declare_variant_entry): New type.
12463 (struct omp_declare_variant_base_entry): New type.
12464 (struct omp_declare_variant_hasher): New type.
12465 (omp_declare_variant_hasher::hash, omp_declare_variant_hasher::equal):
12467 (omp_declare_variants): New variable.
12468 (struct omp_declare_variant_alt_hasher): New type.
12469 (omp_declare_variant_alt_hasher::hash,
12470 omp_declare_variant_alt_hasher::equal): New methods.
12471 (omp_declare_variant_alt): New variables.
12472 (omp_resolve_late_declare_variant): New function.
12473 (omp_resolve_declare_variant): Call omp_resolve_late_declare_variant
12474 when called late. Create a magic declare_variant_alt fndecl and
12475 cgraph node and return that if decision needs to be deferred until
12476 after gimplification.
12477 * cgraph.c (symbol_table::create_edge): Or in calls_declare_variant_alt
12480 PR middle-end/95108
12481 * omp-simd-clone.c (struct modify_stmt_info): Add after_stmt member.
12482 (ipa_simd_modify_stmt_ops): For PHIs, only add before first stmt in
12483 entry block if info->after_stmt is NULL, otherwise add after that stmt
12484 and update it after adding each stmt.
12485 (ipa_simd_modify_function_body): Initialize info.after_stmt.
12487 * function.h (struct function): Add has_omp_target bit.
12488 * omp-offload.c (omp_discover_declare_target_fn_r): New function,
12490 (omp_discover_declare_target_tgt_fn_r): ... this.
12491 (omp_discover_declare_target_var_r): Call
12492 omp_discover_declare_target_tgt_fn_r instead of
12493 omp_discover_declare_target_fn_r.
12494 (omp_discover_implicit_declare_target): Also queue functions with
12495 has_omp_target bit set, for those walk with
12496 omp_discover_declare_target_fn_r, for declare target to functions
12497 walk with omp_discover_declare_target_tgt_fn_r.
12499 2020-05-14 Uroš Bizjak <ubizjak@gmail.com>
12502 * config/i386/mmx.md (mmx_fix_truncv2sfv2si2): Rename from mmx_pf2id.
12503 Add SSE/AVX alternative. Change operand predicates from
12504 nonimmediate_operand to register_mmxmem_operand.
12505 Enable instruction pattern for TARGET_MMX_WITH_SSE.
12506 (fix_truncv2sfv2si2): New expander.
12507 (fixuns_truncv2sfv2si2): New insn pattern.
12509 (mmx_floatv2siv2sf2): rename from mmx_floatv2si2.
12510 Add SSE/AVX alternative. Change operand predicates from
12511 nonimmediate_operand to register_mmxmem_operand.
12512 Enable instruction pattern for TARGET_MMX_WITH_SSE.
12513 (floatv2siv2sf2): New expander.
12514 (floatunsv2siv2sf2): New insn pattern.
12516 * config/i386/i386-builtin.def (IX86_BUILTIN_PF2ID):
12518 (IX86_BUILTIN_PI2FD): Ditto.
12520 2020-05-14 Andreas Krebbel <krebbel@linux.ibm.com>
12522 * config/s390/s390.c (s390_emit_stack_probe): Call the probe_stack
12524 * config/s390/s390.md ("@probe_stack2<mode>", "probe_stack"): New
12527 2020-05-14 Andreas Krebbel <krebbel@linux.ibm.com>
12529 * config/s390/s390.c (allocate_stack_space): Add missing updates
12530 of last_probe_offset.
12532 2020-05-14 Andreas Krebbel <krebbel@linux.ibm.com>
12534 * config/s390/s390.md ("allocate_stack"): Call
12535 anti_adjust_stack_and_probe_stack_clash when stack clash
12536 protection is enabled.
12537 * explow.c (anti_adjust_stack_and_probe_stack_clash): Remove
12538 prototype. Remove static.
12539 * explow.h (anti_adjust_stack_and_probe_stack_clash): Add
12542 2020-05-13 Kelvin Nilsen <kelvin@gcc.gnu.org>
12544 * config/rs6000/altivec.h (vec_extractl): New #define.
12545 (vec_extracth): Likewise.
12546 * config/rs6000/altivec.md (UNSPEC_EXTRACTL): New constant.
12547 (UNSPEC_EXTRACTR): Likewise.
12548 (vextractl<mode>): New expansion.
12549 (vextractl<mode>_internal): New insn.
12550 (vextractr<mode>): New expansion.
12551 (vextractr<mode>_internal): New insn.
12552 * config/rs6000/rs6000-builtin.def (__builtin_altivec_vextdubvlx):
12553 New built-in function.
12554 (__builtin_altivec_vextduhvlx): Likewise.
12555 (__builtin_altivec_vextduwvlx): Likewise.
12556 (__builtin_altivec_vextddvlx): Likewise.
12557 (__builtin_altivec_vextdubvhx): Likewise.
12558 (__builtin_altivec_vextduhvhx): Likewise.
12559 (__builtin_altivec_vextduwvhx): Likewise.
12560 (__builtin_altivec_vextddvhx): Likewise.
12561 (__builtin_vec_extractl): New overloaded built-in function.
12562 (__builtin_vec_extracth): Likewise.
12563 * config/rs6000/rs6000-call.c (altivec_overloaded_builtins):
12564 Define overloaded forms of __builtin_vec_extractl and
12565 __builtin_vec_extracth.
12566 (builtin_function_type): Add cases to mark arguments of new
12567 built-in functions as unsigned.
12568 (rs6000_common_init_builtins): Add
12569 opaque_ftype_opaque_opaque_opaque_opaque.
12570 * config/rs6000/rs6000.md (du_or_d): New mode attribute.
12571 * doc/extend.texi (PowerPC AltiVec Built-in Functions Available
12572 for a Future Architecture): Add description of vec_extractl and
12573 vec_extractr built-in functions.
12575 2020-05-13 Richard Biener <rguenther@suse.de>
12577 * target.def (add_stmt_cost): Add new vectype parameter.
12578 * targhooks.c (default_add_stmt_cost): Adjust.
12579 * targhooks.h (default_add_stmt_cost): Likewise.
12580 * config/aarch64/aarch64.c (aarch64_add_stmt_cost): Take new
12582 * config/arm/arm.c (arm_add_stmt_cost): Likewise.
12583 * config/i386/i386.c (ix86_add_stmt_cost): Likewise.
12584 * config/rs6000/rs6000.c (rs6000_add_stmt_cost): Likewise.
12586 * tree-vectorizer.h (stmt_info_for_cost::vectype): Add.
12587 (dump_stmt_cost): Add new vectype parameter.
12588 (add_stmt_cost): Likewise.
12589 (record_stmt_cost): Likewise.
12590 (record_stmt_cost): Add overload with old signature.
12591 * tree-vect-loop.c (vect_compute_single_scalar_iteration_cost):
12593 (vect_get_known_peeling_cost): Likewise.
12594 (vect_estimate_min_profitable_iters): Likewise.
12595 * tree-vectorizer.c (dump_stmt_cost): Add new vectype parameter.
12596 * tree-vect-stmts.c (record_stmt_cost): Likewise.
12597 (vect_prologue_cost_for_slp_op): Remove stmt_vec_info parameter
12598 and pass down correct vectype and NULL stmt_info.
12599 (vect_model_simple_cost): Adjust.
12600 (vect_model_store_cost): Likewise.
12602 2020-05-13 Richard Biener <rguenther@suse.de>
12604 * tree-vectorizer.h (SLP_INSTANCE_GROUP_SIZE): Remove.
12605 (_slp_instance::group_size): Likewise.
12606 * tree-vect-loop.c (vectorizable_reduction): The group size
12607 is the number of lanes in the node.
12608 * tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Likewise.
12609 (vect_analyze_slp_instance): Do not set SLP_INSTANCE_GROUP_SIZE,
12610 verify it matches the instance trees number of lanes.
12611 (vect_slp_analyze_node_operations_1): Use the numer of lanes
12612 in the node as group size.
12613 (vect_bb_vectorization_profitable_p): Use the instance root
12614 number of lanes for the size of life.
12615 (vect_schedule_slp_instance): Use the number of lanes as
12617 * tree-vect-stmts.c (vectorizable_load): Remove SLP instance
12618 parameter. Use the number of lanes of the load for the group
12619 size in the gap adjustment code.
12620 (vect_analyze_stmt): Adjust.
12621 (vect_transform_stmt): Likewise.
12623 2020-05-13 Jakub Jelinek <jakub@redhat.com>
12626 * cfgrtl.c (purge_dead_edges): Skip over debug and note insns even
12627 if the last insn is a note.
12629 PR tree-optimization/95060
12630 * tree-ssa-math-opts.c (convert_mult_to_fma_1): Fold a NEGATE_EXPR
12631 if it is the single use of the FMA internal builtin.
12633 2020-05-13 Bin Cheng <bin.cheng@linux.alibaba.com>
12635 PR tree-optimization/94969
12636 * tree-data-dependence.c (constant_access_functions): Rename to...
12637 (invariant_access_functions): ...this. Add parameter. Check for
12638 invariant access function, rather than constant.
12639 (build_classic_dist_vector): Call above function.
12640 * tree-loop-distribution.c (pg_add_dependence_edges): Add comment.
12642 2020-05-13 Hongtao Liu <hongtao.liu@intel.com>
12645 * doc/extend.texi (x86Operandmodifiers): Document more x86
12647 * gcc/config/i386/i386.c: Add comment for operand modifier N and I.
12649 2020-05-12 Giuliano Belinassi <giuliano.belinassi@usp.br>
12651 * tree-vrp.c (class vrp_insert): New.
12652 (insert_range_assertions): Move to class vrp_insert.
12653 (dump_all_asserts): Same as above.
12654 (dump_asserts_for): Same as above.
12655 (live): Same as above.
12656 (need_assert_for): Same as above.
12657 (live_on_edge): Same as above.
12658 (finish_register_edge_assert_for): Same as above.
12659 (find_switch_asserts): Same as above.
12660 (find_assert_locations): Same as above.
12661 (find_assert_locations_1): Same as above.
12662 (find_conditional_asserts): Same as above.
12663 (process_assert_insertions): Same as above.
12664 (register_new_assert_for): Same as above.
12665 (vrp_prop): New variable fun.
12666 (vrp_initialize): New parameter.
12667 (identify_jump_threads): Same as above.
12668 (execute_vrp): Same as above.
12671 2020-05-12 Keith Packard <keith.packard@sifive.com>
12673 * config/riscv/riscv.c (riscv_unique_section): New.
12674 (TARGET_ASM_UNIQUE_SECTION): New.
12676 2020-05-12 Craig Blackmore <craig.blackmore@embecosm.com>
12678 * config.gcc: Add riscv-shorten-memrefs.o to extra_objs for riscv.
12679 * config/riscv/riscv-passes.def: New file.
12680 * config/riscv/riscv-protos.h (make_pass_shorten_memrefs): Declare.
12681 * config/riscv/riscv-shorten-memrefs.c: New file.
12682 * config/riscv/riscv.c (tree-pass.h): New include.
12683 (riscv_compressed_reg_p): New Function
12684 (riscv_compressed_lw_offset_p): Likewise.
12685 (riscv_compressed_lw_address_p): Likewise.
12686 (riscv_shorten_lw_offset): Likewise.
12687 (riscv_legitimize_address): Attempt to convert base + large_offset
12688 to compressible new_base + small_offset.
12689 (riscv_address_cost): Make anticipated compressed load/stores
12690 cheaper for code size than uncompressed load/stores.
12691 (riscv_register_priority): Move compressed register check to
12692 riscv_compressed_reg_p.
12693 * config/riscv/riscv.h (C_S_BITS): Define.
12694 (CSW_MAX_OFFSET): Define.
12695 * config/riscv/riscv.opt (mshorten-memefs): New option.
12696 * config/riscv/t-riscv (riscv-shorten-memrefs.o): New rule.
12697 (PASSES_EXTRA): Add riscv-passes.def.
12698 * doc/invoke.texi: Document -mshorten-memrefs.
12700 * config/riscv/riscv.c (riscv_new_address_profitable_p): New function.
12701 (TARGET_NEW_ADDRESS_PROFITABLE_P): Define.
12702 * doc/tm.texi: Regenerate.
12703 * doc/tm.texi.in (TARGET_NEW_ADDRESS_PROFITABLE_P): New hook.
12704 * sched-deps.c (attempt_change): Use old address if it is cheaper than
12706 * target.def (new_address_profitable_p): New hook.
12707 * targhooks.c (default_new_address_profitable_p): New function.
12708 * targhooks.h (default_new_address_profitable_p): Declare.
12710 2020-05-12 Uroš Bizjak <ubizjak@gmail.com>
12713 * config/i386/mmx.md (copysignv2sf3): New expander.
12714 (xorsignv2sf3): Ditto.
12715 (signbitv2sf3): Ditto.
12717 2020-05-12 Uroš Bizjak <ubizjak@gmail.com>
12720 * config/i386/mmx.md (fmav2sf4): New insn pattern.
12722 (fnmav2sf4): Ditto.
12723 (fnmsv2sf4): Ditto.
12725 2020-05-12 H.J. Lu <hongjiu.lu@intel.com>
12727 * Makefile.in (CET_HOST_FLAGS): New.
12728 (COMPILER): Add $(CET_HOST_FLAGS).
12729 * configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
12730 AC_SUBST(CET_HOST_FLAGS). Clear CET_HOST_FLAGS if jit isn't
12732 * aclocal.m4: Regenerated.
12733 * configure: Likewise.
12735 2020-05-12 Uroš Bizjak <ubizjak@gmail.com>
12738 * config/i386/mmx.md (<code>v2sf2): New insn pattern.
12739 (*mmx_<code>v2sf2): New insn_and_split pattern.
12740 (*mmx_nabsv2sf2): Ditto.
12741 (*mmx_andnotv2sf3): New insn pattern.
12742 (*mmx_<code>v2sf3): Ditto.
12743 * config/i386/i386.md (absneg_op): New code attribute.
12744 * config/i386/i386.c (ix86_build_const_vector): Handle V2SFmode.
12745 (ix86_build_signbit_mask): Ditto.
12747 2020-05-12 Richard Biener <rguenther@suse.de>
12749 * tree-ssa-live.c (remove_unused_locals): Remove dead debug
12752 2020-05-12 Jozef Lawrynowicz <jozef.l@mittosystems.com>
12754 * config/msp430/msp430-protos.h (msp430_output_aligned_decl_common):
12755 Update prototype to include "local" argument.
12756 * config/msp430/msp430.c (msp430_output_aligned_decl_common): Add
12757 "local" argument. Handle local common decls.
12758 * config/msp430/msp430.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Adjust
12759 msp430_output_aligned_decl_common call with 0 for "local" argument.
12760 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define.
12762 2020-05-12 Richard Biener <rguenther@suse.de>
12764 * cfghooks.c (split_edge): Preserve EDGE_DFS_BACK if set.
12766 2020-05-12 Martin Liska <mliska@suse.cz>
12770 * sanopt.c (sanitize_rewrite_addressable_params):
12771 Clear DECL_NOT_GIMPLE_REG_P for argument.
12773 2020-05-12 Richard Sandiford <richard.sandiford@arm.com>
12775 PR tree-optimization/94980
12776 * tree-vect-generic.c (expand_vector_comparison): Use
12777 vector_element_bits_tree to get the element size in bits,
12778 rather than using TYPE_SIZE.
12779 (expand_vector_condition, vector_element): Likewise.
12781 2020-05-12 Richard Sandiford <richard.sandiford@arm.com>
12783 PR tree-optimization/94980
12784 * tree-vect-generic.c (build_replicated_const): Take the number
12785 of bits as a parameter, instead of the type of the elements.
12786 (do_plus_minus): Update accordingly, using vector_element_bits
12787 to calculate the correct number of bits.
12788 (do_negate): Likewise.
12790 2020-05-12 Richard Sandiford <richard.sandiford@arm.com>
12792 PR tree-optimization/94980
12793 * tree.h (vector_element_bits, vector_element_bits_tree): Declare.
12794 * tree.c (vector_element_bits, vector_element_bits_tree): New.
12795 * match.pd: Use the new functions instead of determining the
12796 vector element size directly from TYPE_SIZE(_UNIT).
12797 * tree-vect-data-refs.c (vect_gather_scatter_fn_p): Likewise.
12798 * tree-vect-patterns.c (vect_recog_mask_conversion_pattern): Likewise.
12799 * tree-vect-stmts.c (vect_is_simple_cond): Likewise.
12800 * tree-vect-generic.c (expand_vector_piecewise): Likewise.
12801 (expand_vector_conversion): Likewise.
12802 (expand_vector_addition): Likewise for a TYPE_SIZE_UNIT used as
12803 a divisor. Convert the dividend to bits to compensate.
12804 * tree-vect-loop.c (vectorizable_live_operation): Call
12805 vector_element_bits instead of open-coding it.
12807 2020-05-12 Jakub Jelinek <jakub@redhat.com>
12809 * omp-offload.h (omp_discover_implicit_declare_target): Declare.
12810 * omp-offload.c: Include context.h.
12811 (omp_declare_target_fn_p, omp_declare_target_var_p,
12812 omp_discover_declare_target_fn_r, omp_discover_declare_target_var_r,
12813 omp_discover_implicit_declare_target): New functions.
12814 * cgraphunit.c (analyze_functions): Call
12815 omp_discover_implicit_declare_target.
12817 2020-05-12 Richard Biener <rguenther@suse.de>
12819 * gimple-fold.c (maybe_canonicalize_mem_ref_addr): Canonicalize
12820 literal constant &MEM[..] to a constant literal.
12822 2020-05-12 Richard Biener <rguenther@suse.de>
12824 PR tree-optimization/95045
12825 * dbgcnt.def (lim): Add debug-counter.
12826 * tree-ssa-loop-im.c: Include dbgcnt.h.
12827 (find_refs_for_sm): Use lim debug counter for store motion
12829 (do_store_motion): Rename form store_motion. Commit edge
12831 (store_motion_loop): ... here.
12832 (tree_ssa_lim): Adjust.
12834 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
12836 * config/rs6000/altivec.h (vec_clzm): Rename to vec_cntlzm.
12837 (vec_ctzm): Rename to vec_cnttzm.
12838 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
12839 Change fourth operand for vec_ternarylogic to require
12840 compatibility with unsigned SImode rather than unsigned QImode.
12841 * config/rs6000/rs6000-call.c (altivec_overloaded_builtins):
12842 Remove overloaded forms of vec_gnb that are no longer needed.
12843 * doc/extend.texi (PowerPC AltiVec Built-in Functions Available
12844 for a Future Architecture): Replace vec_clzm with vec_cntlzm;
12845 replace vec_ctzm with vec_cntlzm; remove four unwanted forms of
12846 vec_gnb; move vec_ternarylogic documentation into this section
12847 and replace const unsigned char with const unsigned int as its
12850 2020-05-11 Carl Love <cel@us.ibm.com>
12852 * config/rs6000/altivec.h (vec_genpcvm): New #define.
12853 * config/rs6000/rs6000-builtin.def (XXGENPCVM_V16QI): New built-in
12855 (XXGENPCVM_V8HI): Likewise.
12856 (XXGENPCVM_V4SI): Likewise.
12857 (XXGENPCVM_V2DI): Likewise.
12858 (XXGENPCVM): New overloaded built-in instantiation.
12859 * config/rs6000/rs6000-call.c (altivec_overloaded_builtins): Add
12860 entries for FUTURE_BUILTIN_VEC_XXGENPCVM.
12861 (altivec_expand_builtin): Add special handling for
12862 FUTURE_BUILTIN_VEC_XXGENPCVM.
12863 (builtin_function_type): Add handling for
12864 FUTURE_BUILTIN_XXGENPCVM_{V16QI,V8HI,V4SI,V2DI}.
12865 * config/rs6000/vsx.md (VSX_EXTRACT_I4): New mode iterator.
12866 (UNSPEC_XXGENPCV): New constant.
12867 (xxgenpcvm_<mode>_internal): New insn.
12868 (xxgenpcvm_<mode>): New expansion.
12869 * doc/extend.texi: Add documentation for vec_genpcvm built-ins.
12871 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
12873 * config/rs6000/altivec.h (vec_strir): New #define.
12874 (vec_stril): Likewise.
12875 (vec_strir_p): Likewise.
12876 (vec_stril_p): Likewise.
12877 * config/rs6000/altivec.md (UNSPEC_VSTRIR): New constant.
12878 (UNSPEC_VSTRIL): Likewise.
12879 (vstrir_<mode>): New expansion.
12880 (vstrir_code_<mode>): New insn.
12881 (vstrir_p_<mode>): New expansion.
12882 (vstrir_p_code_<mode>): New insn.
12883 (vstril_<mode>): New expansion.
12884 (vstril_code_<mode>): New insn.
12885 (vstril_p_<mode>): New expansion.
12886 (vstril_p_code_<mode>): New insn.
12887 * config/rs6000/rs6000-builtin.def (__builtin_altivec_vstribr):
12888 New built-in function.
12889 (__builtin_altivec_vstrihr): Likewise.
12890 (__builtin_altivec_vstribl): Likewise.
12891 (__builtin_altivec_vstrihl): Likewise.
12892 (__builtin_altivec_vstribr_p): Likewise.
12893 (__builtin_altivec_vstrihr_p): Likewise.
12894 (__builtin_altivec_vstribl_p): Likewise.
12895 (__builtin_altivec_vstrihl_p): Likewise.
12896 (__builtin_vec_strir): New overloaded built-in function.
12897 (__builtin_vec_stril): Likewise.
12898 (__builtin_vec_strir_p): Likewise.
12899 (__builtin_vec_stril_p): Likewise.
12900 * config/rs6000/rs6000-call.c (altivec_overloaded_builtins):
12901 Define overloaded forms of __builtin_vec_strir,
12902 __builtin_vec_stril, __builtin_vec_strir_p, and
12903 __builtin_vec_stril_p.
12904 * doc/extend.texi (PowerPC AltiVec Built-in Functions Available
12905 for a Future Architecture): Add description of vec_stril,
12906 vec_stril_p, vec_strir, and vec_strir_p built-in functions.
12908 2020-05-11 Kelvin Nilsen <wschmidt@linux.ibm.com>
12910 * config/rs6000/altivec.h (vec_ternarylogic): New #define.
12911 * config/rs6000/altivec.md (UNSPEC_XXEVAL): New constant.
12912 (xxeval): New insn.
12913 * config/rs6000/predicates.md (u8bit_cint_operand): New predicate.
12914 * config/rs6000/rs6000-builtin.def: Add handling of new macro
12916 (BU_FUTURE_V_4): New macro. Use it.
12917 (BU_FUTURE_OVERLOAD_4): Likewise.
12918 * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin): Add
12919 handling for quaternary built-in functions.
12920 (altivec_resolve_overloaded_builtin): Add special-case handling
12921 for __builtin_vec_xxeval.
12922 * config/rs6000/rs6000-call.c: Add handling of new macro
12923 RS6000_BUILTIN_4 in initialization of rs6000_builtin_info,
12924 bdesc0_arg, bdesc1_arg, bdesc2_arg, bdesc_3arg,
12925 bdesc_altivec_preds, bdesc_abs, and bdesc_htm arrays.
12926 (altivec_overloaded_builtins): Add definitions for
12927 FUTURE_BUILTIN_VEC_XXEVAL.
12928 (bdesc_4arg): New array.
12929 (htm_expand_builtin): Add handling for quaternary built-in
12931 (rs6000_expand_quaternop_builtin): New function.
12932 (rs6000_expand_builtin): Add handling for quaternary built-in
12934 (rs6000_init_builtins): Initialize builtin_mode_to_type entries
12935 for unsigned QImode and unsigned HImode.
12936 (builtin_quaternary_function_type): New function.
12937 (rs6000_common_init_builtins): Add handling of quaternary
12939 * config/rs6000/rs6000.h (RS6000_BTC_QUATERNARY): New defined
12941 (RS6000_BTC_PREDICATE): Change value of constant.
12942 (RS6000_BTC_ABS): Likewise.
12943 (rs6000_builtins): Add support for new macro RS6000_BUILTIN_4.
12944 * doc/extend.texi (PowerPC AltiVec Built-In Functions Available
12945 for a Future Architecture): Add description of vec_ternarylogic
12948 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
12950 * config/rs6000/rs6000-builtin.def (__builtin_pdepd): New built-in
12952 (__builtin_pextd): Likewise.
12953 * config/rs6000/rs6000.md (UNSPEC_PDEPD): New constant.
12954 (UNSPEC_PEXTD): Likewise.
12957 * doc/extend.texi (Basic PowerPC Built-in Functions Available for
12958 a Future Architecture): Add descriptions of __builtin_pdepd and
12959 __builtin_pextd functions.
12961 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
12963 * config/rs6000/altivec.h (vec_clrl): New #define.
12964 (vec_clrr): Likewise.
12965 * config/rs6000/altivec.md (UNSPEC_VCLRLB): New constant.
12966 (UNSPEC_VCLRRB): Likewise.
12967 (vclrlb): New insn.
12968 (vclrrb): Likewise.
12969 * config/rs6000/rs6000-builtin.def (__builtin_altivec_vclrlb): New
12971 (__builtin_altivec_vclrrb): Likewise.
12972 (__builtin_vec_clrl): New overloaded built-in function.
12973 (__builtin_vec_clrr): Likewise.
12974 * config/rs6000/rs6000-call.c (altivec_overloaded_builtins):
12975 Define overloaded forms of __builtin_vec_clrl and
12976 __builtin_vec_clrr.
12977 * doc/extend.texi (PowerPC AltiVec Built-in Functions Available
12978 for a Future Architecture): Add descriptions of vec_clrl and
12981 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
12983 * config/rs6000/rs6000-builtin.def (__builtin_cntlzdm): New
12984 built-in function definition.
12985 (__builtin_cnttzdm): Likewise.
12986 * config/rs6000/rs6000.md (UNSPEC_CNTLZDM): New constant.
12987 (UNSPEC_CNTTZDM): Likewise.
12988 (cntlzdm): New insn.
12989 (cnttzdm): Likewise.
12990 * doc/extend.texi (Basic PowerPC Built-in Functions available for
12991 a Future Architecture): Add descriptions of __builtin_cntlzdm and
12992 __builtin_cnttzdm functions.
12994 2020-05-11 Uroš Bizjak <ubizjak@gmail.com>
12997 * config/i386/mmx.md (sqrtv2sf2): New insn pattern.
12999 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
13001 * config/rs6000/altivec.h (vec_cfuge): New #define.
13002 * config/rs6000/altivec.md (UNSPEC_VCFUGED): New constant.
13003 (vcfuged): New insn.
13004 * config/rs6000/rs6000-builtin.def (__builtin_altivec_vcfuged):
13005 New built-in function.
13006 * config/rs6000/rs6000-call.c (builtin_function_type): Add
13007 handling for FUTURE_BUILTIN_VCFUGED case.
13008 * doc/extend.texi (PowerPC AltiVec Built-in Functions Available
13009 for a Future Architecture): Add description of vec_cfuge built-in
13012 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
13014 * config/rs6000/rs6000-builtin.def (BU_FUTURE_MISC_0): New
13016 (BU_FUTURE_MISC_1): Likewise.
13017 (BU_FUTURE_MISC_2): Likewise.
13018 (BU_FUTURE_MISC_3): Likewise.
13019 (__builtin_cfuged): New built-in function definition.
13020 * config/rs6000/rs6000.md (UNSPEC_CFUGED): New constant.
13021 (cfuged): New insn.
13022 * doc/extend.texi (Basic PowerPC Built-in Functions Available for
13023 a Future Architecture): New subsubsection.
13025 2020-05-11 Richard Biener <rguenther@suse.de>
13027 PR tree-optimization/95049
13028 * tree-ssa-sccvn.c (set_ssa_val_to): Reject lattice transition
13029 between different constants.
13031 2020-05-11 Richard Sandiford <richard.sandiford@arm.com>
13033 * tree-pretty-print.c (dump_generic_node): Handle BOOLEAN_TYPEs.
13035 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
13036 Bill Schmidt <wschmidt@linux.ibm.com>
13038 * config/rs6000/altivec.h (vec_gnb): New #define.
13039 * config/rs6000/altivec.md (UNSPEC_VGNB): New constant.
13041 * config/rs6000/rs6000-builtin.def (BU_FUTURE_OVERLOAD_1): New
13043 (BU_FUTURE_OVERLOAD_2): Likewise.
13044 (BU_FUTURE_OVERLOAD_3): Likewise.
13045 (__builtin_altivec_gnb): New built-in function.
13046 (__buiiltin_vec_gnb): New overloaded built-in function.
13047 * config/rs6000/rs6000-call.c (altivec_overloaded_builtins):
13048 Define overloaded forms of __builtin_vec_gnb.
13049 (rs6000_expand_binop_builtin): Add error checking for 2nd argument
13050 of __builtin_vec_gnb.
13051 (builtin_function_type): Mark return value and arguments unsigned
13052 for FUTURE_BUILTIN_VGNB.
13053 * doc/extend.texi (PowerPC AltiVec Built-in Functions Available
13054 for a Future Architecture): Add description of vec_gnb built-in
13057 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
13058 Bill Schmidt <wschmidt@linux.ibm.com>
13060 * config/rs6000/altivec.h (vec_pdep): New macro implementing new
13062 (vec_pext): Likewise.
13063 * config/rs6000/altivec.md (UNSPEC_VPDEPD): New constant.
13064 (UNSPEC_VPEXTD): Likewise.
13065 (vpdepd): New insn.
13066 (vpextd): Likewise.
13067 * config/rs6000/rs6000-builtin.def (__builtin_altivec_vpdepd): New
13069 (__builtin_altivec_vpextd): Likewise.
13070 * config/rs6000/rs6000-call.c (builtin_function_type): Add
13071 handling for FUTURE_BUILTIN_VPDEPD and FUTURE_BUILTIN_VPEXTD
13073 * doc/extend.texi (PowerPC Altivec Built-in Functions Available
13074 for a Future Architecture): Add description of vec_pdep and
13075 vec_pext built-in functions.
13077 2020-05-11 Kelvin Nilsen <kelvin@gcc.gnu.org>
13078 Bill Schmidt <wschmidt@linux.ibm.com>
13080 * config/rs6000/altivec.h (vec_clzm): New macro.
13081 (vec_ctzm): Likewise.
13082 * config/rs6000/altivec.md (UNSPEC_VCLZDM): New constant.
13083 (UNSPEC_VCTZDM): Likewise.
13084 (vclzdm): New insn.
13085 (vctzdm): Likewise.
13086 * config/rs6000/rs6000-builtin.def (BU_FUTURE_V_0): New macro.
13087 (BU_FUTURE_V_1): Likewise.
13088 (BU_FUTURE_V_2): Likewise.
13089 (BU_FUTURE_V_3): Likewise.
13090 (__builtin_altivec_vclzdm): New builtin definition.
13091 (__builtin_altivec_vctzdm): Likewise.
13092 * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Cause
13093 _ARCH_PWR_FUTURE macro to be defined if OPTION_MASK_FUTURE flag is
13095 * config/rs6000/rs6000-call.c (builtin_function_type): Set return
13096 value and parameter types to be unsigned for VCLZDM and VCTZDM.
13097 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
13098 support for TARGET_FUTURE flag.
13099 * config/rs6000/rs6000.h (RS6000_BTM_FUTURE): New macro constant.
13100 * doc/extend.texi (PowerPC Altivec Built-in Functions Available
13101 for a Future Architecture): New subsubsection.
13103 2020-05-11 Richard Biener <rguenther@suse.de>
13105 PR tree-optimization/94988
13106 PR tree-optimization/95025
13107 * tree-ssa-loop-im.c (seq_entry): Make a struct, add from.
13108 (sm_seq_push_down): Take extra parameter denoting where we
13110 (execute_sm_exit): Re-issue sm_other stores in the correct
13112 (sm_seq_valid_bb): When always executed, allow sm_other to
13113 prevail inbetween sm_ord and record their stored value.
13114 (hoist_memory_references): Adjust refs_not_supported propagation
13115 and prune sm_other from the end of the ordered sequences.
13117 2020-05-11 Felix Yang <felix.yang@huawei.com>
13120 * config/aarch64/aarch64.md (mov<mode>):
13121 Bitcasts to the equivalent integer mode using gen_lowpart
13122 instead of doing FAIL for scalar floating point move.
13124 2020-05-11 Alex Coplan <alex.coplan@arm.com>
13126 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Add case
13127 to correctly calculate cost for new pattern (*csinv3_uxtw_insn3).
13128 * config/aarch64/aarch64.md (*csinv3_utxw_insn1): New.
13129 (*csinv3_uxtw_insn2): New.
13130 (*csinv3_uxtw_insn3): New.
13131 * config/aarch64/iterators.md (neg_not_cs): New.
13133 2020-05-11 Uroš Bizjak <ubizjak@gmail.com>
13136 * config/i386/mmx.md (mmx_addv2sf3): Use "v" constraint
13137 instead of "Yv" for AVX alternatives. Add "prefix" attribute.
13138 (*mmx_addv2sf3): Ditto.
13139 (*mmx_subv2sf3): Ditto.
13140 (*mmx_mulv2sf3): Ditto.
13141 (*mmx_<code>v2sf3): Ditto.
13142 (mmx_ieee_<ieee_maxmin>v2sf3): Ditto.
13144 2020-05-11 Uroš Bizjak <ubizjak@gmail.com>
13147 * config/i386/i386.c (ix86_vector_mode_supported_p):
13148 Vectorize 3dNOW! vector modes for TARGET_MMX_WITH_SSE.
13149 * config/i386/mmx.md (*mov<mode>_internal): Do not set
13150 mode of alternative 13 to V2SF for TARGET_MMX_WITH_SSE.
13152 (mmx_addv2sf3): Change operand predicates from
13153 nonimmediate_operand to register_mmxmem_operand.
13154 (addv2sf3): New expander.
13155 (*mmx_addv2sf3): Add SSE/AVX alternatives. Change operand
13156 predicates from nonimmediate_operand to register_mmxmem_operand.
13157 Enable instruction pattern for TARGET_MMX_WITH_SSE.
13159 (mmx_subv2sf3): Change operand predicate from
13160 nonimmediate_operand to register_mmxmem_operand.
13161 (mmx_subrv2sf3): Ditto.
13162 (subv2sf3): New expander.
13163 (*mmx_subv2sf3): Add SSE/AVX alternatives. Change operand
13164 predicates from nonimmediate_operand to register_mmxmem_operand.
13165 Enable instruction pattern for TARGET_MMX_WITH_SSE.
13167 (mmx_mulv2sf3): Change operand predicates from
13168 nonimmediate_operand to register_mmxmem_operand.
13169 (mulv2sf3): New expander.
13170 (*mmx_mulv2sf3): Add SSE/AVX alternatives. Change operand
13171 predicates from nonimmediate_operand to register_mmxmem_operand.
13172 Enable instruction pattern for TARGET_MMX_WITH_SSE.
13174 (mmx_<code>v2sf3): Change operand predicates from
13175 nonimmediate_operand to register_mmxmem_operand.
13176 (<code>v2sf3): New expander.
13177 (*mmx_<code>v2sf3): Add SSE/AVX alternatives. Change operand
13178 predicates from nonimmediate_operand to register_mmxmem_operand.
13179 Enable instruction pattern for TARGET_MMX_WITH_SSE.
13180 (mmx_ieee_<ieee_maxmin>v2sf3): Ditto.
13182 2020-05-11 Martin Liska <mliska@suse.cz>
13185 * common.opt: Fix typo in option description.
13187 2020-05-11 Martin Liska <mliska@suse.cz>
13189 PR gcov-profile/94928
13190 * gcov-io.h: Add caveat about coverage format parsing and
13191 possible outdated documentation.
13193 2020-05-11 Xiong Hu Luo <luoxhu@linux.ibm.com>
13195 PR tree-optimization/83403
13196 * tree-affine.c (expr_to_aff_combination): Replace SSA_NAME with
13197 determine_value_range, Add fold conversion of MULT_EXPR, fix the
13198 previous PLUS_EXPR.
13200 2020-05-10 Gerald Pfeifer <gerald@pfeifer.com>
13202 * config/i386/i386-c.c (ix86_target_macros): Define _ILP32 and
13203 __ILP32__ for 32-bit targets.
13205 2020-05-09 Eric Botcazou <ebotcazou@adacore.com>
13207 * tree.h (expr_align): Delete.
13208 * tree.c (expr_align): Likewise.
13210 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
13212 * resource.c (init_resource_info): Filter-out TARGET_FLAGS_REGNUM
13213 from end_of_function_needs.
13215 * config.gcc: Remove support for crisv32-*-* and cris-*-linux*.
13216 * config/cris/t-linux, config/cris/linux.h, config/cris/linux.opt:
13218 * config/cris/t-elfmulti: Remove crisv32 multilib.
13219 * config/cris: Remove shared-library and CRIS v32 support.
13221 Move trivially from cc0 to reg:CC model, removing most optimizations.
13222 * config/cris/cris.md: Remove all side-effect patterns and their
13223 splitters. Remove most peepholes. Add clobbers of CRIS_CC0_REGNUM
13224 to all but post-reload control-flow and movem insns. Remove
13225 constraints on all modified expanders. Remove obsoleted cc0-related
13227 (attr "cc"): Remove alternative "rev".
13228 (mode_iterator BWDD, DI_, SI_): New.
13229 (mode_attr sCC_destc, cmp_op1c, cmp_op2c): New.
13230 ("tst<mode>"): Remove; fold as "M" alternative into compare insn.
13231 ("mstep_shift", "mstep_mul"): Remove patterns.
13232 ("s<rcond>", "s<ocond>", "s<ncond>"): Anonymize.
13233 * config/cris/cris.c: Change all non-condition-code,
13234 non-control-flow emitted insns to add a parallel with clobber of
13235 CRIS_CC0_REGNUM, mostly by changing from gen_rtx_SET with
13236 emit_insn to use of emit_move_insn, gen_add2_insn or
13237 cris_emit_insn, as convenient.
13238 (cris_reg_overlap_mentioned_p)
13239 (cris_normal_notice_update_cc, cris_notice_update_cc): Remove.
13240 (cris_movem_load_rest_p): Don't assume all elements in a
13242 (cris_store_multiple_op_p): Ditto.
13243 (cris_emit_insn): New function.
13244 * cris/cris-protos.h (cris_emit_insn): Declare.
13247 * config/cris/cris.md (zcond): New code_iterator.
13248 ("*cbranch<mode>4_btstq<CC>"): New insn_and_split.
13250 * config/cris/cris.c (TARGET_FLAGS_REGNUM): Define.
13252 * config/cris/cris.h (REVERSIBLE_CC_MODE): Define to true.
13254 * config/cris/cris.md ("movsi"): For memory destination
13255 post-reload, generate clobberless variant. Similarly for a
13256 zero-source post-reload.
13257 ("*mov_tomem<mode>_split"): New split.
13258 ("*mov_tomem<mode>"): New insn.
13259 ("enabled", mov_tomem_enabled): Define and use to exclude "x" ->
13260 "Q>m" for less-than-SImode.
13261 ("*mov_fromzero<mode>_split"): New split.
13262 ("*mov_fromzero<mode>"): New insn.
13264 Prepare for cmpelim pass to eliminate redundant compare insns.
13265 * config/cris/cris-modes.def: New file.
13266 * config/cris/cris-protos.h (cris_select_cc_mode): Declare.
13267 (cris_notice_update_cc): Remove left-over declaration.
13268 * config/cris/cris.c (TARGET_CC_MODES_COMPATIBLE): Define.
13269 (cris_select_cc_mode, cris_cc_modes_compatible): New functions.
13270 * config/cris/cris.h (SELECT_CC_MODE): Define.
13271 * config/cris/cris.md (NZSET, NZUSE, NZVCSET, NZVCUSE): New
13273 (cond): New code_iterator.
13274 (nzcond): Replacement for incorrect ncond. All callers changed.
13275 (nzvccond): Replacement for ocond. All callers changed.
13276 (rnzcond): Replacement for rcond. All callers changed.
13277 (xCC): New code_attr.
13278 (cmp_op1c, cmp_op0c): Renumber from cmp_op1c and cmp_op2c. All
13280 ("*cmpdi<NZVCSET:mode>"): Rename from "*cmpdi". Replace
13281 CCmode with iteration over NZVCSET.
13282 ("*cmp_ext<BW:mode><NZVCSET:mode>"): Similarly; rename from
13284 ("*cmpsi<NZVCSET:mode>"): Similarly, from "*cmpsi".
13285 ("*cmp<BW:mode><NZVCSET:mode>"): Similarly from "*cmp<mode>".
13286 ("*btst<mode>"): Similarly, from "*btst".
13287 ("*cbranch<mode><code>4"): Rename from "*cbranch<mode>4",
13288 iterating over cond instead of matching the comparison with
13289 ordered_comparison_operator.
13290 ("*cbranch<mode>4_btstq<CC>"): Correct label operand number.
13291 ("b<zcond:code><mode>"): Rename from "b<ncond:code>", iterating
13293 ("b<nzvccond:code><mode>"): Similarly from "b<ocond:code>", over
13294 NZVCUSE. Remove FIXME.
13295 ("*b<nzcond:code>_reversed<mode>"): Similarly from
13296 "*b<ncond:code>_reversed", over NZUSE.
13297 ("*b<nzvccond:code>_reversed<mode>"): Similarly from
13298 "*b<ocond:code>_reversed", over NZVCUSE. Remove FIXME.
13299 ("b<rnzcond:code><mode>"): Similarly from "b<rcond:code>",
13300 over NZUSE. Reinstate "b<oCC>" vs. "b<CC>" mnemonic choice,
13301 depending on CC_NZmode vs. CCmode. Remove FIXME.
13302 ("*b<rnzcond:code>_reversed<mode>"): Similarly from
13303 "*b<rcond:code>_reversed", over NZUSE.
13304 ("*cstore<mode><code>4"): Rename from "*cstore<mode>4",
13305 iterating over cond instead of matching the comparison with
13306 ordered_comparison_operator.
13307 ("*s<nzcond:code><mode>"): Rename from "*s<ncond:code>",
13308 iterating over NZUSE.
13309 ("*s<rnzcond:code><mode>"): Similar from "*s<rcond:code>", over
13310 NZUSE. Reinstate "b<oCC>" vs. "b<CC>" mnemonic choice,
13311 depending on CC_NZmode vs. CCmode.
13312 ("*s<nzvccond:code><mode>"): Simlar from "*s<ocond:code>", over
13313 NZVCUSE. Remove FIXME.
13314 ("cc"): Comment on new use.
13315 ("cc_enabled"): New attribute.
13316 ("enabled"): Make default fall back to cc_enabled.
13317 ("setnz", "ccnz", "setnzvc", "ccnzvc", "setcc", "cccc"): New
13318 default_subst_attrs.
13319 ("setnz_subst", "setnzvc_subst", "setcc_subst"): New default_subst.
13320 ("*movsi_internal<setcc><setnz><setnzvc>"): Rename from
13321 "*movsi_internal". Correct contents of, and rename attribute
13322 "cc" to "cc<cccc><ccnz><ccnzvc>".
13323 ("anz", "anzvc", "acc"): New define_subst_attrs.
13324 ("<acc><anz><anzvc>movhi<setcc><setnz><setnzvc>"): Rename from
13325 "movhi". Rename "cc" attribute to "cc<cccc><ccnz><ccnzvc>".
13326 ("<acc><anz><anzvc>movqi<setcc><setnz><setnzvc>"): Similar from
13327 "movqi". Correct contents of, and rename "cc" attribute to
13328 "cc<cccc><ccnz><ccnzvc>".
13329 ("*b<zcond:code><mode>"): Rename from "b<zcond:code><mode>".
13330 ("*b<nzvccond:code><mode>"): Rename from "b<nzvccond:code><mode>".
13331 ("*b<rnzcond:code><mode>"): Rename from "*b<rnzcond:code><mode>".
13332 ("<acc><anz><anzvc>extend<mode>si2<setcc><setnz><setnzvc>"):
13333 Rename from "extend<mode>si2".
13334 ("<acc><anz><anzvc>zero_extend<mode>si2<setcc><setnz><setnzvc>"):
13335 Similar, from "zero_extend<mode>si2".
13336 ("*adddi3<setnz>"): Rename from "*adddi3".
13337 ("*subdi3<setnz>"): Similarly from "*subdi3".
13338 ("*addsi3<setnz>"): Similarly from "*addsi3".
13339 ("*subsi3<setnz>"): Similarly from "*subsi3".
13340 ("*addhi3<setnz>"): Similarly from "*addhi3" and decorate the
13341 "cc" attribute to "cc<ccnz>".
13342 ("*addqi3<setnz>"): Similarly from "*addqi3".
13343 ("*sub<mode>3<setnz>"): Similarly from "*sub<mode>3".
13344 ("*expanded_andsi<setcc><setnz><setnzvc>"): Rename from
13346 ("*iorsi3<setcc><setnz><setnzvc>"): Similar from "*iorsi3".
13347 Decorate "cc" attribute to make "cc<cccc><ccnz><ccnzvc>".
13348 ("*iorhi3<setcc><setnz><setnzvc>"): Similar from "*iorhi3".
13349 ("*iorqi3<setcc><setnz><setnzvc>"): Similar from "*iorqi3".
13350 ("*expanded_andhi<setcc><setnz><setnzvc>"): Similar from
13351 "*expanded_andhi". Add quick cc-setting alternative for 0..31.
13352 ("*andqi3<setcc><setnz><setnzvc>"): Similar from "*andqi3".
13353 ("<acc><anz><anzvc>xorsi3<setcc><setnz><setnzvc>"): Rename
13355 ("<acc><anz><anzvc>one_cmplsi2<setcc><setnz><setnzvc>"): Rename
13356 from "one_cmplsi2".
13357 ("<acc><anz><anzvc><shlr>si3<setcc><setnz><setnzvc>"): Rename
13359 ("<acc><anz><anzvc>clzsi2<setcc><setnz><setnzvc>"): Rename
13361 ("<acc><anz><anzvc>bswapsi2<setcc><setnz><setnzvc>"): Rename
13363 ("*uminsi3<setcc><setnz><setnzvc>"): Rename from "*uminsi3".
13365 * config/cris/cris-modes.def (CC_ZnN): New CC_MODE.
13366 * config/cris/cris.c (cris_rtx_costs): Handle pre-split bit-test
13367 * config/cris/cris.md (ZnNNZSET, ZnNNZUSE): New mode_iterators.
13368 (znnCC, rznnCC): New code_attrs.
13369 ("*btst<mode>"): Iterator over ZnNNZSET instead of NZVCSET. Remove
13370 obseolete comment. Add belt-and-suspenders mode-test to condition.
13371 Add fixme regarding remaining matched-but-not-generated case.
13372 ("*cbranch<mode>4_btstrq1_<CC>"): New insn_and_split.
13373 ("*cbranch<mode>4_btstqb0_<CC>"): Rename from
13374 "*cbranch<mode>4_btstq<CC>". Split to CC_NZ instead of CC.
13375 ("*b<zcond:code><mode>"): Iterate over ZnNNZUSE instead of NZUSE.
13376 Handle output of CC_ZnNmode.
13377 ("*b<nzcond:code>_reversed<mode>"): Ditto.
13379 * config/cris/cris.c (cris_select_cc_mode): Return CC_NZmode for
13380 NEG too. Correct comment.
13381 * config/cris/cris.md ("<anz>neg<mode>2<setnz>"): Rename from
13384 2020-05-08 Vladimir Makarov <vmakarov@redhat.com>
13386 * ira-color.c (update_costs_from_allocno): Remove
13387 conflict_cost_update_p argument. Propagate costs only along
13388 threads. Always do conflict cost update. Add printing debugging
13390 (update_costs_from_copies): Add printing debugging info.
13391 (restore_costs_from_copies): Ditto.
13392 (assign_hard_reg): Improve debug info.
13393 (push_only_colorable): Ditto. Call update_costs_from_prefs.
13394 (color_allocnos): Remove update_costs_from_prefs.
13396 2020-05-08 Richard Biener <rguenther@suse.de>
13398 * tree-vectorizer.h (vec_info::slp_loads): New.
13399 (vect_optimize_slp): Declare.
13400 * tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Do
13401 nothing when there are no loads.
13402 (vect_gather_slp_loads): Gather loads into a vector.
13403 (vect_supported_load_permutation_p): Remove.
13404 (vect_analyze_slp_instance): Do not verify permutation
13406 (vect_analyze_slp): Optimize permutations of reductions
13407 after all SLP instances have been gathered and gather
13409 (vect_optimize_slp): New function split out from
13410 vect_supported_load_permutation_p. Elide some permutations.
13411 (vect_slp_analyze_bb_1): Call vect_optimize_slp.
13412 * tree-vect-loop.c (vect_analyze_loop_2): Likewise.
13413 * tree-vect-stmts.c (vectorizable_load): Check whether
13414 the load can be permuted. When generating code assert we can.
13416 2020-05-08 Richard Biener <rguenther@suse.de>
13418 * tree-ssa-sccvn.c (rpo_avail): Change type to
13419 eliminate_dom_walker *.
13420 (eliminate_with_rpo_vn): Adjust rpo_avail to make vn_valueize
13421 use the DOM walker availability.
13422 (vn_reference_fold_indirect): Use get_addr_base_and_unit_offset_1
13423 with vn_valueize as valueization callback.
13424 (vn_reference_maybe_forwprop_address): Likewise.
13425 * tree-dfa.c (get_addr_base_and_unit_offset_1): Also valueize
13426 array_ref_low_bound.
13428 2020-05-08 Jakub Jelinek <jakub@redhat.com>
13430 PR tree-optimization/94786
13431 * match.pd (A ^ ((A ^ B) & -(C cmp D)) -> (C cmp D) ? B : A): New
13435 * config/i386/i386.md (peephole2 after *add<mode>3_cc_overflow_1): New
13438 PR middle-end/94724
13439 * tree.c (get_narrower): Reuse the op temporary instead of
13442 PR tree-optimization/94783
13443 * match.pd ((X + (X >> (prec - 1))) ^ (X >> (prec - 1)) to abs (X)):
13444 New simplification.
13446 PR tree-optimization/94956
13447 * match.pd (FFS): Optimize __builtin_ffs* of non-zero argument into
13448 __builtin_ctz* + 1 if direct IFN_CTZ is supported.
13450 PR tree-optimization/94913
13451 * match.pd (A - B + -1 >= A to B >= A): New simplification.
13452 (A - B > A to A < B): Don't test TYPE_OVERFLOW_WRAPS which is always
13453 true for TYPE_UNSIGNED integral types.
13456 PR rtl-optimization/94516
13457 * rtl.h (remove_reg_equal_equiv_notes): Add a bool argument defaulted
13459 * rtlanal.c (remove_reg_equal_equiv_notes): Add no_rescan argument.
13460 Call df_notes_rescan if that argument is not true and returning true.
13461 * combine.c (adjust_for_new_dest): Pass true as second argument to
13462 remove_reg_equal_equiv_notes.
13463 * postreload.c (reload_combine_recognize_pattern): Don't call
13466 2020-05-07 Segher Boessenkool <segher@kernel.crashing.org>
13468 * config/rs6000/rs6000.md (*setnbc_<un>signed_<GPR:mode>): New
13470 (*setnbcr_<un>signed_<GPR:mode>): New define_insn.
13471 (*neg_eq_<mode>): Avoid for TARGET_FUTURE; add missing && 1.
13472 (*neg_ne_<mode>): Likewise.
13474 2020-05-07 Segher Boessenkool <segher@kernel.crashing.org>
13476 * config/rs6000/rs6000.md (setbc_<un>signed_<GPR:mode>): New
13478 (*setbcr_<un>signed_<GPR:mode>): Likewise.
13479 (cstore<mode>4): Use setbc[r] if available.
13480 (<code><GPR:mode><GPR2:mode>2_isel): Avoid for TARGET_FUTURE.
13481 (eq<mode>3): Use setbc for TARGET_FUTURE.
13482 (*eq<mode>3): Avoid for TARGET_FUTURE.
13483 (ne<mode>3): Replace :P with :GPR; use setbc for TARGET_FUTURE;
13484 else for non-Pmode, use gen_eq and gen_xor.
13485 (*ne<mode>3): Avoid for TARGET_FUTURE.
13486 (*eqsi3_ext<mode>): Avoid for TARGET_FUTURE; fix missing && 1.
13488 2020-05-07 Jeff Law <law@redhat.com>
13490 * config/h8300/h8300.md: Move expanders and patterns into
13491 files based on functionality.
13492 * config/h8300/addsub.md: New file.
13493 * config/h8300/bitfield.md: New file
13494 * config/h8300/combiner.md: New file
13495 * config/h8300/divmod.md: New file
13496 * config/h8300/extensions.md: New file
13497 * config/h8300/jumpcall.md: New file
13498 * config/h8300/logical.md: New file
13499 * config/h8300/movepush.md: New file
13500 * config/h8300/multiply.md: New file
13501 * config/h8300/other.md: New file
13502 * config/h8300/proepi.md: New file
13503 * config/h8300/shiftrotate.md: New file
13504 * config/h8300/testcompare.md: New file
13506 * config/h8300/h8300.md (adds/subs splitters): Merge into single
13508 (negation expanders and patterns): Simplify and combine using
13510 (one_cmpl expanders and patterns): Likewise.
13511 (tablejump, indirect_jump patterns ): Likewise.
13512 (shift and rotate expanders and patterns): Likewise.
13513 (absolute value expander and pattern): Drop expander, rename pattern
13515 (peephole2 patterns): Move into...
13516 * config/h8300/peepholes.md: New file.
13518 * config/h8300/constraints.md (L and N): Simplify now that we're not
13519 longer supporting the original H8/300 chip.
13520 * config/h8300/elf.h (LINK_SPEC): Likewise. Default to H8/300H.
13521 * config/h8300/h8300.c (shift_alg_qi): Drop H8/300 support.
13522 (shift_alg_hi, shift_alg_si): Similarly.
13523 (h8300_option_overrides): Similarly. Default to H8/300H. If
13524 compiling for H8/S, then turn off H8/300H. Do not update the
13525 shift_alg tables for H8/300 port.
13526 (h8300_emit_stack_adjustment): Remove support for H8/300. Simplify
13528 (push, split_adds_subs, h8300_rtx_costs): Likewise.
13529 (h8300_print_operand, compute_mov_length): Likewise.
13530 (output_plussi, compute_plussi_length): Likewise.
13531 (compute_plussi_cc, output_logical_op): Likewise.
13532 (compute_logical_op_length, compute_logical_op_cc): Likewise.
13533 (get_shift_alg, h8300_shift_needs_scratch): Likewise.
13534 (output_a_shift, compute_a_shift_length): Likewise.
13535 (output_a_rotate, compute_a_rotate_length): Likewise.
13536 (output_simode_bld, h8300_hard_regno_mode_ok): Likewise.
13537 (h8300_modes_tieable_p, h8300_return_in_memory): Likewise.
13538 * config/h8300/h8300.h (TARGET_CPU_CPP_BUILTINS): Likewise.
13539 (attr_cpu, TARGET_H8300): Remove.
13540 (TARGET_DEFAULT): Update.
13541 (UNITS_PER_WORD, PARM_BOUNDARY): Simplify where possible.
13542 (BIGGEST_ALIGNMENT, STACK_BOUNDARY): Likewise.
13543 (CONSTANT_ADDRESS_P, MOVE_MAX, Pmode): Likewise.
13544 (SIZE_TYPE, POINTER_SIZE, ASM_WORD_OP): Likewise.
13545 * config/h8300/h8300.md: Simplify patterns throughout.
13546 * config/h8300/t-h8300: Update multilib configuration.
13548 * config/h8300/h8300.h (LINK_SPEC): Remove.
13549 (USER_LABEL_PREFIX): Likewise.
13551 * config/h8300/h8300.c (h8300_asm_named_section): Remove.
13552 (h8300_option_override): Remove remnants of COFF support.
13554 2020-05-07 Alan Modra <amodra@gmail.com>
13556 * tree-ssa-reassoc.c (optimize_range_tests_to_bit_test): Replace
13557 set_rtx_cost with set_src_cost.
13558 * tree-switch-conversion.c (bit_test_cluster::emit): Likewise.
13560 2020-05-07 Kewen Lin <linkw@gcc.gnu.org>
13562 * tree-vect-stmts.c (vectorizable_load): Check alignment to avoid
13563 redundant half vector handlings for no peeling gaps.
13565 2020-05-07 Giuliano Belinassi <giuliano.belinassi@usp.br>
13567 * tree-ssa-operands.c (operands_scanner): New class.
13568 (operands_bitmap_obstack): Remove.
13569 (n_initialized): Remove.
13570 (build_uses): Move to operands_scanner class.
13571 (build_vuse): Same as above.
13572 (build_vdef): Same as above.
13573 (verify_ssa_operands): Same as above.
13574 (finalize_ssa_uses): Same as above.
13575 (cleanup_build_arrays): Same as above.
13576 (finalize_ssa_stmt_operands): Same as above.
13577 (start_ssa_stmt_operands): Same as above.
13578 (append_use): Same as above.
13579 (append_vdef): Same as above.
13580 (add_virtual_operand): Same as above.
13581 (add_stmt_operand): Same as above.
13582 (get_mem_ref_operands): Same as above.
13583 (get_tmr_operands): Same as above.
13584 (maybe_add_call_vops): Same as above.
13585 (get_asm_stmt_operands): Same as above.
13586 (get_expr_operands): Same as above.
13587 (parse_ssa_operands): Same as above.
13588 (finalize_ssa_defs): Same as above.
13589 (build_ssa_operands): Same as above, plus create a C-like wrapper.
13590 (update_stmt_operands): Create an instance of operands_scanner.
13592 2020-05-07 Richard Biener <rguenther@suse.de>
13595 * tree-ssa-structalias.c (refered_from_nonlocal_fn): Use
13596 DECL_EXTERNAL || TREE_PUBLIC instead of externally_visible.
13597 (refered_from_nonlocal_var): Likewise.
13598 (ipa_pta_execute): Likewise.
13600 2020-05-07 Erick Ochoa <erick.ochoa@theobroma-systems.com>
13602 * gcc/tree-ssa-struct-alias.c: Fix comments
13604 2020-05-07 Martin Liska <mliska@suse.cz>
13606 * doc/invoke.texi: Fix 2 optindex entries.
13608 2020-05-07 Richard Biener <rguenther@suse.de>
13610 PR middle-end/94703
13611 * tree-core.h (tree_decl_common::gimple_reg_flag): Rename ...
13612 (tree_decl_common::not_gimple_reg_flag): ... to this.
13613 * tree.h (DECL_GIMPLE_REG_P): Rename ...
13614 (DECL_NOT_GIMPLE_REG_P): ... to this.
13615 * gimple-expr.c (copy_var_decl): Copy DECL_NOT_GIMPLE_REG_P.
13616 (create_tmp_reg): Simplify.
13617 (create_tmp_reg_fn): Likewise.
13618 (is_gimple_reg): Check DECL_NOT_GIMPLE_REG_P for all regs.
13619 * gimplify.c (create_tmp_from_val): Simplify.
13620 (gimplify_bind_expr): Likewise.
13621 (gimplify_compound_literal_expr): Likewise.
13622 (gimplify_function_tree): Likewise.
13623 (prepare_gimple_addressable): Set DECL_NOT_GIMPLE_REG_P.
13624 * asan.c (create_odr_indicator): Do not clear DECL_GIMPLE_REG_P.
13625 (asan_add_global): Copy it.
13626 * cgraphunit.c (cgraph_node::expand_thunk): Force args
13628 * function.c (gimplify_parameters): Copy
13629 DECL_NOT_GIMPLE_REG_P.
13630 * ipa-param-manipulation.c
13631 (ipa_param_body_adjustments::common_initialization): Simplify.
13632 (ipa_param_body_adjustments::reset_debug_stmts): Copy
13633 DECL_NOT_GIMPLE_REG_P.
13634 * omp-low.c (lower_omp_for_scan): Do not set DECL_GIMPLE_REG_P.
13635 * sanopt.c (sanitize_rewrite_addressable_params): Likewise.
13636 * tree-cfg.c (make_blocks_1): Simplify.
13637 (verify_address): Do not verify DECL_GIMPLE_REG_P setting.
13638 * tree-eh.c (lower_eh_constructs_2): Simplify.
13639 * tree-inline.c (declare_return_variable): Adjust and
13641 (copy_decl_to_var): Copy DECL_NOT_GIMPLE_REG_P.
13642 (copy_result_decl_to_var): Likewise.
13643 * tree-into-ssa.c (pass_build_ssa::execute): Adjust comment.
13644 * tree-nested.c (create_tmp_var_for): Simplify.
13645 * tree-parloops.c (separate_decls_in_region_name): Copy
13646 DECL_NOT_GIMPLE_REG_P.
13647 * tree-sra.c (create_access_replacement): Adjust and
13648 generalize partial def support.
13649 * tree-ssa-forwprop.c (pass_forwprop::execute): Set
13650 DECL_NOT_GIMPLE_REG_P on decls we introduce partial defs on.
13651 * tree-ssa.c (maybe_optimize_var): Handle clearing of
13652 TREE_ADDRESSABLE and setting/clearing DECL_NOT_GIMPLE_REG_P
13654 * lto-streamer-out.c (hash_tree): Hash DECL_NOT_GIMPLE_REG_P.
13655 * tree-streamer-out.c (pack_ts_decl_common_value_fields): Stream
13656 DECL_NOT_GIMPLE_REG_P.
13657 * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise.
13658 * cfgexpand.c (avoid_type_punning_on_regs): New.
13659 (discover_nonconstant_array_refs): Call
13660 avoid_type_punning_on_regs to avoid unsupported mode punning.
13662 2020-05-07 Alex Coplan <alex.coplan@arm.com>
13664 * config/arm/arm.c (arm_add_stmt_cost): Fix declaration, remove class
13667 2020-05-07 Richard Biener <rguenther@suse.de>
13669 PR tree-optimization/57359
13670 * tree-ssa-loop-im.c (im_mem_ref::indep_loop): Remove.
13671 (in_mem_ref::dep_loop): Repurpose.
13672 (LOOP_DEP_BIT): Remove.
13673 (enum dep_kind): New.
13674 (enum dep_state): Likewise.
13675 (record_loop_dependence): New function to populate the
13677 (query_loop_dependence): New function to query the dependence
13679 (memory_accesses::refs_in_loop): Rename to ...
13680 (memory_accesses::refs_loaded_in_loop): ... this and change to
13682 (outermost_indep_loop): Adjust.
13683 (mem_ref_alloc): Likewise.
13684 (gather_mem_refs_stmt): Likewise.
13685 (mem_refs_may_alias_p): Add tbaa_p parameter and pass it down.
13686 (struct sm_aux): New.
13687 (execute_sm): Split code generation on exits, record state
13689 (enum sm_kind): New.
13690 (execute_sm_exit): Exit code generation part.
13691 (sm_seq_push_down): Helper for sm_seq_valid_bb performing
13692 dependence checking on stores reached from exits.
13693 (sm_seq_valid_bb): New function gathering SM stores on exits.
13694 (hoist_memory_references): Re-implement.
13695 (refs_independent_p): Add tbaa_p parameter and pass it down.
13696 (record_dep_loop): Remove.
13697 (ref_indep_loop_p_1): Fold into ...
13698 (ref_indep_loop_p): ... this and generalize for three kinds
13699 of dependence queries.
13700 (can_sm_ref_p): Adjust according to hoist_memory_references
13702 (store_motion_loop): Don't do anything if the set of SM
13703 candidates is empty.
13704 (tree_ssa_lim_initialize): Adjust.
13705 (tree_ssa_lim_finalize): Likewise.
13707 2020-05-07 Eric Botcazou <ebotcazou@adacore.com>
13708 Pierre-Marie de Rodat <derodat@adacore.com>
13710 * dwarf2out.c (add_data_member_location_attribute): Take into account
13711 the variant part offset in the computation of the data bit offset.
13712 (add_bit_offset_attribute): Remove CTX parameter. Pass a new context
13713 in the call to field_byte_offset.
13714 (gen_field_die): Adjust call to add_bit_offset_attribute and remove
13715 confusing assertion.
13716 (analyze_variant_discr): Deal with boolean subtypes.
13718 2020-05-07 Martin Liska <mliska@suse.cz>
13720 * lto-wrapper.c: Split arguments of MAKE environment
13723 2020-05-07 Uroš Bizjak <ubizjak@gmail.com>
13725 * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): Use
13726 TARGET_EXPR instead of MODIFY_EXPR for the first assignments to
13727 fenv_var and new_fenv_var.
13729 2020-05-06 Jakub Jelinek <jakub@redhat.com>
13732 * config/i386/subst.md (store_mask_constraint, store_mask_predicate):
13734 (avx512dq_vextract<shuffletype>64x2_1_maskm,
13735 avx512f_vextract<shuffletype>32x4_1_maskm,
13736 vec_extract_lo_<mode>_maskm, vec_extract_hi_<mode>_maskm): Remove.
13737 (<mask_codefor>avx512dq_vextract<shuffletype>64x2_1<mask_name>): Split
13739 (*avx512dq_vextract<shuffletype>64x2_1,
13740 avx512dq_vextract<shuffletype>64x2_1_mask): ... these new
13741 define_insns. Even in the masked variant allow memory output but in
13742 that case use 0 rather than 0C constraint on the source of masked-out
13744 (<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>): Split
13746 (*avx512f_vextract<shuffletype>32x4_1,
13747 avx512f_vextract<shuffletype>32x4_1_mask): ... these new define_insns.
13748 Even in the masked variant allow memory output but in that case use
13749 0 rather than 0C constraint on the source of masked-out elts.
13750 (vec_extract_lo_<mode><mask_name>): Split into ...
13751 (vec_extract_lo_<mode>, vec_extract_lo_<mode>_mask): ... these new
13752 define_insns. Even in the masked variant allow memory output but in
13753 that case use 0 rather than 0C constraint on the source of masked-out
13755 (vec_extract_hi_<mode><mask_name>): Split into ...
13756 (vec_extract_hi_<mode>, vec_extract_hi_<mode>_mask): ... these new
13757 define_insns. Even in the masked variant allow memory output but in
13758 that case use 0 rather than 0C constraint on the source of masked-out
13761 2020-05-06 qing zhao <qing.zhao@oracle.com>
13764 * common.opt: Add -flarge-source-files.
13765 * doc/invoke.texi: Document it.
13766 * toplev.c (process_options): set line_table->default_range_bits
13767 to 0 when flag_large_source_files is true.
13769 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
13772 * config/i386/predicates.md (add_comparison_operator): New predicate.
13773 * config/i386/i386.md (compare->add splitter): New splitters.
13775 2020-05-06 Richard Biener <rguenther@suse.de>
13777 * tree-vectorizer.h (vect_transform_slp_perm_load): Adjust.
13778 * tree-vect-data-refs.c (vect_slp_analyze_node_dependences):
13779 Remove slp_instance parameter, just iterate over all scalar stmts.
13780 (vect_slp_analyze_instance_dependence): Adjust and likewise.
13781 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Remove unused BB
13783 (vect_schedule_slp): Just iterate over all scalar stmts.
13784 (vect_supported_load_permutation_p): Adjust.
13785 (vect_transform_slp_perm_load): Remove slp_instance parameter,
13786 instead use the number of lanes in the node as group size.
13787 * tree-vect-stmts.c (vect_model_load_cost): Get vectorization
13788 factor instead of slp_instance as parameter.
13789 (vectorizable_load): Adjust.
13791 2020-05-06 Andreas Schwab <schwab@suse.de>
13793 * config/aarch64/driver-aarch64.c: Include "aarch64-protos.h".
13794 (aarch64_get_extension_string_for_isa_flags): Don't declare.
13796 2020-05-06 Richard Biener <rguenther@suse.de>
13798 PR middle-end/94964
13799 * cfgloopmanip.c (create_preheader): Require non-complex
13800 preheader edge for CP_SIMPLE_PREHEADERS.
13802 2020-05-06 Richard Biener <rguenther@suse.de>
13804 PR tree-optimization/94963
13805 * tree-ssa-loop-im.c (execute_sm_if_changed): Remove
13806 no-warning marking of the conditional store.
13807 (execute_sm): Instead mark the uninitialized state
13808 on loop entry to be not warned about.
13810 2020-05-06 Hongtao Liu <hongtao.liu@intel.com>
13812 * common/config/i386/i386-common.c (OPTION_MASK_ISA2_TSXLDTRK_SET,
13813 OPTION_MASK_ISA2_TSXLDTRK_UNSET): New macros.
13814 * config.gcc: Add tsxldtrkintrin.h to extra_headers.
13815 * config/i386/driver-i386.c (host_detect_local_cpu): Detect
13817 * config/i386/i386-builtin.def: Add new builtins.
13818 * config/i386/i386-c.c (ix86_target_macros_internal): Define
13820 * config/i386/i386-options.c (ix86_target_string): Add
13822 (ix86_valid_target_attribute_inner_p): Add attribute tsxldtrk.
13823 * config/i386/i386.h (TARGET_TSXLDTRK, TARGET_TSXLDTRK_P):
13825 * config/i386/i386.md (define_c_enum "unspec"): Add
13826 UNSPECV_SUSLDTRK, UNSPECV_RESLDTRK.
13827 (TSXLDTRK): New define_int_iterator.
13828 ("<tsxldtrk>"): New define_insn.
13829 * config/i386/i386.opt: Add -mtsxldtrk.
13830 * config/i386/immintrin.h: Include tsxldtrkintrin.h.
13831 * config/i386/tsxldtrkintrin.h: New.
13832 * doc/invoke.texi: Document -mtsxldtrk.
13834 2020-05-06 Jakub Jelinek <jakub@redhat.com>
13836 PR tree-optimization/94921
13837 * match.pd (~(~X - Y) -> X + Y, ~(~X + Y) -> X - Y): New
13840 2020-05-06 Richard Biener <rguenther@suse.de>
13842 PR tree-optimization/94965
13843 * tree-vect-stmts.c (vectorizable_load): Fix typo.
13845 2020-05-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13847 * doc/install.texi: Replace Sun with Solaris as appropriate.
13848 (Tools/packages necessary for building GCC, Perl version between
13849 5.6.1 and 5.6.24): Remove Solaris 8 reference.
13850 (Installing GCC: Binaries, Solaris 2 (SPARC, Intel)): Remove
13852 (Specific, i?86-*-solaris2*): Update version references for
13853 Solaris 11.3 and later. Remove gas 2.26 caveat.
13854 (Specific, *-*-solaris2*): Update version references for
13855 Solaris 11.3 and later. Remove boehm-gc reference.
13856 Document GMP, MPFR caveats on Solaris 11.3.
13857 (Specific, sparc-sun-solaris2*): Update Solaris 9 references.
13858 (Specific, sparc64-*-solaris2*): Likewise.
13859 Document --build requirement.
13861 2020-05-06 Jakub Jelinek <jakub@redhat.com>
13864 * config/riscv/riscv-builtins.c (riscv_atomic_assign_expand_fenv): Use
13865 TARGET_EXPR instead of MODIFY_EXPR for first assignment to old_flags.
13867 PR rtl-optimization/94873
13868 * combine.c (combine_instructions): Don't optimize using REG_EQUAL
13869 note if SET_SRC (set) has side-effects.
13871 2020-05-06 Hongtao Liu <hongtao.liu@intel.com>
13872 Wei Xiao <wei3.xiao@intel.com>
13874 * common/config/i386/i386-common.c (OPTION_MASK_ISA2_SERIALIZE_SET,
13875 OPTION_MASK_ISA2_SERIALIZE_UNSET): New macros.
13876 (ix86_handle_option): Handle -mserialize.
13877 * config.gcc (serializeintrin.h): New header file.
13878 * config/i386/cpuid.h (bit_SERIALIZE): New bit.
13879 * config/i386/driver-i386.c (host_detect_local_cpu): Detect
13881 * config/i386/i386-builtin.def: Add new builtin.
13882 * config/i386/i386-c.c (__SERIALIZE__): New macro.
13883 * config/i386/i386-options.c (ix86_target_opts_isa2_opts):
13885 * (ix86_valid_target_attribute_inner_p): Add target attribute
13887 * config/i386/i386.h (TARGET_SERIALIZE, TARGET_SERIALIZE_P):
13889 * config/i386/i386.md (UNSPECV_SERIALIZE): New unspec.
13890 (serialize): New define_insn.
13891 * config/i386/i386.opt (mserialize): New option
13892 * config/i386/immintrin.h: Include serailizeintrin.h.
13893 * config/i386/serializeintrin.h: New header file.
13894 * doc/invoke.texi: Add documents for -mserialize.
13896 2020-05-06 Richard Biener <rguenther@suse.de>
13898 * tree-cfg.c (verify_gimple_assign_unary): Adjust integer
13899 to/from pointer conversion checking.
13901 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
13903 * config/rs6000/rs6000-builtin.def: Delete changes meant for a
13905 * config/rs6000/rs6000-c.c: Likewise.
13906 * config/rs6000/rs6000-call.c: Likewise.
13907 * config/rs6000/rs6000.c: Likewise.
13909 2020-05-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
13911 * config/rtems.h (RTEMS_STARTFILE_SPEC): Define if undefined.
13912 (RTEMS_ENDFILE_SPEC): Likewise.
13913 (STARTFILE_SPEC): Update comment. Add RTEMS_STARTFILE_SPEC.
13914 (ENDFILE_SPEC): Add RTEMS_ENDFILE_SPEC.
13915 (LIB_SPECS): Support -nodefaultlibs option.
13916 * config/or1k/rtems.h (RTEMS_STARTFILE_SPEC): Define.
13917 (RTEMS_ENDFILE_SPEC): Likewise.
13918 * config/rs6000/rtems.h (RTEMS_STARTFILE_SPEC): Likewise.
13919 (RTEMS_ENDFILE_SPEC): Likewise.
13920 * config/v850/rtems.h (RTEMS_STARTFILE_SPEC): Likewise.
13921 (RTEMS_ENDFILE_SPEC): Likewise.
13923 2020-05-05 Dimitar Dimitrov <dimitar@dinux.eu>
13925 * config/pru/pru.c (pru_hard_regno_call_part_clobbered): Remove.
13926 (TARGET_HARD_REGNO_CALL_PART_CLOBBERED): Remove.
13928 2020-05-05 Dimitar Dimitrov <dimitar@dinux.eu>
13930 * config/pru/pru.h: Mark R3.w0 as caller saved.
13932 2020-05-05 Dimitar Dimitrov <dimitar@dinux.eu>
13934 * config/pru/pru.c (pru_emit_doloop): Use new gen_doloop_end_internal
13935 and gen_doloop_begin_internal.
13936 (pru_reorg_loop): Use gen_pruloop with mode.
13937 * config/pru/pru.md: Use new @insn syntax.
13939 2020-05-05 Dimitar Dimitrov <dimitar@dinux.eu>
13941 * config/pru/pru.c (pru_print_operand): Fix fall through comment.
13943 2020-05-05 Uroš Bizjak <ubizjak@gmail.com>
13945 * config/i386/i386.md (fixuns_trunc<mode>si2): Use
13946 "clobber (scratch:M)" instad of "clobber (match_scratch:M N)".
13947 (addqi3_cconly_overflow): Ditto.
13948 (umulv<mode>4): Ditto.
13949 (<s>mul<mode>3_highpart): Ditto.
13950 (tls_global_dynamic_32): Ditto.
13951 (tls_local_dynamic_base_32): Ditto.
13958 (*adddi_4): Remove "m" constraint from scratch operand.
13959 (*add<mode>_4): Ditto.
13961 2020-05-05 Jakub Jelinek <jakub@redhat.com>
13963 PR rtl-optimization/94516
13964 * postreload.c (reload_cse_simplify): When replacing sp = sp + const
13965 with sp = reg, add REG_EQUAL note with sp + const.
13966 * combine-stack-adj.c (try_apply_stack_adjustment): Change return
13967 type from int to bool. Add LIVE and OTHER_INSN arguments. Undo
13968 postreload sp = sp + const to sp = reg optimization if needed and
13970 (combine_stack_adjustments_for_block): Add LIVE argument. Handle
13971 reg = sp insn with sp + const REG_EQUAL note. Adjust
13972 try_apply_stack_adjustment caller, call
13973 df_simulate_initialize_forwards and df_simulate_one_insn_forwards.
13974 (combine_stack_adjustments): Allocate and free LIVE bitmap,
13975 adjust combine_stack_adjustments_for_block caller.
13977 2020-05-05 Martin Liska <mliska@suse.cz>
13979 PR gcov-profile/93623
13980 * tree-cfg.c (stmt_can_terminate_bb_p): Update comment to reflect
13983 2020-05-05 Martin Liska <mliska@suse.cz>
13985 * opt-functions.awk (opt_args_non_empty): New function.
13986 * opt-read.awk: Use the function for various option arguments.
13988 2020-05-05 Martin Liska <mliska@suse.cz>
13991 * lto-wrapper.c (run_gcc): When using -flto=jobserver,
13992 report warning when the jobserver is not detected.
13994 2020-05-05 Martin Liska <mliska@suse.cz>
13996 PR gcov-profile/94636
13997 * gcov.c (main): Print total lines summary at the end.
13998 (generate_results): Expect file_name always being non-null.
13999 Print newline after intermediate file is printed in order to align with
14000 what we do for normal files.
14002 2020-05-05 Martin Liska <mliska@suse.cz>
14004 * dumpfile.c (dump_switch_p): Change return type
14005 and print option suggestion.
14006 * dumpfile.h: Change return type.
14007 * opts-global.c (handle_common_deferred_options):
14008 Move error into dump_switch_p function.
14010 2020-05-05 Martin Liska <mliska@suse.cz>
14013 * alloc-pool.h: Use const for some arguments.
14014 * bitmap.h: Likewise.
14015 * mem-stats.h: Likewise.
14016 * sese.h (get_entry_bb): Likewise.
14017 (get_exit_bb): Likewise.
14019 2020-05-05 Richard Biener <rguenther@suse.de>
14021 * tree-vect-slp.c (struct vdhs_data): New.
14022 (vect_detect_hybrid_slp): New walker.
14023 (vect_detect_hybrid_slp): Rewrite.
14025 2020-05-05 Richard Biener <rguenther@suse.de>
14028 * tree-ssa-structalias.c (ipa_pta_execute): Use
14029 varpool_node::externally_visible_p ().
14030 (refered_from_nonlocal_var): Likewise.
14032 2020-05-05 Eric Botcazou <ebotcazou@adacore.com>
14034 * gcc.c (LTO_PLUGIN_SPEC): Define if not already.
14035 (LINK_PLUGIN_SPEC): Execute LTO_PLUGIN_SPEC.
14036 * config/vxworks.h (LTO_PLUGIN_SPEC): Define.
14038 2020-05-05 Eric Botcazou <ebotcazou@adacore.com>
14040 * gimplify.c (gimplify_init_constructor): Do not put the constructor
14041 into static memory if it is not complete.
14043 2020-05-05 Richard Biener <rguenther@suse.de>
14045 PR tree-optimization/94949
14046 * tree-ssa-loop-im.c (execute_sm): Check whether we use
14047 the multithreaded model or always compute the stored value
14048 before eliding a load.
14050 2020-05-05 Alex Coplan <alex.coplan@arm.com>
14052 * config/aarch64/aarch64.md (*one_cmpl_zero_extend): New.
14054 2020-05-05 Jakub Jelinek <jakub@redhat.com>
14056 PR tree-optimization/94800
14057 * match.pd (X + (X << C) to X * (1 + (1 << C)),
14058 (X << C1) + (X << C2) to X * ((1 << C1) + (1 << C2))): New
14062 * config/i386/mmx.md (*vec_dupv4hi): Use xYw constraints instead of Yv.
14064 PR tree-optimization/94914
14065 * match.pd ((((type)A * B) >> prec) != 0 to .MUL_OVERFLOW(A, B) != 0):
14066 New simplification.
14068 2020-05-05 Uroš Bizjak <ubizjak@gmail.com>
14070 * config/i386/i386.md (*testqi_ext_3): Use
14071 int_nonimmediate_operand instead of manual mode checks.
14072 (*x86_mov<SWI48:mode>cc_0_m1_neg_leu<SWI:mode>):
14073 Use int_nonimmediate_operand predicate. Rewrite
14074 define_insn_and_split pattern to a combine pass splitter.
14076 2020-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
14078 * configure.ac <i[34567]86-*-*>: Add --32 to tls_as_opt on Solaris.
14079 * configure: Regenerate.
14081 2020-05-05 Jakub Jelinek <jakub@redhat.com>
14084 * config/i386/sse.md (avx2_ph<plusminus_mnemonic>wv16hi3,
14085 ssse3_ph<plusminus_mnemonic>wv8hi3, ssse3_ph<plusminus_mnemonic>wv4hi3,
14086 avx2_ph<plusminus_mnemonic>dv8si3, ssse3_ph<plusminus_mnemonic>dv4si3,
14087 ssse3_ph<plusminus_mnemonic>dv2si3): Simplify RTL patterns.
14089 2020-05-04 Clement Chigot <clement.chigot@atos.net>
14090 David Edelsohn <dje.gcc@gmail.com>
14092 * config/rs6000/rs6000-call.c (rs6000_init_builtins): Override explicit
14093 for fmodl, frexpl, ldexpl and modfl builtins.
14095 2020-05-04 Richard Sandiford <richard.sandiford@arm.com>
14097 PR middle-end/94941
14098 * internal-fn.c (expand_load_lanes_optab_fn): Emit a move if the
14099 chosen lhs is different from the gcall lhs.
14100 (expand_mask_load_optab_fn): Likewise.
14101 (expand_gather_load_optab_fn): Likewise.
14103 2020-05-04 Uroš Bizjak <ubizjak@gmail.com>
14106 * config/i386/i386.md (*neg<mode>_ccc): New insn pattern.
14107 (EQ compare->LTU compare splitter): New splitter.
14108 (NE compare->NEG splitter): Ditto.
14110 2020-05-04 Marek Polacek <polacek@redhat.com>
14113 2020-04-30 Marek Polacek <polacek@redhat.com>
14116 * tree.c (check_base_type): Return true only if TYPE_USER_ALIGN match.
14117 (check_aligned_type): Check if TYPE_USER_ALIGN match.
14119 2020-05-04 Richard Biener <rguenther@suse.de>
14121 PR tree-optimization/93891
14122 * tree-ssa-sccvn.c (vn_reference_lookup_3): Fall back to
14123 the original reference tree for assessing access alignment.
14125 2020-05-04 Richard Biener <rguenther@suse.de>
14127 PR tree-optimization/39612
14128 * tree-ssa-loop-im.c (im_mem_ref::loaded): New member.
14129 (set_ref_loaded_in_loop): New.
14130 (mark_ref_loaded): Likewise.
14131 (gather_mem_refs_stmt): Call mark_ref_loaded for loads.
14132 (execute_sm): Avoid issueing a load when it was not there.
14133 (execute_sm_if_changed): Avoid issueing warnings for the
14136 2020-05-04 Martin Jambor <mjambor@suse.cz>
14139 * tree-inline.c (tree_function_versioning): Leave any type conversion
14140 of replacements to setup_one_parameter and its friend
14141 force_value_to_type.
14143 2020-05-04 Uroš Bizjak <ubizjak@gmail.com>
14146 * config/i386/predicates.md (shr_comparison_operator): New predicate.
14147 * config/i386/i386.md (compare->shr splitter): New splitters.
14149 2020-05-04 Jakub Jelinek <jakub@redhat.com>
14151 PR tree-optimization/94718
14152 * match.pd ((X < 0) != (Y < 0) into (X ^ Y) < 0): New simplification.
14154 PR tree-optimization/94718
14155 * match.pd (bitop (convert @0) (convert? @1)): For GIMPLE, if we can,
14156 replace two nop conversions on bit_{and,ior,xor} argument
14157 and result with just one conversion on the result or another argument.
14159 PR tree-optimization/94718
14160 * fold-const.c (fold_binary_loc): Move (X & C) eqne (Y & C)
14161 -> (X ^ Y) & C eqne 0 optimization to ...
14162 * match.pd ((X & C) op (Y & C) into (X ^ Y) & C op 0): ... here.
14164 * opts.c (get_option_html_page): Instead of hardcoding a list of
14165 options common between C/C++ and Fortran only use gfortran/
14166 documentation for warnings that have CL_Fortran set but not
14169 2020-05-03 Uroš Bizjak <ubizjak@gmail.com>
14171 * config/i386/i386-expand.c (ix86_expand_int_movcc):
14172 Use plus_constant instead of gen_rtx_PLUS with GEN_INT.
14173 (emit_memmov): Ditto.
14174 (emit_memset): Ditto.
14175 (ix86_expand_strlensi_unroll_1): Ditto.
14176 (release_scratch_register_on_entry): Ditto.
14177 (gen_frame_set): Ditto.
14178 (ix86_emit_restore_reg_using_pop): Ditto.
14179 (ix86_emit_outlined_ms2sysv_restore): Ditto.
14180 (ix86_expand_epilogue): Ditto.
14181 (ix86_expand_split_stack_prologue): Ditto.
14182 * config/i386/i386.md (push immediate splitter): Ditto.
14186 2020-05-02 Iain Sandoe <iain@sandoe.co.uk>
14188 PR translation/93861
14189 * config/darwin-driver.c (darwin_driver_init): Adjust spelling in
14192 2020-05-02 Jakub Jelinek <jakub@redhat.com>
14194 * config/tilegx/tilegx.md
14195 (insn_stnt<I124MODE:n>_add<I48MODE:bitsuffix>): Use <I124MODE:n>
14196 rather than just <n>.
14198 2020-05-01 H.J. Lu <hongjiu.lu@intel.com>
14201 * cfgexpand.c (pass_expand::execute): Set crtl->patch_area_size
14202 and crtl->patch_area_entry.
14203 * emit-rtl.h (rtl_data): Add patch_area_size and patch_area_entry.
14204 * opts.c (common_handle_option): Limit
14205 function_entry_patch_area_size and function_entry_patch_area_start
14206 to USHRT_MAX. Fix a typo in error message.
14207 * varasm.c (assemble_start_function): Use crtl->patch_area_size
14208 and crtl->patch_area_entry.
14209 * doc/invoke.texi: Document the maximum value for
14210 -fpatchable-function-entry.
14212 2020-05-01 Iain Sandoe <iain@sandoe.co.uk>
14214 * config/i386/darwin.h: Repair SUBTARGET_INIT_BUILTINS.
14215 Override SUBTARGET_SHADOW_OFFSET macro.
14217 2020-05-01 Andreas Tobler <andreast@gcc.gnu.org>
14219 * config/i386/i386.h: Define a new macro: SUBTARGET_SHADOW_OFFSET.
14220 * config/i386/i386.c (ix86_asan_shadow_offset): Use this macro.
14221 * config/i386/darwin.h: Override the SUBTARGET_SHADOW_OFFSET macro.
14222 * config/i386/freebsd.h: Likewise.
14223 * config/freebsd.h (LIBASAN_EARLY_SPEC): Define.
14224 LIBTSAN_EARLY_SPEC): Likewise. (LIBLSAN_EARLY_SPEC): Likewise.
14226 2020-04-30 Alexandre Oliva <oliva@adacore.com>
14228 * doc/sourcebuild.texi (Effective-Target Keywords): Document
14229 the newly-introduced fileio effective target.
14231 2020-04-30 Richard Sandiford <richard.sandiford@arm.com>
14233 PR rtl-optimization/94740
14234 * cse.c (cse_process_notes_1): Replace with...
14235 (cse_process_note_1): ...this new function, acting as a
14236 simplify_replace_fn_rtx callback to process_note. Handle only
14237 REGs and MEMs directly. Validate the MEM if cse_process_note
14238 changes its address.
14239 (cse_process_notes): Replace with...
14240 (cse_process_note): ...this new function.
14241 (cse_extended_basic_block): Update accordingly, iterating over
14242 the register notes and passing individual notes to cse_process_note.
14244 2020-04-30 Carl Love <cel@us.ibm.com>
14246 * config/rs6000/emmintrin.h (_mm_movemask_epi8): Fix comment.
14248 2020-04-30 Martin Jambor <mjambor@suse.cz>
14251 * cgraph.c (clone_of_p): Also consider thunks whih had their bodies
14252 saved by the inliner and thunks which had their call inlined.
14253 * ipa-inline-transform.c (save_inline_function_body): Fill in
14254 former_clone_of of new body holders.
14256 2020-04-30 Jakub Jelinek <jakub@redhat.com>
14258 * BASE-VER: Set to 11.0.0.
14260 2020-04-30 Jonathan Wakely <jwakely@redhat.com>
14262 * pretty-print.c (pp_take_prefix): Fix spelling in comment.
14264 2020-04-30 Marek Polacek <polacek@redhat.com>
14267 * tree.c (check_base_type): Return true only if TYPE_USER_ALIGN match.
14268 (check_aligned_type): Check if TYPE_USER_ALIGN match.
14270 2020-04-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14272 * config/aarch64/aarch64.h (TARGET_OUTLINE_ATOMICS): Define.
14273 * config/aarch64/aarch64.opt (moutline-atomics): Change to Int variable.
14274 * doc/invoke.texi (moutline-atomics): Document as on by default.
14276 2020-04-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
14279 * config/aarch64/aarch64-bti-insert.c (rest_of_insert_bti): Remove
14280 the check for NOTE_INSN_DELETED_LABEL.
14282 2020-04-30 Jakub Jelinek <jakub@redhat.com>
14284 * configure.ac (--with-documentation-root-url,
14285 --with-changes-root-url): Diagnose URL not ending with /,
14286 use AC_DEFINE_UNQUOTED instead of AC_SUBST.
14287 * opts.h (get_changes_url): Remove.
14288 * opts.c (get_changes_url): Remove.
14289 * Makefile.in (CFLAGS-opts.o): Don't add -DDOCUMENTATION_ROOT_URL
14290 or -DCHANGES_ROOT_URL.
14291 * doc/install.texi (--with-documentation-root-url,
14292 --with-changes-root-url): Document.
14293 * config/arm/arm.c (aapcs_vfp_is_call_or_return_candidate): Don't call
14294 get_changes_url and free, change url variable type to const char * and
14295 set it to CHANGES_ROOT_URL "gcc-10/changes.html#empty_base".
14296 * config/s390/s390.c (s390_function_arg_vector,
14297 s390_function_arg_float): Likewise.
14298 * config/aarch64/aarch64.c (aarch64_vfp_is_call_or_return_candidate):
14300 * config/rs6000/rs6000-call.c (rs6000_discover_homogeneous_aggregate):
14302 * config.in: Regenerate.
14303 * configure: Regenerate.
14305 2020-04-30 Christophe Lyon <christophe.lyon@linaro.org>
14308 * config/arm/arm.c (isr_attribute_args): Remove duplicate entries.
14310 2020-04-30 Andreas Krebbel <krebbel@linux.ibm.com>
14312 * config/s390/constraints.md ("j>f", "jb4"): New constraints.
14313 * config/s390/vecintrin.h (vec_load_len_r, vec_store_len_r): Fix
14315 * config/s390/vx-builtins.md ("vlrlrv16qi", "vstrlrv16qi"): Add a
14317 ("*vlrlrv16qi", "*vstrlrv16qi"): Add alternative for vl/vst.
14318 Change constraint for vlrl/vstrl to jb4.
14320 2020-04-30 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
14322 * var-tracking.c (vt_initialize): Move variables pre and post
14323 into inner block and initialize both in order to fix warning
14324 about uninitialized use. Remove unnecessary checks for
14325 frame_pointer_needed.
14327 2020-04-30 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
14329 * toplev.c (output_stack_usage_1): Ensure that first
14330 argument to fprintf is not null.
14332 2020-04-29 Jakub Jelinek <jakub@redhat.com>
14334 * configure.ac (-with-changes-root-url): New configure option,
14335 defaulting to https://gcc.gnu.org/.
14336 * Makefile.in (CFLAGS-opts.o): Define CHANGES_ROOT_URL for
14338 * pretty-print.c (get_end_url_string): New function.
14339 (pp_format): Handle %{ and %} for URLs.
14340 (pp_begin_url): Use pp_string instead of pp_printf.
14341 (pp_end_url): Use get_end_url_string.
14342 * opts.h (get_changes_url): Declare.
14343 * opts.c (get_changes_url): New function.
14344 * config/rs6000/rs6000-call.c: Include opts.h.
14345 (rs6000_discover_homogeneous_aggregate): Use %{in GCC 10.1%} instead
14346 of just in GCC 10.1 in diagnostics and add URL.
14347 * config/arm/arm.c (aapcs_vfp_is_call_or_return_candidate): Likewise.
14348 * config/aarch64/aarch64.c (aarch64_vfp_is_call_or_return_candidate):
14350 * config/s390/s390.c (s390_function_arg_vector,
14351 s390_function_arg_float): Likewise.
14352 * configure: Regenerated.
14355 * config/s390/s390.c (s390_function_arg_vector,
14356 s390_function_arg_float): Use DECL_FIELD_ABI_IGNORED instead of
14357 cxx17_empty_base_field_p. In -Wpsabi diagnostics use the type
14358 passed to the function rather than the type of the single element.
14359 Rename cxx17_empty_base_seen variable to empty_base_seen, change
14360 type to int, and adjust diagnostics depending on if the field
14361 has [[no_unique_attribute]] or not.
14364 * config/i386/avx512bwintrin.h (_mm512_alignr_epi8,
14365 _mm512_mask_alignr_epi8, _mm512_maskz_alignr_epi8): Wrap macro operands
14366 used in casts into parens.
14367 * config/i386/avx512fintrin.h (_mm512_cvt_roundps_ph, _mm512_cvtps_ph,
14368 _mm512_mask_cvt_roundps_ph, _mm512_mask_cvtps_ph,
14369 _mm512_maskz_cvt_roundps_ph, _mm512_maskz_cvtps_ph,
14370 _mm512_mask_cmp_epi64_mask, _mm512_mask_cmp_epi32_mask,
14371 _mm512_mask_cmp_epu64_mask, _mm512_mask_cmp_epu32_mask,
14372 _mm512_mask_cmp_round_pd_mask, _mm512_mask_cmp_round_ps_mask,
14373 _mm512_mask_cmp_pd_mask, _mm512_mask_cmp_ps_mask): Likewise.
14374 * config/i386/avx512vlbwintrin.h (_mm256_mask_alignr_epi8,
14375 _mm256_maskz_alignr_epi8, _mm_mask_alignr_epi8, _mm_maskz_alignr_epi8,
14376 _mm256_mask_cmp_epu8_mask): Likewise.
14377 * config/i386/avx512vlintrin.h (_mm_mask_cvtps_ph, _mm_maskz_cvtps_ph,
14378 _mm256_mask_cvtps_ph, _mm256_maskz_cvtps_ph): Likewise.
14379 * config/i386/f16cintrin.h (_mm_cvtps_ph, _mm256_cvtps_ph): Likewise.
14380 * config/i386/shaintrin.h (_mm_sha1rnds4_epu32): Likewise.
14383 * config/i386/avx2intrin.h (_mm_mask_i32gather_pd,
14384 _mm256_mask_i32gather_pd, _mm_mask_i64gather_pd,
14385 _mm256_mask_i64gather_pd, _mm_mask_i32gather_ps,
14386 _mm256_mask_i32gather_ps, _mm_mask_i64gather_ps,
14387 _mm256_mask_i64gather_ps, _mm_i32gather_epi64,
14388 _mm_mask_i32gather_epi64, _mm256_i32gather_epi64,
14389 _mm256_mask_i32gather_epi64, _mm_i64gather_epi64,
14390 _mm_mask_i64gather_epi64, _mm256_i64gather_epi64,
14391 _mm256_mask_i64gather_epi64, _mm_i32gather_epi32,
14392 _mm_mask_i32gather_epi32, _mm256_i32gather_epi32,
14393 _mm256_mask_i32gather_epi32, _mm_i64gather_epi32,
14394 _mm_mask_i64gather_epi32, _mm256_i64gather_epi32,
14395 _mm256_mask_i64gather_epi32): Surround macro parameter uses with
14397 (_mm_i32gather_pd, _mm256_i32gather_pd, _mm_i64gather_pd,
14398 _mm256_i64gather_pd, _mm_i32gather_ps, _mm256_i32gather_ps,
14399 _mm_i64gather_ps, _mm256_i64gather_ps): Likewise. Don't use
14400 as mask vector containing -1.0 or -1.0f elts, but instead vector
14401 with all bits set using _mm*_cmpeq_p? with zero operands.
14402 * config/i386/avx512fintrin.h (_mm512_i32gather_ps,
14403 _mm512_mask_i32gather_ps, _mm512_i32gather_pd,
14404 _mm512_mask_i32gather_pd, _mm512_i64gather_ps,
14405 _mm512_mask_i64gather_ps, _mm512_i64gather_pd,
14406 _mm512_mask_i64gather_pd, _mm512_i32gather_epi32,
14407 _mm512_mask_i32gather_epi32, _mm512_i32gather_epi64,
14408 _mm512_mask_i32gather_epi64, _mm512_i64gather_epi32,
14409 _mm512_mask_i64gather_epi32, _mm512_i64gather_epi64,
14410 _mm512_mask_i64gather_epi64, _mm512_i32scatter_ps,
14411 _mm512_mask_i32scatter_ps, _mm512_i32scatter_pd,
14412 _mm512_mask_i32scatter_pd, _mm512_i64scatter_ps,
14413 _mm512_mask_i64scatter_ps, _mm512_i64scatter_pd,
14414 _mm512_mask_i64scatter_pd, _mm512_i32scatter_epi32,
14415 _mm512_mask_i32scatter_epi32, _mm512_i32scatter_epi64,
14416 _mm512_mask_i32scatter_epi64, _mm512_i64scatter_epi32,
14417 _mm512_mask_i64scatter_epi32, _mm512_i64scatter_epi64,
14418 _mm512_mask_i64scatter_epi64): Surround macro parameter uses with
14420 * config/i386/avx512pfintrin.h (_mm512_prefetch_i32gather_pd,
14421 _mm512_prefetch_i32gather_ps, _mm512_mask_prefetch_i32gather_pd,
14422 _mm512_mask_prefetch_i32gather_ps, _mm512_prefetch_i64gather_pd,
14423 _mm512_prefetch_i64gather_ps, _mm512_mask_prefetch_i64gather_pd,
14424 _mm512_mask_prefetch_i64gather_ps, _mm512_prefetch_i32scatter_pd,
14425 _mm512_prefetch_i32scatter_ps, _mm512_mask_prefetch_i32scatter_pd,
14426 _mm512_mask_prefetch_i32scatter_ps, _mm512_prefetch_i64scatter_pd,
14427 _mm512_prefetch_i64scatter_ps, _mm512_mask_prefetch_i64scatter_pd,
14428 _mm512_mask_prefetch_i64scatter_ps): Likewise.
14429 * config/i386/avx512vlintrin.h (_mm256_mmask_i32gather_ps,
14430 _mm_mmask_i32gather_ps, _mm256_mmask_i32gather_pd,
14431 _mm_mmask_i32gather_pd, _mm256_mmask_i64gather_ps,
14432 _mm_mmask_i64gather_ps, _mm256_mmask_i64gather_pd,
14433 _mm_mmask_i64gather_pd, _mm256_mmask_i32gather_epi32,
14434 _mm_mmask_i32gather_epi32, _mm256_mmask_i32gather_epi64,
14435 _mm_mmask_i32gather_epi64, _mm256_mmask_i64gather_epi32,
14436 _mm_mmask_i64gather_epi32, _mm256_mmask_i64gather_epi64,
14437 _mm_mmask_i64gather_epi64, _mm256_i32scatter_ps,
14438 _mm256_mask_i32scatter_ps, _mm_i32scatter_ps, _mm_mask_i32scatter_ps,
14439 _mm256_i32scatter_pd, _mm256_mask_i32scatter_pd, _mm_i32scatter_pd,
14440 _mm_mask_i32scatter_pd, _mm256_i64scatter_ps,
14441 _mm256_mask_i64scatter_ps, _mm_i64scatter_ps, _mm_mask_i64scatter_ps,
14442 _mm256_i64scatter_pd, _mm256_mask_i64scatter_pd, _mm_i64scatter_pd,
14443 _mm_mask_i64scatter_pd, _mm256_i32scatter_epi32,
14444 _mm256_mask_i32scatter_epi32, _mm_i32scatter_epi32,
14445 _mm_mask_i32scatter_epi32, _mm256_i32scatter_epi64,
14446 _mm256_mask_i32scatter_epi64, _mm_i32scatter_epi64,
14447 _mm_mask_i32scatter_epi64, _mm256_i64scatter_epi32,
14448 _mm256_mask_i64scatter_epi32, _mm_i64scatter_epi32,
14449 _mm_mask_i64scatter_epi32, _mm256_i64scatter_epi64,
14450 _mm256_mask_i64scatter_epi64, _mm_i64scatter_epi64,
14451 _mm_mask_i64scatter_epi64): Likewise.
14453 2020-04-29 Jeff Law <law@redhat.com>
14455 * config/h8300/h8300.md (H8/SX div patterns): All H8/SX specific
14456 division instructions are 4 bytes long.
14458 2020-04-29 Jakub Jelinek <jakub@redhat.com>
14461 * config/rs6000/rs6000.c (rs6000_atomic_assign_expand_fenv): Use
14462 TARGET_EXPR instead of MODIFY_EXPR for first assignment to
14463 fenv_var, fenv_clear and old_fenv variables. For fenv_addr
14464 take address of TARGET_EXPR of fenv_var with void_node initializer.
14467 2020-04-29 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
14469 PR tree-optimization/94774
14470 * gimple-ssa-sprintf.c (try_substitute_return_value): Initialize
14473 2020-04-29 Richard Sandiford <richard.sandiford@arm.com>
14475 * calls.h (cxx17_empty_base_field_p): Turn into a function declaration.
14476 * calls.c (cxx17_empty_base_field_p): New function. Check
14477 DECL_ARTIFICIAL and RECORD_OR_UNION_TYPE_P in addition to the
14480 2020-04-29 H.J. Lu <hongjiu.lu@intel.com>
14483 * config/i386/i386-options.c (ix86_set_indirect_branch_type):
14484 Allow -fcf-protection with -mindirect-branch=thunk-extern and
14485 -mfunction-return=thunk-extern.
14486 * doc/invoke.texi: Update notes for -fcf-protection=branch with
14487 -mindirect-branch=thunk-extern and -mindirect-return=thunk-extern.
14489 2020-04-29 Richard Sandiford <richard.sandiford@arm.com>
14491 * doc/sourcebuild.texi: Add missing arm_arch_v8a_hard_ok anchor.
14493 2020-04-29 Richard Sandiford <richard.sandiford@arm.com>
14495 * config/arm/arm-builtins.c (arm_atomic_assign_expand_fenv): Use
14496 TARGET_EXPR instead of MODIFY_EXPR for the first assignments to
14497 fenv_var and new_fenv_var.
14499 2020-04-29 Richard Sandiford <richard.sandiford@arm.com>
14501 * doc/sourcebuild.texi (arm_arch_v8a_hard_ok): Document new
14502 effective-target keyword.
14503 (arm_arch_v8a_hard_multilib): Likewise.
14504 (arm_arch_v8a_hard): Document new dg-add-options keyword.
14505 * config/arm/arm.c (arm_return_in_memory): Note that the APCS
14506 code is deprecated and has not been updated to handle
14507 DECL_FIELD_ABI_IGNORED.
14508 (WARN_PSABI_EMPTY_CXX17_BASE): New constant.
14509 (WARN_PSABI_NO_UNIQUE_ADDRESS): Likewise.
14510 (aapcs_vfp_sub_candidate): Replace the boolean pointer parameter
14511 avoid_cxx17_empty_base with a pointer to a bitmask. Ignore fields
14512 whose DECL_FIELD_ABI_IGNORED bit is set when determining whether
14513 something actually is a HFA or HVA. Record whether we see a
14514 [[no_unique_address]] field that previous GCCs would not have
14515 ignored in this way.
14516 (aapcs_vfp_is_call_or_return_candidate): Update the calls to
14517 aapcs_vfp_sub_candidate and report a -Wpsabi warning for the
14518 [[no_unique_address]] case. Use TYPE_MAIN_VARIANT in the
14519 diagnostic messages.
14520 (arm_needs_doubleword_align): Add a comment explaining why we
14521 consider even zero-sized fields.
14523 2020-04-29 Richard Biener <rguenther@suse.de>
14524 Li Zekun <lizekun1@huawei.com>
14527 * tree.c (component_ref_size): Guard against error_mark_node
14528 DECL_INITIAL as it happens with LTO.
14530 2020-04-29 Richard Sandiford <richard.sandiford@arm.com>
14532 * config/aarch64/aarch64.c (aarch64_function_arg_alignment): Add a
14533 comment explaining why we consider even zero-sized fields.
14534 (WARN_PSABI_EMPTY_CXX17_BASE): New constant.
14535 (WARN_PSABI_NO_UNIQUE_ADDRESS): Likewise.
14536 (aapcs_vfp_sub_candidate): Replace the boolean pointer parameter
14537 avoid_cxx17_empty_base with a pointer to a bitmask. Ignore fields
14538 whose DECL_FIELD_ABI_IGNORED bit is set when determining whether
14539 something actually is a HFA or HVA. Record whether we see a
14540 [[no_unique_address]] field that previous GCCs would not have
14541 ignored in this way.
14542 (aarch64_vfp_is_call_or_return_candidate): Add a parameter to say
14543 whether diagnostics should be suppressed. Update the calls to
14544 aapcs_vfp_sub_candidate and report a -Wpsabi warning for the
14545 [[no_unique_address]] case.
14546 (aarch64_return_in_msb): Update call accordingly, never silencing
14548 (aarch64_function_value): Likewise.
14549 (aarch64_return_in_memory_1): Likewise.
14550 (aarch64_init_cumulative_args): Likewise.
14551 (aarch64_gimplify_va_arg_expr): Likewise.
14552 (aarch64_pass_by_reference_1): Take a CUMULATIVE_ARGS pointer and
14553 use it to decide whether arch64_vfp_is_call_or_return_candidate
14555 (aarch64_pass_by_reference): Update calls accordingly.
14556 (aarch64_vfp_is_call_candidate): Use the CUMULATIVE_ARGS argument
14557 to decide whether arch64_vfp_is_call_or_return_candidate should be
14560 2020-04-29 Haijian Zhang <z.zhanghaijian@huawei.com>
14563 * config/aarch64/aarch64-builtins.c
14564 (aarch64_atomic_assign_expand_fenv): Use TARGET_EXPR instead of
14565 MODIFY_EXPR for first assignment to fenv_cr, fenv_sr and
14568 2020-04-29 Thomas Schwinge <thomas@codesourcery.com>
14570 * configure.ac <$enable_offload_targets>: Do parsing as done
14572 * configure: Regenerate.
14574 * configure.ac <$enable_offload_targets>: 'amdgcn' is 'gcn'.
14575 * configure: Regenerate.
14578 * rtlanal.c (set_noop_p): Handle non-constant selectors.
14581 * common/config/gcn/gcn-common.c (gcn_except_unwind_info): New
14583 (TARGET_EXCEPT_UNWIND_INFO): Define.
14585 2020-04-29 Jakub Jelinek <jakub@redhat.com>
14588 * config/gcn/gcn.md (*mov<mode>_insn): Use
14589 'reg_overlap_mentioned_p' to check for overlap.
14592 * config/ia64/ia64.c (hfa_element_mode): Use DECL_FIELD_ABI_IGNORED
14593 instead of cxx17_empty_base_field_p.
14596 * tree-core.h (tree_decl_common): Note decl_flag_0 used for
14597 DECL_FIELD_ABI_IGNORED.
14598 * tree.h (DECL_FIELD_ABI_IGNORED): Define.
14599 * calls.h (cxx17_empty_base_field_p): Change into a temporary
14600 macro, check DECL_FIELD_ABI_IGNORED flag with no "no_unique_address"
14602 * calls.c (cxx17_empty_base_field_p): Remove.
14603 * tree-streamer-out.c (pack_ts_decl_common_value_fields): Handle
14604 DECL_FIELD_ABI_IGNORED.
14605 * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise.
14606 * lto-streamer-out.c (hash_tree): Likewise.
14607 * config/rs6000/rs6000-call.c (rs6000_aggregate_candidate): Rename
14608 cxx17_empty_base_seen to empty_base_seen, change type to int *,
14609 adjust recursive calls, use DECL_FIELD_ABI_IGNORED instead of
14610 cxx17_empty_base_field_p, if "no_unique_address" attribute is
14611 present, propagate that to the caller too.
14612 (rs6000_discover_homogeneous_aggregate): Adjust
14613 rs6000_aggregate_candidate caller, emit different diagnostics
14614 when c++17 empty base fields are present and when empty
14615 [[no_unique_address]] fields are present.
14616 * config/rs6000/rs6000.c (rs6000_special_round_type_align,
14617 darwin_rs6000_special_round_type_align): Skip DECL_FIELD_ABI_IGNORED
14620 2020-04-29 Richard Biener <rguenther@suse.de>
14622 * tree-ssa-loop-im.c (ref_always_accessed::operator ()):
14623 Just check whether the stmt stores.
14625 2020-04-28 Alexandre Oliva <oliva@adacore.com>
14628 * config/rs6000/rs6000.md (rs6000_mffsl): Copy result to
14629 output operand in emulation. Don't overwrite pseudos.
14631 2020-04-28 Jeff Law <law@redhat.com>
14633 * config/h8300/h8300.md (H8/SX mult patterns): All H8/SX specific
14634 multiply patterns are 4 bytes long.
14636 2020-04-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14638 * config/arm/arm-cpus.in (cortex-m55): Remove +nofp option.
14639 * doc/invoke.texi (Arm Options): Remove -mcpu=cortex-m55 from +nofp option.
14641 2020-04-28 Matthew Malcomson <matthew.malcomson@arm.com>
14642 Jakub Jelinek <jakub@redhat.com>
14645 * config/arm/arm.c (aapcs_vfp_sub_candidate): Account for C++17 empty
14646 base class artificial fields.
14647 (aapcs_vfp_is_call_or_return_candidate): Warn when PCS ABI
14648 decision is different after this fix.
14650 2020-04-28 David Malcolm <dmalcolm@redhat.com>
14656 * doc/invoke.texi (Static Analyzer Options): Remove
14657 -Wanalyzer-use-of-uninitialized-value.
14658 (-Wno-analyzer-use-of-uninitialized-value): Remove item.
14660 2020-04-28 Jakub Jelinek <jakub@redhat.com>
14662 PR tree-optimization/94809
14663 * tree.c (build_call_expr_internal_loc_array): Call
14664 process_call_operands.
14666 2020-04-27 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
14668 * config/aarch64/aarch64-cores.def (thunderx3t110): Add the chip name.
14669 * config/aarch64/aarch64-tune.md: Regenerate.
14670 * config/aarch64/aarch64.c (thunderx3t110_addrcost_table): Define.
14671 (thunderx3t110_regmove_cost): Likewise.
14672 (thunderx3t110_vector_cost): Likewise.
14673 (thunderx3t110_prefetch_tune): Likewise.
14674 (thunderx3t110_tunings): Likewise.
14675 * config/aarch64/aarch64-cost-tables.h (thunderx3t110_extra_costs):
14677 * config/aarch64/thunderx3t110.md: New file.
14678 * config/aarch64/aarch64.md: Include thunderx3t110.md.
14679 * doc/invoke.texi (AArch64 options): Add thunderx3t110.
14681 2020-04-28 Jakub Jelinek <jakub@redhat.com>
14684 * config/s390/s390.c (s390_function_arg_vector,
14685 s390_function_arg_float): Emit -Wpsabi diagnostics if the ABI changed.
14687 2020-04-28 Richard Sandiford <richard.sandiford@arm.com>
14689 PR tree-optimization/94727
14690 * tree-vect-stmts.c (vect_is_simple_cond): If both comparison
14691 operands are invariant booleans, use the mask type associated with the
14692 STMT_VINFO_VECTYPE. Use !slp_node instead of !vectype to exclude SLP.
14693 (vectorizable_condition): Pass vectype unconditionally to
14694 vect_is_simple_cond.
14696 2020-04-27 Jakub Jelinek <jakub@redhat.com>
14699 * config/i386/i386.c (ix86_atomic_assign_expand_fenv): Use
14700 TARGET_EXPR instead of MODIFY_EXPR for first assignment to
14701 sw_var, exceptions_var, mxcsr_orig_var and mxcsr_mod_var.
14703 2020-04-27 David Malcolm <dmalcolm@redhat.com>
14706 * configure.ac (DOCUMENTATION_ROOT_URL): Drop trailing "gcc/" from
14707 default value, so that it can by supplied by get_option_html_page.
14708 * configure: Regenerate.
14709 * opts.c: Include "selftest.h".
14710 (get_option_html_page): New function.
14711 (get_option_url): Use it. Reformat to place comments next to the
14712 expressions they refer to.
14713 (selftest::test_get_option_html_page): New.
14714 (selftest::opts_c_tests): New.
14715 * selftest-run-tests.c (selftest::run_tests): Call
14716 selftest::opts_c_tests.
14717 * selftest.h (selftest::opts_c_tests): New decl.
14719 2020-04-27 Richard Sandiford <richard.sandiford@arm.com>
14721 * config/arm/arm-builtins.c (arm_expand_builtin_args): Only apply
14722 UINTVAL to CONST_INTs.
14724 2020-04-27 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
14726 * config/arm/constraints.md (e): Remove constraint.
14727 (Te): Define constraint.
14728 * config/arm/mve.md (vaddvq_<supf><mode>): Modify constraint in
14729 operand 0 from "e" to "Te".
14730 (vaddvaq_<supf><mode>): Likewise.
14731 (vaddvq_p_<supf><mode>): Likewise.
14732 (vmladavq_<supf><mode>): Likewise.
14733 (vmladavxq_s<mode>): Likewise.
14734 (vmlsdavq_s<mode>): Likewise.
14735 (vmlsdavxq_s<mode>): Likewise.
14736 (vaddvaq_p_<supf><mode>): Likewise.
14737 (vmladavaq_<supf><mode>): Likewise.
14738 (vmladavq_p_<supf><mode>): Likewise.
14739 (vmladavxq_p_s<mode>): Likewise.
14740 (vmlsdavq_p_s<mode>): Likewise.
14741 (vmlsdavxq_p_s<mode>): Likewise.
14742 (vmlsdavaxq_s<mode>): Likewise.
14743 (vmlsdavaq_s<mode>): Likewise.
14744 (vmladavaxq_s<mode>): Likewise.
14745 (vmladavaq_p_<supf><mode>): Likewise.
14746 (vmladavaxq_p_s<mode>): Likewise.
14747 (vmlsdavaq_p_s<mode>): Likewise.
14748 (vmlsdavaxq_p_s<mode>): Likewise.
14750 2020-04-27 Andre Vieira <andre.simoesdiasvieira@arm.com>
14752 * config/arm/arm.c (output_move_neon): Only get the first operand if
14755 2020-04-27 Felix Yang <felix.yang@huawei.com>
14757 PR tree-optimization/94784
14758 * tree-ssa-forwprop.c (simplify_vector_constructor): Flip the
14759 assert around so that it checks that the two vectors have equal
14760 TYPE_VECTOR_SUBPARTS and that converting the corresponding element
14761 types is a useless_type_conversion_p.
14763 2020-04-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
14766 * dwarf2cfi.c (struct GTY): Add ra_mangled.
14767 (cfi_row_equal_p): Check ra_mangled.
14768 (dwarf2out_frame_debug_cfa_window_save): Remove the argument,
14769 this only handles the sparc logic now.
14770 (dwarf2out_frame_debug_cfa_toggle_ra_mangle): New function for
14771 the aarch64 specific logic.
14772 (dwarf2out_frame_debug): Update to use the new subroutines.
14773 (change_cfi_row): Check ra_mangled.
14775 2020-04-27 Jakub Jelinek <jakub@redhat.com>
14778 * config/s390/s390.c (s390_function_arg_vector,
14779 s390_function_arg_float): Ignore cxx17_empty_base_field_p fields.
14781 2020-04-27 Jiufu Guo <guojiufu@cn.ibm.com>
14783 * common/config/rs6000/rs6000-common.c
14784 (rs6000_option_optimization_table) [OPT_LEVELS_ALL]: Remove turn off
14786 * config/rs6000/rs6000.c (rs6000_option_override_internal): Avoid to
14789 2020-04-27 Martin Liska <mliska@suse.cz>
14792 * cgraph.h (cgraph_node::can_remove_if_no_direct_calls_and_refs_p):
14793 Do not remove ifunc_resolvers in remove unreachable nodes in LTO.
14795 2020-04-27 Xiong Hu Luo <luoxhu@linux.ibm.com>
14798 * config/rs6000/rs6000-logue.c (frame_pointer_needed_indeed):
14800 (rs6000_emit_prologue_components):
14801 Check with frame_pointer_needed_indeed.
14802 (rs6000_emit_epilogue_components): Likewise.
14803 (rs6000_emit_prologue): Likewise.
14804 (rs6000_emit_epilogue): Set frame_pointer_needed_indeed.
14806 2020-04-25 David Edelsohn <dje.gcc@gmail.com>
14808 * config/rs6000/rs6000-logue.c (rs6000_stack_info): Don't push a
14809 stack frame when debugging and flag_compare_debug is enabled.
14811 2020-04-25 Michael Meissner <meissner@linux.ibm.com>
14813 * config/rs6000/linux64.h (PCREL_SUPPORTED_BY_OS): Define to
14814 enable PC-relative addressing for -mcpu=future.
14815 * config/rs6000/rs6000-cpus.def (ISA_FUTURE_MASKS_SERVER): Move
14816 after OTHER_FUTURE_MASKS. Use OTHER_FUTURE_MASKS.
14817 * config/rs6000/rs6000.c (PCREL_SUPPORTED_BY_OS): If not defined,
14818 suppress PC-relative addressing.
14819 (rs6000_option_override_internal): Split up error messages
14820 checking for -mprefixed and -mpcrel. Enable -mpcrel if the target
14821 system supports it.
14823 2020-04-25 Jakub Jelinek <jakub@redhat.com>
14824 Richard Biener <rguenther@suse.de>
14826 PR tree-optimization/94734
14827 PR tree-optimization/89430
14828 * tree-ssa-phiopt.c: Include tree-eh.h.
14829 (cond_store_replacement): Return false if an automatic variable
14830 access could trap. If -fstore-data-races, don't return false
14831 just because an automatic variable is addressable.
14833 2020-04-24 Andrew Stubbs <ams@codesourcery.com>
14835 * config/gcn/gcn-valu.md (add<mode>_zext_dup2_exec): Fix merge
14837 (add<mode>_sext_dup2_exec): Likewise.
14839 2020-04-24 Segher Boessenkool <segher@kernel.crashing.org>
14842 * config/rs6000/vector.md (vec_shr_<mode> for VEC_L): Correct little
14843 endian byteshift_val calculation.
14845 2020-04-24 Andrew Stubbs <ams@codesourcery.com>
14847 * config/gcn/gcn.md (*mov<mode>_insn): Only split post-reload.
14849 2020-04-24 Richard Sandiford <richard.sandiford@arm.com>
14851 * config/aarch64/arm_sve.h: Add a comment.
14853 2020-04-24 Haijian Zhang <z.zhanghaijian@huawei.com>
14855 PR rtl-optimization/94708
14856 * combine.c (simplify_if_then_else): Add check for
14857 !HONOR_NANS (mode) && !HONOR_SIGNED_ZEROS (mode).
14859 2020-04-23 Martin Sebor <msebor@redhat.com>
14862 * common.opt (-Wno-frame-larger-than): New option.
14863 (-Wno-larger-than, -Wno-stack-usage): Same.
14865 2020-04-23 Andrew Stubbs <ams@codesourcery.com>
14867 * config/gcn/gcn-valu.md (mov<mode>_exec): Swap the numbers on operands
14869 (mov<mode>_exec): Likewise.
14870 (trunc<vndi><mode>2_exec): Swap parameters to gen_mov<mode>_exec.
14871 (<convop><mode><vndi>2_exec): Likewise.
14873 2019-04-23 Eric Botcazou <ebotcazou@adacore.com>
14875 PR tree-optimization/94717
14876 * gimple-ssa-store-merging.c (try_coalesce_bswap): Return false if one
14877 of the stores doesn't have the same landing pad number as the first.
14878 (coalesce_immediate_stores): Do not try to coalesce the store using
14879 bswap if it doesn't have the same landing pad number as the first.
14881 2020-04-23 Bill Schmidt <wschmidt@linux.ibm.com>
14883 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
14884 Replace outdated link to ELFv2 ABI.
14886 2020-04-23 Jakub Jelinek <jakub@redhat.com>
14889 * optabs.c (expand_vec_perm_const): For shift_amt const0_rtx
14892 PR middle-end/94724
14893 * tree.c (get_narrower): Instead of creating COMPOUND_EXPRs
14894 temporarily with non-final second operand and updating it later,
14895 push COMPOUND_EXPRs into a vector and process it in reverse,
14896 creating COMPOUND_EXPRs with the final operands.
14898 2020-04-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
14901 * config/aarch64/aarch64-bti-insert.c (rest_of_insert_bti): Swap
14902 bti c and bti j handling.
14904 2020-04-23 Andrew Stubbs <ams@codesourcery.com>
14905 Thomas Schwinge <thomas@codesourcery.com>
14907 PR middle-end/93488
14909 * omp-expand.c (expand_omp_target): Use force_gimple_operand_gsi on
14910 t_async and the wait arguments.
14912 2020-04-23 Richard Sandiford <richard.sandiford@arm.com>
14914 PR tree-optimization/94727
14915 * tree-vect-stmts.c (vectorizable_comparison): Use mask_type when
14916 comparing invariant scalar booleans.
14918 2020-04-23 Matthew Malcomson <matthew.malcomson@arm.com>
14919 Jakub Jelinek <jakub@redhat.com>
14922 * config/aarch64/aarch64.c (aapcs_vfp_sub_candidate): Account for C++17
14923 empty base class artificial fields.
14924 (aarch64_vfp_is_call_or_return_candidate): Warn when ABI PCS decision is
14925 different after this fix.
14927 2020-04-23 Jakub Jelinek <jakub@redhat.com>
14930 * config/rs6000/rs6000-call.c (rs6000_discover_homogeneous_aggregate):
14931 Use TYPE_UID (TYPE_MAIN_VARIANT (type)) instead of type to check
14932 if the same type has been diagnosed most recently already.
14934 2020-04-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
14936 * config/arm/arm_mve.h (__arm_vbicq_n_u16): Modify function parameter's
14938 (__arm_vbicq_n_s16): Likewise.
14939 (__arm_vbicq_n_u32): Likewise.
14940 (__arm_vbicq_n_s32): Likewise.
14941 (__arm_vbicq): Likewise.
14942 (__arm_vbicq_n_s16): Modify MVE polymorphic variant argument's datatype.
14943 (__arm_vbicq_n_s32): Likewise.
14944 (__arm_vbicq_n_u16): Likewise.
14945 (__arm_vbicq_n_u32): Likewise.
14946 (__arm_vdupq_m_n_s8): Likewise.
14947 (__arm_vdupq_m_n_s16): Likewise.
14948 (__arm_vdupq_m_n_s32): Likewise.
14949 (__arm_vdupq_m_n_u8): Likewise.
14950 (__arm_vdupq_m_n_u16): Likewise.
14951 (__arm_vdupq_m_n_u32): Likewise.
14952 (__arm_vdupq_m_n_f16): Likewise.
14953 (__arm_vdupq_m_n_f32): Likewise.
14954 (__arm_vldrhq_gather_offset_s16): Likewise.
14955 (__arm_vldrhq_gather_offset_s32): Likewise.
14956 (__arm_vldrhq_gather_offset_u16): Likewise.
14957 (__arm_vldrhq_gather_offset_u32): Likewise.
14958 (__arm_vldrhq_gather_offset_f16): Likewise.
14959 (__arm_vldrhq_gather_offset_z_s16): Likewise.
14960 (__arm_vldrhq_gather_offset_z_s32): Likewise.
14961 (__arm_vldrhq_gather_offset_z_u16): Likewise.
14962 (__arm_vldrhq_gather_offset_z_u32): Likewise.
14963 (__arm_vldrhq_gather_offset_z_f16): Likewise.
14964 (__arm_vldrhq_gather_shifted_offset_s16): Likewise.
14965 (__arm_vldrhq_gather_shifted_offset_s32): Likewise.
14966 (__arm_vldrhq_gather_shifted_offset_u16): Likewise.
14967 (__arm_vldrhq_gather_shifted_offset_u32): Likewise.
14968 (__arm_vldrhq_gather_shifted_offset_f16): Likewise.
14969 (__arm_vldrhq_gather_shifted_offset_z_s16): Likewise.
14970 (__arm_vldrhq_gather_shifted_offset_z_s32): Likewise.
14971 (__arm_vldrhq_gather_shifted_offset_z_u16): Likewise.
14972 (__arm_vldrhq_gather_shifted_offset_z_u32): Likewise.
14973 (__arm_vldrhq_gather_shifted_offset_z_f16): Likewise.
14974 (__arm_vldrwq_gather_offset_s32): Likewise.
14975 (__arm_vldrwq_gather_offset_u32): Likewise.
14976 (__arm_vldrwq_gather_offset_f32): Likewise.
14977 (__arm_vldrwq_gather_offset_z_s32): Likewise.
14978 (__arm_vldrwq_gather_offset_z_u32): Likewise.
14979 (__arm_vldrwq_gather_offset_z_f32): Likewise.
14980 (__arm_vldrwq_gather_shifted_offset_s32): Likewise.
14981 (__arm_vldrwq_gather_shifted_offset_u32): Likewise.
14982 (__arm_vldrwq_gather_shifted_offset_f32): Likewise.
14983 (__arm_vldrwq_gather_shifted_offset_z_s32): Likewise.
14984 (__arm_vldrwq_gather_shifted_offset_z_u32): Likewise.
14985 (__arm_vldrwq_gather_shifted_offset_z_f32): Likewise.
14986 (__arm_vdwdupq_x_n_u8): Likewise.
14987 (__arm_vdwdupq_x_n_u16): Likewise.
14988 (__arm_vdwdupq_x_n_u32): Likewise.
14989 (__arm_viwdupq_x_n_u8): Likewise.
14990 (__arm_viwdupq_x_n_u16): Likewise.
14991 (__arm_viwdupq_x_n_u32): Likewise.
14992 (__arm_vidupq_x_n_u8): Likewise.
14993 (__arm_vddupq_x_n_u8): Likewise.
14994 (__arm_vidupq_x_n_u16): Likewise.
14995 (__arm_vddupq_x_n_u16): Likewise.
14996 (__arm_vidupq_x_n_u32): Likewise.
14997 (__arm_vddupq_x_n_u32): Likewise.
14998 (__arm_vldrdq_gather_offset_s64): Likewise.
14999 (__arm_vldrdq_gather_offset_u64): Likewise.
15000 (__arm_vldrdq_gather_offset_z_s64): Likewise.
15001 (__arm_vldrdq_gather_offset_z_u64): Likewise.
15002 (__arm_vldrdq_gather_shifted_offset_s64): Likewise.
15003 (__arm_vldrdq_gather_shifted_offset_u64): Likewise.
15004 (__arm_vldrdq_gather_shifted_offset_z_s64): Likewise.
15005 (__arm_vldrdq_gather_shifted_offset_z_u64): Likewise.
15006 (__arm_vidupq_m_n_u8): Likewise.
15007 (__arm_vidupq_m_n_u16): Likewise.
15008 (__arm_vidupq_m_n_u32): Likewise.
15009 (__arm_vddupq_m_n_u8): Likewise.
15010 (__arm_vddupq_m_n_u16): Likewise.
15011 (__arm_vddupq_m_n_u32): Likewise.
15012 (__arm_vidupq_n_u16): Likewise.
15013 (__arm_vidupq_n_u32): Likewise.
15014 (__arm_vidupq_n_u8): Likewise.
15015 (__arm_vddupq_n_u16): Likewise.
15016 (__arm_vddupq_n_u32): Likewise.
15017 (__arm_vddupq_n_u8): Likewise.
15019 2020-04-23 Iain Buclaw <ibuclaw@gdcproject.org>
15021 * doc/install.texi (D-Specific Options): Document
15022 --enable-libphobos-checking and --with-libphobos-druntime-only.
15024 2020-04-23 Jakub Jelinek <jakub@redhat.com>
15027 * config/rs6000/rs6000-call.c (rs6000_aggregate_candidate): Add
15028 cxx17_empty_base_seen argument. Pass it to recursive calls.
15029 Ignore cxx17_empty_base_field_p fields after setting
15030 *cxx17_empty_base_seen to true.
15031 (rs6000_discover_homogeneous_aggregate): Adjust
15032 rs6000_aggregate_candidate caller. With -Wpsabi, diagnose homogeneous
15033 aggregates with C++17 empty base fields.
15036 * attribs.c (decl_attribute): Don't diagnose attribute exclusions
15037 if last_decl is error_mark_node or has such a TREE_TYPE.
15040 * attribs.c (decl_attribute): Don't diagnose attribute exclusions
15041 if last_decl is error_mark_node or has such a TREE_TYPE.
15043 2020-04-22 Felix Yang <felix.yang@huawei.com>
15046 * config/aarch64/aarch64.h (TARGET_SVE):
15047 Add && !TARGET_GENERAL_REGS_ONLY.
15048 (TARGET_SVE2): Add && TARGET_SVE.
15049 (TARGET_SVE2_AES, TARGET_SVE2_BITPERM, TARGET_SVE2_SHA3,
15050 TARGET_SVE2_SM4): Add && TARGET_SVE2.
15051 * config/aarch64/aarch64-sve-builtins.h
15052 (sve_switcher::m_old_general_regs_only): New member.
15053 * config/aarch64/aarch64-sve-builtins.cc (check_required_registers):
15055 (reported_missing_registers_p): New variable.
15056 (check_required_extensions): Call check_required_registers before
15057 return if all required extenstions are present.
15058 (sve_switcher::sve_switcher): Save TARGET_GENERAL_REGS_ONLY in
15059 m_old_general_regs_only and clear MASK_GENERAL_REGS_ONLY in
15060 global_options.x_target_flags.
15061 (sve_switcher::~sve_switcher): Set MASK_GENERAL_REGS_ONLY in
15062 global_options.x_target_flags if m_old_general_regs_only is true.
15064 2020-04-22 Zackery Spytz <zspytz@gmail.com>
15066 * doc/extend.exi: Add "free" to list of other builtin functions
15069 2020-04-20 Aaron Sawdey <acsawdey@linux.ibm.com>
15072 * config/rs6000/sync.md (load_quadpti): Add attr "prefixed"
15073 if TARGET_PREFIXED.
15074 (store_quadpti): Ditto.
15075 (atomic_load<mode>): Do not swap doublewords if TARGET_PREFIXED as
15076 plq will be used and doesn't need it.
15077 (atomic_store<mode>): Ditto, for pstq.
15079 2020-04-22 Erick Ochoa <erick.ochoa@theobroma-systems.com>
15081 * doc/invoke.texi: Update flags turned on by -O3.
15083 2020-04-22 Jakub Jelinek <jakub@redhat.com>
15086 * config/ia64/ia64.c (hfa_element_mode): Ignore
15087 cxx17_empty_base_field_p fields.
15090 * calls.h (cxx17_empty_base_field_p): Declare.
15091 * calls.c (cxx17_empty_base_field_p): Define.
15093 2020-04-22 Christophe Lyon <christophe.lyon@linaro.org>
15095 * doc/sourcebuild.texi (arm_softfp_ok, arm_hard_ok): Document.
15097 2020-04-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15098 Andre Vieira <andre.simoesdiasvieira@arm.com>
15099 Mihail Ionescu <mihail.ionescu@arm.com>
15101 * config/arm/arm.c (arm_file_start): Handle isa_bit_quirk_no_asmcpu.
15102 * config/arm/arm-cpus.in (quirk_no_asmcpu): Define.
15103 (ALL_QUIRKS): Add quirk_no_asmcpu.
15104 (cortex-m55): Define new cpu.
15105 * config/arm/arm-tables.opt: Regenerate.
15106 * config/arm/arm-tune.md: Likewise.
15107 * doc/invoke.texi (Arm Options): Document -mcpu=cortex-m55.
15109 2020-04-22 Richard Sandiford <richard.sandiford@arm.com>
15111 PR tree-optimization/94700
15112 * tree-ssa-forwprop.c (simplify_vector_constructor): When processing
15113 an identity constructor, use a VIEW_CONVERT_EXPR to handle mixtures
15114 of similarly-structured but distinct vector types.
15116 2020-04-21 Martin Sebor <msebor@redhat.com>
15118 PR middle-end/94647
15119 * gimple-ssa-warn-restrict.c (builtin_access::builtin_access): Correct
15120 the computation of the lower bound of the source access size.
15121 (builtin_access::generic_overlap): Remove a hack for setting ranges
15122 of overlap offsets.
15124 2020-04-21 John David Anglin <danglin@gcc.gnu.org>
15126 * config/pa/som.h (ASM_WEAKEN_LABEL): Delete.
15127 (ASM_WEAKEN_DECL): New define.
15128 (HAVE_GAS_WEAKREF): Undefine.
15130 2020-04-21 Richard Sandiford <richard.sandiford@arm.com>
15132 PR tree-optimization/94683
15133 * tree-ssa-forwprop.c (simplify_vector_constructor): Use a
15134 VIEW_CONVERT_EXPR to handle mixtures of similarly-structured
15135 but distinct vector types.
15137 2020-04-21 Jakub Jelinek <jakub@redhat.com>
15140 * stor-layout.c (place_field, finalize_record_size): Don't emit
15141 -Wpadded warning on TYPE_ARTIFICIAL rli->t.
15142 * ubsan.c (ubsan_get_type_descriptor_type,
15143 ubsan_get_source_location_type, ubsan_create_data): Set
15145 * asan.c (asan_global_struct): Likewise.
15147 2020-04-21 Duan bo <duanbo3@huawei.com>
15150 * config/aarch64/aarch64.c: Add an error message for option conflict.
15151 * doc/invoke.texi (-mcmodel=large): Mention that -mcmodel=large is
15152 incompatible with -fpic, -fPIC and -mabi=ilp32.
15154 2020-04-21 Frederik Harwath <frederik@codesourcery.com>
15157 * omp-low.c (new_omp_context): Remove assignments to
15158 ctx->outer_reduction_clauses and ctx->local_reduction_clauses.
15160 2020-04-20 Andreas Krebbel <krebbel@linux.ibm.com>
15162 * config/s390/vector.md ("popcountv8hi2_vx", "popcountv4si2_vx")
15163 ("popcountv2di2_vx"): Use simplify_gen_subreg.
15165 2020-04-20 Andreas Krebbel <krebbel@linux.ibm.com>
15168 * config/s390/s390-builtin-types.def: Add 3 new function modes.
15169 * config/s390/s390-builtins.def: Add mode dependent low-level
15170 builtin and map the overloaded builtins to these.
15171 * config/s390/vx-builtins.md ("vec_selV_HW"): Rename to ...
15172 ("vsel<V_HW"): ... this and rewrite the pattern with bitops.
15174 2020-04-20 Richard Sandiford <richard.sandiford@arm.com>
15176 * tree-vect-loop.c (vect_better_loop_vinfo_p): If old_loop_vinfo
15177 has a variable VF, prefer new_loop_vinfo if it is cheaper for the
15178 estimated VF and is no worse at double the estimated VF.
15180 2020-04-20 Richard Sandiford <richard.sandiford@arm.com>
15183 * config/aarch64/aarch64.c (aarch64_sve_expand_vector_init): Fix
15184 order of arguments to rtx_vector_builder.
15185 (aarch64_sve_expand_vector_init_handle_trailing_constants): Likewise.
15186 When extending the trailing constants to a full vector, replace any
15187 variables with zeros.
15189 2020-04-20 Jan Hubicka <hubicka@ucw.cz>
15192 * tree-inline.c (optimize_inline_calls): Recompute calls_comdat_local
15195 2020-04-20 Martin Liska <mliska@suse.cz>
15197 * symtab.c (symtab_node::dump_references): Add space after
15199 (symtab_node::dump_referring): Likewise.
15201 2020-04-18 Jeff Law <law@redhat.com>
15204 * regrename.c (check_new_reg_p): Ignore DEBUG_INSNs when walking
15207 2020-04-18 Iain Buclaw <ibuclaw@gdcproject.org>
15209 * doc/sourcebuild.texi (Effective-Target Keywords, Environment
15210 attributes): Document d_runtime_has_std_library.
15212 2020-04-17 Jeff Law <law@redhat.com>
15214 PR rtl-optimization/90275
15215 * cse.c (cse_insn): Avoid recording nop sets in multi-set parallels
15216 when the destination has a REG_UNUSED note.
15218 2020-04-17 Tobias Burnus <tobias@codesourcery.com>
15220 PR middle-end/94635
15221 * gimplify.c (gimplify_scan_omp_clauses): Turn MAP_TO_PSET to
15224 2020-04-17 Richard Sandiford <richard.sandiford@arm.com>
15226 * config/aarch64/aarch64.c (aarch64_advsimd_ldp_stp_p): New function.
15227 (aarch64_sve_adjust_stmt_cost): Add a vectype parameter. Double the
15228 cost of load and store insns if one loop iteration has enough scalar
15229 elements to use an Advanced SIMD LDP or STP.
15230 (aarch64_add_stmt_cost): Update call accordingly.
15232 2020-04-17 Jakub Jelinek <jakub@redhat.com>
15233 Jeff Law <law@redhat.com>
15236 * config/i386/i386.md (*testqi_ext_3): Use CCZmode rather than
15237 CCNOmode in ix86_match_ccmode if len is equal to <MODE>mode precision,
15238 or pos + len >= 32, or pos + len is equal to operands[2] precision
15239 and operands[2] is not a register operand. During splitting perform
15240 SImode AND if operands[0] doesn't have CCZmode and pos + len is
15241 equal to mode precision.
15243 2020-04-17 Richard Biener <rguenther@suse.de>
15246 * cgraphclones.c (cgraph_node::create_clone): Remove duplicate
15248 * dwarf2out.c (dw_val_equal_p): Fix pasto in
15249 dw_val_class_vms_delta comparison.
15250 * optabs.c (expand_binop_directly): Fix pasto in commutation
15252 * tree-ssa-sccvn.c (vn_reference_lookup_pieces): Fix pasto in
15255 2020-04-17 Jakub Jelinek <jakub@redhat.com>
15257 PR rtl-optimization/94618
15258 * cfgrtl.c (delete_insn_and_edges): Set purge not just when
15259 insn is the BB_END of its block, but also when it is only followed
15260 by DEBUG_INSNs in its block.
15262 PR tree-optimization/94621
15263 * tree-inline.c (remap_type_1): Don't dereference NULL TYPE_DOMAIN.
15264 Move id->adjust_array_error_bounds check first in the condition.
15266 2020-04-17 Martin Liska <mliska@suse.cz>
15267 Jonathan Yong <10walls@gmail.com>
15269 PR gcov-profile/94570
15270 * coverage.c (coverage_init): Use separator properly.
15272 2020-04-16 Peter Bergner <bergner@linux.ibm.com>
15274 PR rtl-optimization/93974
15275 * config/rs6000/rs6000.c (TARGET_CANNOT_SUBSTITUTE_MEM_EQUIV_P): Define.
15276 (rs6000_cannot_substitute_mem_equiv_p): New function.
15278 2020-04-16 Martin Jambor <mjambor@suse.cz>
15281 * ipa-inline.h (ipa_saved_clone_sources): Declare.
15282 * ipa-inline-transform.c (ipa_saved_clone_sources): New variable.
15283 (save_inline_function_body): Link the new body holder with the
15285 * cgraph.c: Include ipa-inline.h.
15286 (cgraph_edge::redirect_call_stmt_to_callee): Try to find the decl from
15287 the statement in ipa_saved_clone_sources.
15288 * cgraphunit.c: Include ipa-inline.h.
15289 (expand_all_functions): Free ipa_saved_clone_sources.
15291 2020-04-16 Richard Sandiford <richard.sandiford@arm.com>
15294 * config/aarch64/aarch64.c (aarch64_expand_sve_const_pred_eor): Take
15295 the VNx16BI lowpart of the recursively-generated constant.
15297 2020-04-16 Martin Liska <mliska@suse.cz>
15298 Jakub Jelinek <jakub@redhat.com>
15301 * cgraphclones.c (set_new_clone_decl_and_node_flags): Drop
15302 DECL_IS_REPLACEABLE_OPERATOR during cloning.
15303 * tree-ssa-dce.c (valid_new_delete_pair_p): New function.
15304 (propagate_necessity): Check operator names.
15306 2020-04-16 Richard Sandiford <richard.sandiford@arm.com>
15308 PR rtl-optimization/94605
15309 * early-remat.c (early_remat::process_block): Handle insns that
15310 set multiple candidate registers.
15311 2020-04-16 Jan Hubicka <hubicka@ucw.cz>
15313 PR gcov-profile/93401
15314 * common.opt (profile-prefix-path): New option.
15315 * coverae.c: Include diagnostics.h.
15316 (coverage_init): Strip profile prefix path.
15317 * doc/invoke.texi (-fprofile-prefix-path): Document.
15319 2020-04-16 Richard Biener <rguenther@suse.de>
15321 PR middle-end/94614
15322 * expr.c (emit_move_multi_word): Do not generate code when
15323 the destination part is undefined_operand_subword_p.
15324 * lower-subreg.c (resolve_clobber): Look through a paradoxica
15327 2020-04-16 Martin Jambor <mjambor@suse.cz>
15329 PR tree-optimization/94598
15330 * tree-sra.c (verify_sra_access_forest): Fix verification of total
15331 scalarization accesses under access to one-element arrays.
15333 2020-04-16 Jakub Jelinek <jakub@redhat.com>
15336 * function.c (assign_parm_find_data_types): Add workaround for
15337 BROKEN_VALUE_INITIALIZATION compilers.
15339 2020-04-16 Richard Biener <rguenther@suse.de>
15341 * gdbhooks.py (TreePrinter): Print SSA_NAME_VERSION of SSA_NAME
15344 2020-04-15 Uroš Bizjak <ubizjak@gmail.com>
15347 * config/i386/i386-builtin.def (__builtin_ia32_movq128):
15348 Require OPTION_MASK_ISA_SSE2.
15350 2020-04-15 Gustavo Romero <gromero@linux.ibm.com>
15353 * dumpfile.c (selftest::temp_dump_context::temp_dump_context):
15354 Don't construct a dump_context temporary to call static method.
15356 2020-04-15 Andrea Corallo <andrea.corallo@arm.com>
15358 * config/aarch64/falkor-tag-collision-avoidance.c
15359 (valid_src_p): Check for aarch64_address_info type before
15360 accessing base field.
15362 2020-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
15364 * config/arm/mve.md (mve_vec_duplicate<mode>): New pattern.
15365 (V_sz_elem2): Remove unused mode attribute.
15367 2020-04-15 Matthew Malcomson <matthew.malcomson@arm.com>
15369 * config/arm/arm.md (arm_movdi): Disallow for MVE.
15371 2020-04-15 Richard Biener <rguenther@suse.de>
15373 PR middle-end/94539
15374 * tree-ssa-alias.c (same_type_for_tbaa): Defer to
15375 alias_sets_conflict_p for pointers.
15377 2020-04-14 Max Filippov <jcmvbkbc@gmail.com>
15380 * config/xtensa/xtensa.md (zero_extendhisi2, zero_extendqisi2)
15381 (extendhisi2_internal): Add %v1 before the load instructions.
15383 2020-04-14 Aaron Sawdey <acsawdey@linux.ibm.com>
15386 * config/rs6000/rs6000.c (address_to_insn_form): Do not attempt to
15387 use PC-relative addressing for TLS references.
15389 2020-04-14 Martin Jambor <mjambor@suse.cz>
15392 * ipa-sra.c: Include internal-fn.h.
15393 (enum isra_scan_context): Update comment.
15394 (scan_function): Treat calls to internal_functions like loads or stores.
15396 2020-04-14 Yang Yang <yangyang305@huawei.com>
15398 PR tree-optimization/94574
15399 * tree-ssa.c (non_rewritable_lvalue_p): Add size check when analyzing
15400 whether a vector-insert is rewritable using a BIT_INSERT_EXPR.
15402 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
15405 * config/i386/i386.c (ix86_get_ssemov): Remove mode size check.
15407 2020-04-13 Martin Sebor <msebor@redhat.com>
15409 * doc/extend.texi (-Wall): Mention -Wformat-overflow and
15410 -Wformat-truncation. Move -Wzero-length-bounds last.
15411 (-Wrestrict): Document positive form of option enabled by -Wall.
15413 2020-04-13 Zachary Spytz <zspytz@gmail.com>
15415 * doc/extend.texi: Add realloc to list of built-in functions
15416 are recognized by the compiler.
15418 2020-04-13 H.J. Lu <hongjiu.lu@intel.com>
15421 * config/i386/i386.c (ix86_expand_epilogue): Restore the frame
15422 pointer in word_mode for eh_return epilogues.
15424 2020-04-13 Jozef Lawrynowicz <jozef.l@mittosystems.com>
15426 * config/msp430/msp430.c (msp430_print_operand): Don't add offsets to
15427 memory references in %B, %C and %D operand selectors when the inner
15428 operand is a post increment address.
15430 2020-04-13 Jozef Lawrynowicz <jozef.l@mittosystems.com>
15432 * config/msp430/msp430.c (msp430_print_operand): Offset a %C memory
15433 reference by 4 bytes, and %D memory reference by 6 bytes.
15435 2020-04-11 Uroš Bizjak <ubizjak@gmail.com>
15438 * config/i386/sse.md (REDUC_SSE_SMINMAX_MODE): Use TARGET_SSE2
15439 condition for V4SI, V8HI and V16QI modes.
15441 2020-04-11 Jakub Jelinek <jakub@redhat.com>
15445 * cselib.c (cselib_record_sp_cfa_base_equiv): Set PRESERVED_VALUE_P on
15448 2020-04-10 Thomas Schwinge <thomas@codesourcery.com>
15450 PR middle-end/89433
15451 PR middle-end/93465
15452 * omp-general.c (oacc_verify_routine_clauses): Diagnose if
15453 "#pragma omp declare target" has also been applied.
15455 2020-04-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
15457 * config/msp430/msp430.c (msp430_expand_epilogue): Use emit_jump_insn
15458 when to emit the epilogue_helper insn.
15459 * config/msp430/msp430.md (epilogue_helper): Add a return insn to the
15462 2020-04-09 Jakub Jelinek <jakub@redhat.com>
15465 * cselib.h (cselib_record_sp_cfa_base_equiv,
15466 cselib_sp_derived_value_p): Declare.
15467 * cselib.c (cselib_record_sp_cfa_base_equiv,
15468 cselib_sp_derived_value_p): New functions.
15469 * var-tracking.c (add_stores): Don't record MO_VAL_SET for
15470 cselib_sp_derived_value_p values.
15471 (vt_initialize): Call cselib_record_sp_cfa_base_equiv at the
15472 start of extended basic blocks other than the first one
15473 for !frame_pointer_needed functions.
15475 2020-04-09 Richard Sandiford <richard.sandiford@arm.com>
15477 * doc/sourcebuild.texi (aarch64_sve_hw, aarch64_sve128_hw)
15478 (aarch64_sve256_hw, aarch64_sve512_hw, aarch64_sve1024_hw)
15479 (aarch64_sve2048_hw): Document.
15480 * config/aarch64/aarch64-protos.h
15481 (aarch64_sve::handle_arm_sve_vector_bits_attribute): Declare.
15482 * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Define
15483 __ARM_FEATURE_SVE_VECTOR_OPERATIONS when SVE is enabled.
15484 * config/aarch64/aarch64-sve-builtins.cc (matches_type_p): New
15486 (find_type_suffix_for_scalar_type): Use it instead of comparing
15487 TYPE_MAIN_VARIANTs.
15488 (function_resolver::infer_vector_or_tuple_type): Likewise.
15489 (function_resolver::require_vector_type): Likewise.
15490 (handle_arm_sve_vector_bits_attribute): New function.
15491 * config/aarch64/aarch64.c (pure_scalable_type_info): New class.
15492 (aarch64_attribute_table): Add arm_sve_vector_bits.
15493 (aarch64_return_in_memory_1):
15494 (pure_scalable_type_info::piece::get_rtx): New function.
15495 (pure_scalable_type_info::num_zr): Likewise.
15496 (pure_scalable_type_info::num_pr): Likewise.
15497 (pure_scalable_type_info::get_rtx): Likewise.
15498 (pure_scalable_type_info::analyze): Likewise.
15499 (pure_scalable_type_info::analyze_registers): Likewise.
15500 (pure_scalable_type_info::analyze_array): Likewise.
15501 (pure_scalable_type_info::analyze_record): Likewise.
15502 (pure_scalable_type_info::add_piece): Likewise.
15503 (aarch64_some_values_include_pst_objects_p): Likewise.
15504 (aarch64_returns_value_in_sve_regs_p): Use pure_scalable_type_info
15505 to analyze whether the type is returned in SVE registers.
15506 (aarch64_takes_arguments_in_sve_regs_p): Likwise whether the type
15507 is passed in SVE registers.
15508 (aarch64_pass_by_reference_1): New function, extracted from...
15509 (aarch64_pass_by_reference): ...here. Use pure_scalable_type_info
15510 to analyze whether the type is a pure scalable type and, if so,
15511 whether it should be passed by reference.
15512 (aarch64_return_in_msb): Return false for pure scalable types.
15513 (aarch64_function_value_1): Fold back into...
15514 (aarch64_function_value): ...this function. Use
15515 pure_scalable_type_info to analyze whether the type is a pure
15516 scalable type and, if so, which registers it should use. Handle
15517 types that include pure scalable types but are not themselves
15518 pure scalable types.
15519 (aarch64_return_in_memory_1): New function, split out from...
15520 (aarch64_return_in_memory): ...here. Use pure_scalable_type_info
15521 to analyze whether the type is a pure scalable type and, if so,
15522 whether it should be returned by reference.
15523 (aarch64_layout_arg): Remove orig_mode argument. Use
15524 pure_scalable_type_info to analyze whether the type is a pure
15525 scalable type and, if so, which registers it should use. Handle
15526 types that include pure scalable types but are not themselves
15527 pure scalable types.
15528 (aarch64_function_arg): Update call accordingly.
15529 (aarch64_function_arg_advance): Likewise.
15530 (aarch64_pad_reg_upward): On big-endian targets, return false for
15531 pure scalable types that are smaller than 16 bytes.
15532 (aarch64_member_type_forces_blk): New function.
15533 (aapcs_vfp_sub_candidate): Exit early for built-in SVE types.
15534 (aarch64_short_vector_p): Return false for VECTOR_TYPEs that
15535 correspond to built-in SVE types. Do not rely on a vector mode
15536 if the type includes an pure scalable type. When returning true,
15537 assert that the mode is not an SVE mode.
15538 (aarch64_vfp_is_call_or_return_candidate): Do not check for SVE
15539 built-in types here. When returning true, assert that the type
15540 does not have an SVE mode.
15541 (aarch64_can_change_mode_class): Don't allow anything to change
15542 between a predicate mode and a non-predicate mode. Also don't
15543 allow changes between SVE vector modes and other modes that
15544 might be bigger than 128 bits.
15545 (aarch64_invalid_binary_op): Reject binary operations that mix
15546 SVE and GNU vector types.
15547 (TARGET_MEMBER_TYPE_FORCES_BLK): Define.
15549 2020-04-09 Richard Sandiford <richard.sandiford@arm.com>
15551 * config/aarch64/aarch64.c (aarch64_attribute_table): Add
15552 "SVE sizeless type".
15553 * config/aarch64/aarch64-sve-builtins.cc (make_type_sizeless)
15554 (sizeless_type_p): New functions.
15555 (register_builtin_types): Apply make_type_sizeless to the type.
15556 (register_tuple_type): Likewise.
15557 (verify_type_context): Use sizeless_type_p instead of builin_type_p.
15559 2020-04-09 Matthew Malcomson <matthew.malcomson@arm.com>
15561 * config/arm/arm_cde.h: Remove `extern "C"` when compiling for
15564 2020-04-09 Martin Jambor <mjambor@suse.cz>
15565 Richard Biener <rguenther@suse.de>
15567 PR tree-optimization/94482
15568 * tree-sra.c (create_access_replacement): Dump new replacement with
15570 (sra_modify_expr): Fix handling of cases when the original EXPR writes
15571 to only part of the replacement.
15572 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly verify
15573 the first operand of combinations into REAL/IMAGPART_EXPR and
15576 2020-04-09 Richard Sandiford <richard.sandiford@arm.com>
15578 * doc/sourcebuild.texi (check-function-bodies): Treat the third
15579 parameter as a list of option regexps and require each regexp
15582 2020-04-09 Andrea Corallo <andrea.corallo@arm.com>
15585 * config/aarch64/falkor-tag-collision-avoidance.c
15586 (valid_src_p): Fix missing rtx type check.
15588 2020-04-09 Bin Cheng <bin.cheng@linux.alibaba.com>
15589 Richard Biener <rguenther@suse.de>
15591 PR tree-optimization/93674
15592 * tree-ssa-loop-ivopts.c (langhooks.h): New include.
15593 (add_iv_candidate_for_use): For iv_use of non integer or pointer type,
15594 or non-mode precision type, add candidate in unsigned type with the
15597 2020-04-08 Clement Chigot <clement.chigot@atos.net>
15599 * config/rs6000/aix61.h (LIB_SPEC): Add -lc128 with -mlong-double-128.
15600 * config/rs6000/aix71.h (LIB_SPEC): Likewise.
15601 * config/rs6000/aix72.h (LIB_SPEC): Likewise.
15603 2020-04-08 Jakub Jelinek <jakub@redhat.com>
15605 PR middle-end/94526
15606 * cselib.c (autoinc_split): Handle e->val_rtx being SP_DERIVED_VALUE_P
15608 * reload1.c (eliminate_regs_1): Avoid creating
15609 (plus (reg) (const_int 0)) in DEBUG_INSNs.
15611 PR tree-optimization/94524
15612 * tree-vect-generic.c (expand_vector_divmod): If any elt of op1 is
15613 negative for signed TRUNC_MOD_EXPR, multiply with absolute value of
15614 op1 rather than op1 itself at the end. Punt for signed modulo by
15615 most negative constant.
15616 * tree-vect-patterns.c (vect_recog_divmod_pattern): Punt for signed
15617 modulo by most negative constant.
15619 2020-04-08 Richard Biener <rguenther@suse.de>
15621 PR rtl-optimization/93946
15622 * cse.c (cse_insn): Record the tabled expression in
15623 src_related. Verify a redundant store removal is valid.
15625 2020-04-08 H.J. Lu <hongjiu.lu@intel.com>
15628 * config/i386/i386-features.c (rest_of_insert_endbranch): Insert
15629 ENDBR at function entry if function will be called indirectly.
15631 2020-04-08 Jakub Jelinek <jakub@redhat.com>
15634 * config/i386/i386.c (ix86_get_mask_mode): Only use int mask for elem_size
15637 2020-04-08 Martin Liska <mliska@suse.cz>
15640 * gimple.c (gimple_call_operator_delete_p): Rename to...
15641 (gimple_call_replaceable_operator_delete_p): ... this.
15642 Use DECL_IS_REPLACEABLE_OPERATOR_DELETE_P.
15643 * gimple.h (gimple_call_operator_delete_p): Rename to ...
15644 (gimple_call_replaceable_operator_delete_p): ... this.
15645 * tree-core.h (tree_function_decl): Add replaceable_operator
15647 * tree-ssa-dce.c (mark_all_reaching_defs_necessary_1):
15648 Use DECL_IS_REPLACEABLE_OPERATOR_DELETE_P.
15649 (propagate_necessity): Use gimple_call_replaceable_operator_delete_p.
15650 (eliminate_unnecessary_stmts): Likewise.
15651 * tree-streamer-in.c (unpack_ts_function_decl_value_fields):
15652 Pack DECL_IS_REPLACEABLE_OPERATOR.
15653 * tree-streamer-out.c (pack_ts_function_decl_value_fields):
15654 Unpack the field here.
15655 * tree.h (DECL_IS_REPLACEABLE_OPERATOR): New.
15656 (DECL_IS_REPLACEABLE_OPERATOR_NEW_P): New.
15657 (DECL_IS_REPLACEABLE_OPERATOR_DELETE_P): New.
15658 * cgraph.c (cgraph_node::dump): Dump if an operator is replaceable.
15659 * ipa-icf.c (sem_item::compare_referenced_symbol_properties): Compare
15660 replaceable operator flags.
15662 2020-04-08 Dennis Zhang <dennis.zhang@arm.com>
15663 Matthew Malcomson <matthew.malcomson@arm.com>
15665 * config/arm/arm-builtins.c (CX_IMM_QUALIFIERS): New macro.
15666 (CX_UNARY_QUALIFIERS, CX_BINARY_QUALIFIERS): Likewise.
15667 (CX_TERNARY_QUALIFIERS): Likewise.
15668 (ARM_BUILTIN_CDE_PATTERN_START): Likewise.
15669 (ARM_BUILTIN_CDE_PATTERN_END): Likewise.
15670 (arm_init_acle_builtins): Initialize CDE builtins.
15671 (arm_expand_acle_builtin): Check CDE constant operands.
15672 * config/arm/arm.h (ARM_CDE_CONST_COPROC): New macro to set the range
15673 of CDE constant operand.
15674 * config/arm/arm.c (arm_hard_regno_mode_ok): Support DImode for
15676 (ARM_VCDE_CONST_1, ARM_VCDE_CONST_2, ARM_VCDE_CONST_3): Likewise.
15677 * config/arm/arm_cde.h (__arm_vcx1_u32): New macro of ACLE interface.
15678 (__arm_vcx1a_u32, __arm_vcx2_u32, __arm_vcx2a_u32): Likewise.
15679 (__arm_vcx3_u32, __arm_vcx3a_u32, __arm_vcx1d_u64): Likewise.
15680 (__arm_vcx1da_u64, __arm_vcx2d_u64, __arm_vcx2da_u64): Likewise.
15681 (__arm_vcx3d_u64, __arm_vcx3da_u64): Likewise.
15682 * config/arm/arm_cde_builtins.def: New file.
15683 * config/arm/iterators.md (V_reg): New attribute of SI.
15684 * config/arm/predicates.md (const_int_coproc_operand): New.
15685 (const_int_vcde1_operand, const_int_vcde2_operand): New.
15686 (const_int_vcde3_operand): New.
15687 * config/arm/unspecs.md (UNSPEC_VCDE, UNSPEC_VCDEA): New.
15688 * config/arm/vfp.md (arm_vcx1<mode>): New entry.
15689 (arm_vcx1a<mode>, arm_vcx2<mode>, arm_vcx2a<mode>): Likewise.
15690 (arm_vcx3<mode>, arm_vcx3a<mode>): Likewise.
15692 2020-04-08 Dennis Zhang <dennis.zhang@arm.com>
15694 * config.gcc: Add arm_cde.h.
15695 * config/arm/arm-c.c (arm_cpu_builtins): Define or undefine
15696 __ARM_FEATURE_CDE and __ARM_FEATURE_CDE_COPROC.
15697 * config/arm/arm-cpus.in (cdecp0, cdecp1, ..., cdecp7): New options.
15698 * config/arm/arm.c (arm_option_reconfigure_globals): Configure
15699 arm_arch_cde and arm_arch_cde_coproc to store the feature bits.
15700 * config/arm/arm.h (TARGET_CDE): New macro.
15701 * config/arm/arm_cde.h: New file.
15702 * doc/invoke.texi: Document CDE options +cdecp[0-7].
15703 * doc/sourcebuild.texi (arm_v8m_main_cde_ok): Document new target
15705 (arm_v8m_main_cde_fp, arm_v8_1m_main_cde_mve): Likewise.
15707 2020-04-08 Jakub Jelinek <jakub@redhat.com>
15709 PR rtl-optimization/94516
15710 * postreload.c: Include rtl-iter.h.
15711 (reload_cse_move2add): Handle SP autoinc here by FOR_EACH_SUBRTX_VAR
15712 looking for all MEMs with RTX_AUTOINC operand.
15713 (move2add_note_store): Remove {PRE,POST}_{INC,DEC} handling.
15715 2020-04-08 Tobias Burnus <tobias@codesourcery.com>
15717 * omp-grid.c (grid_eliminate_combined_simd_part): Use
15718 OMP_CLAUSE_CODE to access the omp clause code.
15720 2020-04-07 Jeff Law <law@redhat.com>
15722 PR rtl-optimization/92264
15723 * config/h8300/h8300.md (mov;add peephole2): Avoid applying when
15724 the destination is the stack pointer.
15726 2020-04-07 Jakub Jelinek <jakub@redhat.com>
15728 PR rtl-optimization/94291
15729 PR rtl-optimization/84169
15730 * combine.c (try_combine): For split_i2i3, don't assume SET_DEST
15731 must be a REG or SUBREG of REG; if it is not one of these, don't
15734 2020-04-07 Richard Biener <rguenther@suse.de>
15736 PR middle-end/94479
15737 * gimplify.c (gimplify_addr_expr): Also consider generated
15740 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15742 * config/arm/arm_mve.h: Add C++ polymorphism and fix preserve MACROs.
15744 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15746 * config/arm/arm_mve.h: Cast some pointers to expected types.
15748 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15750 * config/arm/arm_mve.h: Replace all uses of vuninitializedq_* with the
15751 same with '__arm_' prefix.
15753 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15755 * config/arm/mve.md (mve_vec_extract*): Allow memory operands in set.
15757 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15759 * config/arm/arm.c (arm_mve_immediate_check): Removed.
15760 * config/arm/mve.md (MVE_pred2, MVE_constraint2): Added FP types.
15761 (mve_vcvtq_n_to_f_*, mve_vcvtq_n_from_f_*, mve_vqshrnbq_n_*,
15762 mve_vqshrntq_n_*, mve_vqshrunbq_n_s*, mve_vqshruntq_n_s*,
15763 mve_vcvtq_m_n_from_f_*, mve_vcvtq_m_n_to_f_*, mve_vqshrnbq_m_n_*,
15764 mve_vqrshruntq_m_n_s*, mve_vqshrunbq_m_n_s*,
15765 mve_vqshruntq_m_n_s*): Fixed immediate constraints.
15767 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15769 * config/arm/arm.d (ashldi3): Don't use lsll for constant 32-bit shifts.
15771 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15773 * config/arm/arm_mve.h: Fix v[id]wdup intrinsics.
15774 * config/arm/mve/md: Fix v[id]wdup patterns.
15776 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15778 * config/arm/arm.c (output_move_neon): Deal with label + offset cases.
15779 * config/arm/mve.md (*mve_mov<mode>): Handle const vectors.
15781 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15783 * config/arm/arm_mve.h: Remove use of typeof for addr pointer parameters
15784 and remove const_ptr enums.
15786 2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
15788 * config/arm/arm_mve.h (vsubq_n): Merge with...
15790 (vmulq_n): Merge with...
15792 (__ARM_mve_typeid): Simplify scalar and constant detection.
15794 2020-04-07 Jakub Jelinek <jakub@redhat.com>
15797 * config/i386/i386-expand.c (expand_vec_perm_pshufb): Fix the check
15798 for inter-lane permutation for 64-byte modes.
15801 * config/aarch64/aarch64-simd.md (ashl<mode>3, lshr<mode>3,
15802 ashr<mode>3): Force operands[2] into reg whenever it is not CONST_INT.
15803 Assume it is a REG after that instead of testing it and doing FAIL
15804 otherwise. Formatting fix.
15806 2020-04-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
15808 * config/rs6000/t-rtems: Delete mcpu=8540 multilib.
15810 2020-04-07 Jakub Jelinek <jakub@redhat.com>
15813 * config/i386/i386-expand.c (emit_reduc_half): For V{64QI,32HI}mode
15814 handle i < 64 using avx512bw_lshrv4ti3. Formatting fixes.
15816 2020-04-06 Jakub Jelinek <jakub@redhat.com>
15818 * cselib.c (cselib_subst_to_values): For SP_DERIVED_VALUE_P
15819 + const0_rtx return the SP_DERIVED_VALUE_P.
15821 2020-04-06 Richard Sandiford <richard.sandiford@arm.com>
15823 PR rtl-optimization/92989
15824 * lra-lives.c (process_bb_lives): Do not treat eh_return data
15825 registers as being live at the beginning of the EH receiver.
15827 2020-04-05 Zachary Spytz <zspytz@gmail.com>
15829 * extend.texi: Add free to list of ISO C90 functions that
15830 are recognized by the compiler.
15832 2020-04-05 Nagaraju Mekala <nmekala@xilix.com>
15834 * config/microblaze/microblaze.c (microblaze_must_save_register): Check
15835 for fast_interrupt.
15837 * config/microblaze/microblaze.md (trap): Update output pattern.
15839 2020-04-04 Hannes Domani <ssbssa@yahoo.de>
15840 Jakub Jelinek <jakub@redhat.com>
15843 * dwarf2out.c (gen_subprogram_die): Look through references, pointers,
15844 arrays, pointer-to-members, function types and qualifiers when
15845 checking if in-class DIE had an 'auto' or 'decltype(auto)' return type
15846 to emit type again on definition.
15848 2020-04-04 Jan Hubicka <hubicka@ucw.cz>
15851 * ipa-fnsummary.c (vrp_will_run_p): New function.
15852 (fre_will_run_p): New function.
15853 (evaluate_properties_for_edge): Use it.
15854 * ipa-inline.c (can_inline_edge_by_limits_p): Do not inline
15855 !optimize_debug to optimize_debug.
15857 2020-04-04 Jakub Jelinek <jakub@redhat.com>
15859 PR rtl-optimization/94468
15860 * cselib.c (references_value_p): Formatting fix.
15861 (cselib_useless_value_p): New function.
15862 (discard_useless_locs, discard_useless_values,
15863 cselib_invalidate_regno_val, cselib_invalidate_mem,
15864 cselib_record_set): Use it instead of
15865 v->locs == 0 && !PRESERVED_VALUE_P (v->val_rtx).
15868 * tree-iterator.h (expr_single): Declare.
15869 * tree-iterator.c (expr_single): New function.
15870 * tree.h (protected_set_expr_location_if_unset): Declare.
15871 * tree.c (protected_set_expr_location): Use expr_single.
15872 (protected_set_expr_location_if_unset): New function.
15874 2020-04-03 Jeff Law <law@redhat.com>
15876 PR rtl-optimization/92264
15877 * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Handle
15878 reloading of auto-increment addressing modes.
15880 2020-04-03 H.J. Lu <hongjiu.lu@intel.com>
15883 * config/i386/sse.md (ssse3_pshufbv8qi3): Mark scratch operand
15886 2020-04-03 Jeff Law <law@redhat.com>
15888 PR rtl-optimization/92264
15889 * config/m32r/m32r.c (m32r_output_block_move): Properly account for
15890 post-increment addressing of source operands as well as residuals
15891 when computing any adjustments to the input pointer.
15893 2020-04-03 Jakub Jelinek <jakub@redhat.com>
15896 * config/i386/sse.md (avx2_ph<plusminus_mnemonic>wv16hi3,
15897 avx2_ph<plusminus_mnemonic>dv8si3): Fix up RTL pattern to do
15898 second half of first lane from first lane of second operand and
15899 first half of second lane from second lane of first operand.
15901 2020-04-03 Andre Vieira <andre.simoesdiasvieira@arm.com>
15903 * config/arm/arm_mve.h: Condition the header file on __ARM_FEATURE_MVE.
15905 2020-04-03 Tamar Christina <tamar.christina@arm.com>
15908 * common/config/aarch64/aarch64-common.c
15909 (aarch64_get_extension_string_for_isa_flags): Handle default flags.
15911 2020-04-03 Richard Biener <rguenther@suse.de>
15913 PR middle-end/94465
15914 * tree.c (array_ref_low_bound): Deal with released SSA names
15917 2020-04-03 Kwok Cheung Yeung <kcy@codesourcery.com>
15919 * config/gcn/gcn.c (print_operand): Handle unordered comparison
15921 * config/gcn/predicates.md (gcn_fp_compare_operator): Add unordered
15922 comparison operators.
15924 2020-04-03 Kewen Lin <linkw@gcc.gnu.org>
15926 PR tree-optimization/94443
15927 * tree-vect-loop.c (vectorizable_live_operation): Use
15928 gsi_insert_seq_before to replace gsi_insert_before.
15930 2020-04-03 Martin Liska <mliska@suse.cz>
15933 * ipa-icf-gimple.c (func_checker::compare_gimple_call):
15934 Compare type attributes for gimple_call_fntypes.
15936 2020-04-02 Sandra Loosemore <sandra@codesourcery.com>
15938 * alias.c (get_alias_set): Fix comment typos.
15940 2020-04-02 Fritz Reese <foreese@gcc.gnu.org>
15943 * fortran/decl.c (match_attr_spec): Lump COMP_STRUCTURE/COMP_MAP into
15944 attribute checking used by TYPE.
15946 2020-04-02 Martin Jambor <mjambor@suse.cz>
15949 * ipa-sra.c (struct caller_issues): New fields candidate and
15950 call_from_outside_comdat.
15951 (check_for_caller_issues): Check for calls from outsied of
15952 candidate's same_comdat_group.
15953 (check_all_callers_for_issues): Set up issues.candidate, check result
15955 (mark_callers_calls_comdat_local): New function.
15956 (process_isra_node_results): Set calls_comdat_local of callers if
15959 2020-04-02 Richard Biener <rguenther@suse.de>
15962 * common.opt (ffinite-loops): Initialize to zero.
15963 * opts.c (default_options_table): Remove OPT_ffinite_loops
15965 * cfgloop.h (loop::finite_p): New member.
15966 * cfgloopmanip.c (copy_loop_info): Copy finite_p.
15967 * ipa-icf-gimple.c (func_checker::compare_loops): Compare
15969 * lto-streamer-in.c (input_cfg): Stream finite_p.
15970 * lto-streamer-out.c (output_cfg): Likewise.
15971 * tree-cfg.c (replace_loop_annotate): Initialize finite_p
15972 from flag_finite_loops at CFG build time.
15973 * tree-ssa-loop-niter.c (finite_loop_p): Check the loops
15974 finite_p flag instead of flag_finite_loops.
15975 * doc/invoke.texi (ffinite-loops): Adjust documentation of
15978 2020-04-02 Richard Biener <rguenther@suse.de>
15981 * dwarf2out.c (dwarf2out_early_finish): Remove code emitting
15982 DW_TAG_imported_unit.
15984 2020-04-02 Maciej W. Rozycki <macro@wdc.com>
15986 * doc/install.texi (Specific) <riscv32-*-elf, riscv32-*-linux>
15987 <riscv64-*-elf, riscv64-*-linux>: Update binutils requirement to
15990 2020-04-02 Kewen Lin <linkw@gcc.gnu.org>
15992 PR tree-optimization/94401
15993 * tree-vect-loop.c (vectorizable_load): Handle VMAT_CONTIGUOUS_REVERSE
15994 access type when loading halves of vector to avoid peeling for gaps.
15996 2020-04-02 Jakub Jelinek <jakub@redhat.com>
15998 * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Add a space in
15999 between a string literal and MIPS_SYSVERSION_SPEC macro.
16001 2020-04-02 Martin Jambor <mjambor@suse.cz>
16003 * doc/invoke.texi (Optimize Options): Document sra-max-propagations.
16005 2020-04-02 Jakub Jelinek <jakub@redhat.com>
16007 PR rtl-optimization/92264
16008 * params.opt (-param=max-find-base-term-values=): Decrease default
16011 PR rtl-optimization/92264
16012 * rtl.h (struct rtx_def): Mention that call bit is used as
16013 SP_DERIVED_VALUE_P in cselib.c.
16014 * cselib.c (SP_DERIVED_VALUE_P): Define.
16015 (PRESERVED_VALUE_P, SP_BASED_VALUE_P): Move definitions earlier.
16016 (cselib_hasher::equal): Handle equality between SP_DERIVED_VALUE_P
16017 val_rtx and sp based expression where offsets cancel each other.
16018 (preserve_constants_and_equivs): Formatting fix.
16019 (cselib_reset_table): Add reverse op loc to SP_DERIVED_VALUE_P
16020 locs list for cfa_base_preserved_val if needed. Formatting fix.
16021 (autoinc_split): If the to be returned value is a REG, MEM or
16022 VALUE which has SP_DERIVED_VALUE_P + CONST_INT as one of its
16023 locs, return the SP_DERIVED_VALUE_P VALUE and adjust *off.
16024 (rtx_equal_for_cselib_1): Call autoinc_split even if both
16025 expressions are PLUS in Pmode with CONST_INT second operands.
16026 Handle SP_DERIVED_VALUE_P cases.
16027 (cselib_hash_plus_const_int): New function.
16028 (cselib_hash_rtx): Use it for PLUS in Pmode with CONST_INT
16029 second operand, as well as for PRE_DEC etc. that ought to be
16030 hashed the same way.
16031 (cselib_subst_to_values): Substitute PLUS with Pmode and
16032 CONST_INT operand if the first operand is a VALUE which has
16033 SP_DERIVED_VALUE_P + CONST_INT as one of its locs for the
16034 SP_DERIVED_VALUE_P + adjusted offset.
16035 (cselib_lookup_1): When creating a new VALUE for stack_pointer_rtx,
16036 set SP_DERIVED_VALUE_P on it. Set PRESERVED_VALUE_P when adding
16037 SP_DERIVED_VALUE_P PRESERVED_VALUE_P subseted VALUE location.
16038 * var-tracking.c (vt_initialize): Call cselib_add_permanent_equiv
16039 on the sp value before calling cselib_add_permanent_equiv on the
16041 * dse.c (check_for_inc_dec_1, check_for_inc_dec): Punt on RTX_AUTOINC
16042 in the insn without REG_INC note.
16043 (replace_read): Punt on RTX_AUTOINC in the *loc being replaced.
16044 Punt on invalid insns added by copy_to_mode_reg. Formatting fixes.
16047 * config/aarch64/aarch64.c (aarch64_gen_compare_reg_maybe_ze): For
16048 y_mode E_[QH]Imode and y being a CONST_INT, change y_mode to SImode.
16050 2020-04-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
16053 * config/arm/arm-builtins.c (LDRGBWBXU_QUALIFIERS): Define.
16054 (LDRGBWBXU_Z_QUALIFIERS): Likewise.
16055 * config/arm/arm_mve.h (__arm_vldrdq_gather_base_wb_s64): Modify
16056 intrinsic defintion by adding a new builtin call to writeback into base
16058 (__arm_vldrdq_gather_base_wb_u64): Likewise.
16059 (__arm_vldrdq_gather_base_wb_z_s64): Likewise.
16060 (__arm_vldrdq_gather_base_wb_z_u64): Likewise.
16061 (__arm_vldrwq_gather_base_wb_s32): Likewise.
16062 (__arm_vldrwq_gather_base_wb_u32): Likewise.
16063 (__arm_vldrwq_gather_base_wb_z_s32): Likewise.
16064 (__arm_vldrwq_gather_base_wb_z_u32): Likewise.
16065 (__arm_vldrwq_gather_base_wb_f32): Likewise.
16066 (__arm_vldrwq_gather_base_wb_z_f32): Likewise.
16067 * config/arm/arm_mve_builtins.def (vldrwq_gather_base_wb_z_u): Modify
16068 builtin's qualifier.
16069 (vldrdq_gather_base_wb_z_u): Likewise.
16070 (vldrwq_gather_base_wb_u): Likewise.
16071 (vldrdq_gather_base_wb_u): Likewise.
16072 (vldrwq_gather_base_wb_z_s): Likewise.
16073 (vldrwq_gather_base_wb_z_f): Likewise.
16074 (vldrdq_gather_base_wb_z_s): Likewise.
16075 (vldrwq_gather_base_wb_s): Likewise.
16076 (vldrwq_gather_base_wb_f): Likewise.
16077 (vldrdq_gather_base_wb_s): Likewise.
16078 (vldrwq_gather_base_nowb_z_u): Define builtin.
16079 (vldrdq_gather_base_nowb_z_u): Likewise.
16080 (vldrwq_gather_base_nowb_u): Likewise.
16081 (vldrdq_gather_base_nowb_u): Likewise.
16082 (vldrwq_gather_base_nowb_z_s): Likewise.
16083 (vldrwq_gather_base_nowb_z_f): Likewise.
16084 (vldrdq_gather_base_nowb_z_s): Likewise.
16085 (vldrwq_gather_base_nowb_s): Likewise.
16086 (vldrwq_gather_base_nowb_f): Likewise.
16087 (vldrdq_gather_base_nowb_s): Likewise.
16088 * config/arm/mve.md (mve_vldrwq_gather_base_nowb_<supf>v4si): Define RTL
16090 (mve_vldrwq_gather_base_wb_<supf>v4si): Modify RTL pattern.
16091 (mve_vldrwq_gather_base_nowb_z_<supf>v4si): Define RTL pattern.
16092 (mve_vldrwq_gather_base_wb_z_<supf>v4si): Modify RTL pattern.
16093 (mve_vldrwq_gather_base_wb_fv4sf): Modify RTL pattern.
16094 (mve_vldrwq_gather_base_nowb_fv4sf): Define RTL pattern.
16095 (mve_vldrwq_gather_base_wb_z_fv4sf): Modify RTL pattern.
16096 (mve_vldrwq_gather_base_nowb_z_fv4sf): Define RTL pattern.
16097 (mve_vldrdq_gather_base_nowb_<supf>v4di): Define RTL pattern.
16098 (mve_vldrdq_gather_base_wb_<supf>v4di): Modify RTL pattern.
16099 (mve_vldrdq_gather_base_nowb_z_<supf>v4di): Define RTL pattern.
16100 (mve_vldrdq_gather_base_wb_z_<supf>v4di): Modify RTL pattern.
16102 2020-04-02 Andreas Krebbel <krebbel@linux.ibm.com>
16104 * config/s390/vector.md ("<ti*>add<mode>3", "mul<mode>3")
16105 ("and<mode>3", "notand<mode>3", "ior<mode>3", "ior_not<mode>3")
16106 ("xor<mode>3", "notxor<mode>3", "smin<mode>3", "smax<mode>3")
16107 ("umin<mode>3", "umax<mode>3", "vec_widen_smult_even_<mode>")
16108 ("vec_widen_umult_even_<mode>", "vec_widen_smult_odd_<mode>")
16109 ("vec_widen_umult_odd_<mode>", "add<mode>3", "sub<mode>3")
16110 ("mul<mode>3", "fma<mode>4", "fms<mode>4", "neg_fma<mode>4")
16111 ("neg_fms<mode>4", "*smax<mode>3_vxe", "*smaxv2df3_vx")
16112 ("*smin<mode>3_vxe", "*sminv2df3_vx"): Remove % constraint
16114 ("vec_widen_umult_lo_<mode>", "vec_widen_umult_hi_<mode>")
16115 ("vec_widen_smult_lo_<mode>", "vec_widen_smult_hi_<mode>"):
16116 Remove constraints from expander.
16117 * config/s390/vx-builtins.md ("vacc<bhfgq>_<mode>", "vacq")
16118 ("vacccq", "vec_avg<mode>", "vec_avgu<mode>", "vec_vmal<mode>")
16119 ("vec_vmah<mode>", "vec_vmalh<mode>", "vec_vmae<mode>")
16120 ("vec_vmale<mode>", "vec_vmao<mode>", "vec_vmalo<mode>")
16121 ("vec_smulh<mode>", "vec_umulh<mode>", "vec_nor<mode>3")
16122 ("vfmin<mode>", "vfmax<mode>"): Remove % constraint modifier.
16124 2020-04-01 Peter Bergner <bergner@linux.ibm.com>
16126 PR rtl-optimization/94123
16127 * lower-subreg.c (pass_lower_subreg3::gate): Remove test for
16128 flag_split_wide_types_early.
16130 2020-04-01 Joerg Sonnenberger <joerg@bec.de>
16132 * doc/extend.texi (Common Function Attributes): Fix typo.
16134 2020-04-01 Segher Boessenkool <segher@kernel.crashing.org>
16137 * config/rs6000/rs6000.md (*tocref<mode> for P): Add insn condition
16140 2020-04-01 Zackery Spytz <zspytz@gmail.com>
16142 * doc/extend.texi: Fix a typo in the documentation of the
16143 copy function attribute.
16145 2020-04-01 Jakub Jelinek <jakub@redhat.com>
16147 PR middle-end/94423
16148 * tree-object-size.c (pass_object_sizes::execute): Don't call
16149 replace_uses_by for SSA_NAME_OCCURS_IN_ABNORMAL_PHI lhs, instead
16150 call replace_call_with_value.
16152 2020-04-01 Kewen Lin <linkw@gcc.gnu.org>
16154 PR tree-optimization/94043
16155 * tree-vect-loop.c (vectorizable_live_operation): Generate loop-closed
16156 phi for vec_lhs and use it for lane extraction.
16158 2020-03-31 Felix Yang <felix.yang@huawei.com>
16160 PR tree-optimization/94398
16161 * tree-vect-stmts.c (vectorizable_store): Instead of calling
16162 vect_supportable_dr_alignment, set alignment_support_scheme to
16163 dr_unaligned_supported for gather-scatter accesses.
16164 (vectorizable_load): Likewise.
16166 2020-03-31 Andrew Stubbs <ams@codesourcery.com>
16168 * config/gcn/gcn-valu.md (V_QI, V_HI, V_HF, V_SI, V_SF, V_DI, V_DF):
16169 New mode iterators.
16170 (vnsi, VnSI, vndi, VnDI): New mode attributes.
16171 (mov<mode>): Use <VnDI> in place of V64DI.
16172 (mov<mode>_exec): Likewise.
16173 (mov<mode>_sgprbase): Likewise.
16174 (reload_out<mode>): Likewise.
16175 (*vec_set<mode>_1): Use GET_MODE_NUNITS instead of constant 64.
16176 (gather_load<mode>v64si): Rename to ...
16177 (gather_load<mode><vnsi>): ... this, and use <VnSI> in place of V64SI,
16178 and <VnDI> in place of V64DI.
16179 (gather<mode>_insn_1offset<exec>): Use <VnDI> in place of V64DI.
16180 (gather<mode>_insn_1offset_ds<exec>): Use <VnSI> in place of V64SI.
16181 (gather<mode>_insn_2offsets<exec>): Use <VnSI> and <VnDI>.
16182 (scatter_store<mode>v64si): Rename to ...
16183 (scatter_store<mode><vnsi>): ... this, and use <VnSI> and <VnDI>.
16184 (scatter<mode>_expr<exec_scatter>): Use <VnSI> and <VnDI>.
16185 (scatter<mode>_insn_1offset<exec_scatter>): Likewise.
16186 (scatter<mode>_insn_1offset_ds<exec_scatter>): Likewise.
16187 (scatter<mode>_insn_2offsets<exec_scatter>): Likewise.
16188 (ds_bpermute<mode>): Use <VnSI>.
16189 (addv64si3_vcc<exec_vcc>): Rename to ...
16190 (add<mode>3_vcc<exec_vcc>): ... this, and use V_SI.
16191 (addv64si3_vcc_dup<exec_vcc>): Rename to ...
16192 (add<mode>3_vcc_dup<exec_vcc>): ... this, and use V_SI.
16193 (addcv64si3<exec_vcc>): Rename to ...
16194 (addc<mode>3<exec_vcc>): ... this, and use V_SI.
16195 (subv64si3_vcc<exec_vcc>): Rename to ...
16196 (sub<mode>3_vcc<exec_vcc>): ... this, and use V_SI.
16197 (subcv64si3<exec_vcc>): Rename to ...
16198 (subc<mode>3<exec_vcc>): ... this, and use V_SI.
16199 (addv64di3): Rename to ...
16200 (add<mode>3): ... this, and use V_DI.
16201 (addv64di3_exec): Rename to ...
16202 (add<mode>3_exec): ... this, and use V_DI.
16203 (subv64di3): Rename to ...
16204 (sub<mode>3): ... this, and use V_DI.
16205 (subv64di3_exec): Rename to ...
16206 (sub<mode>3_exec): ... this, and use V_DI.
16207 (addv64di3_zext): Rename to ...
16208 (add<mode>3_zext): ... this, and use V_DI and <VnSI>.
16209 (addv64di3_zext_exec): Rename to ...
16210 (add<mode>3_zext_exec): ... this, and use V_DI and <VnSI>.
16211 (addv64di3_zext_dup): Rename to ...
16212 (add<mode>3_zext_dup): ... this, and use V_DI and <VnSI>.
16213 (addv64di3_zext_dup_exec): Rename to ...
16214 (add<mode>3_zext_dup_exec): ... this, and use V_DI and <VnSI>.
16215 (addv64di3_zext_dup2): Rename to ...
16216 (add<mode>3_zext_dup2): ... this, and use V_DI and <VnSI>.
16217 (addv64di3_zext_dup2_exec): Rename to ...
16218 (add<mode>3_zext_dup2_exec): ... this, and use V_DI and <VnSI>.
16219 (addv64di3_sext_dup2): Rename to ...
16220 (add<mode>3_sext_dup2): ... this, and use V_DI and <VnSI>.
16221 (addv64di3_sext_dup2_exec): Rename to ...
16222 (add<mode>3_sext_dup2_exec): ... this, and use V_DI and <VnSI>.
16223 (<su>mulv64si3_highpart<exec>): Rename to ...
16224 (<su>mul<mode>3_highpart<exec>): ... this and use V_SI and <VnDI>.
16225 (mulv64di3): Rename to ...
16226 (mul<mode>3): ... this, and use V_DI and <VnSI>.
16227 (mulv64di3_exec): Rename to ...
16228 (mul<mode>3_exec): ... this, and use V_DI and <VnSI>.
16229 (mulv64di3_zext): Rename to ...
16230 (mul<mode>3_zext): ... this, and use V_DI and <VnSI>.
16231 (mulv64di3_zext_exec): Rename to ...
16232 (mul<mode>3_zext_exec): ... this, and use V_DI and <VnSI>.
16233 (mulv64di3_zext_dup2): Rename to ...
16234 (mul<mode>3_zext_dup2): ... this, and use V_DI and <VnSI>.
16235 (mulv64di3_zext_dup2_exec): Rename to ...
16236 (mul<mode>3_zext_dup2_exec): ... this, and use V_DI and <VnSI>.
16237 (<expander>v64di3): Rename to ...
16238 (<expander><mode>3): ... this, and use V_DI and <VnSI>.
16239 (<expander>v64di3_exec): Rename to ...
16240 (<expander><mode>3_exec): ... this, and use V_DI and <VnSI>.
16241 (<expander>v64si3<exec>): Rename to ...
16242 (<expander><mode>3<exec>): ... this, and use V_SI and <VnSI>.
16243 (v<expander>v64si3<exec>): Rename to ...
16244 (v<expander><mode>3<exec>): ... this, and use V_SI and <VnSI>.
16245 (<expander>v64si3<exec>): Rename to ...
16246 (<expander><vnsi>3<exec>): ... this, and use V_SI.
16247 (subv64df3<exec>): Rename to ...
16248 (sub<mode>3<exec>): ... this, and use V_DF.
16249 (truncv64di<mode>2): Rename to ...
16250 (trunc<vndi><mode>2): ... this, and use <VnDI>.
16251 (truncv64di<mode>2_exec): Rename to ...
16252 (trunc<vndi><mode>2_exec): ... this, and use <VnDI>.
16253 (<convop><mode>v64di2): Rename to ...
16254 (<convop><mode><vndi>2): ... this, and use <VnDI>.
16255 (<convop><mode>v64di2_exec): Rename to ...
16256 (<convop><mode><vndi>2_exec): ... this, and use <VnDI>.
16257 (vec_cmp<u>v64qidi): Rename to ...
16258 (vec_cmp<u><mode>di): ... this, and use <VnSI>.
16259 (vec_cmp<u>v64qidi_exec): Rename to ...
16260 (vec_cmp<u><mode>di_exec): ... this, and use <VnSI>.
16261 (vcond_mask_<mode>di): Use <VnDI>.
16262 (maskload<mode>di): Likewise.
16263 (maskstore<mode>di): Likewise.
16264 (mask_gather_load<mode>v64si): Rename to ...
16265 (mask_gather_load<mode><vnsi>): ... this, and use <VnSI> and <VnDI>.
16266 (mask_scatter_store<mode>v64si): Rename to ...
16267 (mask_scatter_store<mode><vnsi>): ... this, and use <VnSI> and <VnDI>.
16268 (*<reduc_op>_dpp_shr_v64di): Rename to ...
16269 (*<reduc_op>_dpp_shr_<mode>): ... this, and use V_DI and <VnSI>.
16270 (*plus_carry_in_dpp_shr_v64si): Rename to ...
16271 (*plus_carry_in_dpp_shr_<mode>): ... this, and use V_SI.
16272 (*plus_carry_dpp_shr_v64di): Rename to ...
16273 (*plus_carry_dpp_shr_<mode>): ... this, and use V_DI and <VnSI>.
16274 (vec_seriesv64si): Rename to ...
16275 (vec_series<mode>): ... this, and use V_SI.
16276 (vec_seriesv64di): Rename to ...
16277 (vec_series<mode>): ... this, and use V_DI.
16279 2020-03-31 Claudiu Zissulescu <claziss@synopsys.com>
16281 * config/arc/arc.c (arc_print_operand): Use
16282 HOST_WIDE_INT_PRINT_DEC macro.
16284 2020-03-31 Claudiu Zissulescu <claziss@synopsys.com>
16286 * config/arc/arc.h (ASM_FORMAT_PRIVATE_NAME): Fix it.
16288 2020-03-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
16290 * config/arm/arm_mve.h (vbicq): Define MVE intrinsic polymorphic
16292 (__arm_vbicq): Likewise.
16294 2020-03-31 Vineet Gupta <vgupta@synopsys.com>
16296 * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700.
16298 2020-03-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
16300 * config/arm/arm_mve.h (vaddlvq): Move the polymorphic variant to the
16301 common section of both MVE Integer and MVE Floating Point.
16302 (vaddvq): Likewise.
16303 (vaddlvq_p): Likewise.
16304 (vaddvaq): Likewise.
16305 (vaddvq_p): Likewise.
16306 (vcmpcsq): Likewise.
16307 (vmlsdavxq): Likewise.
16308 (vmlsdavq): Likewise.
16309 (vmladavxq): Likewise.
16310 (vmladavq): Likewise.
16311 (vminvq): Likewise.
16312 (vminavq): Likewise.
16313 (vmaxvq): Likewise.
16314 (vmaxavq): Likewise.
16315 (vmlaldavq): Likewise.
16316 (vcmphiq): Likewise.
16317 (vaddlvaq): Likewise.
16318 (vrmlaldavhq): Likewise.
16319 (vrmlaldavhxq): Likewise.
16320 (vrmlsldavhq): Likewise.
16321 (vrmlsldavhxq): Likewise.
16322 (vmlsldavxq): Likewise.
16323 (vmlsldavq): Likewise.
16324 (vabavq): Likewise.
16325 (vrmlaldavhaq): Likewise.
16326 (vcmpgeq_m_n): Likewise.
16327 (vmlsdavxq_p): Likewise.
16328 (vmlsdavq_p): Likewise.
16329 (vmlsdavaxq): Likewise.
16330 (vmlsdavaq): Likewise.
16331 (vaddvaq_p): Likewise.
16332 (vcmpcsq_m_n): Likewise.
16333 (vcmpcsq_m): Likewise.
16334 (vmladavxq_p): Likewise.
16335 (vmladavq_p): Likewise.
16336 (vmladavaxq): Likewise.
16337 (vmladavaq): Likewise.
16338 (vminvq_p): Likewise.
16339 (vminavq_p): Likewise.
16340 (vmaxvq_p): Likewise.
16341 (vmaxavq_p): Likewise.
16342 (vcmphiq_m): Likewise.
16343 (vaddlvaq_p): Likewise.
16344 (vmlaldavaq): Likewise.
16345 (vmlaldavaxq): Likewise.
16346 (vmlaldavq_p): Likewise.
16347 (vmlaldavxq_p): Likewise.
16348 (vmlsldavaq): Likewise.
16349 (vmlsldavaxq): Likewise.
16350 (vmlsldavq_p): Likewise.
16351 (vmlsldavxq_p): Likewise.
16352 (vrmlaldavhaxq): Likewise.
16353 (vrmlaldavhq_p): Likewise.
16354 (vrmlaldavhxq_p): Likewise.
16355 (vrmlsldavhaq): Likewise.
16356 (vrmlsldavhaxq): Likewise.
16357 (vrmlsldavhq_p): Likewise.
16358 (vrmlsldavhxq_p): Likewise.
16359 (vabavq_p): Likewise.
16360 (vmladavaq_p): Likewise.
16361 (vstrbq_scatter_offset): Likewise.
16362 (vstrbq_p): Likewise.
16363 (vstrbq_scatter_offset_p): Likewise.
16364 (vstrdq_scatter_base_p): Likewise.
16365 (vstrdq_scatter_base): Likewise.
16366 (vstrdq_scatter_offset_p): Likewise.
16367 (vstrdq_scatter_offset): Likewise.
16368 (vstrdq_scatter_shifted_offset_p): Likewise.
16369 (vstrdq_scatter_shifted_offset): Likewise.
16370 (vmaxq_x): Likewise.
16371 (vminq_x): Likewise.
16372 (vmovlbq_x): Likewise.
16373 (vmovltq_x): Likewise.
16374 (vmulhq_x): Likewise.
16375 (vmullbq_int_x): Likewise.
16376 (vmullbq_poly_x): Likewise.
16377 (vmulltq_int_x): Likewise.
16378 (vmulltq_poly_x): Likewise.
16379 (vstrbq): Likewise.
16381 2020-03-31 Jakub Jelinek <jakub@redhat.com>
16384 * config/aarch64/constraints.md (Uph): New constraint.
16385 * config/aarch64/atomics.md (cas_short_expected_imm): New mode attr.
16386 (@aarch64_compare_and_swap<mode>): Use it instead of n in operand 2's
16389 2020-03-31 Marc Glisse <marc.glisse@inria.fr>
16390 Jakub Jelinek <jakub@redhat.com>
16392 PR middle-end/94412
16393 * fold-const.c (fold_binary_loc) <case TRUNC_DIV_EXPR>: Use
16394 ANY_INTEGRAL_TYPE_P instead of INTEGRAL_TYPE_P.
16396 2020-03-31 Jakub Jelinek <jakub@redhat.com>
16398 PR tree-optimization/94403
16399 * gimple-ssa-store-merging.c (verify_symbolic_number_p): Allow also
16400 ENUMERAL_TYPE lhs_type.
16402 PR rtl-optimization/94344
16403 * tree-ssa-forwprop.c (simplify_rotate): Handle also same precision
16404 conversions, either on both operands of |^+ or just one. Handle
16405 also extra same precision conversion on RSHIFT_EXPR first operand
16406 provided RSHIFT_EXPR is performed in unsigned type.
16408 2020-03-30 David Malcolm <dmalcolm@redhat.com>
16410 * lra.c (finish_insn_code_data_once): Set the array elements
16411 to NULL after freeing them.
16413 2020-03-30 Andreas Schwab <schwab@suse.de>
16415 * config/host-linux.c (TRY_EMPTY_VM_SPACE) [__riscv && __LP64__]:
16418 2020-03-30 Will Schmidt <will_schmidt@vnet.ibm.com>
16420 * config/rs6000/rs6000-call.c altivec_init_builtins(): Remove code
16421 to skip defining builtins based on builtin_mask.
16423 2020-03-30 Jakub Jelinek <jakub@redhat.com>
16426 * config/i386/sse.md (<mask_codefor>one_cmpl<mode>2<mask_name>): If
16427 !TARGET_AVX512VL, use 512-bit vpternlog and make sure the input
16428 operand is a register. Don't enable masked variants for V*[QH]Imode.
16431 * config/i386/sse.md (vec_extract_lo_<mode><mask_name>): Use
16432 <store_mask_constraint> instead of m in output operand constraint.
16433 (vec_extract_hi_<mode><mask_name>): Use <mask_operand2> instead of
16436 2020-03-30 Alan Modra <amodra@gmail.com>
16438 * config/rs6000/rs6000.c (rs6000_call_aix): Emit cookie to pattern.
16439 (rs6000_indirect_call_template_1): Adjust to suit.
16440 * config/rs6000/rs6000.md (call_local): Merge call_local32,
16441 call_local64, and call_local_aix.
16442 (call_value_local): Simlarly.
16443 (call_nonlocal_aix, call_value_nonlocal_aix): Adjust rtl to suit,
16444 and disable pattern when CALL_LONG.
16445 (call_indirect_aix, call_value_indirect_aix): Adjust rtl.
16446 (call_indirect_elfv2, call_indirect_pcrel): Likewise.
16447 (call_value_indirect_elfv2, call_value_indirect_pcrel): Likewise.
16449 2020-03-29 H.J. Lu <hongjiu.lu@intel.com>
16452 * doc/invoke.texi: Update -falign-functions, -falign-loops and
16453 -falign-jumps documentation.
16455 2020-03-29 Martin Liska <mliska@suse.cz>
16458 * cgraphunit.c (process_function_and_variable_attributes): Remove
16459 double 'attribute' words.
16461 2020-03-29 John David Anglin <dave.anglin@bell.net>
16463 * config/pa/pa.c (pa_asm_output_aligned_bss): Delete duplicate
16466 2020-03-28 Jakub Jelinek <jakub@redhat.com>
16469 * c-decl.c (grokdeclarator): After issuing errors, set size_int_const
16470 to true after setting size to integer_one_node.
16472 PR tree-optimization/94329
16473 * tree-ssa-reassoc.c (reassociate_bb): When calling reassoc_remove_stmt
16474 on the last stmt in a bb, make sure gsi_prev isn't done immediately
16477 2020-03-27 Alan Modra <amodra@gmail.com>
16480 * config/rs6000/rs6000.c (rs6000_longcall_ref): Use unspec_volatile
16481 for PLT16_LO and PLT_PCREL.
16482 * config/rs6000/rs6000.md (UNSPEC_PLT16_LO, UNSPEC_PLT_PCREL): Remove.
16483 (UNSPECV_PLT16_LO, UNSPECV_PLT_PCREL): Define.
16484 (pltseq_plt16_lo_, pltseq_plt_pcrel): Use unspec_volatile.
16486 2020-03-27 Martin Sebor <msebor@redhat.com>
16489 * calls.c (init_attr_rdwr_indices): Iterate over all access attributes.
16491 2020-03-27 Andrew Stubbs <ams@codesourcery.com>
16493 * config/gcn/gcn-valu.md:
16494 (VEC_SUBDWORD_MODE): Rename to V_QIHI throughout.
16495 (VEC_1REG_MODE): Delete.
16496 (VEC_1REG_ALT): Delete.
16497 (VEC_ALL1REG_MODE): Rename to V_1REG throughout.
16498 (VEC_1REG_INT_MODE): Delete.
16499 (VEC_ALL1REG_INT_MODE): Rename to V_INT_1REG throughout.
16500 (VEC_ALL1REG_INT_ALT): Rename to V_INT_1REG_ALT throughout.
16501 (VEC_2REG_MODE): Rename to V_2REG throughout.
16502 (VEC_REG_MODE): Rename to V_noHI throughout.
16503 (VEC_ALLREG_MODE): Rename to V_ALL throughout.
16504 (VEC_ALLREG_ALT): Rename to V_ALL_ALT throughout.
16505 (VEC_ALLREG_INT_MODE): Rename to V_INT throughout.
16506 (VEC_INT_MODE): Delete.
16507 (VEC_FP_MODE): Rename to V_FP throughout and move to top.
16508 (VEC_FP_1REG_MODE): Rename to V_FP_1REG throughout and move to top.
16509 (FP_MODE): Delete and replace with FP throughout.
16510 (FP_1REG_MODE): Delete and replace with FP_1REG throughout.
16511 (VCMP_MODE): Rename to V_noQI throughout and move to top.
16512 (VCMP_MODE_INT): Rename to V_INT_noQI throughout and move to top.
16513 * config/gcn/gcn.md (FP): New mode iterator.
16514 (FP_1REG): New mode iterator.
16516 2020-03-27 David Malcolm <dmalcolm@redhat.com>
16518 * doc/invoke.texi (-fdump-analyzer-supergraph): Document that this
16519 now emits two .dot files.
16520 * graphviz.cc (graphviz_out::begin_tr): Only emit a TR, not a TD.
16521 (graphviz_out::end_tr): Only close a TR, not a TD.
16522 (graphviz_out::begin_td): New.
16523 (graphviz_out::end_td): New.
16524 (graphviz_out::begin_trtd): New, replacing the old implementation
16525 of graphviz_out::begin_tr.
16526 (graphviz_out::end_tdtr): New, replacing the old implementation
16527 of graphviz_out::end_tr.
16528 * graphviz.h (graphviz_out::begin_td): New decl.
16529 (graphviz_out::end_td): New decl.
16530 (graphviz_out::begin_trtd): New decl.
16531 (graphviz_out::end_tdtr): New decl.
16533 2020-03-27 Richard Biener <rguenther@suse.de>
16536 * dwarf2out.c (should_emit_struct_debug): Return false for
16539 2020-03-27 Richard Biener <rguenther@suse.de>
16541 PR tree-optimization/94352
16542 * tree-ssa-propagate.c (ssa_prop_init): Move seeding of the
16544 (ssa_propagation_engine::ssa_propagate): ... here after
16545 initializing curr_order.
16547 2020-03-27 Kewen Lin <linkw@gcc.gnu.org>
16549 PR tree-optimization/90332
16550 * tree-vect-stmts.c (vector_vector_composition_type): New function.
16551 (get_group_load_store_type): Adjust to call
16552 vector_vector_composition_type, extend it to construct with scalar
16554 (vectorizable_load): Likewise.
16556 2020-03-27 Roman Zhuykov <zhroma@ispras.ru>
16558 * ddg.c (create_ddg_dep_from_intra_loop_link): Remove assertions.
16559 (create_ddg_dep_no_link): Likewise.
16560 (add_cross_iteration_register_deps): Move debug instruction check.
16561 Other minor refactoring.
16562 (add_intra_loop_mem_dep): Do not check for debug instructions.
16563 (add_inter_loop_mem_dep): Likewise.
16564 (build_intra_loop_deps): Likewise.
16565 (create_ddg): Do not include debug insns into the graph.
16566 * ddg.h (struct ddg): Remove num_debug field.
16567 * modulo-sched.c (doloop_register_get): Adjust condition.
16568 (res_MII): Remove DDG num_debug field usage.
16569 (sms_schedule_by_order): Use assertion against debug insns.
16570 (ps_has_conflicts): Drop debug insn check.
16572 2020-03-26 Jakub Jelinek <jakub@redhat.com>
16575 * tree.c (protected_set_expr_location): Recurse on STATEMENT_LIST
16576 that contains exactly one non-DEBUG_BEGIN_STMT statement.
16579 * gimple.h (gimple_seq_first_nondebug_stmt): New function.
16580 (gimple_seq_last_nondebug_stmt): Don't return NULL if seq contains
16581 a single non-debug stmt followed by one or more debug stmts.
16582 * gimplify.c (gimplify_body): Use gimple_seq_first_nondebug_stmt
16583 instead of gimple_seq_first_stmt, use gimple_seq_first_nondebug_stmt
16584 and gimple_seq_last_nondebug_stmt instead of gimple_seq_first and
16585 gimple_seq_last to check if outer_stmt gbind could be reused and
16586 if yes and it is surrounded by any debug stmts, move them into the
16589 PR rtl-optimization/92264
16590 * var-tracking.c (add_stores): Call cselib_set_value_sp_based even
16591 for sp based values in !frame_pointer_needed
16592 && !ACCUMULATE_OUTGOING_ARGS functions.
16594 2020-03-26 Felix Yang <felix.yang@huawei.com>
16596 PR tree-optimization/94269
16597 * tree-ssa-math-opts.c (convert_plusminus_to_widen): Restrict
16599 operation to single basic block.
16601 2020-03-25 Jeff Law <law@redhat.com>
16603 PR rtl-optimization/90275
16604 * config/sh/sh.md (mov_neg_si_t): Clobber the T register in the
16607 2020-03-25 Jakub Jelinek <jakub@redhat.com>
16610 * config/arm/arm.c (arm_gen_dicompare_reg): Set mode of COMPARE to
16611 mode rather than VOIDmode.
16613 2020-03-25 Martin Sebor <msebor@redhat.com>
16615 PR middle-end/94004
16616 * gimple-ssa-warn-alloca.c (pass_walloca::execute): Issue warnings
16617 even for alloca calls resulting from system macro expansion.
16618 Include inlining context in all warnings.
16620 2020-03-25 Richard Sandiford <richard.sandiford@arm.com>
16623 * config/rs6000/rs6000.c (rs6000_can_change_mode_class): Allow
16624 FPRs to change between SDmode and DDmode.
16626 2020-03-25 Martin Sebor <msebor@redhat.com>
16628 PR tree-optimization/94131
16629 * gimple-fold.c (get_range_strlen_tree): Fail for variable-length
16631 * tree-ssa-strlen.c (get_range_strlen_dynamic): Avoid assuming
16632 types have constant sizes.
16634 2020-03-25 Martin Liska <mliska@suse.cz>
16637 * configure.ac: Report error only when --with-zstd
16639 * configure: Regenerate.
16641 2020-03-25 Jakub Jelinek <jakub@redhat.com>
16644 * config/i386/i386-features.c (ix86_add_reg_usage_to_vzeroupper): Set
16645 INSN_CODE (insn) to -1 when changing the pattern.
16647 2020-03-25 Martin Liska <mliska@suse.cz>
16651 * config/i386/i386-features.c (make_resolver_func): Drop
16652 public flag for resolver.
16653 * config/rs6000/rs6000.c (make_resolver_func): Add comdat
16654 group for resolver and drop public flag if possible.
16655 * multiple_target.c (create_dispatcher_calls): Drop unique_name
16656 and resolution as we want to enable LTO privatization of the default
16659 2020-03-25 Martin Liska <mliska@suse.cz>
16662 * configure.ac: Respect --without-zstd and report
16663 error when we can't find header file with --with-zstd.
16664 * configure: Regenerate.
16666 2020-03-25 Jakub Jelinek <jakub@redhat.com>
16668 PR middle-end/94303
16669 * varasm.c (output_constructor_array_range): If local->index
16670 RANGE_EXPR doesn't start at the current location in the constructor,
16671 skip needed number of bytes using assemble_zeros or assert we don't
16675 * langhooks.c (lhd_set_decl_assembler_name): Use a static ulong
16676 counter instead of DECL_UID.
16678 PR tree-optimization/94300
16679 * tree-ssa-sccvn.c (vn_walk_cb_data::push_partial_def): If pd.offset
16680 is positive, make sure that off + size isn't larger than needed_len.
16682 2020-03-25 Richard Biener <rguenther@suse.de>
16683 Jakub Jelinek <jakub@redhat.com>
16686 * tree-if-conv.c (ifcvt_local_dce): Delete dead statements backwards.
16688 2020-03-24 Christophe Lyon <christophe.lyon@linaro.org>
16690 * doc/sourcebuild.texi (ARM-specific attributes): Add
16692 (Features for dg-add-options): Add arm_fp_dp.
16694 2020-03-24 John David Anglin <danglin@gcc.gnu.org>
16697 * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Define __BIG_ENDIAN__.
16699 2020-03-24 Tobias Burnus <tobias@codesourcery.com>
16702 * omp-offload.c (omp_finish_file): Fix target-link handling if
16703 targetm_common.have_named_sections is false.
16705 2020-03-24 Jakub Jelinek <jakub@redhat.com>
16708 * config/arm/arm.md (subvdi4, usubvsi4, usubvdi4): Use gen_int_mode
16709 instead of GEN_INT.
16712 * tree-ssa-loop-manip.c (create_iv): If after, set stmt location to
16713 e->goto_locus even if gsi_bb (*incr_pos) contains only debug stmts.
16714 If not after and at *incr_pos is a debug stmt, set stmt location to
16715 location of next non-debug stmt after it if any.
16718 * tree-if-conv.c (ifcvt_local_dce): For gimple debug stmts, just set
16719 GF_PLF_2, but don't add them to worklist. Don't add an assigment to
16720 worklist or set GF_PLF_2 just because it is used in a debug stmt in
16721 another bb. Formatting improvements.
16724 * cgraphunit.c (check_global_declaration): For DECL_EXTERNAL and
16725 non-TREE_PUBLIC non-DECL_ARTIFICIAL FUNCTION_DECLs, set TREE_PUBLIC
16726 regardless of whether TREE_NO_WARNING is set on it or whether
16727 warn_unused_function is true or not.
16729 2020-03-23 Jeff Law <law@redhat.com>
16731 PR rtl-optimization/90275
16734 * simplify-rtx.c (comparison_code_valid_for_mode): New function.
16735 (simplify_logical_relational_operation): Use it.
16737 2020-03-23 Jakub Jelinek <jakub@redhat.com>
16740 * tree.c (get_narrower): Handle COMPOUND_EXPR by recursing on
16741 ultimate rhs and if returned something different, reconstructing
16742 the COMPOUND_EXPRs.
16744 2020-03-23 Lewis Hyatt <lhyatt@gmail.com>
16746 * opts.c (print_filtered_help): Improve the help text for alias options.
16748 2020-03-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
16749 Andre Vieira <andre.simoesdiasvieira@arm.com>
16750 Mihail Ionescu <mihail.ionescu@arm.com>
16752 * config/arm/arm_mve.h (vshlcq_m_s8): Define macro.
16753 (vshlcq_m_u8): Likewise.
16754 (vshlcq_m_s16): Likewise.
16755 (vshlcq_m_u16): Likewise.
16756 (vshlcq_m_s32): Likewise.
16757 (vshlcq_m_u32): Likewise.
16758 (__arm_vshlcq_m_s8): Define intrinsic.
16759 (__arm_vshlcq_m_u8): Likewise.
16760 (__arm_vshlcq_m_s16): Likewise.
16761 (__arm_vshlcq_m_u16): Likewise.
16762 (__arm_vshlcq_m_s32): Likewise.
16763 (__arm_vshlcq_m_u32): Likewise.
16764 (vshlcq_m): Define polymorphic variant.
16765 * config/arm/arm_mve_builtins.def (QUADOP_NONE_NONE_UNONE_IMM_UNONE):
16766 Use builtin qualifier.
16767 (QUADOP_UNONE_UNONE_UNONE_IMM_UNONE): Likewise.
16768 * config/arm/mve.md (mve_vshlcq_m_vec_<supf><mode>): Define RTL pattern.
16769 (mve_vshlcq_m_carry_<supf><mode>): Likewise.
16770 (mve_vshlcq_m_<supf><mode>): Likewise.
16772 2020-03-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
16774 * config/arm/arm-builtins.c (LSLL_QUALIFIERS): Define builtin qualifier.
16775 (UQSHL_QUALIFIERS): Likewise.
16776 (ASRL_QUALIFIERS): Likewise.
16777 (SQSHL_QUALIFIERS): Likewise.
16778 * config/arm/arm_mve.h (__ARM_BIG_ENDIAN): Check to not support MVE in
16780 (sqrshr): Define macro.
16781 (sqrshrl): Likewise.
16782 (sqrshrl_sat48): Likewise.
16784 (sqshll): Likewise.
16786 (srshrl): Likewise.
16787 (uqrshl): Likewise.
16788 (uqrshll): Likewise.
16789 (uqrshll_sat48): Likewise.
16791 (uqshll): Likewise.
16793 (urshrl): Likewise.
16796 (__arm_lsll): Define intrinsic.
16797 (__arm_asrl): Likewise.
16798 (__arm_uqrshll): Likewise.
16799 (__arm_uqrshll_sat48): Likewise.
16800 (__arm_sqrshrl): Likewise.
16801 (__arm_sqrshrl_sat48): Likewise.
16802 (__arm_uqshll): Likewise.
16803 (__arm_urshrl): Likewise.
16804 (__arm_srshrl): Likewise.
16805 (__arm_sqshll): Likewise.
16806 (__arm_uqrshl): Likewise.
16807 (__arm_sqrshr): Likewise.
16808 (__arm_uqshl): Likewise.
16809 (__arm_urshr): Likewise.
16810 (__arm_sqshl): Likewise.
16811 (__arm_srshr): Likewise.
16812 * config/arm/arm_mve_builtins.def (LSLL_QUALIFIERS): Use builtin
16814 (UQSHL_QUALIFIERS): Likewise.
16815 (ASRL_QUALIFIERS): Likewise.
16816 (SQSHL_QUALIFIERS): Likewise.
16817 * config/arm/mve.md (mve_uqrshll_sat<supf>_di): Define RTL pattern.
16818 (mve_sqrshrl_sat<supf>_di): Likewise.
16819 (mve_uqrshl_si): Likewise.
16820 (mve_sqrshr_si): Likewise.
16821 (mve_uqshll_di): Likewise.
16822 (mve_urshrl_di): Likewise.
16823 (mve_uqshl_si): Likewise.
16824 (mve_urshr_si): Likewise.
16825 (mve_sqshl_si): Likewise.
16826 (mve_srshr_si): Likewise.
16827 (mve_srshrl_di): Likewise.
16828 (mve_sqshll_di): Likewise.
16830 2020-03-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
16831 Andre Vieira <andre.simoesdiasvieira@arm.com>
16832 Mihail Ionescu <mihail.ionescu@arm.com>
16834 * config/arm/arm_mve.h (vsetq_lane_f16): Define macro.
16835 (vsetq_lane_f32): Likewise.
16836 (vsetq_lane_s16): Likewise.
16837 (vsetq_lane_s32): Likewise.
16838 (vsetq_lane_s8): Likewise.
16839 (vsetq_lane_s64): Likewise.
16840 (vsetq_lane_u8): Likewise.
16841 (vsetq_lane_u16): Likewise.
16842 (vsetq_lane_u32): Likewise.
16843 (vsetq_lane_u64): Likewise.
16844 (vgetq_lane_f16): Likewise.
16845 (vgetq_lane_f32): Likewise.
16846 (vgetq_lane_s16): Likewise.
16847 (vgetq_lane_s32): Likewise.
16848 (vgetq_lane_s8): Likewise.
16849 (vgetq_lane_s64): Likewise.
16850 (vgetq_lane_u8): Likewise.
16851 (vgetq_lane_u16): Likewise.
16852 (vgetq_lane_u32): Likewise.
16853 (vgetq_lane_u64): Likewise.
16854 (__ARM_NUM_LANES): Likewise.
16855 (__ARM_LANEQ): Likewise.
16856 (__ARM_CHECK_LANEQ): Likewise.
16857 (__arm_vsetq_lane_s16): Define intrinsic.
16858 (__arm_vsetq_lane_s32): Likewise.
16859 (__arm_vsetq_lane_s8): Likewise.
16860 (__arm_vsetq_lane_s64): Likewise.
16861 (__arm_vsetq_lane_u8): Likewise.
16862 (__arm_vsetq_lane_u16): Likewise.
16863 (__arm_vsetq_lane_u32): Likewise.
16864 (__arm_vsetq_lane_u64): Likewise.
16865 (__arm_vgetq_lane_s16): Likewise.
16866 (__arm_vgetq_lane_s32): Likewise.
16867 (__arm_vgetq_lane_s8): Likewise.
16868 (__arm_vgetq_lane_s64): Likewise.
16869 (__arm_vgetq_lane_u8): Likewise.
16870 (__arm_vgetq_lane_u16): Likewise.
16871 (__arm_vgetq_lane_u32): Likewise.
16872 (__arm_vgetq_lane_u64): Likewise.
16873 (__arm_vsetq_lane_f16): Likewise.
16874 (__arm_vsetq_lane_f32): Likewise.
16875 (__arm_vgetq_lane_f16): Likewise.
16876 (__arm_vgetq_lane_f32): Likewise.
16877 (vgetq_lane): Define polymorphic variant.
16878 (vsetq_lane): Likewise.
16879 * config/arm/mve.md (mve_vec_extract<mode><V_elem_l>): Define RTL
16881 (mve_vec_extractv2didi): Likewise.
16882 (mve_vec_extract_sext_internal<mode>): Likewise.
16883 (mve_vec_extract_zext_internal<mode>): Likewise.
16884 (mve_vec_set<mode>_internal): Likewise.
16885 (mve_vec_setv2di_internal): Likewise.
16886 * config/arm/neon.md (vec_set<mode>): Move RTL pattern to vec-common.md
16888 (vec_extract<mode><V_elem_l>): Rename to
16889 "neon_vec_extract<mode><V_elem_l>".
16890 (vec_extractv2didi): Rename to "neon_vec_extractv2didi".
16891 * config/arm/vec-common.md (vec_extract<mode><V_elem_l>): Define RTL
16892 pattern common for MVE and NEON.
16893 (vec_set<mode>): Move RTL pattern from neon.md and modify to accept both
16896 2020-03-23 Andre Vieira <andre.simoesdiasvieira@arm.com>
16898 * config/arm/mve.md (earlyclobber_32): New mode attribute.
16899 (mve_vrev64q_*, mve_vcaddq*, mve_vhcaddq_*, mve_vcmulq_*,
16900 mve_vmull[bt]q_*, mve_vqdmull[bt]q_*): Add appropriate early clobbers.
16902 2020-03-23 Richard Biener <rguenther@suse.de>
16904 PR tree-optimization/94261
16905 * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove
16906 IL operand swapping code.
16907 (vect_slp_rearrange_stmts): Do not arrange isomorphic
16908 nodes that would need operation code adjustments.
16910 2020-03-23 Tobias Burnus <tobias@codesourcery.com>
16912 * doc/install.texi (amdgcn-*-amdhsa): Renamed
16913 from amdgcn-unknown-amdhsa; change
16914 amdgcn-unknown-amdhsa to amdgcn-amdhsa.
16916 2020-03-23 Richard Biener <rguenther@suse.de>
16919 * ipa-prop.c (ipa_read_jump_function): Build the ADDR_EXRP
16920 directly rather than also folding it via build_fold_addr_expr.
16922 2020-03-23 Richard Biener <rguenther@suse.de>
16924 PR tree-optimization/94266
16925 * tree-ssa-forwprop.c (pass_forwprop::execute): Do not propagate
16926 addresses of TARGET_MEM_REFs.
16928 2020-03-23 Martin Liska <mliska@suse.cz>
16931 * symtab.c (symtab_node::clone_references): Save speculative_id
16932 as ref may be overwritten by create_reference.
16933 (symtab_node::clone_referring): Likewise.
16934 (symtab_node::clone_reference): Likewise.
16936 2020-03-22 Iain Sandoe <iain@sandoe.co.uk>
16938 * config/i386/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Remove
16939 references to Darwin.
16940 * config/i386/i386.h (JUMP_TABLES_IN_TEXT_SECTION): Define this
16941 unconditionally and comment on why.
16943 2020-03-21 Iain Sandoe <iain@sandoe.co.uk>
16945 * config/darwin.c (darwin_mergeable_constant_section): Collect
16946 section anchor checks into the caller.
16947 (machopic_select_section): Collect section anchor checks into
16948 the determination of 'effective zero-size' objects. When the
16949 size is unknown, assume it is non-zero, and thus return the
16950 'generic' section for the DECL.
16952 2020-03-21 Iain Sandoe <iain@sandoe.co.uk>
16955 * config/darwin.opt: Amend options descriptions.
16957 2020-03-21 Richard Sandiford <richard.sandiford@arm.com>
16959 PR rtl-optimization/94052
16960 * lra-constraints.c (simplify_operand_subreg): Reload the inner
16961 register of a paradoxical subreg if simplify_subreg_regno fails
16962 to give a valid hard register for the outer mode.
16964 2020-03-20 Martin Jambor <mjambor@suse.cz>
16966 PR tree-optimization/93435
16967 * params.opt (sra-max-propagations): New parameter.
16968 * tree-sra.c (propagation_budget): New variable.
16969 (budget_for_propagation_access): New function.
16970 (propagate_subaccesses_from_rhs): Use it.
16971 (propagate_subaccesses_from_lhs): Likewise.
16972 (propagate_all_subaccesses): Set up and destroy propagation_budget.
16974 2020-03-20 Carl Love <cel@us.ibm.com>
16977 * config/rs6000/rs6000.c (rs6000_option_override_internal):
16978 Add check for TARGET_FPRND for Power 7 or newer.
16980 2020-03-20 Jan Hubicka <hubicka@ucw.cz>
16983 * cgraph.c (symbol_table::create_edge): Update calls_comdat_local flag.
16984 (cgraph_edge::redirect_callee): Move here; likewise.
16985 (cgraph_node::remove_callees): Update calls_comdat_local flag.
16986 (cgraph_node::verify_node): Verify that calls_comdat_local flag match
16988 (cgraph_node::check_calls_comdat_local_p): New member function.
16989 * cgraph.h (cgraph_node::check_calls_comdat_local_p): Declare.
16990 (cgraph_edge::redirect_callee): Move offline.
16991 * ipa-fnsummary.c (compute_fn_summary): Do not compute
16992 calls_comdat_local flag here.
16993 * ipa-inline-transform.c (inline_call): Fix updating of
16994 calls_comdat_local flag.
16995 * ipa-split.c (split_function): Use true instead of 1 to set the flag.
16996 * symtab.c (symtab_node::add_to_same_comdat_group): Update
16997 calls_comdat_local flag.
16999 2020-03-20 Richard Biener <rguenther@suse.de>
17001 * tree-vect-slp.c (vect_analyze_slp_instance): Dump SLP tree
17002 from the possibly modified root.
17004 2020-03-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
17005 Andre Vieira <andre.simoesdiasvieira@arm.com>
17006 Mihail Ionescu <mihail.ionescu@arm.com>
17008 * config/arm/arm_mve.h (vst1q_p_u8): Define macro.
17009 (vst1q_p_s8): Likewise.
17010 (vst2q_s8): Likewise.
17011 (vst2q_u8): Likewise.
17012 (vld1q_z_u8): Likewise.
17013 (vld1q_z_s8): Likewise.
17014 (vld2q_s8): Likewise.
17015 (vld2q_u8): Likewise.
17016 (vld4q_s8): Likewise.
17017 (vld4q_u8): Likewise.
17018 (vst1q_p_u16): Likewise.
17019 (vst1q_p_s16): Likewise.
17020 (vst2q_s16): Likewise.
17021 (vst2q_u16): Likewise.
17022 (vld1q_z_u16): Likewise.
17023 (vld1q_z_s16): Likewise.
17024 (vld2q_s16): Likewise.
17025 (vld2q_u16): Likewise.
17026 (vld4q_s16): Likewise.
17027 (vld4q_u16): Likewise.
17028 (vst1q_p_u32): Likewise.
17029 (vst1q_p_s32): Likewise.
17030 (vst2q_s32): Likewise.
17031 (vst2q_u32): Likewise.
17032 (vld1q_z_u32): Likewise.
17033 (vld1q_z_s32): Likewise.
17034 (vld2q_s32): Likewise.
17035 (vld2q_u32): Likewise.
17036 (vld4q_s32): Likewise.
17037 (vld4q_u32): Likewise.
17038 (vld4q_f16): Likewise.
17039 (vld2q_f16): Likewise.
17040 (vld1q_z_f16): Likewise.
17041 (vst2q_f16): Likewise.
17042 (vst1q_p_f16): Likewise.
17043 (vld4q_f32): Likewise.
17044 (vld2q_f32): Likewise.
17045 (vld1q_z_f32): Likewise.
17046 (vst2q_f32): Likewise.
17047 (vst1q_p_f32): Likewise.
17048 (__arm_vst1q_p_u8): Define intrinsic.
17049 (__arm_vst1q_p_s8): Likewise.
17050 (__arm_vst2q_s8): Likewise.
17051 (__arm_vst2q_u8): Likewise.
17052 (__arm_vld1q_z_u8): Likewise.
17053 (__arm_vld1q_z_s8): Likewise.
17054 (__arm_vld2q_s8): Likewise.
17055 (__arm_vld2q_u8): Likewise.
17056 (__arm_vld4q_s8): Likewise.
17057 (__arm_vld4q_u8): Likewise.
17058 (__arm_vst1q_p_u16): Likewise.
17059 (__arm_vst1q_p_s16): Likewise.
17060 (__arm_vst2q_s16): Likewise.
17061 (__arm_vst2q_u16): Likewise.
17062 (__arm_vld1q_z_u16): Likewise.
17063 (__arm_vld1q_z_s16): Likewise.
17064 (__arm_vld2q_s16): Likewise.
17065 (__arm_vld2q_u16): Likewise.
17066 (__arm_vld4q_s16): Likewise.
17067 (__arm_vld4q_u16): Likewise.
17068 (__arm_vst1q_p_u32): Likewise.
17069 (__arm_vst1q_p_s32): Likewise.
17070 (__arm_vst2q_s32): Likewise.
17071 (__arm_vst2q_u32): Likewise.
17072 (__arm_vld1q_z_u32): Likewise.
17073 (__arm_vld1q_z_s32): Likewise.
17074 (__arm_vld2q_s32): Likewise.
17075 (__arm_vld2q_u32): Likewise.
17076 (__arm_vld4q_s32): Likewise.
17077 (__arm_vld4q_u32): Likewise.
17078 (__arm_vld4q_f16): Likewise.
17079 (__arm_vld2q_f16): Likewise.
17080 (__arm_vld1q_z_f16): Likewise.
17081 (__arm_vst2q_f16): Likewise.
17082 (__arm_vst1q_p_f16): Likewise.
17083 (__arm_vld4q_f32): Likewise.
17084 (__arm_vld2q_f32): Likewise.
17085 (__arm_vld1q_z_f32): Likewise.
17086 (__arm_vst2q_f32): Likewise.
17087 (__arm_vst1q_p_f32): Likewise.
17088 (vld1q_z): Define polymorphic variant.
17091 (vst1q_p): Likewise.
17093 * config/arm/arm_mve_builtins.def (STORE1): Use builtin qualifier.
17095 * config/arm/mve.md (mve_vst2q<mode>): Define RTL pattern.
17096 (mve_vld2q<mode>): Likewise.
17097 (mve_vld4q<mode>): Likewise.
17099 2020-03-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
17100 Andre Vieira <andre.simoesdiasvieira@arm.com>
17101 Mihail Ionescu <mihail.ionescu@arm.com>
17103 * config/arm/arm-builtins.c (ARM_BUILTIN_GET_FPSCR_NZCVQC): Define.
17104 (ARM_BUILTIN_SET_FPSCR_NZCVQC): Likewise.
17105 (arm_init_mve_builtins): Add "__builtin_arm_get_fpscr_nzcvqc" and
17106 "__builtin_arm_set_fpscr_nzcvqc" to arm_builtin_decls array.
17107 (arm_expand_builtin): Define case ARM_BUILTIN_GET_FPSCR_NZCVQC
17108 and ARM_BUILTIN_SET_FPSCR_NZCVQC.
17109 * config/arm/arm_mve.h (vadciq_s32): Define macro.
17110 (vadciq_u32): Likewise.
17111 (vadciq_m_s32): Likewise.
17112 (vadciq_m_u32): Likewise.
17113 (vadcq_s32): Likewise.
17114 (vadcq_u32): Likewise.
17115 (vadcq_m_s32): Likewise.
17116 (vadcq_m_u32): Likewise.
17117 (vsbciq_s32): Likewise.
17118 (vsbciq_u32): Likewise.
17119 (vsbciq_m_s32): Likewise.
17120 (vsbciq_m_u32): Likewise.
17121 (vsbcq_s32): Likewise.
17122 (vsbcq_u32): Likewise.
17123 (vsbcq_m_s32): Likewise.
17124 (vsbcq_m_u32): Likewise.
17125 (__arm_vadciq_s32): Define intrinsic.
17126 (__arm_vadciq_u32): Likewise.
17127 (__arm_vadciq_m_s32): Likewise.
17128 (__arm_vadciq_m_u32): Likewise.
17129 (__arm_vadcq_s32): Likewise.
17130 (__arm_vadcq_u32): Likewise.
17131 (__arm_vadcq_m_s32): Likewise.
17132 (__arm_vadcq_m_u32): Likewise.
17133 (__arm_vsbciq_s32): Likewise.
17134 (__arm_vsbciq_u32): Likewise.
17135 (__arm_vsbciq_m_s32): Likewise.
17136 (__arm_vsbciq_m_u32): Likewise.
17137 (__arm_vsbcq_s32): Likewise.
17138 (__arm_vsbcq_u32): Likewise.
17139 (__arm_vsbcq_m_s32): Likewise.
17140 (__arm_vsbcq_m_u32): Likewise.
17141 (vadciq_m): Define polymorphic variant.
17142 (vadciq): Likewise.
17143 (vadcq_m): Likewise.
17145 (vsbciq_m): Likewise.
17146 (vsbciq): Likewise.
17147 (vsbcq_m): Likewise.
17149 * config/arm/arm_mve_builtins.def (BINOP_NONE_NONE_NONE): Use builtin
17151 (BINOP_UNONE_UNONE_UNONE): Likewise.
17152 (QUADOP_NONE_NONE_NONE_NONE_UNONE): Likewise.
17153 (QUADOP_UNONE_UNONE_UNONE_UNONE_UNONE): Likewise.
17154 * config/arm/mve.md (VADCIQ): Define iterator.
17155 (VADCIQ_M): Likewise.
17157 (VSBCQ_M): Likewise.
17158 (VSBCIQ): Likewise.
17159 (VSBCIQ_M): Likewise.
17161 (VADCQ_M): Likewise.
17162 (mve_vadciq_m_<supf>v4si): Define RTL pattern.
17163 (mve_vadciq_<supf>v4si): Likewise.
17164 (mve_vadcq_m_<supf>v4si): Likewise.
17165 (mve_vadcq_<supf>v4si): Likewise.
17166 (mve_vsbciq_m_<supf>v4si): Likewise.
17167 (mve_vsbciq_<supf>v4si): Likewise.
17168 (mve_vsbcq_m_<supf>v4si): Likewise.
17169 (mve_vsbcq_<supf>v4si): Likewise.
17170 (get_fpscr_nzcvqc): Define isns.
17171 (set_fpscr_nzcvqc): Define isns.
17172 * config/arm/unspecs.md (UNSPEC_GET_FPSCR_NZCVQC): Define.
17173 (UNSPEC_SET_FPSCR_NZCVQC): Define.
17175 2020-03-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
17177 * config/arm/arm_mve.h (vddupq_x_n_u8): Define macro.
17178 (vddupq_x_n_u16): Likewise.
17179 (vddupq_x_n_u32): Likewise.
17180 (vddupq_x_wb_u8): Likewise.
17181 (vddupq_x_wb_u16): Likewise.
17182 (vddupq_x_wb_u32): Likewise.
17183 (vdwdupq_x_n_u8): Likewise.
17184 (vdwdupq_x_n_u16): Likewise.
17185 (vdwdupq_x_n_u32): Likewise.
17186 (vdwdupq_x_wb_u8): Likewise.
17187 (vdwdupq_x_wb_u16): Likewise.
17188 (vdwdupq_x_wb_u32): Likewise.
17189 (vidupq_x_n_u8): Likewise.
17190 (vidupq_x_n_u16): Likewise.
17191 (vidupq_x_n_u32): Likewise.
17192 (vidupq_x_wb_u8): Likewise.
17193 (vidupq_x_wb_u16): Likewise.
17194 (vidupq_x_wb_u32): Likewise.
17195 (viwdupq_x_n_u8): Likewise.
17196 (viwdupq_x_n_u16): Likewise.
17197 (viwdupq_x_n_u32): Likewise.
17198 (viwdupq_x_wb_u8): Likewise.
17199 (viwdupq_x_wb_u16): Likewise.
17200 (viwdupq_x_wb_u32): Likewise.
17201 (vdupq_x_n_s8): Likewise.
17202 (vdupq_x_n_s16): Likewise.
17203 (vdupq_x_n_s32): Likewise.
17204 (vdupq_x_n_u8): Likewise.
17205 (vdupq_x_n_u16): Likewise.
17206 (vdupq_x_n_u32): Likewise.
17207 (vminq_x_s8): Likewise.
17208 (vminq_x_s16): Likewise.
17209 (vminq_x_s32): Likewise.
17210 (vminq_x_u8): Likewise.
17211 (vminq_x_u16): Likewise.
17212 (vminq_x_u32): Likewise.
17213 (vmaxq_x_s8): Likewise.
17214 (vmaxq_x_s16): Likewise.
17215 (vmaxq_x_s32): Likewise.
17216 (vmaxq_x_u8): Likewise.
17217 (vmaxq_x_u16): Likewise.
17218 (vmaxq_x_u32): Likewise.
17219 (vabdq_x_s8): Likewise.
17220 (vabdq_x_s16): Likewise.
17221 (vabdq_x_s32): Likewise.
17222 (vabdq_x_u8): Likewise.
17223 (vabdq_x_u16): Likewise.
17224 (vabdq_x_u32): Likewise.
17225 (vabsq_x_s8): Likewise.
17226 (vabsq_x_s16): Likewise.
17227 (vabsq_x_s32): Likewise.
17228 (vaddq_x_s8): Likewise.
17229 (vaddq_x_s16): Likewise.
17230 (vaddq_x_s32): Likewise.
17231 (vaddq_x_n_s8): Likewise.
17232 (vaddq_x_n_s16): Likewise.
17233 (vaddq_x_n_s32): Likewise.
17234 (vaddq_x_u8): Likewise.
17235 (vaddq_x_u16): Likewise.
17236 (vaddq_x_u32): Likewise.
17237 (vaddq_x_n_u8): Likewise.
17238 (vaddq_x_n_u16): Likewise.
17239 (vaddq_x_n_u32): Likewise.
17240 (vclsq_x_s8): Likewise.
17241 (vclsq_x_s16): Likewise.
17242 (vclsq_x_s32): Likewise.
17243 (vclzq_x_s8): Likewise.
17244 (vclzq_x_s16): Likewise.
17245 (vclzq_x_s32): Likewise.
17246 (vclzq_x_u8): Likewise.
17247 (vclzq_x_u16): Likewise.
17248 (vclzq_x_u32): Likewise.
17249 (vnegq_x_s8): Likewise.
17250 (vnegq_x_s16): Likewise.
17251 (vnegq_x_s32): Likewise.
17252 (vmulhq_x_s8): Likewise.
17253 (vmulhq_x_s16): Likewise.
17254 (vmulhq_x_s32): Likewise.
17255 (vmulhq_x_u8): Likewise.
17256 (vmulhq_x_u16): Likewise.
17257 (vmulhq_x_u32): Likewise.
17258 (vmullbq_poly_x_p8): Likewise.
17259 (vmullbq_poly_x_p16): Likewise.
17260 (vmullbq_int_x_s8): Likewise.
17261 (vmullbq_int_x_s16): Likewise.
17262 (vmullbq_int_x_s32): Likewise.
17263 (vmullbq_int_x_u8): Likewise.
17264 (vmullbq_int_x_u16): Likewise.
17265 (vmullbq_int_x_u32): Likewise.
17266 (vmulltq_poly_x_p8): Likewise.
17267 (vmulltq_poly_x_p16): Likewise.
17268 (vmulltq_int_x_s8): Likewise.
17269 (vmulltq_int_x_s16): Likewise.
17270 (vmulltq_int_x_s32): Likewise.
17271 (vmulltq_int_x_u8): Likewise.
17272 (vmulltq_int_x_u16): Likewise.
17273 (vmulltq_int_x_u32): Likewise.
17274 (vmulq_x_s8): Likewise.
17275 (vmulq_x_s16): Likewise.
17276 (vmulq_x_s32): Likewise.
17277 (vmulq_x_n_s8): Likewise.
17278 (vmulq_x_n_s16): Likewise.
17279 (vmulq_x_n_s32): Likewise.
17280 (vmulq_x_u8): Likewise.
17281 (vmulq_x_u16): Likewise.
17282 (vmulq_x_u32): Likewise.
17283 (vmulq_x_n_u8): Likewise.
17284 (vmulq_x_n_u16): Likewise.
17285 (vmulq_x_n_u32): Likewise.
17286 (vsubq_x_s8): Likewise.
17287 (vsubq_x_s16): Likewise.
17288 (vsubq_x_s32): Likewise.
17289 (vsubq_x_n_s8): Likewise.
17290 (vsubq_x_n_s16): Likewise.
17291 (vsubq_x_n_s32): Likewise.
17292 (vsubq_x_u8): Likewise.
17293 (vsubq_x_u16): Likewise.
17294 (vsubq_x_u32): Likewise.
17295 (vsubq_x_n_u8): Likewise.
17296 (vsubq_x_n_u16): Likewise.
17297 (vsubq_x_n_u32): Likewise.
17298 (vcaddq_rot90_x_s8): Likewise.
17299 (vcaddq_rot90_x_s16): Likewise.
17300 (vcaddq_rot90_x_s32): Likewise.
17301 (vcaddq_rot90_x_u8): Likewise.
17302 (vcaddq_rot90_x_u16): Likewise.
17303 (vcaddq_rot90_x_u32): Likewise.
17304 (vcaddq_rot270_x_s8): Likewise.
17305 (vcaddq_rot270_x_s16): Likewise.
17306 (vcaddq_rot270_x_s32): Likewise.
17307 (vcaddq_rot270_x_u8): Likewise.
17308 (vcaddq_rot270_x_u16): Likewise.
17309 (vcaddq_rot270_x_u32): Likewise.
17310 (vhaddq_x_n_s8): Likewise.
17311 (vhaddq_x_n_s16): Likewise.
17312 (vhaddq_x_n_s32): Likewise.
17313 (vhaddq_x_n_u8): Likewise.
17314 (vhaddq_x_n_u16): Likewise.
17315 (vhaddq_x_n_u32): Likewise.
17316 (vhaddq_x_s8): Likewise.
17317 (vhaddq_x_s16): Likewise.
17318 (vhaddq_x_s32): Likewise.
17319 (vhaddq_x_u8): Likewise.
17320 (vhaddq_x_u16): Likewise.
17321 (vhaddq_x_u32): Likewise.
17322 (vhcaddq_rot90_x_s8): Likewise.
17323 (vhcaddq_rot90_x_s16): Likewise.
17324 (vhcaddq_rot90_x_s32): Likewise.
17325 (vhcaddq_rot270_x_s8): Likewise.
17326 (vhcaddq_rot270_x_s16): Likewise.
17327 (vhcaddq_rot270_x_s32): Likewise.
17328 (vhsubq_x_n_s8): Likewise.
17329 (vhsubq_x_n_s16): Likewise.
17330 (vhsubq_x_n_s32): Likewise.
17331 (vhsubq_x_n_u8): Likewise.
17332 (vhsubq_x_n_u16): Likewise.
17333 (vhsubq_x_n_u32): Likewise.
17334 (vhsubq_x_s8): Likewise.
17335 (vhsubq_x_s16): Likewise.
17336 (vhsubq_x_s32): Likewise.
17337 (vhsubq_x_u8): Likewise.
17338 (vhsubq_x_u16): Likewise.
17339 (vhsubq_x_u32): Likewise.
17340 (vrhaddq_x_s8): Likewise.
17341 (vrhaddq_x_s16): Likewise.
17342 (vrhaddq_x_s32): Likewise.
17343 (vrhaddq_x_u8): Likewise.
17344 (vrhaddq_x_u16): Likewise.
17345 (vrhaddq_x_u32): Likewise.
17346 (vrmulhq_x_s8): Likewise.
17347 (vrmulhq_x_s16): Likewise.
17348 (vrmulhq_x_s32): Likewise.
17349 (vrmulhq_x_u8): Likewise.
17350 (vrmulhq_x_u16): Likewise.
17351 (vrmulhq_x_u32): Likewise.
17352 (vandq_x_s8): Likewise.
17353 (vandq_x_s16): Likewise.
17354 (vandq_x_s32): Likewise.
17355 (vandq_x_u8): Likewise.
17356 (vandq_x_u16): Likewise.
17357 (vandq_x_u32): Likewise.
17358 (vbicq_x_s8): Likewise.
17359 (vbicq_x_s16): Likewise.
17360 (vbicq_x_s32): Likewise.
17361 (vbicq_x_u8): Likewise.
17362 (vbicq_x_u16): Likewise.
17363 (vbicq_x_u32): Likewise.
17364 (vbrsrq_x_n_s8): Likewise.
17365 (vbrsrq_x_n_s16): Likewise.
17366 (vbrsrq_x_n_s32): Likewise.
17367 (vbrsrq_x_n_u8): Likewise.
17368 (vbrsrq_x_n_u16): Likewise.
17369 (vbrsrq_x_n_u32): Likewise.
17370 (veorq_x_s8): Likewise.
17371 (veorq_x_s16): Likewise.
17372 (veorq_x_s32): Likewise.
17373 (veorq_x_u8): Likewise.
17374 (veorq_x_u16): Likewise.
17375 (veorq_x_u32): Likewise.
17376 (vmovlbq_x_s8): Likewise.
17377 (vmovlbq_x_s16): Likewise.
17378 (vmovlbq_x_u8): Likewise.
17379 (vmovlbq_x_u16): Likewise.
17380 (vmovltq_x_s8): Likewise.
17381 (vmovltq_x_s16): Likewise.
17382 (vmovltq_x_u8): Likewise.
17383 (vmovltq_x_u16): Likewise.
17384 (vmvnq_x_s8): Likewise.
17385 (vmvnq_x_s16): Likewise.
17386 (vmvnq_x_s32): Likewise.
17387 (vmvnq_x_u8): Likewise.
17388 (vmvnq_x_u16): Likewise.
17389 (vmvnq_x_u32): Likewise.
17390 (vmvnq_x_n_s16): Likewise.
17391 (vmvnq_x_n_s32): Likewise.
17392 (vmvnq_x_n_u16): Likewise.
17393 (vmvnq_x_n_u32): Likewise.
17394 (vornq_x_s8): Likewise.
17395 (vornq_x_s16): Likewise.
17396 (vornq_x_s32): Likewise.
17397 (vornq_x_u8): Likewise.
17398 (vornq_x_u16): Likewise.
17399 (vornq_x_u32): Likewise.
17400 (vorrq_x_s8): Likewise.
17401 (vorrq_x_s16): Likewise.
17402 (vorrq_x_s32): Likewise.
17403 (vorrq_x_u8): Likewise.
17404 (vorrq_x_u16): Likewise.
17405 (vorrq_x_u32): Likewise.
17406 (vrev16q_x_s8): Likewise.
17407 (vrev16q_x_u8): Likewise.
17408 (vrev32q_x_s8): Likewise.
17409 (vrev32q_x_s16): Likewise.
17410 (vrev32q_x_u8): Likewise.
17411 (vrev32q_x_u16): Likewise.
17412 (vrev64q_x_s8): Likewise.
17413 (vrev64q_x_s16): Likewise.
17414 (vrev64q_x_s32): Likewise.
17415 (vrev64q_x_u8): Likewise.
17416 (vrev64q_x_u16): Likewise.
17417 (vrev64q_x_u32): Likewise.
17418 (vrshlq_x_s8): Likewise.
17419 (vrshlq_x_s16): Likewise.
17420 (vrshlq_x_s32): Likewise.
17421 (vrshlq_x_u8): Likewise.
17422 (vrshlq_x_u16): Likewise.
17423 (vrshlq_x_u32): Likewise.
17424 (vshllbq_x_n_s8): Likewise.
17425 (vshllbq_x_n_s16): Likewise.
17426 (vshllbq_x_n_u8): Likewise.
17427 (vshllbq_x_n_u16): Likewise.
17428 (vshlltq_x_n_s8): Likewise.
17429 (vshlltq_x_n_s16): Likewise.
17430 (vshlltq_x_n_u8): Likewise.
17431 (vshlltq_x_n_u16): Likewise.
17432 (vshlq_x_s8): Likewise.
17433 (vshlq_x_s16): Likewise.
17434 (vshlq_x_s32): Likewise.
17435 (vshlq_x_u8): Likewise.
17436 (vshlq_x_u16): Likewise.
17437 (vshlq_x_u32): Likewise.
17438 (vshlq_x_n_s8): Likewise.
17439 (vshlq_x_n_s16): Likewise.
17440 (vshlq_x_n_s32): Likewise.
17441 (vshlq_x_n_u8): Likewise.
17442 (vshlq_x_n_u16): Likewise.
17443 (vshlq_x_n_u32): Likewise.
17444 (vrshrq_x_n_s8): Likewise.
17445 (vrshrq_x_n_s16): Likewise.
17446 (vrshrq_x_n_s32): Likewise.
17447 (vrshrq_x_n_u8): Likewise.
17448 (vrshrq_x_n_u16): Likewise.
17449 (vrshrq_x_n_u32): Likewise.
17450 (vshrq_x_n_s8): Likewise.
17451 (vshrq_x_n_s16): Likewise.
17452 (vshrq_x_n_s32): Likewise.
17453 (vshrq_x_n_u8): Likewise.
17454 (vshrq_x_n_u16): Likewise.
17455 (vshrq_x_n_u32): Likewise.
17456 (vdupq_x_n_f16): Likewise.
17457 (vdupq_x_n_f32): Likewise.
17458 (vminnmq_x_f16): Likewise.
17459 (vminnmq_x_f32): Likewise.
17460 (vmaxnmq_x_f16): Likewise.
17461 (vmaxnmq_x_f32): Likewise.
17462 (vabdq_x_f16): Likewise.
17463 (vabdq_x_f32): Likewise.
17464 (vabsq_x_f16): Likewise.
17465 (vabsq_x_f32): Likewise.
17466 (vaddq_x_f16): Likewise.
17467 (vaddq_x_f32): Likewise.
17468 (vaddq_x_n_f16): Likewise.
17469 (vaddq_x_n_f32): Likewise.
17470 (vnegq_x_f16): Likewise.
17471 (vnegq_x_f32): Likewise.
17472 (vmulq_x_f16): Likewise.
17473 (vmulq_x_f32): Likewise.
17474 (vmulq_x_n_f16): Likewise.
17475 (vmulq_x_n_f32): Likewise.
17476 (vsubq_x_f16): Likewise.
17477 (vsubq_x_f32): Likewise.
17478 (vsubq_x_n_f16): Likewise.
17479 (vsubq_x_n_f32): Likewise.
17480 (vcaddq_rot90_x_f16): Likewise.
17481 (vcaddq_rot90_x_f32): Likewise.
17482 (vcaddq_rot270_x_f16): Likewise.
17483 (vcaddq_rot270_x_f32): Likewise.
17484 (vcmulq_x_f16): Likewise.
17485 (vcmulq_x_f32): Likewise.
17486 (vcmulq_rot90_x_f16): Likewise.
17487 (vcmulq_rot90_x_f32): Likewise.
17488 (vcmulq_rot180_x_f16): Likewise.
17489 (vcmulq_rot180_x_f32): Likewise.
17490 (vcmulq_rot270_x_f16): Likewise.
17491 (vcmulq_rot270_x_f32): Likewise.
17492 (vcvtaq_x_s16_f16): Likewise.
17493 (vcvtaq_x_s32_f32): Likewise.
17494 (vcvtaq_x_u16_f16): Likewise.
17495 (vcvtaq_x_u32_f32): Likewise.
17496 (vcvtnq_x_s16_f16): Likewise.
17497 (vcvtnq_x_s32_f32): Likewise.
17498 (vcvtnq_x_u16_f16): Likewise.
17499 (vcvtnq_x_u32_f32): Likewise.
17500 (vcvtpq_x_s16_f16): Likewise.
17501 (vcvtpq_x_s32_f32): Likewise.
17502 (vcvtpq_x_u16_f16): Likewise.
17503 (vcvtpq_x_u32_f32): Likewise.
17504 (vcvtmq_x_s16_f16): Likewise.
17505 (vcvtmq_x_s32_f32): Likewise.
17506 (vcvtmq_x_u16_f16): Likewise.
17507 (vcvtmq_x_u32_f32): Likewise.
17508 (vcvtbq_x_f32_f16): Likewise.
17509 (vcvttq_x_f32_f16): Likewise.
17510 (vcvtq_x_f16_u16): Likewise.
17511 (vcvtq_x_f16_s16): Likewise.
17512 (vcvtq_x_f32_s32): Likewise.
17513 (vcvtq_x_f32_u32): Likewise.
17514 (vcvtq_x_n_f16_s16): Likewise.
17515 (vcvtq_x_n_f16_u16): Likewise.
17516 (vcvtq_x_n_f32_s32): Likewise.
17517 (vcvtq_x_n_f32_u32): Likewise.
17518 (vcvtq_x_s16_f16): Likewise.
17519 (vcvtq_x_s32_f32): Likewise.
17520 (vcvtq_x_u16_f16): Likewise.
17521 (vcvtq_x_u32_f32): Likewise.
17522 (vcvtq_x_n_s16_f16): Likewise.
17523 (vcvtq_x_n_s32_f32): Likewise.
17524 (vcvtq_x_n_u16_f16): Likewise.
17525 (vcvtq_x_n_u32_f32): Likewise.
17526 (vrndq_x_f16): Likewise.
17527 (vrndq_x_f32): Likewise.
17528 (vrndnq_x_f16): Likewise.
17529 (vrndnq_x_f32): Likewise.
17530 (vrndmq_x_f16): Likewise.
17531 (vrndmq_x_f32): Likewise.
17532 (vrndpq_x_f16): Likewise.
17533 (vrndpq_x_f32): Likewise.
17534 (vrndaq_x_f16): Likewise.
17535 (vrndaq_x_f32): Likewise.
17536 (vrndxq_x_f16): Likewise.
17537 (vrndxq_x_f32): Likewise.
17538 (vandq_x_f16): Likewise.
17539 (vandq_x_f32): Likewise.
17540 (vbicq_x_f16): Likewise.
17541 (vbicq_x_f32): Likewise.
17542 (vbrsrq_x_n_f16): Likewise.
17543 (vbrsrq_x_n_f32): Likewise.
17544 (veorq_x_f16): Likewise.
17545 (veorq_x_f32): Likewise.
17546 (vornq_x_f16): Likewise.
17547 (vornq_x_f32): Likewise.
17548 (vorrq_x_f16): Likewise.
17549 (vorrq_x_f32): Likewise.
17550 (vrev32q_x_f16): Likewise.
17551 (vrev64q_x_f16): Likewise.
17552 (vrev64q_x_f32): Likewise.
17553 (__arm_vddupq_x_n_u8): Define intrinsic.
17554 (__arm_vddupq_x_n_u16): Likewise.
17555 (__arm_vddupq_x_n_u32): Likewise.
17556 (__arm_vddupq_x_wb_u8): Likewise.
17557 (__arm_vddupq_x_wb_u16): Likewise.
17558 (__arm_vddupq_x_wb_u32): Likewise.
17559 (__arm_vdwdupq_x_n_u8): Likewise.
17560 (__arm_vdwdupq_x_n_u16): Likewise.
17561 (__arm_vdwdupq_x_n_u32): Likewise.
17562 (__arm_vdwdupq_x_wb_u8): Likewise.
17563 (__arm_vdwdupq_x_wb_u16): Likewise.
17564 (__arm_vdwdupq_x_wb_u32): Likewise.
17565 (__arm_vidupq_x_n_u8): Likewise.
17566 (__arm_vidupq_x_n_u16): Likewise.
17567 (__arm_vidupq_x_n_u32): Likewise.
17568 (__arm_vidupq_x_wb_u8): Likewise.
17569 (__arm_vidupq_x_wb_u16): Likewise.
17570 (__arm_vidupq_x_wb_u32): Likewise.
17571 (__arm_viwdupq_x_n_u8): Likewise.
17572 (__arm_viwdupq_x_n_u16): Likewise.
17573 (__arm_viwdupq_x_n_u32): Likewise.
17574 (__arm_viwdupq_x_wb_u8): Likewise.
17575 (__arm_viwdupq_x_wb_u16): Likewise.
17576 (__arm_viwdupq_x_wb_u32): Likewise.
17577 (__arm_vdupq_x_n_s8): Likewise.
17578 (__arm_vdupq_x_n_s16): Likewise.
17579 (__arm_vdupq_x_n_s32): Likewise.
17580 (__arm_vdupq_x_n_u8): Likewise.
17581 (__arm_vdupq_x_n_u16): Likewise.
17582 (__arm_vdupq_x_n_u32): Likewise.
17583 (__arm_vminq_x_s8): Likewise.
17584 (__arm_vminq_x_s16): Likewise.
17585 (__arm_vminq_x_s32): Likewise.
17586 (__arm_vminq_x_u8): Likewise.
17587 (__arm_vminq_x_u16): Likewise.
17588 (__arm_vminq_x_u32): Likewise.
17589 (__arm_vmaxq_x_s8): Likewise.
17590 (__arm_vmaxq_x_s16): Likewise.
17591 (__arm_vmaxq_x_s32): Likewise.
17592 (__arm_vmaxq_x_u8): Likewise.
17593 (__arm_vmaxq_x_u16): Likewise.
17594 (__arm_vmaxq_x_u32): Likewise.
17595 (__arm_vabdq_x_s8): Likewise.
17596 (__arm_vabdq_x_s16): Likewise.
17597 (__arm_vabdq_x_s32): Likewise.
17598 (__arm_vabdq_x_u8): Likewise.
17599 (__arm_vabdq_x_u16): Likewise.
17600 (__arm_vabdq_x_u32): Likewise.
17601 (__arm_vabsq_x_s8): Likewise.
17602 (__arm_vabsq_x_s16): Likewise.
17603 (__arm_vabsq_x_s32): Likewise.
17604 (__arm_vaddq_x_s8): Likewise.
17605 (__arm_vaddq_x_s16): Likewise.
17606 (__arm_vaddq_x_s32): Likewise.
17607 (__arm_vaddq_x_n_s8): Likewise.
17608 (__arm_vaddq_x_n_s16): Likewise.
17609 (__arm_vaddq_x_n_s32): Likewise.
17610 (__arm_vaddq_x_u8): Likewise.
17611 (__arm_vaddq_x_u16): Likewise.
17612 (__arm_vaddq_x_u32): Likewise.
17613 (__arm_vaddq_x_n_u8): Likewise.
17614 (__arm_vaddq_x_n_u16): Likewise.
17615 (__arm_vaddq_x_n_u32): Likewise.
17616 (__arm_vclsq_x_s8): Likewise.
17617 (__arm_vclsq_x_s16): Likewise.
17618 (__arm_vclsq_x_s32): Likewise.
17619 (__arm_vclzq_x_s8): Likewise.
17620 (__arm_vclzq_x_s16): Likewise.
17621 (__arm_vclzq_x_s32): Likewise.
17622 (__arm_vclzq_x_u8): Likewise.
17623 (__arm_vclzq_x_u16): Likewise.
17624 (__arm_vclzq_x_u32): Likewise.
17625 (__arm_vnegq_x_s8): Likewise.
17626 (__arm_vnegq_x_s16): Likewise.
17627 (__arm_vnegq_x_s32): Likewise.
17628 (__arm_vmulhq_x_s8): Likewise.
17629 (__arm_vmulhq_x_s16): Likewise.
17630 (__arm_vmulhq_x_s32): Likewise.
17631 (__arm_vmulhq_x_u8): Likewise.
17632 (__arm_vmulhq_x_u16): Likewise.
17633 (__arm_vmulhq_x_u32): Likewise.
17634 (__arm_vmullbq_poly_x_p8): Likewise.
17635 (__arm_vmullbq_poly_x_p16): Likewise.
17636 (__arm_vmullbq_int_x_s8): Likewise.
17637 (__arm_vmullbq_int_x_s16): Likewise.
17638 (__arm_vmullbq_int_x_s32): Likewise.
17639 (__arm_vmullbq_int_x_u8): Likewise.
17640 (__arm_vmullbq_int_x_u16): Likewise.
17641 (__arm_vmullbq_int_x_u32): Likewise.
17642 (__arm_vmulltq_poly_x_p8): Likewise.
17643 (__arm_vmulltq_poly_x_p16): Likewise.
17644 (__arm_vmulltq_int_x_s8): Likewise.
17645 (__arm_vmulltq_int_x_s16): Likewise.
17646 (__arm_vmulltq_int_x_s32): Likewise.
17647 (__arm_vmulltq_int_x_u8): Likewise.
17648 (__arm_vmulltq_int_x_u16): Likewise.
17649 (__arm_vmulltq_int_x_u32): Likewise.
17650 (__arm_vmulq_x_s8): Likewise.
17651 (__arm_vmulq_x_s16): Likewise.
17652 (__arm_vmulq_x_s32): Likewise.
17653 (__arm_vmulq_x_n_s8): Likewise.
17654 (__arm_vmulq_x_n_s16): Likewise.
17655 (__arm_vmulq_x_n_s32): Likewise.
17656 (__arm_vmulq_x_u8): Likewise.
17657 (__arm_vmulq_x_u16): Likewise.
17658 (__arm_vmulq_x_u32): Likewise.
17659 (__arm_vmulq_x_n_u8): Likewise.
17660 (__arm_vmulq_x_n_u16): Likewise.
17661 (__arm_vmulq_x_n_u32): Likewise.
17662 (__arm_vsubq_x_s8): Likewise.
17663 (__arm_vsubq_x_s16): Likewise.
17664 (__arm_vsubq_x_s32): Likewise.
17665 (__arm_vsubq_x_n_s8): Likewise.
17666 (__arm_vsubq_x_n_s16): Likewise.
17667 (__arm_vsubq_x_n_s32): Likewise.
17668 (__arm_vsubq_x_u8): Likewise.
17669 (__arm_vsubq_x_u16): Likewise.
17670 (__arm_vsubq_x_u32): Likewise.
17671 (__arm_vsubq_x_n_u8): Likewise.
17672 (__arm_vsubq_x_n_u16): Likewise.
17673 (__arm_vsubq_x_n_u32): Likewise.
17674 (__arm_vcaddq_rot90_x_s8): Likewise.
17675 (__arm_vcaddq_rot90_x_s16): Likewise.
17676 (__arm_vcaddq_rot90_x_s32): Likewise.
17677 (__arm_vcaddq_rot90_x_u8): Likewise.
17678 (__arm_vcaddq_rot90_x_u16): Likewise.
17679 (__arm_vcaddq_rot90_x_u32): Likewise.
17680 (__arm_vcaddq_rot270_x_s8): Likewise.
17681 (__arm_vcaddq_rot270_x_s16): Likewise.
17682 (__arm_vcaddq_rot270_x_s32): Likewise.
17683 (__arm_vcaddq_rot270_x_u8): Likewise.
17684 (__arm_vcaddq_rot270_x_u16): Likewise.
17685 (__arm_vcaddq_rot270_x_u32): Likewise.
17686 (__arm_vhaddq_x_n_s8): Likewise.
17687 (__arm_vhaddq_x_n_s16): Likewise.
17688 (__arm_vhaddq_x_n_s32): Likewise.
17689 (__arm_vhaddq_x_n_u8): Likewise.
17690 (__arm_vhaddq_x_n_u16): Likewise.
17691 (__arm_vhaddq_x_n_u32): Likewise.
17692 (__arm_vhaddq_x_s8): Likewise.
17693 (__arm_vhaddq_x_s16): Likewise.
17694 (__arm_vhaddq_x_s32): Likewise.
17695 (__arm_vhaddq_x_u8): Likewise.
17696 (__arm_vhaddq_x_u16): Likewise.
17697 (__arm_vhaddq_x_u32): Likewise.
17698 (__arm_vhcaddq_rot90_x_s8): Likewise.
17699 (__arm_vhcaddq_rot90_x_s16): Likewise.
17700 (__arm_vhcaddq_rot90_x_s32): Likewise.
17701 (__arm_vhcaddq_rot270_x_s8): Likewise.
17702 (__arm_vhcaddq_rot270_x_s16): Likewise.
17703 (__arm_vhcaddq_rot270_x_s32): Likewise.
17704 (__arm_vhsubq_x_n_s8): Likewise.
17705 (__arm_vhsubq_x_n_s16): Likewise.
17706 (__arm_vhsubq_x_n_s32): Likewise.
17707 (__arm_vhsubq_x_n_u8): Likewise.
17708 (__arm_vhsubq_x_n_u16): Likewise.
17709 (__arm_vhsubq_x_n_u32): Likewise.
17710 (__arm_vhsubq_x_s8): Likewise.
17711 (__arm_vhsubq_x_s16): Likewise.
17712 (__arm_vhsubq_x_s32): Likewise.
17713 (__arm_vhsubq_x_u8): Likewise.
17714 (__arm_vhsubq_x_u16): Likewise.
17715 (__arm_vhsubq_x_u32): Likewise.
17716 (__arm_vrhaddq_x_s8): Likewise.
17717 (__arm_vrhaddq_x_s16): Likewise.
17718 (__arm_vrhaddq_x_s32): Likewise.
17719 (__arm_vrhaddq_x_u8): Likewise.
17720 (__arm_vrhaddq_x_u16): Likewise.
17721 (__arm_vrhaddq_x_u32): Likewise.
17722 (__arm_vrmulhq_x_s8): Likewise.
17723 (__arm_vrmulhq_x_s16): Likewise.
17724 (__arm_vrmulhq_x_s32): Likewise.
17725 (__arm_vrmulhq_x_u8): Likewise.
17726 (__arm_vrmulhq_x_u16): Likewise.
17727 (__arm_vrmulhq_x_u32): Likewise.
17728 (__arm_vandq_x_s8): Likewise.
17729 (__arm_vandq_x_s16): Likewise.
17730 (__arm_vandq_x_s32): Likewise.
17731 (__arm_vandq_x_u8): Likewise.
17732 (__arm_vandq_x_u16): Likewise.
17733 (__arm_vandq_x_u32): Likewise.
17734 (__arm_vbicq_x_s8): Likewise.
17735 (__arm_vbicq_x_s16): Likewise.
17736 (__arm_vbicq_x_s32): Likewise.
17737 (__arm_vbicq_x_u8): Likewise.
17738 (__arm_vbicq_x_u16): Likewise.
17739 (__arm_vbicq_x_u32): Likewise.
17740 (__arm_vbrsrq_x_n_s8): Likewise.
17741 (__arm_vbrsrq_x_n_s16): Likewise.
17742 (__arm_vbrsrq_x_n_s32): Likewise.
17743 (__arm_vbrsrq_x_n_u8): Likewise.
17744 (__arm_vbrsrq_x_n_u16): Likewise.
17745 (__arm_vbrsrq_x_n_u32): Likewise.
17746 (__arm_veorq_x_s8): Likewise.
17747 (__arm_veorq_x_s16): Likewise.
17748 (__arm_veorq_x_s32): Likewise.
17749 (__arm_veorq_x_u8): Likewise.
17750 (__arm_veorq_x_u16): Likewise.
17751 (__arm_veorq_x_u32): Likewise.
17752 (__arm_vmovlbq_x_s8): Likewise.
17753 (__arm_vmovlbq_x_s16): Likewise.
17754 (__arm_vmovlbq_x_u8): Likewise.
17755 (__arm_vmovlbq_x_u16): Likewise.
17756 (__arm_vmovltq_x_s8): Likewise.
17757 (__arm_vmovltq_x_s16): Likewise.
17758 (__arm_vmovltq_x_u8): Likewise.
17759 (__arm_vmovltq_x_u16): Likewise.
17760 (__arm_vmvnq_x_s8): Likewise.
17761 (__arm_vmvnq_x_s16): Likewise.
17762 (__arm_vmvnq_x_s32): Likewise.
17763 (__arm_vmvnq_x_u8): Likewise.
17764 (__arm_vmvnq_x_u16): Likewise.
17765 (__arm_vmvnq_x_u32): Likewise.
17766 (__arm_vmvnq_x_n_s16): Likewise.
17767 (__arm_vmvnq_x_n_s32): Likewise.
17768 (__arm_vmvnq_x_n_u16): Likewise.
17769 (__arm_vmvnq_x_n_u32): Likewise.
17770 (__arm_vornq_x_s8): Likewise.
17771 (__arm_vornq_x_s16): Likewise.
17772 (__arm_vornq_x_s32): Likewise.
17773 (__arm_vornq_x_u8): Likewise.
17774 (__arm_vornq_x_u16): Likewise.
17775 (__arm_vornq_x_u32): Likewise.
17776 (__arm_vorrq_x_s8): Likewise.
17777 (__arm_vorrq_x_s16): Likewise.
17778 (__arm_vorrq_x_s32): Likewise.
17779 (__arm_vorrq_x_u8): Likewise.
17780 (__arm_vorrq_x_u16): Likewise.
17781 (__arm_vorrq_x_u32): Likewise.
17782 (__arm_vrev16q_x_s8): Likewise.
17783 (__arm_vrev16q_x_u8): Likewise.
17784 (__arm_vrev32q_x_s8): Likewise.
17785 (__arm_vrev32q_x_s16): Likewise.
17786 (__arm_vrev32q_x_u8): Likewise.
17787 (__arm_vrev32q_x_u16): Likewise.
17788 (__arm_vrev64q_x_s8): Likewise.
17789 (__arm_vrev64q_x_s16): Likewise.
17790 (__arm_vrev64q_x_s32): Likewise.
17791 (__arm_vrev64q_x_u8): Likewise.
17792 (__arm_vrev64q_x_u16): Likewise.
17793 (__arm_vrev64q_x_u32): Likewise.
17794 (__arm_vrshlq_x_s8): Likewise.
17795 (__arm_vrshlq_x_s16): Likewise.
17796 (__arm_vrshlq_x_s32): Likewise.
17797 (__arm_vrshlq_x_u8): Likewise.
17798 (__arm_vrshlq_x_u16): Likewise.
17799 (__arm_vrshlq_x_u32): Likewise.
17800 (__arm_vshllbq_x_n_s8): Likewise.
17801 (__arm_vshllbq_x_n_s16): Likewise.
17802 (__arm_vshllbq_x_n_u8): Likewise.
17803 (__arm_vshllbq_x_n_u16): Likewise.
17804 (__arm_vshlltq_x_n_s8): Likewise.
17805 (__arm_vshlltq_x_n_s16): Likewise.
17806 (__arm_vshlltq_x_n_u8): Likewise.
17807 (__arm_vshlltq_x_n_u16): Likewise.
17808 (__arm_vshlq_x_s8): Likewise.
17809 (__arm_vshlq_x_s16): Likewise.
17810 (__arm_vshlq_x_s32): Likewise.
17811 (__arm_vshlq_x_u8): Likewise.
17812 (__arm_vshlq_x_u16): Likewise.
17813 (__arm_vshlq_x_u32): Likewise.
17814 (__arm_vshlq_x_n_s8): Likewise.
17815 (__arm_vshlq_x_n_s16): Likewise.
17816 (__arm_vshlq_x_n_s32): Likewise.
17817 (__arm_vshlq_x_n_u8): Likewise.
17818 (__arm_vshlq_x_n_u16): Likewise.
17819 (__arm_vshlq_x_n_u32): Likewise.
17820 (__arm_vrshrq_x_n_s8): Likewise.
17821 (__arm_vrshrq_x_n_s16): Likewise.
17822 (__arm_vrshrq_x_n_s32): Likewise.
17823 (__arm_vrshrq_x_n_u8): Likewise.
17824 (__arm_vrshrq_x_n_u16): Likewise.
17825 (__arm_vrshrq_x_n_u32): Likewise.
17826 (__arm_vshrq_x_n_s8): Likewise.
17827 (__arm_vshrq_x_n_s16): Likewise.
17828 (__arm_vshrq_x_n_s32): Likewise.
17829 (__arm_vshrq_x_n_u8): Likewise.
17830 (__arm_vshrq_x_n_u16): Likewise.
17831 (__arm_vshrq_x_n_u32): Likewise.
17832 (__arm_vdupq_x_n_f16): Likewise.
17833 (__arm_vdupq_x_n_f32): Likewise.
17834 (__arm_vminnmq_x_f16): Likewise.
17835 (__arm_vminnmq_x_f32): Likewise.
17836 (__arm_vmaxnmq_x_f16): Likewise.
17837 (__arm_vmaxnmq_x_f32): Likewise.
17838 (__arm_vabdq_x_f16): Likewise.
17839 (__arm_vabdq_x_f32): Likewise.
17840 (__arm_vabsq_x_f16): Likewise.
17841 (__arm_vabsq_x_f32): Likewise.
17842 (__arm_vaddq_x_f16): Likewise.
17843 (__arm_vaddq_x_f32): Likewise.
17844 (__arm_vaddq_x_n_f16): Likewise.
17845 (__arm_vaddq_x_n_f32): Likewise.
17846 (__arm_vnegq_x_f16): Likewise.
17847 (__arm_vnegq_x_f32): Likewise.
17848 (__arm_vmulq_x_f16): Likewise.
17849 (__arm_vmulq_x_f32): Likewise.
17850 (__arm_vmulq_x_n_f16): Likewise.
17851 (__arm_vmulq_x_n_f32): Likewise.
17852 (__arm_vsubq_x_f16): Likewise.
17853 (__arm_vsubq_x_f32): Likewise.
17854 (__arm_vsubq_x_n_f16): Likewise.
17855 (__arm_vsubq_x_n_f32): Likewise.
17856 (__arm_vcaddq_rot90_x_f16): Likewise.
17857 (__arm_vcaddq_rot90_x_f32): Likewise.
17858 (__arm_vcaddq_rot270_x_f16): Likewise.
17859 (__arm_vcaddq_rot270_x_f32): Likewise.
17860 (__arm_vcmulq_x_f16): Likewise.
17861 (__arm_vcmulq_x_f32): Likewise.
17862 (__arm_vcmulq_rot90_x_f16): Likewise.
17863 (__arm_vcmulq_rot90_x_f32): Likewise.
17864 (__arm_vcmulq_rot180_x_f16): Likewise.
17865 (__arm_vcmulq_rot180_x_f32): Likewise.
17866 (__arm_vcmulq_rot270_x_f16): Likewise.
17867 (__arm_vcmulq_rot270_x_f32): Likewise.
17868 (__arm_vcvtaq_x_s16_f16): Likewise.
17869 (__arm_vcvtaq_x_s32_f32): Likewise.
17870 (__arm_vcvtaq_x_u16_f16): Likewise.
17871 (__arm_vcvtaq_x_u32_f32): Likewise.
17872 (__arm_vcvtnq_x_s16_f16): Likewise.
17873 (__arm_vcvtnq_x_s32_f32): Likewise.
17874 (__arm_vcvtnq_x_u16_f16): Likewise.
17875 (__arm_vcvtnq_x_u32_f32): Likewise.
17876 (__arm_vcvtpq_x_s16_f16): Likewise.
17877 (__arm_vcvtpq_x_s32_f32): Likewise.
17878 (__arm_vcvtpq_x_u16_f16): Likewise.
17879 (__arm_vcvtpq_x_u32_f32): Likewise.
17880 (__arm_vcvtmq_x_s16_f16): Likewise.
17881 (__arm_vcvtmq_x_s32_f32): Likewise.
17882 (__arm_vcvtmq_x_u16_f16): Likewise.
17883 (__arm_vcvtmq_x_u32_f32): Likewise.
17884 (__arm_vcvtbq_x_f32_f16): Likewise.
17885 (__arm_vcvttq_x_f32_f16): Likewise.
17886 (__arm_vcvtq_x_f16_u16): Likewise.
17887 (__arm_vcvtq_x_f16_s16): Likewise.
17888 (__arm_vcvtq_x_f32_s32): Likewise.
17889 (__arm_vcvtq_x_f32_u32): Likewise.
17890 (__arm_vcvtq_x_n_f16_s16): Likewise.
17891 (__arm_vcvtq_x_n_f16_u16): Likewise.
17892 (__arm_vcvtq_x_n_f32_s32): Likewise.
17893 (__arm_vcvtq_x_n_f32_u32): Likewise.
17894 (__arm_vcvtq_x_s16_f16): Likewise.
17895 (__arm_vcvtq_x_s32_f32): Likewise.
17896 (__arm_vcvtq_x_u16_f16): Likewise.
17897 (__arm_vcvtq_x_u32_f32): Likewise.
17898 (__arm_vcvtq_x_n_s16_f16): Likewise.
17899 (__arm_vcvtq_x_n_s32_f32): Likewise.
17900 (__arm_vcvtq_x_n_u16_f16): Likewise.
17901 (__arm_vcvtq_x_n_u32_f32): Likewise.
17902 (__arm_vrndq_x_f16): Likewise.
17903 (__arm_vrndq_x_f32): Likewise.
17904 (__arm_vrndnq_x_f16): Likewise.
17905 (__arm_vrndnq_x_f32): Likewise.
17906 (__arm_vrndmq_x_f16): Likewise.
17907 (__arm_vrndmq_x_f32): Likewise.
17908 (__arm_vrndpq_x_f16): Likewise.
17909 (__arm_vrndpq_x_f32): Likewise.
17910 (__arm_vrndaq_x_f16): Likewise.
17911 (__arm_vrndaq_x_f32): Likewise.
17912 (__arm_vrndxq_x_f16): Likewise.
17913 (__arm_vrndxq_x_f32): Likewise.
17914 (__arm_vandq_x_f16): Likewise.
17915 (__arm_vandq_x_f32): Likewise.
17916 (__arm_vbicq_x_f16): Likewise.
17917 (__arm_vbicq_x_f32): Likewise.
17918 (__arm_vbrsrq_x_n_f16): Likewise.
17919 (__arm_vbrsrq_x_n_f32): Likewise.
17920 (__arm_veorq_x_f16): Likewise.
17921 (__arm_veorq_x_f32): Likewise.
17922 (__arm_vornq_x_f16): Likewise.
17923 (__arm_vornq_x_f32): Likewise.
17924 (__arm_vorrq_x_f16): Likewise.
17925 (__arm_vorrq_x_f32): Likewise.
17926 (__arm_vrev32q_x_f16): Likewise.
17927 (__arm_vrev64q_x_f16): Likewise.
17928 (__arm_vrev64q_x_f32): Likewise.
17929 (vabdq_x): Define polymorphic variant.
17930 (vabsq_x): Likewise.
17931 (vaddq_x): Likewise.
17932 (vandq_x): Likewise.
17933 (vbicq_x): Likewise.
17934 (vbrsrq_x): Likewise.
17935 (vcaddq_rot270_x): Likewise.
17936 (vcaddq_rot90_x): Likewise.
17937 (vcmulq_rot180_x): Likewise.
17938 (vcmulq_rot270_x): Likewise.
17939 (vcmulq_x): Likewise.
17940 (vcvtq_x): Likewise.
17941 (vcvtq_x_n): Likewise.
17942 (vcvtnq_m): Likewise.
17943 (veorq_x): Likewise.
17944 (vmaxnmq_x): Likewise.
17945 (vminnmq_x): Likewise.
17946 (vmulq_x): Likewise.
17947 (vnegq_x): Likewise.
17948 (vornq_x): Likewise.
17949 (vorrq_x): Likewise.
17950 (vrev32q_x): Likewise.
17951 (vrev64q_x): Likewise.
17952 (vrndaq_x): Likewise.
17953 (vrndmq_x): Likewise.
17954 (vrndnq_x): Likewise.
17955 (vrndpq_x): Likewise.
17956 (vrndq_x): Likewise.
17957 (vrndxq_x): Likewise.
17958 (vsubq_x): Likewise.
17959 (vcmulq_rot90_x): Likewise.
17960 (vadciq): Likewise.
17961 (vclsq_x): Likewise.
17962 (vclzq_x): Likewise.
17963 (vhaddq_x): Likewise.
17964 (vhcaddq_rot270_x): Likewise.
17965 (vhcaddq_rot90_x): Likewise.
17966 (vhsubq_x): Likewise.
17967 (vmaxq_x): Likewise.
17968 (vminq_x): Likewise.
17969 (vmovlbq_x): Likewise.
17970 (vmovltq_x): Likewise.
17971 (vmulhq_x): Likewise.
17972 (vmullbq_int_x): Likewise.
17973 (vmullbq_poly_x): Likewise.
17974 (vmulltq_int_x): Likewise.
17975 (vmulltq_poly_x): Likewise.
17976 (vmvnq_x): Likewise.
17977 (vrev16q_x): Likewise.
17978 (vrhaddq_x): Likewise.
17979 (vrmulhq_x): Likewise.
17980 (vrshlq_x): Likewise.
17981 (vrshrq_x): Likewise.
17982 (vshllbq_x): Likewise.
17983 (vshlltq_x): Likewise.
17984 (vshlq_x_n): Likewise.
17985 (vshlq_x): Likewise.
17986 (vdwdupq_x_u8): Likewise.
17987 (vdwdupq_x_u16): Likewise.
17988 (vdwdupq_x_u32): Likewise.
17989 (viwdupq_x_u8): Likewise.
17990 (viwdupq_x_u16): Likewise.
17991 (viwdupq_x_u32): Likewise.
17992 (vidupq_x_u8): Likewise.
17993 (vddupq_x_u8): Likewise.
17994 (vidupq_x_u16): Likewise.
17995 (vddupq_x_u16): Likewise.
17996 (vidupq_x_u32): Likewise.
17997 (vddupq_x_u32): Likewise.
17998 (vshrq_x): Likewise.
18000 2020-03-20 Richard Biener <rguenther@suse.de>
18002 * tree-vect-slp.c (vect_analyze_slp_instance): Push the stmts
18003 to vectorize for CTOR defs.
18005 2020-03-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
18006 Andre Vieira <andre.simoesdiasvieira@arm.com>
18007 Mihail Ionescu <mihail.ionescu@arm.com>
18009 * config/arm/arm-builtins.c (LDRGBWBS_QUALIFIERS): Define builtin
18011 (LDRGBWBU_QUALIFIERS): Likewise.
18012 (LDRGBWBS_Z_QUALIFIERS): Likewise.
18013 (LDRGBWBU_Z_QUALIFIERS): Likewise.
18014 (STRSBWBS_QUALIFIERS): Likewise.
18015 (STRSBWBU_QUALIFIERS): Likewise.
18016 (STRSBWBS_P_QUALIFIERS): Likewise.
18017 (STRSBWBU_P_QUALIFIERS): Likewise.
18018 * config/arm/arm_mve.h (vldrdq_gather_base_wb_s64): Define macro.
18019 (vldrdq_gather_base_wb_u64): Likewise.
18020 (vldrdq_gather_base_wb_z_s64): Likewise.
18021 (vldrdq_gather_base_wb_z_u64): Likewise.
18022 (vldrwq_gather_base_wb_f32): Likewise.
18023 (vldrwq_gather_base_wb_s32): Likewise.
18024 (vldrwq_gather_base_wb_u32): Likewise.
18025 (vldrwq_gather_base_wb_z_f32): Likewise.
18026 (vldrwq_gather_base_wb_z_s32): Likewise.
18027 (vldrwq_gather_base_wb_z_u32): Likewise.
18028 (vstrdq_scatter_base_wb_p_s64): Likewise.
18029 (vstrdq_scatter_base_wb_p_u64): Likewise.
18030 (vstrdq_scatter_base_wb_s64): Likewise.
18031 (vstrdq_scatter_base_wb_u64): Likewise.
18032 (vstrwq_scatter_base_wb_p_s32): Likewise.
18033 (vstrwq_scatter_base_wb_p_f32): Likewise.
18034 (vstrwq_scatter_base_wb_p_u32): Likewise.
18035 (vstrwq_scatter_base_wb_s32): Likewise.
18036 (vstrwq_scatter_base_wb_u32): Likewise.
18037 (vstrwq_scatter_base_wb_f32): Likewise.
18038 (__arm_vldrdq_gather_base_wb_s64): Define intrinsic.
18039 (__arm_vldrdq_gather_base_wb_u64): Likewise.
18040 (__arm_vldrdq_gather_base_wb_z_s64): Likewise.
18041 (__arm_vldrdq_gather_base_wb_z_u64): Likewise.
18042 (__arm_vldrwq_gather_base_wb_s32): Likewise.
18043 (__arm_vldrwq_gather_base_wb_u32): Likewise.
18044 (__arm_vldrwq_gather_base_wb_z_s32): Likewise.
18045 (__arm_vldrwq_gather_base_wb_z_u32): Likewise.
18046 (__arm_vstrdq_scatter_base_wb_s64): Likewise.
18047 (__arm_vstrdq_scatter_base_wb_u64): Likewise.
18048 (__arm_vstrdq_scatter_base_wb_p_s64): Likewise.
18049 (__arm_vstrdq_scatter_base_wb_p_u64): Likewise.
18050 (__arm_vstrwq_scatter_base_wb_p_s32): Likewise.
18051 (__arm_vstrwq_scatter_base_wb_p_u32): Likewise.
18052 (__arm_vstrwq_scatter_base_wb_s32): Likewise.
18053 (__arm_vstrwq_scatter_base_wb_u32): Likewise.
18054 (__arm_vldrwq_gather_base_wb_f32): Likewise.
18055 (__arm_vldrwq_gather_base_wb_z_f32): Likewise.
18056 (__arm_vstrwq_scatter_base_wb_f32): Likewise.
18057 (__arm_vstrwq_scatter_base_wb_p_f32): Likewise.
18058 (vstrwq_scatter_base_wb): Define polymorphic variant.
18059 (vstrwq_scatter_base_wb_p): Likewise.
18060 (vstrdq_scatter_base_wb_p): Likewise.
18061 (vstrdq_scatter_base_wb): Likewise.
18062 * config/arm/arm_mve_builtins.def (LDRGBWBS_QUALIFIERS): Use builtin
18064 * config/arm/mve.md (mve_vstrwq_scatter_base_wb_<supf>v4si): Define RTL
18066 (mve_vstrwq_scatter_base_wb_add_<supf>v4si): Likewise.
18067 (mve_vstrwq_scatter_base_wb_<supf>v4si_insn): Likewise.
18068 (mve_vstrwq_scatter_base_wb_p_<supf>v4si): Likewise.
18069 (mve_vstrwq_scatter_base_wb_p_add_<supf>v4si): Likewise.
18070 (mve_vstrwq_scatter_base_wb_p_<supf>v4si_insn): Likewise.
18071 (mve_vstrwq_scatter_base_wb_fv4sf): Likewise.
18072 (mve_vstrwq_scatter_base_wb_add_fv4sf): Likewise.
18073 (mve_vstrwq_scatter_base_wb_fv4sf_insn): Likewise.
18074 (mve_vstrwq_scatter_base_wb_p_fv4sf): Likewise.
18075 (mve_vstrwq_scatter_base_wb_p_add_fv4sf): Likewise.
18076 (mve_vstrwq_scatter_base_wb_p_fv4sf_insn): Likewise.
18077 (mve_vstrdq_scatter_base_wb_<supf>v2di): Likewise.
18078 (mve_vstrdq_scatter_base_wb_add_<supf>v2di): Likewise.
18079 (mve_vstrdq_scatter_base_wb_<supf>v2di_insn): Likewise.
18080 (mve_vstrdq_scatter_base_wb_p_<supf>v2di): Likewise.
18081 (mve_vstrdq_scatter_base_wb_p_add_<supf>v2di): Likewise.
18082 (mve_vstrdq_scatter_base_wb_p_<supf>v2di_insn): Likewise.
18083 (mve_vldrwq_gather_base_wb_<supf>v4si): Likewise.
18084 (mve_vldrwq_gather_base_wb_<supf>v4si_insn): Likewise.
18085 (mve_vldrwq_gather_base_wb_z_<supf>v4si): Likewise.
18086 (mve_vldrwq_gather_base_wb_z_<supf>v4si_insn): Likewise.
18087 (mve_vldrwq_gather_base_wb_fv4sf): Likewise.
18088 (mve_vldrwq_gather_base_wb_fv4sf_insn): Likewise.
18089 (mve_vldrwq_gather_base_wb_z_fv4sf): Likewise.
18090 (mve_vldrwq_gather_base_wb_z_fv4sf_insn): Likewise.
18091 (mve_vldrdq_gather_base_wb_<supf>v2di): Likewise.
18092 (mve_vldrdq_gather_base_wb_<supf>v2di_insn): Likewise.
18093 (mve_vldrdq_gather_base_wb_z_<supf>v2di): Likewise.
18094 (mve_vldrdq_gather_base_wb_z_<supf>v2di_insn): Likewise.
18096 2020-03-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
18097 Andre Vieira <andre.simoesdiasvieira@arm.com>
18098 Mihail Ionescu <mihail.ionescu@arm.com>
18100 * config/arm/arm-builtins.c
18101 (QUINOP_UNONE_UNONE_UNONE_UNONE_IMM_UNONE_QUALIFIERS): Define quinary
18103 * config/arm/arm_mve.h (vddupq_m_n_u8): Define macro.
18104 (vddupq_m_n_u32): Likewise.
18105 (vddupq_m_n_u16): Likewise.
18106 (vddupq_m_wb_u8): Likewise.
18107 (vddupq_m_wb_u16): Likewise.
18108 (vddupq_m_wb_u32): Likewise.
18109 (vddupq_n_u8): Likewise.
18110 (vddupq_n_u32): Likewise.
18111 (vddupq_n_u16): Likewise.
18112 (vddupq_wb_u8): Likewise.
18113 (vddupq_wb_u16): Likewise.
18114 (vddupq_wb_u32): Likewise.
18115 (vdwdupq_m_n_u8): Likewise.
18116 (vdwdupq_m_n_u32): Likewise.
18117 (vdwdupq_m_n_u16): Likewise.
18118 (vdwdupq_m_wb_u8): Likewise.
18119 (vdwdupq_m_wb_u32): Likewise.
18120 (vdwdupq_m_wb_u16): Likewise.
18121 (vdwdupq_n_u8): Likewise.
18122 (vdwdupq_n_u32): Likewise.
18123 (vdwdupq_n_u16): Likewise.
18124 (vdwdupq_wb_u8): Likewise.
18125 (vdwdupq_wb_u32): Likewise.
18126 (vdwdupq_wb_u16): Likewise.
18127 (vidupq_m_n_u8): Likewise.
18128 (vidupq_m_n_u32): Likewise.
18129 (vidupq_m_n_u16): Likewise.
18130 (vidupq_m_wb_u8): Likewise.
18131 (vidupq_m_wb_u16): Likewise.
18132 (vidupq_m_wb_u32): Likewise.
18133 (vidupq_n_u8): Likewise.
18134 (vidupq_n_u32): Likewise.
18135 (vidupq_n_u16): Likewise.
18136 (vidupq_wb_u8): Likewise.
18137 (vidupq_wb_u16): Likewise.
18138 (vidupq_wb_u32): Likewise.
18139 (viwdupq_m_n_u8): Likewise.
18140 (viwdupq_m_n_u32): Likewise.
18141 (viwdupq_m_n_u16): Likewise.
18142 (viwdupq_m_wb_u8): Likewise.
18143 (viwdupq_m_wb_u32): Likewise.
18144 (viwdupq_m_wb_u16): Likewise.
18145 (viwdupq_n_u8): Likewise.
18146 (viwdupq_n_u32): Likewise.
18147 (viwdupq_n_u16): Likewise.
18148 (viwdupq_wb_u8): Likewise.
18149 (viwdupq_wb_u32): Likewise.
18150 (viwdupq_wb_u16): Likewise.
18151 (__arm_vddupq_m_n_u8): Define intrinsic.
18152 (__arm_vddupq_m_n_u32): Likewise.
18153 (__arm_vddupq_m_n_u16): Likewise.
18154 (__arm_vddupq_m_wb_u8): Likewise.
18155 (__arm_vddupq_m_wb_u16): Likewise.
18156 (__arm_vddupq_m_wb_u32): Likewise.
18157 (__arm_vddupq_n_u8): Likewise.
18158 (__arm_vddupq_n_u32): Likewise.
18159 (__arm_vddupq_n_u16): Likewise.
18160 (__arm_vdwdupq_m_n_u8): Likewise.
18161 (__arm_vdwdupq_m_n_u32): Likewise.
18162 (__arm_vdwdupq_m_n_u16): Likewise.
18163 (__arm_vdwdupq_m_wb_u8): Likewise.
18164 (__arm_vdwdupq_m_wb_u32): Likewise.
18165 (__arm_vdwdupq_m_wb_u16): Likewise.
18166 (__arm_vdwdupq_n_u8): Likewise.
18167 (__arm_vdwdupq_n_u32): Likewise.
18168 (__arm_vdwdupq_n_u16): Likewise.
18169 (__arm_vdwdupq_wb_u8): Likewise.
18170 (__arm_vdwdupq_wb_u32): Likewise.
18171 (__arm_vdwdupq_wb_u16): Likewise.
18172 (__arm_vidupq_m_n_u8): Likewise.
18173 (__arm_vidupq_m_n_u32): Likewise.
18174 (__arm_vidupq_m_n_u16): Likewise.
18175 (__arm_vidupq_n_u8): Likewise.
18176 (__arm_vidupq_m_wb_u8): Likewise.
18177 (__arm_vidupq_m_wb_u16): Likewise.
18178 (__arm_vidupq_m_wb_u32): Likewise.
18179 (__arm_vidupq_n_u32): Likewise.
18180 (__arm_vidupq_n_u16): Likewise.
18181 (__arm_vidupq_wb_u8): Likewise.
18182 (__arm_vidupq_wb_u16): Likewise.
18183 (__arm_vidupq_wb_u32): Likewise.
18184 (__arm_vddupq_wb_u8): Likewise.
18185 (__arm_vddupq_wb_u16): Likewise.
18186 (__arm_vddupq_wb_u32): Likewise.
18187 (__arm_viwdupq_m_n_u8): Likewise.
18188 (__arm_viwdupq_m_n_u32): Likewise.
18189 (__arm_viwdupq_m_n_u16): Likewise.
18190 (__arm_viwdupq_m_wb_u8): Likewise.
18191 (__arm_viwdupq_m_wb_u32): Likewise.
18192 (__arm_viwdupq_m_wb_u16): Likewise.
18193 (__arm_viwdupq_n_u8): Likewise.
18194 (__arm_viwdupq_n_u32): Likewise.
18195 (__arm_viwdupq_n_u16): Likewise.
18196 (__arm_viwdupq_wb_u8): Likewise.
18197 (__arm_viwdupq_wb_u32): Likewise.
18198 (__arm_viwdupq_wb_u16): Likewise.
18199 (vidupq_m): Define polymorphic variant.
18200 (vddupq_m): Likewise.
18201 (vidupq_u16): Likewise.
18202 (vidupq_u32): Likewise.
18203 (vidupq_u8): Likewise.
18204 (vddupq_u16): Likewise.
18205 (vddupq_u32): Likewise.
18206 (vddupq_u8): Likewise.
18207 (viwdupq_m): Likewise.
18208 (viwdupq_u16): Likewise.
18209 (viwdupq_u32): Likewise.
18210 (viwdupq_u8): Likewise.
18211 (vdwdupq_m): Likewise.
18212 (vdwdupq_u16): Likewise.
18213 (vdwdupq_u32): Likewise.
18214 (vdwdupq_u8): Likewise.
18215 * config/arm/arm_mve_builtins.def
18216 (QUINOP_UNONE_UNONE_UNONE_UNONE_IMM_UNONE_QUALIFIERS): Use builtin
18218 * config/arm/mve.md (mve_vidupq_n_u<mode>): Define RTL pattern.
18219 (mve_vidupq_u<mode>_insn): Likewise.
18220 (mve_vidupq_m_n_u<mode>): Likewise.
18221 (mve_vidupq_m_wb_u<mode>_insn): Likewise.
18222 (mve_vddupq_n_u<mode>): Likewise.
18223 (mve_vddupq_u<mode>_insn): Likewise.
18224 (mve_vddupq_m_n_u<mode>): Likewise.
18225 (mve_vddupq_m_wb_u<mode>_insn): Likewise.
18226 (mve_vdwdupq_n_u<mode>): Likewise.
18227 (mve_vdwdupq_wb_u<mode>): Likewise.
18228 (mve_vdwdupq_wb_u<mode>_insn): Likewise.
18229 (mve_vdwdupq_m_n_u<mode>): Likewise.
18230 (mve_vdwdupq_m_wb_u<mode>): Likewise.
18231 (mve_vdwdupq_m_wb_u<mode>_insn): Likewise.
18232 (mve_viwdupq_n_u<mode>): Likewise.
18233 (mve_viwdupq_wb_u<mode>): Likewise.
18234 (mve_viwdupq_wb_u<mode>_insn): Likewise.
18235 (mve_viwdupq_m_n_u<mode>): Likewise.
18236 (mve_viwdupq_m_wb_u<mode>): Likewise.
18237 (mve_viwdupq_m_wb_u<mode>_insn): Likewise.
18239 2020-03-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
18241 * config/arm/arm_mve.h (vreinterpretq_s16_s32): Define macro.
18242 (vreinterpretq_s16_s64): Likewise.
18243 (vreinterpretq_s16_s8): Likewise.
18244 (vreinterpretq_s16_u16): Likewise.
18245 (vreinterpretq_s16_u32): Likewise.
18246 (vreinterpretq_s16_u64): Likewise.
18247 (vreinterpretq_s16_u8): Likewise.
18248 (vreinterpretq_s32_s16): Likewise.
18249 (vreinterpretq_s32_s64): Likewise.
18250 (vreinterpretq_s32_s8): Likewise.
18251 (vreinterpretq_s32_u16): Likewise.
18252 (vreinterpretq_s32_u32): Likewise.
18253 (vreinterpretq_s32_u64): Likewise.
18254 (vreinterpretq_s32_u8): Likewise.
18255 (vreinterpretq_s64_s16): Likewise.
18256 (vreinterpretq_s64_s32): Likewise.
18257 (vreinterpretq_s64_s8): Likewise.
18258 (vreinterpretq_s64_u16): Likewise.
18259 (vreinterpretq_s64_u32): Likewise.
18260 (vreinterpretq_s64_u64): Likewise.
18261 (vreinterpretq_s64_u8): Likewise.
18262 (vreinterpretq_s8_s16): Likewise.
18263 (vreinterpretq_s8_s32): Likewise.
18264 (vreinterpretq_s8_s64): Likewise.
18265 (vreinterpretq_s8_u16): Likewise.
18266 (vreinterpretq_s8_u32): Likewise.
18267 (vreinterpretq_s8_u64): Likewise.
18268 (vreinterpretq_s8_u8): Likewise.
18269 (vreinterpretq_u16_s16): Likewise.
18270 (vreinterpretq_u16_s32): Likewise.
18271 (vreinterpretq_u16_s64): Likewise.
18272 (vreinterpretq_u16_s8): Likewise.
18273 (vreinterpretq_u16_u32): Likewise.
18274 (vreinterpretq_u16_u64): Likewise.
18275 (vreinterpretq_u16_u8): Likewise.
18276 (vreinterpretq_u32_s16): Likewise.
18277 (vreinterpretq_u32_s32): Likewise.
18278 (vreinterpretq_u32_s64): Likewise.
18279 (vreinterpretq_u32_s8): Likewise.
18280 (vreinterpretq_u32_u16): Likewise.
18281 (vreinterpretq_u32_u64): Likewise.
18282 (vreinterpretq_u32_u8): Likewise.
18283 (vreinterpretq_u64_s16): Likewise.
18284 (vreinterpretq_u64_s32): Likewise.
18285 (vreinterpretq_u64_s64): Likewise.
18286 (vreinterpretq_u64_s8): Likewise.
18287 (vreinterpretq_u64_u16): Likewise.
18288 (vreinterpretq_u64_u32): Likewise.
18289 (vreinterpretq_u64_u8): Likewise.
18290 (vreinterpretq_u8_s16): Likewise.
18291 (vreinterpretq_u8_s32): Likewise.
18292 (vreinterpretq_u8_s64): Likewise.
18293 (vreinterpretq_u8_s8): Likewise.
18294 (vreinterpretq_u8_u16): Likewise.
18295 (vreinterpretq_u8_u32): Likewise.
18296 (vreinterpretq_u8_u64): Likewise.
18297 (vreinterpretq_s32_f16): Likewise.
18298 (vreinterpretq_s32_f32): Likewise.
18299 (vreinterpretq_u16_f16): Likewise.
18300 (vreinterpretq_u16_f32): Likewise.
18301 (vreinterpretq_u32_f16): Likewise.
18302 (vreinterpretq_u32_f32): Likewise.
18303 (vreinterpretq_u64_f16): Likewise.
18304 (vreinterpretq_u64_f32): Likewise.
18305 (vreinterpretq_u8_f16): Likewise.
18306 (vreinterpretq_u8_f32): Likewise.
18307 (vreinterpretq_f16_f32): Likewise.
18308 (vreinterpretq_f16_s16): Likewise.
18309 (vreinterpretq_f16_s32): Likewise.
18310 (vreinterpretq_f16_s64): Likewise.
18311 (vreinterpretq_f16_s8): Likewise.
18312 (vreinterpretq_f16_u16): Likewise.
18313 (vreinterpretq_f16_u32): Likewise.
18314 (vreinterpretq_f16_u64): Likewise.
18315 (vreinterpretq_f16_u8): Likewise.
18316 (vreinterpretq_f32_f16): Likewise.
18317 (vreinterpretq_f32_s16): Likewise.
18318 (vreinterpretq_f32_s32): Likewise.
18319 (vreinterpretq_f32_s64): Likewise.
18320 (vreinterpretq_f32_s8): Likewise.
18321 (vreinterpretq_f32_u16): Likewise.
18322 (vreinterpretq_f32_u32): Likewise.
18323 (vreinterpretq_f32_u64): Likewise.
18324 (vreinterpretq_f32_u8): Likewise.
18325 (vreinterpretq_s16_f16): Likewise.
18326 (vreinterpretq_s16_f32): Likewise.
18327 (vreinterpretq_s64_f16): Likewise.
18328 (vreinterpretq_s64_f32): Likewise.
18329 (vreinterpretq_s8_f16): Likewise.
18330 (vreinterpretq_s8_f32): Likewise.
18331 (vuninitializedq_u8): Likewise.
18332 (vuninitializedq_u16): Likewise.
18333 (vuninitializedq_u32): Likewise.
18334 (vuninitializedq_u64): Likewise.
18335 (vuninitializedq_s8): Likewise.
18336 (vuninitializedq_s16): Likewise.
18337 (vuninitializedq_s32): Likewise.
18338 (vuninitializedq_s64): Likewise.
18339 (vuninitializedq_f16): Likewise.
18340 (vuninitializedq_f32): Likewise.
18341 (__arm_vuninitializedq_u8): Define intrinsic.
18342 (__arm_vuninitializedq_u16): Likewise.
18343 (__arm_vuninitializedq_u32): Likewise.
18344 (__arm_vuninitializedq_u64): Likewise.
18345 (__arm_vuninitializedq_s8): Likewise.
18346 (__arm_vuninitializedq_s16): Likewise.
18347 (__arm_vuninitializedq_s32): Likewise.
18348 (__arm_vuninitializedq_s64): Likewise.
18349 (__arm_vreinterpretq_s16_s32): Likewise.
18350 (__arm_vreinterpretq_s16_s64): Likewise.
18351 (__arm_vreinterpretq_s16_s8): Likewise.
18352 (__arm_vreinterpretq_s16_u16): Likewise.
18353 (__arm_vreinterpretq_s16_u32): Likewise.
18354 (__arm_vreinterpretq_s16_u64): Likewise.
18355 (__arm_vreinterpretq_s16_u8): Likewise.
18356 (__arm_vreinterpretq_s32_s16): Likewise.
18357 (__arm_vreinterpretq_s32_s64): Likewise.
18358 (__arm_vreinterpretq_s32_s8): Likewise.
18359 (__arm_vreinterpretq_s32_u16): Likewise.
18360 (__arm_vreinterpretq_s32_u32): Likewise.
18361 (__arm_vreinterpretq_s32_u64): Likewise.
18362 (__arm_vreinterpretq_s32_u8): Likewise.
18363 (__arm_vreinterpretq_s64_s16): Likewise.
18364 (__arm_vreinterpretq_s64_s32): Likewise.
18365 (__arm_vreinterpretq_s64_s8): Likewise.
18366 (__arm_vreinterpretq_s64_u16): Likewise.
18367 (__arm_vreinterpretq_s64_u32): Likewise.
18368 (__arm_vreinterpretq_s64_u64): Likewise.
18369 (__arm_vreinterpretq_s64_u8): Likewise.
18370 (__arm_vreinterpretq_s8_s16): Likewise.
18371 (__arm_vreinterpretq_s8_s32): Likewise.
18372 (__arm_vreinterpretq_s8_s64): Likewise.
18373 (__arm_vreinterpretq_s8_u16): Likewise.
18374 (__arm_vreinterpretq_s8_u32): Likewise.
18375 (__arm_vreinterpretq_s8_u64): Likewise.
18376 (__arm_vreinterpretq_s8_u8): Likewise.
18377 (__arm_vreinterpretq_u16_s16): Likewise.
18378 (__arm_vreinterpretq_u16_s32): Likewise.
18379 (__arm_vreinterpretq_u16_s64): Likewise.
18380 (__arm_vreinterpretq_u16_s8): Likewise.
18381 (__arm_vreinterpretq_u16_u32): Likewise.
18382 (__arm_vreinterpretq_u16_u64): Likewise.
18383 (__arm_vreinterpretq_u16_u8): Likewise.
18384 (__arm_vreinterpretq_u32_s16): Likewise.
18385 (__arm_vreinterpretq_u32_s32): Likewise.
18386 (__arm_vreinterpretq_u32_s64): Likewise.
18387 (__arm_vreinterpretq_u32_s8): Likewise.
18388 (__arm_vreinterpretq_u32_u16): Likewise.
18389 (__arm_vreinterpretq_u32_u64): Likewise.
18390 (__arm_vreinterpretq_u32_u8): Likewise.
18391 (__arm_vreinterpretq_u64_s16): Likewise.
18392 (__arm_vreinterpretq_u64_s32): Likewise.
18393 (__arm_vreinterpretq_u64_s64): Likewise.
18394 (__arm_vreinterpretq_u64_s8): Likewise.
18395 (__arm_vreinterpretq_u64_u16): Likewise.
18396 (__arm_vreinterpretq_u64_u32): Likewise.
18397 (__arm_vreinterpretq_u64_u8): Likewise.
18398 (__arm_vreinterpretq_u8_s16): Likewise.
18399 (__arm_vreinterpretq_u8_s32): Likewise.
18400 (__arm_vreinterpretq_u8_s64): Likewise.
18401 (__arm_vreinterpretq_u8_s8): Likewise.
18402 (__arm_vreinterpretq_u8_u16): Likewise.
18403 (__arm_vreinterpretq_u8_u32): Likewise.
18404 (__arm_vreinterpretq_u8_u64): Likewise.
18405 (__arm_vuninitializedq_f16): Likewise.
18406 (__arm_vuninitializedq_f32): Likewise.
18407 (__arm_vreinterpretq_s32_f16): Likewise.
18408 (__arm_vreinterpretq_s32_f32): Likewise.
18409 (__arm_vreinterpretq_s16_f16): Likewise.
18410 (__arm_vreinterpretq_s16_f32): Likewise.
18411 (__arm_vreinterpretq_s64_f16): Likewise.
18412 (__arm_vreinterpretq_s64_f32): Likewise.
18413 (__arm_vreinterpretq_s8_f16): Likewise.
18414 (__arm_vreinterpretq_s8_f32): Likewise.
18415 (__arm_vreinterpretq_u16_f16): Likewise.
18416 (__arm_vreinterpretq_u16_f32): Likewise.
18417 (__arm_vreinterpretq_u32_f16): Likewise.
18418 (__arm_vreinterpretq_u32_f32): Likewise.
18419 (__arm_vreinterpretq_u64_f16): Likewise.
18420 (__arm_vreinterpretq_u64_f32): Likewise.
18421 (__arm_vreinterpretq_u8_f16): Likewise.
18422 (__arm_vreinterpretq_u8_f32): Likewise.
18423 (__arm_vreinterpretq_f16_f32): Likewise.
18424 (__arm_vreinterpretq_f16_s16): Likewise.
18425 (__arm_vreinterpretq_f16_s32): Likewise.
18426 (__arm_vreinterpretq_f16_s64): Likewise.
18427 (__arm_vreinterpretq_f16_s8): Likewise.
18428 (__arm_vreinterpretq_f16_u16): Likewise.
18429 (__arm_vreinterpretq_f16_u32): Likewise.
18430 (__arm_vreinterpretq_f16_u64): Likewise.
18431 (__arm_vreinterpretq_f16_u8): Likewise.
18432 (__arm_vreinterpretq_f32_f16): Likewise.
18433 (__arm_vreinterpretq_f32_s16): Likewise.
18434 (__arm_vreinterpretq_f32_s32): Likewise.
18435 (__arm_vreinterpretq_f32_s64): Likewise.
18436 (__arm_vreinterpretq_f32_s8): Likewise.
18437 (__arm_vreinterpretq_f32_u16): Likewise.
18438 (__arm_vreinterpretq_f32_u32): Likewise.
18439 (__arm_vreinterpretq_f32_u64): Likewise.
18440 (__arm_vreinterpretq_f32_u8): Likewise.
18441 (vuninitializedq): Define polymorphic variant.
18442 (vreinterpretq_f16): Likewise.
18443 (vreinterpretq_f32): Likewise.
18444 (vreinterpretq_s16): Likewise.
18445 (vreinterpretq_s32): Likewise.
18446 (vreinterpretq_s64): Likewise.
18447 (vreinterpretq_s8): Likewise.
18448 (vreinterpretq_u16): Likewise.
18449 (vreinterpretq_u32): Likewise.
18450 (vreinterpretq_u64): Likewise.
18451 (vreinterpretq_u8): Likewise.
18453 2020-03-20 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
18454 Andre Vieira <andre.simoesdiasvieira@arm.com>
18455 Mihail Ionescu <mihail.ionescu@arm.com>
18457 * config/arm/arm_mve.h (vaddq_s8): Define macro.
18458 (vaddq_s16): Likewise.
18459 (vaddq_s32): Likewise.
18460 (vaddq_u8): Likewise.
18461 (vaddq_u16): Likewise.
18462 (vaddq_u32): Likewise.
18463 (vaddq_f16): Likewise.
18464 (vaddq_f32): Likewise.
18465 (__arm_vaddq_s8): Define intrinsic.
18466 (__arm_vaddq_s16): Likewise.
18467 (__arm_vaddq_s32): Likewise.
18468 (__arm_vaddq_u8): Likewise.
18469 (__arm_vaddq_u16): Likewise.
18470 (__arm_vaddq_u32): Likewise.
18471 (__arm_vaddq_f16): Likewise.
18472 (__arm_vaddq_f32): Likewise.
18473 (vaddq): Define polymorphic variant.
18474 * config/arm/iterators.md (VNIM): Define mode iterator for common types
18475 Neon, IWMMXT and MVE.
18476 (VNINOTM): Likewise.
18477 * config/arm/mve.md (mve_vaddq<mode>): Define RTL pattern.
18478 (mve_vaddq_f<mode>): Define RTL pattern.
18479 * config/arm/neon.md (add<mode>3): Rename to addv4hf3 RTL pattern.
18480 (addv8hf3_neon): Define RTL pattern.
18481 * config/arm/vec-common.md (add<mode>3): Modify standard add RTL pattern
18483 (addv8hf3): Define standard RTL pattern for MVE and Neon.
18484 (add<mode>3): Modify existing standard add RTL pattern for Neon and IWMMXT.
18486 2020-03-20 Martin Liska <mliska@suse.cz>
18489 * ipa-cp.c (ipa_get_jf_ancestor_result): Use offset in bytes. Previously
18490 build_ref_for_offset function was used and it transforms off to bytes
18493 2020-03-20 Richard Biener <rguenther@suse.de>
18495 PR tree-optimization/94266
18496 * gimple-ssa-sprintf.c (get_origin_and_offset): Use the
18497 type of the underlying object to adjust for the containing
18498 field if available.
18500 2020-03-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
18502 * config/arm/unspecs.md (UNSPEC_GET_FPSCR): Rename this to ...
18503 (VUNSPEC_GET_FPSCR): ... this, and move it to vunspec.
18504 * config/arm/vfp.md: (get_fpscr, set_fpscr): Revert to old patterns.
18506 2020-03-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
18508 * config/arm/mve.md (mve_mov<mode>): Fix R->R case.
18510 2020-03-20 Jakub Jelinek <jakub@redhat.com>
18512 PR tree-optimization/94224
18513 * gimple-ssa-store-merging.c
18514 (imm_store_chain_info::coalesce_immediate): Don't consider overlapping
18515 or adjacent INTEGER_CST rhs_code stores as mergeable if they have
18518 2020-03-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
18520 * config/arm/arm.md (define_attr "conds"): Fix logic for neon and mve.
18522 2020-03-19 Jan Hubicka <hubicka@ucw.cz>
18525 * cgraph.c (cgraph_node::function_symbol): Fix availability computation.
18526 (cgraph_node::function_or_virtual_thunk_symbol): Likewise.
18528 2020-03-19 Jan Hubicka <hubicka@ucw.cz>
18531 * cgraphunit.c (process_function_and_variable_attributes): warn
18532 for flatten attribute on alias.
18533 * ipa-inline.c (ipa_inline): Do not ICE on flatten attribute on alias.
18535 2020-03-19 Martin Liska <mliska@suse.cz>
18537 * lto-section-in.c: Add ext_symtab.
18538 * lto-streamer-out.c (write_symbol_extension_info): New.
18539 (produce_symtab_extension): New.
18540 (produce_asm_for_decls): Stream also produce_symtab_extension.
18541 * lto-streamer.h (enum lto_section_type): New section.
18543 2020-03-19 Jakub Jelinek <jakub@redhat.com>
18545 PR tree-optimization/94211
18546 * tree-ssa-phiopt.c (value_replacement): Use estimate_num_insns_seq
18547 instead of estimate_num_insns for bb_seq (middle_bb). Rename
18548 emtpy_or_with_defined_p variable to empty_or_with_defined_p, adjust
18551 2020-03-19 Richard Biener <rguenther@suse.de>
18554 * ipa-cp.c (ipa_get_jf_ancestor_result): Avoid build_fold_addr_expr
18555 and build_ref_for_offset.
18557 2020-03-19 Richard Biener <rguenther@suse.de>
18559 PR middle-end/94216
18560 * fold-const.c (fold_binary_loc): Avoid using
18561 build_fold_addr_expr when we really want an ADDR_EXPR.
18563 2020-03-18 Segher Boessenkool <segher@kernel.crashing.org>
18565 * config/rs6000/constraints.md (wd, wf, wi, ws, ww): New undocumented
18568 2020-03-12 Richard Sandiford <richard.sandiford@arm.com>
18570 PR rtl-optimization/90275
18571 * cse.c (cse_insn): Delete no-op register moves too.
18573 2020-03-18 Martin Sebor <msebor@redhat.com>
18576 * cgraphunit.c (process_function_and_variable_attributes): Also
18577 complain about weakref function definitions and drop all effects
18580 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
18581 Mihail Ionescu <mihail.ionescu@arm.com>
18582 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
18584 * config/arm/arm_mve.h (vstrdq_scatter_base_p_s64): Define macro.
18585 (vstrdq_scatter_base_p_u64): Likewise.
18586 (vstrdq_scatter_base_s64): Likewise.
18587 (vstrdq_scatter_base_u64): Likewise.
18588 (vstrdq_scatter_offset_p_s64): Likewise.
18589 (vstrdq_scatter_offset_p_u64): Likewise.
18590 (vstrdq_scatter_offset_s64): Likewise.
18591 (vstrdq_scatter_offset_u64): Likewise.
18592 (vstrdq_scatter_shifted_offset_p_s64): Likewise.
18593 (vstrdq_scatter_shifted_offset_p_u64): Likewise.
18594 (vstrdq_scatter_shifted_offset_s64): Likewise.
18595 (vstrdq_scatter_shifted_offset_u64): Likewise.
18596 (vstrhq_scatter_offset_f16): Likewise.
18597 (vstrhq_scatter_offset_p_f16): Likewise.
18598 (vstrhq_scatter_shifted_offset_f16): Likewise.
18599 (vstrhq_scatter_shifted_offset_p_f16): Likewise.
18600 (vstrwq_scatter_base_f32): Likewise.
18601 (vstrwq_scatter_base_p_f32): Likewise.
18602 (vstrwq_scatter_offset_f32): Likewise.
18603 (vstrwq_scatter_offset_p_f32): Likewise.
18604 (vstrwq_scatter_offset_p_s32): Likewise.
18605 (vstrwq_scatter_offset_p_u32): Likewise.
18606 (vstrwq_scatter_offset_s32): Likewise.
18607 (vstrwq_scatter_offset_u32): Likewise.
18608 (vstrwq_scatter_shifted_offset_f32): Likewise.
18609 (vstrwq_scatter_shifted_offset_p_f32): Likewise.
18610 (vstrwq_scatter_shifted_offset_p_s32): Likewise.
18611 (vstrwq_scatter_shifted_offset_p_u32): Likewise.
18612 (vstrwq_scatter_shifted_offset_s32): Likewise.
18613 (vstrwq_scatter_shifted_offset_u32): Likewise.
18614 (__arm_vstrdq_scatter_base_p_s64): Define intrinsic.
18615 (__arm_vstrdq_scatter_base_p_u64): Likewise.
18616 (__arm_vstrdq_scatter_base_s64): Likewise.
18617 (__arm_vstrdq_scatter_base_u64): Likewise.
18618 (__arm_vstrdq_scatter_offset_p_s64): Likewise.
18619 (__arm_vstrdq_scatter_offset_p_u64): Likewise.
18620 (__arm_vstrdq_scatter_offset_s64): Likewise.
18621 (__arm_vstrdq_scatter_offset_u64): Likewise.
18622 (__arm_vstrdq_scatter_shifted_offset_p_s64): Likewise.
18623 (__arm_vstrdq_scatter_shifted_offset_p_u64): Likewise.
18624 (__arm_vstrdq_scatter_shifted_offset_s64): Likewise.
18625 (__arm_vstrdq_scatter_shifted_offset_u64): Likewise.
18626 (__arm_vstrwq_scatter_offset_p_s32): Likewise.
18627 (__arm_vstrwq_scatter_offset_p_u32): Likewise.
18628 (__arm_vstrwq_scatter_offset_s32): Likewise.
18629 (__arm_vstrwq_scatter_offset_u32): Likewise.
18630 (__arm_vstrwq_scatter_shifted_offset_p_s32): Likewise.
18631 (__arm_vstrwq_scatter_shifted_offset_p_u32): Likewise.
18632 (__arm_vstrwq_scatter_shifted_offset_s32): Likewise.
18633 (__arm_vstrwq_scatter_shifted_offset_u32): Likewise.
18634 (__arm_vstrhq_scatter_offset_f16): Likewise.
18635 (__arm_vstrhq_scatter_offset_p_f16): Likewise.
18636 (__arm_vstrhq_scatter_shifted_offset_f16): Likewise.
18637 (__arm_vstrhq_scatter_shifted_offset_p_f16): Likewise.
18638 (__arm_vstrwq_scatter_base_f32): Likewise.
18639 (__arm_vstrwq_scatter_base_p_f32): Likewise.
18640 (__arm_vstrwq_scatter_offset_f32): Likewise.
18641 (__arm_vstrwq_scatter_offset_p_f32): Likewise.
18642 (__arm_vstrwq_scatter_shifted_offset_f32): Likewise.
18643 (__arm_vstrwq_scatter_shifted_offset_p_f32): Likewise.
18644 (vstrhq_scatter_offset): Define polymorphic variant.
18645 (vstrhq_scatter_offset_p): Likewise.
18646 (vstrhq_scatter_shifted_offset): Likewise.
18647 (vstrhq_scatter_shifted_offset_p): Likewise.
18648 (vstrwq_scatter_base): Likewise.
18649 (vstrwq_scatter_base_p): Likewise.
18650 (vstrwq_scatter_offset): Likewise.
18651 (vstrwq_scatter_offset_p): Likewise.
18652 (vstrwq_scatter_shifted_offset): Likewise.
18653 (vstrwq_scatter_shifted_offset_p): Likewise.
18654 (vstrdq_scatter_base_p): Likewise.
18655 (vstrdq_scatter_base): Likewise.
18656 (vstrdq_scatter_offset_p): Likewise.
18657 (vstrdq_scatter_offset): Likewise.
18658 (vstrdq_scatter_shifted_offset_p): Likewise.
18659 (vstrdq_scatter_shifted_offset): Likewise.
18660 * config/arm/arm_mve_builtins.def (STRSBS): Use builtin qualifier.
18661 (STRSBS_P): Likewise.
18662 (STRSBU): Likewise.
18663 (STRSBU_P): Likewise.
18665 (STRSS_P): Likewise.
18667 (STRSU_P): Likewise.
18668 * config/arm/constraints.md (Ri): Define.
18669 * config/arm/mve.md (VSTRDSBQ): Define iterator.
18670 (VSTRDSOQ): Likewise.
18671 (VSTRDSSOQ): Likewise.
18672 (VSTRWSOQ): Likewise.
18673 (VSTRWSSOQ): Likewise.
18674 (mve_vstrdq_scatter_base_p_<supf>v2di): Define RTL pattern.
18675 (mve_vstrdq_scatter_base_<supf>v2di): Likewise.
18676 (mve_vstrdq_scatter_offset_p_<supf>v2di): Likewise.
18677 (mve_vstrdq_scatter_offset_<supf>v2di): Likewise.
18678 (mve_vstrdq_scatter_shifted_offset_p_<supf>v2di): Likewise.
18679 (mve_vstrdq_scatter_shifted_offset_<supf>v2di): Likewise.
18680 (mve_vstrhq_scatter_offset_fv8hf): Likewise.
18681 (mve_vstrhq_scatter_offset_p_fv8hf): Likewise.
18682 (mve_vstrhq_scatter_shifted_offset_fv8hf): Likewise.
18683 (mve_vstrhq_scatter_shifted_offset_p_fv8hf): Likewise.
18684 (mve_vstrwq_scatter_base_fv4sf): Likewise.
18685 (mve_vstrwq_scatter_base_p_fv4sf): Likewise.
18686 (mve_vstrwq_scatter_offset_fv4sf): Likewise.
18687 (mve_vstrwq_scatter_offset_p_fv4sf): Likewise.
18688 (mve_vstrwq_scatter_offset_p_<supf>v4si): Likewise.
18689 (mve_vstrwq_scatter_offset_<supf>v4si): Likewise.
18690 (mve_vstrwq_scatter_shifted_offset_fv4sf): Likewise.
18691 (mve_vstrwq_scatter_shifted_offset_p_fv4sf): Likewise.
18692 (mve_vstrwq_scatter_shifted_offset_p_<supf>v4si): Likewise.
18693 (mve_vstrwq_scatter_shifted_offset_<supf>v4si): Likewise.
18694 * config/arm/predicates.md (Ri): Define predicate to check immediate
18695 is the range +/-1016 and multiple of 8.
18697 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
18698 Mihail Ionescu <mihail.ionescu@arm.com>
18699 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
18701 * config/arm/arm_mve.h (vst1q_f32): Define macro.
18702 (vst1q_f16): Likewise.
18703 (vst1q_s8): Likewise.
18704 (vst1q_s32): Likewise.
18705 (vst1q_s16): Likewise.
18706 (vst1q_u8): Likewise.
18707 (vst1q_u32): Likewise.
18708 (vst1q_u16): Likewise.
18709 (vstrhq_f16): Likewise.
18710 (vstrhq_scatter_offset_s32): Likewise.
18711 (vstrhq_scatter_offset_s16): Likewise.
18712 (vstrhq_scatter_offset_u32): Likewise.
18713 (vstrhq_scatter_offset_u16): Likewise.
18714 (vstrhq_scatter_offset_p_s32): Likewise.
18715 (vstrhq_scatter_offset_p_s16): Likewise.
18716 (vstrhq_scatter_offset_p_u32): Likewise.
18717 (vstrhq_scatter_offset_p_u16): Likewise.
18718 (vstrhq_scatter_shifted_offset_s32): Likewise.
18719 (vstrhq_scatter_shifted_offset_s16): Likewise.
18720 (vstrhq_scatter_shifted_offset_u32): Likewise.
18721 (vstrhq_scatter_shifted_offset_u16): Likewise.
18722 (vstrhq_scatter_shifted_offset_p_s32): Likewise.
18723 (vstrhq_scatter_shifted_offset_p_s16): Likewise.
18724 (vstrhq_scatter_shifted_offset_p_u32): Likewise.
18725 (vstrhq_scatter_shifted_offset_p_u16): Likewise.
18726 (vstrhq_s32): Likewise.
18727 (vstrhq_s16): Likewise.
18728 (vstrhq_u32): Likewise.
18729 (vstrhq_u16): Likewise.
18730 (vstrhq_p_f16): Likewise.
18731 (vstrhq_p_s32): Likewise.
18732 (vstrhq_p_s16): Likewise.
18733 (vstrhq_p_u32): Likewise.
18734 (vstrhq_p_u16): Likewise.
18735 (vstrwq_f32): Likewise.
18736 (vstrwq_s32): Likewise.
18737 (vstrwq_u32): Likewise.
18738 (vstrwq_p_f32): Likewise.
18739 (vstrwq_p_s32): Likewise.
18740 (vstrwq_p_u32): Likewise.
18741 (__arm_vst1q_s8): Define intrinsic.
18742 (__arm_vst1q_s32): Likewise.
18743 (__arm_vst1q_s16): Likewise.
18744 (__arm_vst1q_u8): Likewise.
18745 (__arm_vst1q_u32): Likewise.
18746 (__arm_vst1q_u16): Likewise.
18747 (__arm_vstrhq_scatter_offset_s32): Likewise.
18748 (__arm_vstrhq_scatter_offset_s16): Likewise.
18749 (__arm_vstrhq_scatter_offset_u32): Likewise.
18750 (__arm_vstrhq_scatter_offset_u16): Likewise.
18751 (__arm_vstrhq_scatter_offset_p_s32): Likewise.
18752 (__arm_vstrhq_scatter_offset_p_s16): Likewise.
18753 (__arm_vstrhq_scatter_offset_p_u32): Likewise.
18754 (__arm_vstrhq_scatter_offset_p_u16): Likewise.
18755 (__arm_vstrhq_scatter_shifted_offset_s32): Likewise.
18756 (__arm_vstrhq_scatter_shifted_offset_s16): Likewise.
18757 (__arm_vstrhq_scatter_shifted_offset_u32): Likewise.
18758 (__arm_vstrhq_scatter_shifted_offset_u16): Likewise.
18759 (__arm_vstrhq_scatter_shifted_offset_p_s32): Likewise.
18760 (__arm_vstrhq_scatter_shifted_offset_p_s16): Likewise.
18761 (__arm_vstrhq_scatter_shifted_offset_p_u32): Likewise.
18762 (__arm_vstrhq_scatter_shifted_offset_p_u16): Likewise.
18763 (__arm_vstrhq_s32): Likewise.
18764 (__arm_vstrhq_s16): Likewise.
18765 (__arm_vstrhq_u32): Likewise.
18766 (__arm_vstrhq_u16): Likewise.
18767 (__arm_vstrhq_p_s32): Likewise.
18768 (__arm_vstrhq_p_s16): Likewise.
18769 (__arm_vstrhq_p_u32): Likewise.
18770 (__arm_vstrhq_p_u16): Likewise.
18771 (__arm_vstrwq_s32): Likewise.
18772 (__arm_vstrwq_u32): Likewise.
18773 (__arm_vstrwq_p_s32): Likewise.
18774 (__arm_vstrwq_p_u32): Likewise.
18775 (__arm_vstrwq_p_f32): Likewise.
18776 (__arm_vstrwq_f32): Likewise.
18777 (__arm_vst1q_f32): Likewise.
18778 (__arm_vst1q_f16): Likewise.
18779 (__arm_vstrhq_f16): Likewise.
18780 (__arm_vstrhq_p_f16): Likewise.
18781 (vst1q): Define polymorphic variant.
18782 (vstrhq): Likewise.
18783 (vstrhq_p): Likewise.
18784 (vstrhq_scatter_offset_p): Likewise.
18785 (vstrhq_scatter_offset): Likewise.
18786 (vstrhq_scatter_shifted_offset_p): Likewise.
18787 (vstrhq_scatter_shifted_offset): Likewise.
18788 (vstrwq_p): Likewise.
18789 (vstrwq): Likewise.
18790 * config/arm/arm_mve_builtins.def (STRS): Use builtin qualifier.
18791 (STRS_P): Likewise.
18793 (STRSS_P): Likewise.
18795 (STRSU_P): Likewise.
18797 (STRU_P): Likewise.
18798 * config/arm/mve.md (VST1Q): Define iterator.
18799 (VSTRHSOQ): Likewise.
18800 (VSTRHSSOQ): Likewise.
18801 (VSTRHQ): Likewise.
18802 (VSTRWQ): Likewise.
18803 (mve_vstrhq_fv8hf): Define RTL pattern.
18804 (mve_vstrhq_p_fv8hf): Likewise.
18805 (mve_vstrhq_p_<supf><mode>): Likewise.
18806 (mve_vstrhq_scatter_offset_p_<supf><mode>): Likewise.
18807 (mve_vstrhq_scatter_offset_<supf><mode>): Likewise.
18808 (mve_vstrhq_scatter_shifted_offset_p_<supf><mode>): Likewise.
18809 (mve_vstrhq_scatter_shifted_offset_<supf><mode>): Likewise.
18810 (mve_vstrhq_<supf><mode>): Likewise.
18811 (mve_vstrwq_fv4sf): Likewise.
18812 (mve_vstrwq_p_fv4sf): Likewise.
18813 (mve_vstrwq_p_<supf>v4si): Likewise.
18814 (mve_vstrwq_<supf>v4si): Likewise.
18815 (mve_vst1q_f<mode>): Define expand.
18816 (mve_vst1q_<supf><mode>): Likewise.
18818 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
18819 Mihail Ionescu <mihail.ionescu@arm.com>
18820 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
18822 * config/arm/arm_mve.h (vld1q_s8): Define macro.
18823 (vld1q_s32): Likewise.
18824 (vld1q_s16): Likewise.
18825 (vld1q_u8): Likewise.
18826 (vld1q_u32): Likewise.
18827 (vld1q_u16): Likewise.
18828 (vldrhq_gather_offset_s32): Likewise.
18829 (vldrhq_gather_offset_s16): Likewise.
18830 (vldrhq_gather_offset_u32): Likewise.
18831 (vldrhq_gather_offset_u16): Likewise.
18832 (vldrhq_gather_offset_z_s32): Likewise.
18833 (vldrhq_gather_offset_z_s16): Likewise.
18834 (vldrhq_gather_offset_z_u32): Likewise.
18835 (vldrhq_gather_offset_z_u16): Likewise.
18836 (vldrhq_gather_shifted_offset_s32): Likewise.
18837 (vldrhq_gather_shifted_offset_s16): Likewise.
18838 (vldrhq_gather_shifted_offset_u32): Likewise.
18839 (vldrhq_gather_shifted_offset_u16): Likewise.
18840 (vldrhq_gather_shifted_offset_z_s32): Likewise.
18841 (vldrhq_gather_shifted_offset_z_s16): Likewise.
18842 (vldrhq_gather_shifted_offset_z_u32): Likewise.
18843 (vldrhq_gather_shifted_offset_z_u16): Likewise.
18844 (vldrhq_s32): Likewise.
18845 (vldrhq_s16): Likewise.
18846 (vldrhq_u32): Likewise.
18847 (vldrhq_u16): Likewise.
18848 (vldrhq_z_s32): Likewise.
18849 (vldrhq_z_s16): Likewise.
18850 (vldrhq_z_u32): Likewise.
18851 (vldrhq_z_u16): Likewise.
18852 (vldrwq_s32): Likewise.
18853 (vldrwq_u32): Likewise.
18854 (vldrwq_z_s32): Likewise.
18855 (vldrwq_z_u32): Likewise.
18856 (vld1q_f32): Likewise.
18857 (vld1q_f16): Likewise.
18858 (vldrhq_f16): Likewise.
18859 (vldrhq_z_f16): Likewise.
18860 (vldrwq_f32): Likewise.
18861 (vldrwq_z_f32): Likewise.
18862 (__arm_vld1q_s8): Define intrinsic.
18863 (__arm_vld1q_s32): Likewise.
18864 (__arm_vld1q_s16): Likewise.
18865 (__arm_vld1q_u8): Likewise.
18866 (__arm_vld1q_u32): Likewise.
18867 (__arm_vld1q_u16): Likewise.
18868 (__arm_vldrhq_gather_offset_s32): Likewise.
18869 (__arm_vldrhq_gather_offset_s16): Likewise.
18870 (__arm_vldrhq_gather_offset_u32): Likewise.
18871 (__arm_vldrhq_gather_offset_u16): Likewise.
18872 (__arm_vldrhq_gather_offset_z_s32): Likewise.
18873 (__arm_vldrhq_gather_offset_z_s16): Likewise.
18874 (__arm_vldrhq_gather_offset_z_u32): Likewise.
18875 (__arm_vldrhq_gather_offset_z_u16): Likewise.
18876 (__arm_vldrhq_gather_shifted_offset_s32): Likewise.
18877 (__arm_vldrhq_gather_shifted_offset_s16): Likewise.
18878 (__arm_vldrhq_gather_shifted_offset_u32): Likewise.
18879 (__arm_vldrhq_gather_shifted_offset_u16): Likewise.
18880 (__arm_vldrhq_gather_shifted_offset_z_s32): Likewise.
18881 (__arm_vldrhq_gather_shifted_offset_z_s16): Likewise.
18882 (__arm_vldrhq_gather_shifted_offset_z_u32): Likewise.
18883 (__arm_vldrhq_gather_shifted_offset_z_u16): Likewise.
18884 (__arm_vldrhq_s32): Likewise.
18885 (__arm_vldrhq_s16): Likewise.
18886 (__arm_vldrhq_u32): Likewise.
18887 (__arm_vldrhq_u16): Likewise.
18888 (__arm_vldrhq_z_s32): Likewise.
18889 (__arm_vldrhq_z_s16): Likewise.
18890 (__arm_vldrhq_z_u32): Likewise.
18891 (__arm_vldrhq_z_u16): Likewise.
18892 (__arm_vldrwq_s32): Likewise.
18893 (__arm_vldrwq_u32): Likewise.
18894 (__arm_vldrwq_z_s32): Likewise.
18895 (__arm_vldrwq_z_u32): Likewise.
18896 (__arm_vld1q_f32): Likewise.
18897 (__arm_vld1q_f16): Likewise.
18898 (__arm_vldrwq_f32): Likewise.
18899 (__arm_vldrwq_z_f32): Likewise.
18900 (__arm_vldrhq_z_f16): Likewise.
18901 (__arm_vldrhq_f16): Likewise.
18902 (vld1q): Define polymorphic variant.
18903 (vldrhq_gather_offset): Likewise.
18904 (vldrhq_gather_offset_z): Likewise.
18905 (vldrhq_gather_shifted_offset): Likewise.
18906 (vldrhq_gather_shifted_offset_z): Likewise.
18907 * config/arm/arm_mve_builtins.def (LDRU): Use builtin qualifier.
18909 (LDRU_Z): Likewise.
18910 (LDRS_Z): Likewise.
18911 (LDRGU_Z): Likewise.
18913 (LDRGS_Z): Likewise.
18915 * config/arm/mve.md (MVE_H_ELEM): Define mode iterator.
18916 (V_sz_elem1): Likewise.
18917 (VLD1Q): Define iterator.
18918 (VLDRHGOQ): Likewise.
18919 (VLDRHGSOQ): Likewise.
18920 (VLDRHQ): Likewise.
18921 (VLDRWQ): Likewise.
18922 (mve_vldrhq_fv8hf): Define RTL pattern.
18923 (mve_vldrhq_gather_offset_<supf><mode>): Likewise.
18924 (mve_vldrhq_gather_offset_z_<supf><mode>): Likewise.
18925 (mve_vldrhq_gather_shifted_offset_<supf><mode>): Likewise.
18926 (mve_vldrhq_gather_shifted_offset_z_<supf><mode>): Likewise.
18927 (mve_vldrhq_<supf><mode>): Likewise.
18928 (mve_vldrhq_z_fv8hf): Likewise.
18929 (mve_vldrhq_z_<supf><mode>): Likewise.
18930 (mve_vldrwq_fv4sf): Likewise.
18931 (mve_vldrwq_<supf>v4si): Likewise.
18932 (mve_vldrwq_z_fv4sf): Likewise.
18933 (mve_vldrwq_z_<supf>v4si): Likewise.
18934 (mve_vld1q_f<mode>): Define RTL expand pattern.
18935 (mve_vld1q_<supf><mode>): Likewise.
18937 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
18938 Mihail Ionescu <mihail.ionescu@arm.com>
18939 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
18941 * config/arm/arm_mve.h (vld1q_s8): Define macro.
18942 (vld1q_s32): Likewise.
18943 (vld1q_s16): Likewise.
18944 (vld1q_u8): Likewise.
18945 (vld1q_u32): Likewise.
18946 (vld1q_u16): Likewise.
18947 (vldrhq_gather_offset_s32): Likewise.
18948 (vldrhq_gather_offset_s16): Likewise.
18949 (vldrhq_gather_offset_u32): Likewise.
18950 (vldrhq_gather_offset_u16): Likewise.
18951 (vldrhq_gather_offset_z_s32): Likewise.
18952 (vldrhq_gather_offset_z_s16): Likewise.
18953 (vldrhq_gather_offset_z_u32): Likewise.
18954 (vldrhq_gather_offset_z_u16): Likewise.
18955 (vldrhq_gather_shifted_offset_s32): Likewise.
18956 (vldrhq_gather_shifted_offset_s16): Likewise.
18957 (vldrhq_gather_shifted_offset_u32): Likewise.
18958 (vldrhq_gather_shifted_offset_u16): Likewise.
18959 (vldrhq_gather_shifted_offset_z_s32): Likewise.
18960 (vldrhq_gather_shifted_offset_z_s16): Likewise.
18961 (vldrhq_gather_shifted_offset_z_u32): Likewise.
18962 (vldrhq_gather_shifted_offset_z_u16): Likewise.
18963 (vldrhq_s32): Likewise.
18964 (vldrhq_s16): Likewise.
18965 (vldrhq_u32): Likewise.
18966 (vldrhq_u16): Likewise.
18967 (vldrhq_z_s32): Likewise.
18968 (vldrhq_z_s16): Likewise.
18969 (vldrhq_z_u32): Likewise.
18970 (vldrhq_z_u16): Likewise.
18971 (vldrwq_s32): Likewise.
18972 (vldrwq_u32): Likewise.
18973 (vldrwq_z_s32): Likewise.
18974 (vldrwq_z_u32): Likewise.
18975 (vld1q_f32): Likewise.
18976 (vld1q_f16): Likewise.
18977 (vldrhq_f16): Likewise.
18978 (vldrhq_z_f16): Likewise.
18979 (vldrwq_f32): Likewise.
18980 (vldrwq_z_f32): Likewise.
18981 (__arm_vld1q_s8): Define intrinsic.
18982 (__arm_vld1q_s32): Likewise.
18983 (__arm_vld1q_s16): Likewise.
18984 (__arm_vld1q_u8): Likewise.
18985 (__arm_vld1q_u32): Likewise.
18986 (__arm_vld1q_u16): Likewise.
18987 (__arm_vldrhq_gather_offset_s32): Likewise.
18988 (__arm_vldrhq_gather_offset_s16): Likewise.
18989 (__arm_vldrhq_gather_offset_u32): Likewise.
18990 (__arm_vldrhq_gather_offset_u16): Likewise.
18991 (__arm_vldrhq_gather_offset_z_s32): Likewise.
18992 (__arm_vldrhq_gather_offset_z_s16): Likewise.
18993 (__arm_vldrhq_gather_offset_z_u32): Likewise.
18994 (__arm_vldrhq_gather_offset_z_u16): Likewise.
18995 (__arm_vldrhq_gather_shifted_offset_s32): Likewise.
18996 (__arm_vldrhq_gather_shifted_offset_s16): Likewise.
18997 (__arm_vldrhq_gather_shifted_offset_u32): Likewise.
18998 (__arm_vldrhq_gather_shifted_offset_u16): Likewise.
18999 (__arm_vldrhq_gather_shifted_offset_z_s32): Likewise.
19000 (__arm_vldrhq_gather_shifted_offset_z_s16): Likewise.
19001 (__arm_vldrhq_gather_shifted_offset_z_u32): Likewise.
19002 (__arm_vldrhq_gather_shifted_offset_z_u16): Likewise.
19003 (__arm_vldrhq_s32): Likewise.
19004 (__arm_vldrhq_s16): Likewise.
19005 (__arm_vldrhq_u32): Likewise.
19006 (__arm_vldrhq_u16): Likewise.
19007 (__arm_vldrhq_z_s32): Likewise.
19008 (__arm_vldrhq_z_s16): Likewise.
19009 (__arm_vldrhq_z_u32): Likewise.
19010 (__arm_vldrhq_z_u16): Likewise.
19011 (__arm_vldrwq_s32): Likewise.
19012 (__arm_vldrwq_u32): Likewise.
19013 (__arm_vldrwq_z_s32): Likewise.
19014 (__arm_vldrwq_z_u32): Likewise.
19015 (__arm_vld1q_f32): Likewise.
19016 (__arm_vld1q_f16): Likewise.
19017 (__arm_vldrwq_f32): Likewise.
19018 (__arm_vldrwq_z_f32): Likewise.
19019 (__arm_vldrhq_z_f16): Likewise.
19020 (__arm_vldrhq_f16): Likewise.
19021 (vld1q): Define polymorphic variant.
19022 (vldrhq_gather_offset): Likewise.
19023 (vldrhq_gather_offset_z): Likewise.
19024 (vldrhq_gather_shifted_offset): Likewise.
19025 (vldrhq_gather_shifted_offset_z): Likewise.
19026 * config/arm/arm_mve_builtins.def (LDRU): Use builtin qualifier.
19028 (LDRU_Z): Likewise.
19029 (LDRS_Z): Likewise.
19030 (LDRGU_Z): Likewise.
19032 (LDRGS_Z): Likewise.
19034 * config/arm/mve.md (MVE_H_ELEM): Define mode iterator.
19035 (V_sz_elem1): Likewise.
19036 (VLD1Q): Define iterator.
19037 (VLDRHGOQ): Likewise.
19038 (VLDRHGSOQ): Likewise.
19039 (VLDRHQ): Likewise.
19040 (VLDRWQ): Likewise.
19041 (mve_vldrhq_fv8hf): Define RTL pattern.
19042 (mve_vldrhq_gather_offset_<supf><mode>): Likewise.
19043 (mve_vldrhq_gather_offset_z_<supf><mode>): Likewise.
19044 (mve_vldrhq_gather_shifted_offset_<supf><mode>): Likewise.
19045 (mve_vldrhq_gather_shifted_offset_z_<supf><mode>): Likewise.
19046 (mve_vldrhq_<supf><mode>): Likewise.
19047 (mve_vldrhq_z_fv8hf): Likewise.
19048 (mve_vldrhq_z_<supf><mode>): Likewise.
19049 (mve_vldrwq_fv4sf): Likewise.
19050 (mve_vldrwq_<supf>v4si): Likewise.
19051 (mve_vldrwq_z_fv4sf): Likewise.
19052 (mve_vldrwq_z_<supf>v4si): Likewise.
19053 (mve_vld1q_f<mode>): Define RTL expand pattern.
19054 (mve_vld1q_<supf><mode>): Likewise.
19056 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
19057 Mihail Ionescu <mihail.ionescu@arm.com>
19058 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
19060 * config/arm/arm-builtins.c (LDRGBS_Z_QUALIFIERS): Define builtin
19062 (LDRGBU_Z_QUALIFIERS): Likewise.
19063 (LDRGS_Z_QUALIFIERS): Likewise.
19064 (LDRGU_Z_QUALIFIERS): Likewise.
19065 (LDRS_Z_QUALIFIERS): Likewise.
19066 (LDRU_Z_QUALIFIERS): Likewise.
19067 * config/arm/arm_mve.h (vldrbq_gather_offset_z_s16): Define macro.
19068 (vldrbq_gather_offset_z_u8): Likewise.
19069 (vldrbq_gather_offset_z_s32): Likewise.
19070 (vldrbq_gather_offset_z_u16): Likewise.
19071 (vldrbq_gather_offset_z_u32): Likewise.
19072 (vldrbq_gather_offset_z_s8): Likewise.
19073 (vldrbq_z_s16): Likewise.
19074 (vldrbq_z_u8): Likewise.
19075 (vldrbq_z_s8): Likewise.
19076 (vldrbq_z_s32): Likewise.
19077 (vldrbq_z_u16): Likewise.
19078 (vldrbq_z_u32): Likewise.
19079 (vldrwq_gather_base_z_u32): Likewise.
19080 (vldrwq_gather_base_z_s32): Likewise.
19081 (__arm_vldrbq_gather_offset_z_s8): Define intrinsic.
19082 (__arm_vldrbq_gather_offset_z_s32): Likewise.
19083 (__arm_vldrbq_gather_offset_z_s16): Likewise.
19084 (__arm_vldrbq_gather_offset_z_u8): Likewise.
19085 (__arm_vldrbq_gather_offset_z_u32): Likewise.
19086 (__arm_vldrbq_gather_offset_z_u16): Likewise.
19087 (__arm_vldrbq_z_s8): Likewise.
19088 (__arm_vldrbq_z_s32): Likewise.
19089 (__arm_vldrbq_z_s16): Likewise.
19090 (__arm_vldrbq_z_u8): Likewise.
19091 (__arm_vldrbq_z_u32): Likewise.
19092 (__arm_vldrbq_z_u16): Likewise.
19093 (__arm_vldrwq_gather_base_z_s32): Likewise.
19094 (__arm_vldrwq_gather_base_z_u32): Likewise.
19095 (vldrbq_gather_offset_z): Define polymorphic variant.
19096 * config/arm/arm_mve_builtins.def (LDRGBS_Z_QUALIFIERS): Use builtin
19098 (LDRGBU_Z_QUALIFIERS): Likewise.
19099 (LDRGS_Z_QUALIFIERS): Likewise.
19100 (LDRGU_Z_QUALIFIERS): Likewise.
19101 (LDRS_Z_QUALIFIERS): Likewise.
19102 (LDRU_Z_QUALIFIERS): Likewise.
19103 * config/arm/mve.md (mve_vldrbq_gather_offset_z_<supf><mode>): Define
19105 (mve_vldrbq_z_<supf><mode>): Likewise.
19106 (mve_vldrwq_gather_base_z_<supf>v4si): Likewise.
19108 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
19109 Mihail Ionescu <mihail.ionescu@arm.com>
19110 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
19112 * config/arm/arm-builtins.c (STRS_P_QUALIFIERS): Define builtin
19114 (STRU_P_QUALIFIERS): Likewise.
19115 (STRSU_P_QUALIFIERS): Likewise.
19116 (STRSS_P_QUALIFIERS): Likewise.
19117 (STRSBS_P_QUALIFIERS): Likewise.
19118 (STRSBU_P_QUALIFIERS): Likewise.
19119 * config/arm/arm_mve.h (vstrbq_p_s8): Define macro.
19120 (vstrbq_p_s32): Likewise.
19121 (vstrbq_p_s16): Likewise.
19122 (vstrbq_p_u8): Likewise.
19123 (vstrbq_p_u32): Likewise.
19124 (vstrbq_p_u16): Likewise.
19125 (vstrbq_scatter_offset_p_s8): Likewise.
19126 (vstrbq_scatter_offset_p_s32): Likewise.
19127 (vstrbq_scatter_offset_p_s16): Likewise.
19128 (vstrbq_scatter_offset_p_u8): Likewise.
19129 (vstrbq_scatter_offset_p_u32): Likewise.
19130 (vstrbq_scatter_offset_p_u16): Likewise.
19131 (vstrwq_scatter_base_p_s32): Likewise.
19132 (vstrwq_scatter_base_p_u32): Likewise.
19133 (__arm_vstrbq_p_s8): Define intrinsic.
19134 (__arm_vstrbq_p_s32): Likewise.
19135 (__arm_vstrbq_p_s16): Likewise.
19136 (__arm_vstrbq_p_u8): Likewise.
19137 (__arm_vstrbq_p_u32): Likewise.
19138 (__arm_vstrbq_p_u16): Likewise.
19139 (__arm_vstrbq_scatter_offset_p_s8): Likewise.
19140 (__arm_vstrbq_scatter_offset_p_s32): Likewise.
19141 (__arm_vstrbq_scatter_offset_p_s16): Likewise.
19142 (__arm_vstrbq_scatter_offset_p_u8): Likewise.
19143 (__arm_vstrbq_scatter_offset_p_u32): Likewise.
19144 (__arm_vstrbq_scatter_offset_p_u16): Likewise.
19145 (__arm_vstrwq_scatter_base_p_s32): Likewise.
19146 (__arm_vstrwq_scatter_base_p_u32): Likewise.
19147 (vstrbq_p): Define polymorphic variant.
19148 (vstrbq_scatter_offset_p): Likewise.
19149 (vstrwq_scatter_base_p): Likewise.
19150 * config/arm/arm_mve_builtins.def (STRS_P_QUALIFIERS): Use builtin
19152 (STRU_P_QUALIFIERS): Likewise.
19153 (STRSU_P_QUALIFIERS): Likewise.
19154 (STRSS_P_QUALIFIERS): Likewise.
19155 (STRSBS_P_QUALIFIERS): Likewise.
19156 (STRSBU_P_QUALIFIERS): Likewise.
19157 * config/arm/mve.md (mve_vstrbq_scatter_offset_p_<supf><mode>): Define
19159 (mve_vstrwq_scatter_base_p_<supf>v4si): Likewise.
19160 (mve_vstrbq_p_<supf><mode>): Likewise.
19162 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
19163 Mihail Ionescu <mihail.ionescu@arm.com>
19164 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
19166 * config/arm/arm-builtins.c (LDRGU_QUALIFIERS): Define builtin
19168 (LDRGS_QUALIFIERS): Likewise.
19169 (LDRS_QUALIFIERS): Likewise.
19170 (LDRU_QUALIFIERS): Likewise.
19171 (LDRGBS_QUALIFIERS): Likewise.
19172 (LDRGBU_QUALIFIERS): Likewise.
19173 * config/arm/arm_mve.h (vldrbq_gather_offset_u8): Define macro.
19174 (vldrbq_gather_offset_s8): Likewise.
19175 (vldrbq_s8): Likewise.
19176 (vldrbq_u8): Likewise.
19177 (vldrbq_gather_offset_u16): Likewise.
19178 (vldrbq_gather_offset_s16): Likewise.
19179 (vldrbq_s16): Likewise.
19180 (vldrbq_u16): Likewise.
19181 (vldrbq_gather_offset_u32): Likewise.
19182 (vldrbq_gather_offset_s32): Likewise.
19183 (vldrbq_s32): Likewise.
19184 (vldrbq_u32): Likewise.
19185 (vldrwq_gather_base_s32): Likewise.
19186 (vldrwq_gather_base_u32): Likewise.
19187 (__arm_vldrbq_gather_offset_u8): Define intrinsic.
19188 (__arm_vldrbq_gather_offset_s8): Likewise.
19189 (__arm_vldrbq_s8): Likewise.
19190 (__arm_vldrbq_u8): Likewise.
19191 (__arm_vldrbq_gather_offset_u16): Likewise.
19192 (__arm_vldrbq_gather_offset_s16): Likewise.
19193 (__arm_vldrbq_s16): Likewise.
19194 (__arm_vldrbq_u16): Likewise.
19195 (__arm_vldrbq_gather_offset_u32): Likewise.
19196 (__arm_vldrbq_gather_offset_s32): Likewise.
19197 (__arm_vldrbq_s32): Likewise.
19198 (__arm_vldrbq_u32): Likewise.
19199 (__arm_vldrwq_gather_base_s32): Likewise.
19200 (__arm_vldrwq_gather_base_u32): Likewise.
19201 (vldrbq_gather_offset): Define polymorphic variant.
19202 * config/arm/arm_mve_builtins.def (LDRGU_QUALIFIERS): Use builtin
19204 (LDRGS_QUALIFIERS): Likewise.
19205 (LDRS_QUALIFIERS): Likewise.
19206 (LDRU_QUALIFIERS): Likewise.
19207 (LDRGBS_QUALIFIERS): Likewise.
19208 (LDRGBU_QUALIFIERS): Likewise.
19209 * config/arm/mve.md (VLDRBGOQ): Define iterator.
19210 (VLDRBQ): Likewise.
19211 (VLDRWGBQ): Likewise.
19212 (mve_vldrbq_gather_offset_<supf><mode>): Define RTL pattern.
19213 (mve_vldrbq_<supf><mode>): Likewise.
19214 (mve_vldrwq_gather_base_<supf>v4si): Likewise.
19216 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
19217 Mihail Ionescu <mihail.ionescu@arm.com>
19218 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
19220 * config/arm/arm-builtins.c (STRS_QUALIFIERS): Define builtin qualifier.
19221 (STRU_QUALIFIERS): Likewise.
19222 (STRSS_QUALIFIERS): Likewise.
19223 (STRSU_QUALIFIERS): Likewise.
19224 (STRSBS_QUALIFIERS): Likewise.
19225 (STRSBU_QUALIFIERS): Likewise.
19226 * config/arm/arm_mve.h (vstrbq_s8): Define macro.
19227 (vstrbq_u8): Likewise.
19228 (vstrbq_u16): Likewise.
19229 (vstrbq_scatter_offset_s8): Likewise.
19230 (vstrbq_scatter_offset_u8): Likewise.
19231 (vstrbq_scatter_offset_u16): Likewise.
19232 (vstrbq_s16): Likewise.
19233 (vstrbq_u32): Likewise.
19234 (vstrbq_scatter_offset_s16): Likewise.
19235 (vstrbq_scatter_offset_u32): Likewise.
19236 (vstrbq_s32): Likewise.
19237 (vstrbq_scatter_offset_s32): Likewise.
19238 (vstrwq_scatter_base_s32): Likewise.
19239 (vstrwq_scatter_base_u32): Likewise.
19240 (__arm_vstrbq_scatter_offset_s8): Define intrinsic.
19241 (__arm_vstrbq_scatter_offset_s32): Likewise.
19242 (__arm_vstrbq_scatter_offset_s16): Likewise.
19243 (__arm_vstrbq_scatter_offset_u8): Likewise.
19244 (__arm_vstrbq_scatter_offset_u32): Likewise.
19245 (__arm_vstrbq_scatter_offset_u16): Likewise.
19246 (__arm_vstrbq_s8): Likewise.
19247 (__arm_vstrbq_s32): Likewise.
19248 (__arm_vstrbq_s16): Likewise.
19249 (__arm_vstrbq_u8): Likewise.
19250 (__arm_vstrbq_u32): Likewise.
19251 (__arm_vstrbq_u16): Likewise.
19252 (__arm_vstrwq_scatter_base_s32): Likewise.
19253 (__arm_vstrwq_scatter_base_u32): Likewise.
19254 (vstrbq): Define polymorphic variant.
19255 (vstrbq_scatter_offset): Likewise.
19256 (vstrwq_scatter_base): Likewise.
19257 * config/arm/arm_mve_builtins.def (STRS_QUALIFIERS): Use builtin
19259 (STRU_QUALIFIERS): Likewise.
19260 (STRSS_QUALIFIERS): Likewise.
19261 (STRSU_QUALIFIERS): Likewise.
19262 (STRSBS_QUALIFIERS): Likewise.
19263 (STRSBU_QUALIFIERS): Likewise.
19264 * config/arm/mve.md (MVE_B_ELEM): Define mode attribute iterator.
19265 (VSTRWSBQ): Define iterators.
19266 (VSTRBSOQ): Likewise.
19267 (VSTRBQ): Likewise.
19268 (mve_vstrbq_<supf><mode>): Define RTL pattern.
19269 (mve_vstrbq_scatter_offset_<supf><mode>): Likewise.
19270 (mve_vstrwq_scatter_base_<supf>v4si): Likewise.
19272 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
19273 Mihail Ionescu <mihail.ionescu@arm.com>
19274 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
19276 * config/arm/arm_mve.h (vabdq_m_f32): Define macro.
19277 (vabdq_m_f16): Likewise.
19278 (vaddq_m_f32): Likewise.
19279 (vaddq_m_f16): Likewise.
19280 (vaddq_m_n_f32): Likewise.
19281 (vaddq_m_n_f16): Likewise.
19282 (vandq_m_f32): Likewise.
19283 (vandq_m_f16): Likewise.
19284 (vbicq_m_f32): Likewise.
19285 (vbicq_m_f16): Likewise.
19286 (vbrsrq_m_n_f32): Likewise.
19287 (vbrsrq_m_n_f16): Likewise.
19288 (vcaddq_rot270_m_f32): Likewise.
19289 (vcaddq_rot270_m_f16): Likewise.
19290 (vcaddq_rot90_m_f32): Likewise.
19291 (vcaddq_rot90_m_f16): Likewise.
19292 (vcmlaq_m_f32): Likewise.
19293 (vcmlaq_m_f16): Likewise.
19294 (vcmlaq_rot180_m_f32): Likewise.
19295 (vcmlaq_rot180_m_f16): Likewise.
19296 (vcmlaq_rot270_m_f32): Likewise.
19297 (vcmlaq_rot270_m_f16): Likewise.
19298 (vcmlaq_rot90_m_f32): Likewise.
19299 (vcmlaq_rot90_m_f16): Likewise.
19300 (vcmulq_m_f32): Likewise.
19301 (vcmulq_m_f16): Likewise.
19302 (vcmulq_rot180_m_f32): Likewise.
19303 (vcmulq_rot180_m_f16): Likewise.
19304 (vcmulq_rot270_m_f32): Likewise.
19305 (vcmulq_rot270_m_f16): Likewise.
19306 (vcmulq_rot90_m_f32): Likewise.
19307 (vcmulq_rot90_m_f16): Likewise.
19308 (vcvtq_m_n_s32_f32): Likewise.
19309 (vcvtq_m_n_s16_f16): Likewise.
19310 (vcvtq_m_n_u32_f32): Likewise.
19311 (vcvtq_m_n_u16_f16): Likewise.
19312 (veorq_m_f32): Likewise.
19313 (veorq_m_f16): Likewise.
19314 (vfmaq_m_f32): Likewise.
19315 (vfmaq_m_f16): Likewise.
19316 (vfmaq_m_n_f32): Likewise.
19317 (vfmaq_m_n_f16): Likewise.
19318 (vfmasq_m_n_f32): Likewise.
19319 (vfmasq_m_n_f16): Likewise.
19320 (vfmsq_m_f32): Likewise.
19321 (vfmsq_m_f16): Likewise.
19322 (vmaxnmq_m_f32): Likewise.
19323 (vmaxnmq_m_f16): Likewise.
19324 (vminnmq_m_f32): Likewise.
19325 (vminnmq_m_f16): Likewise.
19326 (vmulq_m_f32): Likewise.
19327 (vmulq_m_f16): Likewise.
19328 (vmulq_m_n_f32): Likewise.
19329 (vmulq_m_n_f16): Likewise.
19330 (vornq_m_f32): Likewise.
19331 (vornq_m_f16): Likewise.
19332 (vorrq_m_f32): Likewise.
19333 (vorrq_m_f16): Likewise.
19334 (vsubq_m_f32): Likewise.
19335 (vsubq_m_f16): Likewise.
19336 (vsubq_m_n_f32): Likewise.
19337 (vsubq_m_n_f16): Likewise.
19338 (__attribute__): Likewise.
19339 (__arm_vabdq_m_f32): Likewise.
19340 (__arm_vabdq_m_f16): Likewise.
19341 (__arm_vaddq_m_f32): Likewise.
19342 (__arm_vaddq_m_f16): Likewise.
19343 (__arm_vaddq_m_n_f32): Likewise.
19344 (__arm_vaddq_m_n_f16): Likewise.
19345 (__arm_vandq_m_f32): Likewise.
19346 (__arm_vandq_m_f16): Likewise.
19347 (__arm_vbicq_m_f32): Likewise.
19348 (__arm_vbicq_m_f16): Likewise.
19349 (__arm_vbrsrq_m_n_f32): Likewise.
19350 (__arm_vbrsrq_m_n_f16): Likewise.
19351 (__arm_vcaddq_rot270_m_f32): Likewise.
19352 (__arm_vcaddq_rot270_m_f16): Likewise.
19353 (__arm_vcaddq_rot90_m_f32): Likewise.
19354 (__arm_vcaddq_rot90_m_f16): Likewise.
19355 (__arm_vcmlaq_m_f32): Likewise.
19356 (__arm_vcmlaq_m_f16): Likewise.
19357 (__arm_vcmlaq_rot180_m_f32): Likewise.
19358 (__arm_vcmlaq_rot180_m_f16): Likewise.
19359 (__arm_vcmlaq_rot270_m_f32): Likewise.
19360 (__arm_vcmlaq_rot270_m_f16): Likewise.
19361 (__arm_vcmlaq_rot90_m_f32): Likewise.
19362 (__arm_vcmlaq_rot90_m_f16): Likewise.
19363 (__arm_vcmulq_m_f32): Likewise.
19364 (__arm_vcmulq_m_f16): Likewise.
19365 (__arm_vcmulq_rot180_m_f32): Define intrinsic.
19366 (__arm_vcmulq_rot180_m_f16): Likewise.
19367 (__arm_vcmulq_rot270_m_f32): Likewise.
19368 (__arm_vcmulq_rot270_m_f16): Likewise.
19369 (__arm_vcmulq_rot90_m_f32): Likewise.
19370 (__arm_vcmulq_rot90_m_f16): Likewise.
19371 (__arm_vcvtq_m_n_s32_f32): Likewise.
19372 (__arm_vcvtq_m_n_s16_f16): Likewise.
19373 (__arm_vcvtq_m_n_u32_f32): Likewise.
19374 (__arm_vcvtq_m_n_u16_f16): Likewise.
19375 (__arm_veorq_m_f32): Likewise.
19376 (__arm_veorq_m_f16): Likewise.
19377 (__arm_vfmaq_m_f32): Likewise.
19378 (__arm_vfmaq_m_f16): Likewise.
19379 (__arm_vfmaq_m_n_f32): Likewise.
19380 (__arm_vfmaq_m_n_f16): Likewise.
19381 (__arm_vfmasq_m_n_f32): Likewise.
19382 (__arm_vfmasq_m_n_f16): Likewise.
19383 (__arm_vfmsq_m_f32): Likewise.
19384 (__arm_vfmsq_m_f16): Likewise.
19385 (__arm_vmaxnmq_m_f32): Likewise.
19386 (__arm_vmaxnmq_m_f16): Likewise.
19387 (__arm_vminnmq_m_f32): Likewise.
19388 (__arm_vminnmq_m_f16): Likewise.
19389 (__arm_vmulq_m_f32): Likewise.
19390 (__arm_vmulq_m_f16): Likewise.
19391 (__arm_vmulq_m_n_f32): Likewise.
19392 (__arm_vmulq_m_n_f16): Likewise.
19393 (__arm_vornq_m_f32): Likewise.
19394 (__arm_vornq_m_f16): Likewise.
19395 (__arm_vorrq_m_f32): Likewise.
19396 (__arm_vorrq_m_f16): Likewise.
19397 (__arm_vsubq_m_f32): Likewise.
19398 (__arm_vsubq_m_f16): Likewise.
19399 (__arm_vsubq_m_n_f32): Likewise.
19400 (__arm_vsubq_m_n_f16): Likewise.
19401 (vabdq_m): Define polymorphic variant.
19402 (vaddq_m): Likewise.
19403 (vaddq_m_n): Likewise.
19404 (vandq_m): Likewise.
19405 (vbicq_m): Likewise.
19406 (vbrsrq_m_n): Likewise.
19407 (vcaddq_rot270_m): Likewise.
19408 (vcaddq_rot90_m): Likewise.
19409 (vcmlaq_m): Likewise.
19410 (vcmlaq_rot180_m): Likewise.
19411 (vcmlaq_rot270_m): Likewise.
19412 (vcmlaq_rot90_m): Likewise.
19413 (vcmulq_m): Likewise.
19414 (vcmulq_rot180_m): Likewise.
19415 (vcmulq_rot270_m): Likewise.
19416 (vcmulq_rot90_m): Likewise.
19417 (veorq_m): Likewise.
19418 (vfmaq_m): Likewise.
19419 (vfmaq_m_n): Likewise.
19420 (vfmasq_m_n): Likewise.
19421 (vfmsq_m): Likewise.
19422 (vmaxnmq_m): Likewise.
19423 (vminnmq_m): Likewise.
19424 (vmulq_m): Likewise.
19425 (vmulq_m_n): Likewise.
19426 (vornq_m): Likewise.
19427 (vsubq_m): Likewise.
19428 (vsubq_m_n): Likewise.
19429 (vorrq_m): Likewise.
19430 * config/arm/arm_mve_builtins.def (QUADOP_NONE_NONE_NONE_IMM_UNONE): Use
19432 (QUADOP_NONE_NONE_NONE_NONE_UNONE): Likewise.
19433 (QUADOP_UNONE_UNONE_NONE_IMM_UNONE): Likewise.
19434 * config/arm/mve.md (mve_vabdq_m_f<mode>): Define RTL pattern.
19435 (mve_vaddq_m_f<mode>): Likewise.
19436 (mve_vaddq_m_n_f<mode>): Likewise.
19437 (mve_vandq_m_f<mode>): Likewise.
19438 (mve_vbicq_m_f<mode>): Likewise.
19439 (mve_vbrsrq_m_n_f<mode>): Likewise.
19440 (mve_vcaddq_rot270_m_f<mode>): Likewise.
19441 (mve_vcaddq_rot90_m_f<mode>): Likewise.
19442 (mve_vcmlaq_m_f<mode>): Likewise.
19443 (mve_vcmlaq_rot180_m_f<mode>): Likewise.
19444 (mve_vcmlaq_rot270_m_f<mode>): Likewise.
19445 (mve_vcmlaq_rot90_m_f<mode>): Likewise.
19446 (mve_vcmulq_m_f<mode>): Likewise.
19447 (mve_vcmulq_rot180_m_f<mode>): Likewise.
19448 (mve_vcmulq_rot270_m_f<mode>): Likewise.
19449 (mve_vcmulq_rot90_m_f<mode>): Likewise.
19450 (mve_veorq_m_f<mode>): Likewise.
19451 (mve_vfmaq_m_f<mode>): Likewise.
19452 (mve_vfmaq_m_n_f<mode>): Likewise.
19453 (mve_vfmasq_m_n_f<mode>): Likewise.
19454 (mve_vfmsq_m_f<mode>): Likewise.
19455 (mve_vmaxnmq_m_f<mode>): Likewise.
19456 (mve_vminnmq_m_f<mode>): Likewise.
19457 (mve_vmulq_m_f<mode>): Likewise.
19458 (mve_vmulq_m_n_f<mode>): Likewise.
19459 (mve_vornq_m_f<mode>): Likewise.
19460 (mve_vorrq_m_f<mode>): Likewise.
19461 (mve_vsubq_m_f<mode>): Likewise.
19462 (mve_vsubq_m_n_f<mode>): Likewise.
19464 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
19465 Mihail Ionescu <mihail.ionescu@arm.com>
19466 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
19468 * config/arm/arm-protos.h (arm_mve_immediate_check):
19469 * config/arm/arm.c (arm_mve_immediate_check): Define fuction to check
19470 mode and interger value.
19471 * config/arm/arm_mve.h (vmlaldavaq_p_s32): Define macro.
19472 (vmlaldavaq_p_s16): Likewise.
19473 (vmlaldavaq_p_u32): Likewise.
19474 (vmlaldavaq_p_u16): Likewise.
19475 (vmlaldavaxq_p_s32): Likewise.
19476 (vmlaldavaxq_p_s16): Likewise.
19477 (vmlaldavaxq_p_u32): Likewise.
19478 (vmlaldavaxq_p_u16): Likewise.
19479 (vmlsldavaq_p_s32): Likewise.
19480 (vmlsldavaq_p_s16): Likewise.
19481 (vmlsldavaxq_p_s32): Likewise.
19482 (vmlsldavaxq_p_s16): Likewise.
19483 (vmullbq_poly_m_p8): Likewise.
19484 (vmullbq_poly_m_p16): Likewise.
19485 (vmulltq_poly_m_p8): Likewise.
19486 (vmulltq_poly_m_p16): Likewise.
19487 (vqdmullbq_m_n_s32): Likewise.
19488 (vqdmullbq_m_n_s16): Likewise.
19489 (vqdmullbq_m_s32): Likewise.
19490 (vqdmullbq_m_s16): Likewise.
19491 (vqdmulltq_m_n_s32): Likewise.
19492 (vqdmulltq_m_n_s16): Likewise.
19493 (vqdmulltq_m_s32): Likewise.
19494 (vqdmulltq_m_s16): Likewise.
19495 (vqrshrnbq_m_n_s32): Likewise.
19496 (vqrshrnbq_m_n_s16): Likewise.
19497 (vqrshrnbq_m_n_u32): Likewise.
19498 (vqrshrnbq_m_n_u16): Likewise.
19499 (vqrshrntq_m_n_s32): Likewise.
19500 (vqrshrntq_m_n_s16): Likewise.
19501 (vqrshrntq_m_n_u32): Likewise.
19502 (vqrshrntq_m_n_u16): Likewise.
19503 (vqrshrunbq_m_n_s32): Likewise.
19504 (vqrshrunbq_m_n_s16): Likewise.
19505 (vqrshruntq_m_n_s32): Likewise.
19506 (vqrshruntq_m_n_s16): Likewise.
19507 (vqshrnbq_m_n_s32): Likewise.
19508 (vqshrnbq_m_n_s16): Likewise.
19509 (vqshrnbq_m_n_u32): Likewise.
19510 (vqshrnbq_m_n_u16): Likewise.
19511 (vqshrntq_m_n_s32): Likewise.
19512 (vqshrntq_m_n_s16): Likewise.
19513 (vqshrntq_m_n_u32): Likewise.
19514 (vqshrntq_m_n_u16): Likewise.
19515 (vqshrunbq_m_n_s32): Likewise.
19516 (vqshrunbq_m_n_s16): Likewise.
19517 (vqshruntq_m_n_s32): Likewise.
19518 (vqshruntq_m_n_s16): Likewise.
19519 (vrmlaldavhaq_p_s32): Likewise.
19520 (vrmlaldavhaq_p_u32): Likewise.
19521 (vrmlaldavhaxq_p_s32): Likewise.
19522 (vrmlsldavhaq_p_s32): Likewise.
19523 (vrmlsldavhaxq_p_s32): Likewise.
19524 (vrshrnbq_m_n_s32): Likewise.
19525 (vrshrnbq_m_n_s16): Likewise.
19526 (vrshrnbq_m_n_u32): Likewise.
19527 (vrshrnbq_m_n_u16): Likewise.
19528 (vrshrntq_m_n_s32): Likewise.
19529 (vrshrntq_m_n_s16): Likewise.
19530 (vrshrntq_m_n_u32): Likewise.
19531 (vrshrntq_m_n_u16): Likewise.
19532 (vshllbq_m_n_s8): Likewise.
19533 (vshllbq_m_n_s16): Likewise.
19534 (vshllbq_m_n_u8): Likewise.
19535 (vshllbq_m_n_u16): Likewise.
19536 (vshlltq_m_n_s8): Likewise.
19537 (vshlltq_m_n_s16): Likewise.
19538 (vshlltq_m_n_u8): Likewise.
19539 (vshlltq_m_n_u16): Likewise.
19540 (vshrnbq_m_n_s32): Likewise.
19541 (vshrnbq_m_n_s16): Likewise.
19542 (vshrnbq_m_n_u32): Likewise.
19543 (vshrnbq_m_n_u16): Likewise.
19544 (vshrntq_m_n_s32): Likewise.
19545 (vshrntq_m_n_s16): Likewise.
19546 (vshrntq_m_n_u32): Likewise.
19547 (vshrntq_m_n_u16): Likewise.
19548 (__arm_vmlaldavaq_p_s32): Define intrinsic.
19549 (__arm_vmlaldavaq_p_s16): Likewise.
19550 (__arm_vmlaldavaq_p_u32): Likewise.
19551 (__arm_vmlaldavaq_p_u16): Likewise.
19552 (__arm_vmlaldavaxq_p_s32): Likewise.
19553 (__arm_vmlaldavaxq_p_s16): Likewise.
19554 (__arm_vmlaldavaxq_p_u32): Likewise.
19555 (__arm_vmlaldavaxq_p_u16): Likewise.
19556 (__arm_vmlsldavaq_p_s32): Likewise.
19557 (__arm_vmlsldavaq_p_s16): Likewise.
19558 (__arm_vmlsldavaxq_p_s32): Likewise.
19559 (__arm_vmlsldavaxq_p_s16): Likewise.
19560 (__arm_vmullbq_poly_m_p8): Likewise.
19561 (__arm_vmullbq_poly_m_p16): Likewise.
19562 (__arm_vmulltq_poly_m_p8): Likewise.
19563 (__arm_vmulltq_poly_m_p16): Likewise.
19564 (__arm_vqdmullbq_m_n_s32): Likewise.
19565 (__arm_vqdmullbq_m_n_s16): Likewise.
19566 (__arm_vqdmullbq_m_s32): Likewise.
19567 (__arm_vqdmullbq_m_s16): Likewise.
19568 (__arm_vqdmulltq_m_n_s32): Likewise.
19569 (__arm_vqdmulltq_m_n_s16): Likewise.
19570 (__arm_vqdmulltq_m_s32): Likewise.
19571 (__arm_vqdmulltq_m_s16): Likewise.
19572 (__arm_vqrshrnbq_m_n_s32): Likewise.
19573 (__arm_vqrshrnbq_m_n_s16): Likewise.
19574 (__arm_vqrshrnbq_m_n_u32): Likewise.
19575 (__arm_vqrshrnbq_m_n_u16): Likewise.
19576 (__arm_vqrshrntq_m_n_s32): Likewise.
19577 (__arm_vqrshrntq_m_n_s16): Likewise.
19578 (__arm_vqrshrntq_m_n_u32): Likewise.
19579 (__arm_vqrshrntq_m_n_u16): Likewise.
19580 (__arm_vqrshrunbq_m_n_s32): Likewise.
19581 (__arm_vqrshrunbq_m_n_s16): Likewise.
19582 (__arm_vqrshruntq_m_n_s32): Likewise.
19583 (__arm_vqrshruntq_m_n_s16): Likewise.
19584 (__arm_vqshrnbq_m_n_s32): Likewise.
19585 (__arm_vqshrnbq_m_n_s16): Likewise.
19586 (__arm_vqshrnbq_m_n_u32): Likewise.
19587 (__arm_vqshrnbq_m_n_u16): Likewise.
19588 (__arm_vqshrntq_m_n_s32): Likewise.
19589 (__arm_vqshrntq_m_n_s16): Likewise.
19590 (__arm_vqshrntq_m_n_u32): Likewise.
19591 (__arm_vqshrntq_m_n_u16): Likewise.
19592 (__arm_vqshrunbq_m_n_s32): Likewise.
19593 (__arm_vqshrunbq_m_n_s16): Likewise.
19594 (__arm_vqshruntq_m_n_s32): Likewise.
19595 (__arm_vqshruntq_m_n_s16): Likewise.
19596 (__arm_vrmlaldavhaq_p_s32): Likewise.
19597 (__arm_vrmlaldavhaq_p_u32): Likewise.
19598 (__arm_vrmlaldavhaxq_p_s32): Likewise.
19599 (__arm_vrmlsldavhaq_p_s32): Likewise.
19600 (__arm_vrmlsldavhaxq_p_s32): Likewise.
19601 (__arm_vrshrnbq_m_n_s32): Likewise.
19602 (__arm_vrshrnbq_m_n_s16): Likewise.
19603 (__arm_vrshrnbq_m_n_u32): Likewise.
19604 (__arm_vrshrnbq_m_n_u16): Likewise.
19605 (__arm_vrshrntq_m_n_s32): Likewise.
19606 (__arm_vrshrntq_m_n_s16): Likewise.
19607 (__arm_vrshrntq_m_n_u32): Likewise.
19608 (__arm_vrshrntq_m_n_u16): Likewise.
19609 (__arm_vshllbq_m_n_s8): Likewise.
19610 (__arm_vshllbq_m_n_s16): Likewise.
19611 (__arm_vshllbq_m_n_u8): Likewise.
19612 (__arm_vshllbq_m_n_u16): Likewise.
19613 (__arm_vshlltq_m_n_s8): Likewise.
19614 (__arm_vshlltq_m_n_s16): Likewise.
19615 (__arm_vshlltq_m_n_u8): Likewise.
19616 (__arm_vshlltq_m_n_u16): Likewise.
19617 (__arm_vshrnbq_m_n_s32): Likewise.
19618 (__arm_vshrnbq_m_n_s16): Likewise.
19619 (__arm_vshrnbq_m_n_u32): Likewise.
19620 (__arm_vshrnbq_m_n_u16): Likewise.
19621 (__arm_vshrntq_m_n_s32): Likewise.
19622 (__arm_vshrntq_m_n_s16): Likewise.
19623 (__arm_vshrntq_m_n_u32): Likewise.
19624 (__arm_vshrntq_m_n_u16): Likewise.
19625 (vmullbq_poly_m): Define polymorphic variant.
19626 (vmulltq_poly_m): Likewise.
19627 (vshllbq_m): Likewise.
19628 (vshrntq_m_n): Likewise.
19629 (vshrnbq_m_n): Likewise.
19630 (vshlltq_m_n): Likewise.
19631 (vshllbq_m_n): Likewise.
19632 (vrshrntq_m_n): Likewise.
19633 (vrshrnbq_m_n): Likewise.
19634 (vqshruntq_m_n): Likewise.
19635 (vqshrunbq_m_n): Likewise.
19636 (vqdmullbq_m_n): Likewise.
19637 (vqdmullbq_m): Likewise.
19638 (vqdmulltq_m_n): Likewise.
19639 (vqdmulltq_m): Likewise.
19640 (vqrshrnbq_m_n): Likewise.
19641 (vqrshrntq_m_n): Likewise.
19642 (vqrshrunbq_m_n): Likewise.
19643 (vqrshruntq_m_n): Likewise.
19644 (vqshrnbq_m_n): Likewise.
19645 (vqshrntq_m_n): Likewise.
19646 * config/arm/arm_mve_builtins.def (QUADOP_NONE_NONE_NONE_IMM_UNONE): Use
19647 builtin qualifiers.
19648 (QUADOP_NONE_NONE_NONE_NONE_UNONE): Likewise.
19649 (QUADOP_UNONE_UNONE_NONE_IMM_UNONE): Likewise.
19650 (QUADOP_UNONE_UNONE_UNONE_IMM_UNONE): Likewise.
19651 (QUADOP_UNONE_UNONE_UNONE_UNONE_UNONE): Likewise.
19652 * config/arm/mve.md (VMLALDAVAQ_P): Define iterator.
19653 (VMLALDAVAXQ_P): Likewise.
19654 (VQRSHRNBQ_M_N): Likewise.
19655 (VQRSHRNTQ_M_N): Likewise.
19656 (VQSHRNBQ_M_N): Likewise.
19657 (VQSHRNTQ_M_N): Likewise.
19658 (VRSHRNBQ_M_N): Likewise.
19659 (VRSHRNTQ_M_N): Likewise.
19660 (VSHLLBQ_M_N): Likewise.
19661 (VSHLLTQ_M_N): Likewise.
19662 (VSHRNBQ_M_N): Likewise.
19663 (VSHRNTQ_M_N): Likewise.
19664 (mve_vmlaldavaq_p_<supf><mode>): Define RTL pattern.
19665 (mve_vmlaldavaxq_p_<supf><mode>): Likewise.
19666 (mve_vqrshrnbq_m_n_<supf><mode>): Likewise.
19667 (mve_vqrshrntq_m_n_<supf><mode>): Likewise.
19668 (mve_vqshrnbq_m_n_<supf><mode>): Likewise.
19669 (mve_vqshrntq_m_n_<supf><mode>): Likewise.
19670 (mve_vrmlaldavhaq_p_sv4si): Likewise.
19671 (mve_vrshrnbq_m_n_<supf><mode>): Likewise.
19672 (mve_vrshrntq_m_n_<supf><mode>): Likewise.
19673 (mve_vshllbq_m_n_<supf><mode>): Likewise.
19674 (mve_vshlltq_m_n_<supf><mode>): Likewise.
19675 (mve_vshrnbq_m_n_<supf><mode>): Likewise.
19676 (mve_vshrntq_m_n_<supf><mode>): Likewise.
19677 (mve_vmlsldavaq_p_s<mode>): Likewise.
19678 (mve_vmlsldavaxq_p_s<mode>): Likewise.
19679 (mve_vmullbq_poly_m_p<mode>): Likewise.
19680 (mve_vmulltq_poly_m_p<mode>): Likewise.
19681 (mve_vqdmullbq_m_n_s<mode>): Likewise.
19682 (mve_vqdmullbq_m_s<mode>): Likewise.
19683 (mve_vqdmulltq_m_n_s<mode>): Likewise.
19684 (mve_vqdmulltq_m_s<mode>): Likewise.
19685 (mve_vqrshrunbq_m_n_s<mode>): Likewise.
19686 (mve_vqrshruntq_m_n_s<mode>): Likewise.
19687 (mve_vqshrunbq_m_n_s<mode>): Likewise.
19688 (mve_vqshruntq_m_n_s<mode>): Likewise.
19689 (mve_vrmlaldavhaq_p_uv4si): Likewise.
19690 (mve_vrmlaldavhaxq_p_sv4si): Likewise.
19691 (mve_vrmlsldavhaq_p_sv4si): Likewise.
19692 (mve_vrmlsldavhaxq_p_sv4si): Likewise.
19694 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
19695 Mihail Ionescu <mihail.ionescu@arm.com>
19696 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
19698 * config/arm/arm_mve.h (vabdq_m_s8): Define macro.
19699 (vabdq_m_s32): Likewise.
19700 (vabdq_m_s16): Likewise.
19701 (vabdq_m_u8): Likewise.
19702 (vabdq_m_u32): Likewise.
19703 (vabdq_m_u16): Likewise.
19704 (vaddq_m_n_s8): Likewise.
19705 (vaddq_m_n_s32): Likewise.
19706 (vaddq_m_n_s16): Likewise.
19707 (vaddq_m_n_u8): Likewise.
19708 (vaddq_m_n_u32): Likewise.
19709 (vaddq_m_n_u16): Likewise.
19710 (vaddq_m_s8): Likewise.
19711 (vaddq_m_s32): Likewise.
19712 (vaddq_m_s16): Likewise.
19713 (vaddq_m_u8): Likewise.
19714 (vaddq_m_u32): Likewise.
19715 (vaddq_m_u16): Likewise.
19716 (vandq_m_s8): Likewise.
19717 (vandq_m_s32): Likewise.
19718 (vandq_m_s16): Likewise.
19719 (vandq_m_u8): Likewise.
19720 (vandq_m_u32): Likewise.
19721 (vandq_m_u16): Likewise.
19722 (vbicq_m_s8): Likewise.
19723 (vbicq_m_s32): Likewise.
19724 (vbicq_m_s16): Likewise.
19725 (vbicq_m_u8): Likewise.
19726 (vbicq_m_u32): Likewise.
19727 (vbicq_m_u16): Likewise.
19728 (vbrsrq_m_n_s8): Likewise.
19729 (vbrsrq_m_n_s32): Likewise.
19730 (vbrsrq_m_n_s16): Likewise.
19731 (vbrsrq_m_n_u8): Likewise.
19732 (vbrsrq_m_n_u32): Likewise.
19733 (vbrsrq_m_n_u16): Likewise.
19734 (vcaddq_rot270_m_s8): Likewise.
19735 (vcaddq_rot270_m_s32): Likewise.
19736 (vcaddq_rot270_m_s16): Likewise.
19737 (vcaddq_rot270_m_u8): Likewise.
19738 (vcaddq_rot270_m_u32): Likewise.
19739 (vcaddq_rot270_m_u16): Likewise.
19740 (vcaddq_rot90_m_s8): Likewise.
19741 (vcaddq_rot90_m_s32): Likewise.
19742 (vcaddq_rot90_m_s16): Likewise.
19743 (vcaddq_rot90_m_u8): Likewise.
19744 (vcaddq_rot90_m_u32): Likewise.
19745 (vcaddq_rot90_m_u16): Likewise.
19746 (veorq_m_s8): Likewise.
19747 (veorq_m_s32): Likewise.
19748 (veorq_m_s16): Likewise.
19749 (veorq_m_u8): Likewise.
19750 (veorq_m_u32): Likewise.
19751 (veorq_m_u16): Likewise.
19752 (vhaddq_m_n_s8): Likewise.
19753 (vhaddq_m_n_s32): Likewise.
19754 (vhaddq_m_n_s16): Likewise.
19755 (vhaddq_m_n_u8): Likewise.
19756 (vhaddq_m_n_u32): Likewise.
19757 (vhaddq_m_n_u16): Likewise.
19758 (vhaddq_m_s8): Likewise.
19759 (vhaddq_m_s32): Likewise.
19760 (vhaddq_m_s16): Likewise.
19761 (vhaddq_m_u8): Likewise.
19762 (vhaddq_m_u32): Likewise.
19763 (vhaddq_m_u16): Likewise.
19764 (vhcaddq_rot270_m_s8): Likewise.
19765 (vhcaddq_rot270_m_s32): Likewise.
19766 (vhcaddq_rot270_m_s16): Likewise.
19767 (vhcaddq_rot90_m_s8): Likewise.
19768 (vhcaddq_rot90_m_s32): Likewise.
19769 (vhcaddq_rot90_m_s16): Likewise.
19770 (vhsubq_m_n_s8): Likewise.
19771 (vhsubq_m_n_s32): Likewise.
19772 (vhsubq_m_n_s16): Likewise.
19773 (vhsubq_m_n_u8): Likewise.
19774 (vhsubq_m_n_u32): Likewise.
19775 (vhsubq_m_n_u16): Likewise.
19776 (vhsubq_m_s8): Likewise.
19777 (vhsubq_m_s32): Likewise.
19778 (vhsubq_m_s16): Likewise.
19779 (vhsubq_m_u8): Likewise.
19780 (vhsubq_m_u32): Likewise.
19781 (vhsubq_m_u16): Likewise.
19782 (vmaxq_m_s8): Likewise.
19783 (vmaxq_m_s32): Likewise.
19784 (vmaxq_m_s16): Likewise.
19785 (vmaxq_m_u8): Likewise.
19786 (vmaxq_m_u32): Likewise.
19787 (vmaxq_m_u16): Likewise.
19788 (vminq_m_s8): Likewise.
19789 (vminq_m_s32): Likewise.
19790 (vminq_m_s16): Likewise.
19791 (vminq_m_u8): Likewise.
19792 (vminq_m_u32): Likewise.
19793 (vminq_m_u16): Likewise.
19794 (vmladavaq_p_s8): Likewise.
19795 (vmladavaq_p_s32): Likewise.
19796 (vmladavaq_p_s16): Likewise.
19797 (vmladavaq_p_u8): Likewise.
19798 (vmladavaq_p_u32): Likewise.
19799 (vmladavaq_p_u16): Likewise.
19800 (vmladavaxq_p_s8): Likewise.
19801 (vmladavaxq_p_s32): Likewise.
19802 (vmladavaxq_p_s16): Likewise.
19803 (vmlaq_m_n_s8): Likewise.
19804 (vmlaq_m_n_s32): Likewise.
19805 (vmlaq_m_n_s16): Likewise.
19806 (vmlaq_m_n_u8): Likewise.
19807 (vmlaq_m_n_u32): Likewise.
19808 (vmlaq_m_n_u16): Likewise.
19809 (vmlasq_m_n_s8): Likewise.
19810 (vmlasq_m_n_s32): Likewise.
19811 (vmlasq_m_n_s16): Likewise.
19812 (vmlasq_m_n_u8): Likewise.
19813 (vmlasq_m_n_u32): Likewise.
19814 (vmlasq_m_n_u16): Likewise.
19815 (vmlsdavaq_p_s8): Likewise.
19816 (vmlsdavaq_p_s32): Likewise.
19817 (vmlsdavaq_p_s16): Likewise.
19818 (vmlsdavaxq_p_s8): Likewise.
19819 (vmlsdavaxq_p_s32): Likewise.
19820 (vmlsdavaxq_p_s16): Likewise.
19821 (vmulhq_m_s8): Likewise.
19822 (vmulhq_m_s32): Likewise.
19823 (vmulhq_m_s16): Likewise.
19824 (vmulhq_m_u8): Likewise.
19825 (vmulhq_m_u32): Likewise.
19826 (vmulhq_m_u16): Likewise.
19827 (vmullbq_int_m_s8): Likewise.
19828 (vmullbq_int_m_s32): Likewise.
19829 (vmullbq_int_m_s16): Likewise.
19830 (vmullbq_int_m_u8): Likewise.
19831 (vmullbq_int_m_u32): Likewise.
19832 (vmullbq_int_m_u16): Likewise.
19833 (vmulltq_int_m_s8): Likewise.
19834 (vmulltq_int_m_s32): Likewise.
19835 (vmulltq_int_m_s16): Likewise.
19836 (vmulltq_int_m_u8): Likewise.
19837 (vmulltq_int_m_u32): Likewise.
19838 (vmulltq_int_m_u16): Likewise.
19839 (vmulq_m_n_s8): Likewise.
19840 (vmulq_m_n_s32): Likewise.
19841 (vmulq_m_n_s16): Likewise.
19842 (vmulq_m_n_u8): Likewise.
19843 (vmulq_m_n_u32): Likewise.
19844 (vmulq_m_n_u16): Likewise.
19845 (vmulq_m_s8): Likewise.
19846 (vmulq_m_s32): Likewise.
19847 (vmulq_m_s16): Likewise.
19848 (vmulq_m_u8): Likewise.
19849 (vmulq_m_u32): Likewise.
19850 (vmulq_m_u16): Likewise.
19851 (vornq_m_s8): Likewise.
19852 (vornq_m_s32): Likewise.
19853 (vornq_m_s16): Likewise.
19854 (vornq_m_u8): Likewise.
19855 (vornq_m_u32): Likewise.
19856 (vornq_m_u16): Likewise.
19857 (vorrq_m_s8): Likewise.
19858 (vorrq_m_s32): Likewise.
19859 (vorrq_m_s16): Likewise.
19860 (vorrq_m_u8): Likewise.
19861 (vorrq_m_u32): Likewise.
19862 (vorrq_m_u16): Likewise.
19863 (vqaddq_m_n_s8): Likewise.
19864 (vqaddq_m_n_s32): Likewise.
19865 (vqaddq_m_n_s16): Likewise.
19866 (vqaddq_m_n_u8): Likewise.
19867 (vqaddq_m_n_u32): Likewise.
19868 (vqaddq_m_n_u16): Likewise.
19869 (vqaddq_m_s8): Likewise.
19870 (vqaddq_m_s32): Likewise.
19871 (vqaddq_m_s16): Likewise.
19872 (vqaddq_m_u8): Likewise.
19873 (vqaddq_m_u32): Likewise.
19874 (vqaddq_m_u16): Likewise.
19875 (vqdmladhq_m_s8): Likewise.
19876 (vqdmladhq_m_s32): Likewise.
19877 (vqdmladhq_m_s16): Likewise.
19878 (vqdmladhxq_m_s8): Likewise.
19879 (vqdmladhxq_m_s32): Likewise.
19880 (vqdmladhxq_m_s16): Likewise.
19881 (vqdmlahq_m_n_s8): Likewise.
19882 (vqdmlahq_m_n_s32): Likewise.
19883 (vqdmlahq_m_n_s16): Likewise.
19884 (vqdmlahq_m_n_u8): Likewise.
19885 (vqdmlahq_m_n_u32): Likewise.
19886 (vqdmlahq_m_n_u16): Likewise.
19887 (vqdmlsdhq_m_s8): Likewise.
19888 (vqdmlsdhq_m_s32): Likewise.
19889 (vqdmlsdhq_m_s16): Likewise.
19890 (vqdmlsdhxq_m_s8): Likewise.
19891 (vqdmlsdhxq_m_s32): Likewise.
19892 (vqdmlsdhxq_m_s16): Likewise.
19893 (vqdmulhq_m_n_s8): Likewise.
19894 (vqdmulhq_m_n_s32): Likewise.
19895 (vqdmulhq_m_n_s16): Likewise.
19896 (vqdmulhq_m_s8): Likewise.
19897 (vqdmulhq_m_s32): Likewise.
19898 (vqdmulhq_m_s16): Likewise.
19899 (vqrdmladhq_m_s8): Likewise.
19900 (vqrdmladhq_m_s32): Likewise.
19901 (vqrdmladhq_m_s16): Likewise.
19902 (vqrdmladhxq_m_s8): Likewise.
19903 (vqrdmladhxq_m_s32): Likewise.
19904 (vqrdmladhxq_m_s16): Likewise.
19905 (vqrdmlahq_m_n_s8): Likewise.
19906 (vqrdmlahq_m_n_s32): Likewise.
19907 (vqrdmlahq_m_n_s16): Likewise.
19908 (vqrdmlahq_m_n_u8): Likewise.
19909 (vqrdmlahq_m_n_u32): Likewise.
19910 (vqrdmlahq_m_n_u16): Likewise.
19911 (vqrdmlashq_m_n_s8): Likewise.
19912 (vqrdmlashq_m_n_s32): Likewise.
19913 (vqrdmlashq_m_n_s16): Likewise.
19914 (vqrdmlashq_m_n_u8): Likewise.
19915 (vqrdmlashq_m_n_u32): Likewise.
19916 (vqrdmlashq_m_n_u16): Likewise.
19917 (vqrdmlsdhq_m_s8): Likewise.
19918 (vqrdmlsdhq_m_s32): Likewise.
19919 (vqrdmlsdhq_m_s16): Likewise.
19920 (vqrdmlsdhxq_m_s8): Likewise.
19921 (vqrdmlsdhxq_m_s32): Likewise.
19922 (vqrdmlsdhxq_m_s16): Likewise.
19923 (vqrdmulhq_m_n_s8): Likewise.
19924 (vqrdmulhq_m_n_s32): Likewise.
19925 (vqrdmulhq_m_n_s16): Likewise.
19926 (vqrdmulhq_m_s8): Likewise.
19927 (vqrdmulhq_m_s32): Likewise.
19928 (vqrdmulhq_m_s16): Likewise.
19929 (vqrshlq_m_s8): Likewise.
19930 (vqrshlq_m_s32): Likewise.
19931 (vqrshlq_m_s16): Likewise.
19932 (vqrshlq_m_u8): Likewise.
19933 (vqrshlq_m_u32): Likewise.
19934 (vqrshlq_m_u16): Likewise.
19935 (vqshlq_m_n_s8): Likewise.
19936 (vqshlq_m_n_s32): Likewise.
19937 (vqshlq_m_n_s16): Likewise.
19938 (vqshlq_m_n_u8): Likewise.
19939 (vqshlq_m_n_u32): Likewise.
19940 (vqshlq_m_n_u16): Likewise.
19941 (vqshlq_m_s8): Likewise.
19942 (vqshlq_m_s32): Likewise.
19943 (vqshlq_m_s16): Likewise.
19944 (vqshlq_m_u8): Likewise.
19945 (vqshlq_m_u32): Likewise.
19946 (vqshlq_m_u16): Likewise.
19947 (vqsubq_m_n_s8): Likewise.
19948 (vqsubq_m_n_s32): Likewise.
19949 (vqsubq_m_n_s16): Likewise.
19950 (vqsubq_m_n_u8): Likewise.
19951 (vqsubq_m_n_u32): Likewise.
19952 (vqsubq_m_n_u16): Likewise.
19953 (vqsubq_m_s8): Likewise.
19954 (vqsubq_m_s32): Likewise.
19955 (vqsubq_m_s16): Likewise.
19956 (vqsubq_m_u8): Likewise.
19957 (vqsubq_m_u32): Likewise.
19958 (vqsubq_m_u16): Likewise.
19959 (vrhaddq_m_s8): Likewise.
19960 (vrhaddq_m_s32): Likewise.
19961 (vrhaddq_m_s16): Likewise.
19962 (vrhaddq_m_u8): Likewise.
19963 (vrhaddq_m_u32): Likewise.
19964 (vrhaddq_m_u16): Likewise.
19965 (vrmulhq_m_s8): Likewise.
19966 (vrmulhq_m_s32): Likewise.
19967 (vrmulhq_m_s16): Likewise.
19968 (vrmulhq_m_u8): Likewise.
19969 (vrmulhq_m_u32): Likewise.
19970 (vrmulhq_m_u16): Likewise.
19971 (vrshlq_m_s8): Likewise.
19972 (vrshlq_m_s32): Likewise.
19973 (vrshlq_m_s16): Likewise.
19974 (vrshlq_m_u8): Likewise.
19975 (vrshlq_m_u32): Likewise.
19976 (vrshlq_m_u16): Likewise.
19977 (vrshrq_m_n_s8): Likewise.
19978 (vrshrq_m_n_s32): Likewise.
19979 (vrshrq_m_n_s16): Likewise.
19980 (vrshrq_m_n_u8): Likewise.
19981 (vrshrq_m_n_u32): Likewise.
19982 (vrshrq_m_n_u16): Likewise.
19983 (vshlq_m_n_s8): Likewise.
19984 (vshlq_m_n_s32): Likewise.
19985 (vshlq_m_n_s16): Likewise.
19986 (vshlq_m_n_u8): Likewise.
19987 (vshlq_m_n_u32): Likewise.
19988 (vshlq_m_n_u16): Likewise.
19989 (vshrq_m_n_s8): Likewise.
19990 (vshrq_m_n_s32): Likewise.
19991 (vshrq_m_n_s16): Likewise.
19992 (vshrq_m_n_u8): Likewise.
19993 (vshrq_m_n_u32): Likewise.
19994 (vshrq_m_n_u16): Likewise.
19995 (vsliq_m_n_s8): Likewise.
19996 (vsliq_m_n_s32): Likewise.
19997 (vsliq_m_n_s16): Likewise.
19998 (vsliq_m_n_u8): Likewise.
19999 (vsliq_m_n_u32): Likewise.
20000 (vsliq_m_n_u16): Likewise.
20001 (vsubq_m_n_s8): Likewise.
20002 (vsubq_m_n_s32): Likewise.
20003 (vsubq_m_n_s16): Likewise.
20004 (vsubq_m_n_u8): Likewise.
20005 (vsubq_m_n_u32): Likewise.
20006 (vsubq_m_n_u16): Likewise.
20007 (__arm_vabdq_m_s8): Define intrinsic.
20008 (__arm_vabdq_m_s32): Likewise.
20009 (__arm_vabdq_m_s16): Likewise.
20010 (__arm_vabdq_m_u8): Likewise.
20011 (__arm_vabdq_m_u32): Likewise.
20012 (__arm_vabdq_m_u16): Likewise.
20013 (__arm_vaddq_m_n_s8): Likewise.
20014 (__arm_vaddq_m_n_s32): Likewise.
20015 (__arm_vaddq_m_n_s16): Likewise.
20016 (__arm_vaddq_m_n_u8): Likewise.
20017 (__arm_vaddq_m_n_u32): Likewise.
20018 (__arm_vaddq_m_n_u16): Likewise.
20019 (__arm_vaddq_m_s8): Likewise.
20020 (__arm_vaddq_m_s32): Likewise.
20021 (__arm_vaddq_m_s16): Likewise.
20022 (__arm_vaddq_m_u8): Likewise.
20023 (__arm_vaddq_m_u32): Likewise.
20024 (__arm_vaddq_m_u16): Likewise.
20025 (__arm_vandq_m_s8): Likewise.
20026 (__arm_vandq_m_s32): Likewise.
20027 (__arm_vandq_m_s16): Likewise.
20028 (__arm_vandq_m_u8): Likewise.
20029 (__arm_vandq_m_u32): Likewise.
20030 (__arm_vandq_m_u16): Likewise.
20031 (__arm_vbicq_m_s8): Likewise.
20032 (__arm_vbicq_m_s32): Likewise.
20033 (__arm_vbicq_m_s16): Likewise.
20034 (__arm_vbicq_m_u8): Likewise.
20035 (__arm_vbicq_m_u32): Likewise.
20036 (__arm_vbicq_m_u16): Likewise.
20037 (__arm_vbrsrq_m_n_s8): Likewise.
20038 (__arm_vbrsrq_m_n_s32): Likewise.
20039 (__arm_vbrsrq_m_n_s16): Likewise.
20040 (__arm_vbrsrq_m_n_u8): Likewise.
20041 (__arm_vbrsrq_m_n_u32): Likewise.
20042 (__arm_vbrsrq_m_n_u16): Likewise.
20043 (__arm_vcaddq_rot270_m_s8): Likewise.
20044 (__arm_vcaddq_rot270_m_s32): Likewise.
20045 (__arm_vcaddq_rot270_m_s16): Likewise.
20046 (__arm_vcaddq_rot270_m_u8): Likewise.
20047 (__arm_vcaddq_rot270_m_u32): Likewise.
20048 (__arm_vcaddq_rot270_m_u16): Likewise.
20049 (__arm_vcaddq_rot90_m_s8): Likewise.
20050 (__arm_vcaddq_rot90_m_s32): Likewise.
20051 (__arm_vcaddq_rot90_m_s16): Likewise.
20052 (__arm_vcaddq_rot90_m_u8): Likewise.
20053 (__arm_vcaddq_rot90_m_u32): Likewise.
20054 (__arm_vcaddq_rot90_m_u16): Likewise.
20055 (__arm_veorq_m_s8): Likewise.
20056 (__arm_veorq_m_s32): Likewise.
20057 (__arm_veorq_m_s16): Likewise.
20058 (__arm_veorq_m_u8): Likewise.
20059 (__arm_veorq_m_u32): Likewise.
20060 (__arm_veorq_m_u16): Likewise.
20061 (__arm_vhaddq_m_n_s8): Likewise.
20062 (__arm_vhaddq_m_n_s32): Likewise.
20063 (__arm_vhaddq_m_n_s16): Likewise.
20064 (__arm_vhaddq_m_n_u8): Likewise.
20065 (__arm_vhaddq_m_n_u32): Likewise.
20066 (__arm_vhaddq_m_n_u16): Likewise.
20067 (__arm_vhaddq_m_s8): Likewise.
20068 (__arm_vhaddq_m_s32): Likewise.
20069 (__arm_vhaddq_m_s16): Likewise.
20070 (__arm_vhaddq_m_u8): Likewise.
20071 (__arm_vhaddq_m_u32): Likewise.
20072 (__arm_vhaddq_m_u16): Likewise.
20073 (__arm_vhcaddq_rot270_m_s8): Likewise.
20074 (__arm_vhcaddq_rot270_m_s32): Likewise.
20075 (__arm_vhcaddq_rot270_m_s16): Likewise.
20076 (__arm_vhcaddq_rot90_m_s8): Likewise.
20077 (__arm_vhcaddq_rot90_m_s32): Likewise.
20078 (__arm_vhcaddq_rot90_m_s16): Likewise.
20079 (__arm_vhsubq_m_n_s8): Likewise.
20080 (__arm_vhsubq_m_n_s32): Likewise.
20081 (__arm_vhsubq_m_n_s16): Likewise.
20082 (__arm_vhsubq_m_n_u8): Likewise.
20083 (__arm_vhsubq_m_n_u32): Likewise.
20084 (__arm_vhsubq_m_n_u16): Likewise.
20085 (__arm_vhsubq_m_s8): Likewise.
20086 (__arm_vhsubq_m_s32): Likewise.
20087 (__arm_vhsubq_m_s16): Likewise.
20088 (__arm_vhsubq_m_u8): Likewise.
20089 (__arm_vhsubq_m_u32): Likewise.
20090 (__arm_vhsubq_m_u16): Likewise.
20091 (__arm_vmaxq_m_s8): Likewise.
20092 (__arm_vmaxq_m_s32): Likewise.
20093 (__arm_vmaxq_m_s16): Likewise.
20094 (__arm_vmaxq_m_u8): Likewise.
20095 (__arm_vmaxq_m_u32): Likewise.
20096 (__arm_vmaxq_m_u16): Likewise.
20097 (__arm_vminq_m_s8): Likewise.
20098 (__arm_vminq_m_s32): Likewise.
20099 (__arm_vminq_m_s16): Likewise.
20100 (__arm_vminq_m_u8): Likewise.
20101 (__arm_vminq_m_u32): Likewise.
20102 (__arm_vminq_m_u16): Likewise.
20103 (__arm_vmladavaq_p_s8): Likewise.
20104 (__arm_vmladavaq_p_s32): Likewise.
20105 (__arm_vmladavaq_p_s16): Likewise.
20106 (__arm_vmladavaq_p_u8): Likewise.
20107 (__arm_vmladavaq_p_u32): Likewise.
20108 (__arm_vmladavaq_p_u16): Likewise.
20109 (__arm_vmladavaxq_p_s8): Likewise.
20110 (__arm_vmladavaxq_p_s32): Likewise.
20111 (__arm_vmladavaxq_p_s16): Likewise.
20112 (__arm_vmlaq_m_n_s8): Likewise.
20113 (__arm_vmlaq_m_n_s32): Likewise.
20114 (__arm_vmlaq_m_n_s16): Likewise.
20115 (__arm_vmlaq_m_n_u8): Likewise.
20116 (__arm_vmlaq_m_n_u32): Likewise.
20117 (__arm_vmlaq_m_n_u16): Likewise.
20118 (__arm_vmlasq_m_n_s8): Likewise.
20119 (__arm_vmlasq_m_n_s32): Likewise.
20120 (__arm_vmlasq_m_n_s16): Likewise.
20121 (__arm_vmlasq_m_n_u8): Likewise.
20122 (__arm_vmlasq_m_n_u32): Likewise.
20123 (__arm_vmlasq_m_n_u16): Likewise.
20124 (__arm_vmlsdavaq_p_s8): Likewise.
20125 (__arm_vmlsdavaq_p_s32): Likewise.
20126 (__arm_vmlsdavaq_p_s16): Likewise.
20127 (__arm_vmlsdavaxq_p_s8): Likewise.
20128 (__arm_vmlsdavaxq_p_s32): Likewise.
20129 (__arm_vmlsdavaxq_p_s16): Likewise.
20130 (__arm_vmulhq_m_s8): Likewise.
20131 (__arm_vmulhq_m_s32): Likewise.
20132 (__arm_vmulhq_m_s16): Likewise.
20133 (__arm_vmulhq_m_u8): Likewise.
20134 (__arm_vmulhq_m_u32): Likewise.
20135 (__arm_vmulhq_m_u16): Likewise.
20136 (__arm_vmullbq_int_m_s8): Likewise.
20137 (__arm_vmullbq_int_m_s32): Likewise.
20138 (__arm_vmullbq_int_m_s16): Likewise.
20139 (__arm_vmullbq_int_m_u8): Likewise.
20140 (__arm_vmullbq_int_m_u32): Likewise.
20141 (__arm_vmullbq_int_m_u16): Likewise.
20142 (__arm_vmulltq_int_m_s8): Likewise.
20143 (__arm_vmulltq_int_m_s32): Likewise.
20144 (__arm_vmulltq_int_m_s16): Likewise.
20145 (__arm_vmulltq_int_m_u8): Likewise.
20146 (__arm_vmulltq_int_m_u32): Likewise.
20147 (__arm_vmulltq_int_m_u16): Likewise.
20148 (__arm_vmulq_m_n_s8): Likewise.
20149 (__arm_vmulq_m_n_s32): Likewise.
20150 (__arm_vmulq_m_n_s16): Likewise.
20151 (__arm_vmulq_m_n_u8): Likewise.
20152 (__arm_vmulq_m_n_u32): Likewise.
20153 (__arm_vmulq_m_n_u16): Likewise.
20154 (__arm_vmulq_m_s8): Likewise.
20155 (__arm_vmulq_m_s32): Likewise.
20156 (__arm_vmulq_m_s16): Likewise.
20157 (__arm_vmulq_m_u8): Likewise.
20158 (__arm_vmulq_m_u32): Likewise.
20159 (__arm_vmulq_m_u16): Likewise.
20160 (__arm_vornq_m_s8): Likewise.
20161 (__arm_vornq_m_s32): Likewise.
20162 (__arm_vornq_m_s16): Likewise.
20163 (__arm_vornq_m_u8): Likewise.
20164 (__arm_vornq_m_u32): Likewise.
20165 (__arm_vornq_m_u16): Likewise.
20166 (__arm_vorrq_m_s8): Likewise.
20167 (__arm_vorrq_m_s32): Likewise.
20168 (__arm_vorrq_m_s16): Likewise.
20169 (__arm_vorrq_m_u8): Likewise.
20170 (__arm_vorrq_m_u32): Likewise.
20171 (__arm_vorrq_m_u16): Likewise.
20172 (__arm_vqaddq_m_n_s8): Likewise.
20173 (__arm_vqaddq_m_n_s32): Likewise.
20174 (__arm_vqaddq_m_n_s16): Likewise.
20175 (__arm_vqaddq_m_n_u8): Likewise.
20176 (__arm_vqaddq_m_n_u32): Likewise.
20177 (__arm_vqaddq_m_n_u16): Likewise.
20178 (__arm_vqaddq_m_s8): Likewise.
20179 (__arm_vqaddq_m_s32): Likewise.
20180 (__arm_vqaddq_m_s16): Likewise.
20181 (__arm_vqaddq_m_u8): Likewise.
20182 (__arm_vqaddq_m_u32): Likewise.
20183 (__arm_vqaddq_m_u16): Likewise.
20184 (__arm_vqdmladhq_m_s8): Likewise.
20185 (__arm_vqdmladhq_m_s32): Likewise.
20186 (__arm_vqdmladhq_m_s16): Likewise.
20187 (__arm_vqdmladhxq_m_s8): Likewise.
20188 (__arm_vqdmladhxq_m_s32): Likewise.
20189 (__arm_vqdmladhxq_m_s16): Likewise.
20190 (__arm_vqdmlahq_m_n_s8): Likewise.
20191 (__arm_vqdmlahq_m_n_s32): Likewise.
20192 (__arm_vqdmlahq_m_n_s16): Likewise.
20193 (__arm_vqdmlahq_m_n_u8): Likewise.
20194 (__arm_vqdmlahq_m_n_u32): Likewise.
20195 (__arm_vqdmlahq_m_n_u16): Likewise.
20196 (__arm_vqdmlsdhq_m_s8): Likewise.
20197 (__arm_vqdmlsdhq_m_s32): Likewise.
20198 (__arm_vqdmlsdhq_m_s16): Likewise.
20199 (__arm_vqdmlsdhxq_m_s8): Likewise.
20200 (__arm_vqdmlsdhxq_m_s32): Likewise.
20201 (__arm_vqdmlsdhxq_m_s16): Likewise.
20202 (__arm_vqdmulhq_m_n_s8): Likewise.
20203 (__arm_vqdmulhq_m_n_s32): Likewise.
20204 (__arm_vqdmulhq_m_n_s16): Likewise.
20205 (__arm_vqdmulhq_m_s8): Likewise.
20206 (__arm_vqdmulhq_m_s32): Likewise.
20207 (__arm_vqdmulhq_m_s16): Likewise.
20208 (__arm_vqrdmladhq_m_s8): Likewise.
20209 (__arm_vqrdmladhq_m_s32): Likewise.
20210 (__arm_vqrdmladhq_m_s16): Likewise.
20211 (__arm_vqrdmladhxq_m_s8): Likewise.
20212 (__arm_vqrdmladhxq_m_s32): Likewise.
20213 (__arm_vqrdmladhxq_m_s16): Likewise.
20214 (__arm_vqrdmlahq_m_n_s8): Likewise.
20215 (__arm_vqrdmlahq_m_n_s32): Likewise.
20216 (__arm_vqrdmlahq_m_n_s16): Likewise.
20217 (__arm_vqrdmlahq_m_n_u8): Likewise.
20218 (__arm_vqrdmlahq_m_n_u32): Likewise.
20219 (__arm_vqrdmlahq_m_n_u16): Likewise.
20220 (__arm_vqrdmlashq_m_n_s8): Likewise.
20221 (__arm_vqrdmlashq_m_n_s32): Likewise.
20222 (__arm_vqrdmlashq_m_n_s16): Likewise.
20223 (__arm_vqrdmlashq_m_n_u8): Likewise.
20224 (__arm_vqrdmlashq_m_n_u32): Likewise.
20225 (__arm_vqrdmlashq_m_n_u16): Likewise.
20226 (__arm_vqrdmlsdhq_m_s8): Likewise.
20227 (__arm_vqrdmlsdhq_m_s32): Likewise.
20228 (__arm_vqrdmlsdhq_m_s16): Likewise.
20229 (__arm_vqrdmlsdhxq_m_s8): Likewise.
20230 (__arm_vqrdmlsdhxq_m_s32): Likewise.
20231 (__arm_vqrdmlsdhxq_m_s16): Likewise.
20232 (__arm_vqrdmulhq_m_n_s8): Likewise.
20233 (__arm_vqrdmulhq_m_n_s32): Likewise.
20234 (__arm_vqrdmulhq_m_n_s16): Likewise.
20235 (__arm_vqrdmulhq_m_s8): Likewise.
20236 (__arm_vqrdmulhq_m_s32): Likewise.
20237 (__arm_vqrdmulhq_m_s16): Likewise.
20238 (__arm_vqrshlq_m_s8): Likewise.
20239 (__arm_vqrshlq_m_s32): Likewise.
20240 (__arm_vqrshlq_m_s16): Likewise.
20241 (__arm_vqrshlq_m_u8): Likewise.
20242 (__arm_vqrshlq_m_u32): Likewise.
20243 (__arm_vqrshlq_m_u16): Likewise.
20244 (__arm_vqshlq_m_n_s8): Likewise.
20245 (__arm_vqshlq_m_n_s32): Likewise.
20246 (__arm_vqshlq_m_n_s16): Likewise.
20247 (__arm_vqshlq_m_n_u8): Likewise.
20248 (__arm_vqshlq_m_n_u32): Likewise.
20249 (__arm_vqshlq_m_n_u16): Likewise.
20250 (__arm_vqshlq_m_s8): Likewise.
20251 (__arm_vqshlq_m_s32): Likewise.
20252 (__arm_vqshlq_m_s16): Likewise.
20253 (__arm_vqshlq_m_u8): Likewise.
20254 (__arm_vqshlq_m_u32): Likewise.
20255 (__arm_vqshlq_m_u16): Likewise.
20256 (__arm_vqsubq_m_n_s8): Likewise.
20257 (__arm_vqsubq_m_n_s32): Likewise.
20258 (__arm_vqsubq_m_n_s16): Likewise.
20259 (__arm_vqsubq_m_n_u8): Likewise.
20260 (__arm_vqsubq_m_n_u32): Likewise.
20261 (__arm_vqsubq_m_n_u16): Likewise.
20262 (__arm_vqsubq_m_s8): Likewise.
20263 (__arm_vqsubq_m_s32): Likewise.
20264 (__arm_vqsubq_m_s16): Likewise.
20265 (__arm_vqsubq_m_u8): Likewise.
20266 (__arm_vqsubq_m_u32): Likewise.
20267 (__arm_vqsubq_m_u16): Likewise.
20268 (__arm_vrhaddq_m_s8): Likewise.
20269 (__arm_vrhaddq_m_s32): Likewise.
20270 (__arm_vrhaddq_m_s16): Likewise.
20271 (__arm_vrhaddq_m_u8): Likewise.
20272 (__arm_vrhaddq_m_u32): Likewise.
20273 (__arm_vrhaddq_m_u16): Likewise.
20274 (__arm_vrmulhq_m_s8): Likewise.
20275 (__arm_vrmulhq_m_s32): Likewise.
20276 (__arm_vrmulhq_m_s16): Likewise.
20277 (__arm_vrmulhq_m_u8): Likewise.
20278 (__arm_vrmulhq_m_u32): Likewise.
20279 (__arm_vrmulhq_m_u16): Likewise.
20280 (__arm_vrshlq_m_s8): Likewise.
20281 (__arm_vrshlq_m_s32): Likewise.
20282 (__arm_vrshlq_m_s16): Likewise.
20283 (__arm_vrshlq_m_u8): Likewise.
20284 (__arm_vrshlq_m_u32): Likewise.
20285 (__arm_vrshlq_m_u16): Likewise.
20286 (__arm_vrshrq_m_n_s8): Likewise.
20287 (__arm_vrshrq_m_n_s32): Likewise.
20288 (__arm_vrshrq_m_n_s16): Likewise.
20289 (__arm_vrshrq_m_n_u8): Likewise.
20290 (__arm_vrshrq_m_n_u32): Likewise.
20291 (__arm_vrshrq_m_n_u16): Likewise.
20292 (__arm_vshlq_m_n_s8): Likewise.
20293 (__arm_vshlq_m_n_s32): Likewise.
20294 (__arm_vshlq_m_n_s16): Likewise.
20295 (__arm_vshlq_m_n_u8): Likewise.
20296 (__arm_vshlq_m_n_u32): Likewise.
20297 (__arm_vshlq_m_n_u16): Likewise.
20298 (__arm_vshrq_m_n_s8): Likewise.
20299 (__arm_vshrq_m_n_s32): Likewise.
20300 (__arm_vshrq_m_n_s16): Likewise.
20301 (__arm_vshrq_m_n_u8): Likewise.
20302 (__arm_vshrq_m_n_u32): Likewise.
20303 (__arm_vshrq_m_n_u16): Likewise.
20304 (__arm_vsliq_m_n_s8): Likewise.
20305 (__arm_vsliq_m_n_s32): Likewise.
20306 (__arm_vsliq_m_n_s16): Likewise.
20307 (__arm_vsliq_m_n_u8): Likewise.
20308 (__arm_vsliq_m_n_u32): Likewise.
20309 (__arm_vsliq_m_n_u16): Likewise.
20310 (__arm_vsubq_m_n_s8): Likewise.
20311 (__arm_vsubq_m_n_s32): Likewise.
20312 (__arm_vsubq_m_n_s16): Likewise.
20313 (__arm_vsubq_m_n_u8): Likewise.
20314 (__arm_vsubq_m_n_u32): Likewise.
20315 (__arm_vsubq_m_n_u16): Likewise.
20316 (vqdmladhq_m): Define polymorphic variant.
20317 (vqdmladhxq_m): Likewise.
20318 (vqdmlsdhq_m): Likewise.
20319 (vqdmlsdhxq_m): Likewise.
20320 (vabdq_m): Likewise.
20321 (vandq_m): Likewise.
20322 (vbicq_m): Likewise.
20323 (vbrsrq_m_n): Likewise.
20324 (vcaddq_rot270_m): Likewise.
20325 (vcaddq_rot90_m): Likewise.
20326 (veorq_m): Likewise.
20327 (vmaxq_m): Likewise.
20328 (vminq_m): Likewise.
20329 (vmladavaq_p): Likewise.
20330 (vmlaq_m_n): Likewise.
20331 (vmlasq_m_n): Likewise.
20332 (vmulhq_m): Likewise.
20333 (vmullbq_int_m): Likewise.
20334 (vmulltq_int_m): Likewise.
20335 (vornq_m): Likewise.
20336 (vorrq_m): Likewise.
20337 (vqdmlahq_m_n): Likewise.
20338 (vqrdmlahq_m_n): Likewise.
20339 (vqrdmlashq_m_n): Likewise.
20340 (vqrshlq_m): Likewise.
20341 (vqshlq_m_n): Likewise.
20342 (vqshlq_m): Likewise.
20343 (vrhaddq_m): Likewise.
20344 (vrmulhq_m): Likewise.
20345 (vrshlq_m): Likewise.
20346 (vrshrq_m_n): Likewise.
20347 (vshlq_m_n): Likewise.
20348 (vshrq_m_n): Likewise.
20349 (vsliq_m): Likewise.
20350 (vaddq_m_n): Likewise.
20351 (vaddq_m): Likewise.
20352 (vhaddq_m_n): Likewise.
20353 (vhaddq_m): Likewise.
20354 (vhcaddq_rot270_m): Likewise.
20355 (vhcaddq_rot90_m): Likewise.
20356 (vhsubq_m): Likewise.
20357 (vhsubq_m_n): Likewise.
20358 (vmulq_m_n): Likewise.
20359 (vmulq_m): Likewise.
20360 (vqaddq_m_n): Likewise.
20361 (vqaddq_m): Likewise.
20362 (vqdmulhq_m_n): Likewise.
20363 (vqdmulhq_m): Likewise.
20364 (vsubq_m_n): Likewise.
20365 (vsliq_m_n): Likewise.
20366 (vqsubq_m_n): Likewise.
20367 (vqsubq_m): Likewise.
20368 (vqrdmulhq_m): Likewise.
20369 (vqrdmulhq_m_n): Likewise.
20370 (vqrdmlsdhxq_m): Likewise.
20371 (vqrdmlsdhq_m): Likewise.
20372 (vqrdmladhq_m): Likewise.
20373 (vqrdmladhxq_m): Likewise.
20374 (vmlsdavaxq_p): Likewise.
20375 (vmlsdavaq_p): Likewise.
20376 (vmladavaxq_p): Likewise.
20377 * config/arm/arm_mve_builtins.def (QUADOP_NONE_NONE_NONE_IMM_UNONE): Use
20379 (QUADOP_NONE_NONE_NONE_NONE_UNONE): Likewise.
20380 (QUADOP_UNONE_UNONE_UNONE_IMM_UNONE): Likewise.
20381 (QUADOP_UNONE_UNONE_UNONE_NONE_UNONE): Likewise.
20382 (QUADOP_UNONE_UNONE_UNONE_UNONE_UNONE): Likewise.
20383 * config/arm/mve.md (VHSUBQ_M): Define iterators.
20384 (VSLIQ_M_N): Likewise.
20385 (VQRDMLAHQ_M_N): Likewise.
20386 (VRSHLQ_M): Likewise.
20387 (VMINQ_M): Likewise.
20388 (VMULLBQ_INT_M): Likewise.
20389 (VMULHQ_M): Likewise.
20390 (VMULQ_M): Likewise.
20391 (VHSUBQ_M_N): Likewise.
20392 (VHADDQ_M_N): Likewise.
20393 (VORRQ_M): Likewise.
20394 (VRMULHQ_M): Likewise.
20395 (VQADDQ_M): Likewise.
20396 (VRSHRQ_M_N): Likewise.
20397 (VQSUBQ_M_N): Likewise.
20398 (VADDQ_M): Likewise.
20399 (VORNQ_M): Likewise.
20400 (VQDMLAHQ_M_N): Likewise.
20401 (VRHADDQ_M): Likewise.
20402 (VQSHLQ_M): Likewise.
20403 (VANDQ_M): Likewise.
20404 (VBICQ_M): Likewise.
20405 (VSHLQ_M_N): Likewise.
20406 (VCADDQ_ROT270_M): Likewise.
20407 (VQRSHLQ_M): Likewise.
20408 (VQADDQ_M_N): Likewise.
20409 (VADDQ_M_N): Likewise.
20410 (VMAXQ_M): Likewise.
20411 (VQSUBQ_M): Likewise.
20412 (VMLASQ_M_N): Likewise.
20413 (VMLADAVAQ_P): Likewise.
20414 (VBRSRQ_M_N): Likewise.
20415 (VMULQ_M_N): Likewise.
20416 (VCADDQ_ROT90_M): Likewise.
20417 (VMULLTQ_INT_M): Likewise.
20418 (VEORQ_M): Likewise.
20419 (VSHRQ_M_N): Likewise.
20420 (VSUBQ_M_N): Likewise.
20421 (VHADDQ_M): Likewise.
20422 (VABDQ_M): Likewise.
20423 (VQRDMLASHQ_M_N): Likewise.
20424 (VMLAQ_M_N): Likewise.
20425 (VQSHLQ_M_N): Likewise.
20426 (mve_vabdq_m_<supf><mode>): Define RTL pattern.
20427 (mve_vaddq_m_n_<supf><mode>): Likewise.
20428 (mve_vaddq_m_<supf><mode>): Likewise.
20429 (mve_vandq_m_<supf><mode>): Likewise.
20430 (mve_vbicq_m_<supf><mode>): Likewise.
20431 (mve_vbrsrq_m_n_<supf><mode>): Likewise.
20432 (mve_vcaddq_rot270_m_<supf><mode>): Likewise.
20433 (mve_vcaddq_rot90_m_<supf><mode>): Likewise.
20434 (mve_veorq_m_<supf><mode>): Likewise.
20435 (mve_vhaddq_m_n_<supf><mode>): Likewise.
20436 (mve_vhaddq_m_<supf><mode>): Likewise.
20437 (mve_vhsubq_m_n_<supf><mode>): Likewise.
20438 (mve_vhsubq_m_<supf><mode>): Likewise.
20439 (mve_vmaxq_m_<supf><mode>): Likewise.
20440 (mve_vminq_m_<supf><mode>): Likewise.
20441 (mve_vmladavaq_p_<supf><mode>): Likewise.
20442 (mve_vmlaq_m_n_<supf><mode>): Likewise.
20443 (mve_vmlasq_m_n_<supf><mode>): Likewise.
20444 (mve_vmulhq_m_<supf><mode>): Likewise.
20445 (mve_vmullbq_int_m_<supf><mode>): Likewise.
20446 (mve_vmulltq_int_m_<supf><mode>): Likewise.
20447 (mve_vmulq_m_n_<supf><mode>): Likewise.
20448 (mve_vmulq_m_<supf><mode>): Likewise.
20449 (mve_vornq_m_<supf><mode>): Likewise.
20450 (mve_vorrq_m_<supf><mode>): Likewise.
20451 (mve_vqaddq_m_n_<supf><mode>): Likewise.
20452 (mve_vqaddq_m_<supf><mode>): Likewise.
20453 (mve_vqdmlahq_m_n_<supf><mode>): Likewise.
20454 (mve_vqrdmlahq_m_n_<supf><mode>): Likewise.
20455 (mve_vqrdmlashq_m_n_<supf><mode>): Likewise.
20456 (mve_vqrshlq_m_<supf><mode>): Likewise.
20457 (mve_vqshlq_m_n_<supf><mode>): Likewise.
20458 (mve_vqshlq_m_<supf><mode>): Likewise.
20459 (mve_vqsubq_m_n_<supf><mode>): Likewise.
20460 (mve_vqsubq_m_<supf><mode>): Likewise.
20461 (mve_vrhaddq_m_<supf><mode>): Likewise.
20462 (mve_vrmulhq_m_<supf><mode>): Likewise.
20463 (mve_vrshlq_m_<supf><mode>): Likewise.
20464 (mve_vrshrq_m_n_<supf><mode>): Likewise.
20465 (mve_vshlq_m_n_<supf><mode>): Likewise.
20466 (mve_vshrq_m_n_<supf><mode>): Likewise.
20467 (mve_vsliq_m_n_<supf><mode>): Likewise.
20468 (mve_vsubq_m_n_<supf><mode>): Likewise.
20469 (mve_vhcaddq_rot270_m_s<mode>): Likewise.
20470 (mve_vhcaddq_rot90_m_s<mode>): Likewise.
20471 (mve_vmladavaxq_p_s<mode>): Likewise.
20472 (mve_vmlsdavaq_p_s<mode>): Likewise.
20473 (mve_vmlsdavaxq_p_s<mode>): Likewise.
20474 (mve_vqdmladhq_m_s<mode>): Likewise.
20475 (mve_vqdmladhxq_m_s<mode>): Likewise.
20476 (mve_vqdmlsdhq_m_s<mode>): Likewise.
20477 (mve_vqdmlsdhxq_m_s<mode>): Likewise.
20478 (mve_vqdmulhq_m_n_s<mode>): Likewise.
20479 (mve_vqdmulhq_m_s<mode>): Likewise.
20480 (mve_vqrdmladhq_m_s<mode>): Likewise.
20481 (mve_vqrdmladhxq_m_s<mode>): Likewise.
20482 (mve_vqrdmlsdhq_m_s<mode>): Likewise.
20483 (mve_vqrdmlsdhxq_m_s<mode>): Likewise.
20484 (mve_vqrdmulhq_m_n_s<mode>): Likewise.
20485 (mve_vqrdmulhq_m_s<mode>): Likewise.
20487 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
20488 Mihail Ionescu <mihail.ionescu@arm.com>
20489 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
20491 * config/arm/arm-builtins.c (QUADOP_UNONE_UNONE_NONE_NONE_UNONE_QUALIFIERS):
20492 Define builtin qualifier.
20493 (QUADOP_NONE_NONE_NONE_NONE_UNONE_QUALIFIERS): Likewise.
20494 (QUADOP_NONE_NONE_NONE_IMM_UNONE_QUALIFIERS): Likewise.
20495 (QUADOP_UNONE_UNONE_UNONE_UNONE_UNONE_QUALIFIERS): Likewise.
20496 (QUADOP_UNONE_UNONE_NONE_IMM_UNONE_QUALIFIERS): Likewise.
20497 (QUADOP_NONE_NONE_UNONE_IMM_UNONE_QUALIFIERS): Likewise.
20498 (QUADOP_UNONE_UNONE_UNONE_IMM_UNONE_QUALIFIERS): Likewise.
20499 (QUADOP_UNONE_UNONE_UNONE_NONE_UNONE_QUALIFIERS): Likewise.
20500 * config/arm/arm_mve.h (vsriq_m_n_s8): Define macro.
20501 (vsubq_m_s8): Likewise.
20502 (vcvtq_m_n_f16_u16): Likewise.
20503 (vqshluq_m_n_s8): Likewise.
20504 (vabavq_p_s8): Likewise.
20505 (vsriq_m_n_u8): Likewise.
20506 (vshlq_m_u8): Likewise.
20507 (vsubq_m_u8): Likewise.
20508 (vabavq_p_u8): Likewise.
20509 (vshlq_m_s8): Likewise.
20510 (vcvtq_m_n_f16_s16): Likewise.
20511 (vsriq_m_n_s16): Likewise.
20512 (vsubq_m_s16): Likewise.
20513 (vcvtq_m_n_f32_u32): Likewise.
20514 (vqshluq_m_n_s16): Likewise.
20515 (vabavq_p_s16): Likewise.
20516 (vsriq_m_n_u16): Likewise.
20517 (vshlq_m_u16): Likewise.
20518 (vsubq_m_u16): Likewise.
20519 (vabavq_p_u16): Likewise.
20520 (vshlq_m_s16): Likewise.
20521 (vcvtq_m_n_f32_s32): Likewise.
20522 (vsriq_m_n_s32): Likewise.
20523 (vsubq_m_s32): Likewise.
20524 (vqshluq_m_n_s32): Likewise.
20525 (vabavq_p_s32): Likewise.
20526 (vsriq_m_n_u32): Likewise.
20527 (vshlq_m_u32): Likewise.
20528 (vsubq_m_u32): Likewise.
20529 (vabavq_p_u32): Likewise.
20530 (vshlq_m_s32): Likewise.
20531 (__arm_vsriq_m_n_s8): Define intrinsic.
20532 (__arm_vsubq_m_s8): Likewise.
20533 (__arm_vqshluq_m_n_s8): Likewise.
20534 (__arm_vabavq_p_s8): Likewise.
20535 (__arm_vsriq_m_n_u8): Likewise.
20536 (__arm_vshlq_m_u8): Likewise.
20537 (__arm_vsubq_m_u8): Likewise.
20538 (__arm_vabavq_p_u8): Likewise.
20539 (__arm_vshlq_m_s8): Likewise.
20540 (__arm_vsriq_m_n_s16): Likewise.
20541 (__arm_vsubq_m_s16): Likewise.
20542 (__arm_vqshluq_m_n_s16): Likewise.
20543 (__arm_vabavq_p_s16): Likewise.
20544 (__arm_vsriq_m_n_u16): Likewise.
20545 (__arm_vshlq_m_u16): Likewise.
20546 (__arm_vsubq_m_u16): Likewise.
20547 (__arm_vabavq_p_u16): Likewise.
20548 (__arm_vshlq_m_s16): Likewise.
20549 (__arm_vsriq_m_n_s32): Likewise.
20550 (__arm_vsubq_m_s32): Likewise.
20551 (__arm_vqshluq_m_n_s32): Likewise.
20552 (__arm_vabavq_p_s32): Likewise.
20553 (__arm_vsriq_m_n_u32): Likewise.
20554 (__arm_vshlq_m_u32): Likewise.
20555 (__arm_vsubq_m_u32): Likewise.
20556 (__arm_vabavq_p_u32): Likewise.
20557 (__arm_vshlq_m_s32): Likewise.
20558 (__arm_vcvtq_m_n_f16_u16): Likewise.
20559 (__arm_vcvtq_m_n_f16_s16): Likewise.
20560 (__arm_vcvtq_m_n_f32_u32): Likewise.
20561 (__arm_vcvtq_m_n_f32_s32): Likewise.
20562 (vcvtq_m_n): Define polymorphic variant.
20563 (vqshluq_m_n): Likewise.
20564 (vshlq_m): Likewise.
20565 (vsriq_m_n): Likewise.
20566 (vsubq_m): Likewise.
20567 (vabavq_p): Likewise.
20568 * config/arm/arm_mve_builtins.def
20569 (QUADOP_UNONE_UNONE_NONE_NONE_UNONE_QUALIFIERS): Use builtin qualifier.
20570 (QUADOP_NONE_NONE_NONE_NONE_UNONE_QUALIFIERS): Likewise.
20571 (QUADOP_NONE_NONE_NONE_IMM_UNONE_QUALIFIERS): Likewise.
20572 (QUADOP_UNONE_UNONE_UNONE_UNONE_UNONE_QUALIFIERS): Likewise.
20573 (QUADOP_UNONE_UNONE_NONE_IMM_UNONE_QUALIFIERS): Likewise.
20574 (QUADOP_NONE_NONE_UNONE_IMM_UNONE_QUALIFIERS): Likewise.
20575 (QUADOP_UNONE_UNONE_UNONE_IMM_UNONE_QUALIFIERS): Likewise.
20576 (QUADOP_UNONE_UNONE_UNONE_NONE_UNONE_QUALIFIERS): Likewise.
20577 * config/arm/mve.md (VABAVQ_P): Define iterator.
20578 (VSHLQ_M): Likewise.
20579 (VSRIQ_M_N): Likewise.
20580 (VSUBQ_M): Likewise.
20581 (VCVTQ_M_N_TO_F): Likewise.
20582 (mve_vabavq_p_<supf><mode>): Define RTL pattern.
20583 (mve_vqshluq_m_n_s<mode>): Likewise.
20584 (mve_vshlq_m_<supf><mode>): Likewise.
20585 (mve_vsriq_m_n_<supf><mode>): Likewise.
20586 (mve_vsubq_m_<supf><mode>): Likewise.
20587 (mve_vcvtq_m_n_to_f_<supf><mode>): Likewise.
20589 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
20590 Mihail Ionescu <mihail.ionescu@arm.com>
20591 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
20593 * config/arm/arm_mve.h (vrmlaldavhaxq_s32): Define macro.
20594 (vrmlsldavhaq_s32): Likewise.
20595 (vrmlsldavhaxq_s32): Likewise.
20596 (vaddlvaq_p_s32): Likewise.
20597 (vcvtbq_m_f16_f32): Likewise.
20598 (vcvtbq_m_f32_f16): Likewise.
20599 (vcvttq_m_f16_f32): Likewise.
20600 (vcvttq_m_f32_f16): Likewise.
20601 (vrev16q_m_s8): Likewise.
20602 (vrev32q_m_f16): Likewise.
20603 (vrmlaldavhq_p_s32): Likewise.
20604 (vrmlaldavhxq_p_s32): Likewise.
20605 (vrmlsldavhq_p_s32): Likewise.
20606 (vrmlsldavhxq_p_s32): Likewise.
20607 (vaddlvaq_p_u32): Likewise.
20608 (vrev16q_m_u8): Likewise.
20609 (vrmlaldavhq_p_u32): Likewise.
20610 (vmvnq_m_n_s16): Likewise.
20611 (vorrq_m_n_s16): Likewise.
20612 (vqrshrntq_n_s16): Likewise.
20613 (vqshrnbq_n_s16): Likewise.
20614 (vqshrntq_n_s16): Likewise.
20615 (vrshrnbq_n_s16): Likewise.
20616 (vrshrntq_n_s16): Likewise.
20617 (vshrnbq_n_s16): Likewise.
20618 (vshrntq_n_s16): Likewise.
20619 (vcmlaq_f16): Likewise.
20620 (vcmlaq_rot180_f16): Likewise.
20621 (vcmlaq_rot270_f16): Likewise.
20622 (vcmlaq_rot90_f16): Likewise.
20623 (vfmaq_f16): Likewise.
20624 (vfmaq_n_f16): Likewise.
20625 (vfmasq_n_f16): Likewise.
20626 (vfmsq_f16): Likewise.
20627 (vmlaldavaq_s16): Likewise.
20628 (vmlaldavaxq_s16): Likewise.
20629 (vmlsldavaq_s16): Likewise.
20630 (vmlsldavaxq_s16): Likewise.
20631 (vabsq_m_f16): Likewise.
20632 (vcvtmq_m_s16_f16): Likewise.
20633 (vcvtnq_m_s16_f16): Likewise.
20634 (vcvtpq_m_s16_f16): Likewise.
20635 (vcvtq_m_s16_f16): Likewise.
20636 (vdupq_m_n_f16): Likewise.
20637 (vmaxnmaq_m_f16): Likewise.
20638 (vmaxnmavq_p_f16): Likewise.
20639 (vmaxnmvq_p_f16): Likewise.
20640 (vminnmaq_m_f16): Likewise.
20641 (vminnmavq_p_f16): Likewise.
20642 (vminnmvq_p_f16): Likewise.
20643 (vmlaldavq_p_s16): Likewise.
20644 (vmlaldavxq_p_s16): Likewise.
20645 (vmlsldavq_p_s16): Likewise.
20646 (vmlsldavxq_p_s16): Likewise.
20647 (vmovlbq_m_s8): Likewise.
20648 (vmovltq_m_s8): Likewise.
20649 (vmovnbq_m_s16): Likewise.
20650 (vmovntq_m_s16): Likewise.
20651 (vnegq_m_f16): Likewise.
20652 (vpselq_f16): Likewise.
20653 (vqmovnbq_m_s16): Likewise.
20654 (vqmovntq_m_s16): Likewise.
20655 (vrev32q_m_s8): Likewise.
20656 (vrev64q_m_f16): Likewise.
20657 (vrndaq_m_f16): Likewise.
20658 (vrndmq_m_f16): Likewise.
20659 (vrndnq_m_f16): Likewise.
20660 (vrndpq_m_f16): Likewise.
20661 (vrndq_m_f16): Likewise.
20662 (vrndxq_m_f16): Likewise.
20663 (vcmpeqq_m_n_f16): Likewise.
20664 (vcmpgeq_m_f16): Likewise.
20665 (vcmpgeq_m_n_f16): Likewise.
20666 (vcmpgtq_m_f16): Likewise.
20667 (vcmpgtq_m_n_f16): Likewise.
20668 (vcmpleq_m_f16): Likewise.
20669 (vcmpleq_m_n_f16): Likewise.
20670 (vcmpltq_m_f16): Likewise.
20671 (vcmpltq_m_n_f16): Likewise.
20672 (vcmpneq_m_f16): Likewise.
20673 (vcmpneq_m_n_f16): Likewise.
20674 (vmvnq_m_n_u16): Likewise.
20675 (vorrq_m_n_u16): Likewise.
20676 (vqrshruntq_n_s16): Likewise.
20677 (vqshrunbq_n_s16): Likewise.
20678 (vqshruntq_n_s16): Likewise.
20679 (vcvtmq_m_u16_f16): Likewise.
20680 (vcvtnq_m_u16_f16): Likewise.
20681 (vcvtpq_m_u16_f16): Likewise.
20682 (vcvtq_m_u16_f16): Likewise.
20683 (vqmovunbq_m_s16): Likewise.
20684 (vqmovuntq_m_s16): Likewise.
20685 (vqrshrntq_n_u16): Likewise.
20686 (vqshrnbq_n_u16): Likewise.
20687 (vqshrntq_n_u16): Likewise.
20688 (vrshrnbq_n_u16): Likewise.
20689 (vrshrntq_n_u16): Likewise.
20690 (vshrnbq_n_u16): Likewise.
20691 (vshrntq_n_u16): Likewise.
20692 (vmlaldavaq_u16): Likewise.
20693 (vmlaldavaxq_u16): Likewise.
20694 (vmlaldavq_p_u16): Likewise.
20695 (vmlaldavxq_p_u16): Likewise.
20696 (vmovlbq_m_u8): Likewise.
20697 (vmovltq_m_u8): Likewise.
20698 (vmovnbq_m_u16): Likewise.
20699 (vmovntq_m_u16): Likewise.
20700 (vqmovnbq_m_u16): Likewise.
20701 (vqmovntq_m_u16): Likewise.
20702 (vrev32q_m_u8): Likewise.
20703 (vmvnq_m_n_s32): Likewise.
20704 (vorrq_m_n_s32): Likewise.
20705 (vqrshrntq_n_s32): Likewise.
20706 (vqshrnbq_n_s32): Likewise.
20707 (vqshrntq_n_s32): Likewise.
20708 (vrshrnbq_n_s32): Likewise.
20709 (vrshrntq_n_s32): Likewise.
20710 (vshrnbq_n_s32): Likewise.
20711 (vshrntq_n_s32): Likewise.
20712 (vcmlaq_f32): Likewise.
20713 (vcmlaq_rot180_f32): Likewise.
20714 (vcmlaq_rot270_f32): Likewise.
20715 (vcmlaq_rot90_f32): Likewise.
20716 (vfmaq_f32): Likewise.
20717 (vfmaq_n_f32): Likewise.
20718 (vfmasq_n_f32): Likewise.
20719 (vfmsq_f32): Likewise.
20720 (vmlaldavaq_s32): Likewise.
20721 (vmlaldavaxq_s32): Likewise.
20722 (vmlsldavaq_s32): Likewise.
20723 (vmlsldavaxq_s32): Likewise.
20724 (vabsq_m_f32): Likewise.
20725 (vcvtmq_m_s32_f32): Likewise.
20726 (vcvtnq_m_s32_f32): Likewise.
20727 (vcvtpq_m_s32_f32): Likewise.
20728 (vcvtq_m_s32_f32): Likewise.
20729 (vdupq_m_n_f32): Likewise.
20730 (vmaxnmaq_m_f32): Likewise.
20731 (vmaxnmavq_p_f32): Likewise.
20732 (vmaxnmvq_p_f32): Likewise.
20733 (vminnmaq_m_f32): Likewise.
20734 (vminnmavq_p_f32): Likewise.
20735 (vminnmvq_p_f32): Likewise.
20736 (vmlaldavq_p_s32): Likewise.
20737 (vmlaldavxq_p_s32): Likewise.
20738 (vmlsldavq_p_s32): Likewise.
20739 (vmlsldavxq_p_s32): Likewise.
20740 (vmovlbq_m_s16): Likewise.
20741 (vmovltq_m_s16): Likewise.
20742 (vmovnbq_m_s32): Likewise.
20743 (vmovntq_m_s32): Likewise.
20744 (vnegq_m_f32): Likewise.
20745 (vpselq_f32): Likewise.
20746 (vqmovnbq_m_s32): Likewise.
20747 (vqmovntq_m_s32): Likewise.
20748 (vrev32q_m_s16): Likewise.
20749 (vrev64q_m_f32): Likewise.
20750 (vrndaq_m_f32): Likewise.
20751 (vrndmq_m_f32): Likewise.
20752 (vrndnq_m_f32): Likewise.
20753 (vrndpq_m_f32): Likewise.
20754 (vrndq_m_f32): Likewise.
20755 (vrndxq_m_f32): Likewise.
20756 (vcmpeqq_m_n_f32): Likewise.
20757 (vcmpgeq_m_f32): Likewise.
20758 (vcmpgeq_m_n_f32): Likewise.
20759 (vcmpgtq_m_f32): Likewise.
20760 (vcmpgtq_m_n_f32): Likewise.
20761 (vcmpleq_m_f32): Likewise.
20762 (vcmpleq_m_n_f32): Likewise.
20763 (vcmpltq_m_f32): Likewise.
20764 (vcmpltq_m_n_f32): Likewise.
20765 (vcmpneq_m_f32): Likewise.
20766 (vcmpneq_m_n_f32): Likewise.
20767 (vmvnq_m_n_u32): Likewise.
20768 (vorrq_m_n_u32): Likewise.
20769 (vqrshruntq_n_s32): Likewise.
20770 (vqshrunbq_n_s32): Likewise.
20771 (vqshruntq_n_s32): Likewise.
20772 (vcvtmq_m_u32_f32): Likewise.
20773 (vcvtnq_m_u32_f32): Likewise.
20774 (vcvtpq_m_u32_f32): Likewise.
20775 (vcvtq_m_u32_f32): Likewise.
20776 (vqmovunbq_m_s32): Likewise.
20777 (vqmovuntq_m_s32): Likewise.
20778 (vqrshrntq_n_u32): Likewise.
20779 (vqshrnbq_n_u32): Likewise.
20780 (vqshrntq_n_u32): Likewise.
20781 (vrshrnbq_n_u32): Likewise.
20782 (vrshrntq_n_u32): Likewise.
20783 (vshrnbq_n_u32): Likewise.
20784 (vshrntq_n_u32): Likewise.
20785 (vmlaldavaq_u32): Likewise.
20786 (vmlaldavaxq_u32): Likewise.
20787 (vmlaldavq_p_u32): Likewise.
20788 (vmlaldavxq_p_u32): Likewise.
20789 (vmovlbq_m_u16): Likewise.
20790 (vmovltq_m_u16): Likewise.
20791 (vmovnbq_m_u32): Likewise.
20792 (vmovntq_m_u32): Likewise.
20793 (vqmovnbq_m_u32): Likewise.
20794 (vqmovntq_m_u32): Likewise.
20795 (vrev32q_m_u16): Likewise.
20796 (__arm_vrmlaldavhaxq_s32): Define intrinsic.
20797 (__arm_vrmlsldavhaq_s32): Likewise.
20798 (__arm_vrmlsldavhaxq_s32): Likewise.
20799 (__arm_vaddlvaq_p_s32): Likewise.
20800 (__arm_vrev16q_m_s8): Likewise.
20801 (__arm_vrmlaldavhq_p_s32): Likewise.
20802 (__arm_vrmlaldavhxq_p_s32): Likewise.
20803 (__arm_vrmlsldavhq_p_s32): Likewise.
20804 (__arm_vrmlsldavhxq_p_s32): Likewise.
20805 (__arm_vaddlvaq_p_u32): Likewise.
20806 (__arm_vrev16q_m_u8): Likewise.
20807 (__arm_vrmlaldavhq_p_u32): Likewise.
20808 (__arm_vmvnq_m_n_s16): Likewise.
20809 (__arm_vorrq_m_n_s16): Likewise.
20810 (__arm_vqrshrntq_n_s16): Likewise.
20811 (__arm_vqshrnbq_n_s16): Likewise.
20812 (__arm_vqshrntq_n_s16): Likewise.
20813 (__arm_vrshrnbq_n_s16): Likewise.
20814 (__arm_vrshrntq_n_s16): Likewise.
20815 (__arm_vshrnbq_n_s16): Likewise.
20816 (__arm_vshrntq_n_s16): Likewise.
20817 (__arm_vmlaldavaq_s16): Likewise.
20818 (__arm_vmlaldavaxq_s16): Likewise.
20819 (__arm_vmlsldavaq_s16): Likewise.
20820 (__arm_vmlsldavaxq_s16): Likewise.
20821 (__arm_vmlaldavq_p_s16): Likewise.
20822 (__arm_vmlaldavxq_p_s16): Likewise.
20823 (__arm_vmlsldavq_p_s16): Likewise.
20824 (__arm_vmlsldavxq_p_s16): Likewise.
20825 (__arm_vmovlbq_m_s8): Likewise.
20826 (__arm_vmovltq_m_s8): Likewise.
20827 (__arm_vmovnbq_m_s16): Likewise.
20828 (__arm_vmovntq_m_s16): Likewise.
20829 (__arm_vqmovnbq_m_s16): Likewise.
20830 (__arm_vqmovntq_m_s16): Likewise.
20831 (__arm_vrev32q_m_s8): Likewise.
20832 (__arm_vmvnq_m_n_u16): Likewise.
20833 (__arm_vorrq_m_n_u16): Likewise.
20834 (__arm_vqrshruntq_n_s16): Likewise.
20835 (__arm_vqshrunbq_n_s16): Likewise.
20836 (__arm_vqshruntq_n_s16): Likewise.
20837 (__arm_vqmovunbq_m_s16): Likewise.
20838 (__arm_vqmovuntq_m_s16): Likewise.
20839 (__arm_vqrshrntq_n_u16): Likewise.
20840 (__arm_vqshrnbq_n_u16): Likewise.
20841 (__arm_vqshrntq_n_u16): Likewise.
20842 (__arm_vrshrnbq_n_u16): Likewise.
20843 (__arm_vrshrntq_n_u16): Likewise.
20844 (__arm_vshrnbq_n_u16): Likewise.
20845 (__arm_vshrntq_n_u16): Likewise.
20846 (__arm_vmlaldavaq_u16): Likewise.
20847 (__arm_vmlaldavaxq_u16): Likewise.
20848 (__arm_vmlaldavq_p_u16): Likewise.
20849 (__arm_vmlaldavxq_p_u16): Likewise.
20850 (__arm_vmovlbq_m_u8): Likewise.
20851 (__arm_vmovltq_m_u8): Likewise.
20852 (__arm_vmovnbq_m_u16): Likewise.
20853 (__arm_vmovntq_m_u16): Likewise.
20854 (__arm_vqmovnbq_m_u16): Likewise.
20855 (__arm_vqmovntq_m_u16): Likewise.
20856 (__arm_vrev32q_m_u8): Likewise.
20857 (__arm_vmvnq_m_n_s32): Likewise.
20858 (__arm_vorrq_m_n_s32): Likewise.
20859 (__arm_vqrshrntq_n_s32): Likewise.
20860 (__arm_vqshrnbq_n_s32): Likewise.
20861 (__arm_vqshrntq_n_s32): Likewise.
20862 (__arm_vrshrnbq_n_s32): Likewise.
20863 (__arm_vrshrntq_n_s32): Likewise.
20864 (__arm_vshrnbq_n_s32): Likewise.
20865 (__arm_vshrntq_n_s32): Likewise.
20866 (__arm_vmlaldavaq_s32): Likewise.
20867 (__arm_vmlaldavaxq_s32): Likewise.
20868 (__arm_vmlsldavaq_s32): Likewise.
20869 (__arm_vmlsldavaxq_s32): Likewise.
20870 (__arm_vmlaldavq_p_s32): Likewise.
20871 (__arm_vmlaldavxq_p_s32): Likewise.
20872 (__arm_vmlsldavq_p_s32): Likewise.
20873 (__arm_vmlsldavxq_p_s32): Likewise.
20874 (__arm_vmovlbq_m_s16): Likewise.
20875 (__arm_vmovltq_m_s16): Likewise.
20876 (__arm_vmovnbq_m_s32): Likewise.
20877 (__arm_vmovntq_m_s32): Likewise.
20878 (__arm_vqmovnbq_m_s32): Likewise.
20879 (__arm_vqmovntq_m_s32): Likewise.
20880 (__arm_vrev32q_m_s16): Likewise.
20881 (__arm_vmvnq_m_n_u32): Likewise.
20882 (__arm_vorrq_m_n_u32): Likewise.
20883 (__arm_vqrshruntq_n_s32): Likewise.
20884 (__arm_vqshrunbq_n_s32): Likewise.
20885 (__arm_vqshruntq_n_s32): Likewise.
20886 (__arm_vqmovunbq_m_s32): Likewise.
20887 (__arm_vqmovuntq_m_s32): Likewise.
20888 (__arm_vqrshrntq_n_u32): Likewise.
20889 (__arm_vqshrnbq_n_u32): Likewise.
20890 (__arm_vqshrntq_n_u32): Likewise.
20891 (__arm_vrshrnbq_n_u32): Likewise.
20892 (__arm_vrshrntq_n_u32): Likewise.
20893 (__arm_vshrnbq_n_u32): Likewise.
20894 (__arm_vshrntq_n_u32): Likewise.
20895 (__arm_vmlaldavaq_u32): Likewise.
20896 (__arm_vmlaldavaxq_u32): Likewise.
20897 (__arm_vmlaldavq_p_u32): Likewise.
20898 (__arm_vmlaldavxq_p_u32): Likewise.
20899 (__arm_vmovlbq_m_u16): Likewise.
20900 (__arm_vmovltq_m_u16): Likewise.
20901 (__arm_vmovnbq_m_u32): Likewise.
20902 (__arm_vmovntq_m_u32): Likewise.
20903 (__arm_vqmovnbq_m_u32): Likewise.
20904 (__arm_vqmovntq_m_u32): Likewise.
20905 (__arm_vrev32q_m_u16): Likewise.
20906 (__arm_vcvtbq_m_f16_f32): Likewise.
20907 (__arm_vcvtbq_m_f32_f16): Likewise.
20908 (__arm_vcvttq_m_f16_f32): Likewise.
20909 (__arm_vcvttq_m_f32_f16): Likewise.
20910 (__arm_vrev32q_m_f16): Likewise.
20911 (__arm_vcmlaq_f16): Likewise.
20912 (__arm_vcmlaq_rot180_f16): Likewise.
20913 (__arm_vcmlaq_rot270_f16): Likewise.
20914 (__arm_vcmlaq_rot90_f16): Likewise.
20915 (__arm_vfmaq_f16): Likewise.
20916 (__arm_vfmaq_n_f16): Likewise.
20917 (__arm_vfmasq_n_f16): Likewise.
20918 (__arm_vfmsq_f16): Likewise.
20919 (__arm_vabsq_m_f16): Likewise.
20920 (__arm_vcvtmq_m_s16_f16): Likewise.
20921 (__arm_vcvtnq_m_s16_f16): Likewise.
20922 (__arm_vcvtpq_m_s16_f16): Likewise.
20923 (__arm_vcvtq_m_s16_f16): Likewise.
20924 (__arm_vdupq_m_n_f16): Likewise.
20925 (__arm_vmaxnmaq_m_f16): Likewise.
20926 (__arm_vmaxnmavq_p_f16): Likewise.
20927 (__arm_vmaxnmvq_p_f16): Likewise.
20928 (__arm_vminnmaq_m_f16): Likewise.
20929 (__arm_vminnmavq_p_f16): Likewise.
20930 (__arm_vminnmvq_p_f16): Likewise.
20931 (__arm_vnegq_m_f16): Likewise.
20932 (__arm_vpselq_f16): Likewise.
20933 (__arm_vrev64q_m_f16): Likewise.
20934 (__arm_vrndaq_m_f16): Likewise.
20935 (__arm_vrndmq_m_f16): Likewise.
20936 (__arm_vrndnq_m_f16): Likewise.
20937 (__arm_vrndpq_m_f16): Likewise.
20938 (__arm_vrndq_m_f16): Likewise.
20939 (__arm_vrndxq_m_f16): Likewise.
20940 (__arm_vcmpeqq_m_n_f16): Likewise.
20941 (__arm_vcmpgeq_m_f16): Likewise.
20942 (__arm_vcmpgeq_m_n_f16): Likewise.
20943 (__arm_vcmpgtq_m_f16): Likewise.
20944 (__arm_vcmpgtq_m_n_f16): Likewise.
20945 (__arm_vcmpleq_m_f16): Likewise.
20946 (__arm_vcmpleq_m_n_f16): Likewise.
20947 (__arm_vcmpltq_m_f16): Likewise.
20948 (__arm_vcmpltq_m_n_f16): Likewise.
20949 (__arm_vcmpneq_m_f16): Likewise.
20950 (__arm_vcmpneq_m_n_f16): Likewise.
20951 (__arm_vcvtmq_m_u16_f16): Likewise.
20952 (__arm_vcvtnq_m_u16_f16): Likewise.
20953 (__arm_vcvtpq_m_u16_f16): Likewise.
20954 (__arm_vcvtq_m_u16_f16): Likewise.
20955 (__arm_vcmlaq_f32): Likewise.
20956 (__arm_vcmlaq_rot180_f32): Likewise.
20957 (__arm_vcmlaq_rot270_f32): Likewise.
20958 (__arm_vcmlaq_rot90_f32): Likewise.
20959 (__arm_vfmaq_f32): Likewise.
20960 (__arm_vfmaq_n_f32): Likewise.
20961 (__arm_vfmasq_n_f32): Likewise.
20962 (__arm_vfmsq_f32): Likewise.
20963 (__arm_vabsq_m_f32): Likewise.
20964 (__arm_vcvtmq_m_s32_f32): Likewise.
20965 (__arm_vcvtnq_m_s32_f32): Likewise.
20966 (__arm_vcvtpq_m_s32_f32): Likewise.
20967 (__arm_vcvtq_m_s32_f32): Likewise.
20968 (__arm_vdupq_m_n_f32): Likewise.
20969 (__arm_vmaxnmaq_m_f32): Likewise.
20970 (__arm_vmaxnmavq_p_f32): Likewise.
20971 (__arm_vmaxnmvq_p_f32): Likewise.
20972 (__arm_vminnmaq_m_f32): Likewise.
20973 (__arm_vminnmavq_p_f32): Likewise.
20974 (__arm_vminnmvq_p_f32): Likewise.
20975 (__arm_vnegq_m_f32): Likewise.
20976 (__arm_vpselq_f32): Likewise.
20977 (__arm_vrev64q_m_f32): Likewise.
20978 (__arm_vrndaq_m_f32): Likewise.
20979 (__arm_vrndmq_m_f32): Likewise.
20980 (__arm_vrndnq_m_f32): Likewise.
20981 (__arm_vrndpq_m_f32): Likewise.
20982 (__arm_vrndq_m_f32): Likewise.
20983 (__arm_vrndxq_m_f32): Likewise.
20984 (__arm_vcmpeqq_m_n_f32): Likewise.
20985 (__arm_vcmpgeq_m_f32): Likewise.
20986 (__arm_vcmpgeq_m_n_f32): Likewise.
20987 (__arm_vcmpgtq_m_f32): Likewise.
20988 (__arm_vcmpgtq_m_n_f32): Likewise.
20989 (__arm_vcmpleq_m_f32): Likewise.
20990 (__arm_vcmpleq_m_n_f32): Likewise.
20991 (__arm_vcmpltq_m_f32): Likewise.
20992 (__arm_vcmpltq_m_n_f32): Likewise.
20993 (__arm_vcmpneq_m_f32): Likewise.
20994 (__arm_vcmpneq_m_n_f32): Likewise.
20995 (__arm_vcvtmq_m_u32_f32): Likewise.
20996 (__arm_vcvtnq_m_u32_f32): Likewise.
20997 (__arm_vcvtpq_m_u32_f32): Likewise.
20998 (__arm_vcvtq_m_u32_f32): Likewise.
20999 (vcvtq_m): Define polymorphic variant.
21000 (vabsq_m): Likewise.
21001 (vcmlaq): Likewise.
21002 (vcmlaq_rot180): Likewise.
21003 (vcmlaq_rot270): Likewise.
21004 (vcmlaq_rot90): Likewise.
21005 (vcmpeqq_m_n): Likewise.
21006 (vcmpgeq_m_n): Likewise.
21007 (vrndxq_m): Likewise.
21008 (vrndq_m): Likewise.
21009 (vrndpq_m): Likewise.
21010 (vcmpgtq_m_n): Likewise.
21011 (vcmpgtq_m): Likewise.
21012 (vcmpleq_m): Likewise.
21013 (vcmpleq_m_n): Likewise.
21014 (vcmpltq_m_n): Likewise.
21015 (vcmpltq_m): Likewise.
21016 (vcmpneq_m): Likewise.
21017 (vcmpneq_m_n): Likewise.
21018 (vcvtbq_m): Likewise.
21019 (vcvttq_m): Likewise.
21020 (vcvtmq_m): Likewise.
21021 (vcvtnq_m): Likewise.
21022 (vcvtpq_m): Likewise.
21023 (vdupq_m_n): Likewise.
21024 (vfmaq_n): Likewise.
21026 (vfmasq_n): Likewise.
21028 (vmaxnmaq_m): Likewise.
21029 (vmaxnmavq_m): Likewise.
21030 (vmaxnmvq_m): Likewise.
21031 (vmaxnmavq_p): Likewise.
21032 (vmaxnmvq_p): Likewise.
21033 (vminnmaq_m): Likewise.
21034 (vminnmavq_p): Likewise.
21035 (vminnmvq_p): Likewise.
21036 (vrndnq_m): Likewise.
21037 (vrndaq_m): Likewise.
21038 (vrndmq_m): Likewise.
21039 (vrev64q_m): Likewise.
21040 (vrev32q_m): Likewise.
21041 (vpselq): Likewise.
21042 (vnegq_m): Likewise.
21043 (vcmpgeq_m): Likewise.
21044 (vshrntq_n): Likewise.
21045 (vrshrntq_n): Likewise.
21046 (vmovlbq_m): Likewise.
21047 (vmovnbq_m): Likewise.
21048 (vmovntq_m): Likewise.
21049 (vmvnq_m_n): Likewise.
21050 (vmvnq_m): Likewise.
21051 (vshrnbq_n): Likewise.
21052 (vrshrnbq_n): Likewise.
21053 (vqshruntq_n): Likewise.
21054 (vrev16q_m): Likewise.
21055 (vqshrunbq_n): Likewise.
21056 (vqshrntq_n): Likewise.
21057 (vqrshruntq_n): Likewise.
21058 (vqrshrntq_n): Likewise.
21059 (vqshrnbq_n): Likewise.
21060 (vqmovuntq_m): Likewise.
21061 (vqmovntq_m): Likewise.
21062 (vqmovnbq_m): Likewise.
21063 (vorrq_m_n): Likewise.
21064 (vmovltq_m): Likewise.
21065 (vqmovunbq_m): Likewise.
21066 (vaddlvaq_p): Likewise.
21067 (vmlaldavaq): Likewise.
21068 (vmlaldavaxq): Likewise.
21069 (vmlaldavq_p): Likewise.
21070 (vmlaldavxq_p): Likewise.
21071 (vmlsldavaq): Likewise.
21072 (vmlsldavaxq): Likewise.
21073 (vmlsldavq_p): Likewise.
21074 (vmlsldavxq_p): Likewise.
21075 (vrmlaldavhaxq): Likewise.
21076 (vrmlaldavhq_p): Likewise.
21077 (vrmlaldavhxq_p): Likewise.
21078 (vrmlsldavhaq): Likewise.
21079 (vrmlsldavhaxq): Likewise.
21080 (vrmlsldavhq_p): Likewise.
21081 (vrmlsldavhxq_p): Likewise.
21082 * config/arm/arm_mve_builtins.def (TERNOP_NONE_NONE_IMM_UNONE): Use
21084 (TERNOP_NONE_NONE_NONE_IMM): Likewise.
21085 (TERNOP_NONE_NONE_NONE_NONE): Likewise.
21086 (TERNOP_NONE_NONE_NONE_UNONE): Likewise.
21087 (TERNOP_UNONE_NONE_NONE_UNONE): Likewise.
21088 (TERNOP_UNONE_UNONE_IMM_UNONE): Likewise.
21089 (TERNOP_UNONE_UNONE_NONE_IMM): Likewise.
21090 (TERNOP_UNONE_UNONE_NONE_UNONE): Likewise.
21091 (TERNOP_UNONE_UNONE_UNONE_IMM): Likewise.
21092 (TERNOP_UNONE_UNONE_UNONE_UNONE): Likewise.
21093 * config/arm/mve.md (MVE_constraint3): Define mode attribute iterator.
21094 (MVE_pred3): Likewise.
21095 (MVE_constraint1): Likewise.
21096 (MVE_pred1): Likewise.
21097 (VMLALDAVQ_P): Define iterator.
21098 (VQMOVNBQ_M): Likewise.
21099 (VMOVLTQ_M): Likewise.
21100 (VMOVNBQ_M): Likewise.
21101 (VRSHRNTQ_N): Likewise.
21102 (VORRQ_M_N): Likewise.
21103 (VREV32Q_M): Likewise.
21104 (VREV16Q_M): Likewise.
21105 (VQRSHRNTQ_N): Likewise.
21106 (VMOVNTQ_M): Likewise.
21107 (VMOVLBQ_M): Likewise.
21108 (VMLALDAVAQ): Likewise.
21109 (VQSHRNBQ_N): Likewise.
21110 (VSHRNBQ_N): Likewise.
21111 (VRSHRNBQ_N): Likewise.
21112 (VMLALDAVXQ_P): Likewise.
21113 (VQMOVNTQ_M): Likewise.
21114 (VMVNQ_M_N): Likewise.
21115 (VQSHRNTQ_N): Likewise.
21116 (VMLALDAVAXQ): Likewise.
21117 (VSHRNTQ_N): Likewise.
21118 (VCVTMQ_M): Likewise.
21119 (VCVTNQ_M): Likewise.
21120 (VCVTPQ_M): Likewise.
21121 (VCVTQ_M_N_FROM_F): Likewise.
21122 (VCVTQ_M_FROM_F): Likewise.
21123 (VRMLALDAVHQ_P): Likewise.
21124 (VADDLVAQ_P): Likewise.
21125 (mve_vrndq_m_f<mode>): Define RTL pattern.
21126 (mve_vabsq_m_f<mode>): Likewise.
21127 (mve_vaddlvaq_p_<supf>v4si): Likewise.
21128 (mve_vcmlaq_f<mode>): Likewise.
21129 (mve_vcmlaq_rot180_f<mode>): Likewise.
21130 (mve_vcmlaq_rot270_f<mode>): Likewise.
21131 (mve_vcmlaq_rot90_f<mode>): Likewise.
21132 (mve_vcmpeqq_m_n_f<mode>): Likewise.
21133 (mve_vcmpgeq_m_f<mode>): Likewise.
21134 (mve_vcmpgeq_m_n_f<mode>): Likewise.
21135 (mve_vcmpgtq_m_f<mode>): Likewise.
21136 (mve_vcmpgtq_m_n_f<mode>): Likewise.
21137 (mve_vcmpleq_m_f<mode>): Likewise.
21138 (mve_vcmpleq_m_n_f<mode>): Likewise.
21139 (mve_vcmpltq_m_f<mode>): Likewise.
21140 (mve_vcmpltq_m_n_f<mode>): Likewise.
21141 (mve_vcmpneq_m_f<mode>): Likewise.
21142 (mve_vcmpneq_m_n_f<mode>): Likewise.
21143 (mve_vcvtbq_m_f16_f32v8hf): Likewise.
21144 (mve_vcvtbq_m_f32_f16v4sf): Likewise.
21145 (mve_vcvttq_m_f16_f32v8hf): Likewise.
21146 (mve_vcvttq_m_f32_f16v4sf): Likewise.
21147 (mve_vdupq_m_n_f<mode>): Likewise.
21148 (mve_vfmaq_f<mode>): Likewise.
21149 (mve_vfmaq_n_f<mode>): Likewise.
21150 (mve_vfmasq_n_f<mode>): Likewise.
21151 (mve_vfmsq_f<mode>): Likewise.
21152 (mve_vmaxnmaq_m_f<mode>): Likewise.
21153 (mve_vmaxnmavq_p_f<mode>): Likewise.
21154 (mve_vmaxnmvq_p_f<mode>): Likewise.
21155 (mve_vminnmaq_m_f<mode>): Likewise.
21156 (mve_vminnmavq_p_f<mode>): Likewise.
21157 (mve_vminnmvq_p_f<mode>): Likewise.
21158 (mve_vmlaldavaq_<supf><mode>): Likewise.
21159 (mve_vmlaldavaxq_<supf><mode>): Likewise.
21160 (mve_vmlaldavq_p_<supf><mode>): Likewise.
21161 (mve_vmlaldavxq_p_<supf><mode>): Likewise.
21162 (mve_vmlsldavaq_s<mode>): Likewise.
21163 (mve_vmlsldavaxq_s<mode>): Likewise.
21164 (mve_vmlsldavq_p_s<mode>): Likewise.
21165 (mve_vmlsldavxq_p_s<mode>): Likewise.
21166 (mve_vmovlbq_m_<supf><mode>): Likewise.
21167 (mve_vmovltq_m_<supf><mode>): Likewise.
21168 (mve_vmovnbq_m_<supf><mode>): Likewise.
21169 (mve_vmovntq_m_<supf><mode>): Likewise.
21170 (mve_vmvnq_m_n_<supf><mode>): Likewise.
21171 (mve_vnegq_m_f<mode>): Likewise.
21172 (mve_vorrq_m_n_<supf><mode>): Likewise.
21173 (mve_vpselq_f<mode>): Likewise.
21174 (mve_vqmovnbq_m_<supf><mode>): Likewise.
21175 (mve_vqmovntq_m_<supf><mode>): Likewise.
21176 (mve_vqmovunbq_m_s<mode>): Likewise.
21177 (mve_vqmovuntq_m_s<mode>): Likewise.
21178 (mve_vqrshrntq_n_<supf><mode>): Likewise.
21179 (mve_vqrshruntq_n_s<mode>): Likewise.
21180 (mve_vqshrnbq_n_<supf><mode>): Likewise.
21181 (mve_vqshrntq_n_<supf><mode>): Likewise.
21182 (mve_vqshrunbq_n_s<mode>): Likewise.
21183 (mve_vqshruntq_n_s<mode>): Likewise.
21184 (mve_vrev32q_m_fv8hf): Likewise.
21185 (mve_vrev32q_m_<supf><mode>): Likewise.
21186 (mve_vrev64q_m_f<mode>): Likewise.
21187 (mve_vrmlaldavhaxq_sv4si): Likewise.
21188 (mve_vrmlaldavhxq_p_sv4si): Likewise.
21189 (mve_vrmlsldavhaxq_sv4si): Likewise.
21190 (mve_vrmlsldavhq_p_sv4si): Likewise.
21191 (mve_vrmlsldavhxq_p_sv4si): Likewise.
21192 (mve_vrndaq_m_f<mode>): Likewise.
21193 (mve_vrndmq_m_f<mode>): Likewise.
21194 (mve_vrndnq_m_f<mode>): Likewise.
21195 (mve_vrndpq_m_f<mode>): Likewise.
21196 (mve_vrndxq_m_f<mode>): Likewise.
21197 (mve_vrshrnbq_n_<supf><mode>): Likewise.
21198 (mve_vrshrntq_n_<supf><mode>): Likewise.
21199 (mve_vshrnbq_n_<supf><mode>): Likewise.
21200 (mve_vshrntq_n_<supf><mode>): Likewise.
21201 (mve_vcvtmq_m_<supf><mode>): Likewise.
21202 (mve_vcvtpq_m_<supf><mode>): Likewise.
21203 (mve_vcvtnq_m_<supf><mode>): Likewise.
21204 (mve_vcvtq_m_n_from_f_<supf><mode>): Likewise.
21205 (mve_vrev16q_m_<supf>v16qi): Likewise.
21206 (mve_vcvtq_m_from_f_<supf><mode>): Likewise.
21207 (mve_vrmlaldavhq_p_<supf>v4si): Likewise.
21208 (mve_vrmlsldavhaq_sv4si): Likewise.
21210 2020-03-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
21211 Mihail Ionescu <mihail.ionescu@arm.com>
21212 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
21214 * config/arm/arm_mve.h (vpselq_u8): Define macro.
21215 (vpselq_s8): Likewise.
21216 (vrev64q_m_u8): Likewise.
21217 (vqrdmlashq_n_u8): Likewise.
21218 (vqrdmlahq_n_u8): Likewise.
21219 (vqdmlahq_n_u8): Likewise.
21220 (vmvnq_m_u8): Likewise.
21221 (vmlasq_n_u8): Likewise.
21222 (vmlaq_n_u8): Likewise.
21223 (vmladavq_p_u8): Likewise.
21224 (vmladavaq_u8): Likewise.
21225 (vminvq_p_u8): Likewise.
21226 (vmaxvq_p_u8): Likewise.
21227 (vdupq_m_n_u8): Likewise.
21228 (vcmpneq_m_u8): Likewise.
21229 (vcmpneq_m_n_u8): Likewise.
21230 (vcmphiq_m_u8): Likewise.
21231 (vcmphiq_m_n_u8): Likewise.
21232 (vcmpeqq_m_u8): Likewise.
21233 (vcmpeqq_m_n_u8): Likewise.
21234 (vcmpcsq_m_u8): Likewise.
21235 (vcmpcsq_m_n_u8): Likewise.
21236 (vclzq_m_u8): Likewise.
21237 (vaddvaq_p_u8): Likewise.
21238 (vsriq_n_u8): Likewise.
21239 (vsliq_n_u8): Likewise.
21240 (vshlq_m_r_u8): Likewise.
21241 (vrshlq_m_n_u8): Likewise.
21242 (vqshlq_m_r_u8): Likewise.
21243 (vqrshlq_m_n_u8): Likewise.
21244 (vminavq_p_s8): Likewise.
21245 (vminaq_m_s8): Likewise.
21246 (vmaxavq_p_s8): Likewise.
21247 (vmaxaq_m_s8): Likewise.
21248 (vcmpneq_m_s8): Likewise.
21249 (vcmpneq_m_n_s8): Likewise.
21250 (vcmpltq_m_s8): Likewise.
21251 (vcmpltq_m_n_s8): Likewise.
21252 (vcmpleq_m_s8): Likewise.
21253 (vcmpleq_m_n_s8): Likewise.
21254 (vcmpgtq_m_s8): Likewise.
21255 (vcmpgtq_m_n_s8): Likewise.
21256 (vcmpgeq_m_s8): Likewise.
21257 (vcmpgeq_m_n_s8): Likewise.
21258 (vcmpeqq_m_s8): Likewise.
21259 (vcmpeqq_m_n_s8): Likewise.
21260 (vshlq_m_r_s8): Likewise.
21261 (vrshlq_m_n_s8): Likewise.
21262 (vrev64q_m_s8): Likewise.
21263 (vqshlq_m_r_s8): Likewise.
21264 (vqrshlq_m_n_s8): Likewise.
21265 (vqnegq_m_s8): Likewise.
21266 (vqabsq_m_s8): Likewise.
21267 (vnegq_m_s8): Likewise.
21268 (vmvnq_m_s8): Likewise.
21269 (vmlsdavxq_p_s8): Likewise.
21270 (vmlsdavq_p_s8): Likewise.
21271 (vmladavxq_p_s8): Likewise.
21272 (vmladavq_p_s8): Likewise.
21273 (vminvq_p_s8): Likewise.
21274 (vmaxvq_p_s8): Likewise.
21275 (vdupq_m_n_s8): Likewise.
21276 (vclzq_m_s8): Likewise.
21277 (vclsq_m_s8): Likewise.
21278 (vaddvaq_p_s8): Likewise.
21279 (vabsq_m_s8): Likewise.
21280 (vqrdmlsdhxq_s8): Likewise.
21281 (vqrdmlsdhq_s8): Likewise.
21282 (vqrdmlashq_n_s8): Likewise.
21283 (vqrdmlahq_n_s8): Likewise.
21284 (vqrdmladhxq_s8): Likewise.
21285 (vqrdmladhq_s8): Likewise.
21286 (vqdmlsdhxq_s8): Likewise.
21287 (vqdmlsdhq_s8): Likewise.
21288 (vqdmlahq_n_s8): Likewise.
21289 (vqdmladhxq_s8): Likewise.
21290 (vqdmladhq_s8): Likewise.
21291 (vmlsdavaxq_s8): Likewise.
21292 (vmlsdavaq_s8): Likewise.
21293 (vmlasq_n_s8): Likewise.
21294 (vmlaq_n_s8): Likewise.
21295 (vmladavaxq_s8): Likewise.
21296 (vmladavaq_s8): Likewise.
21297 (vsriq_n_s8): Likewise.
21298 (vsliq_n_s8): Likewise.
21299 (vpselq_u16): Likewise.
21300 (vpselq_s16): Likewise.
21301 (vrev64q_m_u16): Likewise.
21302 (vqrdmlashq_n_u16): Likewise.
21303 (vqrdmlahq_n_u16): Likewise.
21304 (vqdmlahq_n_u16): Likewise.
21305 (vmvnq_m_u16): Likewise.
21306 (vmlasq_n_u16): Likewise.
21307 (vmlaq_n_u16): Likewise.
21308 (vmladavq_p_u16): Likewise.
21309 (vmladavaq_u16): Likewise.
21310 (vminvq_p_u16): Likewise.
21311 (vmaxvq_p_u16): Likewise.
21312 (vdupq_m_n_u16): Likewise.
21313 (vcmpneq_m_u16): Likewise.
21314 (vcmpneq_m_n_u16): Likewise.
21315 (vcmphiq_m_u16): Likewise.
21316 (vcmphiq_m_n_u16): Likewise.
21317 (vcmpeqq_m_u16): Likewise.
21318 (vcmpeqq_m_n_u16): Likewise.
21319 (vcmpcsq_m_u16): Likewise.
21320 (vcmpcsq_m_n_u16): Likewise.
21321 (vclzq_m_u16): Likewise.
21322 (vaddvaq_p_u16): Likewise.
21323 (vsriq_n_u16): Likewise.
21324 (vsliq_n_u16): Likewise.
21325 (vshlq_m_r_u16): Likewise.
21326 (vrshlq_m_n_u16): Likewise.
21327 (vqshlq_m_r_u16): Likewise.
21328 (vqrshlq_m_n_u16): Likewise.
21329 (vminavq_p_s16): Likewise.
21330 (vminaq_m_s16): Likewise.
21331 (vmaxavq_p_s16): Likewise.
21332 (vmaxaq_m_s16): Likewise.
21333 (vcmpneq_m_s16): Likewise.
21334 (vcmpneq_m_n_s16): Likewise.
21335 (vcmpltq_m_s16): Likewise.
21336 (vcmpltq_m_n_s16): Likewise.
21337 (vcmpleq_m_s16): Likewise.
21338 (vcmpleq_m_n_s16): Likewise.
21339 (vcmpgtq_m_s16): Likewise.
21340 (vcmpgtq_m_n_s16): Likewise.
21341 (vcmpgeq_m_s16): Likewise.
21342 (vcmpgeq_m_n_s16): Likewise.
21343 (vcmpeqq_m_s16): Likewise.
21344 (vcmpeqq_m_n_s16): Likewise.
21345 (vshlq_m_r_s16): Likewise.
21346 (vrshlq_m_n_s16): Likewise.
21347 (vrev64q_m_s16): Likewise.
21348 (vqshlq_m_r_s16): Likewise.
21349 (vqrshlq_m_n_s16): Likewise.
21350 (vqnegq_m_s16): Likewise.
21351 (vqabsq_m_s16): Likewise.
21352 (vnegq_m_s16): Likewise.
21353 (vmvnq_m_s16): Likewise.
21354 (vmlsdavxq_p_s16): Likewise.
21355 (vmlsdavq_p_s16): Likewise.
21356 (vmladavxq_p_s16): Likewise.
21357 (vmladavq_p_s16): Likewise.
21358 (vminvq_p_s16): Likewise.
21359 (vmaxvq_p_s16): Likewise.
21360 (vdupq_m_n_s16): Likewise.
21361 (vclzq_m_s16): Likewise.
21362 (vclsq_m_s16): Likewise.
21363 (vaddvaq_p_s16): Likewise.
21364 (vabsq_m_s16): Likewise.
21365 (vqrdmlsdhxq_s16): Likewise.
21366 (vqrdmlsdhq_s16): Likewise.
21367 (vqrdmlashq_n_s16): Likewise.
21368 (vqrdmlahq_n_s16): Likewise.
21369 (vqrdmladhxq_s16): Likewise.
21370 (vqrdmladhq_s16): Likewise.
21371 (vqdmlsdhxq_s16): Likewise.
21372 (vqdmlsdhq_s16): Likewise.
21373 (vqdmlahq_n_s16): Likewise.
21374 (vqdmladhxq_s16): Likewise.
21375 (vqdmladhq_s16): Likewise.
21376 (vmlsdavaxq_s16): Likewise.
21377 (vmlsdavaq_s16): Likewise.
21378 (vmlasq_n_s16): Likewise.
21379 (vmlaq_n_s16): Likewise.
21380 (vmladavaxq_s16): Likewise.
21381 (vmladavaq_s16): Likewise.
21382 (vsriq_n_s16): Likewise.
21383 (vsliq_n_s16): Likewise.
21384 (vpselq_u32): Likewise.
21385 (vpselq_s32): Likewise.
21386 (vrev64q_m_u32): Likewise.
21387 (vqrdmlashq_n_u32): Likewise.
21388 (vqrdmlahq_n_u32): Likewise.
21389 (vqdmlahq_n_u32): Likewise.
21390 (vmvnq_m_u32): Likewise.
21391 (vmlasq_n_u32): Likewise.
21392 (vmlaq_n_u32): Likewise.
21393 (vmladavq_p_u32): Likewise.
21394 (vmladavaq_u32): Likewise.
21395 (vminvq_p_u32): Likewise.
21396 (vmaxvq_p_u32): Likewise.
21397 (vdupq_m_n_u32): Likewise.
21398 (vcmpneq_m_u32): Likewise.
21399 (vcmpneq_m_n_u32): Likewise.
21400 (vcmphiq_m_u32): Likewise.
21401 (vcmphiq_m_n_u32): Likewise.
21402 (vcmpeqq_m_u32): Likewise.
21403 (vcmpeqq_m_n_u32): Likewise.
21404 (vcmpcsq_m_u32): Likewise.
21405 (vcmpcsq_m_n_u32): Likewise.
21406 (vclzq_m_u32): Likewise.
21407 (vaddvaq_p_u32): Likewise.
21408 (vsriq_n_u32): Likewise.
21409 (vsliq_n_u32): Likewise.
21410 (vshlq_m_r_u32): Likewise.
21411 (vrshlq_m_n_u32): Likewise.
21412 (vqshlq_m_r_u32): Likewise.
21413 (vqrshlq_m_n_u32): Likewise.
21414 (vminavq_p_s32): Likewise.
21415 (vminaq_m_s32): Likewise.
21416 (vmaxavq_p_s32): Likewise.
21417 (vmaxaq_m_s32): Likewise.
21418 (vcmpneq_m_s32): Likewise.
21419 (vcmpneq_m_n_s32): Likewise.
21420 (vcmpltq_m_s32): Likewise.
21421 (vcmpltq_m_n_s32): Likewise.
21422 (vcmpleq_m_s32): Likewise.
21423 (vcmpleq_m_n_s32): Likewise.
21424 (vcmpgtq_m_s32): Likewise.
21425 (vcmpgtq_m_n_s32): Likewise.
21426 (vcmpgeq_m_s32): Likewise.
21427 (vcmpgeq_m_n_s32): Likewise.
21428 (vcmpeqq_m_s32): Likewise.
21429 (vcmpeqq_m_n_s32): Likewise.
21430 (vshlq_m_r_s32): Likewise.
21431 (vrshlq_m_n_s32): Likewise.
21432 (vrev64q_m_s32): Likewise.
21433 (vqshlq_m_r_s32): Likewise.
21434 (vqrshlq_m_n_s32): Likewise.
21435 (vqnegq_m_s32): Likewise.
21436 (vqabsq_m_s32): Likewise.
21437 (vnegq_m_s32): Likewise.
21438 (vmvnq_m_s32): Likewise.
21439 (vmlsdavxq_p_s32): Likewise.
21440 (vmlsdavq_p_s32): Likewise.
21441 (vmladavxq_p_s32): Likewise.
21442 (vmladavq_p_s32): Likewise.
21443 (vminvq_p_s32): Likewise.
21444 (vmaxvq_p_s32): Likewise.
21445 (vdupq_m_n_s32): Likewise.
21446 (vclzq_m_s32): Likewise.
21447 (vclsq_m_s32): Likewise.
21448 (vaddvaq_p_s32): Likewise.
21449 (vabsq_m_s32): Likewise.
21450 (vqrdmlsdhxq_s32): Likewise.
21451 (vqrdmlsdhq_s32): Likewise.
21452 (vqrdmlashq_n_s32): Likewise.
21453 (vqrdmlahq_n_s32): Likewise.
21454 (vqrdmladhxq_s32): Likewise.
21455 (vqrdmladhq_s32): Likewise.
21456 (vqdmlsdhxq_s32): Likewise.
21457 (vqdmlsdhq_s32): Likewise.
21458 (vqdmlahq_n_s32): Likewise.
21459 (vqdmladhxq_s32): Likewise.
21460 (vqdmladhq_s32): Likewise.
21461 (vmlsdavaxq_s32): Likewise.
21462 (vmlsdavaq_s32): Likewise.
21463 (vmlasq_n_s32): Likewise.
21464 (vmlaq_n_s32): Likewise.
21465 (vmladavaxq_s32): Likewise.
21466 (vmladavaq_s32): Likewise.
21467 (vsriq_n_s32): Likewise.
21468 (vsliq_n_s32): Likewise.
21469 (vpselq_u64): Likewise.
21470 (vpselq_s64): Likewise.
21471 (__arm_vpselq_u8): Define intrinsic.
21472 (__arm_vpselq_s8): Likewise.
21473 (__arm_vrev64q_m_u8): Likewise.
21474 (__arm_vqrdmlashq_n_u8): Likewise.
21475 (__arm_vqrdmlahq_n_u8): Likewise.
21476 (__arm_vqdmlahq_n_u8): Likewise.
21477 (__arm_vmvnq_m_u8): Likewise.
21478 (__arm_vmlasq_n_u8): Likewise.
21479 (__arm_vmlaq_n_u8): Likewise.
21480 (__arm_vmladavq_p_u8): Likewise.
21481 (__arm_vmladavaq_u8): Likewise.
21482 (__arm_vminvq_p_u8): Likewise.
21483 (__arm_vmaxvq_p_u8): Likewise.
21484 (__arm_vdupq_m_n_u8): Likewise.
21485 (__arm_vcmpneq_m_u8): Likewise.
21486 (__arm_vcmpneq_m_n_u8): Likewise.
21487 (__arm_vcmphiq_m_u8): Likewise.
21488 (__arm_vcmphiq_m_n_u8): Likewise.
21489 (__arm_vcmpeqq_m_u8): Likewise.
21490 (__arm_vcmpeqq_m_n_u8): Likewise.
21491 (__arm_vcmpcsq_m_u8): Likewise.
21492 (__arm_vcmpcsq_m_n_u8): Likewise.
21493 (__arm_vclzq_m_u8): Likewise.
21494 (__arm_vaddvaq_p_u8): Likewise.
21495 (__arm_vsriq_n_u8): Likewise.
21496 (__arm_vsliq_n_u8): Likewise.
21497 (__arm_vshlq_m_r_u8): Likewise.
21498 (__arm_vrshlq_m_n_u8): Likewise.
21499 (__arm_vqshlq_m_r_u8): Likewise.
21500 (__arm_vqrshlq_m_n_u8): Likewise.
21501 (__arm_vminavq_p_s8): Likewise.
21502 (__arm_vminaq_m_s8): Likewise.
21503 (__arm_vmaxavq_p_s8): Likewise.
21504 (__arm_vmaxaq_m_s8): Likewise.
21505 (__arm_vcmpneq_m_s8): Likewise.
21506 (__arm_vcmpneq_m_n_s8): Likewise.
21507 (__arm_vcmpltq_m_s8): Likewise.
21508 (__arm_vcmpltq_m_n_s8): Likewise.
21509 (__arm_vcmpleq_m_s8): Likewise.
21510 (__arm_vcmpleq_m_n_s8): Likewise.
21511 (__arm_vcmpgtq_m_s8): Likewise.
21512 (__arm_vcmpgtq_m_n_s8): Likewise.
21513 (__arm_vcmpgeq_m_s8): Likewise.
21514 (__arm_vcmpgeq_m_n_s8): Likewise.
21515 (__arm_vcmpeqq_m_s8): Likewise.
21516 (__arm_vcmpeqq_m_n_s8): Likewise.
21517 (__arm_vshlq_m_r_s8): Likewise.
21518 (__arm_vrshlq_m_n_s8): Likewise.
21519 (__arm_vrev64q_m_s8): Likewise.
21520 (__arm_vqshlq_m_r_s8): Likewise.
21521 (__arm_vqrshlq_m_n_s8): Likewise.
21522 (__arm_vqnegq_m_s8): Likewise.
21523 (__arm_vqabsq_m_s8): Likewise.
21524 (__arm_vnegq_m_s8): Likewise.
21525 (__arm_vmvnq_m_s8): Likewise.
21526 (__arm_vmlsdavxq_p_s8): Likewise.
21527 (__arm_vmlsdavq_p_s8): Likewise.
21528 (__arm_vmladavxq_p_s8): Likewise.
21529 (__arm_vmladavq_p_s8): Likewise.
21530 (__arm_vminvq_p_s8): Likewise.
21531 (__arm_vmaxvq_p_s8): Likewise.
21532 (__arm_vdupq_m_n_s8): Likewise.
21533 (__arm_vclzq_m_s8): Likewise.
21534 (__arm_vclsq_m_s8): Likewise.
21535 (__arm_vaddvaq_p_s8): Likewise.
21536 (__arm_vabsq_m_s8): Likewise.
21537 (__arm_vqrdmlsdhxq_s8): Likewise.
21538 (__arm_vqrdmlsdhq_s8): Likewise.
21539 (__arm_vqrdmlashq_n_s8): Likewise.
21540 (__arm_vqrdmlahq_n_s8): Likewise.
21541 (__arm_vqrdmladhxq_s8): Likewise.
21542 (__arm_vqrdmladhq_s8): Likewise.
21543 (__arm_vqdmlsdhxq_s8): Likewise.
21544 (__arm_vqdmlsdhq_s8): Likewise.
21545 (__arm_vqdmlahq_n_s8): Likewise.
21546 (__arm_vqdmladhxq_s8): Likewise.
21547 (__arm_vqdmladhq_s8): Likewise.
21548 (__arm_vmlsdavaxq_s8): Likewise.
21549 (__arm_vmlsdavaq_s8): Likewise.
21550 (__arm_vmlasq_n_s8): Likewise.
21551 (__arm_vmlaq_n_s8): Likewise.
21552 (__arm_vmladavaxq_s8): Likewise.
21553 (__arm_vmladavaq_s8): Likewise.
21554 (__arm_vsriq_n_s8): Likewise.
21555 (__arm_vsliq_n_s8): Likewise.
21556 (__arm_vpselq_u16): Likewise.
21557 (__arm_vpselq_s16): Likewise.
21558 (__arm_vrev64q_m_u16): Likewise.
21559 (__arm_vqrdmlashq_n_u16): Likewise.
21560 (__arm_vqrdmlahq_n_u16): Likewise.
21561 (__arm_vqdmlahq_n_u16): Likewise.
21562 (__arm_vmvnq_m_u16): Likewise.
21563 (__arm_vmlasq_n_u16): Likewise.
21564 (__arm_vmlaq_n_u16): Likewise.
21565 (__arm_vmladavq_p_u16): Likewise.
21566 (__arm_vmladavaq_u16): Likewise.
21567 (__arm_vminvq_p_u16): Likewise.
21568 (__arm_vmaxvq_p_u16): Likewise.
21569 (__arm_vdupq_m_n_u16): Likewise.
21570 (__arm_vcmpneq_m_u16): Likewise.
21571 (__arm_vcmpneq_m_n_u16): Likewise.
21572 (__arm_vcmphiq_m_u16): Likewise.
21573 (__arm_vcmphiq_m_n_u16): Likewise.
21574 (__arm_vcmpeqq_m_u16): Likewise.
21575 (__arm_vcmpeqq_m_n_u16): Likewise.
21576 (__arm_vcmpcsq_m_u16): Likewise.
21577 (__arm_vcmpcsq_m_n_u16): Likewise.
21578 (__arm_vclzq_m_u16): Likewise.
21579 (__arm_vaddvaq_p_u16): Likewise.
21580 (__arm_vsriq_n_u16): Likewise.
21581 (__arm_vsliq_n_u16): Likewise.
21582 (__arm_vshlq_m_r_u16): Likewise.
21583 (__arm_vrshlq_m_n_u16): Likewise.
21584 (__arm_vqshlq_m_r_u16): Likewise.
21585 (__arm_vqrshlq_m_n_u16): Likewise.
21586 (__arm_vminavq_p_s16): Likewise.
21587 (__arm_vminaq_m_s16): Likewise.
21588 (__arm_vmaxavq_p_s16): Likewise.
21589 (__arm_vmaxaq_m_s16): Likewise.
21590 (__arm_vcmpneq_m_s16): Likewise.
21591 (__arm_vcmpneq_m_n_s16): Likewise.
21592 (__arm_vcmpltq_m_s16): Likewise.
21593 (__arm_vcmpltq_m_n_s16): Likewise.
21594 (__arm_vcmpleq_m_s16): Likewise.
21595 (__arm_vcmpleq_m_n_s16): Likewise.
21596 (__arm_vcmpgtq_m_s16): Likewise.
21597 (__arm_vcmpgtq_m_n_s16): Likewise.
21598 (__arm_vcmpgeq_m_s16): Likewise.
21599 (__arm_vcmpgeq_m_n_s16): Likewise.
21600 (__arm_vcmpeqq_m_s16): Likewise.
21601 (__arm_vcmpeqq_m_n_s16): Likewise.
21602 (__arm_vshlq_m_r_s16): Likewise.
21603 (__arm_vrshlq_m_n_s16): Likewise.
21604 (__arm_vrev64q_m_s16): Likewise.
21605 (__arm_vqshlq_m_r_s16): Likewise.
21606 (__arm_vqrshlq_m_n_s16): Likewise.
21607 (__arm_vqnegq_m_s16): Likewise.
21608 (__arm_vqabsq_m_s16): Likewise.
21609 (__arm_vnegq_m_s16): Likewise.
21610 (__arm_vmvnq_m_s16): Likewise.
21611 (__arm_vmlsdavxq_p_s16): Likewise.
21612 (__arm_vmlsdavq_p_s16): Likewise.
21613 (__arm_vmladavxq_p_s16): Likewise.
21614 (__arm_vmladavq_p_s16): Likewise.
21615 (__arm_vminvq_p_s16): Likewise.
21616 (__arm_vmaxvq_p_s16): Likewise.
21617 (__arm_vdupq_m_n_s16): Likewise.
21618 (__arm_vclzq_m_s16): Likewise.
21619 (__arm_vclsq_m_s16): Likewise.
21620 (__arm_vaddvaq_p_s16): Likewise.
21621 (__arm_vabsq_m_s16): Likewise.
21622 (__arm_vqrdmlsdhxq_s16): Likewise.
21623 (__arm_vqrdmlsdhq_s16): Likewise.
21624 (__arm_vqrdmlashq_n_s16): Likewise.
21625 (__arm_vqrdmlahq_n_s16): Likewise.
21626 (__arm_vqrdmladhxq_s16): Likewise.
21627 (__arm_vqrdmladhq_s16): Likewise.
21628 (__arm_vqdmlsdhxq_s16): Likewise.
21629 (__arm_vqdmlsdhq_s16): Likewise.
21630 (__arm_vqdmlahq_n_s16): Likewise.
21631 (__arm_vqdmladhxq_s16): Likewise.
21632 (__arm_vqdmladhq_s16): Likewise.
21633 (__arm_vmlsdavaxq_s16): Likewise.
21634 (__arm_vmlsdavaq_s16): Likewise.
21635 (__arm_vmlasq_n_s16): Likewise.
21636 (__arm_vmlaq_n_s16): Likewise.
21637 (__arm_vmladavaxq_s16): Likewise.
21638 (__arm_vmladavaq_s16): Likewise.
21639 (__arm_vsriq_n_s16): Likewise.
21640 (__arm_vsliq_n_s16): Likewise.
21641 (__arm_vpselq_u32): Likewise.
21642 (__arm_vpselq_s32): Likewise.
21643 (__arm_vrev64q_m_u32): Likewise.
21644 (__arm_vqrdmlashq_n_u32): Likewise.
21645 (__arm_vqrdmlahq_n_u32): Likewise.
21646 (__arm_vqdmlahq_n_u32): Likewise.
21647 (__arm_vmvnq_m_u32): Likewise.
21648 (__arm_vmlasq_n_u32): Likewise.
21649 (__arm_vmlaq_n_u32): Likewise.
21650 (__arm_vmladavq_p_u32): Likewise.
21651 (__arm_vmladavaq_u32): Likewise.
21652 (__arm_vminvq_p_u32): Likewise.
21653 (__arm_vmaxvq_p_u32): Likewise.
21654 (__arm_vdupq_m_n_u32): Likewise.
21655 (__arm_vcmpneq_m_u32): Likewise.
21656 (__arm_vcmpneq_m_n_u32): Likewise.
21657 (__arm_vcmphiq_m_u32): Likewise.
21658 (__arm_vcmphiq_m_n_u32): Likewise.
21659 (__arm_vcmpeqq_m_u32): Likewise.
21660 (__arm_vcmpeqq_m_n_u32): Likewise.
21661 (__arm_vcmpcsq_m_u32): Likewise.
21662 (__arm_vcmpcsq_m_n_u32): Likewise.
21663 (__arm_vclzq_m_u32): Likewise.
21664 (__arm_vaddvaq_p_u32): Likewise.
21665 (__arm_vsriq_n_u32): Likewise.
21666 (__arm_vsliq_n_u32): Likewise.
21667 (__arm_vshlq_m_r_u32): Likewise.
21668 (__arm_vrshlq_m_n_u32): Likewise.
21669 (__arm_vqshlq_m_r_u32): Likewise.
21670 (__arm_vqrshlq_m_n_u32): Likewise.
21671 (__arm_vminavq_p_s32): Likewise.
21672 (__arm_vminaq_m_s32): Likewise.
21673 (__arm_vmaxavq_p_s32): Likewise.
21674 (__arm_vmaxaq_m_s32): Likewise.
21675 (__arm_vcmpneq_m_s32): Likewise.
21676 (__arm_vcmpneq_m_n_s32): Likewise.
21677 (__arm_vcmpltq_m_s32): Likewise.
21678 (__arm_vcmpltq_m_n_s32): Likewise.
21679 (__arm_vcmpleq_m_s32): Likewise.
21680 (__arm_vcmpleq_m_n_s32): Likewise.
21681 (__arm_vcmpgtq_m_s32): Likewise.
21682 (__arm_vcmpgtq_m_n_s32): Likewise.
21683 (__arm_vcmpgeq_m_s32): Likewise.
21684 (__arm_vcmpgeq_m_n_s32): Likewise.
21685 (__arm_vcmpeqq_m_s32): Likewise.
21686 (__arm_vcmpeqq_m_n_s32): Likewise.
21687 (__arm_vshlq_m_r_s32): Likewise.
21688 (__arm_vrshlq_m_n_s32): Likewise.
21689 (__arm_vrev64q_m_s32): Likewise.
21690 (__arm_vqshlq_m_r_s32): Likewise.
21691 (__arm_vqrshlq_m_n_s32): Likewise.
21692 (__arm_vqnegq_m_s32): Likewise.
21693 (__arm_vqabsq_m_s32): Likewise.
21694 (__arm_vnegq_m_s32): Likewise.
21695 (__arm_vmvnq_m_s32): Likewise.
21696 (__arm_vmlsdavxq_p_s32): Likewise.
21697 (__arm_vmlsdavq_p_s32): Likewise.
21698 (__arm_vmladavxq_p_s32): Likewise.
21699 (__arm_vmladavq_p_s32): Likewise.
21700 (__arm_vminvq_p_s32): Likewise.
21701 (__arm_vmaxvq_p_s32): Likewise.
21702 (__arm_vdupq_m_n_s32): Likewise.
21703 (__arm_vclzq_m_s32): Likewise.
21704 (__arm_vclsq_m_s32): Likewise.
21705 (__arm_vaddvaq_p_s32): Likewise.
21706 (__arm_vabsq_m_s32): Likewise.
21707 (__arm_vqrdmlsdhxq_s32): Likewise.
21708 (__arm_vqrdmlsdhq_s32): Likewise.
21709 (__arm_vqrdmlashq_n_s32): Likewise.
21710 (__arm_vqrdmlahq_n_s32): Likewise.
21711 (__arm_vqrdmladhxq_s32): Likewise.
21712 (__arm_vqrdmladhq_s32): Likewise.
21713 (__arm_vqdmlsdhxq_s32): Likewise.
21714 (__arm_vqdmlsdhq_s32): Likewise.
21715 (__arm_vqdmlahq_n_s32): Likewise.
21716 (__arm_vqdmladhxq_s32): Likewise.
21717 (__arm_vqdmladhq_s32): Likewise.
21718 (__arm_vmlsdavaxq_s32): Likewise.
21719 (__arm_vmlsdavaq_s32): Likewise.
21720 (__arm_vmlasq_n_s32): Likewise.
21721 (__arm_vmlaq_n_s32): Likewise.
21722 (__arm_vmladavaxq_s32): Likewise.
21723 (__arm_vmladavaq_s32): Likewise.
21724 (__arm_vsriq_n_s32): Likewise.
21725 (__arm_vsliq_n_s32): Likewise.
21726 (__arm_vpselq_u64): Likewise.
21727 (__arm_vpselq_s64): Likewise.
21728 (vcmpneq_m_n): Define polymorphic variant.
21729 (vcmpneq_m): Likewise.
21730 (vqrdmlsdhq): Likewise.
21731 (vqrdmlsdhxq): Likewise.
21732 (vqrshlq_m_n): Likewise.
21733 (vqshlq_m_r): Likewise.
21734 (vrev64q_m): Likewise.
21735 (vrshlq_m_n): Likewise.
21736 (vshlq_m_r): Likewise.
21737 (vsliq_n): Likewise.
21738 (vsriq_n): Likewise.
21739 (vqrdmlashq_n): Likewise.
21740 (vqrdmlahq): Likewise.
21741 (vqrdmladhxq): Likewise.
21742 (vqrdmladhq): Likewise.
21743 (vqnegq_m): Likewise.
21744 (vqdmlsdhxq): Likewise.
21745 (vabsq_m): Likewise.
21746 (vclsq_m): Likewise.
21747 (vclzq_m): Likewise.
21748 (vcmpgeq_m): Likewise.
21749 (vcmpgeq_m_n): Likewise.
21750 (vdupq_m_n): Likewise.
21751 (vmaxaq_m): Likewise.
21752 (vmlaq_n): Likewise.
21753 (vmlasq_n): Likewise.
21754 (vmvnq_m): Likewise.
21755 (vnegq_m): Likewise.
21756 (vpselq): Likewise.
21757 (vqdmlahq_n): Likewise.
21758 (vqrdmlahq_n): Likewise.
21759 (vqdmlsdhq): Likewise.
21760 (vqdmladhq): Likewise.
21761 (vqabsq_m): Likewise.
21762 (vminaq_m): Likewise.
21763 (vrmlaldavhaq): Likewise.
21764 (vmlsdavxq_p): Likewise.
21765 (vmlsdavq_p): Likewise.
21766 (vmlsdavaxq): Likewise.
21767 (vmlsdavaq): Likewise.
21768 (vaddvaq_p): Likewise.
21769 (vcmpcsq_m_n): Likewise.
21770 (vcmpcsq_m): Likewise.
21771 (vcmpeqq_m_n): Likewise.
21772 (vcmpeqq_m): Likewise.
21773 (vmladavxq_p): Likewise.
21774 (vmladavq_p): Likewise.
21775 (vmladavaxq): Likewise.
21776 (vmladavaq): Likewise.
21777 (vminvq_p): Likewise.
21778 (vminavq_p): Likewise.
21779 (vmaxvq_p): Likewise.
21780 (vmaxavq_p): Likewise.
21781 (vcmpltq_m_n): Likewise.
21782 (vcmpltq_m): Likewise.
21783 (vcmpleq_m): Likewise.
21784 (vcmpleq_m_n): Likewise.
21785 (vcmphiq_m_n): Likewise.
21786 (vcmphiq_m): Likewise.
21787 (vcmpgtq_m_n): Likewise.
21788 (vcmpgtq_m): Likewise.
21789 * config/arm/arm_mve_builtins.def (TERNOP_NONE_NONE_NONE_IMM): Use
21791 (TERNOP_NONE_NONE_NONE_NONE): Likewise.
21792 (TERNOP_NONE_NONE_NONE_UNONE): Likewise.
21793 (TERNOP_UNONE_NONE_NONE_UNONE): Likewise.
21794 (TERNOP_UNONE_UNONE_NONE_UNONE): Likewise.
21795 (TERNOP_UNONE_UNONE_UNONE_IMM): Likewise.
21796 (TERNOP_UNONE_UNONE_UNONE_UNONE): Likewise.
21797 * config/arm/constraints.md (Rc): Define constraint to check constant is
21798 in the range of 0 to 15.
21799 (Re): Define constraint to check constant is in the range of 0 to 31.
21800 * config/arm/mve.md (VADDVAQ_P): Define iterator.
21801 (VCLZQ_M): Likewise.
21802 (VCMPEQQ_M_N): Likewise.
21803 (VCMPEQQ_M): Likewise.
21804 (VCMPNEQ_M_N): Likewise.
21805 (VCMPNEQ_M): Likewise.
21806 (VDUPQ_M_N): Likewise.
21807 (VMAXVQ_P): Likewise.
21808 (VMINVQ_P): Likewise.
21809 (VMLADAVAQ): Likewise.
21810 (VMLADAVQ_P): Likewise.
21811 (VMLAQ_N): Likewise.
21812 (VMLASQ_N): Likewise.
21813 (VMVNQ_M): Likewise.
21814 (VPSELQ): Likewise.
21815 (VQDMLAHQ_N): Likewise.
21816 (VQRDMLAHQ_N): Likewise.
21817 (VQRDMLASHQ_N): Likewise.
21818 (VQRSHLQ_M_N): Likewise.
21819 (VQSHLQ_M_R): Likewise.
21820 (VREV64Q_M): Likewise.
21821 (VRSHLQ_M_N): Likewise.
21822 (VSHLQ_M_R): Likewise.
21823 (VSLIQ_N): Likewise.
21824 (VSRIQ_N): Likewise.
21825 (mve_vabsq_m_s<mode>): Define RTL pattern.
21826 (mve_vaddvaq_p_<supf><mode>): Likewise.
21827 (mve_vclsq_m_s<mode>): Likewise.
21828 (mve_vclzq_m_<supf><mode>): Likewise.
21829 (mve_vcmpcsq_m_n_u<mode>): Likewise.
21830 (mve_vcmpcsq_m_u<mode>): Likewise.
21831 (mve_vcmpeqq_m_n_<supf><mode>): Likewise.
21832 (mve_vcmpeqq_m_<supf><mode>): Likewise.
21833 (mve_vcmpgeq_m_n_s<mode>): Likewise.
21834 (mve_vcmpgeq_m_s<mode>): Likewise.
21835 (mve_vcmpgtq_m_n_s<mode>): Likewise.
21836 (mve_vcmpgtq_m_s<mode>): Likewise.
21837 (mve_vcmphiq_m_n_u<mode>): Likewise.
21838 (mve_vcmphiq_m_u<mode>): Likewise.
21839 (mve_vcmpleq_m_n_s<mode>): Likewise.
21840 (mve_vcmpleq_m_s<mode>): Likewise.
21841 (mve_vcmpltq_m_n_s<mode>): Likewise.
21842 (mve_vcmpltq_m_s<mode>): Likewise.
21843 (mve_vcmpneq_m_n_<supf><mode>): Likewise.
21844 (mve_vcmpneq_m_<supf><mode>): Likewise.
21845 (mve_vdupq_m_n_<supf><mode>): Likewise.
21846 (mve_vmaxaq_m_s<mode>): Likewise.
21847 (mve_vmaxavq_p_s<mode>): Likewise.
21848 (mve_vmaxvq_p_<supf><mode>): Likewise.
21849 (mve_vminaq_m_s<mode>): Likewise.
21850 (mve_vminavq_p_s<mode>): Likewise.
21851 (mve_vminvq_p_<supf><mode>): Likewise.
21852 (mve_vmladavaq_<supf><mode>): Likewise.
21853 (mve_vmladavq_p_<supf><mode>): Likewise.
21854 (mve_vmladavxq_p_s<mode>): Likewise.
21855 (mve_vmlaq_n_<supf><mode>): Likewise.
21856 (mve_vmlasq_n_<supf><mode>): Likewise.
21857 (mve_vmlsdavq_p_s<mode>): Likewise.
21858 (mve_vmlsdavxq_p_s<mode>): Likewise.
21859 (mve_vmvnq_m_<supf><mode>): Likewise.
21860 (mve_vnegq_m_s<mode>): Likewise.
21861 (mve_vpselq_<supf><mode>): Likewise.
21862 (mve_vqabsq_m_s<mode>): Likewise.
21863 (mve_vqdmlahq_n_<supf><mode>): Likewise.
21864 (mve_vqnegq_m_s<mode>): Likewise.
21865 (mve_vqrdmladhq_s<mode>): Likewise.
21866 (mve_vqrdmladhxq_s<mode>): Likewise.
21867 (mve_vqrdmlahq_n_<supf><mode>): Likewise.
21868 (mve_vqrdmlashq_n_<supf><mode>): Likewise.
21869 (mve_vqrdmlsdhq_s<mode>): Likewise.
21870 (mve_vqrdmlsdhxq_s<mode>): Likewise.
21871 (mve_vqrshlq_m_n_<supf><mode>): Likewise.
21872 (mve_vqshlq_m_r_<supf><mode>): Likewise.
21873 (mve_vrev64q_m_<supf><mode>): Likewise.
21874 (mve_vrshlq_m_n_<supf><mode>): Likewise.
21875 (mve_vshlq_m_r_<supf><mode>): Likewise.
21876 (mve_vsliq_n_<supf><mode>): Likewise.
21877 (mve_vsriq_n_<supf><mode>): Likewise.
21878 (mve_vqdmlsdhxq_s<mode>): Likewise.
21879 (mve_vqdmlsdhq_s<mode>): Likewise.
21880 (mve_vqdmladhxq_s<mode>): Likewise.
21881 (mve_vqdmladhq_s<mode>): Likewise.
21882 (mve_vmlsdavaxq_s<mode>): Likewise.
21883 (mve_vmlsdavaq_s<mode>): Likewise.
21884 (mve_vmladavaxq_s<mode>): Likewise.
21885 * config/arm/predicates.md (mve_imm_15):Define predicate to check the
21886 matching constraint Rc.
21887 (mve_imm_31): Define predicate to check the matching constraint Re.
21889 2020-03-18 Andrew Stubbs <ams@codesourcery.com>
21891 * config/gcn/gcn-valu.md (vec_cmp<mode>di): Set operand 1 to DImode.
21892 (vec_cmp<mode>di_dup): Likewise.
21893 * config/gcn/gcn.h (STORE_FLAG_VALUE): Set to -1.
21895 2020-03-18 Andrew Stubbs <ams@codesourcery.com>
21897 * config/gcn/gcn-valu.md (COND_MODE): Delete.
21898 (COND_INT_MODE): Delete.
21899 (cond_op): Add "mult".
21900 (cond_<expander><mode>): Use VEC_ALLREG_MODE.
21901 (cond_<expander><mode>): Use VEC_ALLREG_INT_MODE.
21903 2020-03-18 Richard Biener <rguenther@suse.de>
21905 PR middle-end/94206
21906 * gimple-fold.c (gimple_fold_builtin_memset): Avoid using
21907 partial int modes or not mode-precision integer types for
21910 2020-03-18 Jakub Jelinek <jakub@redhat.com>
21912 * asan.c (get_mem_refs_of_builtin_call): Fix up duplicated word issue
21914 * config/arc/arc.c (frame_stack_add): Likewise.
21915 * gimple-loop-versioning.cc (loop_versioning::analyze_arbitrary_term):
21917 * ipa-predicate.c (predicate::remap_after_inlining): Likewise.
21918 * tree-ssa-strlen.h (handle_printf_call): Likewise.
21919 * tree-ssa-strlen.c (is_strlen_related_p): Likewise.
21920 * optinfo-emit-json.cc (optrecord_json_writer::add_record): Likewise.
21922 2020-03-18 Duan bo <duanbo3@huawei.com>
21925 * config/aarch64/aarch64.md (ldr_got_tiny): Delete.
21926 (@ldr_got_tiny_<mode>): New pattern.
21927 (ldr_got_tiny_sidi): Likewise.
21928 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Use
21929 them to handle SYMBOL_TINY_GOT for ILP32.
21931 2020-03-18 Richard Sandiford <richard.sandiford@arm.com>
21933 * config/aarch64/aarch64.c (aarch64_sve_abi): Treat p12-p15 as
21934 call-preserved for SVE PCS functions.
21935 (aarch64_layout_frame): Cope with up to 12 predicate save slots.
21936 Optimize the case in which there are no following vector save slots.
21938 2020-03-18 Richard Biener <rguenther@suse.de>
21940 PR middle-end/94188
21941 * fold-const.c (build_fold_addr_expr): Convert address to
21943 * asan.c (maybe_create_ssa_name): Strip useless type conversions.
21944 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Use build1
21945 to build the ADDR_EXPR which we don't really want to simplify.
21946 * tree-ssa-dom.c (record_equivalences_from_stmt): Likewise.
21947 * tree-ssa-loop-im.c (gather_mem_refs_stmt): Likewise.
21948 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise.
21949 (simplify_builtin_call): Strip useless type conversions.
21950 * tree-ssa-strlen.c (new_strinfo): Likewise.
21952 2020-03-17 Alexey Neyman <stilor@att.net>
21955 * dwarf2out.c (gen_decl_die): Proceed to generating the DIE if
21956 the debug level is terse and the declaration is public. Do not
21957 generate type info.
21958 (dwarf2out_decl): Same.
21959 (add_type_attribute): Return immediately if debug level is
21962 2020-03-17 Richard Sandiford <richard.sandiford@arm.com>
21964 * config/aarch64/iterators.md (Vmtype): Handle V4BF and V8BF.
21966 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
21967 Mihail Ionescu <mihail.ionescu@arm.com>
21968 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
21970 * config/arm/arm-builtins.c (TERNOP_UNONE_UNONE_UNONE_IMM_QUALIFIERS):
21971 Define qualifier for ternary operands.
21972 (TERNOP_UNONE_UNONE_NONE_NONE_QUALIFIERS): Likewise.
21973 (TERNOP_UNONE_NONE_UNONE_IMM_QUALIFIERS): Likewise.
21974 (TERNOP_NONE_NONE_UNONE_IMM_QUALIFIERS): Likewise.
21975 (TERNOP_UNONE_UNONE_NONE_IMM_QUALIFIERS): Likewise.
21976 (TERNOP_UNONE_UNONE_NONE_UNONE_QUALIFIERS): Likewise.
21977 (TERNOP_UNONE_UNONE_IMM_UNONE_QUALIFIERS): Likewise.
21978 (TERNOP_UNONE_NONE_NONE_UNONE_QUALIFIERS): Likewise.
21979 (TERNOP_NONE_NONE_NONE_IMM_QUALIFIERS): Likewise.
21980 (TERNOP_NONE_NONE_NONE_UNONE_QUALIFIERS): Likewise.
21981 (TERNOP_NONE_NONE_IMM_UNONE_QUALIFIERS): Likewise.
21982 (TERNOP_NONE_NONE_UNONE_UNONE_QUALIFIERS): Likewise.
21983 (TERNOP_UNONE_UNONE_UNONE_UNONE_QUALIFIERS): Likewise.
21984 (TERNOP_NONE_NONE_NONE_NONE_QUALIFIERS): Likewise.
21985 * config/arm/arm_mve.h (vabavq_s8): Define macro.
21986 (vabavq_s16): Likewise.
21987 (vabavq_s32): Likewise.
21988 (vbicq_m_n_s16): Likewise.
21989 (vbicq_m_n_s32): Likewise.
21990 (vbicq_m_n_u16): Likewise.
21991 (vbicq_m_n_u32): Likewise.
21992 (vcmpeqq_m_f16): Likewise.
21993 (vcmpeqq_m_f32): Likewise.
21994 (vcvtaq_m_s16_f16): Likewise.
21995 (vcvtaq_m_u16_f16): Likewise.
21996 (vcvtaq_m_s32_f32): Likewise.
21997 (vcvtaq_m_u32_f32): Likewise.
21998 (vcvtq_m_f16_s16): Likewise.
21999 (vcvtq_m_f16_u16): Likewise.
22000 (vcvtq_m_f32_s32): Likewise.
22001 (vcvtq_m_f32_u32): Likewise.
22002 (vqrshrnbq_n_s16): Likewise.
22003 (vqrshrnbq_n_u16): Likewise.
22004 (vqrshrnbq_n_s32): Likewise.
22005 (vqrshrnbq_n_u32): Likewise.
22006 (vqrshrunbq_n_s16): Likewise.
22007 (vqrshrunbq_n_s32): Likewise.
22008 (vrmlaldavhaq_s32): Likewise.
22009 (vrmlaldavhaq_u32): Likewise.
22010 (vshlcq_s8): Likewise.
22011 (vshlcq_u8): Likewise.
22012 (vshlcq_s16): Likewise.
22013 (vshlcq_u16): Likewise.
22014 (vshlcq_s32): Likewise.
22015 (vshlcq_u32): Likewise.
22016 (vabavq_u8): Likewise.
22017 (vabavq_u16): Likewise.
22018 (vabavq_u32): Likewise.
22019 (__arm_vabavq_s8): Define intrinsic.
22020 (__arm_vabavq_s16): Likewise.
22021 (__arm_vabavq_s32): Likewise.
22022 (__arm_vabavq_u8): Likewise.
22023 (__arm_vabavq_u16): Likewise.
22024 (__arm_vabavq_u32): Likewise.
22025 (__arm_vbicq_m_n_s16): Likewise.
22026 (__arm_vbicq_m_n_s32): Likewise.
22027 (__arm_vbicq_m_n_u16): Likewise.
22028 (__arm_vbicq_m_n_u32): Likewise.
22029 (__arm_vqrshrnbq_n_s16): Likewise.
22030 (__arm_vqrshrnbq_n_u16): Likewise.
22031 (__arm_vqrshrnbq_n_s32): Likewise.
22032 (__arm_vqrshrnbq_n_u32): Likewise.
22033 (__arm_vqrshrunbq_n_s16): Likewise.
22034 (__arm_vqrshrunbq_n_s32): Likewise.
22035 (__arm_vrmlaldavhaq_s32): Likewise.
22036 (__arm_vrmlaldavhaq_u32): Likewise.
22037 (__arm_vshlcq_s8): Likewise.
22038 (__arm_vshlcq_u8): Likewise.
22039 (__arm_vshlcq_s16): Likewise.
22040 (__arm_vshlcq_u16): Likewise.
22041 (__arm_vshlcq_s32): Likewise.
22042 (__arm_vshlcq_u32): Likewise.
22043 (__arm_vcmpeqq_m_f16): Likewise.
22044 (__arm_vcmpeqq_m_f32): Likewise.
22045 (__arm_vcvtaq_m_s16_f16): Likewise.
22046 (__arm_vcvtaq_m_u16_f16): Likewise.
22047 (__arm_vcvtaq_m_s32_f32): Likewise.
22048 (__arm_vcvtaq_m_u32_f32): Likewise.
22049 (__arm_vcvtq_m_f16_s16): Likewise.
22050 (__arm_vcvtq_m_f16_u16): Likewise.
22051 (__arm_vcvtq_m_f32_s32): Likewise.
22052 (__arm_vcvtq_m_f32_u32): Likewise.
22053 (vcvtaq_m): Define polymorphic variant.
22054 (vcvtq_m): Likewise.
22055 (vabavq): Likewise.
22056 (vshlcq): Likewise.
22057 (vbicq_m_n): Likewise.
22058 (vqrshrnbq_n): Likewise.
22059 (vqrshrunbq_n): Likewise.
22060 * config/arm/arm_mve_builtins.def
22061 (TERNOP_UNONE_UNONE_UNONE_IMM_QUALIFIERS): Use the builtin qualifer.
22062 (TERNOP_UNONE_UNONE_NONE_NONE_QUALIFIERS): Likewise.
22063 (TERNOP_UNONE_NONE_UNONE_IMM_QUALIFIERS): Likewise.
22064 (TERNOP_NONE_NONE_UNONE_IMM_QUALIFIERS): Likewise.
22065 (TERNOP_UNONE_UNONE_NONE_IMM_QUALIFIERS): Likewise.
22066 (TERNOP_UNONE_UNONE_NONE_UNONE_QUALIFIERS): Likewise.
22067 (TERNOP_UNONE_UNONE_IMM_UNONE_QUALIFIERS): Likewise.
22068 (TERNOP_UNONE_NONE_NONE_UNONE_QUALIFIERS): Likewise.
22069 (TERNOP_NONE_NONE_NONE_IMM_QUALIFIERS): Likewise.
22070 (TERNOP_NONE_NONE_NONE_UNONE_QUALIFIERS): Likewise.
22071 (TERNOP_NONE_NONE_IMM_UNONE_QUALIFIERS): Likewise.
22072 (TERNOP_NONE_NONE_UNONE_UNONE_QUALIFIERS): Likewise.
22073 (TERNOP_UNONE_UNONE_UNONE_UNONE_QUALIFIERS): Likewise.
22074 (TERNOP_NONE_NONE_NONE_NONE_QUALIFIERS): Likewise.
22075 * config/arm/mve.md (VBICQ_M_N): Define iterator.
22076 (VCVTAQ_M): Likewise.
22077 (VCVTQ_M_TO_F): Likewise.
22078 (VQRSHRNBQ_N): Likewise.
22079 (VABAVQ): Likewise.
22080 (VSHLCQ): Likewise.
22081 (VRMLALDAVHAQ): Likewise.
22082 (mve_vbicq_m_n_<supf><mode>): Define RTL pattern.
22083 (mve_vcmpeqq_m_f<mode>): Likewise.
22084 (mve_vcvtaq_m_<supf><mode>): Likewise.
22085 (mve_vcvtq_m_to_f_<supf><mode>): Likewise.
22086 (mve_vqrshrnbq_n_<supf><mode>): Likewise.
22087 (mve_vqrshrunbq_n_s<mode>): Likewise.
22088 (mve_vrmlaldavhaq_<supf>v4si): Likewise.
22089 (mve_vabavq_<supf><mode>): Likewise.
22090 (mve_vshlcq_<supf><mode>): Likewise.
22091 (mve_vshlcq_<supf><mode>): Likewise.
22092 (mve_vshlcq_vec_<supf><mode>): Define RTL expand.
22093 (mve_vshlcq_carry_<supf><mode>): Likewise.
22095 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
22096 Mihail Ionescu <mihail.ionescu@arm.com>
22097 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
22099 * config/arm/arm_mve.h (vqmovntq_u16): Define macro.
22100 (vqmovnbq_u16): Likewise.
22101 (vmulltq_poly_p8): Likewise.
22102 (vmullbq_poly_p8): Likewise.
22103 (vmovntq_u16): Likewise.
22104 (vmovnbq_u16): Likewise.
22105 (vmlaldavxq_u16): Likewise.
22106 (vmlaldavq_u16): Likewise.
22107 (vqmovuntq_s16): Likewise.
22108 (vqmovunbq_s16): Likewise.
22109 (vshlltq_n_u8): Likewise.
22110 (vshllbq_n_u8): Likewise.
22111 (vorrq_n_u16): Likewise.
22112 (vbicq_n_u16): Likewise.
22113 (vcmpneq_n_f16): Likewise.
22114 (vcmpneq_f16): Likewise.
22115 (vcmpltq_n_f16): Likewise.
22116 (vcmpltq_f16): Likewise.
22117 (vcmpleq_n_f16): Likewise.
22118 (vcmpleq_f16): Likewise.
22119 (vcmpgtq_n_f16): Likewise.
22120 (vcmpgtq_f16): Likewise.
22121 (vcmpgeq_n_f16): Likewise.
22122 (vcmpgeq_f16): Likewise.
22123 (vcmpeqq_n_f16): Likewise.
22124 (vcmpeqq_f16): Likewise.
22125 (vsubq_f16): Likewise.
22126 (vqmovntq_s16): Likewise.
22127 (vqmovnbq_s16): Likewise.
22128 (vqdmulltq_s16): Likewise.
22129 (vqdmulltq_n_s16): Likewise.
22130 (vqdmullbq_s16): Likewise.
22131 (vqdmullbq_n_s16): Likewise.
22132 (vorrq_f16): Likewise.
22133 (vornq_f16): Likewise.
22134 (vmulq_n_f16): Likewise.
22135 (vmulq_f16): Likewise.
22136 (vmovntq_s16): Likewise.
22137 (vmovnbq_s16): Likewise.
22138 (vmlsldavxq_s16): Likewise.
22139 (vmlsldavq_s16): Likewise.
22140 (vmlaldavxq_s16): Likewise.
22141 (vmlaldavq_s16): Likewise.
22142 (vminnmvq_f16): Likewise.
22143 (vminnmq_f16): Likewise.
22144 (vminnmavq_f16): Likewise.
22145 (vminnmaq_f16): Likewise.
22146 (vmaxnmvq_f16): Likewise.
22147 (vmaxnmq_f16): Likewise.
22148 (vmaxnmavq_f16): Likewise.
22149 (vmaxnmaq_f16): Likewise.
22150 (veorq_f16): Likewise.
22151 (vcmulq_rot90_f16): Likewise.
22152 (vcmulq_rot270_f16): Likewise.
22153 (vcmulq_rot180_f16): Likewise.
22154 (vcmulq_f16): Likewise.
22155 (vcaddq_rot90_f16): Likewise.
22156 (vcaddq_rot270_f16): Likewise.
22157 (vbicq_f16): Likewise.
22158 (vandq_f16): Likewise.
22159 (vaddq_n_f16): Likewise.
22160 (vabdq_f16): Likewise.
22161 (vshlltq_n_s8): Likewise.
22162 (vshllbq_n_s8): Likewise.
22163 (vorrq_n_s16): Likewise.
22164 (vbicq_n_s16): Likewise.
22165 (vqmovntq_u32): Likewise.
22166 (vqmovnbq_u32): Likewise.
22167 (vmulltq_poly_p16): Likewise.
22168 (vmullbq_poly_p16): Likewise.
22169 (vmovntq_u32): Likewise.
22170 (vmovnbq_u32): Likewise.
22171 (vmlaldavxq_u32): Likewise.
22172 (vmlaldavq_u32): Likewise.
22173 (vqmovuntq_s32): Likewise.
22174 (vqmovunbq_s32): Likewise.
22175 (vshlltq_n_u16): Likewise.
22176 (vshllbq_n_u16): Likewise.
22177 (vorrq_n_u32): Likewise.
22178 (vbicq_n_u32): Likewise.
22179 (vcmpneq_n_f32): Likewise.
22180 (vcmpneq_f32): Likewise.
22181 (vcmpltq_n_f32): Likewise.
22182 (vcmpltq_f32): Likewise.
22183 (vcmpleq_n_f32): Likewise.
22184 (vcmpleq_f32): Likewise.
22185 (vcmpgtq_n_f32): Likewise.
22186 (vcmpgtq_f32): Likewise.
22187 (vcmpgeq_n_f32): Likewise.
22188 (vcmpgeq_f32): Likewise.
22189 (vcmpeqq_n_f32): Likewise.
22190 (vcmpeqq_f32): Likewise.
22191 (vsubq_f32): Likewise.
22192 (vqmovntq_s32): Likewise.
22193 (vqmovnbq_s32): Likewise.
22194 (vqdmulltq_s32): Likewise.
22195 (vqdmulltq_n_s32): Likewise.
22196 (vqdmullbq_s32): Likewise.
22197 (vqdmullbq_n_s32): Likewise.
22198 (vorrq_f32): Likewise.
22199 (vornq_f32): Likewise.
22200 (vmulq_n_f32): Likewise.
22201 (vmulq_f32): Likewise.
22202 (vmovntq_s32): Likewise.
22203 (vmovnbq_s32): Likewise.
22204 (vmlsldavxq_s32): Likewise.
22205 (vmlsldavq_s32): Likewise.
22206 (vmlaldavxq_s32): Likewise.
22207 (vmlaldavq_s32): Likewise.
22208 (vminnmvq_f32): Likewise.
22209 (vminnmq_f32): Likewise.
22210 (vminnmavq_f32): Likewise.
22211 (vminnmaq_f32): Likewise.
22212 (vmaxnmvq_f32): Likewise.
22213 (vmaxnmq_f32): Likewise.
22214 (vmaxnmavq_f32): Likewise.
22215 (vmaxnmaq_f32): Likewise.
22216 (veorq_f32): Likewise.
22217 (vcmulq_rot90_f32): Likewise.
22218 (vcmulq_rot270_f32): Likewise.
22219 (vcmulq_rot180_f32): Likewise.
22220 (vcmulq_f32): Likewise.
22221 (vcaddq_rot90_f32): Likewise.
22222 (vcaddq_rot270_f32): Likewise.
22223 (vbicq_f32): Likewise.
22224 (vandq_f32): Likewise.
22225 (vaddq_n_f32): Likewise.
22226 (vabdq_f32): Likewise.
22227 (vshlltq_n_s16): Likewise.
22228 (vshllbq_n_s16): Likewise.
22229 (vorrq_n_s32): Likewise.
22230 (vbicq_n_s32): Likewise.
22231 (vrmlaldavhq_u32): Likewise.
22232 (vctp8q_m): Likewise.
22233 (vctp64q_m): Likewise.
22234 (vctp32q_m): Likewise.
22235 (vctp16q_m): Likewise.
22236 (vaddlvaq_u32): Likewise.
22237 (vrmlsldavhxq_s32): Likewise.
22238 (vrmlsldavhq_s32): Likewise.
22239 (vrmlaldavhxq_s32): Likewise.
22240 (vrmlaldavhq_s32): Likewise.
22241 (vcvttq_f16_f32): Likewise.
22242 (vcvtbq_f16_f32): Likewise.
22243 (vaddlvaq_s32): Likewise.
22244 (__arm_vqmovntq_u16): Define intrinsic.
22245 (__arm_vqmovnbq_u16): Likewise.
22246 (__arm_vmulltq_poly_p8): Likewise.
22247 (__arm_vmullbq_poly_p8): Likewise.
22248 (__arm_vmovntq_u16): Likewise.
22249 (__arm_vmovnbq_u16): Likewise.
22250 (__arm_vmlaldavxq_u16): Likewise.
22251 (__arm_vmlaldavq_u16): Likewise.
22252 (__arm_vqmovuntq_s16): Likewise.
22253 (__arm_vqmovunbq_s16): Likewise.
22254 (__arm_vshlltq_n_u8): Likewise.
22255 (__arm_vshllbq_n_u8): Likewise.
22256 (__arm_vorrq_n_u16): Likewise.
22257 (__arm_vbicq_n_u16): Likewise.
22258 (__arm_vcmpneq_n_f16): Likewise.
22259 (__arm_vcmpneq_f16): Likewise.
22260 (__arm_vcmpltq_n_f16): Likewise.
22261 (__arm_vcmpltq_f16): Likewise.
22262 (__arm_vcmpleq_n_f16): Likewise.
22263 (__arm_vcmpleq_f16): Likewise.
22264 (__arm_vcmpgtq_n_f16): Likewise.
22265 (__arm_vcmpgtq_f16): Likewise.
22266 (__arm_vcmpgeq_n_f16): Likewise.
22267 (__arm_vcmpgeq_f16): Likewise.
22268 (__arm_vcmpeqq_n_f16): Likewise.
22269 (__arm_vcmpeqq_f16): Likewise.
22270 (__arm_vsubq_f16): Likewise.
22271 (__arm_vqmovntq_s16): Likewise.
22272 (__arm_vqmovnbq_s16): Likewise.
22273 (__arm_vqdmulltq_s16): Likewise.
22274 (__arm_vqdmulltq_n_s16): Likewise.
22275 (__arm_vqdmullbq_s16): Likewise.
22276 (__arm_vqdmullbq_n_s16): Likewise.
22277 (__arm_vorrq_f16): Likewise.
22278 (__arm_vornq_f16): Likewise.
22279 (__arm_vmulq_n_f16): Likewise.
22280 (__arm_vmulq_f16): Likewise.
22281 (__arm_vmovntq_s16): Likewise.
22282 (__arm_vmovnbq_s16): Likewise.
22283 (__arm_vmlsldavxq_s16): Likewise.
22284 (__arm_vmlsldavq_s16): Likewise.
22285 (__arm_vmlaldavxq_s16): Likewise.
22286 (__arm_vmlaldavq_s16): Likewise.
22287 (__arm_vminnmvq_f16): Likewise.
22288 (__arm_vminnmq_f16): Likewise.
22289 (__arm_vminnmavq_f16): Likewise.
22290 (__arm_vminnmaq_f16): Likewise.
22291 (__arm_vmaxnmvq_f16): Likewise.
22292 (__arm_vmaxnmq_f16): Likewise.
22293 (__arm_vmaxnmavq_f16): Likewise.
22294 (__arm_vmaxnmaq_f16): Likewise.
22295 (__arm_veorq_f16): Likewise.
22296 (__arm_vcmulq_rot90_f16): Likewise.
22297 (__arm_vcmulq_rot270_f16): Likewise.
22298 (__arm_vcmulq_rot180_f16): Likewise.
22299 (__arm_vcmulq_f16): Likewise.
22300 (__arm_vcaddq_rot90_f16): Likewise.
22301 (__arm_vcaddq_rot270_f16): Likewise.
22302 (__arm_vbicq_f16): Likewise.
22303 (__arm_vandq_f16): Likewise.
22304 (__arm_vaddq_n_f16): Likewise.
22305 (__arm_vabdq_f16): Likewise.
22306 (__arm_vshlltq_n_s8): Likewise.
22307 (__arm_vshllbq_n_s8): Likewise.
22308 (__arm_vorrq_n_s16): Likewise.
22309 (__arm_vbicq_n_s16): Likewise.
22310 (__arm_vqmovntq_u32): Likewise.
22311 (__arm_vqmovnbq_u32): Likewise.
22312 (__arm_vmulltq_poly_p16): Likewise.
22313 (__arm_vmullbq_poly_p16): Likewise.
22314 (__arm_vmovntq_u32): Likewise.
22315 (__arm_vmovnbq_u32): Likewise.
22316 (__arm_vmlaldavxq_u32): Likewise.
22317 (__arm_vmlaldavq_u32): Likewise.
22318 (__arm_vqmovuntq_s32): Likewise.
22319 (__arm_vqmovunbq_s32): Likewise.
22320 (__arm_vshlltq_n_u16): Likewise.
22321 (__arm_vshllbq_n_u16): Likewise.
22322 (__arm_vorrq_n_u32): Likewise.
22323 (__arm_vbicq_n_u32): Likewise.
22324 (__arm_vcmpneq_n_f32): Likewise.
22325 (__arm_vcmpneq_f32): Likewise.
22326 (__arm_vcmpltq_n_f32): Likewise.
22327 (__arm_vcmpltq_f32): Likewise.
22328 (__arm_vcmpleq_n_f32): Likewise.
22329 (__arm_vcmpleq_f32): Likewise.
22330 (__arm_vcmpgtq_n_f32): Likewise.
22331 (__arm_vcmpgtq_f32): Likewise.
22332 (__arm_vcmpgeq_n_f32): Likewise.
22333 (__arm_vcmpgeq_f32): Likewise.
22334 (__arm_vcmpeqq_n_f32): Likewise.
22335 (__arm_vcmpeqq_f32): Likewise.
22336 (__arm_vsubq_f32): Likewise.
22337 (__arm_vqmovntq_s32): Likewise.
22338 (__arm_vqmovnbq_s32): Likewise.
22339 (__arm_vqdmulltq_s32): Likewise.
22340 (__arm_vqdmulltq_n_s32): Likewise.
22341 (__arm_vqdmullbq_s32): Likewise.
22342 (__arm_vqdmullbq_n_s32): Likewise.
22343 (__arm_vorrq_f32): Likewise.
22344 (__arm_vornq_f32): Likewise.
22345 (__arm_vmulq_n_f32): Likewise.
22346 (__arm_vmulq_f32): Likewise.
22347 (__arm_vmovntq_s32): Likewise.
22348 (__arm_vmovnbq_s32): Likewise.
22349 (__arm_vmlsldavxq_s32): Likewise.
22350 (__arm_vmlsldavq_s32): Likewise.
22351 (__arm_vmlaldavxq_s32): Likewise.
22352 (__arm_vmlaldavq_s32): Likewise.
22353 (__arm_vminnmvq_f32): Likewise.
22354 (__arm_vminnmq_f32): Likewise.
22355 (__arm_vminnmavq_f32): Likewise.
22356 (__arm_vminnmaq_f32): Likewise.
22357 (__arm_vmaxnmvq_f32): Likewise.
22358 (__arm_vmaxnmq_f32): Likewise.
22359 (__arm_vmaxnmavq_f32): Likewise.
22360 (__arm_vmaxnmaq_f32): Likewise.
22361 (__arm_veorq_f32): Likewise.
22362 (__arm_vcmulq_rot90_f32): Likewise.
22363 (__arm_vcmulq_rot270_f32): Likewise.
22364 (__arm_vcmulq_rot180_f32): Likewise.
22365 (__arm_vcmulq_f32): Likewise.
22366 (__arm_vcaddq_rot90_f32): Likewise.
22367 (__arm_vcaddq_rot270_f32): Likewise.
22368 (__arm_vbicq_f32): Likewise.
22369 (__arm_vandq_f32): Likewise.
22370 (__arm_vaddq_n_f32): Likewise.
22371 (__arm_vabdq_f32): Likewise.
22372 (__arm_vshlltq_n_s16): Likewise.
22373 (__arm_vshllbq_n_s16): Likewise.
22374 (__arm_vorrq_n_s32): Likewise.
22375 (__arm_vbicq_n_s32): Likewise.
22376 (__arm_vrmlaldavhq_u32): Likewise.
22377 (__arm_vctp8q_m): Likewise.
22378 (__arm_vctp64q_m): Likewise.
22379 (__arm_vctp32q_m): Likewise.
22380 (__arm_vctp16q_m): Likewise.
22381 (__arm_vaddlvaq_u32): Likewise.
22382 (__arm_vrmlsldavhxq_s32): Likewise.
22383 (__arm_vrmlsldavhq_s32): Likewise.
22384 (__arm_vrmlaldavhxq_s32): Likewise.
22385 (__arm_vrmlaldavhq_s32): Likewise.
22386 (__arm_vcvttq_f16_f32): Likewise.
22387 (__arm_vcvtbq_f16_f32): Likewise.
22388 (__arm_vaddlvaq_s32): Likewise.
22389 (vst4q): Define polymorphic variant.
22390 (vrndxq): Likewise.
22392 (vrndpq): Likewise.
22393 (vrndnq): Likewise.
22394 (vrndmq): Likewise.
22395 (vrndaq): Likewise.
22396 (vrev64q): Likewise.
22398 (vdupq_n): Likewise.
22400 (vrev32q): Likewise.
22401 (vcvtbq_f32): Likewise.
22402 (vcvttq_f32): Likewise.
22404 (vsubq_n): Likewise.
22405 (vbrsrq_n): Likewise.
22406 (vcvtq_n): Likewise.
22410 (vaddq_n): Likewise.
22414 (vmulq_n): Likewise.
22416 (vcaddq_rot270): Likewise.
22417 (vcmpeqq_n): Likewise.
22418 (vcmpeqq): Likewise.
22419 (vcaddq_rot90): Likewise.
22420 (vcmpgeq_n): Likewise.
22421 (vcmpgeq): Likewise.
22422 (vcmpgtq_n): Likewise.
22423 (vcmpgtq): Likewise.
22424 (vcmpgtq): Likewise.
22425 (vcmpleq_n): Likewise.
22426 (vcmpleq_n): Likewise.
22427 (vcmpleq): Likewise.
22428 (vcmpleq): Likewise.
22429 (vcmpltq_n): Likewise.
22430 (vcmpltq_n): Likewise.
22431 (vcmpltq): Likewise.
22432 (vcmpltq): Likewise.
22433 (vcmpneq_n): Likewise.
22434 (vcmpneq_n): Likewise.
22435 (vcmpneq): Likewise.
22436 (vcmpneq): Likewise.
22437 (vcmulq): Likewise.
22438 (vcmulq): Likewise.
22439 (vcmulq_rot180): Likewise.
22440 (vcmulq_rot180): Likewise.
22441 (vcmulq_rot270): Likewise.
22442 (vcmulq_rot270): Likewise.
22443 (vcmulq_rot90): Likewise.
22444 (vcmulq_rot90): Likewise.
22447 (vmaxnmaq): Likewise.
22448 (vmaxnmaq): Likewise.
22449 (vmaxnmavq): Likewise.
22450 (vmaxnmavq): Likewise.
22451 (vmaxnmq): Likewise.
22452 (vmaxnmq): Likewise.
22453 (vmaxnmvq): Likewise.
22454 (vmaxnmvq): Likewise.
22455 (vminnmaq): Likewise.
22456 (vminnmaq): Likewise.
22457 (vminnmavq): Likewise.
22458 (vminnmavq): Likewise.
22459 (vminnmq): Likewise.
22460 (vminnmq): Likewise.
22461 (vminnmvq): Likewise.
22462 (vminnmvq): Likewise.
22463 (vbicq_n): Likewise.
22464 (vqmovntq): Likewise.
22465 (vqmovntq): Likewise.
22466 (vqmovnbq): Likewise.
22467 (vqmovnbq): Likewise.
22468 (vmulltq_poly): Likewise.
22469 (vmulltq_poly): Likewise.
22470 (vmullbq_poly): Likewise.
22471 (vmullbq_poly): Likewise.
22472 (vmovntq): Likewise.
22473 (vmovntq): Likewise.
22474 (vmovnbq): Likewise.
22475 (vmovnbq): Likewise.
22476 (vmlaldavxq): Likewise.
22477 (vmlaldavxq): Likewise.
22478 (vqmovuntq): Likewise.
22479 (vqmovuntq): Likewise.
22480 (vshlltq_n): Likewise.
22481 (vshlltq_n): Likewise.
22482 (vshllbq_n): Likewise.
22483 (vshllbq_n): Likewise.
22484 (vorrq_n): Likewise.
22485 (vorrq_n): Likewise.
22486 (vmlaldavq): Likewise.
22487 (vmlaldavq): Likewise.
22488 (vqmovunbq): Likewise.
22489 (vqmovunbq): Likewise.
22490 (vqdmulltq_n): Likewise.
22491 (vqdmulltq_n): Likewise.
22492 (vqdmulltq): Likewise.
22493 (vqdmulltq): Likewise.
22494 (vqdmullbq_n): Likewise.
22495 (vqdmullbq_n): Likewise.
22496 (vqdmullbq): Likewise.
22497 (vqdmullbq): Likewise.
22498 (vaddlvaq): Likewise.
22499 (vaddlvaq): Likewise.
22500 (vrmlaldavhq): Likewise.
22501 (vrmlaldavhq): Likewise.
22502 (vrmlaldavhxq): Likewise.
22503 (vrmlaldavhxq): Likewise.
22504 (vrmlsldavhq): Likewise.
22505 (vrmlsldavhq): Likewise.
22506 (vrmlsldavhxq): Likewise.
22507 (vrmlsldavhxq): Likewise.
22508 (vmlsldavxq): Likewise.
22509 (vmlsldavxq): Likewise.
22510 (vmlsldavq): Likewise.
22511 (vmlsldavq): Likewise.
22512 * config/arm/arm_mve_builtins.def (BINOP_NONE_NONE_IMM): Use it.
22513 (BINOP_NONE_NONE_NONE): Likewise.
22514 (BINOP_UNONE_NONE_NONE): Likewise.
22515 (BINOP_UNONE_UNONE_IMM): Likewise.
22516 (BINOP_UNONE_UNONE_NONE): Likewise.
22517 (BINOP_UNONE_UNONE_UNONE): Likewise.
22518 * config/arm/mve.md (mve_vabdq_f<mode>): Define RTL pattern.
22519 (mve_vaddlvaq_<supf>v4si): Likewise.
22520 (mve_vaddq_n_f<mode>): Likewise.
22521 (mve_vandq_f<mode>): Likewise.
22522 (mve_vbicq_f<mode>): Likewise.
22523 (mve_vbicq_n_<supf><mode>): Likewise.
22524 (mve_vcaddq_rot270_f<mode>): Likewise.
22525 (mve_vcaddq_rot90_f<mode>): Likewise.
22526 (mve_vcmpeqq_f<mode>): Likewise.
22527 (mve_vcmpeqq_n_f<mode>): Likewise.
22528 (mve_vcmpgeq_f<mode>): Likewise.
22529 (mve_vcmpgeq_n_f<mode>): Likewise.
22530 (mve_vcmpgtq_f<mode>): Likewise.
22531 (mve_vcmpgtq_n_f<mode>): Likewise.
22532 (mve_vcmpleq_f<mode>): Likewise.
22533 (mve_vcmpleq_n_f<mode>): Likewise.
22534 (mve_vcmpltq_f<mode>): Likewise.
22535 (mve_vcmpltq_n_f<mode>): Likewise.
22536 (mve_vcmpneq_f<mode>): Likewise.
22537 (mve_vcmpneq_n_f<mode>): Likewise.
22538 (mve_vcmulq_f<mode>): Likewise.
22539 (mve_vcmulq_rot180_f<mode>): Likewise.
22540 (mve_vcmulq_rot270_f<mode>): Likewise.
22541 (mve_vcmulq_rot90_f<mode>): Likewise.
22542 (mve_vctp<mode1>q_mhi): Likewise.
22543 (mve_vcvtbq_f16_f32v8hf): Likewise.
22544 (mve_vcvttq_f16_f32v8hf): Likewise.
22545 (mve_veorq_f<mode>): Likewise.
22546 (mve_vmaxnmaq_f<mode>): Likewise.
22547 (mve_vmaxnmavq_f<mode>): Likewise.
22548 (mve_vmaxnmq_f<mode>): Likewise.
22549 (mve_vmaxnmvq_f<mode>): Likewise.
22550 (mve_vminnmaq_f<mode>): Likewise.
22551 (mve_vminnmavq_f<mode>): Likewise.
22552 (mve_vminnmq_f<mode>): Likewise.
22553 (mve_vminnmvq_f<mode>): Likewise.
22554 (mve_vmlaldavq_<supf><mode>): Likewise.
22555 (mve_vmlaldavxq_<supf><mode>): Likewise.
22556 (mve_vmlsldavq_s<mode>): Likewise.
22557 (mve_vmlsldavxq_s<mode>): Likewise.
22558 (mve_vmovnbq_<supf><mode>): Likewise.
22559 (mve_vmovntq_<supf><mode>): Likewise.
22560 (mve_vmulq_f<mode>): Likewise.
22561 (mve_vmulq_n_f<mode>): Likewise.
22562 (mve_vornq_f<mode>): Likewise.
22563 (mve_vorrq_f<mode>): Likewise.
22564 (mve_vorrq_n_<supf><mode>): Likewise.
22565 (mve_vqdmullbq_n_s<mode>): Likewise.
22566 (mve_vqdmullbq_s<mode>): Likewise.
22567 (mve_vqdmulltq_n_s<mode>): Likewise.
22568 (mve_vqdmulltq_s<mode>): Likewise.
22569 (mve_vqmovnbq_<supf><mode>): Likewise.
22570 (mve_vqmovntq_<supf><mode>): Likewise.
22571 (mve_vqmovunbq_s<mode>): Likewise.
22572 (mve_vqmovuntq_s<mode>): Likewise.
22573 (mve_vrmlaldavhxq_sv4si): Likewise.
22574 (mve_vrmlsldavhq_sv4si): Likewise.
22575 (mve_vrmlsldavhxq_sv4si): Likewise.
22576 (mve_vshllbq_n_<supf><mode>): Likewise.
22577 (mve_vshlltq_n_<supf><mode>): Likewise.
22578 (mve_vsubq_f<mode>): Likewise.
22579 (mve_vmulltq_poly_p<mode>): Likewise.
22580 (mve_vmullbq_poly_p<mode>): Likewise.
22581 (mve_vrmlaldavhq_<supf>v4si): Likewise.
22583 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
22584 Mihail Ionescu <mihail.ionescu@arm.com>
22585 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
22587 * config/arm/arm_mve.h (vsubq_u8): Define macro.
22588 (vsubq_n_u8): Likewise.
22589 (vrmulhq_u8): Likewise.
22590 (vrhaddq_u8): Likewise.
22591 (vqsubq_u8): Likewise.
22592 (vqsubq_n_u8): Likewise.
22593 (vqaddq_u8): Likewise.
22594 (vqaddq_n_u8): Likewise.
22595 (vorrq_u8): Likewise.
22596 (vornq_u8): Likewise.
22597 (vmulq_u8): Likewise.
22598 (vmulq_n_u8): Likewise.
22599 (vmulltq_int_u8): Likewise.
22600 (vmullbq_int_u8): Likewise.
22601 (vmulhq_u8): Likewise.
22602 (vmladavq_u8): Likewise.
22603 (vminvq_u8): Likewise.
22604 (vminq_u8): Likewise.
22605 (vmaxvq_u8): Likewise.
22606 (vmaxq_u8): Likewise.
22607 (vhsubq_u8): Likewise.
22608 (vhsubq_n_u8): Likewise.
22609 (vhaddq_u8): Likewise.
22610 (vhaddq_n_u8): Likewise.
22611 (veorq_u8): Likewise.
22612 (vcmpneq_n_u8): Likewise.
22613 (vcmphiq_u8): Likewise.
22614 (vcmphiq_n_u8): Likewise.
22615 (vcmpeqq_u8): Likewise.
22616 (vcmpeqq_n_u8): Likewise.
22617 (vcmpcsq_u8): Likewise.
22618 (vcmpcsq_n_u8): Likewise.
22619 (vcaddq_rot90_u8): Likewise.
22620 (vcaddq_rot270_u8): Likewise.
22621 (vbicq_u8): Likewise.
22622 (vandq_u8): Likewise.
22623 (vaddvq_p_u8): Likewise.
22624 (vaddvaq_u8): Likewise.
22625 (vaddq_n_u8): Likewise.
22626 (vabdq_u8): Likewise.
22627 (vshlq_r_u8): Likewise.
22628 (vrshlq_u8): Likewise.
22629 (vrshlq_n_u8): Likewise.
22630 (vqshlq_u8): Likewise.
22631 (vqshlq_r_u8): Likewise.
22632 (vqrshlq_u8): Likewise.
22633 (vqrshlq_n_u8): Likewise.
22634 (vminavq_s8): Likewise.
22635 (vminaq_s8): Likewise.
22636 (vmaxavq_s8): Likewise.
22637 (vmaxaq_s8): Likewise.
22638 (vbrsrq_n_u8): Likewise.
22639 (vshlq_n_u8): Likewise.
22640 (vrshrq_n_u8): Likewise.
22641 (vqshlq_n_u8): Likewise.
22642 (vcmpneq_n_s8): Likewise.
22643 (vcmpltq_s8): Likewise.
22644 (vcmpltq_n_s8): Likewise.
22645 (vcmpleq_s8): Likewise.
22646 (vcmpleq_n_s8): Likewise.
22647 (vcmpgtq_s8): Likewise.
22648 (vcmpgtq_n_s8): Likewise.
22649 (vcmpgeq_s8): Likewise.
22650 (vcmpgeq_n_s8): Likewise.
22651 (vcmpeqq_s8): Likewise.
22652 (vcmpeqq_n_s8): Likewise.
22653 (vqshluq_n_s8): Likewise.
22654 (vaddvq_p_s8): Likewise.
22655 (vsubq_s8): Likewise.
22656 (vsubq_n_s8): Likewise.
22657 (vshlq_r_s8): Likewise.
22658 (vrshlq_s8): Likewise.
22659 (vrshlq_n_s8): Likewise.
22660 (vrmulhq_s8): Likewise.
22661 (vrhaddq_s8): Likewise.
22662 (vqsubq_s8): Likewise.
22663 (vqsubq_n_s8): Likewise.
22664 (vqshlq_s8): Likewise.
22665 (vqshlq_r_s8): Likewise.
22666 (vqrshlq_s8): Likewise.
22667 (vqrshlq_n_s8): Likewise.
22668 (vqrdmulhq_s8): Likewise.
22669 (vqrdmulhq_n_s8): Likewise.
22670 (vqdmulhq_s8): Likewise.
22671 (vqdmulhq_n_s8): Likewise.
22672 (vqaddq_s8): Likewise.
22673 (vqaddq_n_s8): Likewise.
22674 (vorrq_s8): Likewise.
22675 (vornq_s8): Likewise.
22676 (vmulq_s8): Likewise.
22677 (vmulq_n_s8): Likewise.
22678 (vmulltq_int_s8): Likewise.
22679 (vmullbq_int_s8): Likewise.
22680 (vmulhq_s8): Likewise.
22681 (vmlsdavxq_s8): Likewise.
22682 (vmlsdavq_s8): Likewise.
22683 (vmladavxq_s8): Likewise.
22684 (vmladavq_s8): Likewise.
22685 (vminvq_s8): Likewise.
22686 (vminq_s8): Likewise.
22687 (vmaxvq_s8): Likewise.
22688 (vmaxq_s8): Likewise.
22689 (vhsubq_s8): Likewise.
22690 (vhsubq_n_s8): Likewise.
22691 (vhcaddq_rot90_s8): Likewise.
22692 (vhcaddq_rot270_s8): Likewise.
22693 (vhaddq_s8): Likewise.
22694 (vhaddq_n_s8): Likewise.
22695 (veorq_s8): Likewise.
22696 (vcaddq_rot90_s8): Likewise.
22697 (vcaddq_rot270_s8): Likewise.
22698 (vbrsrq_n_s8): Likewise.
22699 (vbicq_s8): Likewise.
22700 (vandq_s8): Likewise.
22701 (vaddvaq_s8): Likewise.
22702 (vaddq_n_s8): Likewise.
22703 (vabdq_s8): Likewise.
22704 (vshlq_n_s8): Likewise.
22705 (vrshrq_n_s8): Likewise.
22706 (vqshlq_n_s8): Likewise.
22707 (vsubq_u16): Likewise.
22708 (vsubq_n_u16): Likewise.
22709 (vrmulhq_u16): Likewise.
22710 (vrhaddq_u16): Likewise.
22711 (vqsubq_u16): Likewise.
22712 (vqsubq_n_u16): Likewise.
22713 (vqaddq_u16): Likewise.
22714 (vqaddq_n_u16): Likewise.
22715 (vorrq_u16): Likewise.
22716 (vornq_u16): Likewise.
22717 (vmulq_u16): Likewise.
22718 (vmulq_n_u16): Likewise.
22719 (vmulltq_int_u16): Likewise.
22720 (vmullbq_int_u16): Likewise.
22721 (vmulhq_u16): Likewise.
22722 (vmladavq_u16): Likewise.
22723 (vminvq_u16): Likewise.
22724 (vminq_u16): Likewise.
22725 (vmaxvq_u16): Likewise.
22726 (vmaxq_u16): Likewise.
22727 (vhsubq_u16): Likewise.
22728 (vhsubq_n_u16): Likewise.
22729 (vhaddq_u16): Likewise.
22730 (vhaddq_n_u16): Likewise.
22731 (veorq_u16): Likewise.
22732 (vcmpneq_n_u16): Likewise.
22733 (vcmphiq_u16): Likewise.
22734 (vcmphiq_n_u16): Likewise.
22735 (vcmpeqq_u16): Likewise.
22736 (vcmpeqq_n_u16): Likewise.
22737 (vcmpcsq_u16): Likewise.
22738 (vcmpcsq_n_u16): Likewise.
22739 (vcaddq_rot90_u16): Likewise.
22740 (vcaddq_rot270_u16): Likewise.
22741 (vbicq_u16): Likewise.
22742 (vandq_u16): Likewise.
22743 (vaddvq_p_u16): Likewise.
22744 (vaddvaq_u16): Likewise.
22745 (vaddq_n_u16): Likewise.
22746 (vabdq_u16): Likewise.
22747 (vshlq_r_u16): Likewise.
22748 (vrshlq_u16): Likewise.
22749 (vrshlq_n_u16): Likewise.
22750 (vqshlq_u16): Likewise.
22751 (vqshlq_r_u16): Likewise.
22752 (vqrshlq_u16): Likewise.
22753 (vqrshlq_n_u16): Likewise.
22754 (vminavq_s16): Likewise.
22755 (vminaq_s16): Likewise.
22756 (vmaxavq_s16): Likewise.
22757 (vmaxaq_s16): Likewise.
22758 (vbrsrq_n_u16): Likewise.
22759 (vshlq_n_u16): Likewise.
22760 (vrshrq_n_u16): Likewise.
22761 (vqshlq_n_u16): Likewise.
22762 (vcmpneq_n_s16): Likewise.
22763 (vcmpltq_s16): Likewise.
22764 (vcmpltq_n_s16): Likewise.
22765 (vcmpleq_s16): Likewise.
22766 (vcmpleq_n_s16): Likewise.
22767 (vcmpgtq_s16): Likewise.
22768 (vcmpgtq_n_s16): Likewise.
22769 (vcmpgeq_s16): Likewise.
22770 (vcmpgeq_n_s16): Likewise.
22771 (vcmpeqq_s16): Likewise.
22772 (vcmpeqq_n_s16): Likewise.
22773 (vqshluq_n_s16): Likewise.
22774 (vaddvq_p_s16): Likewise.
22775 (vsubq_s16): Likewise.
22776 (vsubq_n_s16): Likewise.
22777 (vshlq_r_s16): Likewise.
22778 (vrshlq_s16): Likewise.
22779 (vrshlq_n_s16): Likewise.
22780 (vrmulhq_s16): Likewise.
22781 (vrhaddq_s16): Likewise.
22782 (vqsubq_s16): Likewise.
22783 (vqsubq_n_s16): Likewise.
22784 (vqshlq_s16): Likewise.
22785 (vqshlq_r_s16): Likewise.
22786 (vqrshlq_s16): Likewise.
22787 (vqrshlq_n_s16): Likewise.
22788 (vqrdmulhq_s16): Likewise.
22789 (vqrdmulhq_n_s16): Likewise.
22790 (vqdmulhq_s16): Likewise.
22791 (vqdmulhq_n_s16): Likewise.
22792 (vqaddq_s16): Likewise.
22793 (vqaddq_n_s16): Likewise.
22794 (vorrq_s16): Likewise.
22795 (vornq_s16): Likewise.
22796 (vmulq_s16): Likewise.
22797 (vmulq_n_s16): Likewise.
22798 (vmulltq_int_s16): Likewise.
22799 (vmullbq_int_s16): Likewise.
22800 (vmulhq_s16): Likewise.
22801 (vmlsdavxq_s16): Likewise.
22802 (vmlsdavq_s16): Likewise.
22803 (vmladavxq_s16): Likewise.
22804 (vmladavq_s16): Likewise.
22805 (vminvq_s16): Likewise.
22806 (vminq_s16): Likewise.
22807 (vmaxvq_s16): Likewise.
22808 (vmaxq_s16): Likewise.
22809 (vhsubq_s16): Likewise.
22810 (vhsubq_n_s16): Likewise.
22811 (vhcaddq_rot90_s16): Likewise.
22812 (vhcaddq_rot270_s16): Likewise.
22813 (vhaddq_s16): Likewise.
22814 (vhaddq_n_s16): Likewise.
22815 (veorq_s16): Likewise.
22816 (vcaddq_rot90_s16): Likewise.
22817 (vcaddq_rot270_s16): Likewise.
22818 (vbrsrq_n_s16): Likewise.
22819 (vbicq_s16): Likewise.
22820 (vandq_s16): Likewise.
22821 (vaddvaq_s16): Likewise.
22822 (vaddq_n_s16): Likewise.
22823 (vabdq_s16): Likewise.
22824 (vshlq_n_s16): Likewise.
22825 (vrshrq_n_s16): Likewise.
22826 (vqshlq_n_s16): Likewise.
22827 (vsubq_u32): Likewise.
22828 (vsubq_n_u32): Likewise.
22829 (vrmulhq_u32): Likewise.
22830 (vrhaddq_u32): Likewise.
22831 (vqsubq_u32): Likewise.
22832 (vqsubq_n_u32): Likewise.
22833 (vqaddq_u32): Likewise.
22834 (vqaddq_n_u32): Likewise.
22835 (vorrq_u32): Likewise.
22836 (vornq_u32): Likewise.
22837 (vmulq_u32): Likewise.
22838 (vmulq_n_u32): Likewise.
22839 (vmulltq_int_u32): Likewise.
22840 (vmullbq_int_u32): Likewise.
22841 (vmulhq_u32): Likewise.
22842 (vmladavq_u32): Likewise.
22843 (vminvq_u32): Likewise.
22844 (vminq_u32): Likewise.
22845 (vmaxvq_u32): Likewise.
22846 (vmaxq_u32): Likewise.
22847 (vhsubq_u32): Likewise.
22848 (vhsubq_n_u32): Likewise.
22849 (vhaddq_u32): Likewise.
22850 (vhaddq_n_u32): Likewise.
22851 (veorq_u32): Likewise.
22852 (vcmpneq_n_u32): Likewise.
22853 (vcmphiq_u32): Likewise.
22854 (vcmphiq_n_u32): Likewise.
22855 (vcmpeqq_u32): Likewise.
22856 (vcmpeqq_n_u32): Likewise.
22857 (vcmpcsq_u32): Likewise.
22858 (vcmpcsq_n_u32): Likewise.
22859 (vcaddq_rot90_u32): Likewise.
22860 (vcaddq_rot270_u32): Likewise.
22861 (vbicq_u32): Likewise.
22862 (vandq_u32): Likewise.
22863 (vaddvq_p_u32): Likewise.
22864 (vaddvaq_u32): Likewise.
22865 (vaddq_n_u32): Likewise.
22866 (vabdq_u32): Likewise.
22867 (vshlq_r_u32): Likewise.
22868 (vrshlq_u32): Likewise.
22869 (vrshlq_n_u32): Likewise.
22870 (vqshlq_u32): Likewise.
22871 (vqshlq_r_u32): Likewise.
22872 (vqrshlq_u32): Likewise.
22873 (vqrshlq_n_u32): Likewise.
22874 (vminavq_s32): Likewise.
22875 (vminaq_s32): Likewise.
22876 (vmaxavq_s32): Likewise.
22877 (vmaxaq_s32): Likewise.
22878 (vbrsrq_n_u32): Likewise.
22879 (vshlq_n_u32): Likewise.
22880 (vrshrq_n_u32): Likewise.
22881 (vqshlq_n_u32): Likewise.
22882 (vcmpneq_n_s32): Likewise.
22883 (vcmpltq_s32): Likewise.
22884 (vcmpltq_n_s32): Likewise.
22885 (vcmpleq_s32): Likewise.
22886 (vcmpleq_n_s32): Likewise.
22887 (vcmpgtq_s32): Likewise.
22888 (vcmpgtq_n_s32): Likewise.
22889 (vcmpgeq_s32): Likewise.
22890 (vcmpgeq_n_s32): Likewise.
22891 (vcmpeqq_s32): Likewise.
22892 (vcmpeqq_n_s32): Likewise.
22893 (vqshluq_n_s32): Likewise.
22894 (vaddvq_p_s32): Likewise.
22895 (vsubq_s32): Likewise.
22896 (vsubq_n_s32): Likewise.
22897 (vshlq_r_s32): Likewise.
22898 (vrshlq_s32): Likewise.
22899 (vrshlq_n_s32): Likewise.
22900 (vrmulhq_s32): Likewise.
22901 (vrhaddq_s32): Likewise.
22902 (vqsubq_s32): Likewise.
22903 (vqsubq_n_s32): Likewise.
22904 (vqshlq_s32): Likewise.
22905 (vqshlq_r_s32): Likewise.
22906 (vqrshlq_s32): Likewise.
22907 (vqrshlq_n_s32): Likewise.
22908 (vqrdmulhq_s32): Likewise.
22909 (vqrdmulhq_n_s32): Likewise.
22910 (vqdmulhq_s32): Likewise.
22911 (vqdmulhq_n_s32): Likewise.
22912 (vqaddq_s32): Likewise.
22913 (vqaddq_n_s32): Likewise.
22914 (vorrq_s32): Likewise.
22915 (vornq_s32): Likewise.
22916 (vmulq_s32): Likewise.
22917 (vmulq_n_s32): Likewise.
22918 (vmulltq_int_s32): Likewise.
22919 (vmullbq_int_s32): Likewise.
22920 (vmulhq_s32): Likewise.
22921 (vmlsdavxq_s32): Likewise.
22922 (vmlsdavq_s32): Likewise.
22923 (vmladavxq_s32): Likewise.
22924 (vmladavq_s32): Likewise.
22925 (vminvq_s32): Likewise.
22926 (vminq_s32): Likewise.
22927 (vmaxvq_s32): Likewise.
22928 (vmaxq_s32): Likewise.
22929 (vhsubq_s32): Likewise.
22930 (vhsubq_n_s32): Likewise.
22931 (vhcaddq_rot90_s32): Likewise.
22932 (vhcaddq_rot270_s32): Likewise.
22933 (vhaddq_s32): Likewise.
22934 (vhaddq_n_s32): Likewise.
22935 (veorq_s32): Likewise.
22936 (vcaddq_rot90_s32): Likewise.
22937 (vcaddq_rot270_s32): Likewise.
22938 (vbrsrq_n_s32): Likewise.
22939 (vbicq_s32): Likewise.
22940 (vandq_s32): Likewise.
22941 (vaddvaq_s32): Likewise.
22942 (vaddq_n_s32): Likewise.
22943 (vabdq_s32): Likewise.
22944 (vshlq_n_s32): Likewise.
22945 (vrshrq_n_s32): Likewise.
22946 (vqshlq_n_s32): Likewise.
22947 (__arm_vsubq_u8): Define intrinsic.
22948 (__arm_vsubq_n_u8): Likewise.
22949 (__arm_vrmulhq_u8): Likewise.
22950 (__arm_vrhaddq_u8): Likewise.
22951 (__arm_vqsubq_u8): Likewise.
22952 (__arm_vqsubq_n_u8): Likewise.
22953 (__arm_vqaddq_u8): Likewise.
22954 (__arm_vqaddq_n_u8): Likewise.
22955 (__arm_vorrq_u8): Likewise.
22956 (__arm_vornq_u8): Likewise.
22957 (__arm_vmulq_u8): Likewise.
22958 (__arm_vmulq_n_u8): Likewise.
22959 (__arm_vmulltq_int_u8): Likewise.
22960 (__arm_vmullbq_int_u8): Likewise.
22961 (__arm_vmulhq_u8): Likewise.
22962 (__arm_vmladavq_u8): Likewise.
22963 (__arm_vminvq_u8): Likewise.
22964 (__arm_vminq_u8): Likewise.
22965 (__arm_vmaxvq_u8): Likewise.
22966 (__arm_vmaxq_u8): Likewise.
22967 (__arm_vhsubq_u8): Likewise.
22968 (__arm_vhsubq_n_u8): Likewise.
22969 (__arm_vhaddq_u8): Likewise.
22970 (__arm_vhaddq_n_u8): Likewise.
22971 (__arm_veorq_u8): Likewise.
22972 (__arm_vcmpneq_n_u8): Likewise.
22973 (__arm_vcmphiq_u8): Likewise.
22974 (__arm_vcmphiq_n_u8): Likewise.
22975 (__arm_vcmpeqq_u8): Likewise.
22976 (__arm_vcmpeqq_n_u8): Likewise.
22977 (__arm_vcmpcsq_u8): Likewise.
22978 (__arm_vcmpcsq_n_u8): Likewise.
22979 (__arm_vcaddq_rot90_u8): Likewise.
22980 (__arm_vcaddq_rot270_u8): Likewise.
22981 (__arm_vbicq_u8): Likewise.
22982 (__arm_vandq_u8): Likewise.
22983 (__arm_vaddvq_p_u8): Likewise.
22984 (__arm_vaddvaq_u8): Likewise.
22985 (__arm_vaddq_n_u8): Likewise.
22986 (__arm_vabdq_u8): Likewise.
22987 (__arm_vshlq_r_u8): Likewise.
22988 (__arm_vrshlq_u8): Likewise.
22989 (__arm_vrshlq_n_u8): Likewise.
22990 (__arm_vqshlq_u8): Likewise.
22991 (__arm_vqshlq_r_u8): Likewise.
22992 (__arm_vqrshlq_u8): Likewise.
22993 (__arm_vqrshlq_n_u8): Likewise.
22994 (__arm_vminavq_s8): Likewise.
22995 (__arm_vminaq_s8): Likewise.
22996 (__arm_vmaxavq_s8): Likewise.
22997 (__arm_vmaxaq_s8): Likewise.
22998 (__arm_vbrsrq_n_u8): Likewise.
22999 (__arm_vshlq_n_u8): Likewise.
23000 (__arm_vrshrq_n_u8): Likewise.
23001 (__arm_vqshlq_n_u8): Likewise.
23002 (__arm_vcmpneq_n_s8): Likewise.
23003 (__arm_vcmpltq_s8): Likewise.
23004 (__arm_vcmpltq_n_s8): Likewise.
23005 (__arm_vcmpleq_s8): Likewise.
23006 (__arm_vcmpleq_n_s8): Likewise.
23007 (__arm_vcmpgtq_s8): Likewise.
23008 (__arm_vcmpgtq_n_s8): Likewise.
23009 (__arm_vcmpgeq_s8): Likewise.
23010 (__arm_vcmpgeq_n_s8): Likewise.
23011 (__arm_vcmpeqq_s8): Likewise.
23012 (__arm_vcmpeqq_n_s8): Likewise.
23013 (__arm_vqshluq_n_s8): Likewise.
23014 (__arm_vaddvq_p_s8): Likewise.
23015 (__arm_vsubq_s8): Likewise.
23016 (__arm_vsubq_n_s8): Likewise.
23017 (__arm_vshlq_r_s8): Likewise.
23018 (__arm_vrshlq_s8): Likewise.
23019 (__arm_vrshlq_n_s8): Likewise.
23020 (__arm_vrmulhq_s8): Likewise.
23021 (__arm_vrhaddq_s8): Likewise.
23022 (__arm_vqsubq_s8): Likewise.
23023 (__arm_vqsubq_n_s8): Likewise.
23024 (__arm_vqshlq_s8): Likewise.
23025 (__arm_vqshlq_r_s8): Likewise.
23026 (__arm_vqrshlq_s8): Likewise.
23027 (__arm_vqrshlq_n_s8): Likewise.
23028 (__arm_vqrdmulhq_s8): Likewise.
23029 (__arm_vqrdmulhq_n_s8): Likewise.
23030 (__arm_vqdmulhq_s8): Likewise.
23031 (__arm_vqdmulhq_n_s8): Likewise.
23032 (__arm_vqaddq_s8): Likewise.
23033 (__arm_vqaddq_n_s8): Likewise.
23034 (__arm_vorrq_s8): Likewise.
23035 (__arm_vornq_s8): Likewise.
23036 (__arm_vmulq_s8): Likewise.
23037 (__arm_vmulq_n_s8): Likewise.
23038 (__arm_vmulltq_int_s8): Likewise.
23039 (__arm_vmullbq_int_s8): Likewise.
23040 (__arm_vmulhq_s8): Likewise.
23041 (__arm_vmlsdavxq_s8): Likewise.
23042 (__arm_vmlsdavq_s8): Likewise.
23043 (__arm_vmladavxq_s8): Likewise.
23044 (__arm_vmladavq_s8): Likewise.
23045 (__arm_vminvq_s8): Likewise.
23046 (__arm_vminq_s8): Likewise.
23047 (__arm_vmaxvq_s8): Likewise.
23048 (__arm_vmaxq_s8): Likewise.
23049 (__arm_vhsubq_s8): Likewise.
23050 (__arm_vhsubq_n_s8): Likewise.
23051 (__arm_vhcaddq_rot90_s8): Likewise.
23052 (__arm_vhcaddq_rot270_s8): Likewise.
23053 (__arm_vhaddq_s8): Likewise.
23054 (__arm_vhaddq_n_s8): Likewise.
23055 (__arm_veorq_s8): Likewise.
23056 (__arm_vcaddq_rot90_s8): Likewise.
23057 (__arm_vcaddq_rot270_s8): Likewise.
23058 (__arm_vbrsrq_n_s8): Likewise.
23059 (__arm_vbicq_s8): Likewise.
23060 (__arm_vandq_s8): Likewise.
23061 (__arm_vaddvaq_s8): Likewise.
23062 (__arm_vaddq_n_s8): Likewise.
23063 (__arm_vabdq_s8): Likewise.
23064 (__arm_vshlq_n_s8): Likewise.
23065 (__arm_vrshrq_n_s8): Likewise.
23066 (__arm_vqshlq_n_s8): Likewise.
23067 (__arm_vsubq_u16): Likewise.
23068 (__arm_vsubq_n_u16): Likewise.
23069 (__arm_vrmulhq_u16): Likewise.
23070 (__arm_vrhaddq_u16): Likewise.
23071 (__arm_vqsubq_u16): Likewise.
23072 (__arm_vqsubq_n_u16): Likewise.
23073 (__arm_vqaddq_u16): Likewise.
23074 (__arm_vqaddq_n_u16): Likewise.
23075 (__arm_vorrq_u16): Likewise.
23076 (__arm_vornq_u16): Likewise.
23077 (__arm_vmulq_u16): Likewise.
23078 (__arm_vmulq_n_u16): Likewise.
23079 (__arm_vmulltq_int_u16): Likewise.
23080 (__arm_vmullbq_int_u16): Likewise.
23081 (__arm_vmulhq_u16): Likewise.
23082 (__arm_vmladavq_u16): Likewise.
23083 (__arm_vminvq_u16): Likewise.
23084 (__arm_vminq_u16): Likewise.
23085 (__arm_vmaxvq_u16): Likewise.
23086 (__arm_vmaxq_u16): Likewise.
23087 (__arm_vhsubq_u16): Likewise.
23088 (__arm_vhsubq_n_u16): Likewise.
23089 (__arm_vhaddq_u16): Likewise.
23090 (__arm_vhaddq_n_u16): Likewise.
23091 (__arm_veorq_u16): Likewise.
23092 (__arm_vcmpneq_n_u16): Likewise.
23093 (__arm_vcmphiq_u16): Likewise.
23094 (__arm_vcmphiq_n_u16): Likewise.
23095 (__arm_vcmpeqq_u16): Likewise.
23096 (__arm_vcmpeqq_n_u16): Likewise.
23097 (__arm_vcmpcsq_u16): Likewise.
23098 (__arm_vcmpcsq_n_u16): Likewise.
23099 (__arm_vcaddq_rot90_u16): Likewise.
23100 (__arm_vcaddq_rot270_u16): Likewise.
23101 (__arm_vbicq_u16): Likewise.
23102 (__arm_vandq_u16): Likewise.
23103 (__arm_vaddvq_p_u16): Likewise.
23104 (__arm_vaddvaq_u16): Likewise.
23105 (__arm_vaddq_n_u16): Likewise.
23106 (__arm_vabdq_u16): Likewise.
23107 (__arm_vshlq_r_u16): Likewise.
23108 (__arm_vrshlq_u16): Likewise.
23109 (__arm_vrshlq_n_u16): Likewise.
23110 (__arm_vqshlq_u16): Likewise.
23111 (__arm_vqshlq_r_u16): Likewise.
23112 (__arm_vqrshlq_u16): Likewise.
23113 (__arm_vqrshlq_n_u16): Likewise.
23114 (__arm_vminavq_s16): Likewise.
23115 (__arm_vminaq_s16): Likewise.
23116 (__arm_vmaxavq_s16): Likewise.
23117 (__arm_vmaxaq_s16): Likewise.
23118 (__arm_vbrsrq_n_u16): Likewise.
23119 (__arm_vshlq_n_u16): Likewise.
23120 (__arm_vrshrq_n_u16): Likewise.
23121 (__arm_vqshlq_n_u16): Likewise.
23122 (__arm_vcmpneq_n_s16): Likewise.
23123 (__arm_vcmpltq_s16): Likewise.
23124 (__arm_vcmpltq_n_s16): Likewise.
23125 (__arm_vcmpleq_s16): Likewise.
23126 (__arm_vcmpleq_n_s16): Likewise.
23127 (__arm_vcmpgtq_s16): Likewise.
23128 (__arm_vcmpgtq_n_s16): Likewise.
23129 (__arm_vcmpgeq_s16): Likewise.
23130 (__arm_vcmpgeq_n_s16): Likewise.
23131 (__arm_vcmpeqq_s16): Likewise.
23132 (__arm_vcmpeqq_n_s16): Likewise.
23133 (__arm_vqshluq_n_s16): Likewise.
23134 (__arm_vaddvq_p_s16): Likewise.
23135 (__arm_vsubq_s16): Likewise.
23136 (__arm_vsubq_n_s16): Likewise.
23137 (__arm_vshlq_r_s16): Likewise.
23138 (__arm_vrshlq_s16): Likewise.
23139 (__arm_vrshlq_n_s16): Likewise.
23140 (__arm_vrmulhq_s16): Likewise.
23141 (__arm_vrhaddq_s16): Likewise.
23142 (__arm_vqsubq_s16): Likewise.
23143 (__arm_vqsubq_n_s16): Likewise.
23144 (__arm_vqshlq_s16): Likewise.
23145 (__arm_vqshlq_r_s16): Likewise.
23146 (__arm_vqrshlq_s16): Likewise.
23147 (__arm_vqrshlq_n_s16): Likewise.
23148 (__arm_vqrdmulhq_s16): Likewise.
23149 (__arm_vqrdmulhq_n_s16): Likewise.
23150 (__arm_vqdmulhq_s16): Likewise.
23151 (__arm_vqdmulhq_n_s16): Likewise.
23152 (__arm_vqaddq_s16): Likewise.
23153 (__arm_vqaddq_n_s16): Likewise.
23154 (__arm_vorrq_s16): Likewise.
23155 (__arm_vornq_s16): Likewise.
23156 (__arm_vmulq_s16): Likewise.
23157 (__arm_vmulq_n_s16): Likewise.
23158 (__arm_vmulltq_int_s16): Likewise.
23159 (__arm_vmullbq_int_s16): Likewise.
23160 (__arm_vmulhq_s16): Likewise.
23161 (__arm_vmlsdavxq_s16): Likewise.
23162 (__arm_vmlsdavq_s16): Likewise.
23163 (__arm_vmladavxq_s16): Likewise.
23164 (__arm_vmladavq_s16): Likewise.
23165 (__arm_vminvq_s16): Likewise.
23166 (__arm_vminq_s16): Likewise.
23167 (__arm_vmaxvq_s16): Likewise.
23168 (__arm_vmaxq_s16): Likewise.
23169 (__arm_vhsubq_s16): Likewise.
23170 (__arm_vhsubq_n_s16): Likewise.
23171 (__arm_vhcaddq_rot90_s16): Likewise.
23172 (__arm_vhcaddq_rot270_s16): Likewise.
23173 (__arm_vhaddq_s16): Likewise.
23174 (__arm_vhaddq_n_s16): Likewise.
23175 (__arm_veorq_s16): Likewise.
23176 (__arm_vcaddq_rot90_s16): Likewise.
23177 (__arm_vcaddq_rot270_s16): Likewise.
23178 (__arm_vbrsrq_n_s16): Likewise.
23179 (__arm_vbicq_s16): Likewise.
23180 (__arm_vandq_s16): Likewise.
23181 (__arm_vaddvaq_s16): Likewise.
23182 (__arm_vaddq_n_s16): Likewise.
23183 (__arm_vabdq_s16): Likewise.
23184 (__arm_vshlq_n_s16): Likewise.
23185 (__arm_vrshrq_n_s16): Likewise.
23186 (__arm_vqshlq_n_s16): Likewise.
23187 (__arm_vsubq_u32): Likewise.
23188 (__arm_vsubq_n_u32): Likewise.
23189 (__arm_vrmulhq_u32): Likewise.
23190 (__arm_vrhaddq_u32): Likewise.
23191 (__arm_vqsubq_u32): Likewise.
23192 (__arm_vqsubq_n_u32): Likewise.
23193 (__arm_vqaddq_u32): Likewise.
23194 (__arm_vqaddq_n_u32): Likewise.
23195 (__arm_vorrq_u32): Likewise.
23196 (__arm_vornq_u32): Likewise.
23197 (__arm_vmulq_u32): Likewise.
23198 (__arm_vmulq_n_u32): Likewise.
23199 (__arm_vmulltq_int_u32): Likewise.
23200 (__arm_vmullbq_int_u32): Likewise.
23201 (__arm_vmulhq_u32): Likewise.
23202 (__arm_vmladavq_u32): Likewise.
23203 (__arm_vminvq_u32): Likewise.
23204 (__arm_vminq_u32): Likewise.
23205 (__arm_vmaxvq_u32): Likewise.
23206 (__arm_vmaxq_u32): Likewise.
23207 (__arm_vhsubq_u32): Likewise.
23208 (__arm_vhsubq_n_u32): Likewise.
23209 (__arm_vhaddq_u32): Likewise.
23210 (__arm_vhaddq_n_u32): Likewise.
23211 (__arm_veorq_u32): Likewise.
23212 (__arm_vcmpneq_n_u32): Likewise.
23213 (__arm_vcmphiq_u32): Likewise.
23214 (__arm_vcmphiq_n_u32): Likewise.
23215 (__arm_vcmpeqq_u32): Likewise.
23216 (__arm_vcmpeqq_n_u32): Likewise.
23217 (__arm_vcmpcsq_u32): Likewise.
23218 (__arm_vcmpcsq_n_u32): Likewise.
23219 (__arm_vcaddq_rot90_u32): Likewise.
23220 (__arm_vcaddq_rot270_u32): Likewise.
23221 (__arm_vbicq_u32): Likewise.
23222 (__arm_vandq_u32): Likewise.
23223 (__arm_vaddvq_p_u32): Likewise.
23224 (__arm_vaddvaq_u32): Likewise.
23225 (__arm_vaddq_n_u32): Likewise.
23226 (__arm_vabdq_u32): Likewise.
23227 (__arm_vshlq_r_u32): Likewise.
23228 (__arm_vrshlq_u32): Likewise.
23229 (__arm_vrshlq_n_u32): Likewise.
23230 (__arm_vqshlq_u32): Likewise.
23231 (__arm_vqshlq_r_u32): Likewise.
23232 (__arm_vqrshlq_u32): Likewise.
23233 (__arm_vqrshlq_n_u32): Likewise.
23234 (__arm_vminavq_s32): Likewise.
23235 (__arm_vminaq_s32): Likewise.
23236 (__arm_vmaxavq_s32): Likewise.
23237 (__arm_vmaxaq_s32): Likewise.
23238 (__arm_vbrsrq_n_u32): Likewise.
23239 (__arm_vshlq_n_u32): Likewise.
23240 (__arm_vrshrq_n_u32): Likewise.
23241 (__arm_vqshlq_n_u32): Likewise.
23242 (__arm_vcmpneq_n_s32): Likewise.
23243 (__arm_vcmpltq_s32): Likewise.
23244 (__arm_vcmpltq_n_s32): Likewise.
23245 (__arm_vcmpleq_s32): Likewise.
23246 (__arm_vcmpleq_n_s32): Likewise.
23247 (__arm_vcmpgtq_s32): Likewise.
23248 (__arm_vcmpgtq_n_s32): Likewise.
23249 (__arm_vcmpgeq_s32): Likewise.
23250 (__arm_vcmpgeq_n_s32): Likewise.
23251 (__arm_vcmpeqq_s32): Likewise.
23252 (__arm_vcmpeqq_n_s32): Likewise.
23253 (__arm_vqshluq_n_s32): Likewise.
23254 (__arm_vaddvq_p_s32): Likewise.
23255 (__arm_vsubq_s32): Likewise.
23256 (__arm_vsubq_n_s32): Likewise.
23257 (__arm_vshlq_r_s32): Likewise.
23258 (__arm_vrshlq_s32): Likewise.
23259 (__arm_vrshlq_n_s32): Likewise.
23260 (__arm_vrmulhq_s32): Likewise.
23261 (__arm_vrhaddq_s32): Likewise.
23262 (__arm_vqsubq_s32): Likewise.
23263 (__arm_vqsubq_n_s32): Likewise.
23264 (__arm_vqshlq_s32): Likewise.
23265 (__arm_vqshlq_r_s32): Likewise.
23266 (__arm_vqrshlq_s32): Likewise.
23267 (__arm_vqrshlq_n_s32): Likewise.
23268 (__arm_vqrdmulhq_s32): Likewise.
23269 (__arm_vqrdmulhq_n_s32): Likewise.
23270 (__arm_vqdmulhq_s32): Likewise.
23271 (__arm_vqdmulhq_n_s32): Likewise.
23272 (__arm_vqaddq_s32): Likewise.
23273 (__arm_vqaddq_n_s32): Likewise.
23274 (__arm_vorrq_s32): Likewise.
23275 (__arm_vornq_s32): Likewise.
23276 (__arm_vmulq_s32): Likewise.
23277 (__arm_vmulq_n_s32): Likewise.
23278 (__arm_vmulltq_int_s32): Likewise.
23279 (__arm_vmullbq_int_s32): Likewise.
23280 (__arm_vmulhq_s32): Likewise.
23281 (__arm_vmlsdavxq_s32): Likewise.
23282 (__arm_vmlsdavq_s32): Likewise.
23283 (__arm_vmladavxq_s32): Likewise.
23284 (__arm_vmladavq_s32): Likewise.
23285 (__arm_vminvq_s32): Likewise.
23286 (__arm_vminq_s32): Likewise.
23287 (__arm_vmaxvq_s32): Likewise.
23288 (__arm_vmaxq_s32): Likewise.
23289 (__arm_vhsubq_s32): Likewise.
23290 (__arm_vhsubq_n_s32): Likewise.
23291 (__arm_vhcaddq_rot90_s32): Likewise.
23292 (__arm_vhcaddq_rot270_s32): Likewise.
23293 (__arm_vhaddq_s32): Likewise.
23294 (__arm_vhaddq_n_s32): Likewise.
23295 (__arm_veorq_s32): Likewise.
23296 (__arm_vcaddq_rot90_s32): Likewise.
23297 (__arm_vcaddq_rot270_s32): Likewise.
23298 (__arm_vbrsrq_n_s32): Likewise.
23299 (__arm_vbicq_s32): Likewise.
23300 (__arm_vandq_s32): Likewise.
23301 (__arm_vaddvaq_s32): Likewise.
23302 (__arm_vaddq_n_s32): Likewise.
23303 (__arm_vabdq_s32): Likewise.
23304 (__arm_vshlq_n_s32): Likewise.
23305 (__arm_vrshrq_n_s32): Likewise.
23306 (__arm_vqshlq_n_s32): Likewise.
23307 (vsubq): Define polymorphic variant.
23308 (vsubq_n): Likewise.
23309 (vshlq_r): Likewise.
23310 (vrshlq_n): Likewise.
23311 (vrshlq): Likewise.
23312 (vrmulhq): Likewise.
23313 (vrhaddq): Likewise.
23314 (vqsubq_n): Likewise.
23315 (vqsubq): Likewise.
23316 (vqshlq): Likewise.
23317 (vqshlq_r): Likewise.
23318 (vqshluq): Likewise.
23319 (vrshrq_n): Likewise.
23320 (vshlq_n): Likewise.
23321 (vqshluq_n): Likewise.
23322 (vqshlq_n): Likewise.
23323 (vqrshlq_n): Likewise.
23324 (vqrshlq): Likewise.
23325 (vqrdmulhq_n): Likewise.
23326 (vqrdmulhq): Likewise.
23327 (vqdmulhq_n): Likewise.
23328 (vqdmulhq): Likewise.
23329 (vqaddq_n): Likewise.
23330 (vqaddq): Likewise.
23331 (vorrq_n): Likewise.
23334 (vmulq_n): Likewise.
23336 (vmulltq_int): Likewise.
23337 (vmullbq_int): Likewise.
23338 (vmulhq): Likewise.
23340 (vminaq): Likewise.
23342 (vmaxaq): Likewise.
23343 (vhsubq_n): Likewise.
23344 (vhsubq): Likewise.
23345 (vhcaddq_rot90): Likewise.
23346 (vhcaddq_rot270): Likewise.
23347 (vhaddq_n): Likewise.
23348 (vhaddq): Likewise.
23350 (vcaddq_rot90): Likewise.
23351 (vcaddq_rot270): Likewise.
23352 (vbrsrq_n): Likewise.
23353 (vbicq_n): Likewise.
23356 (vaddq_n): Likewise.
23359 * config/arm/arm_mve_builtins.def (BINOP_NONE_NONE_IMM): Use it.
23360 (BINOP_NONE_NONE_NONE): Likewise.
23361 (BINOP_NONE_NONE_UNONE): Likewise.
23362 (BINOP_UNONE_NONE_IMM): Likewise.
23363 (BINOP_UNONE_NONE_NONE): Likewise.
23364 (BINOP_UNONE_UNONE_IMM): Likewise.
23365 (BINOP_UNONE_UNONE_NONE): Likewise.
23366 (BINOP_UNONE_UNONE_UNONE): Likewise.
23367 * config/arm/constraints.md (Ra): Define constraint to check constant is
23368 in the range of 0 to 7.
23369 (Rg): Define constriant to check the constant is one among 1, 2, 4
23371 * config/arm/mve.md (mve_vabdq_<supf>): Define RTL pattern.
23372 (mve_vaddq_n_<supf>): Likewise.
23373 (mve_vaddvaq_<supf>): Likewise.
23374 (mve_vaddvq_p_<supf>): Likewise.
23375 (mve_vandq_<supf>): Likewise.
23376 (mve_vbicq_<supf>): Likewise.
23377 (mve_vbrsrq_n_<supf>): Likewise.
23378 (mve_vcaddq_rot270_<supf>): Likewise.
23379 (mve_vcaddq_rot90_<supf>): Likewise.
23380 (mve_vcmpcsq_n_u): Likewise.
23381 (mve_vcmpcsq_u): Likewise.
23382 (mve_vcmpeqq_n_<supf>): Likewise.
23383 (mve_vcmpeqq_<supf>): Likewise.
23384 (mve_vcmpgeq_n_s): Likewise.
23385 (mve_vcmpgeq_s): Likewise.
23386 (mve_vcmpgtq_n_s): Likewise.
23387 (mve_vcmpgtq_s): Likewise.
23388 (mve_vcmphiq_n_u): Likewise.
23389 (mve_vcmphiq_u): Likewise.
23390 (mve_vcmpleq_n_s): Likewise.
23391 (mve_vcmpleq_s): Likewise.
23392 (mve_vcmpltq_n_s): Likewise.
23393 (mve_vcmpltq_s): Likewise.
23394 (mve_vcmpneq_n_<supf>): Likewise.
23395 (mve_vddupq_n_u): Likewise.
23396 (mve_veorq_<supf>): Likewise.
23397 (mve_vhaddq_n_<supf>): Likewise.
23398 (mve_vhaddq_<supf>): Likewise.
23399 (mve_vhcaddq_rot270_s): Likewise.
23400 (mve_vhcaddq_rot90_s): Likewise.
23401 (mve_vhsubq_n_<supf>): Likewise.
23402 (mve_vhsubq_<supf>): Likewise.
23403 (mve_vidupq_n_u): Likewise.
23404 (mve_vmaxaq_s): Likewise.
23405 (mve_vmaxavq_s): Likewise.
23406 (mve_vmaxq_<supf>): Likewise.
23407 (mve_vmaxvq_<supf>): Likewise.
23408 (mve_vminaq_s): Likewise.
23409 (mve_vminavq_s): Likewise.
23410 (mve_vminq_<supf>): Likewise.
23411 (mve_vminvq_<supf>): Likewise.
23412 (mve_vmladavq_<supf>): Likewise.
23413 (mve_vmladavxq_s): Likewise.
23414 (mve_vmlsdavq_s): Likewise.
23415 (mve_vmlsdavxq_s): Likewise.
23416 (mve_vmulhq_<supf>): Likewise.
23417 (mve_vmullbq_int_<supf>): Likewise.
23418 (mve_vmulltq_int_<supf>): Likewise.
23419 (mve_vmulq_n_<supf>): Likewise.
23420 (mve_vmulq_<supf>): Likewise.
23421 (mve_vornq_<supf>): Likewise.
23422 (mve_vorrq_<supf>): Likewise.
23423 (mve_vqaddq_n_<supf>): Likewise.
23424 (mve_vqaddq_<supf>): Likewise.
23425 (mve_vqdmulhq_n_s): Likewise.
23426 (mve_vqdmulhq_s): Likewise.
23427 (mve_vqrdmulhq_n_s): Likewise.
23428 (mve_vqrdmulhq_s): Likewise.
23429 (mve_vqrshlq_n_<supf>): Likewise.
23430 (mve_vqrshlq_<supf>): Likewise.
23431 (mve_vqshlq_n_<supf>): Likewise.
23432 (mve_vqshlq_r_<supf>): Likewise.
23433 (mve_vqshlq_<supf>): Likewise.
23434 (mve_vqshluq_n_s): Likewise.
23435 (mve_vqsubq_n_<supf>): Likewise.
23436 (mve_vqsubq_<supf>): Likewise.
23437 (mve_vrhaddq_<supf>): Likewise.
23438 (mve_vrmulhq_<supf>): Likewise.
23439 (mve_vrshlq_n_<supf>): Likewise.
23440 (mve_vrshlq_<supf>): Likewise.
23441 (mve_vrshrq_n_<supf>): Likewise.
23442 (mve_vshlq_n_<supf>): Likewise.
23443 (mve_vshlq_r_<supf>): Likewise.
23444 (mve_vsubq_n_<supf>): Likewise.
23445 (mve_vsubq_<supf>): Likewise.
23446 * config/arm/predicates.md (mve_imm_7): Define predicate to check
23447 the matching constraint Ra.
23448 (mve_imm_selective_upto_8): Define predicate to check the matching
23451 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
23452 Mihail Ionescu <mihail.ionescu@arm.com>
23453 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
23455 * config/arm/arm-builtins.c (BINOP_NONE_NONE_UNONE_QUALIFIERS): Define
23456 qualifier for binary operands.
23457 (BINOP_UNONE_NONE_NONE_QUALIFIERS): Likewise.
23458 (BINOP_UNONE_UNONE_NONE_QUALIFIERS): Likewise.
23459 * config/arm/arm_mve.h (vaddlvq_p_s32): Define macro.
23460 (vaddlvq_p_u32): Likewise.
23461 (vcmpneq_s8): Likewise.
23462 (vcmpneq_s16): Likewise.
23463 (vcmpneq_s32): Likewise.
23464 (vcmpneq_u8): Likewise.
23465 (vcmpneq_u16): Likewise.
23466 (vcmpneq_u32): Likewise.
23467 (vshlq_s8): Likewise.
23468 (vshlq_s16): Likewise.
23469 (vshlq_s32): Likewise.
23470 (vshlq_u8): Likewise.
23471 (vshlq_u16): Likewise.
23472 (vshlq_u32): Likewise.
23473 (__arm_vaddlvq_p_s32): Define intrinsic.
23474 (__arm_vaddlvq_p_u32): Likewise.
23475 (__arm_vcmpneq_s8): Likewise.
23476 (__arm_vcmpneq_s16): Likewise.
23477 (__arm_vcmpneq_s32): Likewise.
23478 (__arm_vcmpneq_u8): Likewise.
23479 (__arm_vcmpneq_u16): Likewise.
23480 (__arm_vcmpneq_u32): Likewise.
23481 (__arm_vshlq_s8): Likewise.
23482 (__arm_vshlq_s16): Likewise.
23483 (__arm_vshlq_s32): Likewise.
23484 (__arm_vshlq_u8): Likewise.
23485 (__arm_vshlq_u16): Likewise.
23486 (__arm_vshlq_u32): Likewise.
23487 (vaddlvq_p): Define polymorphic variant.
23488 (vcmpneq): Likewise.
23490 * config/arm/arm_mve_builtins.def (BINOP_NONE_NONE_UNONE_QUALIFIERS):
23492 (BINOP_UNONE_NONE_NONE_QUALIFIERS): Likewise.
23493 (BINOP_UNONE_UNONE_NONE_QUALIFIERS): Likewise.
23494 * config/arm/mve.md (mve_vaddlvq_p_<supf>v4si): Define RTL pattern.
23495 (mve_vcmpneq_<supf><mode>): Likewise.
23496 (mve_vshlq_<supf><mode>): Likewise.
23498 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
23499 Mihail Ionescu <mihail.ionescu@arm.com>
23500 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
23502 * config/arm/arm-builtins.c (BINOP_UNONE_UNONE_IMM_QUALIFIERS): Define
23503 qualifier for binary operands.
23504 (BINOP_UNONE_UNONE_UNONE_QUALIFIERS): Likewise.
23505 (BINOP_UNONE_NONE_IMM_QUALIFIERS): Likewise.
23506 * config/arm/arm_mve.h (vcvtq_n_s16_f16): Define macro.
23507 (vcvtq_n_s32_f32): Likewise.
23508 (vcvtq_n_u16_f16): Likewise.
23509 (vcvtq_n_u32_f32): Likewise.
23510 (vcreateq_u8): Likewise.
23511 (vcreateq_u16): Likewise.
23512 (vcreateq_u32): Likewise.
23513 (vcreateq_u64): Likewise.
23514 (vcreateq_s8): Likewise.
23515 (vcreateq_s16): Likewise.
23516 (vcreateq_s32): Likewise.
23517 (vcreateq_s64): Likewise.
23518 (vshrq_n_s8): Likewise.
23519 (vshrq_n_s16): Likewise.
23520 (vshrq_n_s32): Likewise.
23521 (vshrq_n_u8): Likewise.
23522 (vshrq_n_u16): Likewise.
23523 (vshrq_n_u32): Likewise.
23524 (__arm_vcreateq_u8): Define intrinsic.
23525 (__arm_vcreateq_u16): Likewise.
23526 (__arm_vcreateq_u32): Likewise.
23527 (__arm_vcreateq_u64): Likewise.
23528 (__arm_vcreateq_s8): Likewise.
23529 (__arm_vcreateq_s16): Likewise.
23530 (__arm_vcreateq_s32): Likewise.
23531 (__arm_vcreateq_s64): Likewise.
23532 (__arm_vshrq_n_s8): Likewise.
23533 (__arm_vshrq_n_s16): Likewise.
23534 (__arm_vshrq_n_s32): Likewise.
23535 (__arm_vshrq_n_u8): Likewise.
23536 (__arm_vshrq_n_u16): Likewise.
23537 (__arm_vshrq_n_u32): Likewise.
23538 (__arm_vcvtq_n_s16_f16): Likewise.
23539 (__arm_vcvtq_n_s32_f32): Likewise.
23540 (__arm_vcvtq_n_u16_f16): Likewise.
23541 (__arm_vcvtq_n_u32_f32): Likewise.
23542 (vshrq_n): Define polymorphic variant.
23543 * config/arm/arm_mve_builtins.def (BINOP_UNONE_UNONE_IMM_QUALIFIERS):
23545 (BINOP_UNONE_UNONE_UNONE_QUALIFIERS): Likewise.
23546 (BINOP_UNONE_NONE_IMM_QUALIFIERS): Likewise.
23547 * config/arm/constraints.md (Rb): Define constraint to check constant is
23548 in the range of 1 to 8.
23549 (Rf): Define constraint to check constant is in the range of 1 to 32.
23550 * config/arm/mve.md (mve_vcreateq_<supf><mode>): Define RTL pattern.
23551 (mve_vshrq_n_<supf><mode>): Likewise.
23552 (mve_vcvtq_n_from_f_<supf><mode>): Likewise.
23553 * config/arm/predicates.md (mve_imm_8): Define predicate to check
23554 the matching constraint Rb.
23555 (mve_imm_32): Define predicate to check the matching constraint Rf.
23557 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
23558 Mihail Ionescu <mihail.ionescu@arm.com>
23559 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
23561 * config/arm/arm-builtins.c (BINOP_NONE_NONE_NONE_QUALIFIERS): Define
23562 qualifier for binary operands.
23563 (BINOP_NONE_NONE_IMM_QUALIFIERS): Likewise.
23564 (BINOP_NONE_UNONE_IMM_QUALIFIERS): Likewise.
23565 (BINOP_NONE_UNONE_UNONE_QUALIFIERS): Likewise.
23566 * config/arm/arm_mve.h (vsubq_n_f16): Define macro.
23567 (vsubq_n_f32): Likewise.
23568 (vbrsrq_n_f16): Likewise.
23569 (vbrsrq_n_f32): Likewise.
23570 (vcvtq_n_f16_s16): Likewise.
23571 (vcvtq_n_f32_s32): Likewise.
23572 (vcvtq_n_f16_u16): Likewise.
23573 (vcvtq_n_f32_u32): Likewise.
23574 (vcreateq_f16): Likewise.
23575 (vcreateq_f32): Likewise.
23576 (__arm_vsubq_n_f16): Define intrinsic.
23577 (__arm_vsubq_n_f32): Likewise.
23578 (__arm_vbrsrq_n_f16): Likewise.
23579 (__arm_vbrsrq_n_f32): Likewise.
23580 (__arm_vcvtq_n_f16_s16): Likewise.
23581 (__arm_vcvtq_n_f32_s32): Likewise.
23582 (__arm_vcvtq_n_f16_u16): Likewise.
23583 (__arm_vcvtq_n_f32_u32): Likewise.
23584 (__arm_vcreateq_f16): Likewise.
23585 (__arm_vcreateq_f32): Likewise.
23586 (vsubq): Define polymorphic variant.
23587 (vbrsrq): Likewise.
23588 (vcvtq_n): Likewise.
23589 * config/arm/arm_mve_builtins.def (BINOP_NONE_NONE_NONE_QUALIFIERS): Use
23591 (BINOP_NONE_NONE_IMM_QUALIFIERS): Likewise.
23592 (BINOP_NONE_UNONE_IMM_QUALIFIERS): Likewise.
23593 (BINOP_NONE_UNONE_UNONE_QUALIFIERS): Likewise.
23594 * config/arm/constraints.md (Rd): Define constraint to check constant is
23595 in the range of 1 to 16.
23596 * config/arm/mve.md (mve_vsubq_n_f<mode>): Define RTL pattern.
23597 mve_vbrsrq_n_f<mode>: Likewise.
23598 mve_vcvtq_n_to_f_<supf><mode>: Likewise.
23599 mve_vcreateq_f<mode>: Likewise.
23600 * config/arm/predicates.md (mve_imm_16): Define predicate to check
23601 the matching constraint Rd.
23603 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
23604 Mihail Ionescu <mihail.ionescu@arm.com>
23605 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
23607 * config/arm/arm-builtins.c (hi_UP): Define mode.
23608 * config/arm/arm.h (IS_VPR_REGNUM): Move.
23609 * config/arm/arm.md (VPR_REGNUM): Define before APSRQ_REGNUM.
23610 (APSRQ_REGNUM): Modify.
23611 (APSRGE_REGNUM): Modify.
23612 * config/arm/arm_mve.h (vctp16q): Define macro.
23613 (vctp32q): Likewise.
23614 (vctp64q): Likewise.
23615 (vctp8q): Likewise.
23617 (__arm_vctp16q): Define intrinsic.
23618 (__arm_vctp32q): Likewise.
23619 (__arm_vctp64q): Likewise.
23620 (__arm_vctp8q): Likewise.
23621 (__arm_vpnot): Likewise.
23622 * config/arm/arm_mve_builtins.def (UNOP_UNONE_UNONE): Use builtin
23624 * config/arm/mve.md (mve_vctp<mode1>qhi): Define RTL pattern.
23625 (mve_vpnothi): Likewise.
23627 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
23628 Mihail Ionescu <mihail.ionescu@arm.com>
23629 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
23631 * config/arm/arm.h (enum reg_class): Define new class EVEN_REGS.
23632 * config/arm/arm_mve.h (vdupq_n_s8): Define macro.
23633 (vdupq_n_s16): Likewise.
23634 (vdupq_n_s32): Likewise.
23635 (vabsq_s8): Likewise.
23636 (vabsq_s16): Likewise.
23637 (vabsq_s32): Likewise.
23638 (vclsq_s8): Likewise.
23639 (vclsq_s16): Likewise.
23640 (vclsq_s32): Likewise.
23641 (vclzq_s8): Likewise.
23642 (vclzq_s16): Likewise.
23643 (vclzq_s32): Likewise.
23644 (vnegq_s8): Likewise.
23645 (vnegq_s16): Likewise.
23646 (vnegq_s32): Likewise.
23647 (vaddlvq_s32): Likewise.
23648 (vaddvq_s8): Likewise.
23649 (vaddvq_s16): Likewise.
23650 (vaddvq_s32): Likewise.
23651 (vmovlbq_s8): Likewise.
23652 (vmovlbq_s16): Likewise.
23653 (vmovltq_s8): Likewise.
23654 (vmovltq_s16): Likewise.
23655 (vmvnq_s8): Likewise.
23656 (vmvnq_s16): Likewise.
23657 (vmvnq_s32): Likewise.
23658 (vrev16q_s8): Likewise.
23659 (vrev32q_s8): Likewise.
23660 (vrev32q_s16): Likewise.
23661 (vqabsq_s8): Likewise.
23662 (vqabsq_s16): Likewise.
23663 (vqabsq_s32): Likewise.
23664 (vqnegq_s8): Likewise.
23665 (vqnegq_s16): Likewise.
23666 (vqnegq_s32): Likewise.
23667 (vcvtaq_s16_f16): Likewise.
23668 (vcvtaq_s32_f32): Likewise.
23669 (vcvtnq_s16_f16): Likewise.
23670 (vcvtnq_s32_f32): Likewise.
23671 (vcvtpq_s16_f16): Likewise.
23672 (vcvtpq_s32_f32): Likewise.
23673 (vcvtmq_s16_f16): Likewise.
23674 (vcvtmq_s32_f32): Likewise.
23675 (vmvnq_u8): Likewise.
23676 (vmvnq_u16): Likewise.
23677 (vmvnq_u32): Likewise.
23678 (vdupq_n_u8): Likewise.
23679 (vdupq_n_u16): Likewise.
23680 (vdupq_n_u32): Likewise.
23681 (vclzq_u8): Likewise.
23682 (vclzq_u16): Likewise.
23683 (vclzq_u32): Likewise.
23684 (vaddvq_u8): Likewise.
23685 (vaddvq_u16): Likewise.
23686 (vaddvq_u32): Likewise.
23687 (vrev32q_u8): Likewise.
23688 (vrev32q_u16): Likewise.
23689 (vmovltq_u8): Likewise.
23690 (vmovltq_u16): Likewise.
23691 (vmovlbq_u8): Likewise.
23692 (vmovlbq_u16): Likewise.
23693 (vrev16q_u8): Likewise.
23694 (vaddlvq_u32): Likewise.
23695 (vcvtpq_u16_f16): Likewise.
23696 (vcvtpq_u32_f32): Likewise.
23697 (vcvtnq_u16_f16): Likewise.
23698 (vcvtmq_u16_f16): Likewise.
23699 (vcvtmq_u32_f32): Likewise.
23700 (vcvtaq_u16_f16): Likewise.
23701 (vcvtaq_u32_f32): Likewise.
23702 (__arm_vdupq_n_s8): Define intrinsic.
23703 (__arm_vdupq_n_s16): Likewise.
23704 (__arm_vdupq_n_s32): Likewise.
23705 (__arm_vabsq_s8): Likewise.
23706 (__arm_vabsq_s16): Likewise.
23707 (__arm_vabsq_s32): Likewise.
23708 (__arm_vclsq_s8): Likewise.
23709 (__arm_vclsq_s16): Likewise.
23710 (__arm_vclsq_s32): Likewise.
23711 (__arm_vclzq_s8): Likewise.
23712 (__arm_vclzq_s16): Likewise.
23713 (__arm_vclzq_s32): Likewise.
23714 (__arm_vnegq_s8): Likewise.
23715 (__arm_vnegq_s16): Likewise.
23716 (__arm_vnegq_s32): Likewise.
23717 (__arm_vaddlvq_s32): Likewise.
23718 (__arm_vaddvq_s8): Likewise.
23719 (__arm_vaddvq_s16): Likewise.
23720 (__arm_vaddvq_s32): Likewise.
23721 (__arm_vmovlbq_s8): Likewise.
23722 (__arm_vmovlbq_s16): Likewise.
23723 (__arm_vmovltq_s8): Likewise.
23724 (__arm_vmovltq_s16): Likewise.
23725 (__arm_vmvnq_s8): Likewise.
23726 (__arm_vmvnq_s16): Likewise.
23727 (__arm_vmvnq_s32): Likewise.
23728 (__arm_vrev16q_s8): Likewise.
23729 (__arm_vrev32q_s8): Likewise.
23730 (__arm_vrev32q_s16): Likewise.
23731 (__arm_vqabsq_s8): Likewise.
23732 (__arm_vqabsq_s16): Likewise.
23733 (__arm_vqabsq_s32): Likewise.
23734 (__arm_vqnegq_s8): Likewise.
23735 (__arm_vqnegq_s16): Likewise.
23736 (__arm_vqnegq_s32): Likewise.
23737 (__arm_vmvnq_u8): Likewise.
23738 (__arm_vmvnq_u16): Likewise.
23739 (__arm_vmvnq_u32): Likewise.
23740 (__arm_vdupq_n_u8): Likewise.
23741 (__arm_vdupq_n_u16): Likewise.
23742 (__arm_vdupq_n_u32): Likewise.
23743 (__arm_vclzq_u8): Likewise.
23744 (__arm_vclzq_u16): Likewise.
23745 (__arm_vclzq_u32): Likewise.
23746 (__arm_vaddvq_u8): Likewise.
23747 (__arm_vaddvq_u16): Likewise.
23748 (__arm_vaddvq_u32): Likewise.
23749 (__arm_vrev32q_u8): Likewise.
23750 (__arm_vrev32q_u16): Likewise.
23751 (__arm_vmovltq_u8): Likewise.
23752 (__arm_vmovltq_u16): Likewise.
23753 (__arm_vmovlbq_u8): Likewise.
23754 (__arm_vmovlbq_u16): Likewise.
23755 (__arm_vrev16q_u8): Likewise.
23756 (__arm_vaddlvq_u32): Likewise.
23757 (__arm_vcvtpq_u16_f16): Likewise.
23758 (__arm_vcvtpq_u32_f32): Likewise.
23759 (__arm_vcvtnq_u16_f16): Likewise.
23760 (__arm_vcvtmq_u16_f16): Likewise.
23761 (__arm_vcvtmq_u32_f32): Likewise.
23762 (__arm_vcvtaq_u16_f16): Likewise.
23763 (__arm_vcvtaq_u32_f32): Likewise.
23764 (__arm_vcvtaq_s16_f16): Likewise.
23765 (__arm_vcvtaq_s32_f32): Likewise.
23766 (__arm_vcvtnq_s16_f16): Likewise.
23767 (__arm_vcvtnq_s32_f32): Likewise.
23768 (__arm_vcvtpq_s16_f16): Likewise.
23769 (__arm_vcvtpq_s32_f32): Likewise.
23770 (__arm_vcvtmq_s16_f16): Likewise.
23771 (__arm_vcvtmq_s32_f32): Likewise.
23772 (vdupq_n): Define polymorphic variant.
23777 (vaddlvq): Likewise.
23778 (vaddvq): Likewise.
23779 (vmovlbq): Likewise.
23780 (vmovltq): Likewise.
23782 (vrev16q): Likewise.
23783 (vrev32q): Likewise.
23784 (vqabsq): Likewise.
23785 (vqnegq): Likewise.
23786 * config/arm/arm_mve_builtins.def (UNOP_SNONE_SNONE): Use it.
23787 (UNOP_SNONE_NONE): Likewise.
23788 (UNOP_UNONE_UNONE): Likewise.
23789 (UNOP_UNONE_NONE): Likewise.
23790 * config/arm/constraints.md (e): Define new constriant to allow only
23792 * config/arm/mve.md (mve_vqabsq_s<mode>): Define RTL pattern.
23793 (mve_vnegq_s<mode>): Likewise.
23794 (mve_vmvnq_<supf><mode>): Likewise.
23795 (mve_vdupq_n_<supf><mode>): Likewise.
23796 (mve_vclzq_<supf><mode>): Likewise.
23797 (mve_vclsq_s<mode>): Likewise.
23798 (mve_vaddvq_<supf><mode>): Likewise.
23799 (mve_vabsq_s<mode>): Likewise.
23800 (mve_vrev32q_<supf><mode>): Likewise.
23801 (mve_vmovltq_<supf><mode>): Likewise.
23802 (mve_vmovlbq_<supf><mode>): Likewise.
23803 (mve_vcvtpq_<supf><mode>): Likewise.
23804 (mve_vcvtnq_<supf><mode>): Likewise.
23805 (mve_vcvtmq_<supf><mode>): Likewise.
23806 (mve_vcvtaq_<supf><mode>): Likewise.
23807 (mve_vrev16q_<supf>v16qi): Likewise.
23808 (mve_vaddlvq_<supf>v4si): Likewise.
23810 2020-03-17 Jakub Jelinek <jakub@redhat.com>
23812 * lra-spills.c (remove_pseudos): Fix up duplicated word issue in
23814 * tree-sra.c (create_access_replacement): Fix up duplicated word issue
23816 * read-rtl-function.c (find_param_by_name,
23817 function_reader::parse_enum_value, function_reader::get_insn_by_uid):
23819 * spellcheck.c (get_edit_distance_cutoff): Likewise.
23820 * tree-data-ref.c (create_ifn_alias_checks): Likewise.
23821 * tree.def (SWITCH_EXPR): Likewise.
23822 * selftest.c (assert_str_contains): Likewise.
23823 * ipa-param-manipulation.h (class ipa_param_body_adjustments):
23825 * tree-ssa-math-opts.c (convert_expand_mult_copysign): Likewise.
23826 * tree-ssa-loop-split.c (find_vdef_in_loop): Likewise.
23827 * langhooks.h (struct lang_hooks_for_decls): Likewise.
23828 * ipa-prop.h (struct ipa_param_descriptor): Likewise.
23829 * tree-ssa-strlen.c (handle_builtin_string_cmp, handle_store):
23831 * tree-ssa-dom.c (simplify_stmt_for_jump_threading): Likewise.
23832 * tree-ssa-reassoc.c (reassociate_bb): Likewise.
23833 * tree.c (component_ref_size): Likewise.
23834 * hsa-common.c (hsa_init_compilation_unit_data): Likewise.
23835 * gimple-ssa-sprintf.c (get_string_length, format_string,
23836 format_directive): Likewise.
23837 * omp-grid.c (grid_process_kernel_body_copy): Likewise.
23838 * input.c (string_concat_db::get_string_concatenation,
23839 test_lexer_string_locations_ucn4): Likewise.
23840 * cfgexpand.c (pass_expand::execute): Likewise.
23841 * gimple-ssa-warn-restrict.c (builtin_memref::offset_out_of_bounds,
23842 maybe_diag_overlap): Likewise.
23843 * rtl.c (RTX_CODE_HWINT_P_1): Likewise.
23844 * shrink-wrap.c (spread_components): Likewise.
23845 * tree-ssa-dse.c (initialize_ao_ref_for_dse, valid_ao_ref_for_dse):
23847 * tree-call-cdce.c (shrink_wrap_one_built_in_call_with_conds):
23849 * dwarf2out.c (dwarf2out_early_finish): Likewise.
23850 * gimple-ssa-store-merging.c: Likewise.
23851 * ira-costs.c (record_operand_costs): Likewise.
23852 * tree-vect-loop.c (vectorizable_reduction): Likewise.
23853 * target.def (dispatch): Likewise.
23854 (validate_dims, gen_ccmp_first): Fix up duplicated word issue
23855 in documentation text.
23856 * doc/tm.texi: Regenerated.
23857 * config/i386/x86-tune.def (X86_TUNE_PARTIAL_FLAG_REG_STALL): Fix up
23858 duplicated word issue in a comment.
23859 * config/i386/i386.c (ix86_test_loading_unspec): Likewise.
23860 * config/i386/i386-features.c (remove_partial_avx_dependency):
23862 * config/msp430/msp430.c (msp430_select_section): Likewise.
23863 * config/gcn/gcn-run.c (load_image): Likewise.
23864 * config/aarch64/aarch64-sve.md (sve_ld1r<mode>): Likewise.
23865 * config/aarch64/aarch64.c (aarch64_gen_adjusted_ldpstp): Likewise.
23866 * config/aarch64/falkor-tag-collision-avoidance.c
23867 (single_dest_per_chain): Likewise.
23868 * config/nvptx/nvptx.c (nvptx_record_fndecl): Likewise.
23869 * config/fr30/fr30.c (fr30_arg_partial_bytes): Likewise.
23870 * config/rs6000/rs6000-string.c (expand_cmp_vec_sequence): Likewise.
23871 * config/rs6000/rs6000-p8swap.c (replace_swapped_load_constant):
23873 * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Likewise.
23874 * config/rs6000/rs6000.c (rs6000_option_override_internal): Likewise.
23875 * config/rs6000/rs6000-logue.c
23876 (rs6000_emit_probe_stack_range_stack_clash): Likewise.
23877 * config/nds32/nds32-md-auxiliary.c (nds32_split_ashiftdi3): Likewise.
23878 Fix various other issues in the comment.
23880 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
23882 * config/arm/t-rmprofile: create new multilib for
23883 armv8.1-m.main+mve hard float and reuse v8-m.main ones for
23886 2020-03-17 Jakub Jelinek <jakub@redhat.com>
23888 PR tree-optimization/94015
23889 * tree-ssa-strlen.c (count_nonzero_bytes): Split portions of the
23890 function where EXP is address of the bytes being stored rather than
23891 the bytes themselves into count_nonzero_bytes_addr. Punt on zero
23892 sized MEM_REF. Use VAR_P macro and handle CONST_DECL like VAR_DECLs.
23893 Use ctor_for_folding instead of looking at DECL_INITIAL. Punt before
23894 calling native_encode_expr if host or target doesn't have 8-bit
23895 chars. Formatting fixes.
23896 (count_nonzero_bytes_addr): New function.
23898 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
23899 Mihail Ionescu <mihail.ionescu@arm.com>
23900 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
23902 * config/arm/arm-builtins.c (UNOP_SNONE_SNONE_QUALIFIERS): Define.
23903 (UNOP_SNONE_NONE_QUALIFIERS): Likewise.
23904 (UNOP_SNONE_IMM_QUALIFIERS): Likewise.
23905 (UNOP_UNONE_NONE_QUALIFIERS): Likewise.
23906 (UNOP_UNONE_UNONE_QUALIFIERS): Likewise.
23907 (UNOP_UNONE_IMM_QUALIFIERS): Likewise.
23908 * config/arm/arm_mve.h (vmvnq_n_s16): Define macro.
23909 (vmvnq_n_s32): Likewise.
23910 (vrev64q_s8): Likewise.
23911 (vrev64q_s16): Likewise.
23912 (vrev64q_s32): Likewise.
23913 (vcvtq_s16_f16): Likewise.
23914 (vcvtq_s32_f32): Likewise.
23915 (vrev64q_u8): Likewise.
23916 (vrev64q_u16): Likewise.
23917 (vrev64q_u32): Likewise.
23918 (vmvnq_n_u16): Likewise.
23919 (vmvnq_n_u32): Likewise.
23920 (vcvtq_u16_f16): Likewise.
23921 (vcvtq_u32_f32): Likewise.
23922 (__arm_vmvnq_n_s16): Define intrinsic.
23923 (__arm_vmvnq_n_s32): Likewise.
23924 (__arm_vrev64q_s8): Likewise.
23925 (__arm_vrev64q_s16): Likewise.
23926 (__arm_vrev64q_s32): Likewise.
23927 (__arm_vrev64q_u8): Likewise.
23928 (__arm_vrev64q_u16): Likewise.
23929 (__arm_vrev64q_u32): Likewise.
23930 (__arm_vmvnq_n_u16): Likewise.
23931 (__arm_vmvnq_n_u32): Likewise.
23932 (__arm_vcvtq_s16_f16): Likewise.
23933 (__arm_vcvtq_s32_f32): Likewise.
23934 (__arm_vcvtq_u16_f16): Likewise.
23935 (__arm_vcvtq_u32_f32): Likewise.
23936 (vrev64q): Define polymorphic variant.
23937 * config/arm/arm_mve_builtins.def (UNOP_SNONE_SNONE): Use it.
23938 (UNOP_SNONE_NONE): Likewise.
23939 (UNOP_SNONE_IMM): Likewise.
23940 (UNOP_UNONE_UNONE): Likewise.
23941 (UNOP_UNONE_NONE): Likewise.
23942 (UNOP_UNONE_IMM): Likewise.
23943 * config/arm/mve.md (mve_vrev64q_<supf><mode>): Define RTL pattern.
23944 (mve_vcvtq_from_f_<supf><mode>): Likewise.
23945 (mve_vmvnq_n_<supf><mode>): Likewise.
23947 2020-03-17 Andre Vieira <andre.simoesdiasvieira@arm.com>
23948 Mihail Ionescu <mihail.ionescu@arm.com>
23949 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
23951 * config/arm/arm-builtins.c (UNOP_NONE_NONE_QUALIFIERS): Define macro.
23952 (UNOP_NONE_SNONE_QUALIFIERS): Likewise.
23953 (UNOP_NONE_UNONE_QUALIFIERS): Likewise.
23954 * config/arm/arm_mve.h (vrndxq_f16): Define macro.
23955 (vrndxq_f32): Likewise.
23956 (vrndq_f16) Likewise.
23957 (vrndq_f32): Likewise.
23958 (vrndpq_f16): Likewise.
23959 (vrndpq_f32): Likewise.
23960 (vrndnq_f16): Likewise.
23961 (vrndnq_f32): Likewise.
23962 (vrndmq_f16): Likewise.
23963 (vrndmq_f32): Likewise.
23964 (vrndaq_f16): Likewise.
23965 (vrndaq_f32): Likewise.
23966 (vrev64q_f16): Likewise.
23967 (vrev64q_f32): Likewise.
23968 (vnegq_f16): Likewise.
23969 (vnegq_f32): Likewise.
23970 (vdupq_n_f16): Likewise.
23971 (vdupq_n_f32): Likewise.
23972 (vabsq_f16): Likewise.
23973 (vabsq_f32): Likewise.
23974 (vrev32q_f16): Likewise.
23975 (vcvttq_f32_f16): Likewise.
23976 (vcvtbq_f32_f16): Likewise.
23977 (vcvtq_f16_s16): Likewise.
23978 (vcvtq_f32_s32): Likewise.
23979 (vcvtq_f16_u16): Likewise.
23980 (vcvtq_f32_u32): Likewise.
23981 (__arm_vrndxq_f16): Define intrinsic.
23982 (__arm_vrndxq_f32): Likewise.
23983 (__arm_vrndq_f16): Likewise.
23984 (__arm_vrndq_f32): Likewise.
23985 (__arm_vrndpq_f16): Likewise.
23986 (__arm_vrndpq_f32): Likewise.
23987 (__arm_vrndnq_f16): Likewise.
23988 (__arm_vrndnq_f32): Likewise.
23989 (__arm_vrndmq_f16): Likewise.
23990 (__arm_vrndmq_f32): Likewise.
23991 (__arm_vrndaq_f16): Likewise.
23992 (__arm_vrndaq_f32): Likewise.
23993 (__arm_vrev64q_f16): Likewise.
23994 (__arm_vrev64q_f32): Likewise.
23995 (__arm_vnegq_f16): Likewise.
23996 (__arm_vnegq_f32): Likewise.
23997 (__arm_vdupq_n_f16): Likewise.
23998 (__arm_vdupq_n_f32): Likewise.
23999 (__arm_vabsq_f16): Likewise.
24000 (__arm_vabsq_f32): Likewise.
24001 (__arm_vrev32q_f16): Likewise.
24002 (__arm_vcvttq_f32_f16): Likewise.
24003 (__arm_vcvtbq_f32_f16): Likewise.
24004 (__arm_vcvtq_f16_s16): Likewise.
24005 (__arm_vcvtq_f32_s32): Likewise.
24006 (__arm_vcvtq_f16_u16): Likewise.
24007 (__arm_vcvtq_f32_u32): Likewise.
24008 (vrndxq): Define polymorphic variants.
24010 (vrndpq): Likewise.
24011 (vrndnq): Likewise.
24012 (vrndmq): Likewise.
24013 (vrndaq): Likewise.
24014 (vrev64q): Likewise.
24017 (vrev32q): Likewise.
24018 (vcvtbq_f32): Likewise.
24019 (vcvttq_f32): Likewise.
24021 * config/arm/arm_mve_builtins.def (VAR2): Define.
24023 * config/arm/mve.md (mve_vrndxq_f<mode>): Add RTL pattern.
24024 (mve_vrndq_f<mode>): Likewise.
24025 (mve_vrndpq_f<mode>): Likewise.
24026 (mve_vrndnq_f<mode>): Likewise.
24027 (mve_vrndmq_f<mode>): Likewise.
24028 (mve_vrndaq_f<mode>): Likewise.
24029 (mve_vrev64q_f<mode>): Likewise.
24030 (mve_vnegq_f<mode>): Likewise.
24031 (mve_vdupq_n_f<mode>): Likewise.
24032 (mve_vabsq_f<mode>): Likewise.
24033 (mve_vrev32q_fv8hf): Likewise.
24034 (mve_vcvttq_f32_f16v4sf): Likewise.
24035 (mve_vcvtbq_f32_f16v4sf): Likewise.
24036 (mve_vcvtq_to_f_<supf><mode>): Likewise.
24038 2020-03-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
24039 Mihail Ionescu <mihail.ionescu@arm.com>
24040 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
24042 * config/arm/arm-builtins.c (CF): Define mve_builtin_data.
24044 (ARM_BUILTIN_MVE_PATTERN_START): Define.
24045 (arm_init_mve_builtins): Define function.
24046 (arm_init_builtins): Add TARGET_HAVE_MVE check.
24047 (arm_expand_builtin_1): Check the range of fcode.
24048 (arm_expand_mve_builtin): Define function to expand MVE builtins.
24049 (arm_expand_builtin): Check the range of fcode.
24050 * config/arm/arm_mve.h (__ARM_FEATURE_MVE): Define MVE floating point
24052 (__ARM_MVE_PRESERVE_USER_NAMESPACE): Define to protect user namespace.
24053 (vst4q_s8): Define macro.
24054 (vst4q_s16): Likewise.
24055 (vst4q_s32): Likewise.
24056 (vst4q_u8): Likewise.
24057 (vst4q_u16): Likewise.
24058 (vst4q_u32): Likewise.
24059 (vst4q_f16): Likewise.
24060 (vst4q_f32): Likewise.
24061 (__arm_vst4q_s8): Define inline builtin.
24062 (__arm_vst4q_s16): Likewise.
24063 (__arm_vst4q_s32): Likewise.
24064 (__arm_vst4q_u8): Likewise.
24065 (__arm_vst4q_u16): Likewise.
24066 (__arm_vst4q_u32): Likewise.
24067 (__arm_vst4q_f16): Likewise.
24068 (__arm_vst4q_f32): Likewise.
24069 (__ARM_mve_typeid): Define macro with MVE types.
24070 (__ARM_mve_coerce): Define macro with _Generic feature.
24071 (vst4q): Define polymorphic variant for different vst4q builtins.
24072 * config/arm/arm_mve_builtins.def: New file.
24073 * config/arm/iterators.md (VSTRUCT): Modify to allow XI and OI
24075 * config/arm/mve.md (MVE_VLD_ST): Define iterator.
24076 (unspec): Define unspec.
24077 (mve_vst4q<mode>): Define RTL pattern.
24078 * config/arm/neon.md (mov<mode>): Modify expand to allow XI and OI
24080 (neon_mov<mode>): Modify RTL define_insn to allow XI and OI modes
24082 (define_split): Allow OI mode split for MVE after reload.
24083 (define_split): Allow XI mode split for MVE after reload.
24084 * config/arm/t-arm (arm.o): Add entry for arm_mve_builtins.def.
24085 (arm-builtins.o): Likewise.
24087 2020-03-17 Christophe Lyon <christophe.lyon@linaro.org>
24089 * c-typeck.c (process_init_element): Handle constructor_type with
24090 type size represented by POLY_INT_CST.
24092 2020-03-17 Jakub Jelinek <jakub@redhat.com>
24094 PR tree-optimization/94187
24095 * tree-ssa-strlen.c (count_nonzero_bytes): Punt if
24096 nchars - offset < nbytes.
24098 PR middle-end/94189
24099 * builtins.c (expand_builtin_strnlen): Do return NULL_RTX if we would
24100 emit a warning if it was enabled and don't depend on TREE_NO_WARNING
24101 for code-generation.
24103 2020-03-16 Vladimir Makarov <vmakarov@redhat.com>
24106 * lra-spills.c (remove_pseudos): Do not reuse insn alternative
24107 after changing memory subreg.
24109 2020-03-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
24110 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
24112 * config/arm/arm.c (arm_libcall_uses_aapcs_base): Modify function to add
24113 emulator calls for dobule precision arithmetic operations for MVE.
24115 2020-03-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
24116 Mihail Ionescu <mihail.ionescu@arm.com>
24117 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
24119 * common/config/arm/arm-common.c (arm_asm_auto_mfpu): When vfp_base
24120 feature bit is on and -mfpu=auto is passed as compiler option, do not
24121 generate error on not finding any matching fpu. Because in this case
24122 fpu is not required.
24123 * config/arm/arm-cpus.in (vfp_base): Define feature bit, this bit is
24124 enabled for MVE and also for all VFP extensions.
24125 (VFPv2): Modify fgroup to enable vfp_base feature bit when ever VFPv2
24127 (MVE): Define fgroup to enable feature bits mve, vfp_base and armv7em.
24128 (MVE_FP): Define fgroup to enable feature bits is fgroup MVE and FPv5
24129 along with feature bits mve_float.
24130 (mve): Modify add options in armv8.1-m.main arch for MVE.
24131 (mve.fp): Modify add options in armv8.1-m.main arch for MVE with
24133 * config/arm/arm.c (use_return_insn): Replace the
24134 check with TARGET_VFP_BASE.
24135 (thumb2_legitimate_index_p): Replace TARGET_HARD_FLOAT with
24137 (arm_rtx_costs_internal): Replace "TARGET_HARD_FLOAT || TARGET_HAVE_MVE"
24138 with TARGET_VFP_BASE, to allow cost calculations for copies in MVE as
24140 (arm_get_vfp_saved_size): Replace TARGET_HARD_FLOAT with
24141 TARGET_VFP_BASE, to allow space calculation for VFP registers in MVE
24143 (arm_compute_frame_layout): Likewise.
24144 (arm_save_coproc_regs): Likewise.
24145 (arm_fixed_condition_code_regs): Modify to enable using VFPCC_REGNUM
24147 (arm_hard_regno_mode_ok): Replace "TARGET_HARD_FLOAT || TARGET_HAVE_MVE"
24148 with equivalent macro TARGET_VFP_BASE.
24149 (arm_expand_epilogue_apcs_frame): Likewise.
24150 (arm_expand_epilogue): Likewise.
24151 (arm_conditional_register_usage): Likewise.
24152 (arm_declare_function_name): Add check to skip printing .fpu directive
24153 in assembly file when TARGET_VFP_BASE is enabled and fpu_to_print is
24155 * config/arm/arm.h (TARGET_VFP_BASE): Define.
24156 * config/arm/arm.md (arch): Add "mve" to arch.
24157 (eq_attr "arch" "mve"): Enable on TARGET_HAVE_MVE is true.
24158 (vfp_pop_multiple_with_writeback): Replace "TARGET_HARD_FLOAT
24159 || TARGET_HAVE_MVE" with equivalent macro TARGET_VFP_BASE.
24160 * config/arm/constraints.md (Uf): Define to allow modification to FPCCR
24162 * config/arm/thumb2.md (thumb2_movsfcc_soft_insn): Modify target guard
24163 to not allow for MVE.
24164 * config/arm/unspecs.md (UNSPEC_GET_FPSCR): Move to volatile unspecs
24166 (VUNSPEC_GET_FPSCR): Define.
24167 * config/arm/vfp.md (thumb2_movhi_vfp): Add support for VMSR and VMRS
24168 instructions which move to general-purpose Register from Floating-point
24169 Special register and vice-versa.
24170 (thumb2_movhi_fp16): Likewise.
24171 (thumb2_movsi_vfp): Add support for VMSR and VMRS instructions along
24172 with MCR and MRC instructions which set and get Floating-point Status
24173 and Control Register (FPSCR).
24174 (movdi_vfp): Modify pattern to enable Single-precision scalar float move
24176 (thumb2_movdf_vfp): Modify pattern to enable Double-precision scalar
24177 float move patterns in MVE.
24178 (thumb2_movsfcc_vfp): Modify pattern to enable single float conditional
24179 code move patterns of VFP also in MVE by adding TARGET_VFP_BASE check.
24180 (thumb2_movdfcc_vfp): Modify pattern to enable double float conditional
24181 code move patterns of VFP also in MVE by adding TARGET_VFP_BASE check.
24182 (push_multi_vfp): Add support to use VFP VPUSH pattern for MVE by adding
24183 TARGET_VFP_BASE check.
24184 (set_fpscr): Add support to set FPSCR register for MVE. Modify pattern
24185 using VFPCC_REGNUM as few MVE intrinsics use carry bit of FPSCR
24187 (get_fpscr): Add support to get FPSCR register for MVE. Modify pattern
24188 using VFPCC_REGNUM as few MVE intrinsics use carry bit of FPSCR
24192 2020-03-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
24193 Mihail Ionescu <mihail.ionescu@arm.com>
24194 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
24196 * config.gcc (arm_mve.h): Include mve intrinsics header file.
24197 * config/arm/aout.h (p0): Add new register name for MVE predicated
24199 * config/arm-builtins.c (ARM_BUILTIN_SIMD_LANE_CHECK): Define macro
24200 common to Neon and MVE.
24201 (ARM_BUILTIN_NEON_LANE_CHECK): Renamed to ARM_BUILTIN_SIMD_LANE_CHECK.
24202 (arm_init_simd_builtin_types): Disable poly types for MVE.
24203 (arm_init_neon_builtins): Move a check to arm_init_builtins function.
24204 (arm_init_builtins): Use ARM_BUILTIN_SIMD_LANE_CHECK instead of
24205 ARM_BUILTIN_NEON_LANE_CHECK.
24206 (mve_dereference_pointer): Add function.
24207 (arm_expand_builtin_args): Call to mve_dereference_pointer when MVE is
24209 (arm_expand_neon_builtin): Moved to arm_expand_builtin function.
24210 (arm_expand_builtin): Moved from arm_expand_neon_builtin function.
24211 * config/arm/arm-c.c (__ARM_FEATURE_MVE): Define macro for MVE and MVE
24212 with floating point enabled.
24213 * config/arm/arm-protos.h (neon_immediate_valid_for_move): Renamed to
24214 simd_immediate_valid_for_move.
24215 (simd_immediate_valid_for_move): Renamed from
24216 neon_immediate_valid_for_move function.
24217 * config/arm/arm.c (arm_options_perform_arch_sanity_checks): Generate
24218 error if vfpv2 feature bit is disabled and mve feature bit is also
24219 disabled for HARD_FLOAT_ABI.
24220 (use_return_insn): Check to not push VFP regs for MVE.
24221 (aapcs_vfp_allocate): Add MVE check to have same Procedure Call Standard
24223 (aapcs_vfp_allocate_return_reg): Likewise.
24224 (thumb2_legitimate_address_p): Check to return 0 on valid Thumb-2
24225 address operand for MVE.
24226 (arm_rtx_costs_internal): MVE check to determine cost of rtx.
24227 (neon_valid_immediate): Rename to simd_valid_immediate.
24228 (simd_valid_immediate): Rename from neon_valid_immediate.
24229 (simd_valid_immediate): MVE check on size of vector is 128 bits.
24230 (neon_immediate_valid_for_move): Rename to
24231 simd_immediate_valid_for_move.
24232 (simd_immediate_valid_for_move): Rename from
24233 neon_immediate_valid_for_move.
24234 (neon_immediate_valid_for_logic): Modify call to neon_valid_immediate
24236 (neon_make_constant): Modify call to neon_valid_immediate function.
24237 (neon_vector_mem_operand): Return VFP register for POST_INC or PRE_DEC
24239 (output_move_neon): Add MVE check to generate vldm/vstm instrcutions.
24240 (arm_compute_frame_layout): Calculate space for saved VFP registers for
24242 (arm_save_coproc_regs): Save coproc registers for MVE.
24243 (arm_print_operand): Add case 'E' to print memory operands for MVE.
24244 (arm_print_operand_address): Check to print register number for MVE.
24245 (arm_hard_regno_mode_ok): Check for arm hard regno mode ok for MVE.
24246 (arm_modes_tieable_p): Check to allow structure mode for MVE.
24247 (arm_regno_class): Add VPR_REGNUM check.
24248 (arm_expand_epilogue_apcs_frame): MVE check to calculate epilogue code
24250 (arm_expand_epilogue): MVE check for enabling pop instructions in
24252 (arm_print_asm_arch_directives): Modify function to disable print of
24253 .arch_extension "mve" and "fp" for cases where MVE is enabled with
24255 (arm_vector_mode_supported_p): Check for modes available in MVE interger
24256 and MVE floating point.
24257 (arm_array_mode_supported_p): Add TARGET_HAVE_MVE check for array mode
24259 (arm_conditional_register_usage): Enable usage of conditional regsiter
24261 (fixed_regs[VPR_REGNUM]): Enable VPR_REG for MVE.
24262 (arm_declare_function_name): Modify function to disable print of
24263 .arch_extension "mve" and "fp" for cases where MVE is enabled with
24265 * config/arm/arm.h (TARGET_HAVE_MVE): Disable for soft float abi and
24266 when target general registers are required.
24267 (TARGET_HAVE_MVE_FLOAT): Likewise.
24268 (FIXED_REGISTERS): Add bit for VFP_REG class which is enabled in arm.c
24270 (CALL_USED_REGISTERS): Set bit for VFP_REG class in CALL_USED_REGISTERS
24271 which indicate this is not available for across function calls.
24272 (FIRST_PSEUDO_REGISTER): Modify.
24273 (VALID_MVE_MODE): Define valid MVE mode.
24274 (VALID_MVE_SI_MODE): Define valid MVE SI mode.
24275 (VALID_MVE_SF_MODE): Define valid MVE SF mode.
24276 (VALID_MVE_STRUCT_MODE): Define valid MVE struct mode.
24277 (VPR_REGNUM): Add Vector Predication Register in arm_regs_in_sequence
24279 (IS_VPR_REGNUM): Macro to check for VPR_REG register.
24280 (REG_ALLOC_ORDER): Add VPR_REGNUM entry.
24281 (enum reg_class): Add VPR_REG entry.
24282 (REG_CLASS_NAMES): Add VPR_REG entry.
24283 * config/arm/arm.md (VPR_REGNUM): Define.
24284 (conds): Check is_mve_type attrbiute to differentiate "conditional" and
24285 "unconditional" instructions.
24286 (arm_movsf_soft_insn): Modify RTL to not allow for MVE.
24287 (movdf_soft_insn): Modify RTL to not allow for MVE.
24288 (vfp_pop_multiple_with_writeback): Enable for MVE.
24289 (include "mve.md"): Include mve.md file.
24290 * config/arm/arm_mve.h: Add MVE intrinsics head file.
24291 * config/arm/constraints.md (Up): Constraint to enable "p0" register in MVE
24292 for vector predicated operands.
24293 * config/arm/iterators.md (VNIM1): Define.
24294 (VNINOTM1): Define.
24295 (VHFBF_split): Define
24296 * config/arm/mve.md: New file.
24297 (mve_mov<mode>): Define RTL for move, store and load in MVE.
24298 (mve_mov<mode>): Define move RTL pattern with vec_duplicate operator for
24300 * config/arm/neon.md (neon_immediate_valid_for_move): Rename with
24301 simd_immediate_valid_for_move.
24302 (neon_mov<mode>): Split pattern and move expand pattern "movv8hf" which
24303 is common to MVE and NEON to vec-common.md file.
24304 (vec_init<mode><V_elem_l>): Add TARGET_HAVE_MVE check.
24305 * config/arm/predicates.md (vpr_register_operand): Define.
24306 * config/arm/t-arm: Add mve.md file.
24307 * config/arm/types.md (mve_move): Add MVE instructions mve_move to
24309 (mve_store): Add MVE instructions mve_store to attribute "type".
24310 (mve_load): Add MVE instructions mve_load to attribute "type".
24311 (is_mve_type): Define attribute.
24312 * config/arm/vec-common.md (mov<mode>): Modify RTL expand to support
24313 standard move patterns in MVE along with NEON and IWMMXT with mode
24315 (mov<mode>): Modify RTL expand to support standard move patterns in NEON
24316 and IWMMXT with mode iterator V8HF.
24317 (movv8hf): Define RTL expand to support standard "movv8hf" pattern in
24319 * config/arm/vfp.md (neon_immediate_valid_for_move): Rename to
24320 simd_immediate_valid_for_move.
24323 2020-03-16 H.J. Lu <hongjiu.lu@intel.com>
24326 * config/i386/i386.md (*movsi_internal): Call ix86_output_ssemov
24327 for TYPE_SSEMOV. Remove ext_sse_reg_operand and TARGET_AVX512VL
24329 * config/i386/predicates.md (ext_sse_reg_operand): Removed.
24331 2020-03-16 Jakub Jelinek <jakub@redhat.com>
24334 * tree-inline.c (insert_init_stmt): Don't gimple_regimplify_operands
24337 PR tree-optimization/94166
24338 * tree-ssa-reassoc.c (sort_by_mach_mode): Use SSA_NAME_VERSION
24339 as secondary comparison key.
24341 2020-03-16 Bin Cheng <bin.cheng@linux.alibaba.com>
24343 PR tree-optimization/94125
24344 * tree-loop-distribution.c
24345 (loop_distribution::break_alias_scc_partitions): Update post order
24346 number for merged scc.
24348 2020-03-15 H.J. Lu <hongjiu.lu@intel.com>
24351 * config/i386/i386.c (ix86_output_ssemov): Handle MODE_SI and
24353 * config/i386/i386.md (*movsf_internal): Call ix86_output_ssemov
24354 for TYPE_SSEMOV. Remove TARGET_PREFER_AVX256, TARGET_AVX512VL
24355 and ext_sse_reg_operand check.
24357 2020-03-15 Lewis Hyatt <lhyatt@gmail.com>
24359 * common.opt: Avoid redundancy in the help text.
24360 * config/arc/arc.opt: Likewise.
24361 * config/cr16/cr16.opt: Likewise.
24363 2020-03-14 Jakub Jelinek <jakub@redhat.com>
24365 PR middle-end/93566
24366 * tree-nested.c (convert_nonlocal_omp_clauses,
24367 convert_local_omp_clauses): Handle {,in_,task_}reduction clauses
24368 with C/C++ array sections.
24370 2020-03-14 H.J. Lu <hongjiu.lu@intel.com>
24373 * config/i386/i386.md (*movdi_internal): Call ix86_output_ssemov
24374 for TYPE_SSEMOV. Remove ext_sse_reg_operand and TARGET_AVX512VL
24377 2020-03-14 Jakub Jelinek <jakub@redhat.com>
24379 * gimple-fold.c (gimple_fold_builtin_strncpy): Change
24380 "a an" to "an" in a comment.
24381 * hsa-common.h (is_a_helper): Likewise.
24382 * tree-ssa-strlen.c (maybe_diag_stxncpy_trunc): Likewise.
24383 * config/arc/arc.c (arc600_corereg_hazard): Likewise.
24384 * config/s390/s390.c (s390_indirect_branch_via_thunk): Likewise.
24386 2020-03-13 Aaron Sawdey <acsawdey@linux.ibm.com>
24389 * config/rs6000/rs6000.c (num_insns_constant_multi): Don't shift a
24390 64-bit value by 64 bits (UB).
24392 2020-03-13 Vladimir Makarov <vmakarov@redhat.com>
24394 PR rtl-optimization/92303
24395 * lra-spills.c (remove_pseudos): Try to simplify memory subreg.
24397 2020-03-13 Segher Boessenkool <segher@kernel.crashing.org>
24399 PR rtl-optimization/94148
24400 PR rtl-optimization/94042
24401 * df-core.c (BB_LAST_CHANGE_AGE): Delete.
24402 (df_worklist_propagate_forward): New parameter last_change_age, use
24403 that instead of bb->aux.
24404 (df_worklist_propagate_backward): Ditto.
24405 (df_worklist_dataflow_doublequeue): Use a local array last_change_age.
24407 2020-03-13 Richard Biener <rguenther@suse.de>
24409 PR tree-optimization/94163
24410 * tree-ssa-pre.c (create_expression_by_pieces): Check
24411 whether alignment would be zero.
24413 2020-03-13 Martin Liska <mliska@suse.cz>
24416 * lto-wrapper.c (run_gcc): Use concat for appending
24417 to collect_gcc_options.
24419 2020-03-13 Jakub Jelinek <jakub@redhat.com>
24422 * config/aarch64/aarch64.c (aarch64_add_offset_1): Use gen_int_mode
24423 instead of GEN_INT.
24425 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
24428 * config/i386/i386.c (ix86_output_ssemov): Handle MODE_DF.
24429 * config/i386/i386.md (*movdf_internal): Call ix86_output_ssemov
24430 for TYPE_SSEMOV. Remove TARGET_AVX512F, TARGET_PREFER_AVX256,
24431 TARGET_AVX512VL and ext_sse_reg_operand check.
24433 2020-03-13 Bu Le <bule1@huawei.com>
24436 * config/aarch64/aarch64.opt (-param=aarch64-float-recp-precision=)
24437 (-param=aarch64-double-recp-precision=): New options.
24438 * doc/invoke.texi: Document them.
24439 * config/aarch64/aarch64.c (aarch64_emit_approx_div): Use them
24440 instead of hard-coding the choice of 1 for float and 2 for double.
24442 2020-03-13 Eric Botcazou <ebotcazou@adacore.com>
24444 PR rtl-optimization/94119
24445 * resource.h (clear_hashed_info_until_next_barrier): Declare.
24446 * resource.c (clear_hashed_info_until_next_barrier): New function.
24447 * reorg.c (add_to_delay_list): Fix formatting.
24448 (relax_delay_slots): Call clear_hashed_info_until_next_barrier on
24449 the next instruction after removing a BARRIER.
24451 2020-03-13 Eric Botcazou <ebotcazou@adacore.com>
24453 PR middle-end/92071
24454 * expmed.c (store_integral_bit_field): For fields larger than a word,
24455 call extract_bit_field on the value if the mode is BLKmode. Remove
24456 specific path for big-endian targets and tidy things up a little bit.
24458 2020-03-12 Richard Sandiford <richard.sandiford@arm.com>
24460 PR rtl-optimization/90275
24461 * cse.c (cse_insn): Delete no-op register moves too.
24463 2020-03-12 Darius Galis <darius.galis@cyberthorstudios.com>
24465 * config/rx/rx.md (CTRLREG_CPEN): Remove.
24466 * config/rx/rx.c (rx_print_operand): Remove CTRLREG_CPEN support.
24468 2020-03-12 Richard Biener <rguenther@suse.de>
24470 PR tree-optimization/94103
24471 * tree-ssa-sccvn.c (visit_reference_op_load): Avoid type
24472 punning when the mode precision is not sufficient.
24474 2020-03-12 H.J. Lu <hongjiu.lu@intel.com>
24477 * config/i386/i386.c (ix86_output_ssemov): Handle MODE_DI,
24478 MODE_V1DF and MODE_V2SF.
24479 * config/i386/mmx.md (MMXMODE:*mov<mode>_internal): Call
24480 ix86_output_ssemov for TYPE_SSEMOV. Remove ext_sse_reg_operand
24483 2020-03-12 Jakub Jelinek <jakub@redhat.com>
24485 * doc/tm.texi.in (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Change
24486 ASM_OUTPUT_ALIGNED_DECL in description to ASM_OUTPUT_ALIGNED_LOCAL
24487 and ASM_OUTPUT_DECL to ASM_OUTPUT_LOCAL.
24488 * doc/tm.texi: Regenerated.
24490 PR tree-optimization/94130
24491 * tree-ssa-dse.c: Include gimplify.h.
24492 (increment_start_addr): If stmt has lhs, drop the lhs from call and
24493 set it after the call to the original value of the first argument.
24495 (decrement_count): Formatting fix.
24497 2020-03-11 Delia Burduv <delia.burduv@arm.com>
24499 * config/arm/arm-builtins.c
24500 (arm_init_simd_builtin_scalar_types): New.
24501 * config/arm/arm_neon.h (vld2_bf16): Used new builtin type.
24502 (vld2q_bf16): Used new builtin type.
24503 (vld3_bf16): Used new builtin type.
24504 (vld3q_bf16): Used new builtin type.
24505 (vld4_bf16): Used new builtin type.
24506 (vld4q_bf16): Used new builtin type.
24507 (vld2_dup_bf16): Used new builtin type.
24508 (vld2q_dup_bf16): Used new builtin type.
24509 (vld3_dup_bf16): Used new builtin type.
24510 (vld3q_dup_bf16): Used new builtin type.
24511 (vld4_dup_bf16): Used new builtin type.
24512 (vld4q_dup_bf16): Used new builtin type.
24514 2020-03-11 Jakub Jelinek <jakub@redhat.com>
24517 * config/pdp11/pdp11.c (pdp11_asm_output_var): Call switch_to_section
24518 at the start to switch to data section. Don't print extra newline if
24519 .globl directive has not been emitted.
24521 2020-03-11 Richard Biener <rguenther@suse.de>
24523 * match.pd ((T *)(ptr - ptr-cst) -> &MEM[ptr + -ptr-cst]):
24526 2020-03-11 Eric Botcazou <ebotcazou@adacore.com>
24528 PR middle-end/93961
24529 * tree.c (variably_modified_type_p) <RECORD_TYPE>: Recurse into fields
24530 whose type is a qualified union.
24532 2020-03-11 Jakub Jelinek <jakub@redhat.com>
24535 * config/aarch64/aarch64.c (aarch64_add_offset_1): Use absu_hwi
24536 instead of abs_hwi, change moffset type to unsigned HOST_WIDE_INT.
24539 * value-prof.c (dump_histogram_value): Use abs_hwi instead of
24541 (get_nth_most_common_value): Use abs_hwi instead of abs.
24543 PR middle-end/94111
24544 * dfp.c (decimal_to_binary): Only use decimal128ToString if from->cl
24545 is rvc_normal, otherwise use real_to_decimal to print the number to
24548 PR tree-optimization/94114
24549 * tree-loop-distribution.c (generate_memset_builtin): Call
24550 rewrite_to_non_trapping_overflow even on mem.
24551 (generate_memcpy_builtin): Call rewrite_to_non_trapping_overflow even
24554 2020-03-10 Jeff Law <law@redhat.com>
24556 * config/bfin/bfin.md (movsi_insv): Add length attribute.
24558 2020-03-10 Jiufu Guo <guojiufu@linux.ibm.com>
24561 * config/rs6000/rs6000.c (rs6000_emit_p9_fp_minmax): Check
24562 NAN and SIGNED_ZEROR for smax/smin.
24564 2020-03-10 Will Schmidt <will_schmidt@vnet.ibm.com>
24567 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Add
24568 clause to handle P9V_BUILTIN_VEC_LXVL with const arguments.
24570 2020-03-10 Roman Zhuykov <zhroma@ispras.ru>
24572 * loop-iv.c (find_simple_exit): Make it static.
24573 * cfgloop.h: Remove the corresponding prototype.
24575 2020-03-10 Roman Zhuykov <zhroma@ispras.ru>
24577 * ddg.c (create_ddg): Fix intendation.
24578 (set_recurrence_length): Likewise.
24579 (create_ddg_all_sccs): Likewise.
24581 2020-03-10 Jakub Jelinek <jakub@redhat.com>
24584 * config/i386/i386.md (*testqi_ext_3): Call ix86_match_ccmode with
24585 CCZmode instead of CCNOmode if operands[2] has DImode and pos + len
24588 2020-03-09 Jason Merrill <jason@redhat.com>
24590 * gdbinit.in (pgs): Fix typo in documentation.
24592 2020-03-09 Vladimir Makarov <vmakarov@redhat.com>
24596 2020-02-28 Vladimir Makarov <vmakarov@redhat.com>
24598 PR rtl-optimization/93564
24599 * ira-color.c (assign_hard_reg): Prefer smaller hard regno when we
24600 do not honor reg alloc order.
24602 2020-03-09 Andrew Pinski <apinski@marvell.com>
24604 PR inline-asm/94095
24605 * doc/extend.texi (x86 Operand Modifiers): Fix column
24608 2020-03-09 Martin Liska <mliska@suse.cz>
24611 * config/rs6000/rs6000.c (rs6000_option_override_internal):
24612 Remove set of str_align_loops and str_align_jumps as these
24613 should be set in previous 2 conditions in the function.
24615 2020-03-09 Jakub Jelinek <jakub@redhat.com>
24617 PR rtl-optimization/94045
24618 * params.opt (-param=max-find-base-term-values=): New option.
24619 * alias.c (find_base_term): Add cut-off for number of visited VALUEs
24620 in a single toplevel find_base_term call.
24622 2020-03-06 Wilco Dijkstra <wdijkstr@arm.com>
24625 * config/aarch64/aarch64-builtins.c (TYPES_TERNOPU_LANE): Add define.
24626 * config/aarch64/aarch64-simd.md
24627 (aarch64_vec_<su>mult_lane<Qlane>): Add new insn for widening lane mul.
24628 (aarch64_vec_<su>mlal_lane<Qlane>): Likewise.
24629 * config/aarch64/aarch64-simd-builtins.def: Add intrinsics.
24630 * config/aarch64/arm_neon.h:
24631 (vmlal_lane_s16): Expand using intrinsics rather than inline asm.
24632 (vmlal_lane_u16): Likewise.
24633 (vmlal_lane_s32): Likewise.
24634 (vmlal_lane_u32): Likewise.
24635 (vmlal_laneq_s16): Likewise.
24636 (vmlal_laneq_u16): Likewise.
24637 (vmlal_laneq_s32): Likewise.
24638 (vmlal_laneq_u32): Likewise.
24639 (vmull_lane_s16): Likewise.
24640 (vmull_lane_u16): Likewise.
24641 (vmull_lane_s32): Likewise.
24642 (vmull_lane_u32): Likewise.
24643 (vmull_laneq_s16): Likewise.
24644 (vmull_laneq_u16): Likewise.
24645 (vmull_laneq_s32): Likewise.
24646 (vmull_laneq_u32): Likewise.
24647 * config/aarch64/iterators.md (Vcondtype): New iterator for lane mul.
24650 2020-03-06 Wilco Dijkstra <wdijkstr@arm.com>
24652 * aarch64/aarch64-simd.md (aarch64_mla_elt<mode>): Correct lane syntax.
24653 (aarch64_mla_elt_<vswap_width_name><mode>): Likewise.
24654 (aarch64_mls_elt<mode>): Likewise.
24655 (aarch64_mls_elt_<vswap_width_name><mode>): Likewise.
24656 (aarch64_fma4_elt<mode>): Likewise.
24657 (aarch64_fma4_elt_<vswap_width_name><mode>): Likewise.
24658 (aarch64_fma4_elt_to_64v2df): Likewise.
24659 (aarch64_fnma4_elt<mode>): Likewise.
24660 (aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise.
24661 (aarch64_fnma4_elt_to_64v2df): Likewise.
24663 2020-03-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24665 * config/aarch64/aarch64-sve2.md (@aarch64_sve_<sve_int_op><mode>:
24666 Specify movprfx attribute.
24667 (@aarch64_sve_<sve_int_op>_lane_<mode>): Likewise.
24669 2020-03-06 David Edelsohn <dje.gcc@gmail.com>
24672 * config/rs6000/aix61.h (TARGET_NO_SUM_IN_TOC): Set to 1 for
24674 (TARGET_NO_FP_IN_TOC): Same.
24675 * config/rs6000/aix71.h: Same.
24676 * config/rs6000/aix72.h: Same.
24678 2020-03-06 Andrew Pinski <apinski@marvell.com>
24679 Jeff Law <law@redhat.com>
24681 PR rtl-optimization/93996
24682 * haifa-sched.c (remove_notes): Be more careful when adding
24685 2020-03-06 Delia Burduv <delia.burduv@arm.com>
24687 * config/arm/arm_neon.h (vld2_bf16): New.
24693 (vld2_dup_bf16): New.
24694 (vld2q_dup_bf16): New.
24695 (vld3_dup_bf16): New.
24696 (vld3q_dup_bf16): New.
24697 (vld4_dup_bf16): New.
24698 (vld4q_dup_bf16): New.
24699 * config/arm/arm_neon_builtins.def
24700 (vld2): Changed to VAR13 and added v4bf, v8bf
24701 (vld2_dup): Changed to VAR8 and added v4bf, v8bf
24702 (vld3): Changed to VAR13 and added v4bf, v8bf
24703 (vld3_dup): Changed to VAR8 and added v4bf, v8bf
24704 (vld4): Changed to VAR13 and added v4bf, v8bf
24705 (vld4_dup): Changed to VAR8 and added v4bf, v8bf
24706 * config/arm/iterators.md (VDXBF2): New iterator.
24707 *config/arm/neon.md (neon_vld2): Use new iterators.
24708 (neon_vld2_dup<mode): Use new iterators.
24709 (neon_vld3<mode>): Likewise.
24710 (neon_vld3qa<mode>): Likewise.
24711 (neon_vld3qb<mode>): Likewise.
24712 (neon_vld3_dup<mode>): Likewise.
24713 (neon_vld4<mode>): Likewise.
24714 (neon_vld4qa<mode>): Likewise.
24715 (neon_vld4qb<mode>): Likewise.
24716 (neon_vld4_dup<mode>): Likewise.
24717 (neon_vld2_dupv8bf): New.
24718 (neon_vld3_dupv8bf): Likewise.
24719 (neon_vld4_dupv8bf): Likewise.
24721 2020-03-06 Delia Burduv <delia.burduv@arm.com>
24723 * config/arm/arm_neon.h (bfloat16x4x2_t): New typedef.
24724 (bfloat16x8x2_t): New typedef.
24725 (bfloat16x4x3_t): New typedef.
24726 (bfloat16x8x3_t): New typedef.
24727 (bfloat16x4x4_t): New typedef.
24728 (bfloat16x8x4_t): New typedef.
24735 * config/arm/arm-builtins.c (v2bf_UP): Define.
24737 (arm_init_simd_builtin_types): Init Bfloat16x2_t eltype.
24738 * config/arm/arm-modes.def (V2BF): New mode.
24739 * config/arm/arm-simd-builtin-types.def
24740 (Bfloat16x2_t): New entry.
24741 * config/arm/arm_neon_builtins.def
24742 (vst2): Changed to VAR13 and added v4bf, v8bf
24743 (vst3): Changed to VAR13 and added v4bf, v8bf
24744 (vst4): Changed to VAR13 and added v4bf, v8bf
24745 * config/arm/iterators.md (VDXBF): New iterator.
24746 (VQ2BF): New iterator.
24747 *config/arm/neon.md (neon_vst2<mode>): Used new iterators.
24748 (neon_vst2<mode>): Used new iterators.
24749 (neon_vst3<mode>): Used new iterators.
24750 (neon_vst3<mode>): Used new iterators.
24751 (neon_vst3qa<mode>): Used new iterators.
24752 (neon_vst3qb<mode>): Used new iterators.
24753 (neon_vst4<mode>): Used new iterators.
24754 (neon_vst4<mode>): Used new iterators.
24755 (neon_vst4qa<mode>): Used new iterators.
24756 (neon_vst4qb<mode>): Used new iterators.
24758 2020-03-06 Delia Burduv <delia.burduv@arm.com>
24760 * config/aarch64/aarch64-simd-builtins.def
24761 (bfcvtn): New built-in function.
24762 (bfcvtn_q): New built-in function.
24763 (bfcvtn2): New built-in function.
24764 (bfcvt): New built-in function.
24765 * config/aarch64/aarch64-simd.md
24766 (aarch64_bfcvtn<q><mode>): New pattern.
24767 (aarch64_bfcvtn2v8bf): New pattern.
24768 (aarch64_bfcvtbf): New pattern.
24769 * config/aarch64/arm_bf16.h (float32_t): New typedef.
24770 (vcvth_bf16_f32): New intrinsic.
24771 * config/aarch64/arm_bf16.h (vcvt_bf16_f32): New intrinsic.
24772 (vcvtq_low_bf16_f32): New intrinsic.
24773 (vcvtq_high_bf16_f32): New intrinsic.
24774 * config/aarch64/iterators.md (V4SF_TO_BF): New mode iterator.
24775 (UNSPEC_BFCVTN): New UNSPEC.
24776 (UNSPEC_BFCVTN2): New UNSPEC.
24777 (UNSPEC_BFCVT): New UNSPEC.
24778 * config/arm/types.md (bf_cvt): New type.
24780 2020-03-06 Andreas Krebbel <krebbel@linux.ibm.com>
24782 * config/s390/s390.md ("tabort"): Get rid of two consecutive
24783 blanks in format string.
24785 2020-03-05 H.J. Lu <hongjiu.lu@intel.com>
24789 * config/i386/i386-protos.h (ix86_output_ssemov): New prototype.
24790 * config/i386/i386.c (ix86_get_ssemov): New function.
24791 (ix86_output_ssemov): Likewise.
24792 * config/i386/sse.md (VMOVE:mov<mode>_internal): Call
24793 ix86_output_ssemov for TYPE_SSEMOV. Remove TARGET_AVX512VL
24795 (*movxi_internal_avx512f): Call ix86_output_ssemov for TYPE_SSEMOV.
24796 (*movoi_internal_avx): Call ix86_output_ssemov for TYPE_SSEMOV.
24797 Remove ext_sse_reg_operand and TARGET_AVX512VL check.
24798 (*movti_internal): Likewise.
24799 (*movtf_internal): Call ix86_output_ssemov for TYPE_SSEMOV.
24801 2020-03-05 Jeff Law <law@redhat.com>
24803 PR tree-optimization/91890
24804 * gimple-ssa-warn-restrict.c (maybe_diag_overlap): Remove LOC argument.
24805 Use gimple_or_expr_nonartificial_location.
24806 (check_bounds_overlap): Drop LOC argument to maybe_diag_access_bounds.
24807 Use gimple_or_expr_nonartificial_location.
24808 * gimple.c (gimple_or_expr_nonartificial_location): New function.
24809 * gimple.h (gimple_or_expr_nonartificial_location): Declare it.
24810 * tree-ssa-strlen.c (maybe_warn_overflow): Use
24811 gimple_or_expr_nonartificial_location.
24812 (maybe_diag_stxncpy_trunc, handle_builtin_stxncpy_strncat): Likewise.
24813 (maybe_warn_pointless_strcmp): Likewise.
24815 2020-03-05 Jakub Jelinek <jakub@redhat.com>
24818 * config/i386/avx2intrin.h (_mm_mask_i32gather_ps): Fix first cast of
24819 SRC and MASK arguments to __m128 from __m128d.
24820 (_mm256_mask_i32gather_ps): Fix first cast of MASK argument to __m256
24822 (_mm_mask_i64gather_ps): Fix first cast of MASK argument to __m128
24824 * config/i386/xopintrin.h (_mm_permute2_pd): Fix first cast of C
24825 argument to __m128i from __m128d.
24826 (_mm256_permute2_pd): Fix first cast of C argument to __m256i from
24828 (_mm_permute2_ps): Fix first cast of C argument to __m128i from __m128.
24829 (_mm256_permute2_ps): Fix first cast of C argument to __m256i from
24832 2020-03-05 Delia Burduv <delia.burduv@arm.com>
24834 * config/arm/arm_neon.h (vbfmmlaq_f32): New.
24835 (vbfmlalbq_f32): New.
24836 (vbfmlaltq_f32): New.
24837 (vbfmlalbq_lane_f32): New.
24838 (vbfmlaltq_lane_f32): New.
24839 (vbfmlalbq_laneq_f32): New.
24840 (vbfmlaltq_laneq_f32): New.
24841 * config/arm/arm_neon_builtins.def (vmmla): New.
24846 (vfmab_laneq): New.
24847 (vfmat_laneq): New.
24848 * config/arm/iterators.md (BF_MA): New int iterator.
24849 (bt): New int attribute.
24850 (VQXBF): Copy of VQX with V8BF.
24851 * config/arm/neon.md (neon_vmmlav8bf): New insn.
24852 (neon_vfma<bt>v8bf): New insn.
24853 (neon_vfma<bt>_lanev8bf): New insn.
24854 (neon_vfma<bt>_laneqv8bf): New expand.
24855 (neon_vget_high<mode>): Changed iterator to VQXBF.
24856 * config/arm/unspecs.md (UNSPEC_BFMMLA): New UNSPEC.
24857 (UNSPEC_BFMAB): New UNSPEC.
24858 (UNSPEC_BFMAT): New UNSPEC.
24860 2020-03-05 Jakub Jelinek <jakub@redhat.com>
24862 PR middle-end/93399
24863 * tree-pretty-print.h (pretty_print_string): Declare.
24864 * tree-pretty-print.c (pretty_print_string): Remove forward
24865 declaration, no longer static. Change nbytes parameter type
24866 from unsigned to size_t.
24867 * print-rtl.c (print_value) <case CONST_STRING>: Use
24868 pretty_print_string and for shrink way too long strings.
24870 2020-03-05 Richard Biener <rguenther@suse.de>
24871 Jakub Jelinek <jakub@redhat.com>
24873 PR tree-optimization/93582
24874 * tree-ssa-sccvn.c (vn_reference_lookup_3): Treat POINTER_PLUS_EXPR
24875 last operand as signed when looking for memset offset. Formatting
24878 2020-03-04 Andrew Pinski <apinski@marvell.com>
24881 * value-prof.c (dump_histogram_value): Use std::abs.
24883 2020-03-04 Martin Sebor <msebor@redhat.com>
24885 PR tree-optimization/93986
24886 * tree-ssa-strlen.c (maybe_warn_overflow): Convert all wide_int
24887 operands to the same precision widest_int to avoid ICEs.
24889 2020-03-04 Bill Schmidt <wschmidt@linux.ibm.com>
24892 * rs6000-cpus.def (OTHER_ALTIVEC_MASKS): New #define.
24893 * rs6000.c (rs6000_disable_incompatible_switches): Add table entry
24894 for OPTION_MASK_ALTIVEC.
24896 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
24898 * config.gcc: Include the glibc-stdint.h header for zTPF.
24900 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
24902 * config/s390/s390.c (s390_secondary_memory_needed): Disallow
24903 direct FPR-GPR copies.
24904 (s390_register_info_gprtofpr): Disallow GPR content to be saved in
24907 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
24909 * config/s390/s390.c (s390_emit_prologue): Specify the 2 new
24910 operands to the prologue_tpf expander.
24911 (s390_emit_epilogue): Likewise.
24912 (s390_option_override_internal): Do error checking and setup for
24914 * config/s390/tpf.h (TPF_TRACE_PROLOGUE_CHECK)
24915 (TPF_TRACE_EPILOGUE_CHECK, TPF_TRACE_PROLOGUE_TARGET)
24916 (TPF_TRACE_EPILOGUE_TARGET, TPF_TRACE_PROLOGUE_SKIP_TARGET)
24917 (TPF_TRACE_EPILOGUE_SKIP_TARGET): New macro definitions.
24918 * config/s390/tpf.md ("prologue_tpf", "epilogue_tpf"): Add two new
24919 operands for the check flag and the branch target.
24920 * config/s390/tpf.opt ("mtpf-trace-hook-prologue-check")
24921 ("mtpf-trace-hook-prologue-target")
24922 ("mtpf-trace-hook-epilogue-check")
24923 ("mtpf-trace-hook-epilogue-target", "mtpf-trace-skip"): New
24925 * doc/invoke.texi: Document -mtpf-trace-skip option. The other
24926 options are for debugging purposes and will not be documented
24929 2020-03-04 Jakub Jelinek <jakub@redhat.com>
24932 * tree-inline.c (copy_decl_to_var): Copy DECL_BY_REFERENCE flag.
24934 * tree-ssa-sccvn.c (vn_walk_cb_data::push_partial_def): Add offseti
24935 argument. Change pd argument so that it can be modified. Turn
24936 constant non-CONSTRUCTOR store into non-constant if it is too large.
24937 Adjust offset and size of CONSTRUCTOR or non-constant store to avoid
24939 (vn_walk_cb_data::vn_walk_cb_data, vn_reference_lookup_3): Adjust
24942 2020-02-04 Richard Biener <rguenther@suse.de>
24944 PR tree-optimization/93964
24945 * graphite-isl-ast-to-gimple.c
24946 (gcc_expression_from_isl_ast_expr_id): Add intermediate
24947 conversion for pointer to integer converts.
24948 * graphite-scop-detection.c (assign_parameter_index_in_region):
24951 2020-03-04 Martin Liska <mliska@suse.cz>
24955 * doc/invoke.texi: Clarify --help=language and --help=common
24958 2020-03-04 Jakub Jelinek <jakub@redhat.com>
24960 PR tree-optimization/94001
24961 * tree-tailcall.c (process_assignment): Before comparing op1 to
24962 *ass_var, verify *ass_var is non-NULL.
24964 2020-03-04 Kito Cheng <kito.cheng@sifive.com>
24967 * config/riscv/riscv.c (riscv_emit_float_compare): Using NE to compare
24970 2020-03-03 Dennis Zhang <dennis.zhang@arm.com>
24972 * config/arm/arm_bf16.h (vcvtah_f32_bf16, vcvth_bf16_f32): New.
24973 * config/arm/arm_neon.h (vcvt_f32_bf16, vcvtq_low_f32_bf16): New.
24974 (vcvtq_high_f32_bf16, vcvt_bf16_f32): New.
24975 (vcvtq_low_bf16_f32, vcvtq_high_bf16_f32): New.
24976 * config/arm/arm_neon_builtins.def (vbfcvt, vbfcvt_high): New entries.
24977 (vbfcvtv4sf, vbfcvtv4sf_high): Likewise.
24978 * config/arm/iterators.md (VBFCVT, VBFCVTM): New mode iterators.
24979 (V_bf_low, V_bf_cvt_m): New mode attributes.
24980 * config/arm/neon.md (neon_vbfcvtv4sf<VBFCVT:mode>): New.
24981 (neon_vbfcvtv4sf_highv8bf, neon_vbfcvtsf): New.
24982 (neon_vbfcvt<VBFCVT:mode>, neon_vbfcvt_highv8bf): New.
24983 (neon_vbfcvtbf_cvtmode<mode>, neon_vbfcvtbf): New
24984 * config/arm/unspecs.md (UNSPEC_BFCVT, UNSPEC_BFCVT_HIG): New.
24986 2020-03-03 Jakub Jelinek <jakub@redhat.com>
24988 PR tree-optimization/93582
24989 * tree-ssa-sccvn.h (vn_reference_lookup): Add mask argument.
24990 * tree-ssa-sccvn.c (struct vn_walk_cb_data): Add mask and masked_result
24991 members, initialize them in the constructor and if mask is non-NULL,
24992 artificially push_partial_def {} for the portions of the mask that
24994 (vn_walk_cb_data::finish): If mask is non-NULL, set masked_result to
24995 val and return (void *)-1. Formatting fix.
24996 (vn_reference_lookup_pieces): Adjust vn_walk_cb_data initialization.
24998 (vn_reference_lookup): Add mask argument. If non-NULL, don't call
24999 fully_constant_vn_reference_p nor vn_reference_lookup_1 and return
25001 (visit_nary_op): Handle BIT_AND_EXPR of a memory load and INTEGER_CST
25003 (visit_stmt): Formatting fix.
25005 2020-03-03 Richard Biener <rguenther@suse.de>
25007 PR tree-optimization/93946
25008 * alias.h (refs_same_for_tbaa_p): Declare.
25009 * alias.c (refs_same_for_tbaa_p): New function.
25010 * tree-ssa-alias.c (ao_ref_alias_set): For a NULL ref return
25012 * tree-ssa-scopedtables.h
25013 (avail_exprs_stack::lookup_avail_expr): Add output argument
25014 giving access to the hashtable entry.
25015 * tree-ssa-scopedtables.c (avail_exprs_stack::lookup_avail_expr):
25017 * tree-ssa-dom.c: Include alias.h.
25018 (dom_opt_dom_walker::optimize_stmt): Validate TBAA state before
25019 removing redundant store.
25020 * tree-ssa-sccvn.h (vn_reference_s::base_set): New member.
25021 (ao_ref_init_from_vn_reference): Adjust prototype.
25022 (vn_reference_lookup_pieces): Likewise.
25023 (vn_reference_insert_pieces): Likewise.
25024 * tree-ssa-sccvn.c: Track base alias set in addition to alias
25026 (eliminate_dom_walker::eliminate_stmt): Also check base alias
25027 set when removing redundant stores.
25028 (visit_reference_op_store): Likewise.
25029 * dse.c (record_store): Adjust valdity check for redundant
25032 2020-03-03 Jakub Jelinek <jakub@redhat.com>
25035 * config/s390/s390.h (OPTION_DEFAULT_SPECS): Reorder.
25037 PR rtl-optimization/94002
25038 * explow.c (plus_constant): Punt if cst has VOIDmode and
25039 get_pool_mode is different from mode.
25041 2020-03-03 Claudiu Zissulescu <claziss@synopsys.com>
25043 * config/arc/arc.c (leigitimate_small_data_address_p): Check if an
25044 address has an offset which fits the scalling constraint for a
25045 load/store operation.
25046 (legitimate_scaled_address_p): Update use
25047 leigitimate_small_data_address_p.
25048 (arc_print_operand): Likewise.
25049 (arc_legitimate_address_p): Likewise.
25050 (legitimate_small_data_address_p): Likewise.
25052 2020-03-03 Claudiu Zissulescu <claziss@synopsys.com>
25054 * config/arc/arc.md (fmasf4_fpu): Use accl_operand predicate.
25055 (fnmasf4_fpu): Likewise.
25057 2020-03-03 Claudiu Zissulescu <claziss@synopsys.com>
25059 * config/arc/arc.md (adddi3): Early expand the 64bit operation into
25061 (subdi3): Likewise.
25062 (adddi3_i): Remove pattern.
25063 (subdi3_i): Likewise.
25065 2020-03-03 Claudiu Zissulescu <claziss@synopsys.com>
25067 * config/arc/arc.md (eh_return): Add length info.
25069 2020-03-02 David Malcolm <dmalcolm@redhat.com>
25071 * doc/invoke.texi (-fanalyzer-show-duplicate-count): New.
25073 2020-03-02 David Malcolm <dmalcolm@redhat.com>
25075 * doc/invoke.texi (Static Analyzer Options): Add
25076 -Wanalyzer-stale-setjmp-buffer to the list of options enabled
25079 2020-03-02 Uroš Bizjak <ubizjak@gmail.com>
25082 * config/i386/i386.md (movstrict<mode>): Allow only
25083 registers with VALID_INT_MODE_P modes.
25085 2020-03-02 Andrew Stubbs <ams@codesourcery.com>
25087 * config/gcn/gcn-valu.md (dpp_move<mode>): New.
25088 (reduc_insn): Use 'U' and 'B' operand codes.
25089 (reduc_<reduc_op>_scal_<mode>): Allow all types.
25090 (reduc_<reduc_op>_scal_v64di): Delete.
25091 (*<reduc_op>_dpp_shr_<mode>): Allow all 1reg types.
25092 (*plus_carry_dpp_shr_v64si): Change to ...
25093 (*plus_carry_dpp_shr_<mode>): ... this and allow all 1reg int types.
25094 (mov_from_lane63_v64di): Change to ...
25095 (mov_from_lane63_<mode>): ... this, and allow all 64-bit modes.
25096 * config/gcn/gcn.c (gcn_expand_dpp_shr_insn): Increase buffer size.
25097 Support UNSPEC_MOV_DPP_SHR output formats.
25098 (gcn_expand_reduc_scalar): Add "use_moves" reductions.
25099 Add "use_extends" reductions.
25100 (print_operand_address): Add 'I' and 'U' codes.
25101 * config/gcn/gcn.md (unspec): Add UNSPEC_MOV_DPP_SHR.
25103 2020-03-02 Martin Liska <mliska@suse.cz>
25105 * lto-wrapper.c: Fix typo in comment about
25106 C++ standard version.
25108 2020-03-01 Martin Sebor <msebor@redhat.com>
25111 * calls.c (init_attr_rdwr_indices): Correctly handle attribute.
25113 2020-03-01 Martin Sebor <msebor@redhat.com>
25115 PR middle-end/93829
25116 * tree-ssa-strlen.c (count_nonzero_bytes): Set the size to that
25117 of a pointer in the outermost ADDR_EXPRs.
25119 2020-02-28 Jeff Law <law@redhat.com>
25121 * config/v850/v850.h (STATIC_CHAIN_REGNUM): Change to r19.
25122 * config/v850/v850.c (v850_asm_trampoline_template): Update
25125 2020-02-28 Michael Meissner <meissner@linux.ibm.com>
25128 * config/rs6000/vsx.md (vsx_extract_<mode>_<VS_scalar>mode_var):
25131 2020-02-28 Martin Liska <mliska@suse.cz>
25134 * configure.ac: Improve detection of ld_date by requiring
25135 either two dashes or none.
25136 * configure: Regenerate.
25138 2020-02-28 Vladimir Makarov <vmakarov@redhat.com>
25140 PR rtl-optimization/93564
25141 * ira-color.c (assign_hard_reg): Prefer smaller hard regno when we
25142 do not honor reg alloc order.
25144 2020-02-27 Joel Hutton <Joel.Hutton@arm.com>
25147 * config/aarch64/aarch64.c (aarch64_override_options): Fix
25148 misleading warning string.
25150 2020-02-27 Martin Sebor <msebor@redhat.com>
25152 * doc/invoke.texi (-Wbuiltin-declaration-mismatch): Fix a typo.
25154 2020-02-27 Michael Meissner <meissner@linux.ibm.com>
25157 * config/rs6000/vsx.md (vsx_extract_<mode>_var, VSX_D iterator):
25158 Split the insn into two parts. This insn only does variable
25159 extract from a register.
25160 (vsx_extract_<mode>_var_load, VSX_D iterator): New insn, do
25161 variable extract from memory.
25162 (vsx_extract_v4sf_var): Split the insn into two parts. This insn
25163 only does variable extract from a register.
25164 (vsx_extract_v4sf_var_load): New insn, do variable extract from
25166 (vsx_extract_<mode>_var, VSX_EXTRACT_I iterator): Split the insn
25167 into two parts. This insn only does variable extract from a
25169 (vsx_extract_<mode>_var_load, VSX_EXTRACT_I iterator): New insn,
25170 do variable extract from memory.
25172 2020-02-27 Martin Jambor <mjambor@suse.cz>
25173 Feng Xue <fxue@os.amperecomputing.com>
25176 * ipa-cp.c (same_node_or_its_all_contexts_clone_p): Replaced with
25177 new function calls_same_node_or_its_all_contexts_clone_p.
25178 (cgraph_edge_brings_value_p): Use it.
25179 (cgraph_edge_brings_value_p): Likewise.
25180 (self_recursive_pass_through_p): Return false if caller is a clone.
25181 (self_recursive_agg_pass_through_p): Likewise.
25183 2020-02-27 Jan Hubicka <hubicka@ucw.cz>
25185 PR middle-end/92152
25186 * alias.c (ends_tbaa_access_path_p): Break out from ...
25187 (component_uses_parent_alias_set_from): ... here.
25188 * alias.h (ends_tbaa_access_path_p): Declare.
25189 * tree-ssa-alias.c (access_path_may_continue_p): Break out from ...;
25190 handle trailing arrays past end of tbaa access path.
25191 (aliasing_component_refs_p): ... here; likewise.
25192 (nonoverlapping_refs_since_match_p): Track TBAA segment of the access
25193 path; disambiguate also past end of it.
25194 (nonoverlapping_component_refs_p): Use only TBAA segment of the access
25197 2020-02-27 Mihail Ionescu <mihail.ionescu@arm.com>
25199 * (__ARM_NUM_LANES, __arm_lane, __arm_lane_q): Move to the
25200 beginning of the file.
25201 (vcreate_bf16, vcombine_bf16): New.
25202 (vdup_n_bf16, vdupq_n_bf16): New.
25203 (vdup_lane_bf16, vdup_laneq_bf16): New.
25204 (vdupq_lane_bf16, vdupq_laneq_bf16): New.
25205 (vduph_lane_bf16, vduph_laneq_bf16): New.
25206 (vset_lane_bf16, vsetq_lane_bf16): New.
25207 (vget_lane_bf16, vgetq_lane_bf16): New.
25208 (vget_high_bf16, vget_low_bf16): New.
25209 (vreinterpret_bf16_u8, vreinterpretq_bf16_u8): New.
25210 (vreinterpret_bf16_u16, vreinterpretq_bf16_u16): New.
25211 (vreinterpret_bf16_u32, vreinterpretq_bf16_u32): New.
25212 (vreinterpret_bf16_u64, vreinterpretq_bf16_u64): New.
25213 (vreinterpret_bf16_s8, vreinterpretq_bf16_s8): New.
25214 (vreinterpret_bf16_s16, vreinterpretq_bf16_s16): New.
25215 (vreinterpret_bf16_s32, vreinterpretq_bf16_s32): New.
25216 (vreinterpret_bf16_s64, vreinterpretq_bf16_s64): New.
25217 (vreinterpret_bf16_p8, vreinterpretq_bf16_p8): New.
25218 (vreinterpret_bf16_p16, vreinterpretq_bf16_p16): New.
25219 (vreinterpret_bf16_p64, vreinterpretq_bf16_p64): New.
25220 (vreinterpret_bf16_f32, vreinterpretq_bf16_f32): New.
25221 (vreinterpret_bf16_f64, vreinterpretq_bf16_f64): New.
25222 (vreinterpretq_bf16_p128): New.
25223 (vreinterpret_s8_bf16, vreinterpretq_s8_bf16): New.
25224 (vreinterpret_s16_bf16, vreinterpretq_s16_bf16): New.
25225 (vreinterpret_s32_bf16, vreinterpretq_s32_bf16): New.
25226 (vreinterpret_s64_bf16, vreinterpretq_s64_bf16): New.
25227 (vreinterpret_u8_bf16, vreinterpretq_u8_bf16): New.
25228 (vreinterpret_u16_bf16, vreinterpretq_u16_bf16): New.
25229 (vreinterpret_u32_bf16, vreinterpretq_u32_bf16): New.
25230 (vreinterpret_u64_bf16, vreinterpretq_u64_bf16): New.
25231 (vreinterpret_p8_bf16, vreinterpretq_p8_bf16): New.
25232 (vreinterpret_p16_bf16, vreinterpretq_p16_bf16): New.
25233 (vreinterpret_p64_bf16, vreinterpretq_p64_bf16): New.
25234 (vreinterpret_f32_bf16, vreinterpretq_f32_bf16): New.
25235 (vreinterpretq_p128_bf16): New.
25236 * config/arm/arm_neon_builtins.def (VDX): Add V4BF.
25237 (V_elem): Likewise.
25238 (V_elem_l): Likewise.
25239 (VD_LANE): Likewise.
25241 (V_DOUBLE): Likewise.
25242 (VDQX): Add V4BF and V8BF.
25243 (V_two_elem, V_three_elem, V_four_elem): Likewise.
25245 (V_HALF): Likewise.
25246 (V_double_vector_mode): Likewise.
25247 (V_cmp_result): Likewise.
25248 (V_uf_sclr): Likewise.
25249 (V_sz_elem): Likewise.
25250 (Is_d_reg): Likewise.
25251 (V_mode_nunits): Likewise.
25252 * config/arm/neon.md (neon_vdup_lane): Enable for BFloat16.
25254 2020-02-27 Andrew Stubbs <ams@codesourcery.com>
25256 * config/gcn/gcn-valu.md (VEC_SUBDWORD_MODE): New mode iterator.
25257 (<expander><mode>2<exec>): Change modes to VEC_ALL1REG_INT_MODE.
25258 (<expander><mode>3<exec>): Likewise.
25259 (<expander><mode>3): New.
25260 (v<expander><mode>3): New.
25261 (<expander><mode>3): New.
25262 (<expander><mode>3<exec>): Rename to ...
25263 (<expander>v64si3<exec>): ... this, and change modes to V64SI.
25264 * config/gcn/gcn.md (mnemonic): Use '%B' for not.
25266 2020-02-27 Alexandre Oliva <oliva@adacore.com>
25268 * config/vx-common.h (NO_DOLLAR_IN_LABEL, NO_DOT_IN_LABEL): Leave
25271 2020-02-27 Richard Biener <rguenther@suse.de>
25273 PR tree-optimization/93508
25274 * tree-ssa-sccvn.c (vn_reference_lookup_3): Handle _CHK like
25275 non-_CHK variants. Valueize their length arguments.
25277 2020-02-27 Richard Biener <rguenther@suse.de>
25279 PR tree-optimization/93953
25280 * tree-vect-slp.c (slp_copy_subtree): Avoid keeping a reference
25281 to the hash-map entry.
25283 2020-02-27 Andrew Stubbs <ams@codesourcery.com>
25285 * config/gcn/gcn.md (mov<mode>): Add transformations for BI subregs.
25287 2020-02-27 Mark Williams <mwilliams@fb.com>
25289 * dwarf2out.c (file_name_acquire): Call remap_debug_filename.
25290 * lto-opts.c (lto_write_options): Drop -fdebug-prefix-map,
25291 -ffile-prefix-map and -fmacro-prefix-map.
25292 * lto-streamer-out.c: Include file-prefix-map.h.
25293 (lto_output_location): Remap the file part of locations.
25295 2020-02-27 Jakub Jelinek <jakub@redhat.com>
25298 * gimplify.c (gimplify_init_constructor): Don't promote readonly
25299 DECL_REGISTER variables to TREE_STATIC.
25301 PR tree-optimization/93582
25302 PR tree-optimization/93945
25303 * tree-ssa-sccvn.c (vn_reference_lookup_3): Handle memset with
25304 non-zero INTEGER_CST second argument and ref->offset or ref->size
25305 not a multiple of BITS_PER_UNIT.
25307 2020-02-27 Jonathan Wakely <jwakely@redhat.com>
25309 * doc/install.texi (Binaries): Update description of BullFreeware.
25311 2020-02-26 Sandra Loosemore <sandra@codesourcery.com>
25315 * doc/invoke.texi (Option Summary): Re-alphabetize warnings in
25316 C++ Language Options, Warning Options, and Static Analyzer
25317 Options lists. Document negative form of options enabled by
25318 default. Move some things around to more accurately sort
25319 warnings by category.
25320 (C++ Dialect Options, Warning Options, Static Analyzer
25321 Options): Document negative form of options when enabled by
25322 default. Move some things around to more accurately sort
25323 warnings by category. Add some missing index entries.
25324 Light copy-editing.
25326 2020-02-26 Carl Love <cel@us.ibm.com>
25329 * doc/extend.texi (PowerPC AltiVec Built-in Functions available on
25330 ISA 2.07): The builtin-function name __builtin_crypto_vpmsumb is only
25331 for the vector unsigned short arguments. It is also listed as the
25332 name of the built-in for arguments vector unsigned short,
25333 vector unsigned int and vector unsigned long long built-ins. The
25334 name of the builtins for these arguments should be:
25335 __builtin_crypto_vpmsumh, __builtin_crypto_vpmsumw and
25336 __builtin_crypto_vpmsumd respectively.
25338 2020-02-26 Richard Biener <rguenther@suse.de>
25340 * tree-vect-slp.c (vect_print_slp_tree): Also dump ref count
25341 and load permutation.
25343 2020-02-26 Richard Sandiford <richard.sandiford@arm.com>
25345 PR middle-end/93843
25346 * optabs-tree.c (supportable_convert_operation): Reject types with
25349 2020-02-26 David Malcolm <dmalcolm@redhat.com>
25351 * Makefile.in (ANALYZER_OBJS): Add analyzer/bar-chart.o.
25353 2020-02-26 Jakub Jelinek <jakub@redhat.com>
25355 PR tree-optimization/93820
25356 * gimple-ssa-store-merging.c (check_no_overlap): Change RHS_CODE
25357 argument to ALL_INTEGER_CST_P boolean.
25358 (imm_store_chain_info::try_coalesce_bswap): Adjust caller.
25359 (imm_store_chain_info::coalesce_immediate_stores): Likewise. Handle
25360 adjacent INTEGER_CST store into merged_store->only_constants like
25363 2020-02-25 Jakub Jelinek <jakub@redhat.com>
25366 * config/sh/sh.c (expand_cbranchdi4): Fix comment typo, probablity
25368 * cfghooks.c (verify_flow_info): Likewise.
25369 * predict.c (combine_predictions_for_bb): Likewise.
25370 * bb-reorder.c (connect_better_edge_p): Likewise. Fix comment typo,
25371 sucessor -> successor.
25372 (find_traces_1_round): Fix comment typo, destinarion -> destination.
25373 * omp-expand.c (expand_oacc_for): Fix comment typo, sucessors ->
25375 * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Fix dump
25376 message typo, sucessors -> successors.
25378 2020-02-25 Martin Sebor <msebor@redhat.com>
25380 * doc/extend.texi (attribute access): Correct an example.
25382 2020-02-25 Mihail Ionescu <mihail.ionescu@arm.com>
25384 * config/aarch64/aarch64-builtins.c (aarch64_scalar_builtin_types):
25386 (aarch64_init_simd_builtin_scalar_types): Register simd_bf.
25387 (VAR15, VAR16): New.
25388 * config/aarch64/iterators.md (VALLDIF): Enable for V4BF and V8BF.
25389 (VD): Enable for V4BF.
25391 (VQ): Enable for V8BF.
25393 (VQ_NO2E): Likewise.
25394 (VDBL, Vdbl): Add V4BF.
25395 (V_INT_EQUIV, v_int_equiv): Add V4BF and V8BF.
25396 * config/aarch64/arm_neon.h (bfloat16x4x2_t): New typedef.
25397 (bfloat16x8x2_t): Likewise.
25398 (bfloat16x4x3_t): Likewise.
25399 (bfloat16x8x3_t): Likewise.
25400 (bfloat16x4x4_t): Likewise.
25401 (bfloat16x8x4_t): Likewise.
25402 (vcombine_bf16): New.
25403 (vld1_bf16, vld1_bf16_x2): New.
25404 (vld1_bf16_x3, vld1_bf16_x4): New.
25405 (vld1q_bf16, vld1q_bf16_x2): New.
25406 (vld1q_bf16_x3, vld1q_bf16_x4): New.
25407 (vld1_lane_bf16): New.
25408 (vld1q_lane_bf16): New.
25409 (vld1_dup_bf16): New.
25410 (vld1q_dup_bf16): New.
25413 (vld2_dup_bf16): New.
25414 (vld2q_dup_bf16): New.
25417 (vld3_dup_bf16): New.
25418 (vld3q_dup_bf16): New.
25421 (vld4_dup_bf16): New.
25422 (vld4q_dup_bf16): New.
25423 (vst1_bf16, vst1_bf16_x2): New.
25424 (vst1_bf16_x3, vst1_bf16_x4): New.
25425 (vst1q_bf16, vst1q_bf16_x2): New.
25426 (vst1q_bf16_x3, vst1q_bf16_x4): New.
25427 (vst1_lane_bf16): New.
25428 (vst1q_lane_bf16): New.
25436 2020-02-25 Mihail Ionescu <mihail.ionescu@arm.com>
25438 * config/aarch64/iterators.md (VDQF_F16) Add V4BF and V8BF.
25439 (VALL_F16): Likewise.
25440 (VALLDI_F16): Likewise.
25442 (Vetype): Likewise.
25443 (vswap_width_name): Likewise.
25444 (VSWAP_WIDTH): Likewise.
25448 * config/aarch64/arm_neon.h (vset_lane_bf16, vsetq_lane_bf16): New.
25449 (vget_lane_bf16, vgetq_lane_bf16): New.
25450 (vcreate_bf16): New.
25451 (vdup_n_bf16, vdupq_n_bf16): New.
25452 (vdup_lane_bf16, vdup_laneq_bf16): New.
25453 (vdupq_lane_bf16, vdupq_laneq_bf16): New.
25454 (vduph_lane_bf16, vduph_laneq_bf16): New.
25455 (vreinterpret_bf16_u8, vreinterpretq_bf16_u8): New.
25456 (vreinterpret_bf16_u16, vreinterpretq_bf16_u16): New.
25457 (vreinterpret_bf16_u32, vreinterpretq_bf16_u32): New.
25458 (vreinterpret_bf16_u64, vreinterpretq_bf16_u64): New.
25459 (vreinterpret_bf16_s8, vreinterpretq_bf16_s8): New.
25460 (vreinterpret_bf16_s16, vreinterpretq_bf16_s16): New.
25461 (vreinterpret_bf16_s32, vreinterpretq_bf16_s32): New.
25462 (vreinterpret_bf16_s64, vreinterpretq_bf16_s64): New.
25463 (vreinterpret_bf16_p8, vreinterpretq_bf16_p8): New.
25464 (vreinterpret_bf16_p16, vreinterpretq_bf16_p16): New.
25465 (vreinterpret_bf16_p64, vreinterpretq_bf16_p64): New
25466 (vreinterpret_bf16_f16, vreinterpretq_bf16_f16): New
25467 (vreinterpret_bf16_f32, vreinterpretq_bf16_f32): New.
25468 (vreinterpret_bf16_f64, vreinterpretq_bf16_f64): New.
25469 (vreinterpretq_bf16_p128): New.
25470 (vreinterpret_s8_bf16, vreinterpretq_s8_bf16): New.
25471 (vreinterpret_s16_bf16, vreinterpretq_s16_bf16): New.
25472 (vreinterpret_s32_bf16, vreinterpretq_s32_bf16): New.
25473 (vreinterpret_s64_bf16, vreinterpretq_s64_bf16): New.
25474 (vreinterpret_u8_bf16, vreinterpretq_u8_bf16): New.
25475 (vreinterpret_u16_bf16, vreinterpretq_u16_bf16): New.
25476 (vreinterpret_u32_bf16, vreinterpretq_u32_bf16): New.
25477 (vreinterpret_u64_bf16, vreinterpretq_u64_bf16): New.
25478 (vreinterpret_p8_bf16, vreinterpretq_p8_bf16): New.
25479 (vreinterpret_p16_bf16, vreinterpretq_p16_bf16): New.
25480 (vreinterpret_p64_bf16, vreinterpretq_p64_bf16): New.
25481 (vreinterpret_f32_bf16, vreinterpretq_f32_bf16): New.
25482 (vreinterpret_f64_bf16,vreinterpretq_f64_bf16): New.
25483 (vreinterpret_f16_bf16,vreinterpretq_f16_bf16): New.
25484 (vreinterpretq_p128_bf16): New.
25486 2020-02-25 Dennis Zhang <dennis.zhang@arm.com>
25488 * config/arm/arm_neon.h (vbfdot_f32, vbfdotq_f32): New
25489 (vbfdot_lane_f32, vbfdotq_laneq_f32): New.
25490 (vbfdot_laneq_f32, vbfdotq_lane_f32): New.
25491 * config/arm/arm_neon_builtins.def (vbfdot): New entry.
25492 (vbfdot_lanev4bf, vbfdot_lanev8bf): Likewise.
25493 * config/arm/iterators.md (VSF2BF): New attribute.
25494 * config/arm/neon.md (neon_vbfdot<VCVTF:mode>): New entry.
25495 (neon_vbfdot_lanev4bf<VCVTF:mode>): Likewise.
25496 (neon_vbfdot_lanev8bf<VCVTF:mode>): Likewise.
25498 2020-02-25 Christophe Lyon <christophe.lyon@linaro.org>
25500 * config/arm/arm.md (required_for_purecode): New attribute.
25501 (enabled): Handle required_for_purecode.
25502 * config/arm/thumb1.md (thumb1_movsi_insn): Add alternative to
25503 work with -mpure-code.
25505 2020-02-25 Jakub Jelinek <jakub@redhat.com>
25507 PR rtl-optimization/93908
25508 * combine.c (find_split_point): For store into ZERO_EXTRACT, and src
25511 2019-02-25 Eric Botcazou <ebotcazou@adacore.com>
25513 * dwarf2out.c (dwarf2out_size_function): Run in early-DWARF mode.
25515 2020-02-25 Roman Zhuykov <zhroma@ispras.ru>
25517 * doc/install.texi (--enable-checking): Adjust wording.
25519 2020-02-25 Richard Biener <rguenther@suse.de>
25521 PR tree-optimization/93868
25522 * tree-vect-slp.c (slp_copy_subtree): New function.
25523 (vect_attempt_slp_rearrange_stmts): Copy the SLP tree before
25524 re-arranging stmts in it.
25526 2020-02-25 Jakub Jelinek <jakub@redhat.com>
25528 PR middle-end/93874
25529 * passes.c (pass_manager::dump_passes): Create a cgraph node for the
25530 dummy function and remove it at the end.
25532 PR translation/93864
25533 * config/lm32/lm32.c (lm32_setup_incoming_varargs): Fix comment typo
25534 paramter -> parameter.
25535 * config/aarch64/aarch64.c (aarch64_is_extend_from_extract): Likewise.
25536 * ipa-prop.h (struct ipa_agg_replacement_value): Likewise.
25538 2020-02-24 Roman Zhuykov <zhroma@ispras.ru>
25540 * doc/install.texi (--enable-checking): Properly document current
25542 (--enable-stage1-checking): Minor clarification about bootstrap.
25544 2020-02-24 David Malcolm <dmalcolm@redhat.com>
25547 * doc/invoke.texi (-Wnanalyzer-tainted-array-index): Note that
25548 -fanalyzer-checker=taint is also required.
25549 (-fanalyzer-checker=): Note that providing this option enables the
25550 given checker, and doing so may be required for checkers that are
25551 disabled by default.
25553 2020-02-24 David Malcolm <dmalcolm@redhat.com>
25555 * doc/invoke.texi (-fanalyzer-verbosity=): "2" only shows
25556 significant control flow events; add a "3" which shows all
25557 control flow events; the old "3" becomes "4".
25559 2020-02-24 Jakub Jelinek <jakub@redhat.com>
25561 PR tree-optimization/93582
25562 * tree-ssa-sccvn.c (vn_walk_cb_data::push_partial_def): Consider
25563 pd.offset and pd.size to be counted in bits rather than bytes, add
25564 support for maxsizei that is not a multiple of BITS_PER_UNIT and
25565 handle bitfield stores and loads.
25566 (vn_reference_lookup_3): Don't call ranges_known_overlap_p with
25567 uncomparable quantities - bytes vs. bits. Allow push_partial_def
25568 on offsets/sizes that aren't multiple of BITS_PER_UNIT and adjust
25569 pd.offset/pd.size to be counted in bits rather than bytes.
25570 Formatting fix. Rename shadowed len variable to buflen.
25572 2020-02-24 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
25573 Kugan Vivekandarajah <kugan.vivekanandarajah@linaro.org>
25576 * gcc.c (putenv_COLLECT_AS_OPTIONS): New function.
25577 (driver::main): Call putenv_COLLECT_AS_OPTIONS.
25578 * opts-common.c (parse_options_from_collect_gcc_options): New function.
25579 (prepend_xassembler_to_collect_as_options): Likewise.
25580 * opts.h (parse_options_from_collect_gcc_options): Declare prototype.
25581 (prepend_xassembler_to_collect_as_options): Likewise.
25582 * lto-opts.c (lto_write_options): Stream assembler options
25583 in COLLECT_AS_OPTIONS.
25584 * lto-wrapper.c (xassembler_options_error): New static variable.
25585 (get_options_from_collect_gcc_options): Move parsing options code to
25586 parse_options_from_collect_gcc_options and call it.
25587 (merge_and_complain): Validate -Xassembler options.
25588 (append_compiler_options): Handle OPT_Xassembler.
25589 (run_gcc): Append command line -Xassembler options to
25590 collect_gcc_options.
25591 * doc/invoke.texi: Add documentation about using Xassembler
25594 2020-02-24 Kito Cheng <kito.cheng@sifive.com>
25596 * config/riscv/riscv.c (riscv_emit_float_compare): Change the code gen
25598 (riscv_rtx_costs): Update cost model for LTGT.
25600 2020-02-23 Vladimir Makarov <vmakarov@redhat.com>
25602 PR rtl-optimization/93564
25603 * ira-color.c (struct update_cost_queue_elem): New member start.
25604 (queue_update_cost, get_next_update_cost): Add new arg start.
25605 (allocnos_conflict_p): New function.
25606 (update_costs_from_allocno): Add new arg conflict_cost_update_p.
25607 Add checking conflicts with allocnos_conflict_p.
25608 (update_costs_from_prefs, restore_costs_from_copies): Adjust
25609 update_costs_from_allocno calls.
25610 (update_conflict_hard_regno_costs): Add checking conflicts with
25611 allocnos_conflict_p. Adjust calls of queue_update_cost and
25612 get_next_update_cost.
25613 (assign_hard_reg): Adjust calls of queue_update_cost. Add
25615 (bucket_allocno_compare_func): Restore previous version.
25617 2020-02-21 John David Anglin <danglin@gcc.gnu.org>
25619 * config/pa/pa.c (pa_function_value): Fix check for word and
25620 double-word size when handling aggregate return values.
25621 * config/pa/som.h (ASM_DECLARE_FUNCTION_NAME): Fix to indicate
25622 that homogeneous SFmode and DFmode aggregates are passed and returned
25623 in general registers.
25625 2020-02-21 Jakub Jelinek <jakub@redhat.com>
25627 PR translation/93759
25628 * opts.c (print_filtered_help): Translate help before appending
25629 messages to it rather than after that.
25631 2020-02-19 Richard Sandiford <richard.sandiford@arm.com>
25633 PR rtl-optimization/PR92989
25634 * lra-lives.c (process_bb_lives): Restore the original order
25635 of the bb liveness update. Call make_hard_regno_dead for each
25636 register clobbered at the start of an EH receiver.
25638 2020-02-18 Feng Xue <fxue@os.amperecomputing.com>
25641 * ipa-cp.c (self_recursively_generated_p): Mark self-dependent value as
25642 self-recursively generated.
25644 2020-02-21 Iain Sandoe <iain@sandoe.co.uk>
25647 * config/darwin-c.c (pop_field_alignment): Adjust quoting of
25650 2020-02-21 Mihail Ionescu <mihail.ionescu@arm.com>
25652 * doc/sourcebuild.texi (arm_v8_1m_mve_ok):
25653 Document new target supports option.
25655 2020-02-21 Dennis Zhang <dennis.zhang@arm.com>
25657 * config/arm/arm_neon.h (vmmlaq_s32, vmmlaq_u32, vusmmlaq_s32): New.
25658 * config/arm/arm_neon_builtins.def (smmla, ummla, usmmla): New.
25659 * config/arm/iterators.md (MATMUL): New iterator.
25660 (sup): Add UNSPEC_MATMUL_S, UNSPEC_MATMUL_U, and UNSPEC_MATMUL_US.
25661 (mmla_sfx): New attribute.
25662 * config/arm/neon.md (neon_<sup>mmlav16qi): New.
25663 * config/arm/unspecs.md (UNSPEC_MATMUL_S, UNSPEC_MATMUL_U): New.
25664 (UNSPEC_MATMUL_US): New.
25666 2020-02-21 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
25668 * config/arm/arm.md: Prevent scalar shifts from being used when big
25671 2020-02-21 Jan Hubicka <hubicka@ucw.cz>
25672 Richard Biener <rguenther@suse.de>
25674 PR tree-optimization/93586
25675 * tree-ssa-alias.c (nonoverlapping_array_refs_p): Finish array walk
25676 after mismatched array refs; do not sure type size information to
25677 recover from unmatched referneces with !flag_strict_aliasing_p.
25679 2020-02-21 Andrew Stubbs <ams@codesourcery.com>
25681 * config/gcn/gcn-valu.md (gather_load<mode>): Rename to ...
25682 (gather_load<mode>v64si): ... this and set operand 2 to V64SI.
25683 (scatter_store<mode>): Rename to ...
25684 (scatter_store<mode>v64si): ... this and set operand 1 to V64SI.
25685 (scatter<mode>_exec): Delete. Move contents ...
25686 (mask_scatter_store<mode>): ... here, and rename that to ...
25687 (mask_gather_load<mode>v64si): ... this. Set operand 2 to V64SI.
25688 Remove mode conversion.
25689 (mask_gather_load<mode>): Rename to ...
25690 (mask_scatter_store<mode>v64si): ... this. Set operand 1 to V64SI.
25691 Remove mode conversion.
25692 * config/gcn/gcn.c (gcn_expand_scaled_offsets): Remove mode conversion.
25694 2020-02-21 Martin Jambor <mjambor@suse.cz>
25696 PR tree-optimization/93845
25697 * tree-sra.c (verify_sra_access_forest): Only test access size of
25700 2020-02-21 Andrew Stubbs <ams@codesourcery.com>
25702 * config/gcn/gcn.c (gcn_hard_regno_mode_ok): Align VGPR pairs.
25703 * config/gcn/gcn-valu.md (addv64di3): Remove early-clobber.
25704 (addv64di3_exec): Likewise.
25705 (subv64di3): Likewise.
25706 (subv64di3_exec): Likewise.
25707 (addv64di3_zext): Likewise.
25708 (addv64di3_zext_exec): Likewise.
25709 (addv64di3_zext_dup): Likewise.
25710 (addv64di3_zext_dup_exec): Likewise.
25711 (addv64di3_zext_dup2): Likewise.
25712 (addv64di3_zext_dup2_exec): Likewise.
25713 (addv64di3_sext_dup2): Likewise.
25714 (addv64di3_sext_dup2_exec): Likewise.
25715 (<expander>v64di3): Likewise.
25716 (<expander>v64di3_exec): Likewise.
25717 (*<reduc_op>_dpp_shr_v64di): Likewise.
25718 (*plus_carry_dpp_shr_v64di): Likewise.
25719 * config/gcn/gcn.md (adddi3): Likewise.
25720 (addptrdi3): Likewise.
25721 (<expander>di3): Likewise.
25723 2020-02-21 Andrew Stubbs <ams@codesourcery.com>
25725 * config/gcn/gcn-valu.md (vec_seriesv64di): Use gen_vec_duplicatev64di.
25727 2020-02-21 Richard Sandiford <richard.sandiford@arm.com>
25729 * config/aarch64/aarch64.c (aarch64_emit_approx_sqrt): Add SVE
25730 support. Use aarch64_emit_mult instead of emitting multiplication
25731 instructions directly.
25732 * config/aarch64/aarch64-sve.md (sqrt<mode>2, rsqrt<mode>2)
25733 (@aarch64_rsqrte<mode>, @aarch64_rsqrts<mode>): New expanders.
25735 2020-02-21 Richard Sandiford <richard.sandiford@arm.com>
25737 * config/aarch64/aarch64.c (aarch64_emit_mult): New function.
25738 (aarch64_emit_approx_div): Add SVE support. Use aarch64_emit_mult
25739 instead of emitting multiplication instructions directly.
25740 * config/aarch64/iterators.md (SVE_COND_FP_BINARY_OPTAB): New iterator.
25741 * config/aarch64/aarch64-sve.md (div<mode>3, @aarch64_frecpe<mode>)
25742 (@aarch64_frecps<mode>): New expanders.
25744 2020-02-21 Richard Sandiford <richard.sandiford@arm.com>
25746 * config/aarch64/aarch64-protos.h (AARCH64_APPROX_MODE): Operate
25747 on and produce uint64_ts rather than ints.
25748 (AARCH64_APPROX_NONE, AARCH64_APPROX_ALL): Change to uint64_ts.
25749 (cpu_approx_modes): Change the fields from unsigned int to uint64_t.
25751 2020-02-21 Richard Sandiford <richard.sandiford@arm.com>
25753 * config/aarch64/aarch64.c (aarch64_emit_approx_sqrt): Don't create
25754 an unused xmsk register when handling approximate rsqrt.
25756 2020-02-21 Richard Sandiford <richard.sandiford@arm.com>
25758 * config/aarch64/aarch64.c (aarch64_emit_approx_sqrt): Fix inverted
25759 flag_finite_math_only condition.
25761 2020-02-20 Uroš Bizjak <ubizjak@gmail.com>
25764 * config/i386/mmx.md (*vec_extractv2sf_1): Match source operand
25765 to destination operand for shufps alternative.
25766 (*vec_extractv2si_1): Ditto.
25768 2020-02-20 Peter Bergner <bergner@linux.ibm.com>
25771 * config/rs6000/rs6000.c (rs6000_legitimate_address_p): Handle VSX
25774 2020-02-20 Martin Liska <mliska@suse.cz>
25776 PR translation/93831
25777 * config/darwin.c (darwin_override_options): Change 64b to 64-bit mode.
25779 2020-02-20 Martin Liska <mliska@suse.cz>
25781 PR translation/93830
25782 * common/config/avr/avr-common.c: Remote trailing "|".
25784 2020-02-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
25786 * collect2.c (maybe_run_lto_and_relink): Fix typo in
25789 2020-02-19 Richard Sandiford <richard.sandiford@arm.com>
25791 PR tree-optimization/93767
25792 * tree-vect-data-refs.c (vect_compile_time_alias): Remove the
25793 access-size bias from the offset calculations for negative strides.
25795 2020-02-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
25797 * collect2.c (c_file, o_file): Make const again.
25798 (ldout,lderrout, dump_ld_file): Remove.
25799 (tool_cleanup): Avoid calling not signal-safe functions.
25800 (maybe_run_lto_and_relink): Avoid possible signal handler
25801 access to unintialzed memory (lto_o_files).
25802 (main): Avoid leaking temp files in $TMPDIR.
25803 Initialize c_file/o_file with concat, which avoids exposing
25804 uninitialized memory to signal handler, which calls unlink(!).
25805 Avoid calling maybe_unlink when the main function returns,
25806 since the atexit handler is already doing this.
25807 * collect2.h (dump_ld_file, ldout, lderrout): Remove.
25809 2020-02-19 Martin Jambor <mjambor@suse.cz>
25811 PR tree-optimization/93776
25812 * tree-sra.c (create_access): Do not create zero size accesses.
25813 (get_access_for_expr): Do not search for zero sized accesses.
25815 2020-02-19 Martin Jambor <mjambor@suse.cz>
25817 PR tree-optimization/93667
25818 * tree-sra.c (scalarizable_type_p): Return false if record fields
25819 do not follow wach other.
25821 2020-01-21 Kito Cheng <kito.cheng@sifive.com>
25823 * config/riscv/riscv.c (riscv_output_move) Using fmv.x.w/fmv.w.x
25824 rather than fmv.x.s/fmv.s.x.
25826 2020-02-18 James Greenhalgh <james.greenhalgh@arm.com>
25828 * config/aarch64/aarch64-simd-builtins.def
25829 (intrinsic_vec_smult_lo_): New.
25830 (intrinsic_vec_umult_lo_): Likewise.
25831 (vec_widen_smult_hi_): Likewise.
25832 (vec_widen_umult_hi_): Likewise.
25833 * config/aarch64/aarch64-simd.md
25834 (aarch64_intrinsic_vec_<su>mult_lo_<mode>): New.
25835 * config/aarch64/arm_neon.h (vmull_high_s8): Use intrinsics.
25836 (vmull_high_s16): Likewise.
25837 (vmull_high_s32): Likewise.
25838 (vmull_high_u8): Likewise.
25839 (vmull_high_u16): Likewise.
25840 (vmull_high_u32): Likewise.
25841 (vmull_s8): Likewise.
25842 (vmull_s16): Likewise.
25843 (vmull_s32): Likewise.
25844 (vmull_u8): Likewise.
25845 (vmull_u16): Likewise.
25846 (vmull_u32): Likewise.
25848 2020-02-18 Martin Liska <mliska@suse.cz>
25850 * value-prof.c (stream_out_histogram_value): Restore LTO PGO
25851 bootstrap by missing removal of invalid sanity check.
25853 2020-02-18 Martin Liska <mliska@suse.cz>
25856 * ipa-icf-gimple.c (func_checker::compare_gimple_assign):
25857 Always compare LHS of gimple_assign.
25859 2020-02-18 Martin Liska <mliska@suse.cz>
25862 * cgraph.c (cgraph_node::verify_node): Verify MALLOC attribute
25863 and return type of functions.
25864 * ipa-param-manipulation.c (ipa_param_adjustments::adjust_decl):
25865 Drop MALLOC attribute for void functions.
25866 * ipa-pure-const.c (funct_state_summary_t::duplicate): Drop
25867 malloc_state for a new VOID clone.
25869 2020-02-18 Martin Liska <mliska@suse.cz>
25872 * common.opt: Add -fprofile-reproducibility.
25873 * doc/invoke.texi: Document it.
25874 * value-prof.c (dump_histogram_value):
25875 Document and support behavior for counters[0]
25876 being a negative value.
25877 (get_nth_most_common_value): Handle negative
25878 counters[0] in respect to flag_profile_reproducible.
25880 2020-02-18 Jakub Jelinek <jakub@redhat.com>
25883 * cgraph.c (verify_speculative_call): Use speculative_id instead of
25884 speculative_uid in messages. Remove trailing whitespace from error
25885 message. Use num_speculative_call_targets instead of
25886 num_speculative_targets in a message.
25887 (cgraph_node::verify_node): Use call_stmt instead of cal_stmt in
25888 edge messages and stmt instead of cal_stmt in reference message.
25890 PR tree-optimization/93780
25891 * tree-ssa.c (non_rewritable_lvalue_p): Check valid_vector_subparts_p
25892 before calling build_vector_type.
25893 (execute_update_addresses_taken): Likewise.
25896 * params.opt (-param=ipa-max-switch-predicate-bounds=): Fix help
25897 typo, functoin -> function.
25898 * tree.c (free_lang_data_in_decl): Fix comment typo,
25899 functoin -> function.
25900 * ipa-visibility.c (cgraph_externally_visible_p): Likewise.
25902 2020-02-17 David Malcolm <dmalcolm@redhat.com>
25904 * diagnostic.c (print_any_cwe): Don't call get_cwe_url if URLs
25906 (print_option_information): Don't call get_option_url if URLs
25909 2020-02-17 Alexandre Oliva <oliva@adacore.com>
25911 * tree-emutls.c (new_emutls_decl, emutls_common_1): Complete
25912 handling of register_common-less targets.
25914 2020-02-17 Martin Liska <mliska@suse.cz>
25917 * ipa-devirt.c (odr_types_equivalent_p): Fix grammar.
25919 2020-02-17 Martin Liska <mliska@suse.cz>
25921 PR translation/93755
25922 * config/rs6000/rs6000.c (rs6000_option_override_internal):
25925 2020-02-17 Martin Liska <mliska@suse.cz>
25928 * config/rx/elf.opt: Fix typo.
25930 2020-02-17 Richard Biener <rguenther@suse.de>
25933 * opts-global.c (print_ignored_options): Use inform and
25936 2020-02-17 Jiufu Guo <guojiufu@linux.ibm.com>
25939 * config/rs6000/rs6000.md (untyped_call): Add emit_clobber.
25941 2020-02-16 Uroš Bizjak <ubizjak@gmail.com>
25944 * config/i386/i386.md (atan2xf3): Swap operands 1 and 2.
25945 (atan2<mode>3): Update operand order in the call to gen_atan2xf3.
25947 2020-02-15 Jason Merrill <jason@redhat.com>
25949 * doc/invoke.texi (C Dialect Options): Add -std=c++20.
25951 2020-02-15 Jakub Jelinek <jakub@redhat.com>
25953 PR tree-optimization/93744
25954 * match.pd (((m1 >/</>=/<= m2) * d -> (m1 >/</>=/<= m2) ? d : 0,
25955 A - ((A - B) & -(C cmp D)) -> (C cmp D) ? B : A,
25956 A + ((B - A) & -(C cmp D)) -> (C cmp D) ? B : A): For GENERIC, make
25957 sure @2 in the first and @1 in the other patterns has no side-effects.
25959 2020-02-15 David Malcolm <dmalcolm@redhat.com>
25960 Bernd Edlinger <bernd.edlinger@hotmail.de>
25964 * config.in (DIAGNOSTICS_URLS_DEFAULT): New define.
25965 * configure.ac (--with-diagnostics-urls): New configuration
25966 option, based on --with-diagnostics-color.
25967 (DIAGNOSTICS_URLS_DEFAULT): New define.
25968 * config.h: Regenerate.
25969 * configure: Regenerate.
25970 * diagnostic.c (diagnostic_urls_init): Handle -1 for
25971 DIAGNOSTICS_URLS_DEFAULT from configure-time
25972 --with-diagnostics-urls=auto-if-env by querying for a GCC_URLS
25973 and TERM_URLS environment variable.
25974 * diagnostic-url.h (diagnostic_url_format): New enum type.
25975 (diagnostic_urls_enabled_p): rename to...
25976 (determine_url_format): ... this, and change return type.
25977 * diagnostic-color.c (parse_env_vars_for_urls): New helper function.
25978 (auto_enable_urls): Disable URLs on xfce4-terminal, gnome-terminal,
25979 the linux console, and mingw.
25980 (diagnostic_urls_enabled_p): rename to...
25981 (determine_url_format): ... this, and adjust.
25982 * pretty-print.h (pretty_printer::show_urls): rename to...
25983 (pretty_printer::url_format): ... this, and change to enum.
25984 * pretty-print.c (pretty_printer::pretty_printer,
25985 pp_begin_url, pp_end_url, test_urls): Adjust.
25986 * doc/install.texi (--with-diagnostics-urls): Document the new
25987 configuration option.
25988 (--with-diagnostics-color): Document the existing interaction
25989 with GCC_COLORS better.
25990 * doc/invoke.texi (-fdiagnostics-urls): Add GCC_URLS and TERM_URLS
25991 vindex reference. Update description of defaults based on the above.
25992 (-fdiagnostics-color): Update description of how -fdiagnostics-color
25993 interacts with GCC_COLORS.
25995 2020-02-14 Eric Botcazou <ebotcazou@adacore.com>
25998 * config/sparc/sparc.c (eligible_for_call_delay): Test HAVE_GNU_LD in
25999 conjunction with TARGET_GNU_TLS in early return.
26001 2020-02-14 Alexander Monakov <amonakov@ispras.ru>
26003 * rtlanal.c (rtx_cost): Handle a SET up front. Avoid division if
26004 the mode is not wider than UNITS_PER_WORD.
26006 2020-02-14 Martin Jambor <mjambor@suse.cz>
26008 PR tree-optimization/93516
26009 * tree-sra.c (propagate_subaccesses_from_rhs): Do not create
26010 access of the same type as the parent.
26011 (propagate_subaccesses_from_lhs): Likewise.
26013 2020-02-14 Hongtao Liu <hongtao.liu@intel.com>
26016 * config/i386/avx512vbmi2intrin.h
26017 (_mm512_shrdi_epi16, _mm512_mask_shrdi_epi16,
26018 _mm512_maskz_shrdi_epi16, _mm512_shrdi_epi32,
26019 _mm512_mask_shrdi_epi32, _mm512_maskz_shrdi_epi32,
26020 _m512_shrdi_epi64, _m512_mask_shrdi_epi64,
26021 _m512_maskz_shrdi_epi64, _mm512_shldi_epi16,
26022 _mm512_mask_shldi_epi16, _mm512_maskz_shldi_epi16,
26023 _mm512_shldi_epi32, _mm512_mask_shldi_epi32,
26024 _mm512_maskz_shldi_epi32, _mm512_shldi_epi64,
26025 _mm512_mask_shldi_epi64, _mm512_maskz_shldi_epi64): Fix typo
26026 of lacking a closing parenthesis.
26027 * config/i386/avx512vbmi2vlintrin.h
26028 (_mm256_shrdi_epi16, _mm256_mask_shrdi_epi16,
26029 _mm256_maskz_shrdi_epi16, _mm256_shrdi_epi32,
26030 _mm256_mask_shrdi_epi32, _mm256_maskz_shrdi_epi32,
26031 _m256_shrdi_epi64, _m256_mask_shrdi_epi64,
26032 _m256_maskz_shrdi_epi64, _mm256_shldi_epi16,
26033 _mm256_mask_shldi_epi16, _mm256_maskz_shldi_epi16,
26034 _mm256_shldi_epi32, _mm256_mask_shldi_epi32,
26035 _mm256_maskz_shldi_epi32, _mm256_shldi_epi64,
26036 _mm256_mask_shldi_epi64, _mm256_maskz_shldi_epi64,
26037 _mm_shrdi_epi16, _mm_mask_shrdi_epi16,
26038 _mm_maskz_shrdi_epi16, _mm_shrdi_epi32,
26039 _mm_mask_shrdi_epi32, _mm_maskz_shrdi_epi32,
26040 _mm_shrdi_epi64, _mm_mask_shrdi_epi64,
26041 _m_maskz_shrdi_epi64, _mm_shldi_epi16,
26042 _mm_mask_shldi_epi16, _mm_maskz_shldi_epi16,
26043 _mm_shldi_epi32, _mm_mask_shldi_epi32,
26044 _mm_maskz_shldi_epi32, _mm_shldi_epi64,
26045 _mm_mask_shldi_epi64, _mm_maskz_shldi_epi64): Ditto.
26047 2020-02-13 H.J. Lu <hongjiu.lu@intel.com>
26050 * config/i386/i386.c (ix86_trampoline_init): Skip ENDBR32 at
26051 the target function entry.
26053 2020-02-13 Claudiu Zissulescu <claziss@synopsys.com>
26055 * common/config/arc/arc-common.c (arc_option_optimization_table):
26056 Disable if-conversion step when optimized for size.
26058 2020-02-13 Claudiu Zissulescu <claziss@synopsys.com>
26060 * config/arc/arc.c (arc_conditional_register_usage): R0-R3 and
26061 R12-R15 are always in ARCOMPACT16_REGS register class.
26062 * config/arc/arc.opt (mq-class): Deprecate.
26063 * config/arc/constraint.md ("q"): Remove dependency on mq-class
26065 * doc/invoke.texi (mq-class): Update text.
26066 * common/config/arc/arc-common.c (arc_option_optimization_table):
26069 2020-02-13 Claudiu Zissulescu <claziss@synopsys.com>
26071 * config/arc/arc.c (arc_insn_cost): New function.
26072 (TARGET_INSN_COST): Define.
26073 * config/arc/arc.md (cost): New attribute.
26074 (add_n): Use arc_nonmemory_operand.
26075 (ashlsi3_insn): Likewise, also update constraints.
26076 (ashrsi3_insn): Likewise.
26077 (rotrsi3): Likewise.
26078 (add_shift): Likewise.
26079 * config/arc/predicates.md (arc_nonmemory_operand): New predicate.
26081 2020-02-13 Claudiu Zissulescu <claziss@synopsys.com>
26083 * config/arc/arc.md (mulsidi_600): Correctly select mlo/mhi
26085 (umulsidi_600): Likewise.
26087 2020-02-13 Jakub Jelinek <jakub@redhat.com>
26090 * config/i386/avx512bitalgintrin.h (_mm512_mask_popcnt_epi8,
26091 _mm512_mask_popcnt_epi16, _mm256_mask_popcnt_epi8,
26092 _mm256_mask_popcnt_epi16, _mm_mask_popcnt_epi8,
26093 _mm_mask_popcnt_epi16): Rename __B argument to __A and __A to __W,
26094 pass __A to the builtin followed by __W instead of __A followed by
26096 * config/i386/avx512vpopcntdqintrin.h (_mm512_mask_popcnt_epi32,
26097 _mm512_mask_popcnt_epi64): Likewise.
26098 * config/i386/avx512vpopcntdqvlintrin.h (_mm_mask_popcnt_epi32,
26099 _mm256_mask_popcnt_epi32, _mm_mask_popcnt_epi64,
26100 _mm256_mask_popcnt_epi64): Likewise.
26102 PR tree-optimization/93582
26103 * fold-const.h (shift_bytes_in_array_left,
26104 shift_bytes_in_array_right): Declare.
26105 * fold-const.c (shift_bytes_in_array_left,
26106 shift_bytes_in_array_right): New function, moved from
26107 gimple-ssa-store-merging.c, no longer static.
26108 * gimple-ssa-store-merging.c (shift_bytes_in_array): Move
26109 to gimple-ssa-store-merging.c and rename to shift_bytes_in_array_left.
26110 (shift_bytes_in_array_right): Move to gimple-ssa-store-merging.c.
26111 (encode_tree_to_bitpos): Use shift_bytes_in_array_left instead of
26112 shift_bytes_in_array.
26113 (verify_shift_bytes_in_array): Rename to ...
26114 (verify_shift_bytes_in_array_left): ... this. Use
26115 shift_bytes_in_array_left instead of shift_bytes_in_array.
26116 (store_merging_c_tests): Call verify_shift_bytes_in_array_left
26117 instead of verify_shift_bytes_in_array.
26118 * tree-ssa-sccvn.c (vn_reference_lookup_3): For native_encode_expr
26119 / native_interpret_expr where the store covers all needed bits,
26120 punt on PDP-endian, otherwise allow all involved offsets and sizes
26121 not to be byte-aligned.
26124 * config/i386/sse.md (k<code><mode>): Drop mode from last operand and
26125 use const_0_to_255_operand predicate instead of immediate_operand.
26126 (avx512dq_fpclass<mode><mask_scalar_merge_name>,
26127 avx512dq_vmfpclass<mode><mask_scalar_merge_name>,
26128 vgf2p8affineinvqb_<mode><mask_name>,
26129 vgf2p8affineqb_<mode><mask_name>): Drop mode from
26130 const_0_to_255_operand predicated operands.
26132 2020-02-12 Jeff Law <law@redhat.com>
26134 * config/h8300/h8300.md (comparison shortening peepholes): Use
26135 a mode iterator to merge the HImode and SImode peepholes.
26137 2020-02-12 Jakub Jelinek <jakub@redhat.com>
26139 PR middle-end/93663
26140 * real.c (is_even): Make static. Function comment fix.
26141 (is_halfway_below): Make static, don't assert R is not inf/nan,
26142 instead return false for those. Small formatting fixes.
26144 2020-02-12 Martin Sebor <msebor@redhat.com>
26146 PR middle-end/93646
26147 * tree-ssa-strlen.c (handle_builtin_stxncpy): Rename...
26148 (handle_builtin_stxncpy_strncat): ...to this. Change first argument.
26149 Issue only -Wstringop-overflow strncat, never -Wstringop-truncation.
26150 (strlen_check_and_optimize_call): Adjust callee name.
26152 2020-02-12 Jeff Law <law@redhat.com>
26154 * config/h8300/h8300.md (comparison shortening peepholes): Drop
26155 (and (xor)) variant. Combine other two into single peephole.
26157 2020-02-12 Wilco Dijkstra <wdijkstr@arm.com>
26159 PR rtl-optimization/93565
26160 * config/aarch64/aarch64.c (aarch64_rtx_costs): Add CTZ costs.
26162 2020-02-12 Wilco Dijkstra <wdijkstr@arm.com>
26164 * config/aarch64/aarch64-simd.md
26165 (aarch64_zero_extend<GPI:mode>_reduc_plus_<VDQV_E:mode>): New pattern.
26166 * config/aarch64/aarch64.md (popcount<mode>2): Use it instead of
26167 generating separate ADDV and zero_extend patterns.
26168 * config/aarch64/iterators.md (VDQV_E): New iterator.
26170 2020-02-12 Jeff Law <law@redhat.com>
26172 * config/h8300/h8300.md (cpymemsi, movmd): Remove dead patterns,
26173 expanders, splits, etc.
26174 (movmd_internal_<mode>, movmd splitter, movstr, movsd): Likewise.
26175 (stpcpy_internal_<mode>, stpcpy splitter): Likewise.
26176 (peepholes to convert QI/HI mode pushes to SI mode pushes): Likewise.
26177 * config/h8300/h8300.c (h8300_swap_into_er6): Remove unused function.
26178 (h8300_swap_out_of_er6, h8sx_emit_movmd): Likewise
26179 * config/h8300/h8300-protos.h (h8300_swap_into_er6): Remove unused
26180 function prototype.
26181 (h8300_swap_out_of_er6, h8sx_emit_movmd): Likewise.
26183 2020-02-12 Jakub Jelinek <jakub@redhat.com>
26186 * config/i386/sse.md (VI48F_256_DQ): New mode iterator.
26187 (avx512vl_vextractf128<mode>): Use it instead of VI48F_256. Remove
26188 TARGET_AVX512DQ from condition.
26189 (vec_extract_lo_<mode><mask_name>): Use <mask_avx512dq_condition>
26190 instead of <mask_mode512bit_condition> in condition. If
26191 TARGET_AVX512DQ is false, emit vextract*64x4 instead of
26193 (vec_extract_lo_<mode><mask_name>): Drop <mask_avx512dq_condition>
26196 2020-02-12 Kewen Lin <linkw@gcc.gnu.org>
26199 * ira.c (combine_and_move_insns): Skip multiple_sets def_insn.
26201 2020-02-12 Segher Boessenkool <segher@kernel.crashing.org>
26203 * config/rs6000/rs6000.c (rs6000_debug_print_mode): Don't use sizeof
26204 where strlen is more legible.
26205 (rs6000_builtin_vectorized_libmass): Ditto.
26206 (rs6000_print_options_internal): Ditto.
26208 2020-02-11 Martin Sebor <msebor@redhat.com>
26210 PR tree-optimization/93683
26211 * tree-ssa-alias.c (stmt_kills_ref_p): Avoid using LHS when not set.
26213 2020-02-11 Michael Meissner <meissner@linux.ibm.com>
26215 * config/rs6000/predicates.md (cint34_operand): Rename the
26216 -mprefixed-addr option to be -mprefixed.
26217 * config/rs6000/rs6000-cpus.def (ISA_FUTURE_MASKS_SERVER): Rename
26218 the -mprefixed-addr option to be -mprefixed.
26219 (OTHER_FUTURE_MASKS): Likewise.
26220 (POWERPC_MASKS): Likewise.
26221 * config/rs6000/rs6000.c (rs6000_option_override_internal): Rename
26222 the -mprefixed-addr option to be -mprefixed. Change error
26223 messages to refer to -mprefixed.
26224 (num_insns_constant_gpr): Rename the -mprefixed-addr option to be
26226 (rs6000_legitimate_offset_address_p): Likewise.
26227 (rs6000_mode_dependent_address): Likewise.
26228 (rs6000_opt_masks): Change the spelling of "-mprefixed-addr" to be
26229 "-mprefixed" for target attributes and pragmas.
26230 (address_to_insn_form): Rename the -mprefixed-addr option to be
26232 (rs6000_adjust_insn_length): Likewise.
26233 * config/rs6000/rs6000.h (FINAL_PRESCAN_INSN): Rename the
26234 -mprefixed-addr option to be -mprefixed.
26235 (ASM_OUTPUT_OPCODE): Likewise.
26236 * config/rs6000/rs6000.md (prefixed insn attribute): Rename the
26237 -mprefixed-addr option to be -mprefixed.
26238 * config/rs6000/rs6000.opt (-mprefixed): Rename the
26239 -mprefixed-addr option to be prefixed. Change the option from
26240 being undocumented to being documented.
26241 * doc/invoke.texi (RS/6000 and PowerPC Options): Document the
26242 -mprefixed option. Update the -mpcrel documentation to mention
26245 2020-02-11 Hans-Peter Nilsson <hp@axis.com>
26247 * ira-conflicts.c (print_hard_reg_set): Correct output for sets
26248 including FIRST_PSEUDO_REGISTER - 1.
26249 * ira-color.c (print_hard_reg_set): Ditto.
26251 2020-02-11 Stam Markianos-Wright <stam.markianos-wright@arm.com>
26253 * config/arm/arm-builtins.c (enum arm_type_qualifiers):
26254 (USTERNOP_QUALIFIERS): New define.
26255 (USMAC_LANE_QUADTUP_QUALIFIERS): New define.
26256 (SUMAC_LANE_QUADTUP_QUALIFIERS): New define.
26257 (arm_expand_builtin_args): Add case ARG_BUILTIN_LANE_QUADTUP_INDEX.
26258 (arm_expand_builtin_1): Add qualifier_lane_quadtup_index.
26259 * config/arm/arm_neon.h (vusdot_s32): New.
26260 (vusdot_lane_s32): New.
26261 (vusdotq_lane_s32): New.
26262 (vsudot_lane_s32): New.
26263 (vsudotq_lane_s32): New.
26264 * config/arm/arm_neon_builtins.def (usdot, usdot_lane,sudot_lane): New.
26265 * config/arm/iterators.md (DOTPROD_I8MM): New.
26266 (sup, opsuffix): Add <us/su>.
26267 * config/arm/neon.md (neon_usdot, <us/su>dot_lane: New.
26268 * config/arm/unspecs.md (UNSPEC_DOT_US, UNSPEC_DOT_SU): New.
26270 2020-02-11 Richard Biener <rguenther@suse.de>
26272 PR tree-optimization/93661
26273 PR tree-optimization/93662
26274 * tree-ssa-sccvn.c (vn_reference_lookup_3): Properly guard
26275 tree_to_poly_int64.
26276 * tree-sra.c (get_access_for_expr): Likewise.
26278 2020-02-10 Jakub Jelinek <jakub@redhat.com>
26281 * config/i386/sse.md (VI_256_AVX2): New mode iterator.
26282 (vcond_mask_<mode><sseintvecmodelower>): Use it instead of VI_256.
26283 Change condition from TARGET_AVX2 to TARGET_AVX.
26285 2020-02-10 Iain Sandoe <iain@sandoe.co.uk>
26288 * config/darwin-c.c (darwin_cfstring_ref_p): Fix up last
26289 argument of strncmp.
26291 2020-02-10 Hans-Peter Nilsson <hp@axis.com>
26293 Try to generate zero-based comparisons.
26294 * config/cris/cris.c (cris_reduce_compare): New function.
26295 * config/cris/cris-protos.h (cris_reduce_compare): Add prototype.
26296 * config/cris/cris.md ("cbranch<mode>4", "cbranchdi4", "cstoredi4")
26297 (cstore<mode>4"): Apply cris_reduce_compare in expanders.
26299 2020-02-10 Richard Earnshaw <rearnsha@arm.com>
26302 * config/arm/arm.md (movsi_compare0): Allow SP as a source register
26303 in Thumb state and also as a destination in Arm state. Add T16
26306 2020-02-10 Hans-Peter Nilsson <hp@axis.com>
26308 * md.texi (Define Subst): Match closing paren in example.
26310 2020-02-10 Jakub Jelinek <jakub@redhat.com>
26314 * config/i386/i386.c (x86_64_elf_section_type_flags): Fix up last
26315 arguments of strncmp.
26317 2020-02-10 Feng Xue <fxue@os.amperecomputing.com>
26320 * ipa-cp.c (ipcp_lattice::add_value): Add source with same call edge
26321 but different source value.
26322 (adjust_callers_for_value_intersection): New function.
26323 (gather_edges_for_value): Adjust order of callers to let a
26324 non-self-recursive caller be the first element.
26325 (self_recursive_pass_through_p): Add a new parameter "simple", and
26326 check generalized self-recursive pass-through jump function.
26327 (self_recursive_agg_pass_through_p): Likewise.
26328 (find_more_scalar_values_for_callers_subset): Compute value from
26329 pass-through jump function for self-recursive.
26330 (intersect_with_plats): Cleanup previous implementation code for value
26331 itersection with self-recursive call edge.
26332 (intersect_with_agg_replacements): Likewise.
26333 (intersect_aggregates_with_edge): Deduce value from pass-through jump
26334 function for self-recursive call edge. Cleanup previous implementation
26335 code for value intersection with self-recursive call edge.
26336 (decide_whether_version_node): Remove dead callers and adjust order
26337 to let a non-self-recursive caller be the first element.
26339 2020-02-09 Uroš Bizjak <ubizjak@gmail.com>
26341 * recog.c: Move pass_split_before_sched2 code in front of
26342 pass_split_before_regstack.
26343 (pass_data_split_before_sched2): Rename pass to split3 from split4.
26344 (pass_data_split_before_regstack): Rename pass to split4 from split3.
26345 (rest_of_handle_split_before_sched2): Remove.
26346 (pass_split_before_sched2::execute): Unconditionally call
26348 (enable_split_before_sched2): New function.
26349 (pass_split_before_sched2::gate): Use enable_split_before_sched2.
26350 (pass_split_before_regstack::gate): Ditto.
26351 * config/nds32/nds32.c (nds32_split_double_word_load_store_p):
26352 Update name check for renamed split4 pass.
26353 * config/sh/sh.c (register_sh_passes): Update pass insertion
26354 point for renamed split4 pass.
26356 2020-02-09 Jakub Jelinek <jakub@redhat.com>
26358 * gimplify.c (gimplify_adjust_omp_clauses_1): Promote
26359 DECL_IN_CONSTANT_POOL variables into "omp declare target" to avoid
26360 copying them around between host and target.
26362 2020-02-08 Andrew Pinski <apinski@marvell.com>
26365 * config/aarch64/aarch64-simd.md (movmisalign<mode>): Check
26366 STRICT_ALIGNMENT also.
26368 2020-02-08 Jim Wilson <jimw@sifive.com>
26371 * config/riscv/riscv.h (HARD_REGNO_CALLER_SAVE_MODE): Define.
26373 2020-02-08 Uroš Bizjak <ubizjak@gmail.com>
26374 Jakub Jelinek <jakub@redhat.com>
26377 * config/i386/i386.h (CALL_USED_REGISTERS): Make
26378 xmm16-xmm31 call-used even in 64-bit ms-abi.
26380 2020-02-07 Dennis Zhang <dennis.zhang@arm.com>
26382 * config/aarch64/aarch64-simd-builtins.def (simd_smmla): New entry.
26383 (simd_ummla, simd_usmmla): Likewise.
26384 * config/aarch64/aarch64-simd.md (aarch64_simd_<sur>mmlav16qi): New.
26385 * config/aarch64/arm_neon.h (vmmlaq_s32, vmmlaq_u32): New.
26386 (vusmmlaq_s32): New.
26388 2020-02-07 Richard Biener <rguenther@suse.de>
26390 PR middle-end/93519
26391 * tree-inline.c (fold_marked_statements): Do a PRE walk,
26392 skipping unreachable regions.
26393 (optimize_inline_calls): Skip folding stmts when we didn't
26396 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
26399 * config/i386/i386.c (function_arg_ms_64): Add a type argument.
26400 Don't return aggregates with only SFmode and DFmode in SSE
26402 (ix86_function_arg): Pass arg.type to function_arg_ms_64.
26404 2020-02-07 Jakub Jelinek <jakub@redhat.com>
26407 * config/rs6000/rs6000-logue.c
26408 (rs6000_emit_probe_stack_range_stack_clash): Always use gen_add3_insn,
26409 if it fails, move rs into end_addr and retry. Add
26410 REG_FRAME_RELATED_EXPR note whenever it returns more than one insn or
26411 the insn pattern doesn't describe well what exactly happens to
26415 * config/i386/predicates.md (avx_identity_operand): Remove.
26416 * config/i386/sse.md (*avx_vec_concat<mode>_1): Remove.
26417 (avx_<castmode><avxsizesuffix>_<castmode>,
26418 avx512f_<castmode><avxsizesuffix>_256<castmode>): Change patterns to
26419 a VEC_CONCAT of the operand and UNSPEC_CAST.
26420 (avx512f_<castmode><avxsizesuffix>_<castmode>): Change pattern to
26421 a VEC_CONCAT of VEC_CONCAT of the operand and UNSPEC_CAST with
26425 * config/i386/i386.c (ix86_lea_outperforms): Make sure to clear
26426 recog_data.insn if distance_non_agu_define changed it.
26428 2020-02-06 Michael Meissner <meissner@linux.ibm.com>
26431 * config/rs6000/rs6000.c (reg_to_non_prefixed): Before ISA 3.0
26432 we only had X-FORM (reg+reg) addressing for vectors. Also before
26433 ISA 3.0, we only had X-FORM addressing for scalars in the
26434 traditional Altivec registers.
26436 2020-02-06 <zhongyunde@huawei.com>
26437 Vladimir Makarov <vmakarov@redhat.com>
26439 PR rtl-optimization/93561
26440 * lra-assigns.c (spill_for): Check that tested hard regno is not out of
26441 hard register range.
26443 2020-02-06 Richard Sandiford <richard.sandiford@arm.com>
26445 * config/aarch64/aarch64.md (aarch64_movk<mode>): Add a type
26448 2020-02-06 Segher Boessenkool <segher@kernel.crashing.org>
26450 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Handle the case
26451 where the low and the high 32 bits are equal to each other specially,
26452 with an rldimi instruction.
26454 2020-02-06 Mihail Ionescu <mihail.ionescu@arm.com>
26456 * config/arm/arm-cpus.in: Set profile M for armv8.1-m.main.
26458 2020-02-06 Mihail Ionescu <mihail.ionescu@arm.com>
26460 * config/arm/arm-tables.opt: Regenerate.
26462 2020-02-06 Richard Sandiford <richard.sandiford@arm.com>
26465 * config/aarch64/aarch64-protos.h (aarch64_movk_shift): Declare.
26466 * config/aarch64/aarch64.c (aarch64_movk_shift): New function.
26467 * config/aarch64/aarch64.md (aarch64_movk<mode>): New pattern.
26469 2020-02-06 Richard Sandiford <richard.sandiford@arm.com>
26471 PR rtl-optimization/87763
26472 * config/aarch64/aarch64.md (*ashiftsi_extvdi_bfiz): New pattern.
26474 2020-02-06 Delia Burduv <delia.burduv@arm.com>
26476 * config/aarch64/aarch64-simd-builtins.def
26477 (bfmlaq): New built-in function.
26478 (bfmlalb): New built-in function.
26479 (bfmlalt): New built-in function.
26480 (bfmlalb_lane): New built-in function.
26481 (bfmlalt_lane): New built-in function.
26482 * config/aarch64/aarch64-simd.md
26483 (aarch64_bfmmlaqv4sf): New pattern.
26484 (aarch64_bfmlal<bt>v4sf): New pattern.
26485 (aarch64_bfmlal<bt>_lane<q>v4sf): New pattern.
26486 * config/aarch64/arm_neon.h (vbfmmlaq_f32): New intrinsic.
26487 (vbfmlalbq_f32): New intrinsic.
26488 (vbfmlaltq_f32): New intrinsic.
26489 (vbfmlalbq_lane_f32): New intrinsic.
26490 (vbfmlaltq_lane_f32): New intrinsic.
26491 (vbfmlalbq_laneq_f32): New intrinsic.
26492 (vbfmlaltq_laneq_f32): New intrinsic.
26493 * config/aarch64/iterators.md (BF_MLA): New int iterator.
26494 (bt): New int attribute.
26496 2020-02-06 Uroš Bizjak <ubizjak@gmail.com>
26498 * config/i386/i386.md (*pushtf): Emit "#" instead of
26499 calling gcc_unreachable in insn output.
26502 (*pushsf_rex64): Ditto for alternatives other than 1.
26503 (*pushsf): Ditto for alternatives other than 1.
26505 2020-02-06 Martin Liska <mliska@suse.cz>
26507 PR gcov-profile/91971
26508 PR gcov-profile/93466
26509 * coverage.c (coverage_init): Revert mangling of
26510 path into filename. It can lead to huge filename length.
26511 Creation of subfolders seem more natural.
26513 2020-02-06 Stam Markianos-Wright <stam.markianos-wright@arm.com>
26516 * config/arm/arm.c (arm_block_arith_comp_libfuncs_for_mode): New.
26517 (arm_init_libfuncs): Add BFmode support to block spurious BF libfuncs.
26518 Use arm_block_arith_comp_libfuncs_for_mode for HFmode.
26520 2020-02-06 Jakub Jelinek <jakub@redhat.com>
26523 * config/i386/predicates.md (avx_identity_operand): New predicate.
26524 * config/i386/sse.md (*avx_vec_concat<mode>_1): New
26525 define_insn_and_split.
26528 * omp-low.c (use_pointer_for_field): For nested constructs, also
26529 look for map clauses on target construct.
26530 (scan_omp_1_stmt) <case GIMPLE_OMP_TARGET>: Bump temporarily
26531 taskreg_nesting_level.
26534 * gimplify.c (gimplify_scan_omp_clauses) <do_notice>: If adding
26535 shared clause, call omp_notice_variable on outer context if any.
26537 2020-02-05 Jason Merrill <jason@redhat.com>
26540 * symtab.c (symtab_node::nonzero_address): A DECL_COMDAT decl has
26541 non-zero address even if weak and not yet defined.
26543 2020-02-05 Martin Sebor <msebor@redhat.com>
26545 PR tree-optimization/92765
26546 * gimple-fold.c (get_range_strlen_tree): Handle MEM_REF and PARM_DECL.
26547 * tree-ssa-strlen.c (compute_string_length): Remove.
26548 (determine_min_objsize): Remove.
26549 (get_len_or_size): Add an argument. Call get_range_strlen_dynamic.
26550 Avoid using type size as the upper bound on string length.
26551 (handle_builtin_string_cmp): Add an argument. Adjust.
26552 (strlen_check_and_optimize_call): Pass additional argument to
26553 handle_builtin_string_cmp.
26555 2020-02-05 Uroš Bizjak <ubizjak@gmail.com>
26557 * config/i386/i386.md (*pushdi2_rex64 peephole2): Remove.
26558 (*pushdi2_rex64 peephole2): Unconditionally split after
26559 epilogue_completed.
26560 (*ashl<mode>3_doubleword): Ditto.
26561 (*<shift_insn><mode>3_doubleword): Ditto.
26563 2020-02-05 Michael Meissner <meissner@linux.ibm.com>
26566 * config/rs6000/rs6000.c (get_vector_offset): Fix
26568 2020-02-05 Andrew Stubbs <ams@codesourcery.com>
26570 * config/gcn/t-gcn-hsa (MULTILIB_OPTIONS): Use / not space.
26572 2020-02-05 David Malcolm <dmalcolm@redhat.com>
26574 * doc/analyzer.texi
26575 (Special Functions for Debugging the Analyzer): Update description
26576 of __analyzer_dump_exploded_nodes.
26578 2020-02-05 Jakub Jelinek <jakub@redhat.com>
26581 * config/i386/i386-features.c (ix86_add_reg_usage_to_vzeroupper): Only
26582 include sets and not clobbers in the vzeroupper pattern.
26583 * config/i386/sse.md (*avx_vzeroupper): Require in insn condition that
26584 the parallel has 17 (64-bit) or 9 (32-bit) elts.
26585 (*avx_vzeroupper_1): New define_insn_and_split.
26588 * recog.c (pass_split_after_reload::gate): For STACK_REGS targets,
26589 don't run when !optimize.
26590 (pass_split_before_regstack::gate): For STACK_REGS targets, run even
26593 2020-02-05 Richard Biener <rguenther@suse.de>
26595 PR middle-end/90648
26596 * genmatch.c (dt_node::gen_kids_1): Emit number of argument
26597 checks before matching calls.
26599 2020-02-05 Jakub Jelinek <jakub@redhat.com>
26601 * tree-ssa-alias.c (aliasing_matching_component_refs_p): Fix up
26602 function comment typo.
26604 PR middle-end/93555
26605 * omp-simd-clone.c (expand_simd_clones): If simd_clone_mangle or
26606 simd_clone_create failed when i == 0, adjust clone->nargs by
26609 2020-02-05 Martin Liska <mliska@suse.cz>
26612 * doc/invoke.texi: Document that one should
26613 not combine ASLR and -fpch.
26615 2020-02-04 Richard Biener <rguenther@suse.de>
26617 PR tree-optimization/93538
26618 * match.pd (addr EQ/NE ptr): Amend to handle &ptr->x EQ/NE ptr.
26620 2020-02-04 Richard Biener <rguenther@suse.de>
26622 PR tree-optimization/91123
26623 * tree-ssa-sccvn.c (vn_walk_cb_data::finish): New method.
26624 (vn_walk_cb_data::last_vuse): New member.
26625 (vn_walk_cb_data::saved_operands): Likewsie.
26626 (vn_walk_cb_data::~vn_walk_cb_data): Release saved_operands.
26627 (vn_walk_cb_data::push_partial_def): Use finish.
26628 (vn_reference_lookup_2): Update last_vuse and use finish if
26629 we've saved operands.
26630 (vn_reference_lookup_3): Use finish and update calls to
26631 push_partial_defs everywhere. When translating through
26632 memcpy or aggregate copies save off operands and alias-set.
26633 (eliminate_dom_walker::eliminate_stmt): Restore VN_WALKREWRITE
26634 operation for redundant store removal.
26636 2020-02-04 Richard Biener <rguenther@suse.de>
26638 PR tree-optimization/92819
26639 * tree-ssa-forwprop.c (simplify_vector_constructor): Avoid
26640 generating more stmts than before.
26642 2020-02-04 Martin Liska <mliska@suse.cz>
26644 * config/arm/arm.c (arm_gen_far_branch): Move the function
26645 outside of selftests.
26647 2020-02-03 Michael Meissner <meissner@linux.ibm.com>
26649 * config/rs6000/rs6000.c (adjust_vec_address_pcrel): New helper
26650 function to adjust PC-relative vector addresses.
26651 (rs6000_adjust_vec_address): Call adjust_vec_address_pcrel to
26652 handle vectors with PC-relative addresses.
26654 2020-02-03 Michael Meissner <meissner@linux.ibm.com>
26656 * config/rs6000/rs6000.c (reg_to_non_prefixed): Add forward
26658 (hard_reg_and_mode_to_addr_mask): Delete.
26659 (rs6000_adjust_vec_address): If the original vector address
26660 was REG+REG or REG+OFFSET and the element is not zero, do the add
26661 of the elements in the original address before adding the offset
26662 for the vector element. Use address_to_insn_form to validate the
26663 address using the register being loaded, rather than guessing
26664 whether the address is a DS-FORM or DQ-FORM address.
26666 2020-02-03 Michael Meissner <meissner@linux.ibm.com>
26668 * config/rs6000/rs6000.c (get_vector_offset): New helper function
26669 to calculate the offset in memory from the start of a vector of a
26670 particular element. Add code to keep the element number in
26671 bounds if the element number is variable.
26672 (rs6000_adjust_vec_address): Move calculation of offset of the
26673 vector element to get_vector_offset.
26674 (rs6000_split_vec_extract_var): Do not do the initial AND of
26675 element here, move the code to get_vector_offset.
26677 2020-02-03 Michael Meissner <meissner@linux.ibm.com>
26679 * config/rs6000/rs6000.c (rs6000_adjust_vec_address): Add some
26682 2020-02-03 Segher Boessenkool <segher@kernel.crashing.org>
26684 * config/rs6000/constraints.md: Improve documentation.
26686 2020-02-03 Richard Earnshaw <rearnsha@arm.com>
26689 * config/arm/t-arm: ($(srcdir)/config/arm/arm-tune.md)
26690 ($(srcdir)/config/arm/arm-tables.opt): Use move-if-change.
26692 2020-02-03 Andrew Stubbs <ams@codesourcery.com>
26694 * config.gcc: Remove "carrizo" support.
26695 * config/gcn/gcn-opts.h (processor_type): Likewise.
26696 * config/gcn/gcn.c (gcn_omp_device_kind_arch_isa): Likewise.
26697 * config/gcn/gcn.opt (gpu_type): Likewise.
26698 * config/gcn/t-omp-device: Likewise.
26700 2020-02-03 Stam Markianos-Wright <stam.markianos-wright@arm.com>
26703 * config/arm/arm-protos.h: New function arm_gen_far_branch prototype.
26704 * config/arm/arm.c (arm_gen_far_branch): New function
26705 arm_gen_far_branch.
26706 * config/arm/arm.md: Update b<cond> for Thumb2 range checks.
26708 2020-02-03 Julian Brown <julian@codesourcery.com>
26709 Tobias Burnus <tobias@codesourcery.com>
26711 * doc/invoke.texi: Update mention of OpenACC version to 2.6.
26713 2020-02-03 Jakub Jelinek <jakub@redhat.com>
26716 * config/s390/s390.md (popcounthi2_z196): Fix up expander to emit
26717 valid RTL to sum up the lowest and second lowest bytes of the popcnt
26720 2020-02-02 Vladimir Makarov <vmakarov@redhat.com>
26722 PR rtl-optimization/91333
26723 * ira-color.c (struct allocno_color_data): Add member
26725 (init_allocno_threads): Set the member up.
26726 (bucket_allocno_compare_func): Add compare hard reg
26729 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
26731 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
26733 * configure.ac [nios2-*-*]: Check HAVE_AS_NIOS2_GOTOFF_RELOCATION.
26734 * config.in: Regenerated.
26735 * configure: Regenerated.
26736 * config/nios2/nios2.h (ASM_PREFERRED_EH_DATA_FORMAT): Fix handling
26737 for PIC when HAVE_AS_NIOS2_GOTOFF_RELOCATION.
26738 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
26740 2020-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
26742 * configure: Regenerate.
26744 2020-01-31 Vladimir Makarov <vmakarov@redhat.com>
26746 PR rtl-optimization/91333
26747 * ira-color.c (bucket_allocno_compare_func): Move conflict hard
26748 reg preferences comparison up.
26750 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
26752 * config/aarch64/aarch64.h (TARGET_SVE_BF16): New macro.
26753 * config/aarch64/aarch64-sve-builtins-sve2.h (svcvtnt): Move to
26754 aarch64-sve-builtins-base.h.
26755 * config/aarch64/aarch64-sve-builtins-sve2.cc (svcvtnt): Move to
26756 aarch64-sve-builtins-base.cc.
26757 * config/aarch64/aarch64-sve-builtins-base.h (svbfdot, svbfdot_lane)
26758 (svbfmlalb, svbfmlalb_lane, svbfmlalt, svbfmlalt_lane, svbfmmla)
26759 (svcvtnt): Declare.
26760 * config/aarch64/aarch64-sve-builtins-base.cc (svbfdot, svbfdot_lane)
26761 (svbfmlalb, svbfmlalb_lane, svbfmlalt, svbfmlalt_lane, svbfmmla)
26762 (svcvtnt): New functions.
26763 * config/aarch64/aarch64-sve-builtins-base.def (svbfdot, svbfdot_lane)
26764 (svbfmlalb, svbfmlalb_lane, svbfmlalt, svbfmlalt_lane, svbfmmla)
26765 (svcvtnt): New functions.
26766 (svcvt): Add a form that converts f32 to bf16.
26767 * config/aarch64/aarch64-sve-builtins-shapes.h (ternary_bfloat)
26768 (ternary_bfloat_lane, ternary_bfloat_lanex2, ternary_bfloat_opt_n):
26770 * config/aarch64/aarch64-sve-builtins-shapes.cc (parse_element_type):
26771 Treat B as bfloat16_t.
26772 (ternary_bfloat_lane_base): New class.
26773 (ternary_bfloat_def): Likewise.
26774 (ternary_bfloat): New shape.
26775 (ternary_bfloat_lane_def): New class.
26776 (ternary_bfloat_lane): New shape.
26777 (ternary_bfloat_lanex2_def): New class.
26778 (ternary_bfloat_lanex2): New shape.
26779 (ternary_bfloat_opt_n_def): New class.
26780 (ternary_bfloat_opt_n): New shape.
26781 * config/aarch64/aarch64-sve-builtins.cc (TYPES_cvt_bfloat): New macro.
26782 * config/aarch64/aarch64-sve.md (@aarch64_sve_<sve_fp_op>vnx4sf)
26783 (@aarch64_sve_<sve_fp_op>_lanevnx4sf): New patterns.
26784 (@aarch64_sve_<optab>_trunc<VNx4SF_ONLY:mode><VNx8BF_ONLY:mode>)
26785 (@cond_<optab>_trunc<VNx4SF_ONLY:mode><VNx8BF_ONLY:mode>): Likewise.
26786 (*cond_<optab>_trunc<VNx4SF_ONLY:mode><VNx8BF_ONLY:mode>): Likewise.
26787 (@aarch64_sve_cvtnt<VNx8BF_ONLY:mode>): Likewise.
26788 * config/aarch64/aarch64-sve2.md (@aarch64_sve2_cvtnt<mode>): Key
26789 the pattern off the narrow mode instead of the wider one.
26790 * config/aarch64/iterators.md (VNx8BF_ONLY): New mode iterator.
26791 (UNSPEC_BFMLALB, UNSPEC_BFMLALT, UNSPEC_BFMMLA): New unspecs.
26792 (sve_fp_op): Handle them.
26793 (SVE_BFLOAT_TERNARY_LONG): New int itertor.
26794 (SVE_BFLOAT_TERNARY_LONG_LANE): Likewise.
26796 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
26798 * config/aarch64/arm_sve.h: Include arm_bf16.h.
26799 * config/aarch64/aarch64-modes.def (BF): Move definition before
26800 VECTOR_MODES. Remove separate VECTOR_MODES for V4BF and V8BF.
26801 (SVE_MODES): Handle BF modes.
26802 * config/aarch64/aarch64.c (aarch64_classify_vector_mode): Handle
26804 (aarch64_full_sve_mode): Likewise.
26805 * config/aarch64/iterators.md (SVE_STRUCT): Add VNx16BF, VNx24BF
26807 (SVE_FULL, SVE_FULL_HSD, SVE_ALL): Add VNx8BF.
26808 (Vetype, Vesize, Vctype, VEL, Vel, VEL_INT, V128, v128, vwcore)
26809 (V_INT_EQUIV, v_int_equiv, V_FP_EQUIV, v_fp_equiv, vector_count)
26810 (insn_length, VSINGLE, vsingle, VPRED, vpred, VDOUBLE): Handle the
26812 * config/aarch64/aarch64-sve-builtins.h (TYPE_bfloat): New
26814 * config/aarch64/aarch64-sve-builtins.cc (TYPES_all_arith): New macro.
26815 (TYPES_all_data): Add bf16.
26816 (TYPES_reinterpret1, TYPES_reinterpret): Likewise.
26817 (register_tuple_type): Increase buffer size.
26818 * config/aarch64/aarch64-sve-builtins.def (svbfloat16_t): New type.
26819 (bf16): New type suffix.
26820 * config/aarch64/aarch64-sve-builtins-base.def (svabd, svadd, svaddv)
26821 (svcmpeq, svcmpge, svcmpgt, svcmple, svcmplt, svcmpne, svmad, svmax)
26822 (svmaxv, svmin, svminv, svmla, svmls, svmsb, svmul, svsub, svsubr):
26823 Change type from all_data to all_arith.
26824 * config/aarch64/aarch64-sve-builtins-sve2.def (svaddp, svmaxp)
26825 (svminp): Likewise.
26827 2020-01-31 Dennis Zhang <dennis.zhang@arm.com>
26828 Matthew Malcomson <matthew.malcomson@arm.com>
26829 Richard Sandiford <richard.sandiford@arm.com>
26831 * doc/invoke.texi (f32mm): Document new AArch64 -march= extension.
26832 * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Define
26833 __ARM_FEATURE_SVE_MATMUL_INT8, __ARM_FEATURE_SVE_MATMUL_FP32 and
26834 __ARM_FEATURE_SVE_MATMUL_FP64 as appropriate. Don't define
26835 __ARM_FEATURE_MATMUL_FP64.
26836 * config/aarch64/aarch64-option-extensions.def (fp, simd, fp16)
26837 (sve): Add AARCH64_FL_F32MM to the list of extensions that should
26838 be disabled at the same time.
26839 (f32mm): New extension.
26840 * config/aarch64/aarch64.h (AARCH64_FL_F32MM): New macro.
26841 (AARCH64_FL_F64MM): Bump to the next bit up.
26842 (AARCH64_ISA_F32MM, TARGET_SVE_I8MM, TARGET_F32MM, TARGET_SVE_F32MM)
26843 (TARGET_SVE_F64MM): New macros.
26844 * config/aarch64/iterators.md (SVE_MATMULF): New mode iterator.
26845 (UNSPEC_FMMLA, UNSPEC_SMATMUL, UNSPEC_UMATMUL, UNSPEC_USMATMUL)
26846 (UNSPEC_TRN1Q, UNSPEC_TRN2Q, UNSPEC_UZP1Q, UNSPEC_UZP2Q, UNSPEC_ZIP1Q)
26847 (UNSPEC_ZIP2Q): New unspeccs.
26848 (DOTPROD_US_ONLY, PERMUTEQ, MATMUL, FMMLA): New int iterators.
26849 (optab, sur, perm_insn): Handle the new unspecs.
26850 (sve_fp_op): Handle UNSPEC_FMMLA. Resort.
26851 * config/aarch64/aarch64-sve.md (@aarch64_sve_ld1ro<mode>): Use
26852 TARGET_SVE_F64MM instead of separate tests.
26853 (@aarch64_<DOTPROD_US_ONLY:sur>dot_prod<vsi2qi>): New pattern.
26854 (@aarch64_<DOTPROD_US_ONLY:sur>dot_prod_lane<vsi2qi>): Likewise.
26855 (@aarch64_sve_add_<MATMUL:optab><vsi2qi>): Likewise.
26856 (@aarch64_sve_<FMMLA:sve_fp_op><mode>): Likewise.
26857 (@aarch64_sve_<PERMUTEQ:optab><mode>): Likewise.
26858 * config/aarch64/aarch64-sve-builtins.cc (TYPES_s_float): New macro.
26859 (TYPES_s_float_hsd_integer, TYPES_s_float_sd_integer): Use it.
26860 (TYPES_s_signed): New macro.
26861 (TYPES_s_integer): Use it.
26862 (TYPES_d_float): New macro.
26863 (TYPES_d_data): Use it.
26864 * config/aarch64/aarch64-sve-builtins-shapes.h (mmla): Declare.
26865 (ternary_intq_uintq_lane, ternary_intq_uintq_opt_n, ternary_uintq_intq)
26866 (ternary_uintq_intq_lane, ternary_uintq_intq_opt_n): Likewise.
26867 * config/aarch64/aarch64-sve-builtins-shapes.cc (mmla_def): New class.
26868 (svmmla): New shape.
26869 (ternary_resize2_opt_n_base): Add TYPE_CLASS2 and TYPE_CLASS3
26870 template parameters.
26871 (ternary_resize2_lane_base): Likewise.
26872 (ternary_resize2_base): New class.
26873 (ternary_qq_lane_base): Likewise.
26874 (ternary_intq_uintq_lane_def): Likewise.
26875 (ternary_intq_uintq_lane): New shape.
26876 (ternary_intq_uintq_opt_n_def): New class
26877 (ternary_intq_uintq_opt_n): New shape.
26878 (ternary_qq_lane_def): Inherit from ternary_qq_lane_base.
26879 (ternary_uintq_intq_def): New class.
26880 (ternary_uintq_intq): New shape.
26881 (ternary_uintq_intq_lane_def): New class.
26882 (ternary_uintq_intq_lane): New shape.
26883 (ternary_uintq_intq_opt_n_def): New class.
26884 (ternary_uintq_intq_opt_n): New shape.
26885 * config/aarch64/aarch64-sve-builtins-base.h (svmmla, svsudot)
26886 (svsudot_lane, svtrn1q, svtrn2q, svusdot, svusdot_lane, svusmmla)
26887 (svuzp1q, svuzp2q, svzip1q, svzip2q): Declare.
26888 * config/aarch64/aarch64-sve-builtins-base.cc (svdot_lane_impl):
26890 (svdotprod_lane_impl): ...this new class.
26891 (svmmla_impl, svusdot_impl): New classes.
26892 (svdot_lane): Update to use svdotprod_lane_impl.
26893 (svmmla, svsudot, svsudot_lane, svtrn1q, svtrn2q, svusdot)
26894 (svusdot_lane, svusmmla, svuzp1q, svuzp2q, svzip1q, svzip2q): New
26896 * config/aarch64/aarch64-sve-builtins-base.def (svmmla): New base
26897 function, with no types defined.
26898 (svmmla, svusmmla, svsudot, svsudot_lane, svusdot, svusdot_lane): New
26899 AARCH64_FL_I8MM functions.
26900 (svmmla): New AARCH64_FL_F32MM function.
26901 (svld1ro): Depend only on AARCH64_FL_F64MM, not on AARCH64_FL_V8_6.
26902 (svmmla, svtrn1q, svtrn2q, svuz1q, svuz2q, svzip1q, svzip2q): New
26903 AARCH64_FL_F64MM function.
26904 (REQUIRED_EXTENSIONS):
26906 2020-01-31 Andrew Stubbs <ams@codesourcery.com>
26908 * config/gcn/gcn-valu.md (addv64di3_exec): Allow one '0' in each
26911 2020-01-31 Uroš Bizjak <ubizjak@gmail.com>
26913 * config/i386/i386.md (*movoi_internal_avx): Do not check for
26914 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL. Remove MODE_V8SF handling.
26915 (*movti_internal): Do not check for
26916 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL.
26917 (*movtf_internal): Move check for TARGET_SSE2 and size optimization
26918 just after check for TARGET_AVX.
26919 (*movdf_internal): Ditto.
26920 * config/i386/mmx.md (*mov<mode>_internal): Do not check for
26921 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL.
26922 * config/i386/sse.md (mov<mode>_internal): Only check
26923 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL with V2DFmode. Move check
26924 for TARGET_SSE2 and size optimization just after check for TARGET_AVX.
26925 (<sse>_andnot<mode>3<mask_name>): Move check for
26926 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL after check for TARGET_AVX.
26927 (<code><mode>3<mask_name>): Ditto.
26928 (*andnot<mode>3): Ditto.
26929 (*andnottf3): Ditto.
26930 (*<code><mode>3): Ditto.
26931 (*<code>tf3): Ditto.
26932 (*andnot<VI:mode>3): Remove
26933 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL handling.
26934 (<mask_codefor><code><VI48_AVX_AVX512F:mode>3<mask_name>): Ditto.
26935 (*<code><VI12_AVX_AVX512F:mode>3): Ditto.
26936 (sse4_1_blendv<ssemodesuffix>): Ditto.
26937 * config/i386/x86-tune.def (X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL):
26938 Explain that tune applies to 128bit instructions only.
26940 2020-01-31 Kwok Cheung Yeung <kcy@codesourcery.com>
26942 * config/gcn/mkoffload.c (process_asm): Add sgpr_count and vgpr_count
26943 to definition of hsa_kernel_description. Parse assembly to find SGPR
26944 and VGPR count of kernel and store in hsa_kernel_description.
26946 2020-01-31 Tamar Christina <tamar.christina@arm.com>
26948 PR rtl-optimization/91838
26949 * simplify-rtx.c (simplify_binary_operation_1): Update LSHIFTRT case
26950 to truncate if allowed or reject combination.
26952 2020-01-31 Andrew Stubbs <ams@codesourcery.com>
26954 * tree-ssa-loop-ivopts.c (get_iv): Use sizetype for zero-step.
26955 (find_inv_vars_cb): Likewise.
26957 2020-01-31 David Malcolm <dmalcolm@redhat.com>
26959 * calls.c (special_function_p): Split out the check for DECL_NAME
26960 being non-NULL and fndecl being extern at file scope into a
26961 new maybe_special_function_p and call it. Drop check for fndecl
26962 being non-NULL that was after a usage of DECL_NAME (fndecl).
26963 * tree.h (maybe_special_function_p): New inline function.
26965 2020-01-30 Andrew Stubbs <ams@codesourcery.com>
26967 * config/gcn/gcn-valu.md (gather<mode>_exec): Move contents ...
26968 (mask_gather_load<mode>): ... here, and zero-initialize the
26970 (maskload<mode>di): Zero-initialize the destination.
26971 * config/gcn/gcn.c:
26973 2020-01-30 David Malcolm <dmalcolm@redhat.com>
26976 * doc/analyzer.texi (Limitations): Note that constraints on
26977 floating-point values are currently ignored.
26979 2020-01-30 Jakub Jelinek <jakub@redhat.com>
26982 * symtab.c (symtab_node::noninterposable_alias): If localalias
26983 already exists, but is not usable, append numbers after it until
26984 a unique name is found. Formatting fix.
26986 PR middle-end/93505
26987 * combine.c (simplify_comparison) <case ROTATE>: Punt on out of range
26990 2020-01-30 Andrew Stubbs <ams@codesourcery.com>
26992 * config/gcn/gcn.c (print_operand): Handle LTGT.
26993 * config/gcn/predicates.md (gcn_fp_compare_operator): Allow ltgt.
26995 2020-01-30 Richard Biener <rguenther@suse.de>
26997 * tree-pretty-print.c (dump_generic_node): Wrap VECTOR_CST
26998 and CONSTRUCTOR in _Literal (type) with TDF_GIMPLE.
27000 2020-01-30 John David Anglin <danglin@gcc.gnu.org>
27002 * config/pa/pa.c (pa_elf_select_rtx_section): Place function pointers
27003 without a DECL in .data.rel.ro.local.
27005 2020-01-30 Jakub Jelinek <jakub@redhat.com>
27008 * config/arm/arm.md (uaddvdi4): Actually emit what gen_uaddvsi4
27012 * config/i386/sse.md
27013 (*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_zext): Renamed to ...
27014 (*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_<u>ext): ... this. Use
27015 any_extend code iterator instead of always zero_extend.
27016 (*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_zext_lt): Renamed to ...
27017 (*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_<u>ext_lt): ... this.
27018 Use any_extend code iterator instead of always zero_extend.
27019 (*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_zext_shift): Renamed to ...
27020 (*<sse>_movmsk<ssemodesuffix><avxsizesuffix>_<u>ext_shift): ... this.
27021 Use any_extend code iterator instead of always zero_extend.
27022 (*sse2_pmovmskb_ext): New define_insn.
27023 (*sse2_pmovmskb_ext_lt): New define_insn_and_split.
27026 * config/i386/i386.md (*popcountsi2_zext): New define_insn_and_split.
27027 (*popcountsi2_zext_falsedep): New define_insn.
27029 2020-01-30 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
27031 * config.in: Regenerated.
27032 * configure: Regenerated.
27034 2020-01-29 Tobias Burnus <tobias@codesourcery.com>
27037 * config/gcn/gcn-hsa.h (ASM_SPEC): Add -mattr=-code-object-v3 as
27038 LLVM's assembler changed the default in version 9.
27040 2020-01-24 Jeff Law <law@redhat.com>
27042 PR tree-optimization/89689
27043 * builtins.def (BUILT_IN_OBJECT_SIZE): Make it const rather than pure.
27045 2020-01-29 Richard Sandiford <richard.sandiford@arm.com>
27049 2020-01-28 Richard Sandiford <richard.sandiford@arm.com>
27051 PR rtl-optimization/87763
27052 * simplify-rtx.c (simplify_truncation): Extend sign/zero_extract
27053 simplification to handle subregs as well as bare regs.
27054 * config/i386/i386.md (*testqi_ext_3): Match QI extracts too.
27056 2020-01-29 Joel Hutton <Joel.Hutton@arm.com>
27059 * ira.c (ira): Revert use of simplified LRA algorithm.
27061 2020-01-29 Martin Jambor <mjambor@suse.cz>
27063 PR tree-optimization/92706
27064 * tree-sra.c (struct access): Fields first_link, last_link,
27065 next_queued and grp_queued renamed to first_rhs_link, last_rhs_link,
27066 next_rhs_queued and grp_rhs_queued respectively, new fields
27067 first_lhs_link, last_lhs_link, next_lhs_queued and grp_lhs_queued.
27068 (struct assign_link): Field next renamed to next_rhs, new field
27069 next_lhs. Updated comment.
27070 (work_queue_head): Renamed to rhs_work_queue_head.
27071 (lhs_work_queue_head): New variable.
27072 (add_link_to_lhs): New function.
27073 (relink_to_new_repr): Also relink LHS lists.
27074 (add_access_to_work_queue): Renamed to add_access_to_rhs_work_queue.
27075 (add_access_to_lhs_work_queue): New function.
27076 (pop_access_from_work_queue): Renamed to
27077 pop_access_from_rhs_work_queue.
27078 (pop_access_from_lhs_work_queue): New function.
27079 (build_accesses_from_assign): Also add links to LHS lists and to LHS
27081 (child_would_conflict_in_lacc): Renamed to
27082 child_would_conflict_in_acc. Adjusted parameter names.
27083 (create_artificial_child_access): New parameter set_grp_read, use it.
27084 (subtree_mark_written_and_enqueue): Renamed to
27085 subtree_mark_written_and_rhs_enqueue.
27086 (propagate_subaccesses_across_link): Renamed to
27087 propagate_subaccesses_from_rhs.
27088 (propagate_subaccesses_from_lhs): New function.
27089 (propagate_all_subaccesses): Also propagate subaccesses from LHSs to
27092 2020-01-29 Martin Jambor <mjambor@suse.cz>
27094 PR tree-optimization/92706
27095 * tree-sra.c (struct access): Adjust comment of
27096 grp_total_scalarization.
27097 (find_access_in_subtree): Look for single children spanning an entire
27099 (scalarizable_type_p): Allow register accesses, adjust callers.
27100 (completely_scalarize): Remove function.
27101 (scalarize_elem): Likewise.
27102 (create_total_scalarization_access): Likewise.
27103 (sort_and_splice_var_accesses): Do not track total scalarization
27105 (analyze_access_subtree): New parameter totally, adjust to new meaning
27106 of grp_total_scalarization.
27107 (analyze_access_trees): Pass new parameter to analyze_access_subtree.
27108 (can_totally_scalarize_forest_p): New function.
27109 (create_total_scalarization_access): Likewise.
27110 (create_total_access_and_reshape): Likewise.
27111 (total_should_skip_creating_access): Likewise.
27112 (totally_scalarize_subtree): Likewise.
27113 (analyze_all_variable_accesses): Perform total scalarization after
27114 subaccess propagation using the new functions above.
27115 (initialize_constant_pool_replacements): Output initializers by
27116 traversing the access tree.
27118 2020-01-29 Martin Jambor <mjambor@suse.cz>
27120 * tree-sra.c (verify_sra_access_forest): New function.
27121 (verify_all_sra_access_forests): Likewise.
27122 (create_artificial_child_access): Set parent.
27123 (analyze_all_variable_accesses): Call the verifier.
27125 2020-01-28 Jan Hubicka <hubicka@ucw.cz>
27127 * cgraph.c (cgraph_edge::resolve_speculation): Only lookup direct edge
27128 if called on indirect edge.
27129 (cgraph_edge::redirect_call_stmt_to_callee): Lookup indirect edge of
27130 speculative call if needed.
27132 2020-01-29 Richard Biener <rguenther@suse.de>
27134 PR tree-optimization/93428
27135 * tree-vect-slp.c (vect_build_slp_tree_2): Compute the load
27136 permutation when the load node is created.
27137 (vect_analyze_slp_instance): Re-use it here.
27139 2020-01-28 Jan Hubicka <hubicka@ucw.cz>
27141 * ipa-prop.c (update_indirect_edges_after_inlining): Fix warning.
27143 2020-01-28 Vladimir Makarov <vmakarov@redhat.com>
27145 PR rtl-optimization/93272
27146 * ira-lives.c (process_out_of_region_eh_regs): New function.
27147 (process_bb_node_lives): Call it.
27149 2020-01-28 Jan Hubicka <hubicka@ucw.cz>
27151 * coverage.c (read_counts_file): Make error message lowercase.
27153 2020-01-28 Jan Hubicka <hubicka@ucw.cz>
27155 * profile-count.c (profile_quality_display_names): Fix ordering.
27157 2020-01-28 Jan Hubicka <hubicka@ucw.cz>
27160 * cgraph.c (cgraph_add_edge_to_call_site_hash): Update call site
27161 hash only when edge is first within the sequence.
27162 (cgraph_edge::set_call_stmt): Update handling of speculative calls.
27163 (symbol_table::create_edge): Do not set target_prob.
27164 (cgraph_edge::remove_caller): Watch for speculative calls when updating
27165 the call site hash.
27166 (cgraph_edge::make_speculative): Drop target_prob parameter.
27167 (cgraph_edge::speculative_call_info): Remove.
27168 (cgraph_edge::first_speculative_call_target): New member function.
27169 (update_call_stmt_hash_for_removing_direct_edge): New function.
27170 (cgraph_edge::resolve_speculation): Rewrite to new API.
27171 (cgraph_edge::speculative_call_for_target): New member function.
27172 (cgraph_edge::make_direct): Rewrite to new API; fix handling of
27173 multiple speculation targets.
27174 (cgraph_edge::redirect_call_stmt_to_callee): Likewise; fix updating
27176 (verify_speculative_call): Verify that targets form an interval.
27177 * cgraph.h (cgraph_edge::speculative_call_info): Remove.
27178 (cgraph_edge::first_speculative_call_target): New member function.
27179 (cgraph_edge::next_speculative_call_target): New member function.
27180 (cgraph_edge::speculative_call_target_ref): New member function.
27181 (cgraph_edge;:speculative_call_indirect_edge): New member funtion.
27182 (cgraph_edge): Remove target_prob.
27183 * cgraphclones.c (cgraph_node::set_call_stmt_including_clones):
27184 Fix handling of speculative calls.
27185 * ipa-devirt.c (ipa_devirt): Fix handling of speculative cals.
27186 * ipa-fnsummary.c (analyze_function_body): Likewise.
27187 * ipa-inline.c (speculation_useful_p): Use new speculative call API.
27188 * ipa-profile.c (dump_histogram): Fix formating.
27189 (ipa_profile_generate_summary): Watch for overflows.
27190 (ipa_profile): Do not require probablity to be 1/2; update to new API.
27191 * ipa-prop.c (ipa_make_edge_direct_to_target): Update to new API.
27192 (update_indirect_edges_after_inlining): Update to new API.
27193 * ipa-utils.c (ipa_merge_profiles): Rewrite merging of speculative call
27195 * profile-count.h: (profile_probability::adjusted): New.
27196 * tree-inline.c (copy_bb): Update to new speculative call API; fix
27197 updating of profile.
27198 * value-prof.c (gimple_ic_transform): Rename to ...
27199 (dump_ic_profile): ... this one; update dumping.
27200 (stream_in_histogram_value): Fix formating.
27201 (gimple_value_profile_transformations): Update.
27203 2020-01-28 H.J. Lu <hongjiu.lu@intel.com>
27206 * config/i386/i386.md (*movoi_internal_avx): Remove
27207 TARGET_SSE_TYPELESS_STORES check.
27208 (*movti_internal): Prefer TARGET_AVX over
27209 TARGET_SSE_TYPELESS_STORES.
27210 (*movtf_internal): Likewise.
27211 * config/i386/sse.md (mov<mode>_internal): Prefer TARGET_AVX over
27212 TARGET_SSE_TYPELESS_STORES. Remove "<MODE_SIZE> == 16" check
27213 from TARGET_SSE_TYPELESS_STORES.
27215 2020-01-28 David Malcolm <dmalcolm@redhat.com>
27217 * diagnostic-core.h (warning_at): Rename overload to...
27218 (warning_meta): ...this.
27219 (emit_diagnostic_valist): Delete decl of overload taking
27220 diagnostic_metadata.
27221 * diagnostic.c (emit_diagnostic_valist): Likewise for defn.
27222 (warning_at): Rename overload taking diagnostic_metadata to...
27223 (warning_meta): ...this.
27225 2020-01-28 Richard Biener <rguenther@suse.de>
27227 PR tree-optimization/93439
27228 * tree-parloops.c (create_loop_fn): Move clique bookkeeping...
27229 * tree-cfg.c (move_sese_region_to_fn): ... here.
27230 (verify_types_in_gimple_reference): Verify used cliques are
27233 2020-01-28 H.J. Lu <hongjiu.lu@intel.com>
27236 * config/i386/i386-options.c (set_ix86_tune_features): Add an
27237 argument of a pointer to struct gcc_options and pass it to
27238 parse_mtune_ctrl_str.
27239 (ix86_function_specific_restore): Pass opts to
27240 set_ix86_tune_features.
27241 (ix86_option_override_internal): Likewise.
27242 (parse_mtune_ctrl_str): Add an argument of a pointer to struct
27243 gcc_options and use it for x_ix86_tune_ctrl_string.
27245 2020-01-28 Richard Sandiford <richard.sandiford@arm.com>
27247 PR rtl-optimization/87763
27248 * simplify-rtx.c (simplify_truncation): Extend sign/zero_extract
27249 simplification to handle subregs as well as bare regs.
27250 * config/i386/i386.md (*testqi_ext_3): Match QI extracts too.
27252 2020-01-28 Richard Sandiford <richard.sandiford@arm.com>
27254 * tree-vect-loop.c (vectorizable_reduction): Fail gracefully
27255 for reduction chains that (now) include a call.
27257 2020-01-28 Richard Sandiford <richard.sandiford@arm.com>
27259 PR tree-optimization/92822
27260 * tree-ssa-forwprop.c (simplify_vector_constructor): When filling
27261 out the don't-care elements of a vector whose significant elements
27262 are duplicates, make the don't-care elements duplicates too.
27264 2020-01-28 Richard Sandiford <richard.sandiford@arm.com>
27266 PR tree-optimization/93434
27267 * tree-predcom.c (split_data_refs_to_components): Record which
27268 components have had aliasing loads removed. Prevent store-store
27269 commoning for all such components.
27271 2020-01-28 Jakub Jelinek <jakub@redhat.com>
27274 * config/i386/i386.c (ix86_fold_builtin) <do_shift>: If mask is not
27275 -1 or is_vshift is true, use new_vector with number of elts npatterns
27276 rather than new_unary_operation.
27278 PR tree-optimization/93454
27279 * gimple-fold.c (fold_array_ctor_reference): Perform
27280 elt_size.to_uhwi () just once, instead of calling it in every
27281 iteration. Punt if that value is above size of the temporary
27282 buffer. Decrease third native_encode_expr argument when
27283 bufoff + elt_sz is above size of buf.
27285 2020-01-27 Joseph Myers <joseph@codesourcery.com>
27287 * config/mips/mips.c (mips_declare_object_name)
27288 [USE_GNU_UNIQUE_OBJECT]: Support use of gnu_unique_object.
27290 2020-01-27 Martin Liska <mliska@suse.cz>
27292 PR gcov-profile/93403
27293 * tree-profile.c (gimple_init_gcov_profiler): Generate
27294 both __gcov_indirect_call_profiler_v4 and
27295 __gcov_indirect_call_profiler_v4_atomic.
27297 2020-01-27 Richard Sandiford <richard.sandiford@arm.com>
27300 * config/aarch64/aarch64-simd.md (aarch64_get_half<mode>): New
27302 (@aarch64_split_simd_mov<mode>): Use it.
27303 (aarch64_simd_mov_from_<mode>low): Add a GPR alternative.
27304 Leave the vec_extract patterns to handle 2-element vectors.
27305 (aarch64_simd_mov_from_<mode>high): Likewise.
27306 (vec_extract<VQMOV_NO2E:mode><Vhalf>): New expander.
27307 (vec_extractv2dfv1df): Likewise.
27309 2020-01-27 Richard Sandiford <richard.sandiford@arm.com>
27311 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Match
27312 jump conditions for *compare_condjump<GPI:mode>.
27314 2020-01-27 David Malcolm <dmalcolm@redhat.com>
27317 * digraph.cc (test_edge::test_edge): Specify template for base
27320 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
27322 * config/arc/arc.c (arc_rtx_costs): Update mul64 cost.
27324 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
27326 * config/arc/arc-protos.h (gen_mlo): Remove.
27327 (gen_mhi): Likewise.
27328 * config/arc/arc.c (AUX_MULHI): Define.
27329 (arc_must_save_reister): Special handling for r58/59.
27330 (arc_compute_frame_size): Consider mlo/mhi registers.
27331 (arc_save_callee_saves): Emit fp/sp move only when emit_move
27333 (arc_conditional_register_usage): Remove TARGET_BIG_ENDIAN from
27334 mlo/mhi name selection.
27335 (arc_restore_callee_saves): Don't early restore blink when ISR.
27336 (arc_expand_prologue): Add mlo/mhi saving.
27337 (arc_expand_epilogue): Add mlo/mhi restoring.
27340 * config/arc/arc.h (DBX_REGISTER_NUMBER): Correct register
27341 numbering when MUL64 option is used.
27342 (DWARF2_FRAME_REG_OUT): Define.
27343 * config/arc/arc.md (arc600_stall): New pattern.
27344 (VUNSPEC_ARC_ARC600_STALL): Define.
27345 (mulsi64): Use correct mlo/mhi registers.
27346 (mulsi_600): Clean it up.
27347 * config/arc/predicates.md (mlo_operand): Remove any dependency on
27349 (mhi_operand): Likewise.
27351 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
27352 Petro Karashchenko <petro.karashchenko@ring.com>
27354 * config/arc/arc.c (arc_is_uncached_mem_p): Check struct
27355 attributes if needed.
27356 (prepare_move_operands): Generate special unspec instruction for
27358 (arc_isuncached_mem_p): Propagate uncached attribute to each
27360 * config/arc/arc.md (VUNSPEC_ARC_LDDI): Define.
27361 (VUNSPEC_ARC_STDI): Likewise.
27362 (ALLI): New mode iterator.
27363 (mALLI): New mode attribute.
27364 (lddi): New instruction pattern.
27366 (stdidi_split): Split instruction for architectures which are not
27367 supporting ll64 option.
27368 (lddidi_split): Likewise.
27370 2020-01-27 Richard Sandiford <richard.sandiford@arm.com>
27372 PR rtl-optimization/92989
27373 * lra-lives.c (process_bb_lives): Update the live-in set before
27374 processing additional clobbers.
27376 2020-01-27 Richard Sandiford <richard.sandiford@arm.com>
27378 PR rtl-optimization/93170
27379 * cselib.c (cselib_invalidate_regno_val): New function, split out
27381 (cselib_invalidate_regno): ...here.
27382 (cselib_invalidated_by_call_p): New function.
27383 (cselib_process_insn): Iterate over all the hard-register entries in
27384 REG_VALUES and invalidate any that cross call-clobbered registers.
27386 2020-01-27 Richard Sandiford <richard.sandiford@arm.com>
27388 * dojump.c (split_comparison): Use HONOR_NANS rather than
27389 HONOR_SNANS when splitting LTGT.
27391 2020-01-27 Martin Liska <mliska@suse.cz>
27394 * opts.c (print_filtered_help): Exclude language-specific
27395 options from --help=common unless enabled in all FEs.
27397 2020-01-27 Martin Liska <mliska@suse.cz>
27399 * opts.c (print_help): Exclude params from
27400 all except --help=param.
27402 2020-01-27 Martin Liska <mliska@suse.cz>
27405 * config/i386/i386-features.c (make_resolver_func):
27406 Align the code with ppc64 target implementation.
27407 Do not generate a unique name for resolver function.
27409 2020-01-27 Richard Biener <rguenther@suse.de>
27411 PR tree-optimization/93397
27412 * tree-vect-slp.c (vect_analyze_slp_instance): Delay
27413 converted reduction chain SLP graph adjustment.
27415 2020-01-26 Marek Polacek <polacek@redhat.com>
27418 * sanopt.c (sanitize_rewrite_addressable_params): Avoid crash on
27421 2020-01-26 Jason Merrill <jason@redhat.com>
27424 * tree.c (verify_type_variant): Only verify TYPE_NEEDS_CONSTRUCTING
27427 2020-01-26 Darius Galis <darius.galis@cyberthorstudios.com>
27429 * config/rx/rx.md (setmemsi): Added rx_allow_string_insns constraint
27430 (rx_setmem): Likewise.
27432 2020-01-26 Jakub Jelinek <jakub@redhat.com>
27435 * config/i386/i386.md (*addv<dwi>4_doubleword, *subv<dwi>4_doubleword):
27436 Use nonimmediate_operand instead of x86_64_hilo_general_operand and
27437 drop <di> from constraint of last operand.
27440 * config/i386/sse.md (*avx_vperm_broadcast_<mode>): Disallow for
27441 TARGET_AVX2 and V4DFmode not in the split condition, but in the
27442 pattern condition, though allow { 0, 0, 0, 0 } broadcast always.
27444 2020-01-25 Feng Xue <fxue@os.amperecomputing.com>
27447 * ipa-cp.c (get_info_about_necessary_edges): Remove value
27450 2020-01-24 Jeff Law <law@redhat.com>
27452 PR tree-optimization/92788
27453 * tree-ssa-threadedge.c (thread_across_edge): Check EDGE_COMPLEX
27456 2020-01-24 Jakub Jelinek <jakub@redhat.com>
27459 * config/i386/sse.md (*avx_vperm_broadcast_v4sf,
27460 *avx_vperm_broadcast_<mode>,
27461 <sse2_avx_avx512f>_vpermil<mode><mask_name>,
27462 *<sse2_avx_avx512f>_vpermilp<mode><mask_name>):
27463 Move before avx2_perm<mode>/avx512f_perm<mode>.
27466 * simplify-rtx.c (simplify_const_unary_operation,
27467 simplify_const_binary_operation): Punt for mode precision above
27468 MAX_BITSIZE_MODE_ANY_INT.
27470 2020-01-24 Andrew Pinski <apinski@marvell.com>
27472 * config/arm/aarch-cost-tables.h (cortexa57_extra_costs): Change
27473 alu.shift_reg to 0.
27475 2020-01-24 Jeff Law <law@redhat.com>
27478 * config/h8300/h8300.c (h8300_print_operand): Only call byte_reg
27479 for REGs. Call output_operand_lossage to get more reasonable
27482 2020-01-24 Andrew Stubbs <ams@codesourcery.com>
27484 * config/gcn/gcn-valu.md (vec_cmp<mode>di): Use
27485 gcn_fp_compare_operator.
27486 (vec_cmpu<mode>di): Use gcn_compare_operator.
27487 (vec_cmp<u>v64qidi): Use gcn_compare_operator.
27488 (vec_cmp<mode>di_exec): Use gcn_fp_compare_operator.
27489 (vec_cmpu<mode>di_exec): Use gcn_compare_operator.
27490 (vec_cmp<u>v64qidi_exec): Use gcn_compare_operator.
27491 (vec_cmp<mode>di_dup): Use gcn_fp_compare_operator.
27492 (vec_cmp<mode>di_dup_exec): Use gcn_fp_compare_operator.
27493 (vcond<VEC_ALLREG_MODE:mode><VEC_ALLREG_ALT:mode>): Use
27494 gcn_fp_compare_operator.
27495 (vcond<VEC_ALLREG_MODE:mode><VEC_ALLREG_ALT:mode>_exec): Use
27496 gcn_fp_compare_operator.
27497 (vcondu<VEC_ALLREG_MODE:mode><VEC_ALLREG_INT_MODE:mode>): Use
27498 gcn_fp_compare_operator.
27499 (vcondu<VEC_ALLREG_MODE:mode><VEC_ALLREG_INT_MODE:mode>_exec): Use
27500 gcn_fp_compare_operator.
27502 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
27504 * doc/install.texi (Cross-Compiler-Specific Options): Document
27505 `--with-toolexeclibdir' option.
27507 2020-01-24 Hans-Peter Nilsson <hp@axis.com>
27509 * target.def (flags_regnum): Also mention effect on delay slot filling.
27510 * doc/tm.texi: Regenerate.
27512 2020-01-23 Jeff Law <law@redhat.com>
27514 PR translation/90162
27515 * config/h8300/h8300.c (h8300_option_override): Fix diagnostic text.
27517 2020-01-23 Mikael Tillenius <mti-1@tillenius.com>
27520 * config/h8300/h8300.h (FUNCTION_PROFILER): Fix emission of
27523 2020-01-23 Jakub Jelinek <jakub@redhat.com>
27525 PR rtl-optimization/93402
27526 * postreload.c (reload_combine_recognize_pattern): Don't try to adjust
27529 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
27531 * config.in: Regenerated.
27532 * config/mips/linux.h (NEED_INDICATE_EXEC_STACK): Define to 1
27533 for TARGET_LIBC_GNUSTACK.
27534 * configure: Regenerated.
27535 * configure.ac: Define TARGET_LIBC_GNUSTACK if glibc version is
27536 found to be 2.31 or greater.
27538 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
27540 * config/mips/linux.h (NEED_INDICATE_EXEC_STACK): Define to
27542 * config/mips/mips.c (TARGET_ASM_FILE_END): Define to ...
27543 (mips_asm_file_end): New function. Delegate to
27544 file_end_indicate_exec_stack if NEED_INDICATE_EXEC_STACK is true.
27545 * config/mips/mips.h (NEED_INDICATE_EXEC_STACK): Define to 0.
27547 2020-01-23 Jakub Jelinek <jakub@redhat.com>
27550 * config/i386/i386-modes.def (POImode): New mode.
27551 (MAX_BITSIZE_MODE_ANY_INT): Change from 128 to 160.
27552 * config/i386/i386.md (DPWI): New mode attribute.
27553 (addv<mode>4, subv<mode>4): Use <DPWI> instead of <DWI>.
27554 (QWI): Rename to...
27555 (QPWI): ... this. Use POI instead of OI for TImode.
27556 (*addv<dwi>4_doubleword, *addv<dwi>4_doubleword_1,
27557 *subv<dwi>4_doubleword, *subv<dwi>4_doubleword_1): Use <QPWI>
27560 2020-01-23 Richard Sandiford <richard.sandiford@arm.com>
27563 * config/aarch64/aarch64.md (UNSPEC_SPECULATION_TRACKER_REV): New
27565 (speculation_tracker_rev): New pattern.
27566 * config/aarch64/aarch64-speculation.cc (aarch64_do_track_speculation):
27567 Use speculation_tracker_rev to track the inverse condition.
27569 2020-01-23 Richard Biener <rguenther@suse.de>
27571 PR tree-optimization/93381
27572 * tree-ssa-sccvn.c (vn_walk_cb_data::push_partial_def): Take
27573 alias-set of the def as argument and record the first one.
27574 (vn_walk_cb_data::first_set): New member.
27575 (vn_reference_lookup_3): Pass the alias-set of the current def
27576 to push_partial_def. Fix alias-set used in the aggregate copy
27578 (vn_reference_lookup): Consistently set *last_vuse_ptr.
27579 * real.c (clear_significand_below): Fix out-of-bound access.
27581 2020-01-23 Jakub Jelinek <jakub@redhat.com>
27584 * config/i386/i386.md (*bmi2_bzhi_<mode>3_2, *bmi2_bzhi_<mode>3_3):
27585 New define_insn patterns.
27587 2020-01-23 Richard Sandiford <richard.sandiford@arm.com>
27589 * doc/sourcebuild.texi (check-function-bodies): Add an
27590 optional target/xfail selector.
27592 2020-01-23 Richard Sandiford <richard.sandiford@arm.com>
27594 PR rtl-optimization/93124
27595 * auto-inc-dec.c (merge_in_block): Don't add auto inc/decs to
27596 bare USE and CLOBBER insns.
27598 2020-01-22 Andrew Pinski <apinski@marvell.com>
27600 * config/arc/arc.c (output_short_suffix): Check insn for nullness.
27602 2020-01-22 David Malcolm <dmalcolm@redhat.com>
27605 * gdbinit.in (break-on-saved-diagnostic): Update for move of
27606 diagnostic_manager into "ana" namespace.
27607 * selftest-run-tests.c (selftest::run_tests): Update for move of
27608 selftest::run_analyzer_selftests to
27609 ana::selftest::run_analyzer_selftests.
27611 2020-01-22 Richard Sandiford <richard.sandiford@arm.com>
27613 * cfgexpand.c (union_stack_vars): Update the size.
27615 2020-01-22 Richard Biener <rguenther@suse.de>
27617 PR tree-optimization/93381
27618 * tree-ssa-structalias.c (find_func_aliases): Assume offsetting
27619 throughout, handle all conversions the same.
27621 2020-01-22 Jakub Jelinek <jakub@redhat.com>
27624 * config/aarch64/aarch64.c (aarch64_expand_subvti): Only use
27625 gen_subdi3_compare1_imm if low_in2 satisfies aarch64_plus_immediate
27626 predicate, not whenever it is CONST_INT. Otherwise, force_reg it.
27627 Call force_reg on high_in2 unconditionally.
27629 2020-01-22 Martin Liska <mliska@suse.cz>
27631 PR tree-optimization/92924
27632 * profile.c (compute_value_histograms): Divide
27633 all counter values.
27635 2020-01-22 Jakub Jelinek <jakub@redhat.com>
27638 * output.h (assemble_name_resolve): Declare.
27639 * varasm.c (assemble_name_resolve): New function.
27640 (assemble_name): Use it.
27641 * config/i386/i386.h (ASM_OUTPUT_SYMBOL_REF): Define.
27643 2020-01-22 Joseph Myers <joseph@codesourcery.com>
27645 * doc/sourcebuild.texi (Texinfo Manuals, Front End): Refer to
27646 update_web_docs_git instead of update_web_docs_svn.
27648 2020-01-21 Andrew Pinski <apinski@marvell.com>
27651 * config/aarch64/aarch64.md (tlsgd_small_<mode>): Have operand 0
27652 as PTR mode. Have operand 1 as being modeless, it can be P mode.
27653 (*tlsgd_small_<mode>): Likewise.
27654 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately)
27655 <case SYMBOL_SMALL_TLSGD>: Call gen_tlsgd_small_* with a ptr_mode
27656 register. Convert that register back to dest using convert_mode.
27658 2020-01-21 Jim Wilson <jimw@sifive.com>
27660 * config/riscv/riscv-sr.c (riscv_sr_match_prologue): Use INTVAL
27663 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
27664 Uros Bizjak <ubizjak@gmail.com>
27667 * config/i386/i386.c (ix86_tls_module_base): Replace Pmode
27669 (legitimize_tls_address): Do GNU2 TLS address computation in
27670 ptr_mode and zero-extend result to Pmode.
27671 * config/i386/i386.md (@tls_dynamic_gnu2_64_<mode>): Replace
27672 :P with :PTR and Pmode with ptr_mode.
27673 (*tls_dynamic_gnu2_lea_64_<mode>): Likewise.
27674 (*tls_dynamic_gnu2_call_64_<mode>): Likewise.
27675 (*tls_dynamic_gnu2_combine_64_<mode>): Likewise.
27677 2020-01-21 Jakub Jelinek <jakub@redhat.com>
27680 * config/riscv/riscv.c (riscv_rtx_costs) <case ZERO_EXTRACT>: Verify
27681 the last two operands are CONST_INT_P before using them as such.
27683 2020-01-21 Richard Sandiford <richard.sandiford@arm.com>
27685 * config/aarch64/aarch64-sve-builtins.def: Use get_typenode_from_name
27686 to get the integer element types.
27688 2020-01-21 Richard Sandiford <richard.sandiford@arm.com>
27690 * config/aarch64/aarch64-sve-builtins.h
27691 (function_expander::convert_to_pmode): Declare.
27692 * config/aarch64/aarch64-sve-builtins.cc
27693 (function_expander::convert_to_pmode): New function.
27694 (function_expander::get_contiguous_base): Use it.
27695 (function_expander::prepare_gather_address_operands): Likewise.
27696 * config/aarch64/aarch64-sve-builtins-sve2.cc
27697 (svwhilerw_svwhilewr_impl::expand): Likewise.
27699 2020-01-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
27702 * config/aarch64/aarch64.c (aarch64_declare_function_name): Set
27703 cfun->machine->label_is_assembled.
27704 (aarch64_print_patchable_function_entry): New.
27705 (TARGET_ASM_PRINT_PATCHABLE_FUNCTION_ENTRY): Define.
27706 * config/aarch64/aarch64.h (struct machine_function): New field,
27707 label_is_assembled.
27709 2020-01-21 David Malcolm <dmalcolm@redhat.com>
27712 * ipa-profile.c (ipa_profile): Delete call_sums and set it to
27715 2020-01-18 Jan Hubicka <hubicka@ucw.cz>
27718 * cgraph.c (cgraph_edge::resolve_speculation,
27719 cgraph_edge::redirect_call_stmt_to_callee): Fix update of
27720 call_stmt_site_hash.
27722 2020-01-21 Martin Liska <mliska@suse.cz>
27724 * config/rs6000/rs6000.c (common_mode_defined): Remove
27727 2020-01-21 Richard Biener <rguenther@suse.de>
27729 PR tree-optimization/92328
27730 * tree-ssa-sccvn.c (vn_reference_lookup_3): Preserve
27731 type when value-numbering same-sized store by inserting a
27733 (eliminate_dom_walker::eliminate_stmt): When eliminating
27734 a redundant store handle bit-reinterpretation of the same value.
27736 2020-01-21 Andrew Pinski <apinski@marvel.com>
27739 * tree-into-ssa.c (prepare_block_for_update_1): Split out
27741 (prepare_block_for_update): This. Use a worklist instead of
27744 2020-01-21 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
27746 * config/arm/arm.c (clear_operation_p):
27747 Initialise last_regno, skip first iteration
27748 based on the first_set value and use ints instead
27749 of the unnecessary HOST_WIDE_INTs.
27751 2020-01-21 Jakub Jelinek <jakub@redhat.com>
27754 * config/rs6000/rs6000.c (rs6000_emit_cmove): If using fsel, punt for
27755 compare_mode other than SFmode or DFmode.
27757 2020-01-21 Kito Cheng <kito.cheng@sifive.com>
27760 * config/riscv/riscv-protos.h (riscv_hard_regno_rename_ok): New.
27761 * config/riscv/riscv.c (riscv_hard_regno_rename_ok): New.
27762 * config/riscv/riscv.h (HARD_REGNO_RENAME_OK): Defined.
27764 2020-01-20 Wilco Dijkstra <wdijkstr@arm.com>
27766 * config/aarch64/aarch64.c (neoversen1_tunings): Set jump_align to 4.
27768 2020-01-20 Andrew Pinski <apinski@marvell.com>
27770 PR middle-end/93242
27771 * targhooks.c (default_print_patchable_function_entry): Use
27772 output_asm_insn to emit the nop instruction.
27774 2020-01-20 Fangrui Song <maskray@google.com>
27776 PR middle-end/93194
27777 * targhooks.c (default_print_patchable_function_entry): Align to
27780 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
27783 * config/i386/i386.c (legitimize_tls_address): Pass Pmode to
27784 gen_tls_dynamic_gnu2_64. Compute GNU2 TLS address in ptr_mode.
27785 * config/i386/i386.md (tls_dynamic_gnu2_64): Renamed to ...
27786 (@tls_dynamic_gnu2_64_<mode>): This. Replace DI with P.
27787 (*tls_dynamic_gnu2_lea_64): Renamed to ...
27788 (*tls_dynamic_gnu2_lea_64_<mode>): This. Replace DI with P.
27789 Remove the {q} suffix from lea.
27790 (*tls_dynamic_gnu2_call_64): Renamed to ...
27791 (*tls_dynamic_gnu2_call_64_<mode>): This. Replace DI with P.
27792 (*tls_dynamic_gnu2_combine_64): Renamed to ...
27793 (*tls_dynamic_gnu2_combine_64_<mode>): This. Replace DI with P.
27794 Pass Pmode to gen_tls_dynamic_gnu2_64.
27796 2020-01-20 Wilco Dijkstra <wdijkstr@arm.com>
27798 * config/aarch64/aarch64.h (SLOW_BYTE_ACCESS): Set to 1.
27800 2020-01-20 Richard Sandiford <richard.sandiford@arm.com>
27802 * config/aarch64/aarch64-sve-builtins-base.cc
27803 (svld1ro_impl::memory_vector_mode): Remove parameter name.
27805 2020-01-20 Richard Biener <rguenther@suse.de>
27808 * dwarf2out.c (prune_unused_types): Unconditionally mark
27809 called function DIEs.
27811 2020-01-20 Martin Liska <mliska@suse.cz>
27813 PR tree-optimization/93199
27814 * tree-eh.c (struct leh_state): Add
27815 new field outer_non_cleanup.
27816 (cleanup_is_dead_in): Pass leh_state instead
27817 of eh_region. Add a checking that state->outer_non_cleanup
27818 points to outer non-clean up region.
27819 (lower_try_finally): Record outer_non_cleanup
27821 (lower_catch): Likewise.
27822 (lower_eh_filter): Likewise.
27823 (lower_eh_must_not_throw): Likewise.
27824 (lower_cleanup): Likewise.
27826 2020-01-20 Richard Biener <rguenther@suse.de>
27828 PR tree-optimization/93094
27829 * tree-vectorizer.h (vect_loop_versioning): Adjust.
27830 (vect_transform_loop): Likewise.
27831 * tree-vectorizer.c (try_vectorize_loop_1): Pass down
27832 loop_vectorized_call to vect_transform_loop.
27833 * tree-vect-loop.c (vect_transform_loop): Pass down
27834 loop_vectorized_call to vect_loop_versioning.
27835 * tree-vect-loop-manip.c (vect_loop_versioning): Use
27836 the earlier discovered loop_vectorized_call.
27838 2020-01-19 Eric S. Raymond <esr@thyrsus.com>
27840 * doc/contribute.texi: Update for SVN -> Git transition.
27841 * doc/install.texi: Likewise.
27843 2020-01-18 Jan Hubicka <hubicka@ucw.cz>
27846 * cgraph.c (cgraph_edge::make_speculative): Increase number of
27847 speculative targets.
27848 (verify_speculative_call): New function
27849 (cgraph_node::verify_node): Use it.
27850 * ipa-profile.c (ipa_profile): Fix formating; do not set number of
27853 2020-01-18 Jan Hubicka <hubicka@ucw.cz>
27856 * cgraph.c (cgraph_edge::resolve_speculation): Fix foramting.
27857 (cgraph_edge::make_direct): Remove all indirect targets.
27858 (cgraph_edge::redirect_call_stmt_to_callee): Use make_direct..
27859 (cgraph_node::verify_node): Verify that only one call_stmt or
27860 lto_stmt_uid is set.
27861 * cgraphclones.c (cgraph_edge::clone): Set only one call_stmt or
27863 * lto-cgraph.c (lto_output_edge): Simplify streaming of stmt.
27864 (lto_output_ref): Simplify streaming of stmt.
27865 * lto-streamer-in.c (fixup_call_stmt_edges_1): Clear lto_stmt_uid.
27867 2020-01-18 Tamar Christina <tamar.christina@arm.com>
27869 * config/aarch64/aarch64-sve-builtins-base.cc (memory_vector_mode):
27870 Mark parameter unused.
27872 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
27874 * config.gcc <obsolete targets>: Add crisv32-*-* and cris-*-linux*
27876 2019-01-18 Gerald Pfeifer <gerald@pfeifer.com>
27878 * varpool.c (ctor_useable_for_folding_p): Fix grammar.
27880 2020-01-18 Iain Sandoe <iain@sandoe.co.uk>
27882 * Makefile.in: Add coroutine-passes.o.
27883 * builtin-types.def (BT_CONST_SIZE): New.
27884 (BT_FN_BOOL_PTR): New.
27885 (BT_FN_PTR_PTR_CONST_SIZE_BOOL): New.
27886 * builtins.def (DEF_COROUTINE_BUILTIN): New.
27887 * coroutine-builtins.def: New file.
27888 * coroutine-passes.cc: New file.
27889 * function.h (struct GTY function): Add a bit to indicate that the
27890 function is a coroutine component.
27891 * internal-fn.c (expand_CO_FRAME): New.
27892 (expand_CO_YIELD): New.
27893 (expand_CO_SUSPN): New.
27894 (expand_CO_ACTOR): New.
27895 * internal-fn.def (CO_ACTOR): New.
27899 * passes.def: Add pass_coroutine_lower_builtins,
27900 pass_coroutine_early_expand_ifns.
27901 * tree-pass.h (make_pass_coroutine_lower_builtins): New.
27902 (make_pass_coroutine_early_expand_ifns): New.
27903 * doc/invoke.texi: Document the fcoroutines command line
27906 2020-01-18 Jakub Jelinek <jakub@redhat.com>
27908 * config/arm/vfp.md (*clear_vfp_multiple): Remove unused variable.
27911 * config/arm/arm.c (clear_operation_p): Don't use REGNO until
27912 after checking the argument is a REG. Don't use REGNO (reg)
27913 again to set last_regno, reuse regno variable instead.
27915 2020-01-17 David Malcolm <dmalcolm@redhat.com>
27917 * doc/analyzer.texi (Limitations): Add note about NaN.
27919 2020-01-17 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
27920 Sudakshina Das <sudi.das@arm.com>
27922 * config/arm/arm.md (ashldi3): Generate thumb2_lsll for both reg
27923 and valid immediate.
27924 (ashrdi3): Generate thumb2_asrl for both reg and valid immediate.
27925 (lshrdi3): Generate thumb2_lsrl for valid immediates.
27926 * config/arm/constraints.md (Pg): New.
27927 * config/arm/predicates.md (long_shift_imm): New.
27928 (arm_reg_or_long_shift_imm): Likewise.
27929 * config/arm/thumb2.md (thumb2_asrl): New immediate alternative.
27930 (thumb2_lsll): Likewise.
27931 (thumb2_lsrl): New.
27933 2020-01-17 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
27934 Sudakshina Das <sudi.das@arm.com>
27936 * config/arm/arm.md (ashldi3): Generate thumb2_lsll for TARGET_HAVE_MVE.
27937 (ashrdi3): Generate thumb2_asrl for TARGET_HAVE_MVE.
27938 * config/arm/arm.c (arm_hard_regno_mode_ok): Allocate even odd
27939 register pairs for doubleword quantities for ARMv8.1M-Mainline.
27940 * config/arm/thumb2.md (thumb2_asrl): New.
27941 (thumb2_lsll): Likewise.
27943 2020-01-17 Jakub Jelinek <jakub@redhat.com>
27945 * config/arm/arm.c (cmse_nonsecure_call_inline_register_clear): Remove
27948 2020-01-17 Alexander Monakov <amonakov@ispras.ru>
27950 * gdbinit.in (help-gcc-hooks): New command.
27951 (pp, pr, prl, pt, pct, pgg, pgq, pgs, pge, pmz, ptc, pdn, ptn, pdd, prc,
27952 pi, pbm, pel, trt): Take $arg0 instead of $ if supplied. Update
27955 2020-01-17 Matthew Malcomson <matthew.malcomson@arm.com>
27957 * config/aarch64/aarch64-sve.md (@aarch64_sve_ld1ro<mode>): Use the
27958 correct target macro.
27960 2020-01-17 Matthew Malcomson <matthew.malcomson@arm.com>
27962 * config/aarch64/aarch64-protos.h
27963 (aarch64_sve_ld1ro_operand_p): New.
27964 * config/aarch64/aarch64-sve-builtins-base.cc
27965 (class load_replicate): New.
27966 (class svld1ro_impl): New.
27967 (class svld1rq_impl): Change to inherit from load_replicate.
27968 (svld1ro): New sve intrinsic function base.
27969 * config/aarch64/aarch64-sve-builtins-base.def (svld1ro):
27970 New DEF_SVE_FUNCTION.
27971 * config/aarch64/aarch64-sve-builtins-base.h
27972 (svld1ro): New decl.
27973 * config/aarch64/aarch64-sve-builtins.cc
27974 (function_expander::add_mem_operand): Modify assert to allow
27976 * config/aarch64/aarch64-sve.md (@aarch64_sve_ld1ro<mode>): New
27978 * config/aarch64/aarch64.c
27979 (aarch64_sve_ld1rq_operand_p): Implement in terms of ...
27980 (aarch64_sve_ld1rq_ld1ro_operand_p): This.
27981 (aarch64_sve_ld1ro_operand_p): New.
27982 * config/aarch64/aarch64.md (UNSPEC_LD1RO): New unspec.
27983 * config/aarch64/constraints.md (UOb,UOh,UOw,UOd): New.
27984 * config/aarch64/predicates.md
27985 (aarch64_sve_ld1ro_operand_{b,h,w,d}): New.
27987 2020-01-17 Matthew Malcomson <matthew.malcomson@arm.com>
27989 * config/aarch64/aarch64-c.c (_ARM_FEATURE_MATMUL_FLOAT64):
27990 Introduce this ACLE specified predefined macro.
27991 * config/aarch64/aarch64-option-extensions.def (f64mm): New.
27992 (fp): Disabling this disables f64mm.
27993 (simd): Disabling this disables f64mm.
27994 (fp16): Disabling this disables f64mm.
27995 (sve): Disabling this disables f64mm.
27996 * config/aarch64/aarch64.h (AARCH64_FL_F64MM): New.
27997 (AARCH64_ISA_F64MM): New.
27998 (TARGET_F64MM): New.
27999 * doc/invoke.texi (f64mm): Document new option.
28001 2020-01-17 Wilco Dijkstra <wdijkstr@arm.com>
28003 * config/aarch64/aarch64.c (generic_tunings): Add branch fusion.
28004 (neoversen1_tunings): Likewise.
28006 2020-01-17 Wilco Dijkstra <wdijkstr@arm.com>
28009 * config/aarch64/aarch64.c (aarch64_split_compare_and_swap)
28010 Add assert to ensure prolog has been emitted.
28011 (aarch64_split_atomic_op): Likewise.
28012 * config/aarch64/atomics.md (aarch64_compare_and_swap<mode>)
28013 Use epilogue_completed rather than reload_completed.
28014 (aarch64_atomic_exchange<mode>): Likewise.
28015 (aarch64_atomic_<atomic_optab><mode>): Likewise.
28016 (atomic_nand<mode>): Likewise.
28017 (aarch64_atomic_fetch_<atomic_optab><mode>): Likewise.
28018 (atomic_fetch_nand<mode>): Likewise.
28019 (aarch64_atomic_<atomic_optab>_fetch<mode>): Likewise.
28020 (atomic_nand_fetch<mode>): Likewise.
28022 2020-01-17 Richard Sandiford <richard.sandiford@arm.com>
28025 * config/aarch64/aarch64.h (REVERSIBLE_CC_MODE): Return false
28027 (REVERSE_CONDITION): Delete.
28028 * config/aarch64/iterators.md (CC_ONLY): New mode iterator.
28029 (CCFP_CCFPE): Likewise.
28030 (e): New mode attribute.
28031 * config/aarch64/aarch64.md (ccmp<GPI:mode>): Rename to...
28032 (@ccmp<CC_ONLY:mode><GPI:mode>): ...this, using CC_ONLY instead of CC.
28033 (fccmp<GPF:mode>, fccmpe<GPF:mode>): Merge into...
28034 (@ccmp<CCFP_CCFPE:mode><GPF:mode>): ...this combined pattern.
28035 (@ccmp<CC_ONLY:mode><GPI:mode>_rev): New pattern.
28036 (@ccmp<CCFP_CCFPE:mode><GPF:mode>_rev): Likewise.
28037 * config/aarch64/aarch64.c (aarch64_gen_compare_reg): Update
28038 name of generator from gen_ccmpdi to gen_ccmpccdi.
28039 (aarch64_gen_ccmp_next): Use code_for_ccmp. If we want to reverse
28040 the previous comparison but aren't able to, use the new ccmp_rev
28043 2020-01-17 Richard Sandiford <richard.sandiford@arm.com>
28045 * gimplify.c (gimplify_return_expr): Use poly_int_tree_p rather
28046 than testing directly for INTEGER_CST.
28047 (gimplify_target_expr, gimplify_omp_depend): Likewise.
28049 2020-01-17 Jakub Jelinek <jakub@redhat.com>
28051 PR tree-optimization/93292
28052 * tree-vect-stmts.c (vectorizable_comparison): Punt also if
28053 get_vectype_for_scalar_type returns NULL.
28055 2020-01-16 Jan Hubicka <hubicka@ucw.cz>
28057 * params.opt (-param=max-predicted-iterations): Increase range from 0.
28058 * predict.c (estimate_loops): Add 1 to param_max_predicted_iterations.
28060 2020-01-16 Jan Hubicka <hubicka@ucw.cz>
28062 * ipa-fnsummary.c (estimate_calls_size_and_time): Fix formating of
28064 * params.opt: (max-predicted-iterations): Set bounds.
28065 * predict.c (real_almost_one, real_br_prob_base,
28066 real_inv_br_prob_base, real_one_half, real_bb_freq_max): Remove.
28067 (propagate_freq): Add max_cyclic_prob parameter; cap cyclic
28068 probabilities; do not truncate to reg_br_prob_bases.
28069 (estimate_loops_at_level): Pass max_cyclic_prob.
28070 (estimate_loops): Compute max_cyclic_prob.
28071 (estimate_bb_frequencies): Do not initialize real_*; update calculation
28073 * profile-count.c (profile_probability::to_sreal): New.
28074 * profile-count.h (class sreal): Move up in file.
28075 (profile_probability::to_sreal): Declare.
28077 2020-01-16 Stam Markianos-Wright <stam.markianos-wright@arm.com>
28080 (arm_invalid_conversion): New function for target hook.
28081 (arm_invalid_unary_op): New function for target hook.
28082 (arm_invalid_binary_op): New function for target hook.
28084 2020-01-16 Stam Markianos-Wright <stam.markianos-wright@arm.com>
28086 * config.gcc: Add arm_bf16.h.
28087 * config/arm/arm-builtins.c (arm_mangle_builtin_type): Fix comment.
28088 (arm_simd_builtin_std_type): Add BFmode.
28089 (arm_init_simd_builtin_types): Define element types for vector types.
28090 (arm_init_bf16_types): New function.
28091 (arm_init_builtins): Add arm_init_bf16_types function call.
28092 * config/arm/arm-modes.def: Add BFmode and V4BF, V8BF vector modes.
28093 * config/arm/arm-simd-builtin-types.def: Add V4BF, V8BF.
28094 * config/arm/arm.c (aapcs_vfp_sub_candidate): Add BFmode.
28095 (arm_hard_regno_mode_ok): Add BFmode and tidy up statements.
28096 (arm_vector_mode_supported_p): Add V4BF, V8BF.
28097 (arm_mangle_type): Add __bf16.
28098 * config/arm/arm.h: Add V4BF, V8BF to VALID_NEON_DREG_MODE,
28099 VALID_NEON_QREG_MODE respectively. Add export arm_bf16_type_node,
28100 arm_bf16_ptr_type_node.
28101 * config/arm/arm.md: Add BFmode to movhf expand, mov pattern and
28102 define_split between ARM registers.
28103 * config/arm/arm_bf16.h: New file.
28104 * config/arm/arm_neon.h: Add arm_bf16.h and Bfloat vector types.
28105 * config/arm/iterators.md: (ANY64_BF, VDXMOV, VHFBF, HFBF, fporbf): New.
28106 (VQXMOV): Add V8BF.
28107 * config/arm/neon.md: Add BF vector types to movhf NEON move patterns.
28108 * config/arm/vfp.md: Add BFmode to movhf patterns.
28110 2020-01-16 Mihail Ionescu <mihail.ionescu@arm.com>
28111 Andre Vieira <andre.simoesdiasvieira@arm.com>
28113 * config/arm/arm-cpus.in (mve, mve_float): New features.
28114 (dsp, mve, mve.fp): New options.
28115 * config/arm/arm.h (TARGET_HAVE_MVE, TARGET_HAVE_MVE_FLOAT): Define.
28116 * config/arm/t-rmprofile: Map v8.1-M multilibs to v8-M.
28117 * doc/invoke.texi: Document the armv8.1-m mve and dps options.
28119 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
28120 Thomas Preud'homme <thomas.preudhomme@arm.com>
28122 * config/arm/arm-cpus.in (ARMv8_1m_main): Redefine as an extension to
28124 * config/arm/arm.c (arm_options_perform_arch_sanity_checks): Remove
28125 error for using -mcmse when targeting Armv8.1-M Mainline.
28127 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
28128 Thomas Preud'homme <thomas.preudhomme@arm.com>
28130 * config/arm/arm.md (nonsecure_call_internal): Do not force memory
28131 address in r4 when targeting Armv8.1-M Mainline.
28132 (nonsecure_call_value_internal): Likewise.
28133 * config/arm/thumb2.md (nonsecure_call_reg_thumb2): Make memory address
28134 a register match_operand again. Emit BLXNS when targeting
28135 Armv8.1-M Mainline.
28136 (nonsecure_call_value_reg_thumb2): Likewise.
28138 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
28139 Thomas Preud'homme <thomas.preudhomme@arm.com>
28141 * config/arm/arm.c (arm_add_cfa_adjust_cfa_note): Declare early.
28142 (cmse_nonsecure_call_inline_register_clear): Define new lazy_fpclear
28143 variable as true when floating-point ABI is not hard. Replace
28144 check against TARGET_HARD_FLOAT_ABI by checks against lazy_fpclear.
28145 Generate VLSTM and VLLDM instruction respectively before and
28146 after a function call to cmse_nonsecure_call function.
28147 * config/arm/unspecs.md (VUNSPEC_VLSTM): Define unspec.
28148 (VUNSPEC_VLLDM): Likewise.
28149 * config/arm/vfp.md (lazy_store_multiple_insn): New define_insn.
28150 (lazy_load_multiple_insn): Likewise.
28152 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
28153 Thomas Preud'homme <thomas.preudhomme@arm.com>
28155 * config/arm/arm.c (vfp_emit_fstmd): Declare early.
28156 (arm_emit_vfp_multi_reg_pop): Likewise.
28157 (cmse_nonsecure_call_inline_register_clear): Abstract number of VFP
28158 registers to clear in max_fp_regno. Emit VPUSH and VPOP to save and
28159 restore callee-saved VFP registers.
28161 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
28162 Thomas Preud'homme <thomas.preudhomme@arm.com>
28164 * config/arm/arm.c (arm_emit_multi_reg_pop): Declare early.
28165 (cmse_nonsecure_call_clear_caller_saved): Rename into ...
28166 (cmse_nonsecure_call_inline_register_clear): This. Save and clear
28167 callee-saved GPRs as well as clear ip register before doing a nonsecure
28168 call then restore callee-saved GPRs after it when targeting
28169 Armv8.1-M Mainline.
28170 (arm_reorg): Adapt to function rename.
28172 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
28173 Thomas Preud'homme <thomas.preudhomme@arm.com>
28175 * config/arm/arm-protos.h (clear_operation_p): Adapt prototype.
28176 * config/arm/arm.c (clear_operation_p): Extend to be able to check a
28177 clear_vfp_multiple pattern based on a new vfp parameter.
28178 (cmse_clear_registers): Generate VSCCLRM to clear VFP registers when
28179 targeting Armv8.1-M Mainline.
28180 (cmse_nonsecure_entry_clear_before_return): Clear VFP registers
28181 unconditionally when targeting Armv8.1-M Mainline architecture. Check
28182 whether VFP registers are available before looking call_used_regs for a
28184 * config/arm/predicates.md (clear_multiple_operation): Adapt to change
28185 of prototype of clear_operation_p.
28186 (clear_vfp_multiple_operation): New predicate.
28187 * config/arm/unspecs.md (VUNSPEC_VSCCLRM_VPR): New volatile unspec.
28188 * config/arm/vfp.md (clear_vfp_multiple): New define_insn.
28190 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
28191 Thomas Preud'homme <thomas.preudhomme@arm.com>
28193 * config/arm/arm-protos.h (clear_operation_p): Declare.
28194 * config/arm/arm.c (clear_operation_p): New function.
28195 (cmse_clear_registers): Generate clear_multiple instruction pattern if
28196 targeting Armv8.1-M Mainline or successor.
28197 (output_return_instruction): Only output APSR register clearing if
28198 Armv8.1-M Mainline instructions not available.
28199 (thumb_exit): Likewise.
28200 * config/arm/predicates.md (clear_multiple_operation): New predicate.
28201 * config/arm/thumb2.md (clear_apsr): New define_insn.
28202 (clear_multiple): Likewise.
28203 * config/arm/unspecs.md (VUNSPEC_CLRM_APSR): New volatile unspec.
28205 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
28206 Thomas Preud'homme <thomas.preudhomme@arm.com>
28208 * config/arm/arm.c (fp_sysreg_names): Declare and define.
28209 (use_return_insn): Also return false for Armv8.1-M Mainline.
28210 (output_return_instruction): Skip FPSCR clearing if Armv8.1-M
28211 Mainline instructions are available.
28212 (arm_compute_frame_layout): Allocate space in frame for FPCXTNS
28213 when targeting Armv8.1-M Mainline Security Extensions.
28214 (arm_expand_prologue): Save FPCXTNS if this is an Armv8.1-M
28215 Mainline entry function.
28216 (cmse_nonsecure_entry_clear_before_return): Clear IP and r4 if
28217 targeting Armv8.1-M Mainline or successor.
28218 (arm_expand_epilogue): Fix indentation of caller-saved register
28219 clearing. Restore FPCXTNS if this is an Armv8.1-M Mainline
28221 * config/arm/arm.h (TARGET_HAVE_FP_CMSE): New macro.
28222 (FP_SYSREGS): Likewise.
28223 (enum vfp_sysregs_encoding): Define enum.
28224 (fp_sysreg_names): Declare.
28225 * config/arm/unspecs.md (VUNSPEC_VSTR_VLDR): New volatile unspec.
28226 * config/arm/vfp.md (push_fpsysreg_insn): New define_insn.
28227 (pop_fpsysreg_insn): Likewise.
28229 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
28230 Thomas Preud'homme <thomas.preudhomme@arm.com>
28232 * config/arm/arm-cpus.in (armv8_1m_main): New feature.
28233 (ARMv4, ARMv4t, ARMv5t, ARMv5te, ARMv5tej, ARMv6, ARMv6j, ARMv6k,
28234 ARMv6z, ARMv6kz, ARMv6zk, ARMv6t2, ARMv6m, ARMv7, ARMv7a, ARMv7ve,
28235 ARMv7r, ARMv7m, ARMv7em, ARMv8a, ARMv8_1a, ARMv8_2a, ARMv8_3a,
28236 ARMv8_4a, ARMv8_5a, ARMv8m_base, ARMv8m_main, ARMv8r): Reindent.
28237 (ARMv8_1m_main): New feature group.
28238 (armv8.1-m.main): New architecture.
28239 * config/arm/arm-tables.opt: Regenerate.
28240 * config/arm/arm.c (arm_arch8_1m_main): Define and default initialize.
28241 (arm_option_reconfigure_globals): Initialize arm_arch8_1m_main.
28242 (arm_options_perform_arch_sanity_checks): Error out when targeting
28243 Armv8.1-M Mainline Security Extensions.
28244 * config/arm/arm.h (arm_arch8_1m_main): Declare.
28246 2020-01-16 Stam Markianos-Wright <stam.markianos-wright@arm.com>
28248 * config/aarch64/aarch64-simd-builtins.def (aarch64_bfdot,
28249 aarch64_bfdot_lane, aarch64_bfdot_laneq): New.
28250 * config/aarch64/aarch64-simd.md (aarch64_bfdot, aarch64_bfdot_lane,
28251 aarch64_bfdot_laneq): New.
28252 * config/aarch64/arm_bf16.h (vbfdot_f32, vbfdotq_f32,
28253 vbfdot_lane_f32, vbfdotq_lane_f32, vbfdot_laneq_f32,
28254 vbfdotq_laneq_f32): New.
28255 * config/aarch64/iterators.md (UNSPEC_BFDOT, Vbfdottype,
28256 VBFMLA_W, VBF): New.
28257 (isquadop): Add V4BF, V8BF.
28259 2020-01-16 Stam Markianos-Wright <stam.markianos-wright@arm.com>
28261 * config/aarch64/aarch64-builtins.c: (enum aarch64_type_qualifiers):
28262 New qualifier_lane_quadtup_index, TYPES_TERNOP_SSUS,
28263 TYPES_QUADOPSSUS_LANE_QUADTUP, TYPES_QUADOPSSSU_LANE_QUADTUP.
28264 (aarch64_simd_expand_args): Add case SIMD_ARG_LANE_QUADTUP_INDEX.
28265 (aarch64_simd_expand_builtin): Add qualifier_lane_quadtup_index.
28266 * config/aarch64/aarch64-simd-builtins.def (usdot, usdot_lane,
28267 usdot_laneq, sudot_lane,sudot_laneq): New.
28268 * config/aarch64/aarch64-simd.md (aarch64_usdot): New.
28269 (aarch64_<sur>dot_lane): New.
28270 * config/aarch64/arm_neon.h (vusdot_s32): New.
28271 (vusdotq_s32): New.
28272 (vusdot_lane_s32): New.
28273 (vsudot_lane_s32): New.
28274 * config/aarch64/iterators.md (DOTPROD_I8MM): New iterator.
28275 (UNSPEC_USDOT, UNSPEC_SUDOT): New unspecs.
28277 2020-01-16 Martin Liska <mliska@suse.cz>
28279 * value-prof.c (dump_histogram_value): Fix
28280 obvious spacing issue.
28282 2020-01-16 Andrew Pinski <apinski@marvell.com>
28284 * tree-ssa-sccvn.c(vn_reference_lookup_3): Check lhs for
28285 !storage_order_barrier_p.
28287 2020-01-16 Andrew Pinski <apinski@marvell.com>
28289 * sched-int.h (_dep): Add unused bit-field field for the padding.
28290 * sched-deps.c (init_dep_1): Init unused field.
28292 2020-01-16 Andrew Pinski <apinski@marvell.com>
28294 * optabs.h (create_expand_operand): Initialize target field also.
28296 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
28298 PR tree-optimization/92429
28299 * tree-ssa-loop-niter.h (simplify_replace_tree): Add parameter.
28300 * tree-ssa-loop-niter.c (simplify_replace_tree): Add parameter to
28302 * tree-vect-loop.c (update_epilogue_vinfo): Do not fold when replacing
28305 2020-01-16 Richard Sandiford <richard.sandiford@arm.com>
28307 * config/aarch64/aarch64.c (aarch64_split_sve_subreg_move): Apply
28308 aarch64_sve_int_mode to each mode.
28310 2020-01-15 David Malcolm <dmalcolm@redhat.com>
28312 * doc/analyzer.texi (Overview): Add note about
28313 -fdump-ipa-analyzer.
28315 2020-01-15 Wilco Dijkstra <wdijkstr@arm.com>
28317 PR tree-optimization/93231
28318 * tree-ssa-forwprop.c (optimize_count_trailing_zeroes): Check
28319 input_type is unsigned. Use tree_to_shwi for shift constant.
28320 Check CST_STRING element size is CHAR_TYPE_SIZE bits.
28321 (simplify_count_trailing_zeroes): Add test to handle known non-zero
28322 inputs more efficiently.
28324 2020-01-15 Uroš Bizjak <ubizjak@gmail.com>
28326 * config/i386/i386.md (*movsf_internal): Do not require
28327 SSE2 ISA for alternatives 14 and 15.
28329 2020-01-15 Richard Biener <rguenther@suse.de>
28331 PR middle-end/93273
28332 * tree-eh.c (sink_clobbers): If we already visited the destination
28333 block do not defer insertion.
28334 (pass_lower_eh_dispatch::execute): Maintain BB_VISITED for
28335 the purpose of defered insertion.
28337 2020-01-15 Jakub Jelinek <jakub@redhat.com>
28339 * BASE-VER: Bump to 10.0.1.
28341 2020-01-15 Richard Sandiford <richard.sandiford@arm.com>
28343 PR tree-optimization/93247
28344 * tree-vect-loop.c (update_epilogue_loop_vinfo): Check the access
28345 type of the stmt that we're going to vectorize.
28347 2020-01-15 Richard Sandiford <richard.sandiford@arm.com>
28349 * tree-vect-slp.c (vectorize_slp_instance_root_stmt): Use a
28350 VIEW_CONVERT_EXPR if the vectorized constructor has a diffeent
28353 2020-01-15 Martin Liska <mliska@suse.cz>
28355 * ipa-profile.c (ipa_profile_read_edge_summary): Do not allow
28356 2 calls of streamer_read_hwi in a function call.
28358 2020-01-15 Richard Biener <rguenther@suse.de>
28360 * alias.c (record_alias_subset): Avoid redundant work when
28361 subset is already recorded.
28363 2020-01-14 David Malcolm <dmalcolm@redhat.com>
28365 * doc/invoke.texi (-fdiagnostics-show-cwe): Add note that some of
28366 the analyzer options provide CWE identifiers.
28368 2020-01-14 David Malcolm <dmalcolm@redhat.com>
28370 * tree-diagnostic-path.cc (path_summary::event_range::print):
28371 When testing for UNKNOWN_LOCATION, look through ad-hoc wrappers
28372 using get_pure_location.
28374 2020-01-15 Jakub Jelinek <jakub@redhat.com>
28376 PR tree-optimization/93262
28377 * tree-ssa-dse.c (maybe_trim_memstar_call): For *_chk builtins,
28378 perform head trimming only if the last argument is constant,
28379 either all ones, or larger or equal to head trim, in the latter
28380 case decrease the last argument by head_trim.
28382 PR tree-optimization/93249
28383 * tree-ssa-dse.c: Include builtins.h and gimple-fold.h.
28384 (maybe_trim_memstar_call): Move head_trim and tail_trim vars to
28385 function body scope, reindent. For BUILTIN_IN_STRNCPY*, don't
28386 perform head trim unless we can prove there are no '\0' chars
28387 from the source among the first head_trim chars.
28389 2020-01-14 David Malcolm <dmalcolm@redhat.com>
28391 * Makefile.in (ANALYZER_OBJS): Add analyzer/function-set.o.
28393 2020-01-15 Jakub Jelinek <jakub@redhat.com>
28396 * config/i386/sse.md
28397 (*<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name>_bcst_1,
28398 *<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name>_bcst_1,
28399 *<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name>_bcst_1,
28400 *<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name>_bcst_1): Use
28401 just a single alternative instead of two, make operands 1 and 2
28404 2020-01-14 Jan Hubicka <hubicka@ucw.cz>
28407 * ipa-devirt.c (odr_types_equivalent_p): Compare TREE_ADDRESSABLE and
28410 2020-01-14 David Malcolm <dmalcolm@redhat.com>
28412 * Makefile.in (lang_opt_files): Add analyzer.opt.
28413 (ANALYZER_OBJS): New.
28414 (OBJS): Add digraph.o, graphviz.o, ordered-hash-map-tests.o,
28415 tristate.o and ANALYZER_OBJS.
28416 (TEXI_GCCINT_FILES): Add analyzer.texi.
28417 * common.opt (-fanalyzer): New driver option.
28418 * config.in: Regenerate.
28419 * configure: Regenerate.
28420 * configure.ac (--disable-analyzer, ENABLE_ANALYZER): New option.
28421 (gccdepdir): Also create depdir for "analyzer" subdir.
28422 * digraph.cc: New file.
28423 * digraph.h: New file.
28424 * doc/analyzer.texi: New file.
28425 * doc/gccint.texi ("Static Analyzer") New menu item.
28426 (analyzer.texi): Include it.
28427 * doc/invoke.texi ("Static Analyzer Options"): New list and new section.
28428 ("Warning Options"): Add static analysis warnings to the list.
28429 (-Wno-analyzer-double-fclose): New option.
28430 (-Wno-analyzer-double-free): New option.
28431 (-Wno-analyzer-exposure-through-output-file): New option.
28432 (-Wno-analyzer-file-leak): New option.
28433 (-Wno-analyzer-free-of-non-heap): New option.
28434 (-Wno-analyzer-malloc-leak): New option.
28435 (-Wno-analyzer-possible-null-argument): New option.
28436 (-Wno-analyzer-possible-null-dereference): New option.
28437 (-Wno-analyzer-null-argument): New option.
28438 (-Wno-analyzer-null-dereference): New option.
28439 (-Wno-analyzer-stale-setjmp-buffer): New option.
28440 (-Wno-analyzer-tainted-array-index): New option.
28441 (-Wno-analyzer-use-after-free): New option.
28442 (-Wno-analyzer-use-of-pointer-in-stale-stack-frame): New option.
28443 (-Wno-analyzer-use-of-uninitialized-value): New option.
28444 (-Wanalyzer-too-complex): New option.
28445 (-fanalyzer-call-summaries): New warning.
28446 (-fanalyzer-checker=): New warning.
28447 (-fanalyzer-fine-grained): New warning.
28448 (-fno-analyzer-state-merge): New warning.
28449 (-fno-analyzer-state-purge): New warning.
28450 (-fanalyzer-transitivity): New warning.
28451 (-fanalyzer-verbose-edges): New warning.
28452 (-fanalyzer-verbose-state-changes): New warning.
28453 (-fanalyzer-verbosity=): New warning.
28454 (-fdump-analyzer): New warning.
28455 (-fdump-analyzer-callgraph): New warning.
28456 (-fdump-analyzer-exploded-graph): New warning.
28457 (-fdump-analyzer-exploded-nodes): New warning.
28458 (-fdump-analyzer-exploded-nodes-2): New warning.
28459 (-fdump-analyzer-exploded-nodes-3): New warning.
28460 (-fdump-analyzer-supergraph): New warning.
28461 * doc/sourcebuild.texi (dg-require-dot): New.
28462 (dg-check-dot): New.
28463 * gdbinit.in (break-on-saved-diagnostic): New command.
28464 * graphviz.cc: New file.
28465 * graphviz.h: New file.
28466 * ordered-hash-map-tests.cc: New file.
28467 * ordered-hash-map.h: New file.
28468 * passes.def (pass_analyzer): Add before
28469 pass_ipa_whole_program_visibility.
28470 * selftest-run-tests.c (selftest::run_tests): Call
28471 selftest::ordered_hash_map_tests_cc_tests.
28472 * selftest.h (selftest::ordered_hash_map_tests_cc_tests): New
28474 * shortest-paths.h: New file.
28475 * timevar.def (TV_ANALYZER): New timevar.
28476 (TV_ANALYZER_SUPERGRAPH): Likewise.
28477 (TV_ANALYZER_STATE_PURGE): Likewise.
28478 (TV_ANALYZER_PLAN): Likewise.
28479 (TV_ANALYZER_SCC): Likewise.
28480 (TV_ANALYZER_WORKLIST): Likewise.
28481 (TV_ANALYZER_DUMP): Likewise.
28482 (TV_ANALYZER_DIAGNOSTICS): Likewise.
28483 (TV_ANALYZER_SHORTEST_PATHS): Likewise.
28484 * tree-pass.h (make_pass_analyzer): New decl.
28485 * tristate.cc: New file.
28486 * tristate.h: New file.
28488 2020-01-14 Uroš Bizjak <ubizjak@gmail.com>
28491 * config/i386/i386.md (*movsf_internal): Require SSE2 ISA for
28492 alternatives 9 and 10.
28494 2020-01-14 David Malcolm <dmalcolm@redhat.com>
28496 * attribs.c (excl_hash_traits::empty_zero_p): New static constant.
28497 * gcov.c (function_start_pair_hash::empty_zero_p): Likewise.
28498 * graphite.c (struct sese_scev_hash::empty_zero_p): Likewise.
28499 * hash-map-tests.c (selftest::test_nonzero_empty_key): New selftest.
28500 (selftest::hash_map_tests_c_tests): Call it.
28501 * hash-map-traits.h (simple_hashmap_traits::empty_zero_p):
28502 New static constant, using the value of = H::empty_zero_p.
28503 (unbounded_hashmap_traits::empty_zero_p): Likewise, using the value
28504 from default_hash_traits <Value>.
28505 * hash-map.h (hash_map::empty_zero_p): Likewise, using the value
28507 * hash-set-tests.c (value_hash_traits::empty_zero_p): Likewise.
28508 * hash-table.h (hash_table::alloc_entries): Guard the loop of
28509 calls to mark_empty with !Descriptor::empty_zero_p.
28510 (hash_table::empty_slow): Conditionalize the memset call with a
28511 check that Descriptor::empty_zero_p; otherwise, loop through the
28512 entries calling mark_empty on them.
28513 * hash-traits.h (int_hash::empty_zero_p): New static constant.
28514 (pointer_hash::empty_zero_p): Likewise.
28515 (pair_hash::empty_zero_p): Likewise.
28516 * ipa-devirt.c (default_hash_traits <type_pair>::empty_zero_p):
28518 * ipa-prop.c (ipa_bit_ggc_hash_traits::empty_zero_p): Likewise.
28519 (ipa_vr_ggc_hash_traits::empty_zero_p): Likewise.
28520 * profile.c (location_triplet_hash::empty_zero_p): Likewise.
28521 * sanopt.c (sanopt_tree_triplet_hash::empty_zero_p): Likewise.
28522 (sanopt_tree_couple_hash::empty_zero_p): Likewise.
28523 * tree-hasher.h (int_tree_hasher::empty_zero_p): Likewise.
28524 * tree-ssa-sccvn.c (vn_ssa_aux_hasher::empty_zero_p): Likewise.
28525 * tree-vect-slp.c (bst_traits::empty_zero_p): Likewise.
28526 * tree-vectorizer.h
28527 (default_hash_traits<scalar_cond_masked_key>::empty_zero_p):
28530 2020-01-14 Kewen Lin <linkw@gcc.gnu.org>
28532 * cfgloopanal.c (average_num_loop_insns): Free bbs when early return,
28533 fix typo on return value.
28535 2020-01-14 Xiong Hu Luo <luoxhu@linux.ibm.com>
28538 * cgraph.c (symbol_table::create_edge): Init speculative_id and
28540 (cgraph_edge::make_speculative): Add param for setting speculative_id
28542 (cgraph_edge::speculative_call_info): Update comments and find reference
28543 by speculative_id for multiple indirect targets.
28544 (cgraph_edge::resolve_speculation): Decrease the speculations
28545 for indirect edge, drop it's speculative if not direct target
28546 left. Update comments.
28547 (cgraph_edge::redirect_call_stmt_to_callee): Likewise.
28548 (cgraph_node::dump): Print num_speculative_call_targets.
28549 (cgraph_node::verify_node): Don't report error if speculative
28550 edge not include statement.
28551 (cgraph_edge::num_speculative_call_targets_p): New function.
28552 * cgraph.h (int common_target_id): Remove.
28553 (int common_target_probability): Remove.
28554 (num_speculative_call_targets): New variable.
28555 (make_speculative): Add param for setting speculative_id.
28556 (cgraph_edge::num_speculative_call_targets_p): New declare.
28557 (target_prob): New variable.
28558 (speculative_id): New variable.
28559 * ipa-fnsummary.c (analyze_function_body): Create and duplicate
28560 call summaries for multiple speculative call targets.
28561 * cgraphclones.c (cgraph_node::create_clone): Clone speculative_id.
28562 * ipa-profile.c (struct speculative_call_target): New struct.
28563 (class speculative_call_summary): New class.
28564 (class speculative_call_summaries): New class.
28565 (call_sums): New variable.
28566 (ipa_profile_generate_summary): Generate indirect multiple targets summaries.
28567 (ipa_profile_write_edge_summary): New function.
28568 (ipa_profile_write_summary): Stream out indirect multiple targets summaries.
28569 (ipa_profile_dump_all_summaries): New function.
28570 (ipa_profile_read_edge_summary): New function.
28571 (ipa_profile_read_summary_section): New function.
28572 (ipa_profile_read_summary): Stream in indirect multiple targets summaries.
28573 (ipa_profile): Generate num_speculative_call_targets from
28575 * ipa-ref.h (speculative_id): New variable.
28576 * ipa-utils.c (ipa_merge_profiles): Update with target_prob.
28577 * lto-cgraph.c (lto_output_edge): Remove indirect common_target_id and
28578 common_target_probability. Stream out speculative_id and
28579 num_speculative_call_targets.
28580 (input_edge): Likewise.
28581 * predict.c (dump_prediction): Remove edges count assert to be
28583 * symtab.c (symtab_node::create_reference): Init speculative_id.
28584 (symtab_node::clone_references): Clone speculative_id.
28585 (symtab_node::clone_referring): Clone speculative_id.
28586 (symtab_node::clone_reference): Clone speculative_id.
28587 (symtab_node::clear_stmts_in_references): Clear speculative_id.
28588 * tree-inline.c (copy_bb): Duplicate all the speculative edges
28589 if indirect call contains multiple speculative targets.
28590 * value-prof.h (check_ic_target): Remove.
28591 * value-prof.c (gimple_value_profile_transformations):
28592 Use void function gimple_ic_transform.
28593 * value-prof.c (gimple_ic_transform): Handle topn case.
28594 Fix comment typos. Change it to a void function.
28596 2020-01-13 Andrew Pinski <apinski@marvell.com>
28598 * config/aarch64/aarch64-cores.def (octeontx2): New define.
28599 (octeontx2t98): New define.
28600 (octeontx2t96): New define.
28601 (octeontx2t93): New define.
28602 (octeontx2f95): New define.
28603 (octeontx2f95n): New define.
28604 (octeontx2f95mm): New define.
28605 * config/aarch64/aarch64-tune.md: Regenerate.
28606 * doc/invoke.texi (-mcpu=): Document the new cpu types.
28608 2020-01-13 Jason Merrill <jason@redhat.com>
28610 PR c++/33799 - destroy return value if local cleanup throws.
28611 * gimplify.c (gimplify_return_expr): Handle COMPOUND_EXPR.
28613 2020-01-13 Martin Liska <mliska@suse.cz>
28615 * ipa-cp.c (get_max_overall_size): Use newly
28616 renamed param param_ipa_cp_unit_growth.
28617 * params.opt: Remove legacy param name.
28619 2020-01-13 Martin Sebor <msebor@redhat.com>
28621 PR tree-optimization/93213
28622 * tree-ssa-strlen.c (handle_store): Only allow single-byte nul-over-nul
28623 stores to be eliminated.
28625 2020-01-13 Martin Liska <mliska@suse.cz>
28627 * opts.c (print_help): Do not print CL_PARAM
28628 and CL_WARNING for CL_OPTIMIZATION.
28630 2020-01-13 Jonathan Wakely <jwakely@redhat.com>
28633 * doc/invoke.texi (Warning Options): Add caveat about some warnings
28634 depending on optimization settings.
28636 2020-01-13 Jakub Jelinek <jakub@redhat.com>
28638 PR tree-optimization/90838
28639 * tree-ssa-forwprop.c (simplify_count_trailing_zeroes): Use
28640 SCALAR_INT_TYPE_MODE directly in CTZ_DEFINED_VALUE_AT_ZERO macro
28641 argument rather than to initialize temporary for targets that
28642 don't use the mode argument at all. Initialize ctzval to avoid
28645 2020-01-10 Thomas Schwinge <thomas@codesourcery.com>
28647 * tree.h (OMP_CLAUSE_USE_DEVICE_PTR_IF_PRESENT): New definition.
28648 * tree-core.h: Document it.
28649 * gimplify.c (gimplify_omp_workshare): Set it.
28650 * omp-low.c (lower_omp_target): Use it.
28651 * tree-pretty-print.c (dump_omp_clause): Print it.
28653 * omp-low.c (lower_omp_target) <OMP_CLAUSE_USE_DEVICE_PTR etc.>:
28654 Assert that for OpenACC we always have 'GOMP_MAP_USE_DEVICE_PTR'.
28656 2020-01-10 David Malcolm <dmalcolm@redhat.com>
28658 * Makefile.in (OBJS): Add tree-diagnostic-path.o.
28659 * common.opt (fdiagnostics-path-format=): New option.
28660 (diagnostic_path_format): New enum.
28661 (fdiagnostics-show-path-depths): New option.
28662 * coretypes.h (diagnostic_event_id_t): New forward decl.
28663 * diagnostic-color.c (color_dict): Add "path".
28664 * diagnostic-event-id.h: New file.
28665 * diagnostic-format-json.cc (json_from_expanded_location): Make
28667 (json_end_diagnostic): Call context->make_json_for_path if it
28668 exists and the diagnostic has a path.
28669 (diagnostic_output_format_init): Clear context->print_path.
28670 * diagnostic-path.h: New file.
28671 * diagnostic-show-locus.c (colorizer::set_range): Special-case
28672 when printing a run of events in a diagnostic_path so that they
28673 all get the same color.
28674 (layout::m_diagnostic_path_p): New field.
28675 (layout::layout): Initialize it.
28676 (layout::print_any_labels): Don't colorize the label text for an
28677 event in a diagnostic_path.
28678 (gcc_rich_location::add_location_if_nearby): Add
28679 "restrict_to_current_line_spans" and "label" params. Pass the
28680 former to layout.maybe_add_location_range; pass the latter
28681 when calling add_range.
28682 * diagnostic.c: Include "diagnostic-path.h".
28683 (diagnostic_initialize): Initialize context->path_format and
28684 context->show_path_depths.
28685 (diagnostic_show_any_path): New function.
28686 (diagnostic_path::interprocedural_p): New function.
28687 (diagnostic_report_diagnostic): Call diagnostic_show_any_path.
28688 (simple_diagnostic_path::num_events): New function.
28689 (simple_diagnostic_path::get_event): New function.
28690 (simple_diagnostic_path::add_event): New function.
28691 (simple_diagnostic_event::simple_diagnostic_event): New ctor.
28692 (simple_diagnostic_event::~simple_diagnostic_event): New dtor.
28693 (debug): New overload taking a diagnostic_path *.
28694 * diagnostic.def (DK_DIAGNOSTIC_PATH): New.
28695 * diagnostic.h (enum diagnostic_path_format): New enum.
28696 (json::value): New forward decl.
28697 (diagnostic_context::path_format): New field.
28698 (diagnostic_context::show_path_depths): New field.
28699 (diagnostic_context::print_path): New callback field.
28700 (diagnostic_context::make_json_for_path): New callback field.
28701 (diagnostic_show_any_path): New decl.
28702 (json_from_expanded_location): New decl.
28703 * doc/invoke.texi (-fdiagnostics-path-format=): New option.
28704 (-fdiagnostics-show-path-depths): New option.
28705 (-fdiagnostics-color): Add "path" to description of default
28706 GCC_COLORS; describe it.
28707 (-fdiagnostics-format=json): Document how diagnostic paths are
28708 represented in the JSON output format.
28709 * gcc-rich-location.h (gcc_rich_location::add_location_if_nearby):
28710 Add optional params "restrict_to_current_line_spans" and "label".
28711 * opts.c (common_handle_option): Handle
28712 OPT_fdiagnostics_path_format_ and
28713 OPT_fdiagnostics_show_path_depths.
28714 * pretty-print.c: Include "diagnostic-event-id.h".
28715 (pp_format): Implement "%@" format code for printing
28716 diagnostic_event_id_t *.
28717 (selftest::test_pp_format): Add tests for "%@".
28718 * selftest-run-tests.c (selftest::run_tests): Call
28719 selftest::tree_diagnostic_path_cc_tests.
28720 * selftest.h (selftest::tree_diagnostic_path_cc_tests): New decl.
28721 * toplev.c (general_init): Initialize global_dc->path_format and
28722 global_dc->show_path_depths.
28723 * tree-diagnostic-path.cc: New file.
28724 * tree-diagnostic.c (maybe_unwind_expanded_macro_loc): Make
28725 non-static. Drop "diagnostic" param in favor of storing the
28726 original value of "where" and re-using it.
28727 (virt_loc_aware_diagnostic_finalizer): Update for dropped param of
28728 maybe_unwind_expanded_macro_loc.
28729 (tree_diagnostics_defaults): Initialize context->print_path and
28730 context->make_json_for_path.
28731 * tree-diagnostic.h (default_tree_diagnostic_path_printer): New
28733 (default_tree_make_json_for_path): New decl.
28734 (maybe_unwind_expanded_macro_loc): New decl.
28736 2020-01-10 Jakub Jelinek <jakub@redhat.com>
28738 PR tree-optimization/93210
28739 * fold-const.h (native_encode_initializer,
28740 can_native_interpret_type_p): Declare.
28741 * fold-const.c (native_encode_string): Fix up handling with off != -1,
28743 (native_encode_initializer): New function, moved from dwarf2out.c.
28744 Adjust to native_encode_expr compatible arguments, including dry-run
28745 and partial extraction modes. Don't handle STRING_CST.
28746 (can_native_interpret_type_p): No longer static.
28747 * gimple-fold.c (fold_ctor_reference): For native_encode_expr, verify
28748 offset / BITS_PER_UNIT fits into int and don't call it if
28749 can_native_interpret_type_p fails. If suboff is NULL and for
28750 CONSTRUCTOR fold_{,non}array_ctor_reference returns NULL, retry with
28751 native_encode_initializer.
28752 (fold_const_aggregate_ref_1): Formatting fix.
28753 * dwarf2out.c (native_encode_initializer): Moved to fold-const.c.
28754 (tree_add_const_value_attribute): Adjust caller.
28756 PR tree-optimization/90838
28757 * tree-ssa-forwprop.c (simplify_count_trailing_zeroes): Use
28758 SCALAR_INT_TYPE_MODE instead of TYPE_MODE as operand of
28759 CTZ_DEFINED_VALUE_AT_ZERO.
28761 2020-01-10 Vladimir Makarov <vmakarov@redhat.com>
28763 PR inline-asm/93027
28764 * lra-constraints.c (match_reload): Permit input operands have the
28765 same mode as output while other input operands have a different
28768 2020-01-10 Wilco Dijkstra <wdijkstr@arm.com>
28770 PR tree-optimization/90838
28771 * tree-ssa-forwprop.c (check_ctz_array): Add new function.
28772 (check_ctz_string): Likewise.
28773 (optimize_count_trailing_zeroes): Likewise.
28774 (simplify_count_trailing_zeroes): Likewise.
28775 (pass_forwprop::execute): Try ctz simplification.
28776 * match.pd: Add matching for ctz idioms.
28778 2020-01-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
28780 * config/aarch64/aarch64.c (aarch64_invalid_conversion): New function
28782 (aarch64_invalid_unary_op): New function for target hook.
28783 (aarch64_invalid_binary_op): New function for target hook.
28785 2020-01-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
28787 * config.gcc: Add arm_bf16.h.
28788 * config/aarch64/aarch64-builtins.c
28789 (aarch64_simd_builtin_std_type): Add BFmode.
28790 (aarch64_init_simd_builtin_types): Define element types for vector
28792 (aarch64_init_bf16_types): New function.
28793 (aarch64_general_init_builtins): Add arm_init_bf16_types function call.
28794 * config/aarch64/aarch64-modes.def: Add BFmode and V4BF, V8BF vector
28796 * config/aarch64/aarch64-simd-builtin-types.def: Add BF SIMD types.
28797 * config/aarch64/aarch64-simd.md: Add BF vector types to NEON move
28799 * config/aarch64/aarch64.h (AARCH64_VALID_SIMD_DREG_MODE): Add V4BF.
28800 (AARCH64_VALID_SIMD_QREG_MODE): Add V8BF.
28801 * config/aarch64/aarch64.c
28802 (aarch64_classify_vector_mode): Add support for BF types.
28803 (aarch64_gimplify_va_arg_expr): Add support for BF types.
28804 (aarch64_vq_mode): Add support for BF types.
28805 (aarch64_simd_container_mode): Add support for BF types.
28806 (aarch64_mangle_type): Add support for BF scalar type.
28807 * config/aarch64/aarch64.md: Add BFmode to movhf pattern.
28808 * config/aarch64/arm_bf16.h: New file.
28809 * config/aarch64/arm_neon.h: Add arm_bf16.h and Bfloat vector types.
28810 * config/aarch64/iterators.md: Add BF types to mode attributes.
28811 (HFBF, GPF_TF_F16_MOV, VDMOV, VQMOV, VQMOV_NO2Em VALL_F16MOV): New.
28813 2020-01-10 Jason Merrill <jason@redhat.com>
28815 PR c++/93173 - incorrect tree sharing.
28816 * gimplify.c (copy_if_shared): No longer static.
28817 * gimplify.h: Declare it.
28819 2020-01-10 Richard Sandiford <richard.sandiford@arm.com>
28821 * doc/invoke.texi (-msve-vector-bits=): Document that
28822 -msve-vector-bits=128 now generates VL-specific code for
28823 little-endian targets.
28824 * config/aarch64/aarch64-sve-builtins.cc (register_builtin_types): Use
28825 build_vector_type_for_mode to construct the data vector types.
28826 * config/aarch64/aarch64.c (aarch64_convert_sve_vector_bits): Generate
28827 VL-specific code for -msve-vector-bits=128 on little-endian targets.
28828 (aarch64_simd_container_mode): Always prefer Advanced SIMD modes
28829 for 128-bit vectors.
28831 2020-01-10 Richard Sandiford <richard.sandiford@arm.com>
28833 * config/aarch64/aarch64.c (aarch64_evpc_sel): Fix gen_vcond_mask
28836 2020-01-10 Richard Sandiford <richard.sandiford@arm.com>
28838 * config/aarch64/aarch64-builtins.c
28839 (aarch64_builtin_vectorized_function): Check for specific vector modes,
28840 rather than checking the number of elements and the element mode.
28842 2020-01-10 Richard Sandiford <richard.sandiford@arm.com>
28844 * tree-vect-loop.c (vect_create_epilog_for_reduction): Use
28845 get_related_vectype_for_scalar_type rather than build_vector_type
28846 to create the index type for a conditional reduction.
28848 2020-01-10 Richard Sandiford <richard.sandiford@arm.com>
28850 * tree-vect-loop.c (update_epilogue_loop_vinfo): Update DR_REF
28851 for any type of gather or scatter, including strided accesses.
28853 2020-01-10 Andre Vieira <andre.simoesdiasvieira@arm.com>
28855 * tree-vectorizer.h (get_dr_vinfo_offset): Add missing function
28858 2020-01-10 Andre Vieira <andre.simoesdiasvieira@arm.com>
28860 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Use
28861 get_dr_vinfo_offset
28862 * tree-vect-loop.c (update_epilogue_loop_vinfo): Remove orig_drs_init
28863 parameter and its use to reset DR_OFFSET's.
28864 (vect_transform_loop): Remove orig_drs_init argument.
28865 * tree-vect-loop-manip.c (vect_update_init_of_dr): Update the offset
28866 member of dr_vec_info rather than the offset of the associated
28867 data_reference's innermost_loop_behavior.
28868 (vect_update_init_of_dr): Pass dr_vec_info instead of data_reference.
28869 (vect_do_peeling): Remove orig_drs_init parameter and its construction.
28870 * tree-vect-stmts.c (check_scan_store): Replace use of DR_OFFSET with
28871 get_dr_vinfo_offset.
28872 (vectorizable_store): Likewise.
28873 (vectorizable_load): Likewise.
28875 2020-01-10 Richard Biener <rguenther@suse.de>
28877 * gimple-ssa-store-merging
28878 (pass_store_merging::terminate_all_aliasing_chains): Cache alias info.
28880 2020-01-10 Martin Liska <mliska@suse.cz>
28883 * ipa-inline-analysis.c (offline_size): Make proper parenthesis
28884 encapsulation that was there before r280040.
28886 2020-01-10 Richard Biener <rguenther@suse.de>
28888 PR middle-end/93199
28889 * tree-eh.c (sink_clobbers): Move clobbers to out-of-IL
28890 sequences to avoid walking them again for secondary opportunities.
28891 (pass_lower_eh_dispatch::execute): Instead actually insert
28894 2020-01-10 Richard Biener <rguenther@suse.de>
28896 PR middle-end/93199
28897 * tree-eh.c (redirect_eh_edge_1): Avoid some work if possible.
28898 (cleanup_all_empty_eh): Walk landing pads in reverse order to
28899 avoid quadraticness.
28901 2020-01-10 Martin Jambor <mjambor@suse.cz>
28903 * params.opt (param_ipa_sra_max_replacements): Mark as Optimization.
28904 * ipa-sra.c (pull_accesses_from_callee): New parameter caller, use it
28905 to get param_ipa_sra_max_replacements.
28906 (param_splitting_across_edge): Pass the caller to
28907 pull_accesses_from_callee.
28909 2020-01-10 Martin Jambor <mjambor@suse.cz>
28911 * params.opt (param_ipcp_unit_growth): Mark as Optimization.
28912 * ipa-cp.c (max_new_size): Removed.
28913 (orig_overall_size): New variable.
28914 (get_max_overall_size): New function.
28915 (estimate_local_effects): Use it. Adjust dump.
28916 (decide_about_value): Likewise.
28917 (ipcp_propagate_stage): Do not calculate max_new_size, just store
28918 orig_overall_size. Adjust dump.
28919 (ipa_cp_c_finalize): Clear orig_overall_size instead of max_new_size.
28921 2020-01-10 Martin Jambor <mjambor@suse.cz>
28923 * params.opt (param_ipa_max_agg_items): Mark as Optimization
28924 * ipa-cp.c (merge_agg_lats_step): New parameter max_agg_items, use
28925 instead of param_ipa_max_agg_items.
28926 (merge_aggregate_lattices): Extract param_ipa_max_agg_items from
28927 optimization info for the callee.
28929 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
28931 * lto-streamer-in.c (input_function): Remove streamed-in inline debug
28932 markers if debug_inline_points is false.
28934 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
28936 * config.gcc (aarch64*-*-*): Add aarch64-sve-builtins-sve2.o to
28938 * config/aarch64/t-aarch64 (aarch64-sve-builtins.o): Depend on
28939 aarch64-sve-builtins-base.def, aarch64-sve-builtins-sve2.def and
28940 aarch64-sve-builtins-sve2.h.
28941 (aarch64-sve-builtins-sve2.o): New rule.
28942 * config/aarch64/aarch64.h (AARCH64_ISA_SVE2_AES): New macro.
28943 (AARCH64_ISA_SVE2_BITPERM, AARCH64_ISA_SVE2_SHA3): Likewise.
28944 (AARCH64_ISA_SVE2_SM4, TARGET_SVE2_AES, TARGET_SVE2_BITPERM): Likewise.
28945 (TARGET_SVE2_SHA, TARGET_SVE2_SM4): Likewise.
28946 * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Handle
28947 TARGET_SVE2_AES, TARGET_SVE2_BITPERM, TARGET_SVE2_SHA3 and
28949 * config/aarch64/aarch64-sve.md: Update comments with SVE2
28950 instructions that are handled here.
28951 (@cond_asrd<mode>): Generalize to...
28952 (@cond_<SVE_INT_SHIFT_IMM:sve_int_op><mode>): ...this.
28953 (*cond_asrd<mode>_2): Generalize to...
28954 (*cond_<SVE_INT_SHIFT_IMM:sve_int_op><mode>_2): ...this.
28955 (*cond_asrd<mode>_z): Generalize to...
28956 (*cond_<SVE_INT_SHIFT_IMM:sve_int_op><mode>_z): ...this.
28957 * config/aarch64/aarch64.md (UNSPEC_LDNT1_GATHER): New unspec.
28958 (UNSPEC_STNT1_SCATTER, UNSPEC_WHILEGE, UNSPEC_WHILEGT): Likewise.
28959 (UNSPEC_WHILEHI, UNSPEC_WHILEHS): Likewise.
28960 * config/aarch64/aarch64-sve2.md (@aarch64_gather_ldnt<mode>): New
28962 (@aarch64_gather_ldnt_<ANY_EXTEND:optab><SVE_FULL_SDI:mode><SVE_PARTIAL_I:mode>)
28963 (@aarch64_scatter_stnt<mode>): Likewise.
28964 (@aarch64_scatter_stnt_<SVE_FULL_SDI:mode><SVE_PARTIAL_I:mode>)
28965 (@aarch64_mul_lane_<mode>): Likewise.
28966 (@aarch64_sve_suqadd<mode>_const): Likewise.
28967 (*<sur>h<addsub><mode>): Generalize to...
28968 (@aarch64_pred_<SVE2_COND_INT_BINARY_REV:sve_int_op><mode>): ...this
28970 (@cond_<SVE2_COND_INT_BINARY:sve_int_op><mode>): New expander.
28971 (*cond_<SVE2_COND_INT_BINARY:sve_int_op><mode>_2): New pattern.
28972 (*cond_<SVE2_COND_INT_BINARY:sve_int_op><mode>_3): Likewise.
28973 (*cond_<SVE2_COND_INT_BINARY:sve_int_op><mode>_any): Likewise.
28974 (*cond_<SVE2_COND_INT_BINARY_NOREV:sve_int_op><mode>_z): Likewise.
28975 (@aarch64_sve_<SVE2_INT_BINARY:sve_int_op><mode>):: Likewise.
28976 (@aarch64_sve_<SVE2_INT_BINARY:sve_int_op>_lane_<mode>): Likewise.
28977 (@aarch64_pred_<SVE2_COND_INT_SHIFT:sve_int_op><mode>): Likewise.
28978 (@cond_<SVE2_COND_INT_SHIFT:sve_int_op><mode>): New expander.
28979 (*cond_<SVE2_COND_INT_SHIFT:sve_int_op><mode>_2): New pattern.
28980 (*cond_<SVE2_COND_INT_SHIFT:sve_int_op><mode>_3): Likewise.
28981 (*cond_<SVE2_COND_INT_SHIFT:sve_int_op><mode>_any): Likewise.
28982 (@aarch64_sve_<SVE2_INT_TERNARY:sve_int_op><mode>): Likewise.
28983 (@aarch64_sve_<SVE2_INT_TERNARY_LANE:sve_int_op>_lane_<mode>)
28984 (@aarch64_sve_add_mul_lane_<mode>): Likewise.
28985 (@aarch64_sve_sub_mul_lane_<mode>): Likewise.
28986 (@aarch64_sve2_xar<mode>): Likewise.
28987 (@aarch64_sve2_bcax<mode>): Likewise.
28988 (*aarch64_sve2_eor3<mode>): Rename to...
28989 (@aarch64_sve2_eor3<mode>): ...this.
28990 (@aarch64_sve2_bsl<mode>): New expander.
28991 (@aarch64_sve2_nbsl<mode>): Likewise.
28992 (@aarch64_sve2_bsl1n<mode>): Likewise.
28993 (@aarch64_sve2_bsl2n<mode>): Likewise.
28994 (@aarch64_sve_add_<SHIFTRT:sve_int_op><mode>): Likewise.
28995 (*aarch64_sve2_sra<mode>): Add MOVPRFX support.
28996 (@aarch64_sve_add_<VRSHR_N:sve_int_op><mode>): New pattern.
28997 (@aarch64_sve_<SVE2_INT_SHIFT_INSERT:sve_int_op><mode>): Likewise.
28998 (@aarch64_sve2_<USMAX:su>aba<mode>): New expander.
28999 (*aarch64_sve2_<USMAX:su>aba<mode>): New pattern.
29000 (@aarch64_sve_<SVE2_INT_BINARY_WIDE:sve_int_op><mode>): Likewise.
29001 (<su>mull<bt><Vwide>): Generalize to...
29002 (@aarch64_sve_<SVE2_INT_BINARY_LONG:sve_int_op><mode>): ...this new
29004 (@aarch64_sve_<SVE2_INT_BINARY_LONG_lANE:sve_int_op>_lane_<mode>)
29005 (@aarch64_sve_<SVE2_INT_SHIFT_IMM_LONG:sve_int_op><mode>)
29006 (@aarch64_sve_add_<SVE2_INT_ADD_BINARY_LONG:sve_int_op><mode>)
29007 (@aarch64_sve_add_<SVE2_INT_ADD_BINARY_LONG_LANE:sve_int_op>_lane_<mode>)
29008 (@aarch64_sve_qadd_<SVE2_INT_QADD_BINARY_LONG:sve_int_op><mode>)
29009 (@aarch64_sve_qadd_<SVE2_INT_QADD_BINARY_LONG_LANE:sve_int_op>_lane_<mode>)
29010 (@aarch64_sve_sub_<SVE2_INT_SUB_BINARY_LONG:sve_int_op><mode>)
29011 (@aarch64_sve_sub_<SVE2_INT_SUB_BINARY_LONG_LANE:sve_int_op>_lane_<mode>)
29012 (@aarch64_sve_qsub_<SVE2_INT_QSUB_BINARY_LONG:sve_int_op><mode>)
29013 (@aarch64_sve_qsub_<SVE2_INT_QSUB_BINARY_LONG_LANE:sve_int_op>_lane_<mode>)
29014 (@aarch64_sve_<SVE2_FP_TERNARY_LONG:sve_fp_op><mode>): New patterns.
29015 (@aarch64_<SVE2_FP_TERNARY_LONG_LANE:sve_fp_op>_lane_<mode>)
29016 (@aarch64_sve_<SVE2_INT_UNARY_NARROWB:sve_int_op><mode>): Likewise.
29017 (@aarch64_sve_<SVE2_INT_UNARY_NARROWT:sve_int_op><mode>): Likewise.
29018 (@aarch64_sve_<SVE2_INT_BINARY_NARROWB:sve_int_op><mode>): Likewise.
29019 (@aarch64_sve_<SVE2_INT_BINARY_NARROWT:sve_int_op><mode>): Likewise.
29020 (<SHRNB:r>shrnb<mode>): Generalize to...
29021 (@aarch64_sve_<SVE2_INT_SHIFT_IMM_NARROWB:sve_int_op><mode>): ...this
29023 (<SHRNT:r>shrnt<mode>): Generalize to...
29024 (@aarch64_sve_<SVE2_INT_SHIFT_IMM_NARROWT:sve_int_op><mode>): ...this
29026 (@aarch64_pred_<SVE2_INT_BINARY_PAIR:sve_int_op><mode>): New pattern.
29027 (@aarch64_pred_<SVE2_FP_BINARY_PAIR:sve_fp_op><mode>): Likewise.
29028 (@cond_<SVE2_INT_BINARY_PAIR_LONG:sve_int_op><mode>): New expander.
29029 (*cond_<SVE2_INT_BINARY_PAIR_LONG:sve_int_op><mode>_2): New pattern.
29030 (*cond_<SVE2_INT_BINARY_PAIR_LONG:sve_int_op><mode>_z): Likewise.
29031 (@aarch64_sve_<SVE2_INT_CADD:optab><mode>): Likewise.
29032 (@aarch64_sve_<SVE2_INT_CMLA:optab><mode>): Likewise.
29033 (@aarch64_<SVE2_INT_CMLA:optab>_lane_<mode>): Likewise.
29034 (@aarch64_sve_<SVE2_INT_CDOT:optab><mode>): Likewise.
29035 (@aarch64_<SVE2_INT_CDOT:optab>_lane_<mode>): Likewise.
29036 (@aarch64_pred_<SVE2_COND_FP_UNARY_LONG:sve_fp_op><mode>): Likewise.
29037 (@cond_<SVE2_COND_FP_UNARY_LONG:sve_fp_op><mode>): New expander.
29038 (*cond_<SVE2_COND_FP_UNARY_LONG:sve_fp_op><mode>): New pattern.
29039 (@aarch64_sve2_cvtnt<mode>): Likewise.
29040 (@aarch64_pred_<SVE2_COND_FP_UNARY_NARROWB:sve_fp_op><mode>): Likewise.
29041 (@cond_<SVE2_COND_FP_UNARY_NARROWB:sve_fp_op><mode>): New expander.
29042 (*cond_<SVE2_COND_FP_UNARY_NARROWB:sve_fp_op><mode>_any): New pattern.
29043 (@aarch64_sve2_cvtxnt<mode>): Likewise.
29044 (@aarch64_pred_<SVE2_U32_UNARY:sve_int_op><mode>): Likewise.
29045 (@cond_<SVE2_U32_UNARY:sve_int_op><mode>): New expander.
29046 (*cond_<SVE2_U32_UNARY:sve_int_op><mode>): New pattern.
29047 (@aarch64_pred_<SVE2_COND_INT_UNARY_FP:sve_fp_op><mode>): Likewise.
29048 (@cond_<SVE2_COND_INT_UNARY_FP:sve_fp_op><mode>): New expander.
29049 (*cond_<SVE2_COND_INT_UNARY_FP:sve_fp_op><mode>): New pattern.
29050 (@aarch64_sve2_pmul<mode>): Likewise.
29051 (@aarch64_sve_<SVE2_PMULL:optab><mode>): Likewise.
29052 (@aarch64_sve_<SVE2_PMULL_PAIR:optab><mode>): Likewise.
29053 (@aarch64_sve2_tbl2<mode>): Likewise.
29054 (@aarch64_sve2_tbx<mode>): Likewise.
29055 (@aarch64_sve_<SVE2_INT_BITPERM:sve_int_op><mode>): Likewise.
29056 (@aarch64_sve2_histcnt<mode>): Likewise.
29057 (@aarch64_sve2_histseg<mode>): Likewise.
29058 (@aarch64_pred_<SVE2_MATCH:sve_int_op><mode>): Likewise.
29059 (*aarch64_pred_<SVE2_MATCH:sve_int_op><mode>_cc): Likewise.
29060 (*aarch64_pred_<SVE2_MATCH:sve_int_op><mode>_ptest): Likewise.
29061 (aarch64_sve2_aes<CRYPTO_AES:aes_op>): Likewise.
29062 (aarch64_sve2_aes<CRYPTO_AESMC:aesmc_op>): Likewise.
29063 (*aarch64_sve2_aese_fused, *aarch64_sve2_aesd_fused): Likewise.
29064 (aarch64_sve2_rax1, aarch64_sve2_sm4e, aarch64_sve2_sm4ekey): Likewise.
29065 (<su>mulh<r>s<mode>3): Update after above pattern name changes.
29066 * config/aarch64/iterators.md (VNx16QI_ONLY, VNx4SF_ONLY)
29067 (SVE_STRUCT2, SVE_FULL_BHI, SVE_FULL_HSI, SVE_FULL_HDI)
29068 (SVE2_PMULL_PAIR_I): New mode iterators.
29069 (UNSPEC_ADCLB, UNSPEC_ADCLT, UNSPEC_ADDHNB, UNSPEC_ADDHNT, UNSPEC_BDEP)
29070 (UNSPEC_BEXT, UNSPEC_BGRP, UNSPEC_CADD90, UNSPEC_CADD270, UNSPEC_CDOT)
29071 (UNSPEC_CDOT90, UNSPEC_CDOT180, UNSPEC_CDOT270, UNSPEC_CMLA)
29072 (UNSPEC_CMLA90, UNSPEC_CMLA180, UNSPEC_CMLA270, UNSPEC_COND_FCVTLT)
29073 (UNSPEC_COND_FCVTNT, UNSPEC_COND_FCVTX, UNSPEC_COND_FCVTXNT)
29074 (UNSPEC_COND_FLOGB, UNSPEC_EORBT, UNSPEC_EORTB, UNSPEC_FADDP)
29075 (UNSPEC_FMAXP, UNSPEC_FMAXNMP, UNSPEC_FMLALB, UNSPEC_FMLALT)
29076 (UNSPEC_FMLSLB, UNSPEC_FMLSLT, UNSPEC_FMINP, UNSPEC_FMINNMP)
29077 (UNSPEC_HISTCNT, UNSPEC_HISTSEG, UNSPEC_MATCH, UNSPEC_NMATCH)
29078 (UNSPEC_PMULLB, UNSPEC_PMULLB_PAIR, UNSPEC_PMULLT, UNSPEC_PMULLT_PAIR)
29079 (UNSPEC_RADDHNB, UNSPEC_RADDHNT, UNSPEC_RSUBHNB, UNSPEC_RSUBHNT)
29080 (UNSPEC_SLI, UNSPEC_SRI, UNSPEC_SABDLB, UNSPEC_SABDLT, UNSPEC_SADDLB)
29081 (UNSPEC_SADDLBT, UNSPEC_SADDLT, UNSPEC_SADDWB, UNSPEC_SADDWT)
29082 (UNSPEC_SBCLB, UNSPEC_SBCLT, UNSPEC_SMAXP, UNSPEC_SMINP)
29083 (UNSPEC_SQCADD90, UNSPEC_SQCADD270, UNSPEC_SQDMULLB, UNSPEC_SQDMULLBT)
29084 (UNSPEC_SQDMULLT, UNSPEC_SQRDCMLAH, UNSPEC_SQRDCMLAH90)
29085 (UNSPEC_SQRDCMLAH180, UNSPEC_SQRDCMLAH270, UNSPEC_SQRSHRNB)
29086 (UNSPEC_SQRSHRNT, UNSPEC_SQRSHRUNB, UNSPEC_SQRSHRUNT, UNSPEC_SQSHRNB)
29087 (UNSPEC_SQSHRNT, UNSPEC_SQSHRUNB, UNSPEC_SQSHRUNT, UNSPEC_SQXTNB)
29088 (UNSPEC_SQXTNT, UNSPEC_SQXTUNB, UNSPEC_SQXTUNT, UNSPEC_SSHLLB)
29089 (UNSPEC_SSHLLT, UNSPEC_SSUBLB, UNSPEC_SSUBLBT, UNSPEC_SSUBLT)
29090 (UNSPEC_SSUBLTB, UNSPEC_SSUBWB, UNSPEC_SSUBWT, UNSPEC_SUBHNB)
29091 (UNSPEC_SUBHNT, UNSPEC_TBL2, UNSPEC_UABDLB, UNSPEC_UABDLT)
29092 (UNSPEC_UADDLB, UNSPEC_UADDLT, UNSPEC_UADDWB, UNSPEC_UADDWT)
29093 (UNSPEC_UMAXP, UNSPEC_UMINP, UNSPEC_UQRSHRNB, UNSPEC_UQRSHRNT)
29094 (UNSPEC_UQSHRNB, UNSPEC_UQSHRNT, UNSPEC_UQXTNB, UNSPEC_UQXTNT)
29095 (UNSPEC_USHLLB, UNSPEC_USHLLT, UNSPEC_USUBLB, UNSPEC_USUBLT)
29096 (UNSPEC_USUBWB, UNSPEC_USUBWT): New unspecs.
29097 (UNSPEC_SMULLB, UNSPEC_SMULLT, UNSPEC_UMULLB, UNSPEC_UMULLT)
29098 (UNSPEC_SMULHS, UNSPEC_SMULHRS, UNSPEC_UMULHS, UNSPEC_UMULHRS)
29099 (UNSPEC_RSHRNB, UNSPEC_RSHRNT, UNSPEC_SHRNB, UNSPEC_SHRNT): Move
29101 (VNARROW, Ventype): New mode attributes.
29102 (Vewtype): Handle VNx2DI. Fix typo in comment.
29103 (VDOUBLE): New mode attribute.
29104 (sve_lane_con): Handle VNx8HI.
29105 (SVE_INT_UNARY): Include ss_abs and ss_neg for TARGET_SVE2.
29106 (SVE_INT_BINARY): Likewise ss_plus, us_plus, ss_minus and us_minus.
29107 (sve_int_op, sve_int_op_rev): Handle the above codes.
29108 (sve_pred_int_rhs2_operand): Likewise.
29109 (MULLBT, SHRNB, SHRNT): Delete.
29110 (SVE_INT_SHIFT_IMM): New int iterator.
29111 (SVE_WHILE): Add UNSPEC_WHILEGE, UNSPEC_WHILEGT, UNSPEC_WHILEHI
29112 and UNSPEC_WHILEHS for TARGET_SVE2.
29113 (SVE2_U32_UNARY, SVE2_INT_UNARY_NARROWB, SVE2_INT_UNARY_NARROWT)
29114 (SVE2_INT_BINARY, SVE2_INT_BINARY_LANE, SVE2_INT_BINARY_LONG)
29115 (SVE2_INT_BINARY_LONG_LANE, SVE2_INT_BINARY_NARROWB)
29116 (SVE2_INT_BINARY_NARROWT, SVE2_INT_BINARY_PAIR, SVE2_FP_BINARY_PAIR)
29117 (SVE2_INT_BINARY_PAIR_LONG, SVE2_INT_BINARY_WIDE): New int iterators.
29118 (SVE2_INT_SHIFT_IMM_LONG, SVE2_INT_SHIFT_IMM_NARROWB): Likewise.
29119 (SVE2_INT_SHIFT_IMM_NARROWT, SVE2_INT_SHIFT_INSERT, SVE2_INT_CADD)
29120 (SVE2_INT_BITPERM, SVE2_INT_TERNARY, SVE2_INT_TERNARY_LANE): Likewise.
29121 (SVE2_FP_TERNARY_LONG, SVE2_FP_TERNARY_LONG_LANE, SVE2_INT_CMLA)
29122 (SVE2_INT_CDOT, SVE2_INT_ADD_BINARY_LONG, SVE2_INT_QADD_BINARY_LONG)
29123 (SVE2_INT_SUB_BINARY_LONG, SVE2_INT_QSUB_BINARY_LONG): Likewise.
29124 (SVE2_INT_ADD_BINARY_LONG_LANE, SVE2_INT_QADD_BINARY_LONG_LANE)
29125 (SVE2_INT_SUB_BINARY_LONG_LANE, SVE2_INT_QSUB_BINARY_LONG_LANE)
29126 (SVE2_COND_INT_UNARY_FP, SVE2_COND_FP_UNARY_LONG): Likewise.
29127 (SVE2_COND_FP_UNARY_NARROWB, SVE2_COND_INT_BINARY): Likewise.
29128 (SVE2_COND_INT_BINARY_NOREV, SVE2_COND_INT_BINARY_REV): Likewise.
29129 (SVE2_COND_INT_SHIFT, SVE2_MATCH, SVE2_PMULL): Likewise.
29130 (optab): Handle the new unspecs.
29131 (su, r): Remove entries for UNSPEC_SHRNB, UNSPEC_SHRNT, UNSPEC_RSHRNB
29133 (lr): Handle the new unspecs.
29135 (cmp_op, while_optab_cmp, sve_int_op): Handle the new unspecs.
29136 (sve_int_op_rev, sve_int_add_op, sve_int_qadd_op, sve_int_sub_op)
29137 (sve_int_qsub_op): New int attributes.
29138 (sve_fp_op, rot): Handle the new unspecs.
29139 * config/aarch64/aarch64-sve-builtins.h
29140 (function_resolver::require_matching_pointer_type): Declare.
29141 (function_resolver::resolve_unary): Add an optional boolean argument.
29142 (function_resolver::finish_opt_n_resolution): Add an optional
29143 type_suffix_index argument.
29144 (gimple_folder::redirect_call): Declare.
29145 (gimple_expander::prepare_gather_address_operands): Add an optional
29147 * config/aarch64/aarch64-sve-builtins.cc: Include
29148 aarch64-sve-builtins-sve2.h.
29149 (TYPES_b_unsigned, TYPES_b_integer, TYPES_bh_integer): New macros.
29150 (TYPES_bs_unsigned, TYPES_hs_signed, TYPES_hs_integer): Likewise.
29151 (TYPES_hd_unsigned, TYPES_hsd_signed): Likewise.
29152 (TYPES_hsd_integer): Use TYPES_hsd_signed.
29153 (TYPES_s_float_hsd_integer, TYPES_s_float_sd_integer): New macros.
29154 (TYPES_s_unsigned): Likewise.
29155 (TYPES_s_integer): Use TYPES_s_unsigned.
29156 (TYPES_sd_signed, TYPES_sd_unsigned): New macros.
29157 (TYPES_sd_integer): Use them.
29158 (TYPES_d_unsigned): New macro.
29159 (TYPES_d_integer): Use it.
29160 (TYPES_d_data, TYPES_cvt_long, TYPES_cvt_narrow_s): New macros.
29161 (TYPES_cvt_narrow): Likewise.
29162 (DEF_SVE_TYPES_ARRAY): Include the new types macros above.
29163 (preds_mx): New variable.
29164 (function_builder::add_overloaded_function): Allow the new feature
29165 set to be more restrictive than the original one.
29166 (function_resolver::infer_pointer_type): Remove qualifiers from
29167 the pointer type before printing it.
29168 (function_resolver::require_matching_pointer_type): New function.
29169 (function_resolver::resolve_sv_displacement): Handle functions
29170 that don't support 32-bit vector indices or svint32_t vector offsets.
29171 (function_resolver::finish_opt_n_resolution): Take the inferred type
29172 as a separate argument.
29173 (function_resolver::resolve_unary): Optionally treat all forms in
29174 the same way as normal merging functions.
29175 (gimple_folder::redirect_call): New function.
29176 (function_expander::prepare_gather_address_operands): Add an argument
29177 that says whether scaled forms are available. If they aren't,
29178 handle scaling of vector indices and don't add the extension and
29180 (function_expander::map_to_unspecs): If aarch64_sve isn't available,
29181 fall back to using cond_* instead.
29182 * config/aarch64/aarch64-sve-builtins-functions.h (rtx_code_function):
29183 Split out the member variables into...
29184 (rtx_code_function_base): ...this new base class.
29185 (rtx_code_function_rotated): Inherit rtx_code_function_base.
29186 (unspec_based_function): Split out the member variables into...
29187 (unspec_based_function_base): ...this new base class.
29188 (unspec_based_function_rotated): Inherit unspec_based_function_base.
29189 (unspec_based_function_exact_insn): New class.
29190 (unspec_based_add_function, unspec_based_add_lane_function)
29191 (unspec_based_lane_function, unspec_based_pred_function)
29192 (unspec_based_qadd_function, unspec_based_qadd_lane_function)
29193 (unspec_based_qsub_function, unspec_based_qsub_lane_function)
29194 (unspec_based_sub_function, unspec_based_sub_lane_function): New
29196 (unspec_based_fused_function): New class.
29197 (unspec_based_mla_function, unspec_based_mls_function): New typedefs.
29198 (unspec_based_fused_lane_function): New class.
29199 (unspec_based_mla_lane_function, unspec_based_mls_lane_function): New
29201 (CODE_FOR_MODE1): New macro.
29202 (fixed_insn_function): New class.
29203 (while_comparison): Likewise.
29204 * config/aarch64/aarch64-sve-builtins-shapes.h (binary_long_lane)
29205 (binary_long_opt_n, binary_narrowb_opt_n, binary_narrowt_opt_n)
29206 (binary_to_uint, binary_wide, binary_wide_opt_n, compare, compare_ptr)
29207 (load_ext_gather_index_restricted, load_ext_gather_offset_restricted)
29208 (load_gather_sv_restricted, shift_left_imm_long): Declare.
29209 (shift_left_imm_to_uint, shift_right_imm_narrowb): Likewise.
29210 (shift_right_imm_narrowt, shift_right_imm_narrowb_to_uint): Likewise.
29211 (shift_right_imm_narrowt_to_uint, store_scatter_index_restricted)
29212 (store_scatter_offset_restricted, tbl_tuple, ternary_long_lane)
29213 (ternary_long_opt_n, ternary_qq_lane_rotate, ternary_qq_rotate)
29214 (ternary_shift_left_imm, ternary_shift_right_imm, ternary_uint)
29215 (unary_convert_narrowt, unary_long, unary_narrowb, unary_narrowt)
29216 (unary_narrowb_to_uint, unary_narrowt_to_uint, unary_to_int): Likewise.
29217 * config/aarch64/aarch64-sve-builtins-shapes.cc (apply_predication):
29218 Also add an initial argument for unary_convert_narrowt, regardless
29219 of the predication type.
29220 (build_32_64): Allow loads and stores to specify MODE_none.
29221 (build_sv_index64, build_sv_uint_offset): New functions.
29222 (long_type_suffix): New function.
29223 (binary_imm_narrowb_base, binary_imm_narrowt_base): New classes.
29224 (binary_imm_long_base, load_gather_sv_base): Likewise.
29225 (shift_right_imm_narrow_wrapper, ternary_shift_imm_base): Likewise.
29226 (ternary_resize2_opt_n_base, ternary_resize2_lane_base): Likewise.
29227 (unary_narrowb_base, unary_narrowt_base): Likewise.
29228 (binary_long_lane_def, binary_long_lane): New shape.
29229 (binary_long_opt_n_def, binary_long_opt_n): Likewise.
29230 (binary_narrowb_opt_n_def, binary_narrowb_opt_n): Likewise.
29231 (binary_narrowt_opt_n_def, binary_narrowt_opt_n): Likewise.
29232 (binary_to_uint_def, binary_to_uint): Likewise.
29233 (binary_wide_def, binary_wide): Likewise.
29234 (binary_wide_opt_n_def, binary_wide_opt_n): Likewise.
29235 (compare_def, compare): Likewise.
29236 (compare_ptr_def, compare_ptr): Likewise.
29237 (load_ext_gather_index_restricted_def,
29238 load_ext_gather_index_restricted): Likewise.
29239 (load_ext_gather_offset_restricted_def,
29240 load_ext_gather_offset_restricted): Likewise.
29241 (load_gather_sv_def): Inherit from load_gather_sv_base.
29242 (load_gather_sv_restricted_def, load_gather_sv_restricted): New shape.
29243 (shift_left_imm_def, shift_left_imm): Likewise.
29244 (shift_left_imm_long_def, shift_left_imm_long): Likewise.
29245 (shift_left_imm_to_uint_def, shift_left_imm_to_uint): Likewise.
29246 (store_scatter_index_restricted_def,
29247 store_scatter_index_restricted): Likewise.
29248 (store_scatter_offset_restricted_def,
29249 store_scatter_offset_restricted): Likewise.
29250 (tbl_tuple_def, tbl_tuple): Likewise.
29251 (ternary_long_lane_def, ternary_long_lane): Likewise.
29252 (ternary_long_opt_n_def, ternary_long_opt_n): Likewise.
29253 (ternary_qq_lane_def): Inherit from ternary_resize2_lane_base.
29254 (ternary_qq_lane_rotate_def, ternary_qq_lane_rotate): New shape
29255 (ternary_qq_opt_n_def): Inherit from ternary_resize2_opt_n_base.
29256 (ternary_qq_rotate_def, ternary_qq_rotate): New shape.
29257 (ternary_shift_left_imm_def, ternary_shift_left_imm): Likewise.
29258 (ternary_shift_right_imm_def, ternary_shift_right_imm): Likewise.
29259 (ternary_uint_def, ternary_uint): Likewise.
29260 (unary_convert): Fix typo in comment.
29261 (unary_convert_narrowt_def, unary_convert_narrowt): New shape.
29262 (unary_long_def, unary_long): Likewise.
29263 (unary_narrowb_def, unary_narrowb): Likewise.
29264 (unary_narrowt_def, unary_narrowt): Likewise.
29265 (unary_narrowb_to_uint_def, unary_narrowb_to_uint): Likewise.
29266 (unary_narrowt_to_uint_def, unary_narrowt_to_uint): Likewise.
29267 (unary_to_int_def, unary_to_int): Likewise.
29268 * config/aarch64/aarch64-sve-builtins-base.cc (unspec_cmla)
29269 (unspec_fcmla, unspec_cond_fcmla, expand_mla_mls_lane): New functions.
29270 (svasrd_impl): Delete.
29271 (svcadd_impl::expand): Handle integer operations too.
29272 (svcmla_impl::expand, svcmla_lane::expand): Likewise, using the
29273 new functions to derive the unspec numbers.
29274 (svmla_svmls_lane_impl): Replace with...
29275 (svmla_lane_impl, svmls_lane_impl): ...these new classes. Handle
29276 integer operations too.
29277 (svwhile_impl): Rename to...
29278 (svwhilelx_impl): ...this and inherit from while_comparison.
29279 (svasrd): Use unspec_based_function.
29280 (svmla_lane): Use svmla_lane_impl.
29281 (svmls_lane): Use svmls_lane_impl.
29282 (svrecpe, svrsqrte): Handle unsigned integer operations too.
29283 (svwhilele, svwhilelt): Use svwhilelx_impl.
29284 * config/aarch64/aarch64-sve-builtins-sve2.h: New file.
29285 * config/aarch64/aarch64-sve-builtins-sve2.cc: Likewise.
29286 * config/aarch64/aarch64-sve-builtins-sve2.def: Likewise.
29287 * config/aarch64/aarch64-sve-builtins.def: Include
29288 aarch64-sve-builtins-sve2.def.
29290 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29292 * config/aarch64/aarch64-protos.h (aarch64_sve_arith_immediate_p)
29293 (aarch64_sve_sqadd_sqsub_immediate_p): Add a machine_mode argument.
29294 * config/aarch64/aarch64.c (aarch64_sve_arith_immediate_p)
29295 (aarch64_sve_sqadd_sqsub_immediate_p): Likewise. Handle scalar
29296 immediates as well as vector ones.
29297 * config/aarch64/predicates.md (aarch64_sve_arith_immediate)
29298 (aarch64_sve_sub_arith_immediate, aarch64_sve_qadd_immediate)
29299 (aarch64_sve_qsub_immediate): Update calls accordingly.
29301 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29303 * config/aarch64/aarch64-sve2.md: Add banner comments.
29304 (<su>mulh<r>s<mode>3): Move further up file.
29305 (<su>mull<bt><Vwide>, <r>shrnb<mode>, <r>shrnt<mode>)
29306 (*aarch64_sve2_sra<mode>): Move further down file.
29307 * config/aarch64/t-aarch64 (s-check-sve-md): Check aarch64-sve2.md too.
29309 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29311 * config/aarch64/iterators.md (SVE_WHILE): Add UNSPEC_WHILERW
29312 and UNSPEC_WHILEWR.
29313 (while_optab_cmp): Handle them.
29314 * config/aarch64/aarch64-sve.md
29315 (*while_<while_optab_cmp><GPI:mode><PRED_ALL:mode>_ptest): Make public
29316 and add a "@" marker.
29317 * config/aarch64/aarch64-sve2.md (check_<raw_war>_ptrs<mode>): Use it
29318 instead of gen_aarch64_sve2_while_ptest.
29319 (@aarch64_sve2_while<cmp_op><GPI:mode><PRED_ALL:mode>_ptest): Delete.
29321 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29323 * config/aarch64/aarch64.md (UNSPEC_WHILE_LE): Rename to...
29324 (UNSPEC_WHILELE): ...this.
29325 (UNSPEC_WHILE_LO): Rename to...
29326 (UNSPEC_WHILELO): ...this.
29327 (UNSPEC_WHILE_LS): Rename to...
29328 (UNSPEC_WHILELS): ...this.
29329 (UNSPEC_WHILE_LT): Rename to...
29330 (UNSPEC_WHILELT): ...this.
29331 * config/aarch64/iterators.md (SVE_WHILE): Update accordingly.
29332 (cmp_op, while_optab_cmp): Likewise.
29333 * config/aarch64/aarch64.c (aarch64_sve_move_pred_via_while): Likewise.
29334 * config/aarch64/aarch64-sve-builtins-base.cc (svwhilele): Likewise.
29335 (svwhilelt): Likewise.
29337 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29339 * config/aarch64/aarch64-sve-builtins-shapes.h (unary_count): Delete.
29340 (unary_to_uint): Define.
29341 * config/aarch64/aarch64-sve-builtins-shapes.cc (unary_count_def)
29342 (unary_count): Rename to...
29343 (unary_to_uint_def, unary_to_uint): ...this.
29344 * config/aarch64/aarch64-sve-builtins-base.def: Update accordingly.
29346 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29348 * config/aarch64/aarch64-sve-builtins-functions.h
29349 (code_for_mode_function): New class.
29350 (CODE_FOR_MODE0, QUIET_CODE_FOR_MODE0): New macros.
29351 * config/aarch64/aarch64-sve-builtins-base.cc (svcompact_impl)
29352 (svext_impl, svmul_lane_impl, svsplice_impl, svtmad_impl): Delete.
29353 (svcompact, svext, svsplice): Use QUIET_CODE_FOR_MODE0.
29354 (svmul_lane, svtmad): Use CODE_FOR_MODE0.
29356 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29358 * config/aarch64/iterators.md (addsub): New code attribute.
29359 * config/aarch64/aarch64-simd.md (aarch64_<su_optab><optab><mode>):
29361 (aarch64_<su_optab>q<addsub><mode>): ...this, making the same change
29362 in the asm string and attributes. Fix indentation.
29363 * config/aarch64/aarch64-sve.md (@aarch64_<su_optab><optab><mode>):
29365 (@aarch64_sve_<optab><mode>): ...this.
29366 * config/aarch64/aarch64-sve-builtins.h
29367 (function_expander::expand_signed_unpred_op): Delete.
29368 * config/aarch64/aarch64-sve-builtins.cc
29369 (function_expander::expand_signed_unpred_op): Likewise.
29370 (function_expander::map_to_rtx_codes): If the optab isn't defined,
29371 try using code_for_aarch64_sve instead.
29372 * config/aarch64/aarch64-sve-builtins-base.cc (svqadd_impl): Delete.
29373 (svqsub_impl): Likewise.
29374 (svqadd, svqsub): Use rtx_code_function instead.
29376 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29378 * config/aarch64/iterators.md (SRHSUB, URHSUB): Delete.
29379 (HADDSUB, sur, addsub): Remove them.
29381 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29383 * tree-nrv.c (pass_return_slot::execute): Handle all internal
29384 functions the same way, rather than singling out those that
29385 aren't mapped directly to optabs.
29387 2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
29389 * target.def (compatible_vector_types_p): New target hook.
29390 * hooks.h (hook_bool_const_tree_const_tree_true): Declare.
29391 * hooks.c (hook_bool_const_tree_const_tree_true): New function.
29392 * doc/tm.texi.in (TARGET_COMPATIBLE_VECTOR_TYPES_P): New hook.
29393 * doc/tm.texi: Regenerate.
29394 * gimple-expr.c: Include target.h.
29395 (useless_type_conversion_p): Use targetm.compatible_vector_types_p.
29396 * config/aarch64/aarch64.c (aarch64_compatible_vector_types_p): New
29398 (TARGET_COMPATIBLE_VECTOR_TYPES_P): Define.
29399 * config/aarch64/aarch64-sve-builtins.cc (gimple_folder::convert_pred):
29400 Use the original predicate if it already has a suitable type.
29402 2020-01-09 Martin Jambor <mjambor@suse.cz>
29404 * cgraph.h (cgraph_edge): Make remove, set_call_stmt, make_direct,
29405 resolve_speculation and redirect_call_stmt_to_callee static. Change
29406 return type of set_call_stmt to cgraph_edge *.
29407 * auto-profile.c (afdo_indirect_call): Adjust call to
29408 redirect_call_stmt_to_callee.
29409 * cgraph.c (cgraph_edge::set_call_stmt): Make return cgraph-edge *,
29410 make the this pointer explicit, adjust self-recursive calls and the
29411 call top make_direct. Return the resulting edge.
29412 (cgraph_edge::remove): Make this pointer explicit.
29413 (cgraph_edge::resolve_speculation): Likewise, adjust call to remove.
29414 (cgraph_edge::make_direct): Likewise, adjust call to
29415 resolve_speculation.
29416 (cgraph_edge::redirect_call_stmt_to_callee): Likewise, also adjust
29417 call to set_call_stmt.
29418 (cgraph_update_edges_for_call_stmt_node): Update call to
29419 set_call_stmt and remove.
29420 * cgraphclones.c (cgraph_node::set_call_stmt_including_clones):
29421 Renamed edge to master_edge. Adjusted calls to set_call_stmt.
29422 (cgraph_node::create_edge_including_clones): Moved "first" definition
29423 of edge to the block where it was used. Adjusted calls to
29425 (cgraph_node::remove_symbol_and_inline_clones): Adjust call to
29426 cgraph_edge::remove.
29427 * cgraphunit.c (walk_polymorphic_call_targets): Adjusted calls to
29428 make_direct and redirect_call_stmt_to_callee.
29429 * ipa-fnsummary.c (redirect_to_unreachable): Adjust calls to
29430 resolve_speculation and make_direct.
29431 * ipa-inline-transform.c (inline_transform): Adjust call to
29432 redirect_call_stmt_to_callee.
29433 (check_speculations_1):: Adjust call to resolve_speculation.
29434 * ipa-inline.c (resolve_noninline_speculation): Adjust call to
29435 resolve-speculation.
29436 (inline_small_functions): Adjust call to resolve_speculation.
29437 (ipa_inline): Likewise.
29438 * ipa-prop.c (ipa_make_edge_direct_to_target): Adjust call to
29440 * ipa-visibility.c (function_and_variable_visibility): Make iteration
29441 safe with regards to edge removal, adjust calls to
29442 redirect_call_stmt_to_callee.
29443 * ipa.c (walk_polymorphic_call_targets): Adjust calls to make_direct
29444 and redirect_call_stmt_to_callee.
29445 * multiple_target.c (create_dispatcher_calls): Adjust call to
29446 redirect_call_stmt_to_callee
29447 (redirect_to_specific_clone): Likewise.
29448 * tree-cfgcleanup.c (delete_unreachable_blocks_update_callgraph):
29449 Adjust calls to cgraph_edge::remove.
29450 * tree-inline.c (copy_bb): Adjust call to set_call_stmt.
29451 (redirect_all_calls): Adjust call to redirect_call_stmt_to_callee.
29452 (expand_call_inline): Adjust call to cgraph_edge::remove.
29454 2020-01-09 Martin Liska <mliska@suse.cz>
29456 * params.opt: Set Optimization for
29457 param_max_speculative_devirt_maydefs.
29459 2020-01-09 Martin Sebor <msebor@redhat.com>
29461 PR middle-end/93200
29463 * builtins.c (compute_objsize): Avoid handling MEM_REFs of vector type.
29465 2020-01-09 Martin Liska <mliska@suse.cz>
29467 * auto-profile.c (auto_profile): Use opt_for_fn
29469 * ipa-cp.c (ipcp_lattice::add_value): Likewise.
29470 (propagate_vals_across_arith_jfunc): Likewise.
29471 (hint_time_bonus): Likewise.
29472 (incorporate_penalties): Likewise.
29473 (good_cloning_opportunity_p): Likewise.
29474 (perform_estimation_of_a_value): Likewise.
29475 (estimate_local_effects): Likewise.
29476 (ipcp_propagate_stage): Likewise.
29477 * ipa-fnsummary.c (decompose_param_expr): Likewise.
29478 (set_switch_stmt_execution_predicate): Likewise.
29479 (analyze_function_body): Likewise.
29480 * ipa-inline-analysis.c (offline_size): Likewise.
29481 * ipa-inline.c (early_inliner): Likewise.
29482 * ipa-prop.c (ipa_analyze_node): Likewise.
29483 (ipcp_transform_function): Likewise.
29484 * ipa-sra.c (process_scan_results): Likewise.
29485 (ipa_sra_summarize_function): Likewise.
29486 * params.opt: Rename ipcp-unit-growth to
29487 ipa-cp-unit-growth. Add Optimization for various
29488 IPA-related parameters.
29490 2020-01-09 Richard Biener <rguenther@suse.de>
29492 PR middle-end/93054
29493 * gimplify.c (gimplify_expr): Deal with NOP definitions.
29495 2020-01-09 Richard Biener <rguenther@suse.de>
29497 PR tree-optimization/93040
29498 * gimple-ssa-store-merging.c (find_bswap_or_nop): Raise search limit.
29500 2020-01-09 Georg-Johann Lay <avr@gjlay.de>
29502 * common/config/avr/avr-common.c (avr_option_optimization_table)
29503 [OPT_LEVELS_1_PLUS]: Set -fsplit-wide-types-early.
29505 2020-01-09 Martin Liska <mliska@suse.cz>
29507 * cgraphclones.c (symbol_table::materialize_all_clones):
29508 Use cgraph_node::dump_name.
29510 2020-01-09 Jakub Jelinek <jakub@redhat.com>
29512 PR inline-asm/93202
29513 * config/riscv/riscv.c (riscv_print_operand_reloc): Use
29514 output_operand_lossage instead of gcc_unreachable.
29515 * doc/md.texi (riscv f constraint): Fix typo.
29518 * config/i386/i386.md (subv<mode>4): Use SWIDWI iterator instead of
29519 SWI. Use <general_hilo_operand> instead of <general_operand>. Use
29520 CONST_SCALAR_INT_P instead of CONST_INT_P.
29521 (*subv<mode>4_1): Rename to ...
29522 (subv<mode>4_1): ... this.
29523 (*subv<dwi>4_doubleword, *addv<dwi>4_doubleword_1): New
29524 define_insn_and_split patterns.
29525 (*subv<mode>4_overflow_1, *addv<mode>4_overflow_2): New define_insn
29528 2020-01-08 David Malcolm <dmalcolm@redhat.com>
29530 * vec.c (class selftest::count_dtor): New class.
29531 (selftest::test_auto_delete_vec): New test.
29532 (selftest::vec_c_tests): Call it.
29533 * vec.h (class auto_delete_vec): New class template.
29534 (auto_delete_vec<T>::~auto_delete_vec): New dtor.
29536 2020-01-08 David Malcolm <dmalcolm@redhat.com>
29538 * sbitmap.h (auto_sbitmap): Add operator const_sbitmap.
29540 2020-01-08 Jim Wilson <jimw@sifive.com>
29542 * config/riscv/riscv.c (riscv_legitimize_tls_address): Ifdef out
29543 use of TLS_MODEL_LOCAL_EXEC when not pic.
29545 2020-01-08 David Malcolm <dmalcolm@redhat.com>
29547 * hash-map-tests.c (selftest::test_map_of_strings_to_int): Fix
29550 2020-01-08 Jakub Jelinek <jakub@redhat.com>
29553 * config/i386/i386.md (*stack_protect_set_2_<mode> peephole2,
29554 *stack_protect_set_3 peephole2): Also check that the second
29555 insns source is general_operand.
29558 * config/i386/i386.md (addcarry<mode>_0): Use nonimmediate_operand
29559 predicate for output operand instead of register_operand.
29560 (addcarry<mode>, addcarry<mode>_1): Likewise. Add alternative with
29561 memory destination and non-memory operands[2].
29563 2020-01-08 Martin Liska <mliska@suse.cz>
29565 * cgraph.c (cgraph_node::dump): Use ::dump_name or
29566 ::dump_asm_name instead of (::name or ::asm_name).
29567 * cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
29568 * cgraphunit.c (walk_polymorphic_call_targets): Likewise.
29569 (analyze_functions): Likewise.
29570 (expand_all_functions): Likewise.
29571 * ipa-cp.c (ipcp_cloning_candidate_p): Likewise.
29572 (propagate_bits_across_jump_function): Likewise.
29573 (dump_profile_updates): Likewise.
29574 (ipcp_store_bits_results): Likewise.
29575 (ipcp_store_vr_results): Likewise.
29576 * ipa-devirt.c (dump_targets): Likewise.
29577 * ipa-fnsummary.c (analyze_function_body): Likewise.
29578 * ipa-hsa.c (check_warn_node_versionable): Likewise.
29579 (process_hsa_functions): Likewise.
29580 * ipa-icf.c (sem_item_optimizer::merge_classes): Likewise.
29581 (set_alias_uids): Likewise.
29582 * ipa-inline-transform.c (save_inline_function_body): Likewise.
29583 * ipa-inline.c (recursive_inlining): Likewise.
29584 (inline_to_all_callers_1): Likewise.
29585 (ipa_inline): Likewise.
29586 * ipa-profile.c (ipa_propagate_frequency_1): Likewise.
29587 (ipa_propagate_frequency): Likewise.
29588 * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
29589 (remove_described_reference): Likewise.
29590 * ipa-pure-const.c (worse_state): Likewise.
29591 (check_retval_uses): Likewise.
29592 (analyze_function): Likewise.
29593 (propagate_pure_const): Likewise.
29594 (propagate_nothrow): Likewise.
29595 (dump_malloc_lattice): Likewise.
29596 (propagate_malloc): Likewise.
29597 (pass_local_pure_const::execute): Likewise.
29598 * ipa-visibility.c (optimize_weakref): Likewise.
29599 (function_and_variable_visibility): Likewise.
29600 * ipa.c (symbol_table::remove_unreachable_nodes): Likewise.
29601 (ipa_discover_variable_flags): Likewise.
29602 * lto-streamer-out.c (output_function): Likewise.
29603 (output_constructor): Likewise.
29604 * tree-inline.c (copy_bb): Likewise.
29605 * tree-ssa-structalias.c (ipa_pta_execute): Likewise.
29606 * varpool.c (symbol_table::remove_unreferenced_decls): Likewise.
29608 2020-01-08 Richard Biener <rguenther@suse.de>
29610 PR middle-end/93199
29611 * tree-eh.c (sink_clobbers): Update virtual operands for
29612 the first and last stmt only. Add a dry-run capability.
29613 (pass_lower_eh_dispatch::execute): Perform clobber sinking
29614 after CFG manipulations and in RPO order to catch all
29615 secondary opportunities reliably.
29617 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
29620 * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document.
29622 2019-01-08 Richard Biener <rguenther@suse.de>
29624 PR middle-end/93199
29625 * gimple-fold.c (rewrite_to_defined_overflow): Mark stmt modified.
29626 * tree-ssa-loop-im.c (move_computations_worker): Properly adjust
29627 virtual operand, also updating SSA use.
29628 * gimple-loop-interchange.cc (loop_cand::undo_simple_reduction):
29629 Update stmt after resetting virtual operand.
29630 (tree_loop_interchange::move_code_to_inner_loop): Likewise.
29631 * gimple-iterator.c (gsi_remove): When not removing the stmt
29632 permanently do not delink immediate uses or mark the stmt modified.
29634 2020-01-08 Martin Liska <mliska@suse.cz>
29636 * ipa-fnsummary.c (dump_ipa_call_summary): Use symtab_node::dump_name.
29637 (ipa_call_context::estimate_size_and_time): Likewise.
29638 (inline_analyze_function): Likewise.
29640 2020-01-08 Martin Liska <mliska@suse.cz>
29642 * cgraph.c (cgraph_node::dump): Use systematically
29645 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
29647 Add -nodevicespecs option for avr.
29650 * config/avr/avr.opt (-nodevicespecs): New driver option.
29651 * config/avr/driver-avr.c (avr_devicespecs_file): Only issue
29652 "-specs=device-specs/..." if that option is not set.
29653 * doc/invoke.texi (AVR Options) <-nodevicespecs>: Document.
29655 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
29657 Implement 64-bit double functions for avr.
29660 * config.gcc (tm_defines) [target=avr]: Support --with-libf7,
29661 --with-double-comparison.
29662 * doc/install.texi: Document them.
29663 * config/avr/avr-c.c (avr_cpu_cpp_builtins)
29664 <WITH_LIBF7_LIBGCC, WITH_LIBF7_MATH, WITH_LIBF7_MATH_SYMBOLS>
29665 <WITH_DOUBLE_COMPARISON>: New built-in defines.
29666 * doc/invoke.texi (AVR Built-in Macros): Document them.
29667 * config/avr/avr-protos.h (avr_float_lib_compare_returns_bool): New.
29668 * config/avr/avr.c (avr_float_lib_compare_returns_bool): New function.
29669 * config/avr/avr.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): New macro.
29671 2020-01-08 Richard Earnshaw <rearnsha@arm.com>
29674 * config/arm/t-multilib (MULTILIB_MATCHES): Add rules to match
29675 armv7-a{+mp,+sec,+mp+sec} to appropriate armv7 multilib variants
29676 when only building rm-profile multilibs.
29678 2020-01-08 Feng Xue <fxue@os.amperecomputing.com>
29681 * ipa-cp.c (self_recursively_generated_p): Find matched aggregate
29682 lattice for a value to check.
29683 (propagate_vals_across_arith_jfunc): Add an assertion to ensure
29684 finite propagation in self-recursive scc.
29686 2020-01-08 Luo Xiong Hu <luoxhu@linux.ibm.com>
29688 * ipa-inline.c (caller_growth_limits): Restore the AND.
29690 2020-01-07 Andrew Stubbs <ams@codesourcery.com>
29692 * config/gcn/gcn-valu.md (VEC_1REG_INT_ALT): Delete iterator.
29693 (VEC_ALLREG_ALT): New iterator.
29694 (VEC_ALLREG_INT_MODE): New iterator.
29695 (VCMP_MODE): New iterator.
29696 (VCMP_MODE_INT): New iterator.
29697 (vec_cmpu<mode>di): Use VCMP_MODE_INT.
29698 (vec_cmp<u>v64qidi): New define_expand.
29699 (vec_cmp<mode>di_exec): Use VCMP_MODE.
29700 (vec_cmpu<mode>di_exec): New define_expand.
29701 (vec_cmp<u>v64qidi_exec): New define_expand.
29702 (vec_cmp<mode>di_dup): Use VCMP_MODE.
29703 (vec_cmp<mode>di_dup_exec): Use VCMP_MODE.
29704 (vcond<VEC_ALL1REG_MODE:mode><VEC_1REG_ALT:mode>): Rename ...
29705 (vcond<VEC_ALLREG_MODE:mode><VEC_ALLREG_ALT:mode>): ... to this.
29706 (vcond<VEC_ALL1REG_MODE:mode><VEC_1REG_ALT:mode>_exec): Rename ...
29707 (vcond<VEC_ALLREG_MODE:mode><VEC_ALLREG_ALT:mode>_exec): ... to this.
29708 (vcondu<VEC_ALL1REG_MODE:mode><VEC_1REG_INT_ALT:mode>): Rename ...
29709 (vcondu<VEC_ALLREG_MODE:mode><VEC_ALLREG_INT_MODE:mode>): ... to this.
29710 (vcondu<VEC_ALL1REG_MODE:mode><VEC_1REG_INT_ALT:mode>_exec): Rename ...
29711 (vcondu<VEC_ALLREG_MODE:mode><VEC_ALLREG_INT_MODE:mode>_exec): ... to
29713 * config/gcn/gcn.c (print_operand): Fix 8 and 16 bit suffixes.
29714 * config/gcn/gcn.md (expander): Add sign_extend and zero_extend.
29716 2020-01-07 Andrew Stubbs <ams@codesourcery.com>
29718 * config/gcn/constraints.md (DA): Update description and match.
29720 (Db): New constraint.
29721 * config/gcn/gcn-protos.h (gcn_inline_constant64_p): Add second
29723 * config/gcn/gcn.c (gcn_inline_constant64_p): Add 'mixed' parameter.
29724 Implement 'Db' mixed immediate type.
29725 * config/gcn/gcn-valu.md (addcv64si3<exec_vcc>): Rework constraints.
29726 (addcv64si3_dup<exec_vcc>): Delete.
29727 (subcv64si3<exec_vcc>): Rework constraints.
29728 (addv64di3): Rework constraints.
29729 (addv64di3_exec): Rework constraints.
29730 (subv64di3): Rework constraints.
29731 (addv64di3_dup): Delete.
29732 (addv64di3_dup_exec): Delete.
29733 (addv64di3_zext): Rework constraints.
29734 (addv64di3_zext_exec): Rework constraints.
29735 (addv64di3_zext_dup): Rework constraints.
29736 (addv64di3_zext_dup_exec): Rework constraints.
29737 (addv64di3_zext_dup2): Rework constraints.
29738 (addv64di3_zext_dup2_exec): Rework constraints.
29739 (addv64di3_sext_dup2): Rework constraints.
29740 (addv64di3_sext_dup2_exec): Rework constraints.
29742 2020-01-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
29744 * doc/sourcebuild.texi (arm_little_endian, arm_nothumb): Documented
29745 existing target checks.
29747 2020-01-07 Richard Biener <rguenther@suse.de>
29749 * doc/install.texi: Bump minimal supported MPC version.
29751 2020-01-07 Richard Sandiford <richard.sandiford@arm.com>
29753 * langhooks-def.h (lhd_simulate_enum_decl): Declare.
29754 (LANG_HOOKS_SIMULATE_ENUM_DECL): Use it.
29755 * langhooks.c: Include stor-layout.h.
29756 (lhd_simulate_enum_decl): New function.
29757 * config/aarch64/aarch64-sve-builtins.cc (init_builtins): Call
29758 handle_arm_sve_h for the LTO frontend.
29759 (register_vector_type): Cope with null returns from pushdecl.
29761 2020-01-07 Richard Sandiford <richard.sandiford@arm.com>
29763 * config/aarch64/aarch64-protos.h (aarch64_sve::svbool_type_p)
29764 (aarch64_sve::nvectors_if_data_type): Replace with...
29765 (aarch64_sve::builtin_type_p): ...this.
29766 * config/aarch64/aarch64-sve-builtins.cc: Include attribs.h.
29767 (find_vector_type): Delete.
29768 (add_sve_type_attribute): New function.
29769 (lookup_sve_type_attribute): Likewise.
29770 (register_builtin_types): Add an "SVE type" attribute to each type.
29771 (register_tuple_type): Likewise.
29772 (svbool_type_p, nvectors_if_data_type): Delete.
29773 (mangle_builtin_type): Use lookup_sve_type_attribute.
29774 (builtin_type_p): Likewise. Add an overload that returns the
29775 number of constituent vector and predicate registers.
29776 * config/aarch64/aarch64.c (aarch64_sve_argument_p): Delete.
29777 (aarch64_returns_value_in_sve_regs_p): Use aarch64_sve::builtin_type_p
29778 instead of aarch64_sve_argument_p.
29779 (aarch64_takes_arguments_in_sve_regs_p): Likewise.
29780 (aarch64_pass_by_reference): Likewise.
29781 (aarch64_function_value_1): Likewise.
29782 (aarch64_return_in_memory): Likewise.
29783 (aarch64_layout_arg): Likewise.
29785 2020-01-07 Jakub Jelinek <jakub@redhat.com>
29787 PR tree-optimization/93156
29788 * tree-ssa-ccp.c (bit_value_binop): For x * x note that the second
29789 least significant bit is always clear.
29791 PR tree-optimization/93118
29792 * match.pd ((x >> c) << c -> x & (-1<<c)): Add nop_convert?. Add new
29793 simplifier with two intermediate conversions.
29795 2020-01-07 Martin Liska <mliska@suse.cz>
29797 * params.opt: Add Optimization for various parameters.
29799 2020-01-07 Martin Liska <mliska@suse.cz>
29802 * doc/extend.texi: Explain cloning for target_clone
29805 2020-01-07 Martin Liska <mliska@suse.cz>
29807 PR tree-optimization/92860
29808 * common.opt: Make in Optimization option
29809 as it is affected by -O0, which is an Optimization
29811 * tree-inline.c (tree_inlinable_function_p):
29812 Use opt_for_fn for warn_inline.
29813 (expand_call_inline): Likewise.
29815 2020-01-07 Martin Liska <mliska@suse.cz>
29817 PR tree-optimization/92860
29818 * common.opt: Make flag_ree as optimization
29821 2020-01-07 Martin Liska <mliska@suse.cz>
29823 PR optimization/92860
29824 * params.opt: Mark param_min_crossjump_insns with Optimization
29827 2020-01-07 Luo Xiong Hu <luoxhu@linux.ibm.com>
29829 * ipa-inline-analysis.c (estimate_growth): Fix typo.
29830 * ipa-inline.c (caller_growth_limits): Use OR instead of AND.
29832 2020-01-06 Michael Meissner <meissner@linux.ibm.com>
29834 * config/rs6000/rs6000.c (hard_reg_and_mode_to_addr_mask): New
29835 helper function to return the valid addressing formats for a given
29836 hard register and mode.
29837 (rs6000_adjust_vec_address): Call hard_reg_and_mode_to_addr_mask.
29839 * config/rs6000/constraints.md (Q constraint): Update
29841 * doc/md.texi (RS/6000 constraints): Update 'Q' cosntraint
29844 * config/rs6000/vsx.md (vsx_extract_<mode>_var, VSX_D iterator):
29845 Use 'Q' for doing vector extract from memory.
29846 (vsx_extract_v4sf_var): Use 'Q' for doing vector extract from
29848 (vsx_extract_<mode>_var, VSX_EXTRACT_I iterator): Use 'Q' for
29849 doing vector extract from memory.
29850 (vsx_extract_<mode>_<VS_scalar>mode_var): Use 'Q' for doing vector
29851 extract from memory.
29853 * config/rs6000/rs6000.c (rs6000_adjust_vec_address): Add support
29854 for the offset being 34-bits when -mcpu=future is used.
29856 2020-01-06 John David Anglin <danglin@gcc.gnu.org>
29858 * config/pa/pa.md: Revert change to use ordered_comparison_operator
29859 instead of cmpib_comparison_operator in cmpib patterns.
29860 * config/pa/predicates.md (cmpib_comparison_operator): Revert removal
29861 of cmpib_comparison_operator. Revise comment.
29863 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
29865 * tree-vect-slp.c (vect_build_slp_tree_1): Require all shifts
29866 in an IFN_DIV_POW2 node to be equal.
29868 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
29870 * tree-vect-stmts.c (vect_check_load_store_mask): Rename to...
29871 (vect_check_scalar_mask): ...this.
29872 (vectorizable_store, vectorizable_load): Update call accordingly.
29873 (vectorizable_call): Use vect_check_scalar_mask to check the mask
29874 argument in calls to conditional internal functions.
29876 2020-01-06 Andrew Stubbs <ams@codesourcery.com>
29878 * config/gcn/gcn-valu.md (subv64di3): Use separate alternatives for
29879 '0' matching inputs.
29880 (subv64di3_exec): Likewise.
29882 2020-01-06 Bryan Stenson <bryan@siliconvortex.com>
29884 * config/mips/mips.c (vr4130_align_insns): Fix typo.
29885 * doc/md.texi (movstr): Likewise.
29887 2020-01-06 Andrew Stubbs <ams@codesourcery.com>
29889 * config/gcn/gcn-valu.md (vec_extract<mode><scalar_mode>): Add early
29892 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
29894 * config/aarch64/t-aarch64 ($(srcdir)/config/aarch64/aarch64-tune.md):
29896 (s-aarch64-tune-md): ...this new stamp file. Pipe the new contents
29897 to a temporary file and use move-if-change to update the real
29898 file where necessary.
29900 2020-01-06 Richard Sandiford <richard.sandiford@arm.com>
29902 * config/aarch64/aarch64-sve.md (@aarch64_sel_dup<mode>): Use Upl
29903 rather than Upa for CPY /M.
29905 2020-01-06 Andrew Stubbs <ams@codesourcery.com>
29907 * config/gcn/gcn.c (gcn_inline_constant_p): Allow 64 as an inline
29910 2020-01-06 Martin Liska <mliska@suse.cz>
29912 PR tree-optimization/92860
29913 * params.opt: Mark param_max_combine_insns with Optimization
29916 2020-01-05 Jakub Jelinek <jakub@redhat.com>
29919 * config/i386/i386.md (SWIDWI): New mode iterator.
29920 (DWI, dwi): Add TImode variants.
29921 (addv<mode>4): Use SWIDWI iterator instead of SWI. Use
29922 <general_hilo_operand> instead of <general_operand>. Use
29923 CONST_SCALAR_INT_P instead of CONST_INT_P.
29924 (*addv<mode>4_1): Rename to ...
29925 (addv<mode>4_1): ... this.
29926 (QWI): New mode attribute.
29927 (*addv<dwi>4_doubleword, *addv<dwi>4_doubleword_1): New
29928 define_insn_and_split patterns.
29929 (*addv<mode>4_overflow_1, *addv<mode>4_overflow_2): New define_insn
29931 (uaddv<mode>4): Use SWIDWI iterator instead of SWI. Use
29932 <general_hilo_operand> instead of <general_operand>.
29933 (*addcarry<mode>_1): New define_insn.
29934 (*add<dwi>3_doubleword_cc_overflow_1): New define_insn_and_split.
29936 2020-01-03 Konstantin Kharlamov <Hi-Angel@yandex.ru>
29938 * gdbinit.in (pr, prl, pt, pct, pgg, pgq, pgs, pge, pmz, pdd, pbs, pbm):
29939 Use "call" instead of "set".
29941 2020-01-03 Martin Jambor <mjambor@suse.cz>
29944 * ipa-cp.c (print_all_lattices): Skip functions without info.
29946 2020-01-03 Jakub Jelinek <jakub@redhat.com>
29949 * config/i386/i386-options.c (ix86_simd_clone_adjust): If
29950 TARGET_PREFER_AVX128, use prefer-vector-width=256 for 'c' and 'd'
29951 simd clones. If TARGET_PREFER_AVX256, use prefer-vector-width=512
29952 for 'e' simd clones.
29955 * config/i386/i386.opt (x_prefer_vector_width_type): Remove TargetSave
29957 (mprefer-vector-width=): Add Save.
29958 * config/i386/i386-options.c (ix86_target_string): Add PVW argument, print
29959 -mprefer-vector-width= if non-zero. Fix up -mfpmath= comment.
29960 (ix86_debug_options, ix86_function_specific_print): Adjust
29961 ix86_target_string callers.
29962 (ix86_valid_target_attribute_inner_p): Handle prefer-vector-width=.
29963 (ix86_valid_target_attribute_tree): Likewise.
29964 * config/i386/i386-options.h (ix86_target_string): Add PVW argument.
29965 * config/i386/i386-expand.c (ix86_expand_builtin): Adjust
29966 ix86_target_string caller.
29969 * config/i386/i386.md (abs<mode>2): Use expand_simple_binop instead of
29970 emitting ASHIFTRT, XOR and MINUS by hand. Use gen_int_mode with QImode
29971 instead of gen_int_shift_amount + convert_modes.
29973 PR rtl-optimization/93088
29974 * loop-iv.c (find_single_def_src): Punt after looking through
29975 128 reg copies for regs with single definitions. Move definitions
29978 2020-01-02 Dennis Zhang <dennis.zhang@arm.com>
29980 * config/arm/arm-c.c (arm_cpu_builtins): Define
29981 __ARM_FEATURE_MATMUL_INT8, __ARM_FEATURE_BF16_VECTOR_ARITHMETIC,
29982 __ARM_FEATURE_BF16_SCALAR_ARITHMETIC, and
29983 __ARM_BF16_FORMAT_ALTERNATIVE when enabled.
29984 * config/arm/arm-cpus.in (armv8_6, i8mm, bf16): New features.
29985 * config/arm/arm-tables.opt: Regenerated.
29986 * config/arm/arm.c (arm_option_reconfigure_globals): Initialize
29987 arm_arch_i8mm and arm_arch_bf16 when enabled.
29988 * config/arm/arm.h (TARGET_I8MM): New macro.
29989 (TARGET_BF16_FP, TARGET_BF16_SIMD): Likewise.
29990 * config/arm/t-aprofile: Add matching rules for -march=armv8.6-a.
29991 * config/arm/t-arm-elf (all_v8_archs): Add armv8.6-a.
29992 * config/arm/t-multilib: Add matching rules for -march=armv8.6-a.
29993 (v8_6_a_simd_variants): New.
29994 (v8_*_a_simd_variants): Add i8mm and bf16.
29995 * doc/invoke.texi (armv8.6-a, i8mm, bf16): Document new options.
29997 2020-01-02 Jakub Jelinek <jakub@redhat.com>
30000 * predict.c (compute_function_frequency): Don't call
30001 warn_function_cold on functions that already have cold attribute.
30003 2020-01-01 John David Anglin <danglin@gcc.gnu.org>
30006 * config/pa/pa.c (pa_elf_select_rtx_section): New. Put references to
30007 COMDAT group function labels in .data.rel.ro.local section.
30008 * config/pa/pa32-linux.h (TARGET_ASM_SELECT_RTX_SECTION): Define.
30011 * config/pa/pa.md (scc): Use ordered_comparison_operator instead of
30012 comparison_operator in B and S integer comparisons. Likewise, use
30013 ordered_comparison_operator instead of cmpib_comparison_operator in
30015 * config/pa/predicates.md (cmpib_comparison_operator): Remove.
30017 2020-01-01 Jakub Jelinek <jakub@redhat.com>
30019 Update copyright years.
30021 * gcc.c (process_command): Update copyright notice dates.
30022 * gcov-dump.c (print_version): Ditto.
30023 * gcov.c (print_version): Ditto.
30024 * gcov-tool.c (print_version): Ditto.
30025 * gengtype.c (create_file): Ditto.
30026 * doc/cpp.texi: Bump @copying's copyright year.
30027 * doc/cppinternals.texi: Ditto.
30028 * doc/gcc.texi: Ditto.
30029 * doc/gccint.texi: Ditto.
30030 * doc/gcov.texi: Ditto.
30031 * doc/install.texi: Ditto.
30032 * doc/invoke.texi: Ditto.
30034 2020-01-01 Jan Hubicka <hubicka@ucw.cz>
30036 * ipa.c (walk_polymorphic_call_targets): Fix updating of overall
30039 2020-01-01 Jakub Jelinek <jakub@redhat.com>
30041 PR tree-optimization/93098
30042 * match.pd (popcount): For shift amounts, use integer_onep
30043 or wi::to_widest () == cst instead of tree_to_uhwi () == cst
30044 tests. Make sure that precision is power of two larger than or equal
30045 to 16. Ensure shift is never negative. Use HOST_WIDE_INT_UC macro
30046 instead of ULL suffixed constants. Formatting fixes.
30048 Copyright (C) 2020 Free Software Foundation, Inc.
30050 Copying and distribution of this file, with or without modification,
30051 are permitted in any medium without royalty provided the copyright
30052 notice and this notice are preserved.