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.227.40 with SMTP id rx8mr9054843pbc.5.1328452033316; Sun, 05 Feb 2012 06:27:13 -0800 (PST) Path: lh20ni263425pbb.0!nntp.google.com!news1.google.com!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Sun, 05 Feb 2012 15:27:11 +0100 Organization: Update Computer Club Message-ID: References: <4f12e49d$0$295$14726298@news.sunsite.dk> <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> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1328452032 30637 178.83.31.172 (5 Feb 2012 14:27:12 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Sun, 5 Feb 2012 14:27:12 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20120129 Thunderbird/10.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-02-05 00:09, 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. Gha! Yes, if you put 500 volts on the CPU, the behavior 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. True. If you go outside of the specifications, then behavior becomes undefined. But at that point, it generally also becomes useless, since normal operation in general cease to be. >>> 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. Hmm. Good point. There is such a case for the J11 in fact. Early models can't go as high in frequency, and the FPA is not possible to use. Not sure if it has any user-visible effects, though. Another one is (for some machines), microcode updates. The most known (to me) being the VAX-11/750, which have some bugs in the microcode, which VMS, Ultrix and NetBSD all patch at boot time. That is definitely some user-visible change to the CPU by patching the microcode. However, I believe this is more of fixing bugs rather than doing something undefined in different ways. And of course, a true simulation should handle it the same way as the real machine. >> 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. I believe that the processor handbooks are the architecture reference for the PDP-11. > As I previously mentioned, S/370 has a "diagnose" instruction, > specifically defined to have undefined properties, including the > reporting of faults in the machine. Some might be documented for > the specific implementation, but not all. Some PDP-11 models also have diagnose instructions that are very specific to the model. It is very undefined for the architecture, but for a specific model, it is very defined. >>> 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. For the VAX, DEC produced the very obviously named VARM (VAX Architecture Reference Manual), which outlines the architecture. For the PDP-11 I know of no such named manual with the same status. I believe that the processor handbooks in general fulfill that role. I don't know of any of them giving contradictory information, but later ones have extensions that didn't exist when the earlier were printed. Some of the last ones also have tables describing the differences in actual implementations, which goes beyond the architecture, which just says it's undefined. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol