[gcc r12-10555] cfgrtl: Fix MEM_EXPR update in duplicate_insn_chain [PR114924]

2024-06-12 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:33663c0701a723846527f9bf2ea01d67d7033c0b commit r12-10555-g33663c0701a723846527f9bf2ea01d67d7033c0b Author: Alex Coplan Date: Fri May 3 09:23:59 2024 +0100 cfgrtl: Fix MEM_EXPR update in duplicate_insn_chain [PR114924] The PR shows that when

[gcc r12-10553] middle-end/40635 - SSA update losing PHI arg loations

2024-06-12 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:844ff32c04a4e36bf69f3878634d9f50aec3a332 commit r12-10553-g844ff32c04a4e36bf69f3878634d9f50aec3a332 Author: Richard Biener Date: Mon Dec 5 16:03:21 2022 +0100 middle-end/40635 - SSA update losing PHI arg loations The following fixes an issue where SSA update

[gcc r12-10554] [PR111497][LRA]: Copy substituted equivalence

2024-06-12 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:959cef942508b818c7dcb8df0f3c7bf4968d406a commit r12-10554-g959cef942508b818c7dcb8df0f3c7bf4968d406a Author: Vladimir N. Makarov Date: Mon Sep 25 16:19:50 2023 -0400 [PR111497][LRA]: Copy substituted equivalence When we substitute the equivalence and it

[gcc r12-10552] rtl-optimization/54052 - RTL SSA PHI insertion compile-time hog

2024-06-12 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:1edc6a71feeb8460fbd4938b8926b5692fbab43f commit r12-10552-g1edc6a71feeb8460fbd4938b8926b5692fbab43f Author: Richard Biener Date: Mon Feb 19 11:10:50 2024 +0100 rtl-optimization/54052 - RTL SSA PHI insertion compile-time hog The following tries to address the

Re: Question about optimizing function pointers for direct function calls

2024-06-12 Thread Richard Biener via Gcc
On Wed, Jun 12, 2024 at 11:57 AM Hanke Zhang wrote: > > Richard Biener 于2024年5月24日周五 14:39写道: > > > > On Fri, May 24, 2024 at 5:53 AM Hanke Zhang via Gcc wrote: > > > > > > Hi, > > > I got a question about optimizing function pointers for direct > > > function calls in C. > > > > > > Consider

Re: How to represent a fallthrough condtion (with no else) in "Match and Simplify"?

2024-06-12 Thread Richard Biener via Gcc
On Wed, Jun 12, 2024 at 8:57 AM Hanke Zhang via Gcc wrote: > > Hi, > > I'm trying to study "Match and Simplify" recently, and I had this sample code: > > int main() { > int n = 1000; > int *a = malloc (sizeof(int) * n); > int *b = malloc (sizeof(int) * n); > int *c = malloc (sizeof(int) *

[gcc r12-10503] tree-optimization/111070 - fix ICE with recent ifcombine fix

2024-06-11 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:d73137ab352d654f50b703925bd92e021dce1cab commit r12-10503-gd73137ab352d654f50b703925bd92e021dce1cab Author: Richard Biener Date: Mon Aug 21 09:01:00 2023 +0200 tree-optimization/111070 - fix ICE with recent ifcombine fix We now got test coverage for non-SSA

Re: What is the purpose of these two fixincludes?

2024-06-11 Thread Richard Biener via Gcc
On Mon, Jun 10, 2024 at 4:08 PM David Edelsohn via Gcc wrote: > > On Thu, Jun 6, 2024 at 6:22 AM FX Coudert via Gcc wrote: > > > Hi, > > > > > I usually just install with install-no-fixedincludes, but really this > > > should probably be a configure option and default to on. > > > > It would be

[gcc r15-1163] tree-optimization/115388 - wrong DSE in irreductible regions

2024-06-10 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:818e760528d436ea8f6c28ef620e2bb82d456ea1 commit r15-1163-g818e760528d436ea8f6c28ef620e2bb82d456ea1 Author: Richard Biener Date: Mon Jun 10 11:29:43 2024 +0200 tree-optimization/115388 - wrong DSE in irreductible regions The following fixes a latent bug in

[gcc r15-1160] tree-optimization/115395 - wrong-code with SLP reduction in epilog

2024-06-10 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:4ed9c5df7efeb98e190573cca42a4fd40666c45f commit r15-1160-g4ed9c5df7efeb98e190573cca42a4fd40666c45f Author: Richard Biener Date: Mon Jun 10 10:12:52 2024 +0200 tree-optimization/115395 - wrong-code with SLP reduction in epilog When we continue a non-SLP

[gcc r15-1126] tree-optimization/115383 - EXTRACT_LAST_REDUCTION with multiple stmt copies

2024-06-10 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:c1429e3a8da0cdfe9391e1e9b2c7228d896a3a87 commit r15-1126-gc1429e3a8da0cdfe9391e1e9b2c7228d896a3a87 Author: Richard Biener Date: Fri Jun 7 12:15:31 2024 +0200 tree-optimization/115383 - EXTRACT_LAST_REDUCTION with multiple stmt copies The

[gcc r15-1097] Fix fold-left reduction vectorization with multiple stmt copies

2024-06-07 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:dd6f942c266533b2f72610f354bc9184f8276beb commit r15-1097-gdd6f942c266533b2f72610f354bc9184f8276beb Author: Richard Biener Date: Fri Jun 7 09:41:11 2024 +0200 Fix fold-left reduction vectorization with multiple stmt copies There's a typo when code generating

