This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Don't know for sure, but it is well worth reading the Machine Dependent section of the GAS (as) info documentation. The assembler does support the 68040, and by tweeking some macros in the gcc build (config/m68k/m68k-none.h CPP_SPEC/CC1_SPEC/ASM_SPEC, which should be overridden in a platform specific .h file) it is possible to get gcc to invoke the assembler with flags which will reject illegal asm code for a particular CPU. Have fun Mark Mark S. Phillips ESN 742 2461 msp@nortel.co.uk Tel. +44 1279 402461 On Mon, 2 Jun 1997, Vitor M. F. Santos wrote: > Hi everyone, > > can anyone tell me to which extent are there incompatibilities > of code compiled for 68020+68881 to be run on a 68040? > I heard there were 7 instructions for the 68020+68881 > that are not compatible on the 68040, and 5 of them > were related to FPU operations. Is it really like this? > > The question is, how can I assure that code compiled > for a 68020+68881 platform will run without any problems > on a 68040 platform? Must I avoid the use of trigonometric > functions only, or is it more than that? > > Thanks in advance! > Best regards. > > --Vitor Santos > > > ---------------------------------------------------------- > Vitor M. F. Santos | > Universidade de Aveiro | Tel: +351 34 370828 > Dep. de Engenharia Mecanica | Fax: +351 34 370953 > Campus Universitario | E-mail: vitor@ua.pt > 3810 Aveiro * PORTUGAL | > ----------------------------------------------------------- > >