This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]