68020/68881 Anyone?
John Macdonald
jmm at eci386.uucp
Tue Oct 31 04:46:49 AEST 1989
In article <13 at bagend.UUCP> jan at bagend.UUCP (Jan Isley) writes:
>Now, wouldn't that be great? An 020/881 in our unix-pcs. If only ...
[...]
>I am neither a software or hardware gooroo, can't even spell it, but some
>preliminary questions come to mind for the gurus out there:
> Are there any *known* reasons why an 020/881 would present a problem
> hardware wise? I think this would be the easy part?
> Any 020/881 fatal code in the software?
There are a couple of major problems. The 68020 uses a different format
for exception stack frames, so there would need to be significant changes
in the kernel to handle this. The floating-point registers would have to
be saved as part of the process state. There are some difficult interactions
for handling intra-instruction traps - if a signal comes along at the wrong
time, you can't just fudge the stack frame, but have to use a trace trap to
continue to a proper instruction boundary before allowing the signal to be
processed. Existing programs/compilers might not be able to take advantage
of the 68881 (I have never looked to see whether the current setup implements
floating point as a subroutine library invoked by the compiler, or whether it
generates floating point instructions and simulates them in the kernel; if the
former, then adding a 68881 will only help if you rewrite the library and
relink the programs, if the latter, then the existing code should run without
change (except the saving FP regs as mentioned above).
Using a 68030 instead would have the same set of problems. In addition, to
*use* the internal mmu of the 68030 would add a lot of changes to the kernel;
it would probably be necessary to just run the 68030 with the mmu disabled
and use the existing memory management hardware (whatever it is) of the Unix-PC.
>The other really obvious question is, would you buy one? for how much?
>--
>jan at bagend {..gatech..}!bagend!jan (404)434-1335 voice at home
I would love to have the 3b1 run faster, but it sounds like a lot of work
to get running well. (I have done a port of System III from a 68000 to a
68020 before, although there were more differences that had to be accomodated
in the other conversion than would be required for the 3b1. In that
conversion, it was a different processor board that was being used, a different
mmu mechanism, and a different byte-order for accessing things on the bus.)
--
"Software and cathedrals are much the same - | John Macdonald
first we build them, then we pray" (Sam Redwine) | jmm at eci386
More information about the Unix-pc.general
mailing list