[Bug tree-optimization/18219] [4.0/4.1/4.2 Regression] gcc-4.0/4.1/4.2.0 bloats code by 31%

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 9 22:50:00 GMT 2006



------- Comment #19 from steven at gcc dot gnu dot org  2006-01-09 22:50 -------
Disassembly of section .text for x86 (compiled on AMD64 with -m32 -mtune=i686):

00000000 <cdt>:
   0:   55                      push   %ebp
   1:   89 e5                   mov    %esp,%ebp
   3:   8b 4d 10                mov    0x10(%ebp),%ecx
   6:   56                      push   %esi
   7:   8b 75 14                mov    0x14(%ebp),%esi
   a:   53                      push   %ebx
   b:   8b 5d 08                mov    0x8(%ebp),%ebx
   e:   8d 04 8d 00 00 00 00    lea    0x0(,%ecx,4),%eax
  15:   01 c3                   add    %eax,%ebx
  17:   03 45 0c                add    0xc(%ebp),%eax
  1a:   8d 50 04                lea    0x4(%eax),%edx
  1d:   eb 0c                   jmp    2b <cdt+0x2b>
  1f:   8b 43 fc                mov    0xfffffffc(%ebx),%eax
  22:   40                      inc    %eax
  23:   01 c0                   add    %eax,%eax
  25:   2b 42 fc                sub    0xfffffffc(%edx),%eax
  28:   89 42 fc                mov    %eax,0xfffffffc(%edx)
  2b:   41                      inc    %ecx
  2c:   83 c3 04                add    $0x4,%ebx
  2f:   83 c2 04                add    $0x4,%edx
  32:   39 f1                   cmp    %esi,%ecx
  34:   7e e9                   jle    1f <cdt+0x1f>
  36:   5b                      pop    %ebx
  37:   5e                      pop    %esi
  38:   5d                      pop    %ebp
  39:   c3                      ret


-- 


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




More information about the Gcc-bugs mailing list