[gcc r15-1056] Allow single-lane SLP in-order reductions

2024-06-06 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:4653b682ef161c3c2fc7bf8462b8f9206a1349e6 commit r15-1056-g4653b682ef161c3c2fc7bf8462b8f9206a1349e6 Author: Richard Biener Date: Tue Mar 5 15:46:24 2024 +0100 Allow single-lane SLP in-order reductions The single-lane case isn't different from non-SLP, no

[gcc r15-1054] Allow single-lane COND_REDUCTION vectorization

2024-06-06 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:202a9c8fe7db9dd94e5a77f42e54ef3d966f88e8 commit r15-1054-g202a9c8fe7db9dd94e5a77f42e54ef3d966f88e8 Author: Richard Biener Date: Fri Mar 1 14:39:08 2024 +0100 Allow single-lane COND_REDUCTION vectorization The following enables single-lane COND_REDUCTION

[gcc r15-1055] Add double reduction support for SLP vectorization

2024-06-06 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:2ee41ef76a99ef5a8b62b351e2c01dad93f51b18 commit r15-1055-g2ee41ef76a99ef5a8b62b351e2c01dad93f51b18 Author: Richard Biener Date: Tue Mar 5 15:28:58 2024 +0100 Add double reduction support for SLP vectorization The following makes double reduction

[gcc r15-1053] Relax COND_EXPR reduction vectorization SLP restriction

2024-06-06 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:28edeb1409a7b839407ec06031899b933390bff3 commit r15-1053-g28edeb1409a7b839407ec06031899b933390bff3 Author: Richard Biener Date: Fri Feb 23 16:16:38 2024 +0100 Relax COND_EXPR reduction vectorization SLP restriction Allow one-lane SLP but for the case where

Re: How to avoid some built-in expansions in gcc?

2024-06-05 Thread Richard Biener via Gcc
> Am 05.06.2024 um 16:08 schrieb Michael Matz : > > Hey, > >> On Wed, 5 Jun 2024, David Brown wrote: >> >> The ideal here would be to have some way to tell gcc that a given >> function has the semantics of a different function. For example, a >> programmer might have several

Re: How to avoid some built-in expansions in gcc?

2024-06-04 Thread Richard Biener via Gcc
> Am 04.06.2024 um 16:56 schrieb Michael Matz : > > Hello, > > On Sat, 1 Jun 2024, Richard Biener via Gcc wrote: > >>>>> You have a pointer how to define a target optab? I looked into optabs >>>>> code but found no appropriate hook. F

[gcc r15-1006] Do single-lane SLP discovery for reductions

2024-06-04 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:d93353e6423ecaaae9fa47d0935caafd9abfe4de commit r15-1006-gd93353e6423ecaaae9fa47d0935caafd9abfe4de Author: Richard Biener Date: Fri Feb 23 11:45:50 2024 +0100 Do single-lane SLP discovery for reductions The following performs single-lane SLP discovery for

[gcc r15-1005] Avoid inserting after a GIMPLE_COND with SLP and early break

2024-06-04 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:0592000aeed84d47040946a125154b3c46d7c84f commit r15-1005-g0592000aeed84d47040946a125154b3c46d7c84f Author: Richard Biener Date: Mon May 27 14:40:27 2024 +0200 Avoid inserting after a GIMPLE_COND with SLP and early break When vectorizing an early break loop

[gcc r12-10493] c++: Add testcase for this PR [PR97990]

2024-06-04 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:c7627054b9ee2ded8a22340a6a09bf9786afcafa commit r12-10493-gc7627054b9ee2ded8a22340a6a09bf9786afcafa Author: Andrew Pinski Date: Fri Feb 16 10:55:43 2024 -0800 c++: Add testcase for this PR [PR97990] This testcase was fixed by r14-5934-gf26d68d5d128c8 but we

[gcc r12-10492] middle-end/112732 - stray TYPE_ALIAS_SET in type variant

2024-06-04 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:b46486ef0316240eb3c173bda062b52333507e03 commit r12-10492-gb46486ef0316240eb3c173bda062b52333507e03 Author: Richard Biener Date: Tue Nov 28 12:36:21 2023 +0100 middle-end/112732 - stray TYPE_ALIAS_SET in type variant The following fixes a stray

[gcc r12-10491] tree-optimization/110381 - preserve SLP permutation with in-order reductions

2024-06-04 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:8f6d889a8e609710ecfd555778fbff602b2c7d74 commit r12-10491-g8f6d889a8e609710ecfd555778fbff602b2c7d74 Author: Richard Biener Date: Mon Jun 26 12:51:37 2023 +0200 tree-optimization/110381 - preserve SLP permutation with in-order reductions The following fixes a

[gcc r12-10490] tree-optimization/113910 - huge compile time during PTA

2024-06-04 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:db0f236aa1c30f703ff564960bd9f3dbd747ea7b commit r12-10490-gdb0f236aa1c30f703ff564960bd9f3dbd747ea7b Author: Richard Biener Date: Wed Feb 14 12:33:13 2024 +0100 tree-optimization/113910 - huge compile time during PTA For the testcase in PR113910 we spend a

Re: Partial vector

2024-06-04 Thread Richard Biener via Gcc
On Tue, Jun 4, 2024 at 8:52 AM Stefan Schulze Frielinghaus via Gcc wrote: > > Hi all, > > Is there some sort of guarantee that the unused part of a partial vector has > all bits set to zero? > > The question came up while implementing an insn for mode V2SF on s390 > where only half of the hard

