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 target/16975] New: Tremendous increase in compile times for 3.4.1 with -mcpu=G5


It seems that specifying -mcpu=G5 leads to a tremendous increase in compile time
for 3.4.1.

Here's the compiler I'm using:

[descartes:~/programs/gambc40b4-devel] lucier% gcc -v
Reading specs from /pkgs/gcc-3.4.1/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/specs
Configured with: ../configure --prefix=/pkgs/gcc-3.4.1
Thread model: posix
gcc version 3.4.1

Here's a typical compile command in building Gambit-C:

gcc -mcpu=G4 -I../include -no-cpp-precomp -Wall -W -Wno-unused -O1
-fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fomit-frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -c _gsc_.c

The time for make -j with -mcpu=G5:

633.250u 15.960s 9:57.25 108.6% 0+0k 1+101io 0pf+0w

The time for make -j with -mcpu=G4:

107.190u 13.420s 1:23.98 143.6% 0+0k 0+63io 0pf+0w

A typicial bad file can be found at

http://www.math.purdue.edu/~lucier/GNATS/GNATS-12/_num.i.gz

-- 
           Summary: Tremendous increase in compile times for 3.4.1 with -
                    mcpu=G5
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lucier at math dot purdue dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.5.0
  GCC host triplet: powerpc-apple-darwin7.5.0
GCC target triplet: powerpc-apple-darwin7.5.0


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


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