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

Re: [MiNT] MiNT on Coldfire



"Konrad Kokoszkiewicz" <draco@obta.uw.edu.pl> writes:

> I can't say I like this procedure (eventhough I am the author) because it
> does something that Motorola does not approve ("for future compatibility
> writes should not set these bits"). If there's some better way to
> differentiate 68030 and 68040, I am all ears.

You could try a 68040-only insn like move16 and check for the illegal
exception.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."