* Playing with ev4sched...
@ 1996-05-06 20:21 Jim Paradis
0 siblings, 0 replies; only message in thread
From: Jim Paradis @ 1996-05-06 20:21 UTC (permalink / raw)
Well, I did some experimenting with ev4sched last week. I added code
to the front end to break the input file into basic blocks and feed
them to the scheduler one at a time. I also added some code to write
the rescheduled code back out to the executable file. The latter
turned out to be useless, because rescheduled code crashes and burns
for reasons I'll get into in a moment...
In a nutshell, the results suggest that the gcc *scheduling* pass is
working about as well as it can. This does *not* mean that gcc is
generating optimal code; just that the code that gcc *does* generate
is about as well-scheduled for the ev4 as it could be. In other
words, optimization has to be done at a higher level.
More details: After feeding it everything in /bin, my modified ev4sched
reported was able to reschedule between 15-25% of the basic blocks in
the program, and the average performance increase was 2-3 cycles per
basic block. In other words, not a huge performance boost.
It turns out that these numbers may be reduced further by the fact that
certain code paths depend on the instruction issue order and cannot be
rescheduled without knowing more about the live/dead state of registers
at each end of the basic block (gp modification is a prime example of
this...).
So we'll have to look for improvements elsewhere...
--
Jim Paradis (paradis@amt.tay1.dec.com) "It's not procrastination,
Digital Equipment Corporation it's my new Just-In-Time
(508)952-4047 Workload Management System!"
http://www.tiac.net/users/jrp/index.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-05-06 20:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-06 20:21 Playing with ev4sched Jim Paradis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox