From: Matti Aarnio <matti.aarnio@sonera.fi>
To: axp-list@redhat.com
Subject: Re: 21164 speed
Date: Wed, 16 Dec 1998 20:10:45 +0200 (EET) [thread overview]
Message-ID: <19981216181046Z92281-18653+22@mea.tmt.tele.fi> (raw)
In-Reply-To: <19981216180850.D2290@zib.de> from Thorsten Koch at "Dec 16, 98 06:08:50 pm"
> Hello,
>
> does anybody know if the 21164 can get more than one result
> per cycle ?
> Is there a sequence of instructions like
>
> addt $f0,$f1,$f2
> addq $1,$2,$3
> mult $f3,$f4,$f5
> addq $4,$5,$6
>
> that executes in less than 4 cycles ?
No, in fact they take more -- FP multiplier has pipeline
latency of 8 cycles. FP-add pipeline takes also 8 cycles.
(archive digging --- dec21164pchwm.pdf found ...)
The 21164 has two parallel integer pipes and two parallel
floating-point pipes, plus registerfile/memory load/store
processing, plus a few other gimmics.
ipipe0:
add, log, shift, ld, st, imul, cmp, sext, cmov,
byte, word, mvi
ipipe1:
add, log, br, cmp, cmov
fpipe0:
ld, st, add, div, fbr, fcmovs, fcpy
fpipe1:
mul, fcmovs, fcpys
For instruction issue slotting rules see the
21164 Hardware Reference Manual.
For short, under optimal conditions you can issue up to
two integer, and two FP operations per each clock cycle.
That is quite much indeed. It even looks like you can
issue matrix kernel Multiply+Add pipelined instruction
pair at full throttle of the system and thus calculate
the matrix multiplies quite fast.. .. like one product
per every second clock cycle, if you can keep the MUL+ADD
pipe full by doing preloads from memory to cache, and then
doing final loads, and address index calculation in parallel
to the FP side processing.
You will need also loop unrolling, and register resource
rotating so that you don't force pipeline stalls at register
file accesses -- and allow processing pipeline delay!
> Regards,
> Thorsten
/Matti Aarnio <matti.aarnio@sonera.fi>
next prev parent reply other threads:[~1998-12-16 20:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-16 17:08 21164 speed Thorsten Koch
1998-12-16 18:10 ` Matti Aarnio [this message]
1998-12-16 22:42 ` Greg Lindahl
1998-12-16 22:43 ` Bob McElrath
1998-12-16 22:45 ` Greg Lindahl
1998-12-16 23:33 ` FAQ idea (was Re: 21164 speed) B. James Phillippe
1998-12-17 2:50 ` Peter Petrakis
1998-12-17 3:16 ` Tom Holroyd
1998-12-17 3:36 ` Peter Petrakis
1998-12-17 3:03 ` FAQ idea Tom Holroyd
1998-12-17 3:36 ` Rich Payne
1998-12-16 19:20 ` 21164 speed Oscar Levi
-- strict thread matches above, loose matches on Subject: below --
1998-12-16 20:01 Robert Harley
1998-12-16 23:31 ` Oscar Levi
1998-12-16 23:48 Marek Dohojda
1998-12-17 5:09 ` Oscar Levi
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox