Subject: Re: No PowerPC FPU back-end in gcc ?
To: Xavier HUMBERT <xavier@xavhome.fr.eu.org>
From: Simon Burge <simonb@wasabisystems.com>
List: port-macppc
Date: 06/29/2001 17:33:36
Xavier HUMBERT wrote:

> In message <20010620184159.770%87456@elvenhome.xavhome.fr.eu.org>,
> Xavier HUMBERT wrote:
> 
> I still have this problem.
> 
> > cc  -O2 -pipe -Werror -Wall -Wpointer-arith -Wmissing-prototypes
> >-Wno-uninitialized -Wno-main -msoft-float -I. -I../../../../arch
> >-I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DTRAP_PANICWAIT
> >-DNMBCLUSTERS="0x400" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Dmacppc  -c
> >../../../../arch/powerpc/powerpc/fpu.c
> > {standard input}: Assembler messages:
> > {standard input}:30: Error: Unrecognized opcode: `mtfsf'
> > {standard input}:50: Error: Unrecognized opcode: `mffs'
> > *** Error code 1
> 
> I rebuild egcs, with no success.

Those messages are coming from the assembler (built in
/usr/src/gnu/usr.bin/gas.new) and not egcs.  However, it appears that
both the assembler (in terms of those instructions) and that chunk of
kernel fpu code haven't changed in a long while...  I guess it can't
hurt to rebuild and install the assembler for a start though.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/