[gcc r15-991] testsuite/115304 - properly guard gcc.dg/vect/slp-gap-1.c

2024-06-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:ed8ba88074f3663f810ef2f07d79c3fcde5d9697 commit r15-991-ged8ba88074f3663f810ef2f07d79c3fcde5d9697 Author: Richard Biener Date: Mon Jun 3 14:43:42 2024 +0200 testsuite/115304 - properly guard gcc.dg/vect/slp-gap-1.c Testing on sparc shows we need vect_unpack

[gcc r15-986] Adjust vector dump scans

2024-06-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:5b52517e22540874bac07e2499e9650a9e8278a4 commit r15-986-g5b52517e22540874bac07e2499e9650a9e8278a4 Author: Richard Biener Date: Fri May 31 15:38:29 2024 +0200 Adjust vector dump scans The following adjusts dump scanning for something followed by

[gcc r15-985] Avoid ICE with pointer reduction

2024-06-03 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:a1810364cd0c36d6408a4c386bdc504a021d68c7 commit r15-985-ga1810364cd0c36d6408a4c386bdc504a021d68c7 Author: Richard Biener Date: Fri May 31 15:17:10 2024 +0200 Avoid ICE with pointer reduction There's another case where we can refer to neutral_op before

Re: How to avoid some built-in expansions in gcc?

2024-06-01 Thread Richard Biener via Gcc
> Am 01.06.2024 um 17:41 schrieb Georg-Johann Lay : > >  > > Am 31.05.24 um 22:12 schrieb Richard Biener: Am 31.05.2024 um 20:56 schrieb Georg-Johann Lay : >>> >>>  >>> >>> Am 31.05.24 um 19:32 schrieb Richard Biener: >> Am 31.05.2024 um 17:25 schrieb Paul Koning via Gcc : >

Re: How to avoid some built-in expansions in gcc?

2024-05-31 Thread Richard Biener via Gcc
> Am 31.05.2024 um 20:56 schrieb Georg-Johann Lay : > >  > > Am 31.05.24 um 19:32 schrieb Richard Biener: Am 31.05.2024 um 17:25 schrieb Paul Koning via Gcc : >>> >>>  >>> On May 31, 2024, at 11:06 AM, Georg-Johann Lay wrote: Am 31.05.24 um 17:00 schrieb

Re: How to avoid some built-in expansions in gcc?

2024-05-31 Thread Richard Biener via Gcc
> Am 31.05.2024 um 17:25 schrieb Paul Koning via Gcc : > >  > >> On May 31, 2024, at 11:06 AM, Georg-Johann Lay wrote: >> >> >> >> Am 31.05.24 um 17:00 schrieb Paul Koning: > On May 31, 2024, at 9:52 AM, Georg-Johann Lay wrote: > > What's the recommended way to stop

[gcc r15-941] tree-optimization/115278 - fix DSE in if-conversion wrt volatiles

2024-05-31 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:65dbe0ab7cdaf2aa84b09a74e594f0faacf1945c commit r15-941-g65dbe0ab7cdaf2aa84b09a74e594f0faacf1945c Author: Richard Biener Date: Fri May 31 10:14:25 2024 +0200 tree-optimization/115278 - fix DSE in if-conversion wrt volatiles The following adds the missing

Re: Question about generating vpmovzxbd instruction without using the interfaces in immintrin.h

2024-05-31 Thread Richard Biener via Gcc
On Fri, May 31, 2024 at 4:59 AM Hanke Zhang via Gcc wrote: > > Hi, > I've recently been trying to hand-write code to trigger automatic > vectorization optimizations in GCC on Intel x86 machines (without > using the interfaces in immintrin.h), but I'm running into a problem > where I can't seem to

[gcc r15-896] tree-optimization/115252 - enhance peeling for gaps avoidance

2024-05-29 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:f46eaad445e680034df51bd0dec4e6c7b1f372a4 commit r15-896-gf46eaad445e680034df51bd0dec4e6c7b1f372a4 Author: Richard Biener Date: Mon May 27 16:04:35 2024 +0200 tree-optimization/115252 - enhance peeling for gaps avoidance Code generation for contiguous load

[gcc r15-895] tree-optimization/114435 - pcom left around copies confusing SLP

2024-05-29 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:1065a7db6f2a69770a85b4d53b9123b090dd1771 commit r15-895-g1065a7db6f2a69770a85b4d53b9123b090dd1771 Author: Richard Biener Date: Wed May 29 10:41:51 2024 +0200 tree-optimization/114435 - pcom left around copies confusing SLP The following arranges for the

Re: libstdc++ and missing RUNPATH

2024-05-29 Thread Richard Biener via Gcc
On Wed, May 29, 2024 at 10:14 AM Sad Clouds wrote: > > On Wed, 29 May 2024 09:05:50 +0200 > Richard Biener wrote: > > > If you build an executable to pick up libstdc++ via a RUNPATH that apps > > RUNPATH > > should apply to libgcc as well. If you use LD_LIBRARY_PATH the story > > is the same.

Re: libstdc++ and missing RUNPATH

2024-05-29 Thread Richard Biener via Gcc
On Wed, May 29, 2024 at 8:47 AM Sad Clouds via Gcc wrote: > > Hello, I'm noticing some issues with libstdc++ after building GCC from > sources and installing into /opt/gcc-14.1.0. Specifically: > > $ objdump -x /opt/gcc-14.1.0/lib/libstdc++.so.6 | grep RUNPATH > > $ ldd

