(Please CC replies to me - I'm not on the list) Geert Uytterhoeven wrote:
On Tue, 26 Oct 2004, Helen Faulkner wrote:
[...]
Does anyone know whether m68k uses the same encoding as one of these examples? What I am hoping is that m68k uses the same floating point encoding as one of the archs this code already works for, and that it's therefore only a matter of fixing the #if statements above to include the m68k case.Since both NeXT and Macintosh used m68k CPUs (as well as early Sun, SGI, and HP workstations), I guess 1 is the correct value.
Thanks very much Geert! Would the identifier for m68k be __m68k__ (I'm guessing)? ie do you think that if I changed the first #if to this:#if defined(sun)||defined(MIPSEB)||defined(IBMRS)||defined(HP)||defined(NeXT)||defined(mac)||defined(POWERPC)||defined(__m68k__)
# define FP1cpu #endif It would work? Thanks again, Helen