From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,94044dd34ac72fc0 X-Google-Attributes: gidfee84,public From: Jason Patterson Subject: Re: Gnu g77/gcc on DEC ALPHA running DEC UNIX Date: 1997/10/20 Message-ID: <344B1FA9.A16F2B2C@reflections.com.au>#1/1 X-Deja-AN: 282659633 References: <34462CF3.41C6@whoi.edu> <34464a60.0@news.munich.netsurf.de> <344AD0F1.41C6@itd.adelaide.edu.au> Organization: Digital Reflections Newsgroups: comp.unix.osf.osf1 Glen Turner wrote: > > ... gcc doesn't know anything worth mentioning about instruction > > scheduling or memory-wise behaviour. > > Actually, gcc is one of the better compilers in this respect. Well, that's a bit of a stretch :-) gcc 2.7.* does no serious alias analysis or static branch prediction, and it's instruction scheduling support is pretty weak (basic block scheduling only, and no software pipelining). gcc has a pretty good global register allocator, and reasonable global optimizations (strength reduction etc), but that's about it. > It's just that the Alpha processor support is quick and nasty. That is also true. > The Alpha Linux project is aware of the need to reimplement > the gcc support for Alpha in a more complete way, and are > encouraging people within DEC to do so. Actually, the egcs project ( http://www.cygnus.com/egcs/ ) is doing several things to improve gcc's optimization abilities. It is adding alias analysis and global instruction scheduling, among other things. egcs is still very much in beta testing though. But at the moment, gcc is no match for the vendors compilers on Alpha 21164, UltraSPARC or MIPS R10000, and even on older/narrower processors (Alpha 21064, Super/hyperSPARC, MIPS R4x00) gcc is at least 10-20% off the pace on SPEC and similar benchmarks. On the other hand, gcc is infinitely cheaper than the vendors compilers :-) JASON PATTERSON jason@reflections.com.au http://www.reflections.com.au/~jason Imagine that CRAY decides to make a personal computer. It contains 16 Alpha based processors executing in parallel, has 800 megabytes of RAM, 9 Gigabytes of disk storage, a resolution of 4096 x 4096 pixels, does 24bit 3D graphics in realtime, relies entirely on voice recognition for input, fits in your shirt pocket and costs $300. What is the first question the computer community asks? "Is it DOS compatible?"