public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/104755] New: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL
@ 2022-03-02 10:47 ro at gcc dot gnu.org
  2022-03-02 10:48 ` [Bug tree-optimization/104755] " ro at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-02 10:47 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104755
           Summary: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: tnfchris at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc*-sun-solaris2.11

Quite a number of the  gcc.dg/vect/vect-bic-bitmask-*.c tests FAIL on
Solaris/SPARC
(32 and 64-bit) since 20211201 (probably before that):

FAIL: gcc.dg/vect/vect-bic-bitmask-10.c -flto -ffat-lto-objects  scan-tree-dump
dce7 "<=\\\\s*.+{ 255,.+}"
FAIL: gcc.dg/vect/vect-bic-bitmask-10.c scan-tree-dump dce7 "<=\\\\s*.+{
255,.+}"
FAIL: gcc.dg/vect/vect-bic-bitmask-11.c -flto -ffat-lto-objects  scan-tree-dump
dce7 ">\\\\s*.+{ 255,.+}"
FAIL: gcc.dg/vect/vect-bic-bitmask-11.c scan-tree-dump dce7 ">\\\\s*.+{
255,.+}"
FAIL: gcc.dg/vect/vect-bic-bitmask-12.c -flto -ffat-lto-objects  scan-tree-dump
dce7 "<=\\\\s*.+{ 255,.+}"
FAIL: gcc.dg/vect/vect-bic-bitmask-12.c scan-tree-dump dce7 "<=\\\\s*.+{
255,.+}"
FAIL: gcc.dg/vect/vect-bic-bitmask-2.c -flto -ffat-lto-objects 
scan-tree-dump-times dce7 "<=\\\\s*.+{ 255,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-2.c scan-tree-dump-times dce7 "<=\\\\s*.+{
255,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-23.c -flto -ffat-lto-objects  scan-tree-dump
dce7 "<=\\\\s*.+{ 255, 15, 1, 65535 }"
FAIL: gcc.dg/vect/vect-bic-bitmask-23.c scan-tree-dump dce7 "<=\\\\s*.+{ 255,
15, 1, 65535 }"
FAIL: gcc.dg/vect/vect-bic-bitmask-3.c -flto -ffat-lto-objects 
scan-tree-dump-times dce7 "<=\\\\s*.+{ 255,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-3.c scan-tree-dump-times dce7 "<=\\\\s*.+{
255,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-5.c -flto -ffat-lto-objects 
scan-tree-dump-times dce7 ">\\\\s*.+{ 255,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-5.c scan-tree-dump-times dce7 ">\\\\s*.+{
255,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-6.c -flto -ffat-lto-objects 
scan-tree-dump-times dce7 "<=\\\\s*.+{ 255,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-6.c scan-tree-dump-times dce7 "<=\\\\s*.+{
255,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-8.c -flto -ffat-lto-objects 
scan-tree-dump-times dce7 ">\\\\s*.+{ 1,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-8.c scan-tree-dump-times dce7 ">\\\\s*.+{
1,.+}" 1
FAIL: gcc.dg/vect/vect-bic-bitmask-9.c -flto -ffat-lto-objects  scan-tree-dump
dce7 "&\\\\s*.+{ 4294967290,.+}"
FAIL: gcc.dg/vect/vect-bic-bitmask-9.c scan-tree-dump dce7 "&\\\\s*.+{
4294967290,.+}"

Exemplary dump attached.

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

* [Bug tree-optimization/104755] gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL
  2022-03-02 10:47 [Bug tree-optimization/104755] New: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL ro at gcc dot gnu.org
@ 2022-03-02 10:48 ` ro at gcc dot gnu.org
  2022-03-02 10:48 ` ro at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-02 10:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 52546
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52546&action=edit
32-bit i386-pc-solaris2.11 vect-bic-bitmask-10.c.210t.dce7

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

* [Bug tree-optimization/104755] gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL
  2022-03-02 10:47 [Bug tree-optimization/104755] New: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL ro at gcc dot gnu.org
  2022-03-02 10:48 ` [Bug tree-optimization/104755] " ro at gcc dot gnu.org
@ 2022-03-02 10:48 ` ro at gcc dot gnu.org
  2022-03-02 12:34 ` tnfchris at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-02 10:48 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

* [Bug tree-optimization/104755] gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL
  2022-03-02 10:47 [Bug tree-optimization/104755] New: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL ro at gcc dot gnu.org
  2022-03-02 10:48 ` [Bug tree-optimization/104755] " ro at gcc dot gnu.org
  2022-03-02 10:48 ` ro at gcc dot gnu.org
