Re: [PATCH v5 07/10] vect: Verify that GET_MODE_NUNITS is a multiple of 2.

2023-05-02 Thread Richard Sandiford via Gcc-patches
Michael Collison writes: > While working on autovectorizing for the RISCV port I encountered an issue > where can_duplicate_and_interleave_p assumes that GET_MODE_NUNITS is a > evenly divisible by two. The RISC-V target has vector modes (e.g. VNx1DImode), > where GET_MODE_NUNITS is equal to one.

[PATCH] tree-optimization/109672 - properly check emulated plus during vect

2023-05-02 Thread Richard Biener via Gcc-patches
The following refactors the check for emulated vector support for the cases of plus, minus and negate. In the PR we end up with a SImode plus, supported by the target but emulated and in this context fail to verify we are dealing with exactly word_mode. Bootstrapped and tested on

[PATCH] [i386] Fix testcases for emulated scatter

2023-05-02 Thread Richard Biener via Gcc-patches
The following adjusts testcases where the pr88531 fail with -m32 because we do not consider MMX size vectorization there and the pr89618 runs into load/store cost differences with -m32. Tested on x86_64-unknown-linux-gnu, pushed. * gcc.target/i386/pr88531-2a.c: Skip scanning for ia32.

[PATCH 09/10] arm testsuite: XFAIL or relax registers in some tests

2023-05-02 Thread Stamatis Markianos-Wright via Gcc-patches
On 02/05/2023 09:28, Christophe Lyon wrote: Hi Stam! On 4/28/23 13:30, Andrea Corallo via Gcc-patches wrote: From: Stam Markianos-Wright Hi all, This is a simple testsuite tidy-up patch, addressing to types of errors: * The vcmp vector-scalar tests failing due to the compiler's

Re: [aarch64] Code-gen for vector initialization involving constants

2023-05-02 Thread Richard Sandiford via Gcc-patches
Prathamesh Kulkarni writes: > On Tue, 25 Apr 2023 at 16:29, Richard Sandiford > wrote: >> >> Prathamesh Kulkarni writes: >> > Hi Richard, >> > While digging thru aarch64_expand_vector_init, I noticed it gives >> > priority to loading a constant first: >> > /* Initialise a vector which is

RE: [PATCH 01/22] arm: move builtin function codes into general numberspace

2023-05-02 Thread Kyrylo Tkachov via Gcc-patches
Hi Christophe, > -Original Message- > From: Christophe Lyon > Sent: Tuesday, April 18, 2023 2:46 PM > To: gcc-patches@gcc.gnu.org; Kyrylo Tkachov ; > Richard Earnshaw ; Richard Sandiford > > Cc: Christophe Lyon > Subject: [PATCH 01/22] arm: move builtin function codes into general >

RE: [PATCH 00/22] arm: New framework for MVE intrinsics

2023-05-02 Thread Kyrylo Tkachov via Gcc-patches
Hi Christophe, > -Original Message- > From: Christophe Lyon > Sent: Tuesday, April 18, 2023 2:46 PM > To: gcc-patches@gcc.gnu.org; Kyrylo Tkachov ; > Richard Earnshaw ; Richard Sandiford > > Cc: Christophe Lyon > Subject: [PATCH 00/22] arm: New framework for MVE intrinsics > > Hi, >

Re: [PATCH] libstdc++: Shut up -Wattribute-alias warning [PR109694]

2023-05-02 Thread Jonathan Wakely via Gcc-patches
On Tue, 2 May 2023 at 09:42, Jakub Jelinek wrote: > Hi! > > I've followed what other files do, using attribute alias with not really > matching function type (after all, it isn't really possible when it is a > constructor), but seems I've missed it warns: >

Re: [PATCH 02/10] arm: Fix vstrwq* backend + testsuite

2023-05-02 Thread Andrea Corallo via Gcc-patches
Christophe Lyon writes: > Hi Andrea, > > Minor comments below: > > On 4/28/23 13:29, Andrea Corallo via Gcc-patches wrote: >> Hi all, >> this patch fixes the vstrwq* MVE instrinsics failing to emit the >> correct sequence of instruction due to a missing predicates. Also the > nit: you have a

[PATCH] libstdc++: Regenerate baseline_symbols.txt files for Linux

2023-05-02 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch regenerates the ABI files (I've only changed the Linux files which were updated recently (last month)). Tested on x86_64-linux, ok for trunk and later 13.2? 2023-05-02 Jakub Jelinek * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update. *

[PATCH] libstdc++: Shut up -Wattribute-alias warning [PR109694]

2023-05-02 Thread Jakub Jelinek via Gcc-patches
Hi! I've followed what other files do, using attribute alias with not really matching function type (after all, it isn't really possible when it is a constructor), but seems I've missed it warns: ../../../../../libstdc++-v3/src/c++98/ios_init.cc:203:8: warning: ‘void

Re: [PATCH 09/10] arm testsuite: XFAIL or relax registers in some tests

2023-05-02 Thread Christophe Lyon via Gcc-patches
Hi Stam! On 4/28/23 13:30, Andrea Corallo via Gcc-patches wrote: From: Stam Markianos-Wright Hi all, This is a simple testsuite tidy-up patch, addressing to types of errors: * The vcmp vector-scalar tests failing due to the compiler's preference of vector-vector comparisons, over

Re: [PATCH 02/10] arm: Fix vstrwq* backend + testsuite

2023-05-02 Thread Christophe Lyon via Gcc-patches
Hi Andrea, Minor comments below: On 4/28/23 13:29, Andrea Corallo via Gcc-patches wrote: Hi all, this patch fixes the vstrwq* MVE instrinsics failing to emit the correct sequence of instruction due to a missing predicates. Also the nit: you have a typo, should be "predicate" immediate

[PATCH] i386: Fix up handling of debug insns in STV [PR109676]

2023-05-02 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs because STV replaces there (debug_insn 114 47 51 8 (var_location:TI D#3 (reg:TI 91 [ p ])) -1 (nil)) with (debug_insn 114 47 51 8 (var_location:TI D#3 (reg:V1TI 91 [ p ])) -1 (nil)) which is invalid because of the mode mismatch. STV has fix_debug_reg_uses

RE: [PATCH 5/5] match.pd: Use splits in makefile and make configurable.

2023-05-02 Thread Tamar Christina via Gcc-patches
> -Original Message- > From: Jeff Law > Sent: Sunday, April 30, 2023 8:46 PM > To: Tamar Christina ; gcc-patches@gcc.gnu.org > Cc: nd ; bonz...@gnu.org; nero...@gcc.gnu.org; > aol...@gcc.gnu.org; ralf.wildenh...@gmx.de > Subject: Re: [PATCH 5/5] match.pd: Use splits in makefile and make >

GCC 12.2.1 Status Report (2023-05-02), branch frozen for release

2023-05-02 Thread Richard Biener via Gcc-patches
The GCC 12 branch is now frozen in preparation for a GCC 12.3 release candidate and the release of GCC 12.3 next week. All changes require release manager approval. Quality Data Priority # Change from last report --- --- P1

<    1   2