[Bug rtl-optimization/31888] New: inefficient comparison sequence - cond jump to label after immediately-following cond jump

raeburn at raeburn dot org gcc-bugzilla@gcc.gnu.org
Thu May 10 04:49:00 GMT 2007


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



More information about the Gcc-bugs mailing list