public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113869] New: V4HF->V4SF pattern seems to be missing
@ 2024-02-11  1:31 pinskia at gcc dot gnu.org
  2024-06-06 18:51 ` [Bug target/113869] " cvs-commit at gcc dot gnu.org
  2024-06-11 17:03 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-11  1:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113869
           Summary: V4HF->V4SF pattern seems to be missing
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---
            Target: aarch64

Take:
```
void f( _Float16 * __restrict  a, float * __restrict b)
{

 b[0] = a[0];
 b[1] = a[1];
 b[2] = a[2];
 b[3] = a[3];
 b+=4;a+=4;
#if 0
 b[0] = a[0];
 b[1] = a[1];
 b[2] = a[2];
 b[3] = a[3];
#endif
}
```

The pattern that converts V4HF to V4SF seems be to missing and we don't SLP the
above. We able to handle V8HF to V8SF which does:
```
        fcvtl   v30.4s, v31.4h
        fcvtl2  v31.4s, v31.8h
```

But the first fcvtl is exactly what we want for V4HF->V4SF.

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

end of thread, other threads:[~2024-06-11 17:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-11  1:31 [Bug target/113869] New: V4HF->V4SF pattern seems to be missing pinskia at gcc dot gnu.org
2024-06-06 18:51 ` [Bug target/113869] " cvs-commit at gcc dot gnu.org
2024-06-11 17:03 ` 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).