[gcc r14-10256] tree-optimization/115197 - fix ICE w/ constant in LC PHI and loop distribution

2024-05-29 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:2a1fdd5fd0f6bc02d25da192c8fa6487d93d2d50 commit r14-10256-g2a1fdd5fd0f6bc02d25da192c8fa6487d93d2d50 Author: Richard Biener Date: Thu May 23 14:36:39 2024 +0200 tree-optimization/115197 - fix ICE w/ constant in LC PHI and loop distribution Forgot a check for

[gcc r14-10257] tree-optimization/115149 - VOP live and missing PHIs

2024-05-29 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:90a447677a2abb934b683a012b477e6c52088e35 commit r14-10257-g90a447677a2abb934b683a012b477e6c52088e35 Author: Richard Biener Date: Tue May 21 09:48:04 2024 +0200 tree-optimization/115149 - VOP live and missing PHIs The following fixes a bug in vop-live

[gcc r14-10255] tree-optimization/114921 - _Float16 -> __bf16 isn't noop fixup

2024-05-29 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:9e971c671ded9647beb0a1c5b9430b4e64060862 commit r14-10255-g9e971c671ded9647beb0a1c5b9430b4e64060862 Author: Richard Biener Date: Mon May 6 12:03:09 2024 +0200 tree-optimization/114921 - _Float16 -> __bf16 isn't noop fixup The following further strengthens

[gcc r15-862] target/115254 - fix gcc.dg/vect/vect-gather-4.c dump scanning

2024-05-28 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:d8d70b783765361a8acef70fc9b54db526cd6ff5 commit r15-862-gd8d70b783765361a8acef70fc9b54db526cd6ff5 Author: Richard Biener Date: Tue May 28 15:55:59 2024 +0200 target/115254 - fix gcc.dg/vect/vect-gather-4.c dump scanning The dump scanning is supposed to check

[gcc r15-861] tree-optimization/115236 - more points-to *ANYTHING = x fixes

2024-05-28 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:c08b0d3f7b3539b26031de31d88dea6b94474577 commit r15-861-gc08b0d3f7b3539b26031de31d88dea6b94474577 Author: Richard Biener Date: Mon May 27 10:41:02 2024 +0200 tree-optimization/115236 - more points-to *ANYTHING = x fixes The stored-to ANYTHING handling has

[gcc r15-860] Avoid pessimistic constraints for asm memory constraints

2024-05-28 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:19cc6120087619b496732b249b48b1fbe27e commit r15-860-g19cc6120087619b496732b249b48b1fbe27e Author: Richard Biener Date: Tue May 28 13:29:30 2024 +0200 Avoid pessimistic constraints for asm memory constraints We process asm memory input/outputs with

[gcc r15-859] tree-optimization/115254 - don't account single-lane SLP against discovery limit

2024-05-28 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:eaaa4b88038d4d6eda1b20ab662f1568fd9be31f commit r15-859-geaaa4b88038d4d6eda1b20ab662f1568fd9be31f Author: Richard Biener Date: Fri Sep 29 15:12:54 2023 +0200 tree-optimization/115254 - don't account single-lane SLP against discovery limit The following

[gcc r15-858] Fix SLP reduction neutral op value for pointer reductions

2024-05-28 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:65aa46ffc3b06bba3d49b9b8315610c706a1215b commit r15-858-g65aa46ffc3b06bba3d49b9b8315610c706a1215b Author: Richard Biener Date: Mon May 27 11:38:11 2024 +0200 Fix SLP reduction neutral op value for pointer reductions When the neutral op is the initial value

Re: Question about the SLP vectorizer failed to perform automatic vectorization in one case

2024-05-27 Thread Richard Biener via Gcc
On Sat, May 25, 2024 at 3:08 PM Hanke Zhang via Gcc wrote: > > Hi, > I'm trying to studing the automatic vectorization optimization in GCC, > but I found one case that SLP vectorizer failed to do such things. > > Here is the sample code: (also a simplification version of a function > from the

[gcc r15-851] Fix points-to SCC collapsing bug

2024-05-27 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:07cdba6294756af350198fbb01ea8c8efeac54dd commit r15-851-g07cdba6294756af350198fbb01ea8c8efeac54dd Author: Richard Biener Date: Mon May 27 13:50:14 2024 +0200 Fix points-to SCC collapsing bug When points-to analysis finds SCCs it marks the wrong node as being

[gcc r15-850] tree-optimization/115220 - fix store sinking virtual operand constraints

2024-05-27 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:f9fbb47987efc8b5261e4cc36613c928a8693493 commit r15-850-gf9fbb47987efc8b5261e4cc36613c928a8693493 Author: Richard Biener Date: Mon May 27 09:40:19 2024 +0200 tree-optimization/115220 - fix store sinking virtual operand constraints The following makes sure

[gcc r14-10247] tree-optimization/115232 - demangle failure during -Waccess

2024-05-27 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:4790076933ef9337553c3fbbc52a93cce78c584f commit r14-10247-g4790076933ef9337553c3fbbc52a93cce78c584f Author: Richard Biener Date: Mon May 27 09:13:11 2024 +0200 tree-optimization/115232 - demangle failure during -Waccess For the following testcase we fail to

