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: Gary Thomas <gary at mlbassoc dot com>
- To: Matthieu dot GIRARDIN at fr dot thalesgroup dot com
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 18 Sep 2003 07:27:32 -0600
- Subject: Re: [ECOS] float powerpc instruction impossible ! please help me !
- Organization: MLB Associates
- References: <66CE949D18BCB249ABE8D9AF48C4F1CE94B183@helios.gnv.tcc.thomson-csf.com>
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