This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
x86 displacement
- From: "John S. Yates, Jr." <jyates at netezza dot com>
- To: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 26 Nov 2002 13:42:13 -0500
- Subject: x86 displacement
- Organization: Netezza Corporation
- Reply-to: "John S. Yates, Jr." <jyates at netezza dot com>
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