This is the mail archive of the gcc-patches@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]

Re: PATCH [mainline] speed up comparing enums declared in multiple translation units



On Mar 9, 2004, at 15:12, Dale Johannesen wrote:



On Mar 9, 2004, at 3:05 PM, Andrew Pinski wrote:
I don't believe with tree-ssa alone you get the IMA. You need some of the local patches.

The only local patch I know of is for the driver which I do not invoke at all when doing my timings:


/Volumes/UFS_Partition/pinskia/gccssa/libexec/gcc/powerpc-apple- darwin7.0.0/3.5-tree-ssa/cc1 -O3 -fdump-tree-all -funroll-loops -mcpu=G5 accum.c alpha.c alphabuf.c api1.c api2.c attrib.c bitmap.c blend.c clip.c colortab.c context.c copypix.c depth.c dlist.c drawpix.c enable.c eval.c feedback.c fog.c get.c hash.c image.c light.c lines.c logic.c masking.c matrix.c misc.c mmath.c osmesa.c pb.c pixel.c pointers.c points.c polygon.c quads.c rastpos.c readpix.c rect.c scissor.c shade.c span.c stencil.c teximage.c texobj.c texstate.c texture.c triangle.c varray.c vb.c vbfill.c vbrender.c vbxform.c winpos.c xform.c mesa4.c

All right, we need to get this figured out. I've seen the same hours-long times Fariborz has, many times.
So what is Andrew doing differently. Have you got compile time checking disabled perhaps?
I bet that matters. (I am timing the above command line in background.,,)


I have not disabled checking at all. After my fix of my typo, I get 16 minutes.

Here are the options which I used:
/Volumes/UFS_Partition/pinskia/src/gccssa/src/configure --enable-threads=posix --disable-nls --disable-multilib --enable-languages=c,c++,objc,f95 --disable-intermodule --disable-libmudflap --prefix=/Volumes/UFS_Partition/pinskia/gccssa


I passed these flags to make while bootstrapping:
STAGE1_CFLAGS='-funsigned-char -mdynamic-no-pic -O2 -g' CFLAGS='-funsigned-char -O2 -g' LIBCXXFLAGS='-O2 -g' LIBCFLAGS='-O2 -g' BOOT_CFLAGS='-fno-strict-aliasing -funsigned-char -mdynamic-no-pic -O2 -g' -j 2


Note the -fno-strict-aliasing is just there because at one point I have the tree-ssa
miscompile itself.



Andrew Pinski



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