[gcc r15-848] tree-optimization/115232 - demangle failure during -Waccess

2024-05-27 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:311d7f5c17b8969c7ed8e4f23178d6ec4752e33f commit r15-848-g311d7f5c17b8969c7ed8e4f23178d6ec4752e33f Author: Richard Biener Date: Mon May 27 09:13:11 2024 +0200 tree-optimization/115232 - demangle failure during -Waccess For the following testcase we fail to

[gcc r15-816] Fix gcc.dg/vect/vect-gather-4.c for cascadelake

2024-05-24 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:85e2ce10f76aee93e43aab6558cf8e39cec911e4 commit r15-816-g85e2ce10f76aee93e43aab6558cf8e39cec911e4 Author: Richard Biener Date: Fri May 24 13:15:38 2024 +0200 Fix gcc.dg/vect/vect-gather-4.c for cascadelake There's not really a good way to test what the

[gcc r15-815] tree-optimization/115144 - improve sinking destination choice

2024-05-24 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:5b9b3bae33cae7fca2e3c3e3028be6b8bee9b698 commit r15-815-g5b9b3bae33cae7fca2e3c3e3028be6b8bee9b698 Author: Richard Biener Date: Wed May 22 09:16:51 2024 +0200 tree-optimization/115144 - improve sinking destination choice When sinking code closer to its uses

Re: Question about optimizing function pointers for direct function calls

2024-05-24 Thread Richard Biener via Gcc
On Fri, May 24, 2024 at 5:53 AM Hanke Zhang via Gcc wrote: > > Hi, > I got a question about optimizing function pointers for direct > function calls in C. > > Consider the following scenario: one of the fields of a structure is a > function pointer, and all its assignments come from the same

[gcc r15-812] Avoid splitting store dataref groups during SLP discovery

2024-05-23 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:c71886f2ca2e46ce1449c7064d6f1b447d02fcba commit r15-812-gc71886f2ca2e46ce1449c7064d6f1b447d02fcba Author: Richard Biener Date: Fri Sep 29 13:13:16 2023 +0200 Avoid splitting store dataref groups during SLP discovery The following avoids splitting store

[gcc r15-793] tree-optimization/115197 - fix ICE w/ constant in LC PHI and loop distribution

2024-05-23 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:2b2476d4d18c92b8aba3567ebccd2100c2f7c258 commit r15-793-g2b2476d4d18c92b8aba3567ebccd2100c2f7c258 Author: Richard Biener Date: Thu May 23 14:36:39 2024 +0200 tree-optimization/115197 - fix ICE w/ constant in LC PHI and loop distribution Forgot a check for

[gcc r15-792] tree-optimization/115199 - fix PTA constraint processing for LHS

2024-05-23 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:f0a02467bbc35a478eb82f5a8a7e8870827b51fc commit r15-792-gf0a02467bbc35a478eb82f5a8a7e8870827b51fc Author: Richard Biener Date: Thu May 23 13:33:15 2024 +0200 tree-optimization/115199 - fix PTA constraint processing for LHS When processing a = X constraint

[gcc r15-791] tree-optimization/115138 - ptr-vs-ptr and FUNCTION_DECLs

2024-05-23 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:61f5b3c59ed20438d7d9918d7a83d29a21097d4e commit r15-791-g61f5b3c59ed20438d7d9918d7a83d29a21097d4e Author: Richard Biener Date: Thu May 23 11:26:14 2024 +0200 tree-optimization/115138 - ptr-vs-ptr and FUNCTION_DECLs I failed to realize we do not represent

[gcc r15-773] Fix mixed input kind permute optimization

2024-05-22 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:3507ab1b018a68500e49fa9f1de7caa0f1b53dda commit r15-773-g3507ab1b018a68500e49fa9f1de7caa0f1b53dda Author: Richard Biener Date: Tue May 21 19:15:33 2024 +0200 Fix mixed input kind permute optimization When change_vec_perm_layout runs into a permute combining

[gcc r15-772] Avoid SLP_REPRESENTATIVE access for VEC_PERM in SLP scheduling

2024-05-22 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:31e9bae0ea5e5413abfa3ca9050e66cc6760553e commit r15-772-g31e9bae0ea5e5413abfa3ca9050e66cc6760553e Author: Richard Biener Date: Fri May 17 15:23:38 2024 +0200 Avoid SLP_REPRESENTATIVE access for VEC_PERM in SLP scheduling SLP permute nodes can end up without

[gcc r15-771] Avoid requiring VEC_PERM represenatives

2024-05-22 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:0c7792f707368d0225a9a457895b847ef660c270 commit r15-771-g0c7792f707368d0225a9a457895b847ef660c270 Author: Richard Biener Date: Fri May 17 14:26:38 2024 +0200 Avoid requiring VEC_PERM represenatives The following plugs one hole where we require a VEC_PERM

[gcc r15-768] web/115183 - fix typo in C++ docs

2024-05-22 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:424f8a01df9b311250e416759ad61c00bba4af48 commit r15-768-g424f8a01df9b311250e416759ad61c00bba4af48 Author: Richard Biener Date: Wed May 22 10:19:08 2024 +0200 web/115183 - fix typo in C++ docs The following fixes a reported typo. *

gcc-wwwdocs branch master updated. 9d10f6fccee3a68102173f28cf312ed266b7d95d

2024-05-22 Thread Richard Biener via Gcc-cvs-wwwdocs
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 9d10f6fccee3a68102173f28cf312ed266b7d95d (commit) from

