[comp.sys.amiga] MC68040 compatibility

Chuck.Phillips@FtCollins.NCR.COM (Chuck.Phillips) (07/06/90)

>>>>> On 5 Jul 90 17:05:54 GMT, daveh@cbmvax.commodore.com (Dave Haynie) said:
Dave> The "while" for software to become 68020/30 compatible has passed.  We 
Dave> shipped 68020 systems almost two years ago.  Most of the guidelines for
Dave> 680x0 compatibility have been in place since the beginning of Amiga-time,
Dave> and I did a complete analysis of this at the Washington DC DevCon in the
Dave> spring of '88.

Here, here!  Question: Have guidelines for MC68040 compatibility been
published?  The MC68040 carries some additional restrictions compared to
the 020 and 030; a few instructions have been dropped and there are new
restrictions on instruction (data?) alignment.

Also, could one expect normal (no dirty tricks) C code to run on an 040
based Amiga if compiled using the most recent Lattice or Manx C compilers?

	Thanks in advance,
--
Chuck Phillips  MS440
NCR Microelectronics 			Chuck.Phillips%FtCollins.NCR.com
Ft. Collins, CO.  80525   		uunet!ncrlnk!ncr-mpd!bach!chuckp

valentin@cbmvax.commodore.com (Valentin Pepelea) (07/07/90)

In article <CHUCK.PHILLIPS.90Jul6110834@halley.FtCollins.NCR.COM>
Chuck.Phillips@FtCollins.NCR.COM (Chuck.Phillips) writes:
>
>Here, here!  Question: Have guidelines for MC68040 compatibility been
>published?  The MC68040 carries some additional restrictions compared to
>the 020 and 030; a few instructions have been dropped and there are new
>restrictions on instruction (data?) alignment.

The same restrictions apply to 68040-friendly code as to 68030-friendly code.
Useage of self-modifying code is going to fail more frequently on the '040
since it has a much larger internal cache. Otherwise, there are no new
gotchas.

Valentin
-- 
The Goddess of democracy? "The tyrants     Name:    Valentin Pepelea
may distroy a statue,  but they cannot     Phone:   (215) 431-9327
kill a god."                               UseNet:  cbmvax!valentin@uunet.uu.net
             - Ancient Chinese Proverb     Claimer: I not Commodore spokesman be