public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/89252] Vector load/store aren't used to initialize large memory
       [not found] <bug-89252-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-01 16:59 ` pinskia at gcc dot gnu.org
  2021-08-01 17:20 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-01 16:59 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
          Component|middle-end                  |target
             Target|                            |x86_64-linux-gnu

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
On the trunk we get:
        movdqa  xmm0, XMMWORD PTR _ZL5array[rip]
        movdqa  xmm1, XMMWORD PTR _ZL5array[rip+16]
        movdqa  xmm2, XMMWORD PTR _ZL5array[rip+32]
        movdqa  xmm3, XMMWORD PTR _ZL5array[rip+48]
        movdqa  xmm4, XMMWORD PTR _ZL5array[rip+64]
        movdqa  xmm5, XMMWORD PTR _ZL5array[rip+80]
        movups  XMMWORD PTR [rdi], xmm0
        movdqa  xmm6, XMMWORD PTR _ZL5array[rip+96]
        movdqa  xmm7, XMMWORD PTR _ZL5array[rip+112]
        movups  XMMWORD PTR [rdi+16], xmm1
        movups  XMMWORD PTR [rdi+32], xmm2
        movups  XMMWORD PTR [rdi+48], xmm3
        movups  XMMWORD PTR [rdi+320], xmm4
        movups  XMMWORD PTR [rdi+336], xmm5
        movups  XMMWORD PTR [rdi+352], xmm6
        movups  XMMWORD PTR [rdi+368], xmm7

Even with -mavx which I had assumed would use the ymm registers.

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

* [Bug target/89252] Vector load/store aren't used to initialize large memory
       [not found] <bug-89252-4@http.gcc.gnu.org/bugzilla/>
  2021-08-01 16:59 ` [Bug target/89252] Vector load/store aren't used to initialize large memory pinskia at gcc dot gnu.org
@ 2021-08-01 17:20 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2021-08-01 17:20 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 12 by r12-978.

*** This bug has been marked as a duplicate of bug 90773 ***

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

end of thread, other threads:[~2021-08-01 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-89252-4@http.gcc.gnu.org/bugzilla/>
2021-08-01 16:59 ` [Bug target/89252] Vector load/store aren't used to initialize large memory pinskia at gcc dot gnu.org
2021-08-01 17:20 ` hjl.tools at gmail dot com

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).