public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
       [not found] <bug-82255-4@http.gcc.gnu.org/bugzilla/>
@ 2020-05-07 11:56 ` jakub at gcc dot gnu.org
  2020-07-23  6:51 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-05-07 11:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.0                        |10.2

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.1 has been released.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
       [not found] <bug-82255-4@http.gcc.gnu.org/bugzilla/>
  2020-05-07 11:56 ` [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads jakub at gcc dot gnu.org
@ 2020-07-23  6:51 ` rguenth at gcc dot gnu.org
  2021-04-08 12:02 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-07-23  6:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.2                        |10.3

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10.2 is released, adjusting target milestone.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
       [not found] <bug-82255-4@http.gcc.gnu.org/bugzilla/>
  2020-05-07 11:56 ` [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads jakub at gcc dot gnu.org
  2020-07-23  6:51 ` rguenth at gcc dot gnu.org
@ 2021-04-08 12:02 ` rguenth at gcc dot gnu.org
  2021-05-04 12:32 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-08 12:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.3                        |10.4

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10.3 is being released, retargeting bugs to GCC 10.4.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
       [not found] <bug-82255-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-04-08 12:02 ` rguenth at gcc dot gnu.org
@ 2021-05-04 12:32 ` rguenth at gcc dot gnu.org
  2022-06-28 10:33 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-05-04 12:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
       [not found] <bug-82255-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2021-05-04 12:32 ` rguenth at gcc dot gnu.org
@ 2022-06-28 10:33 ` jakub at gcc dot gnu.org
  2023-07-07  7:49 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
       [not found] <bug-82255-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2022-06-28 10:33 ` jakub at gcc dot gnu.org
@ 2023-07-07  7:49 ` rguenth at gcc dot gnu.org
  2023-07-13  4:14 ` cvs-commit at gcc dot gnu.org
  2023-07-13  5:42 ` linkw at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07  7:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.5                        |---

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
       [not found] <bug-82255-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2023-07-07  7:49 ` rguenth at gcc dot gnu.org
@ 2023-07-13  4:14 ` cvs-commit at gcc dot gnu.org
  2023-07-13  5:42 ` linkw at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-07-13  4:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kewen Lin <linkw@gcc.gnu.org>:

https://gcc.gnu.org/g:090d83c25508c108756a534c765d2fa8c07eb261

commit r14-2490-g090d83c25508c108756a534c765d2fa8c07eb261
Author: Kewen Lin <linkw@linux.ibm.com>
Date:   Wed Jul 12 21:23:21 2023 -0500

    vect: Adjust vectorizable_load costing on VMAT_ELEMENTWISE and
VMAT_STRIDED_SLP

    This patch adjusts the cost handling on VMAT_ELEMENTWISE
    and VMAT_STRIDED_SLP in function vectorizable_load.  We
    don't call function vect_model_load_cost for them any more.

    As PR82255 shows, we don't always need a vector construction
    there, moving costing next to the transform can make us only
    cost for vector construction when it's actually needed.
    Besides, it can count the number of loads consistently for
    some cases.

             PR tree-optimization/82255

    gcc/ChangeLog:

            * tree-vect-stmts.cc (vectorizable_load): Adjust the cost handling
            on VMAT_ELEMENTWISE and VMAT_STRIDED_SLP without calling
            vect_model_load_cost.
            (vect_model_load_cost): Assert it won't get VMAT_ELEMENTWISE and
            VMAT_STRIDED_SLP any more, and remove their related handlings.

    gcc/testsuite/ChangeLog:

            * gcc.dg/vect/costmodel/ppc/costmodel-pr82255.c: New test.

    2023-06-13  Bill Schmidt  <wschmidt@linux.ibm.com>
                Kewen Lin  <linkw@linux.ibm.com>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads
       [not found] <bug-82255-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2023-07-13  4:14 ` cvs-commit at gcc dot gnu.org
@ 2023-07-13  5:42 ` linkw at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: linkw at gcc dot gnu.org @ 2023-07-13  5:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #13 from Kewen Lin <linkw at gcc dot gnu.org> ---
Should be fixed on trunk.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-07-13  5:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-82255-4@http.gcc.gnu.org/bugzilla/>
2020-05-07 11:56 ` [Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads jakub at gcc dot gnu.org
2020-07-23  6:51 ` rguenth at gcc dot gnu.org
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2021-05-04 12:32 ` rguenth at gcc dot gnu.org
2022-06-28 10:33 ` jakub at gcc dot gnu.org
2023-07-07  7:49 ` rguenth at gcc dot gnu.org
2023-07-13  4:14 ` cvs-commit at gcc dot gnu.org
2023-07-13  5:42 ` linkw at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).