[gcc r15-1743] tree-optimization/115694 - ICE with complex store rewrite

2024-06-30 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:543a5b9da964f821b9e723ed9c93d6cdca464d47 commit r15-1743-g543a5b9da964f821b9e723ed9c93d6cdca464d47 Author: Richard Biener Date: Sun Jun 30 13:07:14 2024 +0200 tree-optimization/115694 - ICE with complex store rewrite The following adds a missed check when for

[gcc r15-1742] Remove vcond{, u, eq} expanders since they will be obsolete.

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:55f80c690c5fa59836646565a9dee2a3f68374a0 commit r15-1742-g55f80c690c5fa59836646565a9dee2a3f68374a0 Author: liuhongt Date: Mon Jun 24 09:19:01 2024 +0800 Remove vcond{,u,eq} expanders since they will be obsolete. gcc/ChangeLog: PR target/11551

[gcc r15-1741] Optimize a < 0 ? -1 : 0 to (signed)a >> 31.

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:2ccdd0f22312a14ac64bf944fdc4f8e7532eb0eb commit r15-1741-g2ccdd0f22312a14ac64bf944fdc4f8e7532eb0eb Author: liuhongt Date: Thu Jun 20 12:41:13 2024 +0800 Optimize a < 0 ? -1 : 0 to (signed)a >> 31. Try to optimize x < 0 ? -1 : 0 into (signed) x >> 31 and x

[gcc r15-1738] Match IEEE min/max with UNSPEC_IEEE_{MIN,MAX}.

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:09737d9605521df9232d9990006c44955064f44e commit r15-1738-g09737d9605521df9232d9990006c44955064f44e Author: liuhongt Date: Tue Jun 18 15:52:02 2024 +0800 Match IEEE min/max with UNSPEC_IEEE_{MIN,MAX}. These versions of the min/max patterns implement exactly th

[gcc r15-1740] Adjust testcase for the regressed testcases after obsolete of vcond{, u, eq}.

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:e94e6ee495d95f29355bbc017214228a5e367638 commit r15-1740-ge94e6ee495d95f29355bbc017214228a5e367638 Author: liuhongt Date: Wed Jun 19 16:05:58 2024 +0800 Adjust testcase for the regressed testcases after obsolete of vcond{,u,eq}. > Richard suggests that we imp

[gcc r15-1739] Add more splitter for mskmov with avx512 comparison.

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:3cb204046c0db899750aee9480af4f1953a40ac3 commit r15-1739-g3cb204046c0db899750aee9480af4f1953a40ac3 Author: liuhongt Date: Wed Jun 19 13:12:00 2024 +0800 Add more splitter for mskmov with avx512 comparison. gcc/ChangeLog: PR target/115517

[gcc r15-1737] Lower AVX512 kmask comparison back to AVX2 comparison when op_{true, false} is vector -1/0.

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:b06a108f0fbffe12493b527224f6e4131a72beac commit r15-1737-gb06a108f0fbffe12493b527224f6e4131a72beac Author: liuhongt Date: Tue Jun 18 14:03:42 2024 +0800 Lower AVX512 kmask comparison back to AVX2 comparison when op_{true,false} is vector -1/0. gcc/ChangeLog

[gcc r15-1736] Add more splitters to match (unspec [op1 op2 (gt op3 constm1_operand)] UNSPEC_BLENDV)

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:2e2dfa0095c3326a0a5fc2ff175918b42eeb044f commit r15-1736-g2e2dfa0095c3326a0a5fc2ff175918b42eeb044f Author: liuhongt Date: Mon Jun 17 17:16:46 2024 +0800 Add more splitters to match (unspec [op1 op2 (gt op3 constm1_operand)] UNSPEC_BLENDV) These define_insn_a

[gcc r15-1735] Enable flate-combine.

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:e62ea4fb8ffcab06ddd02f26db91b29b7270743f commit r15-1735-ge62ea4fb8ffcab06ddd02f26db91b29b7270743f Author: liuhongt Date: Wed Jun 26 13:52:24 2024 +0800 Enable flate-combine. Move pass_stv2 and pass_rpad after pre_reload pass_late_combine, also define tar

[gcc r15-1734] Extend lshifrtsi3_1_zext to ?k alternative.

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:8e1fa107a63b2e160b6bf69de4fe163dd3cebd80 commit r15-1734-g8e1fa107a63b2e160b6bf69de4fe163dd3cebd80 Author: liuhongt Date: Wed Jun 26 13:07:31 2024 +0800 Extend lshifrtsi3_1_zext to ?k alternative. late_combine will combine lshift + zero into *lshifrtsi3_1_zex

[gcc r15-1733] Define mask as extern instead of uninitialized local variables.

2024-06-30 Thread hongtao Liu via Gcc-cvs
https://gcc.gnu.org/g:5e1a9f4ccff390ae79a9b9d0d39b325f2b4ea925 commit r15-1733-g5e1a9f4ccff390ae79a9b9d0d39b325f2b4ea925 Author: liuhongt Date: Wed Jun 26 11:17:46 2024 +0800 Define mask as extern instead of uninitialized local variables. The testcases are supposed to scan for vpo

