public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/107809] New: gcc.dg/vect/vect-recurr-1.c etc. FAIL
@ 2022-11-22 12:14 ro at gcc dot gnu.org
  2022-11-22 12:16 ` [Bug tree-optimization/107809] " ro at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2022-11-22 12:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107809
           Summary: gcc.dg/vect/vect-recurr-1.c etc. FAIL
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc*-sun-solaris2.11

Since their introduction, the vect-recurr-?.c tests FAIL on 32 and 64-bit
SPARC:

+FAIL: gcc.dg/vect/vect-recurr-1.c -flto -ffat-lto-objects  scan-tree-dump vect
"vectorized 1 loops in function"
+FAIL: gcc.dg/vect/vect-recurr-1.c scan-tree-dump vect "vectorized 1 loops in
function"
+FAIL: gcc.dg/vect/vect-recurr-2.c -flto -ffat-lto-objects  scan-tree-dump vect
"vectorized 1 loops in function"
+FAIL: gcc.dg/vect/vect-recurr-2.c scan-tree-dump vect "vectorized 1 loops in
function"
+FAIL: gcc.dg/vect/vect-recurr-3.c -flto -ffat-lto-objects  scan-tree-dump vect
"vectorized 1 loops in function"
+FAIL: gcc.dg/vect/vect-recurr-3.c scan-tree-dump vect "vectorized 1 loops in
function"
+FAIL: gcc.dg/vect/vect-recurr-4.c -flto -ffat-lto-objects  scan-tree-dump vect
"vectorized 1 loops in function"
+FAIL: gcc.dg/vect/vect-recurr-4.c scan-tree-dump vect "vectorized 1 loops in
function"
+FAIL: gcc.dg/vect/vect-recurr-5.c -flto -ffat-lto-objects  scan-tree-dump vect
"vectorized 1 loops in function"
+FAIL: gcc.dg/vect/vect-recurr-5.c scan-tree-dump vect "vectorized 1 loops in
function"

Dump attached.

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

* [Bug tree-optimization/107809] gcc.dg/vect/vect-recurr-1.c etc. FAIL
  2022-11-22 12:14 [Bug tree-optimization/107809] New: gcc.dg/vect/vect-recurr-1.c etc. FAIL ro at gcc dot gnu.org
@ 2022-11-22 12:16 ` ro at gcc dot gnu.org
  2022-11-22 12:16 ` ro at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2022-11-22 12:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 53944
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53944&action=edit
32-bit sparc-sun-solaris2.11 vect-recurr-1.c.172t.vect

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

* [Bug tree-optimization/107809] gcc.dg/vect/vect-recurr-1.c etc. FAIL
  2022-11-22 12:14 [Bug tree-optimization/107809] New: gcc.dg/vect/vect-recurr-1.c etc. FAIL ro at gcc dot gnu.org
  2022-11-22 12:16 ` [Bug tree-optimization/107809] " ro at gcc dot gnu.org
@ 2022-11-22 12:16 ` ro at gcc dot gnu.org
  2022-11-23 20:41 ` [Bug testsuite/107809] " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu.org @ 2022-11-22 12:16 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0

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

* [Bug testsuite/107809] gcc.dg/vect/vect-recurr-1.c etc. FAIL
  2022-11-22 12:14 [Bug tree-optimization/107809] New: gcc.dg/vect/vect-recurr-1.c etc. FAIL ro at gcc dot gnu.org
  2022-11-22 12:16 ` [Bug tree-optimization/107809] " ro at gcc dot gnu.org
  2022-11-22 12:16 ` ro at gcc dot gnu.org
@ 2022-11-23 20:41 ` rguenth at gcc dot gnu.org
  2022-12-22 13:20 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-11-23 20:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |testsuite
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2022-11-23
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1
           Keywords|                            |testsuite-fail

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine then.

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

* [Bug testsuite/107809] gcc.dg/vect/vect-recurr-1.c etc. FAIL
  2022-11-22 12:14 [Bug tree-optimization/107809] New: gcc.dg/vect/vect-recurr-1.c etc. FAIL ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-11-23 20:41 ` [Bug testsuite/107809] " rguenth at gcc dot gnu.org
@ 2022-12-22 13:20 ` rguenth at gcc dot gnu.org
  2022-12-22 13:22 ` cvs-commit at gcc dot gnu.org
  2022-12-22 13:22 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-12-22 13:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
It looks like SPARC should support vec_perm with VIS2, but it's not clear
whether that's enabled.  The testcases definitely lack an effective target
check for the required permute which is a whole vector shift by 1 element
plus the insert of the topmost lane into the first or a two-vector shift
by 1 element.

I've checked and

/* { dg-require-effective-target vect_perm } */

should disable the test for sparc but it's not exactly spot-on I think
(and as said, it looks like -mvis2 should suppport the test)

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

* [Bug testsuite/107809] gcc.dg/vect/vect-recurr-1.c etc. FAIL
  2022-11-22 12:14 [Bug tree-optimization/107809] New: gcc.dg/vect/vect-recurr-1.c etc. FAIL ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-12-22 13:20 ` rguenth at gcc dot gnu.org
@ 2022-12-22 13:22 ` cvs-commit at gcc dot gnu.org
  2022-12-22 13:22 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-12-22 13:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:d4a320f1ee4c76f09f95bdc583b90a9b049bbba0

commit r13-4846-gd4a320f1ee4c76f09f95bdc583b90a9b049bbba0
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Dec 22 14:20:40 2022 +0100

    testsuite/107809 - fix vect-recurr testcases

    This adds a missing effective target check for the permute
    recurrence vectorization requires.

            PR testsuite/107809
            * gcc.dg/vect/vect-recurr-1.c: Require vect_perm.
            * gcc.dg/vect/vect-recurr-2.c: Likewise.
            * gcc.dg/vect/vect-recurr-3.c: Likewise.
            * gcc.dg/vect/vect-recurr-4.c: Likewise.
            * gcc.dg/vect/vect-recurr-5.c: Likewise.
            * gcc.dg/vect/vect-recurr-6.c: Likewise.

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

* [Bug testsuite/107809] gcc.dg/vect/vect-recurr-1.c etc. FAIL
  2022-11-22 12:14 [Bug tree-optimization/107809] New: gcc.dg/vect/vect-recurr-1.c etc. FAIL ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2022-12-22 13:22 ` cvs-commit at gcc dot gnu.org
@ 2022-12-22 13:22 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-12-22 13:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Should be fixed now.

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

end of thread, other threads:[~2022-12-22 13:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22 12:14 [Bug tree-optimization/107809] New: gcc.dg/vect/vect-recurr-1.c etc. FAIL ro at gcc dot gnu.org
2022-11-22 12:16 ` [Bug tree-optimization/107809] " ro at gcc dot gnu.org
2022-11-22 12:16 ` ro at gcc dot gnu.org
2022-11-23 20:41 ` [Bug testsuite/107809] " rguenth at gcc dot gnu.org
2022-12-22 13:20 ` rguenth at gcc dot gnu.org
2022-12-22 13:22 ` cvs-commit at gcc dot gnu.org
2022-12-22 13:22 ` rguenth 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).