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

Re: buildd failure for m68k - floating point encoding?



On Tue, 26 Oct 2004, Helen Faulkner wrote:
> 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?

No, it should be __mc68000__.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



Reply to: