public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/45252] unnecessary register move
       [not found] <bug-45252-4@http.gcc.gnu.org/bugzilla/>
@ 2010-12-03 10:35 ` ramana at gcc dot gnu.org
  2023-05-15  5:07 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: ramana at gcc dot gnu.org @ 2010-12-03 10:35 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.12.03 10:34:54
                 CC|                            |ramana at gcc dot gnu.org
     Ever Confirmed|0                           |1


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

* [Bug target/45252] unnecessary register move
       [not found] <bug-45252-4@http.gcc.gnu.org/bugzilla/>
  2010-12-03 10:35 ` [Bug target/45252] unnecessary register move ramana at gcc dot gnu.org
@ 2023-05-15  5:07 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-15  5:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-bisection

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC 8+ does:
ts:
        push    {r0, r1, r2, r3, r4, lr}
        mov     r0, sp
        movs    r3, #0
        str     r3, [sp]
        bl      foo
        add     sp, sp, #20
        ldr     pc, [sp], #4

Which is exactly what you want.

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

end of thread, other threads:[~2023-05-15  5:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45252-4@http.gcc.gnu.org/bugzilla/>
2010-12-03 10:35 ` [Bug target/45252] unnecessary register move ramana at gcc dot gnu.org
2023-05-15  5:07 ` 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).