@ 2022-03-02 12:34 ` tnfchris at gcc dot gnu.org
  2022-03-02 12:43 ` ro at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2022-03-02 12:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Hmmm the tests are gated by vect_int which sparc declares to support but the
code didn't vectorize, so probably an unsupported operation somewhere..

Could you attach the output of -fdump-tree-vect-all?

Thanks

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

* [Bug tree-optimization/104755] gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL
  2022-03-02 10:47 [Bug tree-optimization/104755] New: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-03-02 12:34 ` tnfchris at gcc dot gnu.org
@ 2022-03-02 12:43 ` ro at gcc dot gnu.org
  2022-03-02 12:58 ` tnfchris at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-02 12:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 52549
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52549&action=edit
vect-bic-bitmask-10.c -fdump-tree-vect-all output

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

* [Bug tree-optimization/104755] gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL
  2022-03-02 10:47 [Bug tree-optimization/104755] New: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-03-02 12:43 ` ro at gcc dot gnu.org
@ 2022-03-02 12:58 ` tnfchris at gcc dot gnu.org
  2022-03-08 11:33 ` cvs-commit at gcc dot gnu.org
  2022-03-08 11:35 ` tnfchris at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2022-03-02 12:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Hmmm looks like it doesn't support vector comparisons

 missed:   not vectorized: relevant stmt not supported: _6 = _5 <= 255;

I'll probably just have to skip them on sparc*-* then.

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

* [Bug tree-optimization/104755] gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL
  2022-03-02 10:47 [Bug tree-optimization/104755] New: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2022-03-02 12:58 ` tnfchris at gcc dot gnu.org
@ 2022-03-08 11:33 ` cvs-commit at gcc dot gnu.org
  2022-03-08 11:35 ` tnfchris at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-03-08 11:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <tnfchris@gcc.gnu.org>:

https://gcc.gnu.org/g:5f07095d22f58572c06997aa6d4f3bc456e1925d

commit r12-7533-g5f07095d22f58572c06997aa6d4f3bc456e1925d
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Tue Mar 8 11:32:59 2022 +0000

    vect: disable bitmask tests on sparc

    These testcases declare requiring vect_int which sparc declares as well
however
    sparc doesn't have an optab to vectorize comparisons so these testcases
fail to
    vectorize and so the tests fail.

    As such best coure of action is to just skip them on sparc as comparisons
are
    somewhat expected from a target that can do SIMD.

    gcc/testsuite/ChangeLog:

            PR tree-optimization/104755
            * gcc.dg/vect/vect-bic-bitmask-10.c: Disable sparc.
            * gcc.dg/vect/vect-bic-bitmask-11.c: Likewise.
            * gcc.dg/vect/vect-bic-bitmask-12.c: Likewise.
            * gcc.dg/vect/vect-bic-bitmask-2.c: Likewise.
            * gcc.dg/vect/vect-bic-bitmask-23.c: Likewise.
            * gcc.dg/vect/vect-bic-bitmask-3.c: Likewise.
            * gcc.dg/vect/vect-bic-bitmask-4.c: Likewise.
            * gcc.dg/vect/vect-bic-bitmask-5.c: Likewise.
            * gcc.dg/vect/vect-bic-bitmask-6.c: Likewise.
            * gcc.dg/vect/vect-bic-bitmask-8.c: Likewise.
            * gcc.dg/vect/vect-bic-bitmask-9.c: Likewise.

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

* [Bug tree-optimization/104755] gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL
  2022-03-02 10:47 [Bug tree-optimization/104755] New: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL ro at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2022-03-08 11:33 ` cvs-commit at gcc dot gnu.org
@ 2022-03-08 11:35 ` tnfchris at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2022-03-08 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

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

--- Comment #6 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
fixed by skipping tests since they don't vectorize.

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

end of thread, other threads:[~2022-03-08 11:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 10:47 [Bug tree-optimization/104755] New: gcc.dg/vect/vect-bic-bitmask-10.c etc. FAIL ro at gcc dot gnu.org
2022-03-02 10:48 ` [Bug tree-optimization/104755] " ro at gcc dot gnu.org
2022-03-02 10:48 ` ro at gcc dot gnu.org
2022-03-02 12:34 ` tnfchris at gcc dot gnu.org
2022-03-02 12:43 ` ro at gcc dot gnu.org
2022-03-02 12:58 ` tnfchris at gcc dot gnu.org
2022-03-08 11:33 ` cvs-commit at gcc dot gnu.org
2022-03-08 11:35 ` tnfchris 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).