From: Johnny Billquist <bqt@softjar.se>
Subject: Re: PDP11 Values from MFPT
Date: Sun, 05 Feb 2012 16:31:03 +0100 [thread overview]
Message-ID: <jgm7bo$v48$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <4f2f8abe.49497682@nntp.aioe.org>
On 2012-02-05 15:01, paramucho wrote:
>
> 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.
Of course I disagree. That is what the PDP-11 processor manuals are.
Take the PDP-11 Processor Handbook from 1979 for example
(http://www.bitsavers.org/pdf/dec/pdp11/handbooks/PDP11_Handbook1979.pdf)
It covers the PDP-11/04/34a/44/60/70.
Those are all significant models.
But you have one handbook which describes the PDP-11. And then you have
separate chapters in that book which covers specific differences of that
implementation compared to the basic PDP-11 architecture.
> 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.
Yes, I'd agree it extends the basic architecture. Just as EIS does.
> 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.
Not having odd address traps is something I consider a deviation from
the architecture, not a new architecture.
And for floating points, they are two different options. Two different
extensions. They extend the architecture in two different ways. I don't
consider them to be something that defines a new architecture.
> 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.
The architecture for that module. Yes, it is a different use of the word
"architecture". You also have a processor handbook for the J11, which is
not specific for the 11/53/73/83/84/93/94.
Would you call the J11 a different architecture than the PDP-11/93?
> 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.
The implementation of an architecture very well can have differences
from the architecture itself. This is easier to exemplify with the VAX,
where you have the VARM. There is not a single VAX that implements VARM
100%. They all have deviations, extensions, deletions, and whatnot. But
they still follow the VARM as much as possible, and deviate within
acceptable limits to still pass the definition as being a VAX.
VARM formally acknowledge this and lists instructions and features that
are "mandatory" and others that are "optional" in different subgroups.
I don't see the PDP-11 to be any different. There are PDP-11s without
EIS, and there are those with. There are those without MMU, and those
with. The ones with still have a few different variations. But within
those variants, there are certain things they are required to handle to
be said to follow the architecture. An implementation that follows those
requirements can be expected to be able to run PDP-11 software that make
use of it.
But even after all this, there are implementation differences.
Differences that mostly are irrelevant and not affecting anything, but
which in the architecture are undefined. However, each implementation
will have a defined behavior.
> 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.
I think that is backwards. I believe the XXDP tests are written to test
what they know, not what they expected. Ie. XXDP tests were not written
in advance, to test what they had designed on paper, but written after
the hardware existed, to test what they actually had. As such, XXDP is a
poor source for any specification. But a good test for actual machines,
within the limits of what they test.
The KDJ11-E Module User Guide is also not a specification. It's a manual
created from the sources of design docs, drawings and other sources. As
such, it is a manual produced to accompany the module to the customer,
and was not at any stage a source for the actual implementation of the
module.
> 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.
> 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. :-(
> 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 all I have to say on the topic.
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
next prev parent reply other threads:[~2012-02-05 15:31 UTC|newest]
Thread overview: 222+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 14:37 PDP11 Values from MFPT Jerome H. Fine
2012-01-18 6:03 ` paramucho
2012-01-18 11:28 ` Johnny Billquist
2012-01-18 13:05 ` glen herrmannsfeldt
2012-01-18 13:26 ` Johnny Billquist
2012-01-26 3:24 ` Jerome H. Fine
2012-01-26 13:38 ` Johnny Billquist
2012-01-29 1:32 ` Jerome H. Fine
2012-01-29 1:43 ` Johnny Billquist
2012-01-26 3:23 ` Jerome H. Fine
2012-01-18 16:02 ` paramucho
2012-01-18 18:12 ` Johnny Billquist
2012-01-19 14:30 ` paramucho
2012-01-19 16:42 ` Johnny Billquist
2012-01-19 20:32 ` glen herrmannsfeldt
2012-01-20 13:32 ` paramucho
2012-01-20 13:29 ` paramucho
2012-01-20 16:48 ` Johnny Billquist
2012-01-21 12:25 ` paramucho
2012-01-21 20:15 ` Johnny Billquist
2012-01-26 3:25 ` Jerome H. Fine
2012-01-26 6:09 ` paramucho
2012-01-26 6:30 ` paramucho
2012-01-26 13:50 ` Johnny Billquist
2012-01-29 1:52 ` Jerome H. Fine
2012-01-29 2:08 ` Johnny Billquist
2012-01-26 13:48 ` Johnny Billquist
2012-01-26 13:46 ` Johnny Billquist
2012-01-29 1:35 ` Jerome H. Fine
2012-01-18 12:41 ` glen herrmannsfeldt
2012-01-18 13:18 ` Johnny Billquist
2012-01-18 14:28 ` glen herrmannsfeldt
2012-01-18 15:14 ` Johnny Billquist
2012-01-18 21:54 ` glen herrmannsfeldt
2012-01-18 22:32 ` Al Kossow
2012-01-19 0:22 ` Johnny Billquist
2012-01-19 1:30 ` glen herrmannsfeldt
2012-01-19 14:32 ` Bob Koehler
2012-01-19 16:45 ` Johnny Billquist
2012-01-20 17:55 ` Bob Koehler
2012-01-20 18:38 ` Bill Gunshannon
2012-01-18 16:25 ` paramucho
2012-01-18 18:00 ` Johnny Billquist
2012-01-19 14:25 ` paramucho
2012-01-19 16:50 ` Johnny Billquist
2012-01-20 13:32 ` paramucho
2012-01-20 16:54 ` Johnny Billquist
2012-01-21 13:16 ` paramucho
2012-01-21 13:58 ` Bob Eager
2012-01-21 20:02 ` Johnny Billquist
2012-01-22 11:59 ` Johnny Billquist
2012-01-22 14:03 ` paramucho
2012-01-22 16:15 ` Johnny Billquist
2012-01-23 4:14 ` paramucho
2012-01-18 13:20 ` Bob Eager
2012-01-19 14:29 ` Bob Koehler
2012-01-21 12:44 ` Tim Shoppa
2012-01-21 13:50 ` paramucho
2012-01-22 16:56 ` Tim Shoppa
2012-01-22 18:11 ` glen herrmannsfeldt
2012-01-23 3:52 ` paramucho
2012-01-21 14:25 ` glen herrmannsfeldt
2012-01-21 16:46 ` Bob Eager
2012-01-25 22:12 ` Tim Shoppa
2012-01-26 3:22 ` Jerome H. Fine
2012-01-26 13:46 ` paramucho
2012-01-29 1:34 ` Jerome H. Fine
2012-01-29 15:46 ` paramucho
2012-02-01 3:53 ` Jerome H. Fine
2012-02-01 11:22 ` paramucho
2012-02-01 11:48 ` Johnny Billquist
2012-02-01 13:48 ` paramucho
2012-02-01 14:43 ` stan
2012-02-01 16:37 ` paramucho
2012-02-01 18:05 ` stan
2012-02-02 2:24 ` Jerome H. Fine
2012-02-02 0:14 ` Johnny Billquist
2012-02-02 2:25 ` Jerome H. Fine
2012-02-02 9:29 ` Johnny Billquist
2012-02-02 18:52 ` glen herrmannsfeldt
2012-02-03 0:12 ` Johnny Billquist
2012-02-03 4:07 ` Jerome H. Fine
2012-02-03 14:15 ` Johnny Billquist
2012-02-03 15:00 ` paramucho
2012-02-02 13:31 ` paramucho
2012-02-02 19:07 ` glen herrmannsfeldt
2012-02-03 0:16 ` Johnny Billquist
2012-02-03 4:23 ` glen herrmannsfeldt
2012-02-03 12:01 ` Johnny Billquist
2012-02-03 15:36 ` Joe Oswald
2012-02-07 10:46 ` Johnny Billquist
2012-02-03 4:29 ` Jerome H. Fine
2012-02-03 12:50 ` Bill Gunshannon
2012-02-04 8:42 ` Charles Richmond
2012-02-04 13:38 ` paramucho
2012-02-04 16:03 ` Bill Gunshannon
2012-02-04 16:39 ` paramucho
2012-02-03 10:48 ` paramucho
2012-02-03 11:24 ` Johnny Billquist
2012-02-04 17:06 ` paramucho
2012-02-04 18:22 ` paramucho
2012-02-04 18:55 ` Johnny Billquist
2012-02-04 19:13 ` Bill Gunshannon
2012-02-05 13:28 ` Johnny Billquist
2012-02-05 18:15 ` glen herrmannsfeldt
2012-02-04 18:51 ` Johnny Billquist
2012-02-04 23:09 ` glen herrmannsfeldt
2012-02-05 14:01 ` paramucho
2012-02-05 15:31 ` Johnny Billquist [this message]
2012-02-06 13:50 ` paramucho
2012-02-06 14:45 ` Johnny Billquist
2012-02-06 14:58 ` paramucho
2012-02-06 16:25 ` Johnny Billquist
2012-02-05 14:27 ` Johnny Billquist
2012-02-05 13:57 ` paramucho
2012-02-05 15:44 ` Johnny Billquist
2012-02-06 13:51 ` paramucho
2012-02-06 14:56 ` Johnny Billquist
2012-02-06 16:40 ` Johnny Billquist
2012-02-07 14:50 ` paramucho
2012-02-07 16:20 ` Johnny Billquist
2012-02-08 13:34 ` paramucho
2012-02-08 16:03 ` Johnny Billquist
2012-02-08 16:58 ` paramucho
2012-02-08 22:29 ` Johnny Billquist
2012-02-10 13:12 ` paramucho
2012-02-10 19:20 ` glen herrmannsfeldt
2012-02-11 13:12 ` paramucho
2012-02-11 20:06 ` glen herrmannsfeldt
2012-02-11 20:23 ` Johnny Billquist
2012-02-10 19:29 ` Johnny Billquist
2012-02-11 13:15 ` paramucho
2012-02-11 21:09 ` Johnny Billquist
2012-02-12 17:23 ` paramucho
2012-02-12 18:35 ` paramucho
2012-02-13 17:30 ` paramucho
2012-02-14 13:14 ` Johnny Billquist
2012-02-14 16:20 ` paramucho
2012-02-14 17:30 ` Johnny Billquist
2012-02-13 23:18 ` Johnny Billquist
2012-02-14 16:20 ` paramucho
2012-02-14 17:47 ` Johnny Billquist
2012-02-14 18:17 ` paramucho
2012-02-14 19:54 ` Johnny Billquist
2012-02-15 12:58 ` paramucho
2012-02-15 17:12 ` Johnny Billquist
2012-02-16 13:54 ` paramucho
2012-02-16 20:15 ` Johnny Billquist
2012-02-17 12:41 ` paramucho
2012-02-17 17:13 ` Johnny Billquist
2012-02-18 11:24 ` Johnny Billquist
2012-02-18 14:28 ` paramucho
2012-02-18 20:07 ` Johnny Billquist
2012-02-18 11:55 ` paramucho
2012-02-18 20:58 ` Johnny Billquist
2012-02-20 2:29 ` Jerome H. Fine
2012-02-20 5:54 ` paramucho
2012-02-20 17:14 ` Jerome H. Fine
2012-02-20 18:05 ` Johnny Billquist
2012-02-21 6:16 ` paramucho
2012-02-21 17:38 ` Jerome H. Fine
2012-02-21 19:31 ` Johnny Billquist
2012-02-20 5:53 ` paramucho
2012-02-20 10:28 ` Johnny Billquist
2012-02-21 3:33 ` Jerome H. Fine
2012-02-21 6:17 ` paramucho
2012-02-21 10:23 ` Johnny Billquist
2012-02-21 11:37 ` paramucho
2012-02-21 14:16 ` Johnny Billquist
2012-02-21 16:42 ` paramucho
2012-02-21 19:43 ` Johnny Billquist
2012-02-22 12:21 ` paramucho
2012-02-22 14:12 ` paramucho
2012-02-22 15:26 ` Johnny Billquist
2012-02-22 14:33 ` paramucho
2012-02-22 15:53 ` Johnny Billquist
2012-02-22 16:48 ` paramucho
2012-02-22 21:17 ` Johnny Billquist
2012-02-23 12:42 ` paramucho
2012-02-23 13:51 ` paramucho
2012-02-23 15:17 ` Johnny Billquist
2012-02-20 2:22 ` Jerome H. Fine
2012-02-20 6:07 ` paramucho
2012-02-21 3:29 ` Jerome H. Fine
2012-02-21 8:06 ` paramucho
2012-02-21 10:38 ` Johnny Billquist
2012-02-21 11:54 ` paramucho
2012-02-21 14:20 ` Johnny Billquist
2012-02-21 15:13 ` paramucho
2012-02-21 15:20 ` Johnny Billquist
2012-02-22 2:51 ` Jerome H. Fine
2012-02-22 6:37 ` paramucho
2012-01-18 11:20 ` Johnny Billquist
2012-01-26 3:21 ` Jerome H. Fine
2012-01-26 14:12 ` Johnny Billquist
2012-01-26 15:26 ` paramucho
2012-01-29 1:41 ` Jerome H. Fine
2012-01-29 2:04 ` Johnny Billquist
2012-01-29 2:31 ` Johnny Billquist
2012-01-29 1:39 ` Jerome H. Fine
2012-01-29 1:45 ` Johnny Billquist
2012-01-30 2:21 ` Bob Supnik
2012-01-31 7:14 ` paramucho
2012-01-31 9:42 ` Johnny Billquist
2012-01-31 14:24 ` Bill Gunshannon
2012-01-31 20:17 ` Johnny Billquist
2012-01-31 21:39 ` Bill Gunshannon
2012-01-31 23:43 ` glen herrmannsfeldt
2012-02-01 3:56 ` Jerome H. Fine
2012-02-01 11:53 ` Johnny Billquist
2012-02-01 13:48 ` paramucho
2012-02-02 0:20 ` Johnny Billquist
2012-02-02 2:22 ` Jerome H. Fine
2012-02-01 12:14 ` Johnny Billquist
2012-02-01 16:27 ` glen herrmannsfeldt
2012-02-01 5:28 ` Charles Richmond
2012-02-01 11:54 ` Johnny Billquist
2012-02-01 3:55 ` Jerome H. Fine
2012-02-01 11:22 ` paramucho
2012-02-01 12:03 ` Johnny Billquist
2012-02-01 3:54 ` Jerome H. Fine
2012-02-01 12:09 ` Johnny Billquist
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox