diff options
-rw-r--r-- | gcc/ChangeLog | 152 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/analyzer/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/jit/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 34 | ||||
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | libgomp/ChangeLog | 9 | ||||
-rw-r--r-- | libiberty/ChangeLog | 11 |
9 files changed, 236 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b91d3934fe8..2e912a790dc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,155 @@ +2022-05-23 Vineet Gupta <vineetg@rivosinc.com> + + * config/riscv/predicates.md (const_0_operand): Remove + const_double. + * config/riscv/riscv.cc (riscv_rtx_costs): Add check for + CONST_DOUBLE. + * config/riscv/riscv.h (TARGET_SUPPORTS_WIDE_INT): New define. + +2022-05-23 Mayshao <mayshao-oc@zhaoxin.com> + + * common/config/i386/cpuinfo.h (get_zhaoxin_cpu): Detect + the specific type of Zhaoxin CPU, and return Zhaoxin CPU name. + (cpu_indicator_init): Handle Zhaoxin processors. + * common/config/i386/i386-common.cc: Add lujiazui. + * common/config/i386/i386-cpuinfo.h (enum processor_vendor): Add + VENDOR_ZHAOXIN. + (enum processor_types): Add ZHAOXIN_FAM7H. + (enum processor_subtypes): Add ZHAOXIN_FAM7H_LUJIAZUI. + * config.gcc: Add lujiazui. + * config/i386/cpuid.h (signature_SHANGHAI_ebx): Add + Signatures for zhaoxin + (signature_SHANGHAI_ecx): Ditto. + (signature_SHANGHAI_edx): Ditto. + * config/i386/driver-i386.cc (host_detect_local_cpu): Let + -march=native recognize lujiazui processors. + * config/i386/i386-c.cc (ix86_target_macros_internal): Add lujiazui. + * config/i386/i386-options.cc (m_LUJIAZUI): New_definition. + * config/i386/i386.h (enum processor_type): Ditto. + * config/i386/i386.md: Add lujiazui. + * config/i386/x86-tune-costs.h (struct processor_costs): Add + lujiazui costs. + * config/i386/x86-tune-sched.cc (ix86_issue_rate): Add lujiazui. + (ix86_adjust_cost): Ditto. + * config/i386/x86-tune.def (X86_TUNE_SCHEDULE): Add lujiazui Tunnings. + (X86_TUNE_PARTIAL_REG_DEPENDENCY): Ditto. + (X86_TUNE_SSE_PARTIAL_REG_DEPENDENCY): Ditto. + (X86_TUNE_SSE_PARTIAL_REG_FP_CONVERTS_DEPENDENCY): Ditto. + (X86_TUNE_SSE_PARTIAL_REG_CONVERTS_DEPENDENCY): Ditto. + (X86_TUNE_MOVX): Ditto. + (X86_TUNE_MEMORY_MISMATCH_STALL): Ditto. + (X86_TUNE_FUSE_CMP_AND_BRANCH_32): Ditto. + (X86_TUNE_FUSE_CMP_AND_BRANCH_64): Ditto. + (X86_TUNE_FUSE_CMP_AND_BRANCH_SOFLAGS): Ditto. + (X86_TUNE_FUSE_ALU_AND_BRANCH): Ditto. + (X86_TUNE_ACCUMULATE_OUTGOING_ARGS): Ditto. + (X86_TUNE_USE_LEAVE): Ditto. + (X86_TUNE_PUSH_MEMORY): Ditto. + (X86_TUNE_LCP_STALL): Ditto. + (X86_TUNE_USE_INCDEC): Ditto. + (X86_TUNE_INTEGER_DFMODE_MOVES): Ditto. + (X86_TUNE_OPT_AGU): Ditto. + (X86_TUNE_PREFER_KNOWN_REP_MOVSB_STOSB): Ditto. + (X86_TUNE_MISALIGNED_MOVE_STRING_PRO_EPILOGUES): Ditto. + (X86_TUNE_USE_SAHF): Ditto. + (X86_TUNE_USE_BT): Ditto. + (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI): Ditto. + (X86_TUNE_ONE_IF_CONV_INSN): Ditto. + (X86_TUNE_AVOID_MFENCE): Ditto. + (X86_TUNE_EXPAND_ABS): Ditto. + (X86_TUNE_USE_SIMODE_FIOP): Ditto. + (X86_TUNE_USE_FFREEP): Ditto. + (X86_TUNE_EXT_80387_CONSTANTS): Ditto. + (X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL): Ditto. + (X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL): Ditto. + (X86_TUNE_SSE_TYPELESS_STORES): Ditto. + (X86_TUNE_SSE_LOAD0_BY_PXOR): Ditto. + * doc/extend.texi: Add details about lujiazui. + * doc/invoke.texi: Add details about lujiazui. + * config/i386/lujiazui.md: Introduce lujiazui cpu and include new md file. + +2022-05-23 Martin Liska <mliska@suse.cz> + + * config/tilepro/gen-mul-tables.cc (ARRAY_SIZE): Add new macro. + +2022-05-23 Richard Biener <rguenther@suse.de> + + * tree-ssa-forwprop.cc (forward_propagate_into_cond): Remove. + (pass_forwprop::execute): Do not propagate into COND_EXPR conditions. + +2022-05-23 Richard Biener <rguenther@suse.de> + + * gimple-expr.cc (is_gimple_condexpr): Remove. + * gimple-expr.h (is_gimple_condexpr): Likewise. + * gimplify.cc (gimplify_expr): Remove is_gimple_condexpr usage. + * tree-if-conv.cc (set_bb_predicate): Likewie. + (add_to_predicate_list): Likewise. + (gen_phi_arg_condition): Likewise. + (predicate_scalar_phi): Likewise. + (predicate_statements): Likewise. + +2022-05-23 Richard Biener <rguenther@suse.de> + + * gimple-expr.cc (is_gimple_condexpr): Equate to is_gimple_val. + * gimplify.cc (gimplify_pure_cond_expr): Gimplify the condition + as is_gimple_val. + * gimple-fold.cc (valid_gimple_rhs_p): Simplify. + * tree-cfg.cc (verify_gimple_assign_ternary): Likewise. + * gimple-loop-interchange.cc (loop_cand::undo_simple_reduction): + Build the condition of the COND_EXPR separately. + * tree-ssa-loop-im.cc (move_computations_worker): Likewise. + * tree-vect-generic.cc (expand_vector_condition): Likewise. + * tree-vect-loop.cc (vect_create_epilog_for_reduction): + Likewise. + * vr-values.cc (simplify_using_ranges::simplify): Likewise. + * tree-vect-patterns.cc: Add comment indicating we are + building invalid COND_EXPRs and why. + * omp-expand.cc (expand_omp_simd): Gimplify the condition + to the COND_EXPR separately. + (expand_omp_atomic_cas): Note part that should be unreachable + now. + * tree-ssa-forwprop.cc (forward_propagate_into_cond): Adjust + condition for valid replacements. + * tree-if-conv.cc (predicate_bbs): Simulate previous + re-folding of the condition in folded COND_EXPRs which + is necessary because of unfolded GIMPLE_CONDs in the IL + as in for example gcc.dg/fold-bopcond-1.c. + * gimple-range-gori.cc (gori_compute::condexpr_adjust): + Handle that the comparison is now in the def stmt of + the select operand. Required by gcc.dg/pr104526.c. + +2022-05-23 Tobias Burnus <tobias@codesourcery.com> + + PR fortran/104949 + * langhooks-def.h (lhd_omp_array_size): New. + (LANG_HOOKS_OMP_ARRAY_SIZE): Define. + (LANG_HOOKS_DECLS): Add it. + * langhooks.cc (lhd_omp_array_size): New. + * langhooks.h (struct lang_hooks_for_decls): Add hook. + * omp-low.cc (scan_sharing_clauses, lower_omp_target): + Handle GOMP_MAP_FIRSTPRIVATE for array descriptors. + +2022-05-23 Roger Sayle <roger@nextmovesoftware.com> + + * config/i386/i386.cc (ix86_rtx_costs) <case AND>: Split from + XOR/IOR case. Account for two instructions for double-word + operations. In case of vector pandn, account for single + instruction. Likewise for integer andn with TARGET_BMI. + <case NOT>: Vector NOT requires more than 1 instruction (pxor). + <case NEG>: Double-word negation requires 3 instructions. + +2022-05-23 Tsukasa OI <research_trasio@irq.a4lg.com> + + * common/config/riscv/riscv-common.cc (riscv_supported_std_ext): + Fix "K" extension prefix to be placed before "J". + * config/riscv/arch-canonicalize: Likewise. + +2022-05-23 liuhongt <hongtao.liu@intel.com> + + * config/i386/x86-tune-costs.h (skylake_cost): Increase gpr + <-> mask cost from 5 to 6. + (icelake_cost): Ditto. + 2022-05-20 Wilco Dijkstra <wilco.dijkstra@arm.com> * config/aarch64/aarch64.md diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 9cf4f579366..7d93d3872a3 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220523 +20220524 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index fa3c231d5cc..6bceab88207 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,14 @@ +2022-05-23 David Malcolm <dmalcolm@redhat.com> + + * call-info.cc: Add "final" and "override" to all vfunc + implementations that were missing them, as appropriate. + * engine.cc: Likewise. + * region-model.cc: Likewise. + * sm-malloc.cc: Likewise. + * supergraph.h: Likewise. + * svalue.cc: Likewise. + * varargs.cc: Likewise. + 2022-05-20 David Malcolm <dmalcolm@redhat.com> * analyzer-pass.cc: Replace uses of "FINAL" and "OVERRIDE" with diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 1b9cb915b63..dce150a5700 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,12 @@ +2022-05-23 Tobias Burnus <tobias@codesourcery.com> + + PR fortran/104949 + * f95-lang.cc (LANG_HOOKS_OMP_ARRAY_SIZE): Redefine. + * trans-openmp.cc (gfc_omp_array_size): New. + (gfc_trans_omp_variable_list): Never turn has_device_addr + to firstprivate. + * trans.h (gfc_omp_array_size): New. + 2022-05-18 Tobias Burnus <tobias@codesourcery.com> * gfortran.h (enum gfc_omp_depend_op): Add OMP_DEPEND_INOUTSET. diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 495901d6507..0c424cda5ee 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,8 @@ +2022-05-23 David Malcolm <dmalcolm@redhat.com> + + * jit-recording.h: Add "final" and "override" to all vfunc + implementations that were missing them, as appropriate. + 2022-05-20 David Malcolm <dmalcolm@redhat.com> * jit-playback.h: Replace uses of "FINAL" and "OVERRIDE" with diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ef7e0b4dd32..c6b33deb517 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,37 @@ +2022-05-23 H.J. Lu <hjl.tools@gmail.com> + + PR target/104441 + * gcc.target/i386/pr104441-1a.c (load8bit_4x4_avx2): Initialize + src23. + +2022-05-23 David Malcolm <dmalcolm@redhat.com> + + * gcc.dg/plugin/analyzer_gil_plugin.c: Replace uses of "FINAL" and + "OVERRIDE" with "final" and "override". + +2022-05-23 Mayshao <mayshao-oc@zhaoxin.com> + + * gcc.target/i386/funcspec-56.inc: Test -arch=lujiauzi and -tune=lujiazui. + * g++.target/i386/mv32.C: Ditto. + +2022-05-23 Dimitar Dimitrov <dimitar@dinux.eu> + + * gcc.dg/mallign.c: Skip check if sizeof(word)==1. + +2022-05-23 Richard Biener <rguenther@suse.de> + + * gcc.dg/gimplefe-27.c: Adjust. + * gcc.dg/gimplefe-45.c: Likewise. + * gcc.dg/pr101145-2.c: Likewise. + * gcc.dg/pr98211.c: Likewise. + * gcc.dg/torture/pr89595.c: Likewise. + * gcc.dg/tree-ssa/divide-7.c: Likewise. + * gcc.dg/tree-ssa/ssa-lim-12.c: Likewise. + +2022-05-23 liuhongt <hongtao.liu@intel.com> + + * gcc.target/i386/spill_to_mask-1.c: New test. + 2022-05-21 Dimitar Dimitrov <dimitar@dinux.eu> * gcc.dg/tree-ssa/gen-vect-11.c: For PRU target, skip the diff --git a/include/ChangeLog b/include/ChangeLog index 2f0b5f607c9..2671ad88615 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2022-05-23 Nathan Sidwell <nathan@acm.org> + + * demangle.h (enum demangle_component_type): Add module components. + 2022-05-18 Thomas Schwinge <thomas@codesourcery.com> * cuda/cuda.h (enum CUjit_option): Add diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index f276d7879e9..3b61d22d6db 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,12 @@ +2022-05-23 Tobias Burnus <tobias@codesourcery.com> + + PR fortran/104949 + * target.c (gomp_map_vars_internal, copy_firstprivate_data): + Support attach for GOMP_MAP_FIRSTPRIVATE. + * testsuite/libgomp.fortran/target-firstprivate-1.f90: New test. + * testsuite/libgomp.fortran/target-firstprivate-2.f90: New test. + * testsuite/libgomp.fortran/target-firstprivate-3.f90: New test. + 2022-05-20 Marcel Vollweiler <marcel@codesourcery.com> * libgomp.map: Added omp_target_memcpy_async and diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 455dbbad288..7d07c0befa2 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,14 @@ +2022-05-23 Nathan Sidwell <nathan@acm.org> + + * cp-demangle.c (d_make_comp): Adjust. + (d_name, d_prefix): Adjust subst handling. Add module handling. + (d_maybe_module_name): New. + (d_unqualified_name): Add incoming module parm. Handle it. Adjust all callers. + (d_special_name): Add 'GI' support. + (d_count_template_scopes): Adjust. + (d_print_comp_inner): Print module. + * testsuite/demangle-expected: New test cases + 2022-05-18 Nathan Sidwell <nathan@acm.org> * cp-demangle.c (d_name): Add SUBSTABLE parameter, |