Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Patch to cache TLS in %fp7 to avoid _lwp_getprivate syscalls



jake.hamby%gmail.com@localhost (Jake Hamby) writes:

>As for the "tas" instruction, the Amiga hardware reference manual
>warns that the special read-modify-write cycle it generates is unsafe
>on the Amiga platform.

That refers to an 68000/68010 which use a special bus cycle for TAS
which is not supported by the hardware (in particular the chip bus).
Such a cycle would corrupt data.

68020 and higher use normal bus cycles. The warning has no meaning
for these processors.

So, TAS (or CAS/CAS2) are perfectly usuable in NetBSD code on the
Amiga platform. There is no need for an exception.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index