Related articles |
---|
Re: Are 64 Int or FP registers useful? hrubin@pop.stat.purdue.edu (1992-09-14) |
Re: Are 64 Int or FP registers useful? preston@helena.cs.rice.edu (1992-09-16) |
Re: Are 64 Int or FP registers useful? hrubin@pop.stat.purdue.edu (1992-09-17) |
Re: Are 64 Int or FP registers useful? daveg@synaptics.com (Dave Gillespie) (1992-09-17) |
Re: Are 64 Int or FP registers useful? pardo@cs.washington.edu (1992-09-17) |
Re: Are 64 Int or FP registers useful? lfm@pgroup.com (1992-09-19) |
Newsgroups: | comp.compilers |
From: | Dave Gillespie <daveg@synaptics.com> |
Organization: | Compilers Central |
Date: | Thu, 17 Sep 1992 19:03:12 GMT |
Keywords: | registers, optimize |
References: | <1992Sep7.091904.2626@newsroom.bsc.no> 92-09-088 |
The Intel 860 CPU tends to require lots of FP registers. It's not hard to
use up all 32 registers in a heavily pipelined loop. (Our most
complicated loop, used in a back-propagation algorithm, just barely
manages to fit in exactly 32 regs.)
In our case, the loop in question is unrolled by a factor of 12 in order
to get maximum performance. (Which, incidentally, is 100% utilization of
both the adder and the multiplier units; there's a reason the 860 is as
crufty as it is...) The register usage comes from needing to work on so
many iterations of the loop at once.
On the other hand, I've never seen a compiler that could really take
advantage of the 860's pipelining; our inner loops are all hand-coded.
860 optimizers tend to be essentially vectorizing compilers, where the
"vector instructions" are hand-coded assembly language routines.
-- Dave
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.