public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/29881] union causes inefficient code
       [not found] <bug-29881-4@http.gcc.gnu.org/bugzilla/>
@ 2021-06-08  9:26 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-08  9:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.8.5
      Known to work|                            |4.8.5

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Been fixed for a long time now.  At least since GCC 4.8.5.  


  a$m_4 = MEM[(const union I16x8 &)p_2(D)];
  _5 = VIEW_CONVERT_EXPR<__v8hi>(a$m_4);
  _6 = __builtin_ia32_paddw128 (_5, _5);
  _7 = VIEW_CONVERT_EXPR<__m128i>(_6);
  MEM[(union I16x8 *)p_2(D)] = _7;


Either it was when SRA was improved or MEM_REF was added but it has been fixed
for over 8 years now.

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

* [Bug target/29881] union causes inefficient code
  2006-11-17 22:43 [Bug rtl-optimization/29881] New: inefficient/incorrect xmm registers usage spd at poczta dot fm
@ 2007-11-03 17:57 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-03 17:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2007-11-03 17:57 -------
This is a target issue for not using the SSE register when doing copies:
;; a = *p
Is expanded as sequences of load/stores.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29881


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

end of thread, other threads:[~2021-06-08  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-29881-4@http.gcc.gnu.org/bugzilla/>
2021-06-08  9:26 ` [Bug target/29881] union causes inefficient code pinskia at gcc dot gnu.org
2006-11-17 22:43 [Bug rtl-optimization/29881] New: inefficient/incorrect xmm registers usage spd at poczta dot fm
2007-11-03 17:57 ` [Bug target/29881] union causes inefficient code pinskia at gcc dot gnu dot 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).