Re: [PATCH RFC] Propose Updating Basic Block Checking Limits in variable_tracking_main_1

2020-06-18 Thread Nicholas Krause via Gcc-patches
On 6/18/20 2:32 PM, Nicholas Krause wrote: From: Nicholas Krause Changelog:gcc/ *var-tracking.c(variable_tracking_main): Update numbers for both number of basic blocks per function and number of edges per function to basic blocks to more sane numbers, in order

Re: [PATCH 6/7] [OpenACC] Reference count self-checking (dynamic_refcount version)

2020-06-18 Thread Julian Brown
On Fri, 22 May 2020 15:21:44 -0700 Julian Brown wrote: > This is a new version of the reference count self-checking code, > adjusted to work with the new (old) dynamic_refcount counting scheme. > The key observation is that a target_mem_desc that was created from > a dynamic data lifetime should

Re: [PATCH] vect: Use vect_relevant_for_alignment_p consistently

2020-06-18 Thread Richard Sandiford
"Yangfei (Felix)" writes: > Hi, > > Noticed two places in tree-vect-data-refs.c where we can use function > vect_relevant_for_alignment_p. > Looks like these two are missed when we were introducing the function. > Bootstrapped and tested on aarch64-linux-gnu. OK to go? > > ChangeLog modi

[pushed] c++: More P2002 operator<=> refinements.

2020-06-18 Thread Jason Merrill via Gcc-patches
* Disallow && references. * Allow empty unions. * Improve diagnostics for a subobject comparison with non-comparison-category type. Tested x86_64-pc-linux-gnu, applying to trunk. gcc/cp/ChangeLog: * method.c (early_check_defaulted_comparison): Check for &&. (build_comparison_op

[PATCH 0/3, v2] rs6000: Add support for Matrix-Multiply Assist (MMA) built-in functions.

2020-06-18 Thread Peter Bergner via Gcc-patches
POWER ISA 3.1 added new Matrix-Multiply Assist (MMA) instructions. The following patch set adds support for generating these instructions through built-in functions which are enabled with the -mmma option. The patch1 and patch1+patch2+patch3 have been bootstrapped and regtested on powerpc64le-linu

[PATCH 1/3, v2] rs6000: Add base support and types for defining MMA built-ins.

2020-06-18 Thread Peter Bergner via Gcc-patches
Changes since v1: - Modified verbiage in mma.md per Will's suggestion. - Modified rs6000_split_multireg_move to correctly handle BE PXImode and POImode moves. This patch adds the new -mmma option as well as the initial MMA support, which includes the target specific __vector_pair and __vec

[PATCH 2/3, v2] rs6000: Add MMA built-in function definitions

2020-06-18 Thread Peter Bergner via Gcc-patches
Changes since v1: - Updated ChangeLog entry per Segher's suggestion. - Updated doc/extend.texi with correct built-in names for __builtin_vsx_xvcvspbf16 and __builtin_vsx_xvcvbf16sp. This patches adds the actual MMA built-ins. The MMA accumulators are INOUT operands for most MMA instructio

[PATCH 3/3, v2] rs6000: Add testsuite test cases for MMA built-ins.

2020-06-18 Thread Peter Bergner via Gcc-patches
Changes since v1: - No changes from v1. This patch adds the testsuite test cases for all of the MMA built-ins. This patch was tested with patch1 + patch2. Peter 2020-06-18 Peter Bergner gcc/testsuite/ * gcc.target/powerpc/mma-builtin-1.c: New test. * gcc.target/powerpc/mma

Re: [stage1][PATCH] Add gcc_assert that &global_options are not dirty modified.

2020-06-18 Thread Luis Machado via Gcc-patches
On 6/18/20 3:34 PM, Martin Liška wrote: On 6/18/20 7:18 PM, Luis Machado wrote: On 6/18/20 1:02 PM, Martin Liška wrote: On 6/18/20 5:47 PM, Luis Machado wrote: That's another one I noticed alongside the first one I reported. That's good that you managed to reproduce it. Can you please send m

[PATCH] PR fortran/95587 - ICE in gfc_target_encode_expr, at fortran/target-memory.c:362

2020-06-18 Thread Harald Anlauf
For EQUIVALENCE objects, constraints were only checked for ordinary variables, but not for CLASS variables. Extend the checks to CLASS variable attributes. Regtested on x86_64-pc-linux-gnu. OK for master? Thanks, Harald PR fortran/95587 - ICE in gfc_target_encode_expr, at fortran/target-memor

Re: [PATCH 00/28] rs6000: Auto-generate builtins from descriptions

2020-06-18 Thread Bill Schmidt via Gcc-patches
Thanks for the review, Will!  Responses below... On 6/18/20 11:08 AM, will schmidt wrote: On Wed, 2020-06-17 at 14:46 -0500, Bill Schmidt wrote: I posted a version of these patches back in stage 4 (February), but we agreed that holding off until stage 1 was a better idea. Since then I've made m

Re: [PATCH] avoid false positives due to compute_objsize (PR 95353)

2020-06-18 Thread Martin Sebor via Gcc-patches
On 6/17/20 4:37 PM, Jeff Law via Gcc-patches wrote: On Wed, 2020-06-17 at 10:04 +0200, Jakub Jelinek via Gcc-patches wrote: On Wed, Jun 17, 2020 at 09:13:25AM +0200, Richard Biener via Gcc-patches wrote: Not doing the transformation I suggest at all, or not doing it in cases when the member doe

[PATCH 2/6 ver 3] rs6000 Add vector insert builtin support

2020-06-18 Thread Carl Love via Gcc-patches
V3 changes Replace spaces with of tabs in ChangeLog Ditto in gcc/config/rs6000/vsx.md. Updated description for vec_insertl() builtin. Cleaned up vec_insert description. - v2 changes Fix change log entry for config/rs6000/alt

[PATCH 0/6 ver 3] ] Permute Class Operations

