public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/21202] Extra register moves generated with long long
       [not found] <bug-21202-1101@http.gcc.gnu.org/bugzilla/>
@ 2006-02-16  1:58 ` ian at airs dot com
  2006-07-17  9:09 ` vda dot linux at googlemail dot com
  2007-07-11 19:20 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ian at airs dot com @ 2006-02-16  1:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ian at airs dot com  2006-02-16 01:58 -------
Just a note.  My implementation of RTH's subreg lowering pass gives me this at
-O3:

f:
        pushl   %ebp
        movl    w, %eax
        movl    %esp, %ebp
        movl    w+4, %edx
        popl    %ebp
#APP
        bswapl %eax ; bswapl %edx
#NO_APP
        movl    %edx, w
        movl    %eax, w+4
        ret

With -momit-leaf-frame-pointer I get this:

f:
        movl    w, %eax
        movl    w+4, %edx
#APP
        bswapl %eax ; bswapl %edx
#NO_APP
        movl    %edx, w
        movl    %eax, w+4
        ret

which I suspect is optimal.


-- 

ian at airs dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com


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


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

* [Bug rtl-optimization/21202] Extra register moves generated with long long
       [not found] <bug-21202-1101@http.gcc.gnu.org/bugzilla/>
  2006-02-16  1:58 ` [Bug rtl-optimization/21202] Extra register moves generated with long long ian at airs dot com
@ 2006-07-17  9:09 ` vda dot linux at googlemail dot com
  2007-07-11 19:20 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: vda dot linux at googlemail dot com @ 2006-07-17  9:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from vda dot linux at googlemail dot com  2006-07-17 09:09 -------
Wow, this looks nice, good job! Thanks!


-- 

vda dot linux at googlemail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vda dot linux at googlemail
                   |                            |dot com


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


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

* [Bug rtl-optimization/21202] Extra register moves generated with long long
       [not found] <bug-21202-1101@http.gcc.gnu.org/bugzilla/>
  2006-02-16  1:58 ` [Bug rtl-optimization/21202] Extra register moves generated with long long ian at airs dot com
  2006-07-17  9:09 ` vda dot linux at googlemail dot com
@ 2007-07-11 19:20 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2007-07-11 19:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ubizjak at gmail dot com  2007-07-11 19:20 -------
Fixed in 4.3.0.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

* [Bug rtl-optimization/21202] Extra register moves generated with long long
  2005-04-25  7:32 [Bug rtl-optimization/21202] New: Extra register moves generated vda at port dot imtp dot ilyichevsk dot odessa dot ua
@ 2005-04-25 12:53 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-25 12:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-25 12:53 -------
Confirmed, this is a register allocator problem with long longs.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |missed-optimization, ra
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-25 12:53:11
               date|                            |
            Summary|Extra register moves        |Extra register moves
                   |generated                   |generated with long long


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


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

end of thread, other threads:[~2007-07-11 19:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21202-1101@http.gcc.gnu.org/bugzilla/>
2006-02-16  1:58 ` [Bug rtl-optimization/21202] Extra register moves generated with long long ian at airs dot com
2006-07-17  9:09 ` vda dot linux at googlemail dot com
2007-07-11 19:20 ` ubizjak at gmail dot com
2005-04-25  7:32 [Bug rtl-optimization/21202] New: Extra register moves generated vda at port dot imtp dot ilyichevsk dot odessa dot ua
2005-04-25 12:53 ` [Bug rtl-optimization/21202] Extra register moves generated with long long 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).