From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fd7c9,a9f1c8b26ac59275,start X-Google-Attributes: gidfd7c9,public X-Google-Thread: 102b75,c9d77899e59ab061 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,a9f1c8b26ac59275,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 1045b9,c9d77899e59ab061 X-Google-Attributes: gid1045b9,public From: peter@baileynm.com (Peter da Silva) Subject: Threaded code on the PDP-11 (Re: Is RISC dead? (was: Re: K7's FP performance inches past P-III's)) Date: 1999/06/02 Message-ID: <7j3ekv$clr@web.nmti.com>#1/1 X-Deja-AN: 484874382 References: <374F6349.41C6@NcOoSmPpAaMq.com> <7itaj3$9e7$1@rocky.jgk.org> <7j2n2b$63i$1@davinci.thp.univie.ac.at> Followup-To: comp.arch,comp.sys.dec,comp.lang.forth Organization: Bailey Network Management Keywords: simple Newsgroups: comp.arch,comp.sys.dec,comp.lang.forth,comp.sys.ibm.pc.hardware.chips In article <7j2n2b$63i$1@davinci.thp.univie.ac.at>, Jonathan Thornburg wrote: >- In that era (780 was announced around 1976, so the design was > c.1974), most compilers weren't as smart as they are today. > (Up to c.1980 DEC's PDP-11 Fortran still generated > threaded code. (Can you say "a factor of 3 performance > hit?" :( :( ) I remember that! It was cute, I could write Forth that would kick Fortran's pants, even though FIG-Forth had an extra indirection in it's interpreter. IIRC, Fortran used: JMP (R1)+ And Forth used: MOV (R5)+,R4 JMP (R4)+ I think the big difference was Forth had more complex primitives that got more work done per trip through the interpreter. It was CISCier. -- In hoc signo hack, Peter da Silva `-_-' Ar rug t� barr�g ar do mhact�re inniu? 'U` "Be vewy vewy quiet...I'm hunting Jedi." -- Darth Fudd