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.213.68 with SMTP id nq4mr11334531pbc.2.1328539516897; Mon, 06 Feb 2012 06:45:16 -0800 (PST) Path: lh20ni267119pbb.0!nntp.google.com!news2.google.com!goblin3!goblin.stu.neva.ru!news.cgarbs.de!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!eternal-september.org!feeder.eternal-september.org!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: Mon, 06 Feb 2012 15:45:13 +0100 Organization: Update Computer Club Message-ID: References: <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> <4f2f8abe.49497682@nntp.aioe.org> <4f2fd0bb.41653904@nntp.aioe.org> NNTP-Posting-Host: 2620:0:105f:b:462a:60ff:fefb:aad8 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1328539516 1005 2620:0:105f:b:462a:60ff:fefb:aad8 (6 Feb 2012 14:45:16 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 6 Feb 2012 14:45:16 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: <4f2fd0bb.41653904@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-02-06 14.50, paramucho wrote: > On Sun, 05 Feb 2012 16:31:03 +0100, Johnny Billquist > wrote: > >> On 2012-02-05 15:01, paramucho wrote: >>> >>> 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. >> >> Of course you can not reverse engineer the specification from the >> implementation. There is actually nothing that guarantees that the >> implementation actually fulfills the specification. >> What you can do is test the implementation to see what the actual >> behavior is, and if you want to simulate that machine, this is the final >> source of truth, no matter what a specification says. > > Yes, but *I'm* interested in the distinction between specified and > unspecified behaviors. Why? That is just a paper product? >>> Some of those behaviors may be deterministic, some may be >>> "unpredictable" (the 11/9x programming differences section ends with >>> an "unpredictable" case). >> >> I know that I've seen a table on differences between different >> implementations, but I can't find it in the KDJ11-E manual. So I can't >> check that right now. I know it's the the PDP11 Microprocessor Handbook, >> which covers the J11, but unfortunately my hard copy is far from me, and >> I can't find that handbook on bitsavers. :-( > > The 11/73 list is here: > > http://www.bitsavers.org/pdf/dec/pdp11/1173/KDJ11-A_UsersManual.pdf > > See appendix D of the 11/94 document for probably the last difference > list. It's more extensive, but harder to read. > > http://www.bitsavers.org/pdf/dec/pdp11/1194/EK-PDP94-MG-001_Sep90.pdf Ah! Thanks. It is the same document/list as in the PDP11 Microprocessor Handbook. Now I can at least look at it. But I cannot find the the 11/9x programming differences section with an "unpredictable case". What are you referring to? >>> 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. >> >> I think I understand what your interest is. My point being that if you >> take a real physical PDP-11/93, and you run tests on it, you will get >> one behavior. Anyone who implements a simulation of a PDP-11/93 should >> give the same results. That is what I've been saying the whole time, and >> I don't understand why you seem to claim that this would be wrong by the >> simulation. >> I claim that if a simulation of an 11/93 does not produce the same >> results, then it's a bug in the simulation, and one that (probably) >> should go away. > > That's a good summation of your view. From my where I stand your > position seems to describe a ideal world in which every difference > will be diligently found and corrected. I don't think that's the case > in the real world. Supnik's point is that the emulation is not exact: > > The model emulation in SimH is not perfect, which is why clever > software can detect it. Of course it is not exact. That would be equivalent to saying that there are no bugs in your program. I doubt even you would dare say that about anything you've written that is a bit complex. But that is not the same as claiming it will keep behavior around which is incompatible with the system it claims to be simulating. > There are limits to the exactness of an emulation. Perfection is not > the end goal. There are more important tasks. I think it's a bit much to claim the end goal of someone elses project. But I seem to remember Bob saying that the goal of Simh is to simulate existing systems as much as possible. > For me it's a case of looking at the real world. I see different kinds > of categories of behavior. Timing, as discussed, is clearly a low > probability for correction. Next up is unspecified behavior, as > discussed. The highest probability of correction is architecturally > defined behavior. My best shot is to multiply probabilities by running > multiple tests and to use tests with the lowest probability of > correction. "Unspecified behavior" is irrelevant. Simh has not been implemented according to some paper document, with the goal only to fulfill that specification. Simh tries to simulate existing specific implementations, as far as possible. Whatever a design document says is not what (as far as I understand) Simh cares about, tries to implement, or use as a reference. it's the actual machine that is the reference. Including all bugs and erratic behavior of that model. >> That's all I have to say on the topic. > > Thank goodness for that. I'm exhausted. Sorry for filling in some more on this thread, then. But I'm basically just reiterating what I've said. Except for the curious question about the documentation you mention, that I can't find. Johnny