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 c/17557] New: wrong opcode for short jmp


when I use JMP to jump within 8 bytes (short jump?)e.g.
    JMP offset_with_in_8

the gcc will translate the JMP opcode into 0xe9(long jmp) instead of 0xeb(short
jmp), and this causes the offset to expand to 4 bytes long on my machine.

I'm running Linux 2.6.8 on PentiumIII-M

thank you

-- 
           Summary: wrong opcode for short jmp
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: moo23965392 at yahoo dot com dot tw
                CC: gcc-bugs at gcc dot gnu dot org


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


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