Re: [committed] PATCH for Re: Stepping down as maintainer for ARC and Epiphany

2024-05-21 Thread Richard Biener via Gcc
On Tue, May 21, 2024 at 6:21 PM Jeff Law wrote: > > > > On 5/21/24 8:02 AM, Paul Koning wrote: > > > > > >> On May 21, 2024, at 9:57 AM, Jeff Law wrote: > >> > >> > >> > >> On 5/21/24 12:05 AM, Richard Biener via G

[gcc r15-753] tree-optimization/115137 - more ptr-vs-ptr compare fixes

2024-05-21 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:85f7828679edc3ae7488594145756cd53787650e commit r15-753-g85f7828679edc3ae7488594145756cd53787650e Author: Richard Biener Date: Tue May 21 10:12:40 2024 +0200 tree-optimization/115137 - more ptr-vs-ptr compare fixes The following fixes the omission of

[gcc r15-750] tree-optimization/115149 - VOP live and missing PHIs

2024-05-21 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:ec9b8bafe20755d13ab9a1b834b5da79ae972c0e commit r15-750-gec9b8bafe20755d13ab9a1b834b5da79ae972c0e Author: Richard Biener Date: Tue May 21 09:48:04 2024 +0200 tree-optimization/115149 - VOP live and missing PHIs The following fixes a bug in vop-live

Re: [committed] PATCH for Re: Stepping down as maintainer for ARC and Epiphany

2024-05-21 Thread Richard Biener via Gcc
On Mon, May 20, 2024 at 4:45 PM Gerald Pfeifer wrote: > > On Wed, 5 Jul 2023, Joern Rennecke wrote: > > I haven't worked with these targets in years and can't really do > > sensible maintenance or reviews of patches for them. I am currently > > working on optimizations for other ports like

Re: [RFC] Merge strathegy for all-SLP vectorizer

2024-05-17 Thread Richard Biener via Gcc
On Fri, 17 May 2024, Richard Sandiford wrote: > Richard Biener via Gcc writes: > > Hi, > > > > I'd like to discuss how to go forward with getting the vectorizer to > > all-SLP for this stage1. While there is a personal branch with my > > ongoing work (users

gcc-wwwdocs branch master updated. 48be8366fcbf9246b2b5b1625febb5e9202842b8

2024-05-17 Thread Richard Biener via Gcc-cvs-wwwdocs
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 48be8366fcbf9246b2b5b1625febb5e9202842b8 (commit) from

[gcc r12-10456] tree-optimization/112281 - loop distribution and zero dependence distances

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:5db4b5449df8f59a61438f8db1836dbc9b53f02e commit r12-10456-g5db4b5449df8f59a61438f8db1836dbc9b53f02e Author: Richard Biener Date: Mon Nov 20 13:39:52 2023 +0100 tree-optimization/112281 - loop distribution and zero dependence distances The following fixes an

[gcc r12-10458] middle-end/110176 - wrong zext (bool) <= (int) 4294967295u folding

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:65e5547e5468ce404d0f9ebd646a1d63abf3a772 commit r12-10458-g65e5547e5468ce404d0f9ebd646a1d63abf3a772 Author: Richard Biener Date: Wed Jan 31 14:40:24 2024 +0100 middle-end/110176 - wrong zext (bool) <= (int) 4294967295u folding The following fixes a wrong

[gcc r12-10454] tree-optimization/112505 - bit-precision induction vectorization

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:4a71557fbebe3fb4031d1c2adc4f89c89a8c6c62 commit r12-10454-g4a71557fbebe3fb4031d1c2adc4f89c89a8c6c62 Author: Richard Biener Date: Thu Jan 11 14:00:33 2024 +0100 tree-optimization/112505 - bit-precision induction vectorization Vectorization of bit-precision

[gcc r12-10457] tree-optimization/111039 - abnormals and bit test merging

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:47e6bff94d980e2fcb6bcb42df04d3b73bd67da7 commit r12-10457-g47e6bff94d980e2fcb6bcb42df04d3b73bd67da7 Author: Richard Biener Date: Thu Aug 17 13:10:14 2023 +0200 tree-optimization/111039 - abnormals and bit test merging The following guards the bit test

[gcc r12-10455] tree-optimization/112495 - alias versioning and address spaces

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:dbb5273996259b04350a1e3d35e633c51fc9310f commit r12-10455-gdbb5273996259b04350a1e3d35e633c51fc9310f Author: Richard Biener Date: Mon Nov 13 10:20:37 2023 +0100 tree-optimization/112495 - alias versioning and address spaces We are not correctly handling

[gcc r12-10453] debug/112718 - reset all type units with -ffat-lto-objects

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:1f41e8eef3da1d76c18fe1a93846054c53dc5a47 commit r12-10453-g1f41e8eef3da1d76c18fe1a93846054c53dc5a47 Author: Richard Biener Date: Mon Jan 22 15:42:59 2024 +0100 debug/112718 - reset all type units with -ffat-lto-objects When mixing -flto, -ffat-lto-objects

[gcc r12-10452] tree-optimization/112793 - SLP of constant/external code-generated twice

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:9bad5cf9ae446b367f666176537eb76e94cc4448 commit r12-10452-g9bad5cf9ae446b367f666176537eb76e94cc4448 Author: Richard Biener Date: Wed Dec 13 14:23:31 2023 +0100 tree-optimization/112793 - SLP of constant/external code-generated twice The following makes the

