gcc cross mips output sizes, 2.95.3 vs 3.3.3
David Wuertele
dave-gnus@bfnet.com
Thu Dec 16 23:46:00 GMT 2004
Joe> I think that the main bloat is in the debug information. Try
Joe> stripping before you compare file sizes.
Yeah, I already checked that. (I actually did read this maililng list
looking for solutions before I posted).
Here is what I get when I compile jpeg-6b, compared with what is
reported on CSiBE for -O3 and -Os. The size difference is outrageous
because my -Os files are bigger than the CSiBE -O3 files!!!
Every file was compiled and stripped like this:
mipsel-linux-gnu-g++ -Os -c -o jcapimin.o jcapimin.c
mipsel-linux-gnu-strip jcapimin.o
file CSiBE-Os CSiBE-O3 mipsel-linux-gnu-g++
------------------- -------- -------- --------------------
jpeg-6b - jcapimin 1460 1576 3764
jpeg-6b - jcapistd 932 1200 2480
jpeg-6b - jccoefct 2752 3436 4684
jpeg-6b - jccolor 2072 2112 3900
jpeg-6b - jcdctmgr 2164 2280 4112
jpeg-6b - jchuff 5140 8100 8696
jpeg-6b - jcinit 284 312 1680
jpeg-6b - jcmainct 640 716 2128
jpeg-6b - jcmarker 2976 1312 7924
jpeg-6b - jcmaster 4332 5592 6932
jpeg-6b - jcomapi 268 280 1752
jpeg-6b - jcparam 4312 7532 7444
jpeg-6b - jcphuff 4340 8304 8036
jpeg-6b - jcprepct 2120 2724 4236
jpeg-6b - jcsample 3104 3560 5112
jpeg-6b - jctrans 2204 2560 4336
jpeg-6b - jdapimin 1952 2688 4512
jpeg-6b - jdapistd 1700 2184 3684
jpeg-6b - jdatadst 528 596 2092
jpeg-6b - jdatasrc 532 804 2140
jpeg-6b - jdcoefct 5048 6220 7452
jpeg-6b - jdcolor 1820 1896 4124
jpeg-6b - jddctmgr 1144 1272 2640
jpeg-6b - jdhuff 3968 1053 6200
jpeg-6b - jdinput 2144 2724 4464
jpeg-6b - jdmainct 2524 2716 4528
jpeg-6b - jdmarker 9376 1088 14328
jpeg-6b - jdmaster 3012 3516 5788
jpeg-6b - jdmerge 1908 1972 3844
jpeg-6b - jdphuff 4480 5244 6788
jpeg-6b - jdpostct 1324 1536 3104
jpeg-6b - jdsample 2332 2732 4368
jpeg-6b - jdtrans 604 652 2048
jpeg-6b - jerror 5996 6000 7888
jpeg-6b - jfdctflt 592 576 1512
jpeg-6b - jfdctfst 736 744 1504
jpeg-6b - jfdctint 1504 1492 2144
jpeg-6b - jidctflt 1440 1568 2472
jpeg-6b - jidctfst 1400 1640 2256
jpeg-6b - jidctint 2148 2688 2864
jpeg-6b - jidctred 2540 2920 3200
jpeg-6b - jmemmgr 5176 7724 8864
jpeg-6b - jmemnobs 80 80 1820
jpeg-6b - jquant1 4080 4260 7344
jpeg-6b - jquant2 6068 7604 9052
More information about the Gcc
mailing list