Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!ucrmath!rhyde From: rhyde@ucrmath.ucr.edu (randy hyde) Newsgroups: comp.sys.apple2 Subject: Re: HLLs vs. Assembly (was Re: IIgs Unzip thing) Message-ID: <14195@ucrmath.ucr.edu> Date: 6 May 91 07:11:00 GMT References: <8993@crash.cts.com> Organization: University of California, Riverside Lines: 18 >>>> Get A Real Compiler. (I suppose that's hard on the 6502. I wonder if gcc could be retargetted...naw.) Seriously, this means that you need a better optimizer for your compiler, or your compiler needs to be recoded from the bottom up. <<<< I don't know what GCC is like on 68Ks and Sparcs, but I do know it produces redundant loads on the 32532 version. I recently hand-compiled a GCC SCSI driver for my PC532 using the grossest, simple-minded code I code (to avoid possible timing problems). My code was less than 1/4 the size and about three times faster than the GCC variety. Mainly because of those Da*n redundant loads. GCC does some neat optimizations, but it really drops the ball in other areas. BTW, for anyone who is gonna start flaming me, SCSI drivers are a perfect example of code that really *should* be written in assembly. *** Randy Hyde