[PATCH 05/11] h8300: Update unexpected empty split condition

2021-06-01 Thread Kewen Lin via Gcc-patches
gcc/ChangeLog: * config/h8300/combiner.md (*andsi3_lshiftrt_n_sb): Fix empty split condition. --- gcc/config/h8300/combiner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/h8300/combiner.md b/gcc/config/h8300/combiner.md index 20e19da0419..e31bd50

[PATCH 08/11] mips: Update unexpected empty split condition

2021-06-01 Thread Kewen Lin via Gcc-patches
gcc/ChangeLog: * config/mips/mips.md (, bswapsi2, bswapdi2): Fix empty split condition. --- gcc/config/mips/mips.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index eef3cfd50a8..455b9b802f6 100644 ---

[PATCH 09/11] or1k: Update unexpected empty split condition

2021-06-01 Thread Kewen Lin via Gcc-patches
gcc/ChangeLog: * config/or1k/or1k.md (*movdi): Fix empty split condition. --- gcc/config/or1k/or1k.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/or1k/or1k.md b/gcc/config/or1k/or1k.md index eb94efba0e4..495b3e277ba 100644 --- a/gcc/config/or1k/or1k.md +

[PATCH 10/11] sh: Update unexpected empty split condition

2021-06-01 Thread Kewen Lin via Gcc-patches
gcc/ChangeLog: * config/sh/sh.md (doloop_end_split): Fix empty split condition. --- gcc/config/sh/sh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index e3af9ae21c1..93ee7c9a7de 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/c

[PATCH 11/11] sparc: Update unexpected empty split condition

2021-06-01 Thread Kewen Lin via Gcc-patches
gcc/ChangeLog: * config/sparc/sparc.md (*snedi_zero_vis3, *neg_snedi_zero_subxc, *plus_snedi_zero, *plus_plus_snedi_zero, *minus_snedi_zero, *minus_minus_snedi_zero): Fix empty split condition. --- gcc/config/sparc/sparc.md | 12 ++-- 1 file changed, 6 inse

[PATCH 04/11] cris: Update unexpected empty split condition

2021-06-01 Thread Kewen Lin via Gcc-patches
gcc/ChangeLog: * config/cris/cris.md (*addi_reload): Fix empty split condition. --- gcc/config/cris/cris.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/cris/cris.md b/gcc/config/cris/cris.md index 7de0ec63fcf..d5a3c703a83 100644 --- a/gcc/config/cris/cri

Re: [PATCH 10/11] sh: Update unexpected empty split condition

2021-06-01 Thread Oleg Endo
On Wed, 2021-06-02 at 00:05 -0500, Kewen Lin wrote: > gcc/ChangeLog: > > * config/sh/sh.md (doloop_end_split): Fix empty split condition. > --- > gcc/config/sh/sh.md | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md > index e

Re: [PATCH] IBM Z: Remove match_scratch workaround

2021-06-01 Thread Jeff Law via Gcc-patches
On 6/1/2021 8:21 PM, Ilya Leoshkevich via Gcc-patches wrote: Bootstrapped and regtested on s390x-redhat-linux. Ok for master? Since commit dd1ef00c45ba ("Fix bug in the define_subst handling that made match_scratch unusable for multi-alternative patterns.") the workaround for that bug in *

[no subject]

2021-06-01 Thread liuhongt via Gcc-patches
This is the updated patch.

[PATCH] Canonicalize (vec_duplicate (not A)) to (not (vec_duplicate A)).

2021-06-01 Thread liuhongt via Gcc-patches
For i386, it will enable below opt from notl%edi vpbroadcastd%edi, %xmm0 vpand %xmm1, %xmm0, %xmm0 to vpbroadcastd%edi, %xmm0 vpandn %xmm1, %xmm0, %xmm0 gcc/ChangeLog: PR target/100711 * simplify-rtx.c (simplify_unary_operat

[PATCH] Canonicalize (vec_duplicate (not A)) to (not (vec_duplicate A)).

2021-06-01 Thread liuhongt via Gcc-patches
For i386, it will enable below opt from notl%edi vpbroadcastd%edi, %xmm0 vpand %xmm1, %xmm0, %xmm0 to vpbroadcastd%edi, %xmm0 vpandn %xmm1, %xmm0, %xmm0 gcc/ChangeLog: PR target/100711 * simplify-rtx.c (simplify_unary_operat

Re:

2021-06-01 Thread Hongtao Liu via Gcc-patches
Please discard this one, sorry for disturbing. Obviously I'm new to git send-email. On Wed, Jun 2, 2021 at 1:40 PM liuhongt via Gcc-patches wrote: > > This is the updated patch. > > -- BR, Hongtao

Re: [PATCH 06/11] i386: Update unexpected empty split condition

2021-06-01 Thread Uros Bizjak via Gcc-patches
On Wed, Jun 2, 2021 at 7:05 AM Kewen Lin wrote: > > gcc/ChangeLog: > > * config/i386/i386.md (*load_tp_x32_zext, *add_tp_x32_zext, > *tls_dynamic_gnu2_combine_32): Fix empty split condition. > * config/i386/sse.md (*_pmovmskb_lt, > *_pmovmskb_zext_lt, *sse2_pmovmskb

Re: [PATCH] Improve match_simplify_replacement in phi-opt

2021-06-01 Thread Richard Biener via Gcc-patches
On Tue, Jun 1, 2021 at 9:07 PM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > This improves match_simplify_replace in phi-opt to handle the > case where there is one cheap preparation statement in the > middle basic block similar to xor_replacement and others. > This allows to remo

Re: [PATCH, rs6000] Fix alias set of link reg save MEM

2021-06-01 Thread Richard Biener via Gcc-patches
On Tue, Jun 1, 2021 at 10:37 PM Pat Haugen via Gcc-patches wrote: > > Make sure link reg save MEM has frame alias set, to match other link reg > save/restore code. > > Bootstrap/regtest on powerpc64/powerpc64le with no new regressions. Ok for > trunk? > > -Pat > > > 2021-06-01 Pat Haugen > > gc

Re: [PATCH 02/11] arc: Update unexpected empty split condition

2021-06-01 Thread Claudiu Zissulescu via Gcc-patches
Hi, Indeed, the split condition needs to be populated. However, I doubt that the pattern in question is used by the compiler. Do you have an example where it is exercised? Thanks, Claudiu From: Kewen Lin Sent: Wednesday, June 2, 2021 8:04 AM To: gcc-patches@gcc

Re: [PATCH] define auto_vec copy ctor and assignment (PR 90904)

2021-06-01 Thread Richard Biener via Gcc-patches
On Tue, Jun 1, 2021 at 9:56 PM Martin Sebor wrote: > > On 5/27/21 2:53 PM, Jason Merrill wrote: > > On 4/27/21 11:52 AM, Martin Sebor via Gcc-patches wrote: > >> On 4/27/21 8:04 AM, Richard Biener wrote: > >>> On Tue, Apr 27, 2021 at 3:59 PM Martin Sebor wrote: > > On 4/27/21 1:58 AM, R

Re: [PATCH] IBM Z: Remove match_scratch workaround

2021-06-01 Thread Andreas Krebbel via Gcc-patches
On 6/2/21 4:21 AM, Ilya Leoshkevich wrote: > Bootstrapped and regtested on s390x-redhat-linux. Ok for master? > > > > Since commit dd1ef00c45ba ("Fix bug in the define_subst handling that > made match_scratch unusable for multi-alternative patterns.") the > workaround for that bug in *ashrdi3_3

<    1   2