From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.73.229 with SMTP id o5mr9016674pbv.7.1328450513913; Sun, 05 Feb 2012 06:01:53 -0800 (PST) Path: lh20ni263363pbb.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Sun, 05 Feb 2012 14:01:32 GMT Organization: Aioe.org NNTP Server Message-ID: <4f2f8abe.49497682@nntp.aioe.org> References: <4f215614.266356@nntp.aioe.org> <4f24a237$0$295$14726298@news.sunsite.dk> <4f2537ed.51306295@nntp.aioe.org> <4f28b73b$0$290$14726298@news.sunsite.dk> <4f291473.18988613@nntp.aioe.org> <4f2a3a1e.28631752@nntp.aioe.org> <4f2a8c5a.52418379@nntp.aioe.org> <4f2e5f77.65538828@nntp.aioe.org> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: CmgvwL3sOlojnxUjt8znzA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 1.5/32.451 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Sat, 4 Feb 2012 23:09:41 +0000 (UTC), glen herrmannsfeldt wrote: >In vmsnet.pdp-11 Johnny Billquist wrote: > >(snip) >>> I'm talking about the architecture: > >> But the J11 is not the architecture. It is a specific implementation. >> Thus, "undefined" does not make sense when we talk about the J11 >> specifically. "Undefined" is only meaningful when we talk about the >> architecture. > >I probably agree, but one might make a case the other way. > >> So, you using instructions, or behavior, that you claim are undefined, >> is to me an illegal use of the word "undefined". As it is only undefined >> for the architecture. Any implementation will have a defined behavior. > >Implementations might also have undefined behavior. If you clock a >J11 at 500MHz, its behavior is likely undefined. If you run it >outside any of the specifications, voltage, temperature, clock >rate, setup and hold times, etc., it is undefined. > >Many newer processors (or their support chips) have timing >based on the contents of registers, such that for some values >the operation is undefined. > >(snip) >>> You're talking about the implementation: > >> Right. And the 11/73 is a specific implementation, not an >> "architecture". The PDP-11 is the architecture. > >>> By "implementation" I mean the behavior of the actual machine. It may >>> have behaviors which are not part of the architecture or which are >>> specified by the architecture "undefined" or "unpredictable". >>> The implementation behavior may contain "don't care" states which are >>> not specified or defined by the architecture. > >> Right. But a specific implementation will have a deterministic >> behavior with regard to these details. Thus, it is not "undefined". > >Often, but not required. For one, minor changes may be made >within an implementation, small enough not to give it a >new number. Sometimes a die shrink is done that way. That may >change some timing that doesn't affect the operations as >defined, but might affect ones that either the architecture >or implementation left undefined. > >(snip) >> We in fact must. As Simh does not implement any PDP-11 based on the >> architecture, but instead just tries to simulate a number of existing >> implementations. > >As there isn't, as far as I know, a reference architecture >for the PDP-11. Even in system that do have a defined architecture, >they may change it. There are 11 different versions of the IBM >S/370 Principles of Operation, not to mention the many optional >features. Also, implementations of S/370 have optional features, >and so the use of those could be undefined. >>> The point depends on the distinction between "architecture" and >>> "implementation" made above... > >> I think you are using the term "architecture" wrong, if you think >> that a PDP-11/73 is an architecture. > >Probably. DEC defined an architecture for VAX, I have the book >that says so. If they didn't for the PDP-11, then it isn't so >obvious. We seem to have gotten into a tangle about words here, so I'm going back to the beginning. For me, the PDP-11 is not simply an "architecture" but rather a family of models whose model architectures share features of a common, evolving base architecture. As Glenn points out, there is no PDP-11 architecture specification as we have for the VAX. Each significant PDP-11 model is described separately. It's not possible to characterise differences between the significant PDP-11 models as "implementation differences". Memory Management was not part of the original architecture, but we can't call MMU an "implementation" difference. MMU "extends" the architecture. Likewise removing odd address traps is more than an implementation difference: it "alters" the architecture. FIS and FPU aren't implementation differences, they're architectural differences. Each significant model includes an architectural specification. The last of the PDP-11 models, the 11/9x KDJII-E CPU Module User Guide http://www.bitsavers.org/pdf/dec/pdp11/1193/ This user guide contains descriptions of the KDJ11-E CPU module architecture, configuration, system requirements, and programming. Chapter 1, titled "Architecture" and describes the 11/9x architecture. A later chapter describes the (common) "base instruction set". For me, the "implementation" is the hardware expression of an "architecture". An "implementation" doesn't create, extend or delete the architecture, it "implements" a written specification. I guess we're not going to agree on this point, so I offer an alternative, which I think would cover the points that Glenn (I think) and I are trying to make, and that is that we instead talk about the "(written) specification" and the "(hardware) actualization". In the example above the "KDJII-E CPU Module User Guide" and perhaps the related XXDP tests constitute the specification. The actual hardware is the actualization. The point that I, and I think Glenn, have been trying to make is that you can't accurately reverse engineer the specification from the actualization because the actualization may have behaviors which were left undefined by the specification, either implicitly or explicitly. Some of those behaviors may be deterministic, some may be "unpredictable" (the 11/9x programming differences section ends with an "unpredictable" case). My interest in undefined behavior is simple: it's the best kind of behavior to use in identifying emulators because there's less need for the emulation to slavishly follow the "actualized" behavior in such cases, giving my detection tests a greater chance of survival in that jungle out there. Ian