public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/108813] New: gcc.target/powerpc/pr101384-2.c fails on power 9 BE
@ 2023-02-15 22:17 seurer at gcc dot gnu.org
  2023-02-17  8:18 ` [Bug testsuite/108813] " linkw at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-02-15 22:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108813
           Summary: gcc.target/powerpc/pr101384-2.c fails on power 9 BE
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

make  -k check-gcc RUNTESTFLAGS="powerpc.exp=gcc.target/powerpc/pr101384-2.c"
FAIL: gcc.target/powerpc/pr101384-2.c scan-assembler-times \\mvspltis[whb]
[^\\n\\r]*,-1\\M 9
# of expected passes            4
# of unexpected failures        1

This fails on power 9 BE (only) and fails for trunk as well as gcc 12.

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

* [Bug testsuite/108813] gcc.target/powerpc/pr101384-2.c fails on power 9 BE
  2023-02-15 22:17 [Bug target/108813] New: gcc.target/powerpc/pr101384-2.c fails on power 9 BE seurer at gcc dot gnu.org
@ 2023-02-17  8:18 ` linkw at gcc dot gnu.org
  2023-03-08  6:59 ` cvs-commit at gcc dot gnu.org
  2023-03-08  7:58 ` linkw at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: linkw at gcc dot gnu.org @ 2023-02-17  8:18 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-02-17
                 CC|                            |linkw at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
          Component|target                      |testsuite

--- Comment #1 from Kewen Lin <linkw at gcc dot gnu.org> ---
This is a test issue, GCC generates xxspltib rather than vspltis[whb] for const
vector. The below patch can fix it:

-/* { dg-final { scan-assembler-times {\mvspltis[whb] [^\n\r]*,-1\M} 9 } } */
+/* { dg-final { scan-assembler-times {\mvspltis[whb] [^\n\r]*,-1\M|\mxxspltib
[^\n\r]*,255\M} 9 } } */

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

* [Bug testsuite/108813] gcc.target/powerpc/pr101384-2.c fails on power 9 BE
  2023-02-15 22:17 [Bug target/108813] New: gcc.target/powerpc/pr101384-2.c fails on power 9 BE seurer at gcc dot gnu.org
  2023-02-17  8:18 ` [Bug testsuite/108813] " linkw at gcc dot gnu.org
@ 2023-03-08  6:59 ` cvs-commit at gcc dot gnu.org
  2023-03-08  7:58 ` linkw at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-03-08  6:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 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:3be550e35e1c67327d3724380632512872224178

commit r13-6540-g3be550e35e1c67327d3724380632512872224178
Author: Kewen Lin <linkw@linux.ibm.com>
Date:   Wed Mar 8 00:56:32 2023 -0600

    testsuite: Adjust pr101384-2.c for Power9 [PR108813]

    Compiled with cpu type Power9 or later, GCC generates
    xxspltib rather than vspltis*, so adjust the test
    case scanning content accordingly.

            PR testsuite/108813

    gcc/testsuite/ChangeLog:

            * gcc.target/powerpc/pr101384-2.c: Adjust with xxspltib.

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

* [Bug testsuite/108813] gcc.target/powerpc/pr101384-2.c fails on power 9 BE
  2023-02-15 22:17 [Bug target/108813] New: gcc.target/powerpc/pr101384-2.c fails on power 9 BE seurer at gcc dot gnu.org
  2023-02-17  8:18 ` [Bug testsuite/108813] " linkw at gcc dot gnu.org
  2023-03-08  6:59 ` cvs-commit at gcc dot gnu.org
@ 2023-03-08  7:58 ` linkw at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: linkw at gcc dot gnu.org @ 2023-03-08  7:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

end of thread, other threads:[~2023-03-08  7:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-15 22:17 [Bug target/108813] New: gcc.target/powerpc/pr101384-2.c fails on power 9 BE seurer at gcc dot gnu.org
2023-02-17  8:18 ` [Bug testsuite/108813] " linkw at gcc dot gnu.org
2023-03-08  6:59 ` cvs-commit at gcc dot gnu.org
2023-03-08  7:58 ` 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).