Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <7j3ekv$clr@web.nmti.com> (raw)
In-Reply-To: 7j2n2b$63i$1@davinci.thp.univie.ac.at

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 918 bytes --]

In article <7j2n2b$63i$1@davinci.thp.univie.ac.at>,
Jonathan Thornburg <jthorn@davinci.thp.univie.ac.at> 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 <peter@baileynm.com>
 `-_-'   Ar rug t� barr�g ar do mhact�re inniu? 
  'U`    "Be vewy vewy quiet...I'm hunting Jedi." -- Darth Fudd




  parent reply	other threads:[~1999-06-02  4:00 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mBmZ2.1495$LP2.22361@news6.ispnews.com>
     [not found] ` <7itaj3$9e7$1@rocky.jgk.org>
     [not found]   ` <FCLIJK.L1E@world.std.com>
     [not found]     ` <7j3cah$b4q$1@rocky.jgk.org>
1999-06-02  4:00       ` Microvax. (Re: Is RISC dead? (was: Re: K7's FP performance inches past P-III's)) Peter da Silva
1999-06-02  4:00         ` Pete Zaitcev
1999-06-02  4:00         ` Chris Scheers
1999-06-03  4:00           ` Tim Llewellyn
1999-06-02  4:00         ` Bruce Lane
1999-06-03  4:00           ` Stephen E. Halpin
1999-06-03  4:00         ` Brian "JARAI" Chase
     [not found]   ` <7j2n2b$63i$1@davinci.thp.univie.ac.at>
1999-06-02  4:00     ` Peter da Silva [this message]
1999-06-02  4:00       ` Threaded code on the PDP-11 " Peter da Silva
1999-06-02  4:00       ` cg
1999-06-02  4:00         ` Jeff Kenton
1999-06-02  4:00           ` Peter da Silva
1999-06-07  4:00             ` Threaded code on the PDP-11 amos
1999-06-07  4:00               ` John "West" McKenna
1999-06-07  4:00                 ` Jerry Gitomer
1999-06-08  4:00                   ` Jerry Avins
1999-06-10  4:00                     ` kfielden
1999-06-11  4:00                       ` Chris Scheers
1999-06-07  4:00               ` Pete Zaitcev
1999-06-08  4:00               ` Alan Lehotsky
1999-06-08  4:00                 ` Lars Henrik Mathiesen
1999-06-13  4:00                   ` amos
1999-06-13  4:00               ` Megan
1999-06-13  4:00                 ` Brian Drummond
1999-06-13  4:00                   ` Tim Shoppa
1999-06-02  4:00         ` Running RT/RSTS code under UNIX (Re: Threaded code on the PDP-11 (Re: Is RISC dead? (was: Re: K7's FP performance inches past P-III's))) Peter da Silva
1999-06-02  4:00           ` John Wilson
1999-06-02  4:00             ` Warren Toomey
1999-06-04  4:00           ` John Holden
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