This is the mail archive of the gcc-help@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]

x86 displacement


I am optimizing a large hand crafted lexical analyze.
I was struck that in gcc 2.96 the size of x86 jump
displacements are not optimized.

 1725               .L247:
 1727               .LM167:
 1728 0778 C60720     movb $32, (%edi)
 1729 077b 47         incl %edi
 1730 077c 49         decl %ecx
 1731 077d 0F85F5FF   jne .L247  <<<<<<<<<<<<<<<<<
 1731      FFFF
 1732 0783 E902FDFF   jmp .L68
 1732      FF

Is this just a limitation of the assembler or is there
some flag I am missing?

/john
--
John S. Yates, Jr.   508 665-6897 (voice)
Netezza Inc          508 665-6811 (fax)
200 Crossing Blvd.   Framingham, MA 01701


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