[gcc r14-10214] tree-optimization/114998 - use-after-free with loop distribution

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:1e9ae50d4d160f6d557fc4cbbe95c4a36897c09f commit r14-10214-g1e9ae50d4d160f6d557fc4cbbe95c4a36897c09f Author: Richard Biener Date: Fri May 10 14:19:49 2024 +0200 tree-optimization/114998 - use-after-free with loop distribution When loop distribution releases a

[RFC] Merge strathegy for all-SLP vectorizer

2024-05-17 Thread Richard Biener via Gcc
Hi, I'd like to discuss how to go forward with getting the vectorizer to all-SLP for this stage1. While there is a personal branch with my ongoing work (users/rguenth/vect-force-slp) branches haven't proved themselves working well for collaboration. The branch isn't ready to be merged in full

[gcc r15-626] middle-end/115110 - Fix view_converted_memref_p

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:a5b3721c06646bf5b9b50a22964e8e2bd4d03f5f commit r15-626-ga5b3721c06646bf5b9b50a22964e8e2bd4d03f5f Author: Richard Biener Date: Fri May 17 11:02:29 2024 +0200 middle-end/115110 - Fix view_converted_memref_p view_converted_memref_p was checking the reference

[gcc r15-622] Add missing check for const_pool in the escaped solutions

2024-05-17 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:b420e0b920613c42f63252aa2478a8315dc37a13 commit r15-622-gb420e0b920613c42f63252aa2478a8315dc37a13 Author: Richard Biener Date: Fri May 17 09:31:52 2024 +0200 Add missing check for const_pool in the escaped solutions The ptr-vs-ptr compare folding using

[gcc r15-580] tree-optimization/13962 - handle ptr-ptr compares in ptrs_compare_unequal

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:f3e5f4c58591f5dacdd14a65ec47bbe310df02a0 commit r15-580-gf3e5f4c58591f5dacdd14a65ec47bbe310df02a0 Author: Richard Biener Date: Mon Mar 11 11:17:32 2024 +0100 tree-optimization/13962 - handle ptr-ptr compares in ptrs_compare_unequal Now that we handle pt.null

[gcc r15-579] wrong code with points-to and volatile

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:a9251ab3c91c8c559d0306838575a666ae62dff4 commit r15-579-ga9251ab3c91c8c559d0306838575a666ae62dff4 Author: Richard Biener Date: Thu May 16 12:35:28 2024 +0200 wrong code with points-to and volatile The following fixes points-to analysis which ignores the fact

[gcc r12-10450] tree-optimization/114027 - conditional reduction chain

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:6661a7c098a46eff4afc98b55c89e3a71d63d674 commit r12-10450-g6661a7c098a46eff4afc98b55c89e3a71d63d674 Author: Richard Biener Date: Thu Feb 22 10:50:12 2024 +0100 tree-optimization/114027 - conditional reduction chain When we classify a conditional reduction

[gcc r12-10451] tree-optimization/114027 - fix testcase

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:2d650c041d37a3df2bec46a67e42f9976d7fd2bf commit r12-10451-g2d650c041d37a3df2bec46a67e42f9976d7fd2bf Author: Richard Biener Date: Tue Mar 26 09:46:06 2024 +0100 tree-optimization/114027 - fix testcase The following fixes out-of-bounds read in the testcase.

[gcc r12-10448] tree-optimization/114231 - use patterns for BB SLP discovery root stmts

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:a7b1d814da0aa2e7331c56180264a8b786012971 commit r12-10448-ga7b1d814da0aa2e7331c56180264a8b786012971 Author: Richard Biener Date: Tue Mar 5 10:55:56 2024 +0100 tree-optimization/114231 - use patterns for BB SLP discovery root stmts The following makes sure to

[gcc r12-10449] tree-optimization/114375 - disallow SLP discovery of permuted mask loads

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:c1b21855e131bb818aedc953f403812b494917fc commit r12-10449-gc1b21855e131bb818aedc953f403812b494917fc Author: Richard Biener Date: Mon Mar 18 12:39:03 2024 +0100 tree-optimization/114375 - disallow SLP discovery of permuted mask loads We cannot currently

[gcc r12-10447] middle-end/114734 - wrong code with expand_call_mem_ref

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:46b2e98983ebc62440c43217f2b3bbe72f8b0191 commit r12-10447-g46b2e98983ebc62440c43217f2b3bbe72f8b0191 Author: Richard Biener Date: Fri Apr 26 15:47:13 2024 +0200 middle-end/114734 - wrong code with expand_call_mem_ref When expand_call_mem_ref looks at the

[gcc r12-10446] lto/114655 - -flto=4 at link time doesn't override -flto=auto at compile time

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:42a0393655d8e4662ba001c3759cf00b639eddb9 commit r12-10446-g42a0393655d8e4662ba001c3759cf00b639eddb9 Author: Richard Biener Date: Tue Apr 9 14:25:57 2024 +0200 lto/114655 - -flto=4 at link time doesn't override -flto=auto at compile time The following

[gcc r12-10445] gcov-profile/114715 - missing coverage for switch

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:56415e39029012aa3675d3b4b71fb248cf43049e commit r12-10445-g56415e39029012aa3675d3b4b71fb248cf43049e Author: Richard Biener Date: Mon Apr 15 11:09:17 2024 +0200 gcov-profile/114715 - missing coverage for switch The following avoids missing coverage for the

