From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: ffc31,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.226.10 with SMTP id ro10mr4392169pbc.6.1328901647781; Fri, 10 Feb 2012 11:20:47 -0800 (PST) MIME-Version: 1.0 Path: wr5ni9622pbc.0!nntp.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!aioe.org!.POSTED!not-for-mail From: glen herrmannsfeldt Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Fri, 10 Feb 2012 19:20:42 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <4f2e5f77.65538828@nntp.aioe.org> <4f2e89be.49241029@nntp.aioe.org> <4f30d0d8.41682905@nntp.aioe.org> <4f313229.43518694@nntp.aioe.org> <4f37717c.29259157@nntp.aioe.org> <4f339e98.40806741@nntp.aioe.org> <4f360d68.39000374@nntp.aioe.org> NNTP-Posting-Host: H0vc4U5LIRkRHNPyGCs2dA.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.32-5-amd64 (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 X-Received-Bytes: 6873 In vmsnet.pdp-11 paramucho wrote: (snip) > What the IBM 360 and the PDP-11 were trying to avoid was the earlier > approach where every change in the underlying technology led to a > completely new machine with a new architecture. Software had to be > rewritten, etc, etc. It was the defining feature for S/360. At the time, IBM had many different and imcompatible machines. Even within the categories of scientific and business machines there were many differences. Even so, it seems likely that IBM didn't expect it to last for 50 years, yet current z/Architecture machines are backward compatible to S/360 in problem (not supervisor) state. Compilers written for S/360 in Assembler still run on z/OS, as does the generated code. > Now, the problem for the PDP-11 was that it remained sensitive to > technology changes and frequently had to modify the architecture > because of the available technology. To use the earlier analogy of the > piano, sheet music played on the various PDP-11s would sound different > without changes to the sheet music. It does seem like IBM did better at keeping its architecture consistent through the generations. Maybe partly luck, and partly that things were more clearly defined in the first place. S/360 and S/370, with 24 bit addressing, were followed by XA/370 with 31 bit addressing, yet compatible with 24 bit code. Many instructions have to work differently in 24 bit mode than 31 bit, but all carefully designed to stay compatible. When the PDP-11 was extended to VAX-11, DEC included compatibility mode, but not quite as seamless as XA/370. Still, they did keep the PDP-11 floating point formats, strange as they were, to maintain compatibility. When extended precision (128 bit) floating point was added to S/360, it was done such that it was relativly easy to do in software emulation on older S/360 models. That form was then standard on S/370 and later. > I'll take that analogy a bit further. While all keyboards have the > same "architectural principles" there are some that have architectural > differences. On some (early) keyboards the 12 notes of the lowest > octave are not tuned chromatically but rather diatonically (to extend > the bass range). In the renaissance a few keyboards had two black keys > between the white keys (to handle different tuning systems). Now, > these are "architectural differences", not "implementation > differences" because they require changes to be made to the "sheet > music". With appropriate definitions and mode selection, it might have been possible to do a backward compatible implementation. > With these kinds of changes it becomes necessary to think of the > "keyboard" as a "base architecture" with different "model > architectures". The reason you must do this is because an > "implementation" is always the expression of an "architecture". > Changes such as removing odd address traps, address traps in general, > EAE vs EIS, FIS vs FPU and the like are "architectural differences" > not implementational differences, because they require alterations to > the "software". > Of course, there is a little bit of room to manouevre between > implementations of the architecture. But the latitude for these > "differences" must also be specified by the architecture. In the case > of the PDP-11 these "differences" were technology- or design-driven, > on a per-model basis, and thus it became necessary to restate the > architecture for each model. IBM had some model differences. Each model had a "Functional Characteristics" manual giving the model specific description. Much of that it timing, which is specifically left open in the architecture. The 360/91 floating point processor generates a rounded quotient, where the architecture specifies truncation. That is noted in the Functional Characteristics, as are other differences due to out of order execution. But there is extra logic in the 360/91 to allow for self-modifying code, in the case of prefetched instructions. > The "PDP-11 Architecture Handbook" you mention was a largely > retrospective document rather than the working definition of the > architecture that generated the models. The working descriptions of > the "architecture" are documents such as that I've cited, e.g. > EK-KDJ1E-UG-001_KDJ11-E_CPU_Module_Users_Guide_Jan91 at bitsavers. The published VAX Architecture manual is somewhat later, but presumably there was an internal working document earlier. > The VAX was much more like a "real architecture". There were > differences between VAXen but nothing like that seen on the PDP-11. > The VAX was released with a strong, definitive architectual > description. That document wasn't abstract or aspirational: it > specified the software machine. It didn't last quite as long as they may have hoped, but not so bad, either. > To say that the "PDP-11 Architecture Handbook" was the working > architecture for the PDP-11 reduces "architecture" to an aspirational > goal. An architecture needs to provide the working description of an > implementation. With the PDP-11 they had to fudge. The PDP-11 sits > half-way between the pre-architectural and the full-architectural > generations. > The problem, for me, with your definition of "implementation" is that > for a given model there is no complete specific architectural > description available that precedes the model. That's why I treat the > documents, such as the document cited above, as the technical > descriptions. As noted, that document begins with a chapter on the > architecture". (snip, much of it on the MMR registers) -- glen