Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!gatech!ncsuvx!ece-csc!ncrcae!usceast!opusc!bert From: bert@opusc.CS.SCAROLINA.EDU (Bert Still) Newsgroups: comp.windows.x Subject: Re: X11R3 with gcc Summary: X11R3, Patches 1-9, Purdue+ speedups, compiled with gcc-1.35 on a SUN4/260 (Sys4-3.2) is very large and very slow...? Message-ID: <138@opusc.CS.SCAROLINA.EDU> Date: 10 May 89 18:11:44 GMT References: <89Apr20.202936edt.741@church.csri.toronto.edu> Organization: Univ. of South Carolina, Columbia Lines: 36 In article <89Apr20.202936edt.741@church.csri.toronto.edu>, moraes@CSRI.TORONTO.EDU (Mark Moraes) writes: > [Sun3's, with gcc-1.34, SunOS3.5, etc...] > In all cases, we have seen substantial improvement in performance (20% > or more) by using gcc (also 10-20% reduced binary size, depending what > options you use - I prefer to use only -O, some may want to try > -fstrength-reduce and -finline-functions); the PurduePlus or Purdue2.1 > fixes take advantage of gcc inline assembler to improve performance > further on Suns, at least. > Well, I have two differences: first, we have only SUN4's (and no SUN3's), and second, the binaries are about 3 times the size of the SUN cc generated ones... I used the following options: -O -traditional -fwritable-strings -finline-functions -fcombine-regs -Dinline=INLINE -DNOSTDHDRS -DPURDUE -DNO_3_60_CG4 -DTCPCONN -DUNIXCONN. I tried -fstrength-reduce, but I keep getting "cc1 caught fatal signal 4" presumably meaning an illigal instruction (perhaps a bad pointer?)... I also noticed that rgb dumps core (segmentation fault) when created with gcc-1.35. I've been poking around a bit with the rgb sources, but I can't see any reason for the core dump. If anyone has any suggestions on the "size" problem with X11R3, I'd sure like to hear it. X is a very nice windowing system, but I would like a litter faster execution speed... (I know, I keep saying gcc-1.35... but that's what the thing was named on osu-cis when I got it...) And now, I will go eagerly await the filling of my e-mailbox with wonderful ideas... :-) Bert bert%cs.scarolina.edu@RELAY.CS.NET ...!seismo!ncr-sd!ncrcae!usceast!bert -- Domain: bert%opus@cs.scarolina.edu ##### BITNET: T410119@UNIVSCVM LarynxNet: Bert Still AcadNet: Computer Services Division, University Of South Carolina