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]

68020-68040 bin (in)compatibility...?


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       |
-----------------------------------------------------------