public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/109465] New: LoongArch: The expansion of memcpy is slow and bloated for some sizes
@ 2023-04-10 15:05 xry111 at gcc dot gnu.org
  2023-04-10 15:07 ` [Bug target/109465] " xry111 at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-04-10 15:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109465
           Summary: LoongArch: The expansion of memcpy is slow and bloated
                    for some sizes
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xry111 at gcc dot gnu.org
  Target Milestone: ---

extern char *a, *b;

void test() { __builtin_memcpy(a, b, 15); }

With -mno-strict-align, this is compiled to 15 ld.bu/st.b pairs instead of the
optimal (4 pairs).

All size values >= 19 (except 24) seem affected.

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

end of thread, other threads:[~2023-08-04 15:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-10 15:05 [Bug target/109465] New: LoongArch: The expansion of memcpy is slow and bloated for some sizes xry111 at gcc dot gnu.org
2023-04-10 15:07 ` [Bug target/109465] " xry111 at gcc dot gnu.org
2023-04-19 10:17 ` cvs-commit at gcc dot gnu.org
2023-04-19 10:22 ` xry111 at gcc dot gnu.org
2023-08-04 15:51 ` xry111 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).