public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/31888]  New: inefficient comparison sequence - cond jump to label after immediately-following cond jump
@ 2007-05-10  4:49 raeburn at raeburn dot org
  2007-05-10  4:52 ` [Bug rtl-optimization/31888] " raeburn at raeburn dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: raeburn at raeburn dot org @ 2007-05-10  4:49 UTC (permalink / raw)
  To: gcc-bugs

In the source file i'm going to attach, with compiler rev 124583, the generated
assembly code includes a sequence:

  jg .L2
  jge .L6
.L2:
  ...

This would be more efficient as a "je .L6", and with the alternate (simpler)
implementation of data_eq, that's how it compiles.


-- 
           Summary: inefficient comparison sequence - cond jump to label
                    after immediately-following cond jump
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: raeburn at raeburn dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug rtl-optimization/31888] inefficient comparison sequence - cond jump to label after immediately-following cond jump
  2007-05-10  4:49 [Bug rtl-optimization/31888] New: inefficient comparison sequence - cond jump to label after immediately-following cond jump raeburn at raeburn dot org
@ 2007-05-10  4:52 ` raeburn at raeburn dot org
  2007-08-18 19:25 ` raeburn at raeburn dot org
  2007-08-20  6:38 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: raeburn at raeburn dot org @ 2007-05-10  4:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from raeburn at raeburn dot org  2007-05-10 05:51 -------
Created an attachment (id=13538)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13538&action=view)
source file, with comments on problem


-- 


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


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

* [Bug rtl-optimization/31888] inefficient comparison sequence - cond jump to label after immediately-following cond jump
  2007-05-10  4:49 [Bug rtl-optimization/31888] New: inefficient comparison sequence - cond jump to label after immediately-following cond jump raeburn at raeburn dot org
  2007-05-10  4:52 ` [Bug rtl-optimization/31888] " raeburn at raeburn dot org
@ 2007-08-18 19:25 ` raeburn at raeburn dot org
  2007-08-20  6:38 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: raeburn at raeburn dot org @ 2007-08-18 19:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from raeburn at raeburn dot org  2007-08-18 19:25 -------
In snapshot gcc-4.3-20070817 this test case seems to generate just the "je"
instruction I was looking for.


-- 


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


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

* [Bug rtl-optimization/31888] inefficient comparison sequence - cond jump to label after immediately-following cond jump
  2007-05-10  4:49 [Bug rtl-optimization/31888] New: inefficient comparison sequence - cond jump to label after immediately-following cond jump raeburn at raeburn dot org
  2007-05-10  4:52 ` [Bug rtl-optimization/31888] " raeburn at raeburn dot org
  2007-08-18 19:25 ` raeburn at raeburn dot org
@ 2007-08-20  6:38 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-20  6:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-08-20 06:38 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-08-20  6:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-10  4:49 [Bug rtl-optimization/31888] New: inefficient comparison sequence - cond jump to label after immediately-following cond jump raeburn at raeburn dot org
2007-05-10  4:52 ` [Bug rtl-optimization/31888] " raeburn at raeburn dot org
2007-08-18 19:25 ` raeburn at raeburn dot org
2007-08-20  6:38 ` 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).