[gcc r15-571] tree-optimization/79958 - make DSE track multiple paths

2024-05-16 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:1e0ae1f52741f7e0133661659ed2d210f939a398 commit r15-571-g1e0ae1f52741f7e0133661659ed2d210f939a398 Author: Richard Biener Date: Wed May 15 18:32:37 2024 +0200 tree-optimization/79958 - make DSE track multiple paths DSE currently gives up when the path we

Re: [RFC] New optab for `a&~b` (and future expand improvements)

2024-05-15 Thread Richard Biener via Gcc
On Wed, May 15, 2024 at 4:40 PM Andrew Pinski via Gcc wrote: > > Hi all, > This is an RFC more than anything and I will be implementing the ideas > here. So thinking about how to improve code generation in general and depend > less on RTL passes (like combine) to do some instruction

[gcc r15-518] tree-optimization/114589 - remove profile based sink heuristics

2024-05-15 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:99b1daae18c095d6c94d32efb77442838e11cbfb commit r15-518-g99b1daae18c095d6c94d32efb77442838e11cbfb Author: Richard Biener Date: Fri May 3 14:04:41 2024 +0200 tree-optimization/114589 - remove profile based sink heuristics The following removes the profile

[gcc r15-517] middle-end/111422 - wrong stack var coalescing, handle PHIs

2024-05-15 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:ab25eef36400e8c1d28e3ed059c5f95a38b45f17 commit r15-517-gab25eef36400e8c1d28e3ed059c5f95a38b45f17 Author: Richard Biener Date: Wed May 15 13:06:30 2024 +0200 middle-end/111422 - wrong stack var coalescing, handle PHIs The gcc.c-torture/execute/pr111422.c

[gcc r14-10211] middle-end/114931 - type_hash_canon and structual equality types

2024-05-15 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:1d89cb43943e77d0bbb48fd5a58a352bdd3d82c7 commit r14-10211-g1d89cb43943e77d0bbb48fd5a58a352bdd3d82c7 Author: Richard Biener Date: Fri May 3 10:44:50 2024 +0200 middle-end/114931 - type_hash_canon and structual equality types TYPE_STRUCTURAL_EQUALITY_P is part

[gcc r14-10210] Avoid changing type in the type_hash_canon hash

2024-05-15 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:573e1df0ec8428e564c97af7c237a5e0c98c59bd commit r14-10210-g573e1df0ec8428e564c97af7c237a5e0c98c59bd Author: Richard Biener Date: Fri May 3 11:48:07 2024 +0200 Avoid changing type in the type_hash_canon hash When building a type and type_hash_canon returns an

[gcc r15-491] tree-optimization/99954 - redo loop distribution memcpy recognition fix

2024-05-14 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:c290e6a0b7a9de5692963affc6627a4af7dc2411 commit r15-491-gc290e6a0b7a9de5692963affc6627a4af7dc2411 Author: Richard Biener Date: Tue May 14 11:13:51 2024 +0200 tree-optimization/99954 - redo loop distribution memcpy recognition fix The following revisits the

Re: FE C++ requirement

2024-05-14 Thread Richard Biener via Gcc
On Tue, May 14, 2024 at 2:06 AM James K. Lowden wrote: > > On Wed, 8 May 2024 21:40:44 +0200 > Jakub Jelinek wrote: > > > Perhaps you don't link cobol1 with the correct make variables > > as other FEs are linked? > > First, thank you for the careful answer. It allowed me to trace > through the

Re: isl 0.26 C++17 issues when bootstrapping with GCC

2024-05-13 Thread Richard Biener via Gcc
On Mon, May 13, 2024 at 6:00 PM Iain Sandoe wrote: > > > > > On 13 May 2024, at 16:05, Iain Sandoe via Gcc wrote: > >> On 30 Aug 2023, at 00:32, Ben Boeckel via Gcc wrote: > >> > >> On Tue, Aug 29, 2023 at 18:57:37 +0200, Richard Biener wrote: > >>> I suppose for bootstrapping we could disable

[gcc(refs/users/rguenth/heads/vect-force-slp)] Improve combined store node splitting

2024-05-13 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:4336060fe2db8ec41c0f108034a4ae8de89e5fa1 commit 4336060fe2db8ec41c0f108034a4ae8de89e5fa1 Author: Richard Biener Date: Wed Mar 20 14:55:08 2024 +0100 Improve combined store node splitting The following improves on the initial "Avoid splitting store dataref

[gcc(refs/users/rguenth/heads/vect-force-slp)] Add single-lane SLP support to .GOMP_SIMD_LANE vectorization

2024-05-13 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:ccbe801c08914ba136bba9cdbbcf0146dd261204 commit ccbe801c08914ba136bba9cdbbcf0146dd261204 Author: Richard Biener Date: Wed Mar 13 14:13:00 2024 +0100 Add single-lane SLP support to .GOMP_SIMD_LANE vectorization The following adds support for single-lane SLP

[gcc(refs/users/rguenth/heads/vect-force-slp)] Handle unused-only-live stmts in SLP discovery

2024-05-13 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:d0b1eaaf0ba4b9e6fd2b18ef597bde3eb7bd018b commit d0b1eaaf0ba4b9e6fd2b18ef597bde3eb7bd018b Author: Richard Biener Date: Thu Mar 7 15:13:33 2024 +0100 Handle unused-only-live stmts in SLP discovery The following adds SLP discovery for roots that are only live

  1   2   3   4   5   6   7   8   9   10   >