From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e4d35e15e8e0913 X-Google-Attributes: gid111c93,public From: bmeyer@cs.monash.edu.au Subject: Re: Performance.... Date: 2000/04/25 Message-ID: <8e4te9$6jq$1@wombat.cs.monash.edu.au>#1/1 X-Deja-AN: 615600660 Sender: bmeyer@bruce.cs.monash.edu.au References: <5acN4.3289$SW2.6623340@nnrp4.proxad.net> <39057c0d.415049797@news.nic.utwente.nl> <8e4aol$md6$1@wombat.cs.monash.edu.au> <3905b800.430393041@news.nic.utwente.nl> Organization: This is innd taking over... NNTP-Posting-Date: Wed, 26 Apr 2000 06:08:20 EST Reply-To: bmeyer@cs.monash.edu.au Newsgroups: comp.os.linux.alpha A.Dergatchev@tn.utwente.nl (Andrei A. Dergatchev) writes: >>I wrote it [or, more precisely, I wrote the program that outputted the >>assembler code, and the program that did the reordering to get things to >>this nice state] ;-). >Is such a nice program available somewhere ? The answer to that would be the German "Jein" (a word made up from combining "Ja" [yes] and "Nein" [no]). If you want it, you can have it. I won't "release" it, because it is a) Not fully debugged --- I *know* it fails on a lot of stuff, but I debugged it to the point where it worked for everything *I* used. b) A bit specialized --- it won't currently take symbolic names for registers, and while I have a version which tries to handle FPU instructions, that handling certainly isn't up to scratch c) REALLY REALLY ugly code --- like so much code that started out as a quick hack to solve a problem, and then grew, and grew, and grew some more, without ever being designed d) Limited to EV5 scheduling e) Suboptimal --- it does a pretty good job at scheduling, but it sometimes gets into a bit of a tangle due to the "thou shalt read thy memory one cycle or three cycles after writing, but not two, lest thou shalt suffer a heavy penalty" kind of rules, and produces code that takes longer to execute than it should. Now that I have thoroughly deterred you ;-), let me say this: If anybody wants to hammer the whole thing into some presentable form (or even just take it as a starting point, replacing each and every single line in what amounts to a though-through rewrite) --- you are welcome! I just have neither time nor motivation to actually do it properly right now..... Bernie -- The chief distinction of a diplomat is that he can say no in such a way that it sounds like yes Lester Pearson Canadian Prime Minister 1963-68