From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3626ccca6bb70e55 X-Google-Attributes: gid111c93,public X-Google-Thread: 102b75,4820dfa6cb2bff3e X-Google-Attributes: gid102b75,public From: zalman@netcom.com (Zalman Stern) Subject: Re: 21264 performance anomalies Date: 1999/04/24 Message-ID: #1/1 X-Deja-AN: 470194283 Sender: zalman@netcom15.netcom.com References: <87d81hkqw0.fsf@pfaffben.user.msu.edu> <372113DF.7886F290@igs.net> Organization: ICGNetcom Followup-To: comp.os.linux.alpha,comp.arch Newsgroups: comp.os.linux.alpha,comp.arch Paul DeMone (pdemone@igs.net) wrote: : I guess I was unclear. I meant that a binary recompiler could take : the Alpha executable image generated by gcc and recompile and reschedule : the code. The compiler algorithms may depend on information that is in the source code but not in the assembly (or gcc intermediate representation). This whole model of a compiler as a language dependent front-end talking to a machine and language independent optimizer talking to a machine dependent back-end is highly idealized and not all compiler (even gcc) work that way. Now I suppose you can say all information is in the binary. And I suppose that's true in some sense if you have access to the entirety of the bits that are used in the binary and an infinite amount of time to do the optimization :-) : BTW, if you think gcc internals are obsolete for good Alpha code : generation, wait until someone tries to graft on EPIC compiler : technology. The compiler gurus unequivocally say that to compile : properly for EPIC you essentially have to start from scratch. Well, the EPIC compiler gurus are pretty heavily invested in certain compiler technologies... Fortunately, some of that technology (Trimaran) is already out in the public and I expect Intel to take an interest in making sure something like gcc/egcs (or lcc, whatever) works well on IA-64. But yeah, "an interest" is no substitute for working code and its a hard problem... -Z-