2020-06-18 Thread Carl Love via Gcc-patches
Version 3. Updated the patches based on the comments from Will. The changes were primarily formatting and cleaning up comments and the documentation. - Version 2. The patches in this series have been updated per the comments from Segher. I have put at the top of

[PATCH 1/6 ver 3] rs6000, Update support for vec_extract

2020-06-18 Thread Carl Love via Gcc-patches
V3 changes Redo ChangeLog for code move. Replace spaces with tabs in ChangeLog. Replaced intruction names using * with the actual list of names. For example vextdu*vrx with the explicit instruction names vextdubvrx, vextduhvrx, etc. - v2 changes conf

[PATCH 6/6 ver 3] rs6000 Add vector blend, permute builtin support

2020-06-18 Thread Carl Love via Gcc-patches
v3 fixes: Replace spaces with tabs in ChangeLog description. Fix implementation comments for define_expand "xxpermx" in file gcc/config/rs6000/alitvec.md. Fix minor typos in the comments for the changes in gcc/config/rs6000/rs6000-call.c. v2 changes: Updated

[PATCH 3/6 ver 3] rs6000, Add vector replace builtin support

2020-06-18 Thread Carl Love via Gcc-patches
V3 fixes: Fixed bad word breaks in ChangLog. Replace spaces with tabs in ChangeLog. v2 fixes: change log entries config/rs6000/vsx.md, config/rs6000/rs6000-builtin.def, config/rs6000/rs6000-call.c. gcc/config/rs6000/rs6000-call.c: fixed if check for 3rd

[PATCH 4/6 ver 3] rs6000, Add vector shift double builtin support

2020-06-18 Thread Carl Love via Gcc-patches
V3 Fixes Replace spaces with tabs in ChangeLog. Minor edits to ChangeLog entry. Minor edits to vec_sldb description in gcc/doc/extend.texi. v2 fixes: change logs redone gcc/config/rs6000/rs6000-call.c - added spaces

[PATCH 5/6 ver 3] rs6000, Add vector splat builtin support

2020-06-18 Thread Carl Love via Gcc-patches
v3 fixes: Minor cleanup in the ChangeLog description. - v2 fixes: change log fixes gcc/config/rs6000/altivec changed name of define_insn and define_expand for vxxspltiw... to xxspltiw... Fixed spaces in gen_xxsplti32dx_v4sf_inst (ope

Re: [PATCH 00/28] rs6000: Auto-generate builtins from descriptions

2020-06-18 Thread will schmidt via Gcc-patches
On Thu, 2020-06-18 at 17:01 -0500, Bill Schmidt wrote: > Thanks for the review, Will! Responses below... > > On 6/18/20 11:08 AM, will schmidt wrote: > > On Wed, 2020-06-17 at 14:46 -0500, Bill Schmidt wrote: > > > I posted a version of these patches back in stage 4 (February), > > > but we agree

Re: [PATCH 1/3, v2] rs6000: Add base support and types for defining MMA built-ins.

2020-06-18 Thread Segher Boessenkool
Hi! On Thu, Jun 18, 2020 at 03:44:04PM -0500, Peter Bergner wrote: > This patch adds the new -mmma option as well as the initial MMA support, > which includes the target specific __vector_pair and __vector_quad types, > the POImode and PXImode partial integer modes they are mapped to, and their >

<    1   2