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 ro10mr5581763pbc.6.1328107506618; Wed, 01 Feb 2012 06:45:06 -0800 (PST) MIME-Version: 1.0 Path: lh20ni248762pbb.0!nntp.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe14.iad.POSTED!aa923de6!not-for-mail Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec From: stan Subject: Re: PDP11 Values from MFPT References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> <4f20c6e3$0$284$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> User-Agent: slrn/0.9.8.1pl1 (Linux) Message-ID: X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Wed, 01 Feb 2012 14:45:06 UTC Organization: TeraNews.com Date: Wed, 1 Feb 2012 09:43:36 -0500 paramucho wrote: > On Wed, 01 Feb 2012 12:48:42 +0100, Johnny Billquist > wrote: >>On 2012-02-01 12:22, paramucho wrote: >>> On Tue, 31 Jan 2012 22:53:32 -0500, "Jerome H. Fine" >>> wrote: >>> >>> >>I think a bigger reason that it's not ideal is that at least Bob Supnik >>have the explicitly stated goal that it should not work. Any current >>differences from the real machine are bugs, and are subject to be fixed >>at any time, at which point the test wont work anymore. > > That's not exactly what was stated. Without wishing to put words into > anyone's mouth, BobS wrote this: > > The model emulation in SimH is not perfect, which is why clever > software can detect it. But the intent is to mimic real systems. > SimH is not a "different" PDP11. > > And what I wrote earlier was this: > > The trick was to find some "undefined" behavior that didn't need > correction. The code above gets different results from an F11 and a > J11 as well as from SimH and E11. The test is far from ideal, but it > works well enough for my purposes. > > My point being, that I'm not sure that the behavior I'm using needs to > be "corrected" in the sense that I'm not sure it's actually "defined". > I'm not even sure that the behavior I'm using can be corrected without > a considerable effort. (One reason I'm not sure is that I wrote the > code years ago and I've forgotten whether the result values could be > computed or would need to be (at least partially) enumerated). Seems like a distinction without a difference. Changing behavior with a purpose (correcting) and changing undefined behavior with or without a purpose seems to have the same result. I would agree the risk of a relatively mature simulator changing significantly seems acceptable, but relying on undefined behavior is still building your house on sand. In the back of my mind I have warning bells going off screaming "how hard will this be to debug if the undefined behavior changes?"