public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/43616] Extra register move
       [not found] <bug-43616-4@http.gcc.gnu.org/bugzilla/>
@ 2012-06-17 11:04 ` ubizjak at gmail dot com
  2023-05-16 23:39 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ubizjak at gmail dot com @ 2012-06-17 11:04 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|arm-eabi                    |arm-eabi, x86
      Known to fail|                            |

--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2012-06-17 11:03:47 UTC ---
The same problem happens on x86_64:

--cut here--
void foo (void);

float test (float a, float b)
{
  foo ();
  return b;
}
--cut here--

gcc -O2

test:
.LFB0:
        subq    $24, %rsp
        movss   %xmm1, (%rsp)
        call    foo
A       movss   (%rsp), %xmm1
        addq    $24, %rsp
B       movaps  %xmm1, %xmm0
        ret

We could move from stack directly to xmm0


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

* [Bug rtl-optimization/43616] Extra register move
       [not found] <bug-43616-4@http.gcc.gnu.org/bugzilla/>
  2012-06-17 11:04 ` [Bug rtl-optimization/43616] Extra register move ubizjak at gmail dot com
@ 2023-05-16 23:39 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-16 23:39 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Known to work|                            |5.1.0, 9.1.0

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The arm code generation was fixed in GCC 5 for the testcase in comment #0.
The x86_64 code generation was fixed in GCC 9 for the testcase in comment #2.

So fixed a long time ago for both.

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

* [Bug rtl-optimization/43616] Extra register move
  2010-04-01  7:25 [Bug regression/43616] New: " carrot at google dot com
@ 2010-04-07 14:58 ` rguenth at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-07 14:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
            Summary|[4.5, trunk] Extra register |Extra register move
                   |move                        |


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


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

end of thread, other threads:[~2023-05-16 23:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-43616-4@http.gcc.gnu.org/bugzilla/>
2012-06-17 11:04 ` [Bug rtl-optimization/43616] Extra register move ubizjak at gmail dot com
2023-05-16 23:39 ` pinskia at gcc dot gnu.org
2010-04-01  7:25 [Bug regression/43616] New: " carrot at google dot com
2010-04-07 14:58 ` [Bug rtl-optimization/43616] " rguenth 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).