* 21164 speed
@ 1998-12-16 17:08 Thorsten Koch
1998-12-16 18:10 ` Matti Aarnio
1998-12-16 19:20 ` 21164 speed Oscar Levi
0 siblings, 2 replies; 16+ messages in thread
From: Thorsten Koch @ 1998-12-16 17:08 UTC (permalink / raw)
To: axp-list
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 ?
Regards,
Thorsten
--
"They that can give up essential liberty to obtain a little temporary
saftey deserve neither liberty not saftey."
-- Benjamin Franklin, 1759
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 21164 speed
1998-12-16 17:08 21164 speed Thorsten Koch
@ 1998-12-16 18:10 ` Matti Aarnio
1998-12-16 22:42 ` Greg Lindahl
1998-12-16 19:20 ` 21164 speed Oscar Levi
1 sibling, 1 reply; 16+ messages in thread
From: Matti Aarnio @ 1998-12-16 18:10 UTC (permalink / raw)
To: axp-list
> 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>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 21164 speed
1998-12-16 17:08 21164 speed Thorsten Koch
1998-12-16 18:10 ` Matti Aarnio
@ 1998-12-16 19:20 ` Oscar Levi
1 sibling, 0 replies; 16+ messages in thread
From: Oscar Levi @ 1998-12-16 19:20 UTC (permalink / raw)
To: axp-list
On Wed, Dec 16, 1998 at 06:08:50PM +0100, Thorsten Koch wrote:
> 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 ?
I think the question is whether or not the processor issues multiple
instructions per cycle. I believe that the 21264 does this, but the
21164 is only pipelined. IIRC, multiple issue makes sense only when
coupled with out-of-order execution. This, too, I believe is a 21264
feature. Also note that to execute more than four instructions in
four cycles requires a fetch unit that can fetch more than one
instruction per cycle. Again, IIRC, the memory bus must be at least
64 bits wide on the Alpha for this to happen since instruction are at
least 32 bits wide.
I'm not sure you would see any given fragment execute in less than 4
cycles. Instead, you might see the aggregate performance of a
sequence of instructions be less than the sequential fetch time.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 21164 speed
@ 1998-12-16 20:01 Robert Harley
1998-12-16 23:31 ` Oscar Levi
0 siblings, 1 reply; 16+ messages in thread
From: Robert Harley @ 1998-12-16 20:01 UTC (permalink / raw)
To: axp-list
Oscar Levi wrote:
>[...a bunch of crap...]
Hey, if you have ABSOLUTELY NO CLUE WHATSOEVER about the topic at hand,
then why bother replying?
In answer to the question: yes the 21164 can issue up to four
instructions in one cycle under the right conditions. The example
given looks to me like it ought to go through in one as long as it
is correctly aligned, but check the document mentioned in the "ALPHA
instruction timing" thread a few days ago for a definitive answer.
Rob.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 21164 speed
1998-12-16 18:10 ` Matti Aarnio
@ 1998-12-16 22:42 ` Greg Lindahl
1998-12-16 22:43 ` Bob McElrath
0 siblings, 1 reply; 16+ messages in thread
From: Greg Lindahl @ 1998-12-16 22:42 UTC (permalink / raw)
To: axp-list
> 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.
Uh, the 21164 already does matrix multiplies as fast as the 21264,
because Goto hand-scheduled the routine.
Why speculate about what is known?
-- g
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 21164 speed
1998-12-16 22:42 ` Greg Lindahl
@ 1998-12-16 22:43 ` Bob McElrath
1998-12-16 22:45 ` Greg Lindahl
0 siblings, 1 reply; 16+ messages in thread
From: Bob McElrath @ 1998-12-16 22:43 UTC (permalink / raw)
To: axp-list
On Wed, 16 Dec 1998, Greg Lindahl wrote:
> > 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.
>
> Uh, the 21164 already does matrix multiplies as fast as the 21264,
> because Goto hand-scheduled the routine.
Where would one find said routine?
-- Bob
Bob McElrath (mcelrath@draal.physics.wisc.edu) Univ. of Wisconsin at Madison
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 21164 speed
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
0 siblings, 1 reply; 16+ messages in thread
From: Greg Lindahl @ 1998-12-16 22:45 UTC (permalink / raw)
To: axp-list
> > Uh, the 21164 already does matrix multiplies as fast as the 21264,
> > because Goto hand-scheduled the routine.
>
> Where would one find said routine?
You would look at the Alpha Linux FAQ? Matrix multiply gets talked
about at least once a week on this mailing list; we should be sure
that we all use the FAQ to cut out redundant chatter.
-- g
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 21164 speed
1998-12-16 20:01 Robert Harley
@ 1998-12-16 23:31 ` Oscar Levi
0 siblings, 0 replies; 16+ messages in thread
From: Oscar Levi @ 1998-12-16 23:31 UTC (permalink / raw)
To: axp-list
On Wed, Dec 16, 1998 at 09:01:52PM +0100, Robert Harley wrote:
> Oscar Levi wrote:
> >[...a bunch of crap...]
>
> Hey, if you have ABSOLUTELY NO CLUE WHATSOEVER about the topic at hand,
> then why bother replying?
You're a rude piece of trash.
> In answer to the question: yes the 21164 can issue up to four
> instructions in one cycle under the right conditions. The example
> given looks to me like it ought to go through in one as long as it
> is correctly aligned, but check the document mentioned in the "ALPHA
> instruction timing" thread a few days ago for a definitive answer.
>
> Rob.
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* FAQ idea (was Re: 21164 speed)
1998-12-16 22:45 ` Greg Lindahl
@ 1998-12-16 23:33 ` B. James Phillippe
1998-12-17 2:50 ` Peter Petrakis
1998-12-17 3:03 ` FAQ idea Tom Holroyd
0 siblings, 2 replies; 16+ messages in thread
From: B. James Phillippe @ 1998-12-16 23:33 UTC (permalink / raw)
To: axp-list
On Wed, 16 Dec 1998, Greg Lindahl wrote:
> > Where would one find said routine?
>
> You would look at the Alpha Linux FAQ? Matrix multiply gets talked
> about at least once a week on this mailing list; we should be sure
> that we all use the FAQ to cut out redundant chatter.
We all hate repeat questions about documented information, probably as much
as we hate getting RTFM responses. ;) Would the other list members object
to an automated monthly posting containing URL's to FAQ's and other sources
of Linux/AXP documentation (our fantastic websites, etc)? I would
volunteer to do it if nobody else does (assuming the overhwelming majority
of list members like the idea). The message would not need to be large to
be effective; even a paragraph or so would suffice, I think.
Just an idea..
-bp
--
B. James Phillippe . bryan@terran.org
Linux Engineer/Admin . http://www.terran.org/~bryan
Member since 1.1.59 . finger:bryan@earth.terran.org
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: 21164 speed
@ 1998-12-16 23:48 Marek Dohojda
1998-12-17 5:09 ` Oscar Levi
0 siblings, 1 reply; 16+ messages in thread
From: Marek Dohojda @ 1998-12-16 23:48 UTC (permalink / raw)
To: axp-list
Please be nice, or replay to yourselves. This is a good list, with good
information, and great people. If you want or need to flame each other,
do so in private.
-----Original Message-----
From: Oscar Levi [mailto:elf@buici.com]
Sent: Wednesday, December 16, 1998 3:32 PM
To: axp-list@redhat.com
Subject: Re: 21164 speed
On Wed, Dec 16, 1998 at 09:01:52PM +0100, Robert Harley
wrote:
> Oscar Levi wrote:
> >[...a bunch of crap...]
>
> Hey, if you have ABSOLUTELY NO CLUE WHATSOEVER about
the topic at hand,
> then why bother replying?
You're a rude piece of trash.
> In answer to the question: yes the 21164 can issue up
to four
> instructions in one cycle under the right conditions.
The example
> given looks to me like it ought to go through in one
as long as it
> is correctly aligned, but check the document mentioned
in the "ALPHA
> instruction timing" thread a few days ago for a
definitive answer.
>
> Rob.
>
> --
> To unsubscribe: send e-mail to
axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to
axp-list@redhat.com
>
--
To unsubscribe: send e-mail to
axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to
axp-list@redhat.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: FAQ idea (was Re: 21164 speed)
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:03 ` FAQ idea Tom Holroyd
1 sibling, 1 reply; 16+ messages in thread
From: Peter Petrakis @ 1998-12-17 2:50 UTC (permalink / raw)
To: axp-list
I'd definitely like to see a FAQ on Alpha Assembly techniques and a
section on using the MVI instruction set. The examples I found on DECs
site wern't all that great. I'm taking x86 assembly next semester so
having a place were i can go and get cool Alpha assembly so I can show
it to my prof. and the class why x86 just sucks :).
Alpha Powered,
Peter Petrakis
"B. James Phillippe" wrote:
>
> On Wed, 16 Dec 1998, Greg Lindahl wrote:
>
> > > Where would one find said routine?
> >
> > You would look at the Alpha Linux FAQ? Matrix multiply gets talked
> > about at least once a week on this mailing list; we should be sure
> > that we all use the FAQ to cut out redundant chatter.
>
> We all hate repeat questions about documented information, probably as much
> as we hate getting RTFM responses. ;) Would the other list members object
> to an automated monthly posting containing URL's to FAQ's and other sources
> of Linux/AXP documentation (our fantastic websites, etc)? I would
> volunteer to do it if nobody else does (assuming the overhwelming majority
> of list members like the idea). The message would not need to be large to
> be effective; even a paragraph or so would suffice, I think.
>
> Just an idea..
>
> -bp
> --
> B. James Phillippe . bryan@terran.org
> Linux Engineer/Admin . http://www.terran.org/~bryan
> Member since 1.1.59 . finger:bryan@earth.terran.org
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: FAQ idea
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:03 ` Tom Holroyd
1998-12-17 3:36 ` Rich Payne
1 sibling, 1 reply; 16+ messages in thread
From: Tom Holroyd @ 1998-12-17 3:03 UTC (permalink / raw)
To: axp-list
On Wed, 16 Dec 1998, B. James Phillippe wrote:
>We all hate repeat questions about documented information, probably as much
>as we hate getting RTFM responses. ;) Would the other list members object
>to an automated monthly posting containing URL's to FAQ's and other sources
>of Linux/AXP documentation (our fantastic websites, etc)?
I think this is an excellent idea. A list of pointers to the commonly
needed HOWTOs and HTTP/FTP sites would be most welcome. I don't think
people would mind if it was also posted to the Alpha usenet groups. As
you say, it only needs to be a paragraph.
Dr. Tom Holroyd
I would dance and be merry,
Life would be a ding-a-derry,
If I only had a brain.
-- The Scarecrow
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: FAQ idea (was Re: 21164 speed)
1998-12-17 2:50 ` Peter Petrakis
@ 1998-12-17 3:16 ` Tom Holroyd
1998-12-17 3:36 ` Peter Petrakis
0 siblings, 1 reply; 16+ messages in thread
From: Tom Holroyd @ 1998-12-17 3:16 UTC (permalink / raw)
To: axp-list
On Wed, 16 Dec 1998, Peter Petrakis wrote:
>I'd definitely like to see a FAQ on Alpha Assembly techniques and a
>section on using the MVI instruction set.
Second.
>... why x86 just sucks :).
Despite saying x86, you probably never programmed an 8086 (or 8088) in
assembly. You want suck? You are in a maze of special purpose registers,
expensive branches, bizarre memory addressing, and of course, no OS worth
mentioning. The 80386 was the first x86 chip that actually worked right.
(And don't get me started on MASM.)
Dr. Tom Holroyd
I would dance and be merry,
Life would be a ding-a-derry,
If I only had a brain.
-- The Scarecrow
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: FAQ idea (was Re: 21164 speed)
1998-12-17 3:16 ` Tom Holroyd
@ 1998-12-17 3:36 ` Peter Petrakis
0 siblings, 0 replies; 16+ messages in thread
From: Peter Petrakis @ 1998-12-17 3:36 UTC (permalink / raw)
To: axp-list
<snip>
Nope I haven't programing any assembly yet but I will soon and plan to
learn both 8088 and 21164a assembly concurrently.I'm going to learn
Fortran 77 and HTML over the break too :).
> Despite saying x86, you probably never programmed an 8086 (or 8088) in
> assembly.
So what CPU are you referring to? A modern one?
> You want suck? You are in a maze of special purpose registers,
> expensive branches, bizarre memory addressing, and of course, no OS worth
> mentioning. The 80386 was the first x86 chip that actually worked right.
> (And don't get me started on MASM.)
Peter Petrakis
--
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: FAQ idea
1998-12-17 3:03 ` FAQ idea Tom Holroyd
@ 1998-12-17 3:36 ` Rich Payne
0 siblings, 0 replies; 16+ messages in thread
From: Rich Payne @ 1998-12-17 3:36 UTC (permalink / raw)
To: axp-list
Hey guys, I'd be more than happy to have this stuff available
on www.alphalinux.org. I just don't have the time to put it
together at the moment, if you guys are willing to put the
pages together I can add them into the site? you interested?
regards,
rdp
Tom Holroyd wrote:
>
> On Wed, 16 Dec 1998, B. James Phillippe wrote:
>
> >We all hate repeat questions about documented information, probably as much
> >as we hate getting RTFM responses. ;) Would the other list members object
> >to an automated monthly posting containing URL's to FAQ's and other sources
> >of Linux/AXP documentation (our fantastic websites, etc)?
>
> I think this is an excellent idea. A list of pointers to the commonly
> needed HOWTOs and HTTP/FTP sites would be most welcome. I don't think
> people would mind if it was also posted to the Alpha usenet groups. As
> you say, it only needs to be a paragraph.
>
> Dr. Tom Holroyd
> I would dance and be merry,
> Life would be a ding-a-derry,
> If I only had a brain.
> -- The Scarecrow
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
Rich Payne
www.alphalinux.org
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: 21164 speed
1998-12-16 23:48 Marek Dohojda
@ 1998-12-17 5:09 ` Oscar Levi
0 siblings, 0 replies; 16+ messages in thread
From: Oscar Levi @ 1998-12-17 5:09 UTC (permalink / raw)
To: axp-list
On Wed, Dec 16, 1998 at 03:48:48PM -0800, Marek Dohojda wrote:
> Please be nice, or replay to yourselves. This is a good list, with good
> information, and great people. If you want or need to flame each other,
> do so in private.
Certainly appropriate.
It is significant the the axp-list replies automatically to itself.
This policy tends to put more traffic on the list than we'd all like
to see.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~1998-12-17 5:16 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-16 17:08 21164 speed Thorsten Koch
1998-12-16 18:10 ` Matti Aarnio
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox