http://llvm.org/bugs/show_bug.cgi?id=4573

           Summary: excessive code size with X86 backend
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: OpenBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


When compiling various parts of the OpenBSD kernel there is a significant
increase in code size on many object files, which is likely the cause
of slow compilation speeds.

Such as:
if_spppsubr.o, clang: 124440, gcc335: 48968, gcc424: 49272, llvmgcc: 120400
bwi.o, clang: 164452, gcc335: 99856, gcc424: 101664, llvmgcc: 163172
pciide.o, clang: 90628, gcc335: 74560, gcc424: 77036, llvmgcc: 88160

A full list can be found at
http://goblin.cx/llvm/LLVM-bakeoff-comparison
and a summary at
http://goblin.cx/llvm/LLVM-bakeoff

Compile flags used
-Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-uninitialized -Wno-format
-fno-builtin -fno-zero-initialized-
in-bss  -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -O2 -pipe -nostdinc

Local changes to the llvm tree are ignoring kprintf format attribute/bounded
attribute.  Changed --mcpu default from pentium4 to i486 so floating point code
isn't generated in the kernel.  And some openbsd link target changes I'll be
submitting sometime soon (mostly just libgcc).


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to