public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/96149] New: gcc.dg/vect/slp-46.c on aarch64
@ 2020-07-10 12:52 clyon at gcc dot gnu.org
  2020-07-10 13:01 ` [Bug testsuite/96149] " rguenth at gcc dot gnu.org
  2021-08-31  5:15 ` [Bug tree-optimization/96149] " pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: clyon at gcc dot gnu.org @ 2020-07-10 12:52 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96149
           Summary: gcc.dg/vect/slp-46.c on aarch64
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

gcc.dg/vect/slp-46.c fails on aarch64 since it was introduced.

In the logs I can see:
PASS: gcc.dg/vect/slp-46.c execution test
gcc.dg/vect/slp-46.c: pattern found 0 times
FAIL: gcc.dg/vect/slp-46.c scan-tree-dump-times vect "vectorizing stmts using
SLP" 2

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

* [Bug testsuite/96149] gcc.dg/vect/slp-46.c on aarch64
  2020-07-10 12:52 [Bug testsuite/96149] New: gcc.dg/vect/slp-46.c on aarch64 clyon at gcc dot gnu.org
@ 2020-07-10 13:01 ` rguenth at gcc dot gnu.org
  2021-08-31  5:15 ` [Bug tree-optimization/96149] " pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-07-10 13:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The two single-element interleaving cases are expected to be SLP vectorized
where the target needs a splat operation (permute of two doubles {0, 0}).

Ah, the reason is the aarch64 speciality that forces load/store-lanes ...

slp-46.c:17:3: note:   can use vec_store_lanes<OI><V2DF>
slp-46.c:17:3: note:   can use vec_load_lanes<OI><V2DF>
slp-46.c:17:3: missed:   Built SLP cancelled: can use load/store-lanes

I don't think we have an effective target for this?  So XFAIL for aarch64?

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

* [Bug tree-optimization/96149] gcc.dg/vect/slp-46.c on aarch64
  2020-07-10 12:52 [Bug testsuite/96149] New: gcc.dg/vect/slp-46.c on aarch64 clyon at gcc dot gnu.org
  2020-07-10 13:01 ` [Bug testsuite/96149] " rguenth at gcc dot gnu.org
@ 2021-08-31  5:15 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-31  5:15 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|testsuite                   |tree-optimization
     Ever confirmed|0                           |1
            Version|10.0                        |11.0
           Keywords|                            |missed-optimization, xfail
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-08-31
           Severity|normal                      |enhancement

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The testcase was xfail'ed at r11-5087.

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

end of thread, other threads:[~2021-08-31  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 12:52 [Bug testsuite/96149] New: gcc.dg/vect/slp-46.c on aarch64 clyon at gcc dot gnu.org
2020-07-10 13:01 ` [Bug testsuite/96149] " rguenth at gcc dot gnu.org
2021-08-31  5:15 ` [Bug tree-optimization/96149] " pinskia 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).