[gcc r14-10364] Fortran: fix ALLOCATE with SOURCE of deferred character length [PR114019]

2024-06-30 Thread Harald Anlauf via Gcc-cvs
https://gcc.gnu.org/g:603b344c07aa55f8292446e8fd28f5da9a983a21 commit r14-10364-g603b344c07aa55f8292446e8fd28f5da9a983a21 Author: Harald Anlauf Date: Fri Jun 28 21:44:06 2024 +0200 Fortran: fix ALLOCATE with SOURCE of deferred character length [PR114019] gcc/fortran/ChangeLog:

[gcc r14-10363] Fortran: fix passing of optional dummy as actual to optional argument [PR55978]

2024-06-30 Thread Harald Anlauf via Gcc-cvs
https://gcc.gnu.org/g:9f147487de660f026e2fb1281e1a1800f58b3bdd commit r14-10363-g9f147487de660f026e2fb1281e1a1800f58b3bdd Author: Harald Anlauf Date: Sun Jun 23 22:36:43 2024 +0200 Fortran: fix passing of optional dummy as actual to optional argument [PR55978] gcc/fortran/ChangeL

[gcc r14-10362] Fortran: fix for CHARACTER(len=*) dummies with bind(C) [PR115390]

2024-06-30 Thread Harald Anlauf via Gcc-cvs
https://gcc.gnu.org/g:b31e1900fa0cffabb0702962d01ba3fe917fdf69 commit r14-10362-gb31e1900fa0cffabb0702962d01ba3fe917fdf69 Author: Harald Anlauf Date: Tue Jun 18 21:57:19 2024 +0200 Fortran: fix for CHARACTER(len=*) dummies with bind(C) [PR115390] gcc/fortran/ChangeLog:

[gcc r15-1731] hppa: Fix ICE caused by mismatched predicate and constraint in xmpyu patterns

2024-06-30 Thread John David Anglin via Gcc-cvs
https://gcc.gnu.org/g:30ad2fafa9ab2497cc12df62a3240cff6ef25d00 commit r15-1731-g30ad2fafa9ab2497cc12df62a3240cff6ef25d00 Author: John David Anglin Date: Sun Jun 30 09:48:21 2024 -0400 hppa: Fix ICE caused by mismatched predicate and constraint in xmpyu patterns 2024-06-30 John D

[gcc r15-1730] tree-optimization/115701 - fix maybe_duplicate_ssa_info_at_copy

2024-06-30 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:b77f17c5feec9614568bf2dee7f7d811465ee4a5 commit r15-1730-gb77f17c5feec9614568bf2dee7f7d811465ee4a5 Author: Richard Biener Date: Sun Jun 30 11:34:43 2024 +0200 tree-optimization/115701 - fix maybe_duplicate_ssa_info_at_copy The following restricts copying of p

[gcc r15-1729] tree-optimization/115701 - factor out maybe_duplicate_ssa_info_at_copy

2024-06-30 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:b5c64b413fd5bc03a1a8ef86d005892071e42cbe commit r15-1729-gb5c64b413fd5bc03a1a8ef86d005892071e42cbe Author: Richard Biener Date: Sun Jun 30 11:28:11 2024 +0200 tree-optimization/115701 - factor out maybe_duplicate_ssa_info_at_copy The following factors out the

[gcc r15-1728] Harden SLP reduction support wrt STMT_VINFO_REDUC_IDX

2024-06-30 Thread Richard Biener via Gcc-cvs
https://gcc.gnu.org/g:b443d7122ee8013c5af127d3d183a03962967f57 commit r15-1728-gb443d7122ee8013c5af127d3d183a03962967f57 Author: Richard Biener Date: Thu Jun 27 11:36:07 2024 +0200 Harden SLP reduction support wrt STMT_VINFO_REDUC_IDX The following makes sure that for a SLP reduct

[gcc r15-1727] vect: Determine input vectype for multiple lane-reducing operations

2024-06-30 Thread Feng Xue via Gcc-cvs
https://gcc.gnu.org/g:3aa004f1db327d5728a8fd0afcfed24e767f0499 commit r15-1727-g3aa004f1db327d5728a8fd0afcfed24e767f0499 Author: Feng Xue Date: Sun Jun 16 13:00:32 2024 +0800 vect: Determine input vectype for multiple lane-reducing operations The input vectype of reduction PHI sta

[gcc r15-1726] vect: Fix shift-by-induction for single-lane slp

2024-06-30 Thread Feng Xue via Gcc-cvs
https://gcc.gnu.org/g:1ff5f8f8a05dd57620a1e2abbf87bd511b113cce commit r15-1726-g1ff5f8f8a05dd57620a1e2abbf87bd511b113cce Author: Feng Xue Date: Wed Jun 26 22:02:53 2024 +0800 vect: Fix shift-by-induction for single-lane slp Allow shift-by-induction for slp node, when it is single