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/43729] Mach-O LTO support needed for darwin



------- Comment #23 from dominiq at lps dot ens dot fr  2010-05-01 21:40 -------
After some surgery in gcc/lto/lto-macho.h and gcc/lto/lto-macho.c, I have
managed to bootstrap. Now the full polyhedron test pass without failure. The
timings with my default options, with -fwhole-file, and with -flto follows
(Core2Duo 2.53Ghz, 3Mb cache, 4Gb RAM):

================================================================================
Date & Time     : 22 Apr 2010 10:44:08
Test Name       : pbharness
Compile Command : gfc %n.f90 -O3 -ffast-math -funroll-loops -ftree-loop-linear 
                             -fomit-frame-pointer -finline-limit=600 
                             --param min-vect-loop-bound=2 -o %n
Benchmarks      : ac aermod air capacita channel doduc fatigue gas_dyn induct 
                  linpk mdbx nf protein rnflow test_fpu tfft
Maximum Times   :      300.0
Target Error %  :      0.200
Minimum Repeats :     2
Maximum Repeats :     5

   Benchmark   Compile  Executable   Ave Run  Number   Estim
        Name    (secs)     (bytes)    (secs) Repeats   Err %
   ---------   -------  ----------   ------- -------  ------
          ac      2.23       46792     10.14       2  0.0000
      aermod     74.42     1419504     22.70       2  0.1542
         air      5.47       77848      6.96       5  0.4008
    capacita      7.68      126824     40.90       2  0.0685
     channel      1.91       34664      2.92       2  0.0685
       doduc     10.08      196872     29.89       4  0.1952
     fatigue      4.40       85688      8.39       2  0.1370
     gas_dyn      7.11      725640      4.90       5  0.6075
      induct      8.10      186864     14.23       2  0.0914
       linpk      1.50       38544     21.66       2  0.0277
        mdbx      2.75       73864     12.55       2  0.0597
          nf     23.55      153376     29.98       2  0.1568
     protein     10.43      127520     38.66       2  0.0375
      rnflow     15.93      205136     26.50       2  0.0019
    test_fpu      8.91      158968     11.50       2  0.0391
        tfft      1.15       26584      3.28       2  0.1829

Geometric Mean Execution Time =      13.38 seconds

================================================================================
Date & Time     : 15 Apr 2010 12:07:17
Test Name       : pbharness
Compile Command : gfc %n.f90 -O3 -ffast-math -funroll-loops -ftree-loop-linear 
                             -fomit-frame-pointer -finline-limit=600 
                             --param min-vect-loop-bound=2 -fwhole-file -o %n
Benchmarks      : ac aermod air capacita channel doduc fatigue gas_dyn induct 
                  linpk mdbx nf protein rnflow test_fpu tfft
Maximum Times   :      300.0
Target Error %  :      0.200
Minimum Repeats :     2
Maximum Repeats :     5

   Benchmark   Compile  Executable   Ave Run  Number   Estim
        Name    (secs)     (bytes)    (secs) Repeats   Err %
   ---------   -------  ----------   ------- -------  ------
          ac      2.98       42696      8.96       2  0.0056
      aermod     98.92     1808760     21.42       2  0.0700
         air     13.09      114728      7.14       5  0.2725
    capacita      8.00      135016     40.78       2  0.0037
     channel      1.75       34664      2.92       3  0.1769
       doduc     12.56      250192     28.59       2  0.0052
     fatigue      5.15      102112      8.44       2  0.0118
     gas_dyn      7.39      729736      4.90       5  0.3932
      induct     11.50      244448     14.16       2  0.0035
       linpk      1.81       50848     21.68       2  0.0208
        mdbx      7.05      139448     12.55       2  0.0159
          nf     20.10      157504     28.99       5  0.1680
     protein     13.03      147992     38.94       2  0.0116
      rnflow     17.64      229760     26.05       2  0.0134
    test_fpu      9.77      183608     11.42       4  0.1691
        tfft      1.28       34808      3.29       2  0.0912

Geometric Mean Execution Time =      13.17 seconds

================================================================================
Date & Time     :  1 May 2010 23:04:52
Test Name       : pbharness
Compile Command : gfc %n.f90 -O3 -ffast-math -funroll-loops -ftree-loop-linear 
                             -fomit-frame-pointer -finline-limit=600 
                             --param min-vect-loop-bound=2 -flto -o %n
Benchmarks      : ac aermod air capacita channel doduc fatigue gas_dyn induct 
                  linpk mdbx nf protein rnflow test_fpu tfft
Maximum Times   :      300.0
Target Error %  :      0.200
Minimum Repeats :     2
Maximum Repeats :     5

   Benchmark   Compile  Executable   Ave Run  Number   Estim
        Name    (secs)     (bytes)    (secs) Repeats   Err %
   ---------   -------  ----------   ------- -------  ------
          ac      6.36       46800      8.44       2  0.0118
      aermod    194.06     1901544     19.00       2  0.0632
         air     23.06      106816      7.27       5  0.1278
    capacita     15.52      126832     40.81       2  0.0588
     channel      3.15       34712      3.09       2  0.1618
       doduc     25.82      254352     27.93       2  0.0519
     fatigue     10.52      102144      8.75       2  0.1771
     gas_dyn     17.60      754592      4.72       5  0.6081
      induct     21.66      236416     14.11       2  0.0921
       linpk      3.32       46760     21.70       2  0.0323
        mdbx      9.23      106792     12.62       2  0.0158
          nf     47.72      149368     30.19       5  0.3552
     protein     22.63      148024     38.55       2  0.1206
      rnflow     34.14      229792     26.33       3  0.1770
    test_fpu     18.88      183576     11.54       2  0.0563
        tfft      2.89       34848      3.33       5  0.1648

Geometric Mean Execution Time =      13.12 seconds

================================================================================
Polyhedron Benchmark Validator
Copyright (C) Polyhedron Software Ltd - 2004 - All rights reserved


-- 


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


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