Subject: Re: fleqd? f0?
To: None <port-arm@NetBSD.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: port-arm
Date: 01/30/2008 20:03:06
On Wed, Jan 30, 2008 at 02:15:21PM +0000, Richard Earnshaw wrote:
> On Wed, 2008-01-30 at 13:16 +0100, Ignatios Souvatzis wrote:
> > I'm trying to compile clisp from pkgsrc (I want pkgmanager) on a Shark
> > (Strongarm).
> > 
> > /bin/sh ./libtool --mode=compile cc -x none -c vacall-arm.s
> >  cc -x none -c vacall-arm.s -o vacall-arm.o
> >  vacall-arm.s: Assembler messages:
> >  vacall-arm.s:3: Warning: ignoring redefinition of register alias 'sl'
> >  vacall-arm.s:4: Warning: ignoring redefinition of register alias 'fp'
> >  vacall-arm.s:5: Warning: ignoring redefinition of register alias 'ip'
> >  vacall-arm.s:6: Warning: ignoring redefinition of register alias 'sp'
> >  vacall-arm.s:7: Warning: ignoring redefinition of register alias 'lr'
> >  vacall-arm.s:8: Warning: ignoring redefinition of register alias 'pc'
> >  vacall-arm.s:77: Error: selected processor does not support `ldfeqs f0,[sp,#20]'
> >  vacall-arm.s:81: Error: selected processor does not support `ldfeqd f0,[sp,#20]'
> >  *** Error code 1
> > 
> > I very much home that  the first 6 are harmless, but...
> > 
> 
> Should be.
> 
> > What is ldfeqs/d and f0? Hardware floating point instructions from ancient
> > times? See below for the affected code.
> > 
> 
> It's an old FPA instruction (load single-precision floating-point value
> if Z flag is set in CPSR).

As I suspected. I marked the pkg as not for arm for the time being, until
I understand enough of the magic of that file. Apparently, it's 
assembler output from some ancient gcc (ca. 2.4.5) for RiscOS.

	-is