* 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread
end of thread, other threads:[~1998-12-17 3:47 UTC | newest] Thread overview: 12+ 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox