This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: float powerpc instruction impossible ! please help me !
- From: Matthieu dot GIRARDIN at fr dot thalesgroup dot com
- To: gary at mlbassoc dot com, ecos-discuss at sources dot redhat dot com
- Date: Thu, 18 Sep 2003 15:32:58 +0200
- Subject: RE: [ECOS] float powerpc instruction impossible ! please help me !
-----Message d'origine-----
De : Gary Thomas [mailto:gary@mlbassoc.com]
Envoye : jeudi 18 septembre 2003 15:28
A : Matthieu.GIRARDIN@fr.thalesgroup.com
Cc : eCos Discussion
Objet : Re: [ECOS] float powerpc instruction impossible ! please help me
!
On Thu, 2003-09-18 at 07:21, Matthieu.GIRARDIN@fr.thalesgroup.com wrote:
> Hi again everybody !
>
> I'have a problem :
>
> First, before any comments, my board is working well (under other time
real
> system like Psos).
> Now, i am working on a power pc target mpc860 WITHOUT float hardware
support
> ( there aren't registers like f0 ... ).
> So, as for your mbx target, I specified in global compiler and linker
flags
> the option -msoft-float. Until now, it's very logical.
>
> But, when I load my elf file and debug it, there is no problem at all
until
> I try to use the div() function as I saw.
> The compilator (powerpc-eabi-gcc) and your inline codes traduced it with
lfd
> powerpc instruction.
>
> I made some different tests but it's always the same thing. So I'm
completly
> lost. With float instructions (as lfd) in the elf,
> it's impossible to do it working.
>
> Why do you think about it ? Is it a thing you already seen ?
What version of GCC are you using? Where did you get it?
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss