From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9604300613.AA05569@nova.tat.physik.uni-tuebingen.de> Date: Tue, 30 Apr 1996 08:19:15 +0200 (MET DST) From: Harald Koenig Subject: Re: ev4sched---here it is In-Reply-To: <199604241515.IAA11204@koala.azstarnet.com> > OK, there seems to be considerable interest in the EV4 scheduler. It > was posted to the net (if memory serves) a few years ago. It's > probably still somewhere on one of DEC's ftp site. > > In any case, I put up a tar file on azstarnet: > > ftp://ftp.azstarnet.com/pub/linux/axp/misc/axpsrc-ev4sched-0.0.tar.gz > > If somebody wanted to improve it, the first thing to do would be to > add support for multiple basic blocks. below is a vrey primitive patch which just passes bigger blocks in chunks of 512 words. might be a dump question (I've no real ideas about the problems of writing a compiler or good code generator): wouldn't it be easy (or ar least doable) to include this scheduler into the GCC and get a considerable improvement in performace ? this can be done either in the code generator stage of gcc (from C to ASM) or in the assembler itself. or what about a postprocessing program which just rewrites binaries ? since this scheduler is available for quite some time and this hasn't been done already I assume there is a major problem in this easy thinging aproach. but which one ? Harald ------------------------------------------------------------------------------- diff -u ORIG/ev4sched.c ./ev4sched.c --- ORIG/ev4sched.c Wed Apr 24 17:04:04 1996 +++ ./ev4sched.c Fri Apr 26 20:42:03 1996 @@ -121,7 +121,12 @@ argv[0], argv[i]); goto cleanup; } - schedule_bb_ev4(insts, shdr.s_size/4, offset, reorder); + { + int i; + for(i=0; i