public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] float powerpc instruction impossible ! please help me !
@ 2003-09-18 13:21 Matthieu.GIRARDIN
  2003-09-18 13:27 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Matthieu.GIRARDIN @ 2003-09-18 13:21 UTC (permalink / raw)
  To: ecos-discuss

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 ?


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] float powerpc instruction impossible ! please help me !
  2003-09-18 13:21 [ECOS] float powerpc instruction impossible ! please help me ! Matthieu.GIRARDIN
@ 2003-09-18 13:27 ` Gary Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2003-09-18 13:27 UTC (permalink / raw)
  To: Matthieu.GIRARDIN; +Cc: eCos Discussion

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] float powerpc instruction impossible ! please help me  !
@ 2003-09-18 13:39 Matthieu.GIRARDIN
  0 siblings, 0 replies; 4+ messages in thread
From: Matthieu.GIRARDIN @ 2003-09-18 13:39 UTC (permalink / raw)
  To: ecos-discuss

Sorry for the last mail without message :

I'm using the powerpc-eabi-gcc that was delivered with eCos 2.0.



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] float powerpc instruction impossible ! please help me  !
@ 2003-09-18 13:33 Matthieu.GIRARDIN
  0 siblings, 0 replies; 4+ messages in thread
From: Matthieu.GIRARDIN @ 2003-09-18 13:33 UTC (permalink / raw)
  To: gary, ecos-discuss



-----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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-18 13:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-18 13:21 [ECOS] float powerpc instruction impossible ! please help me ! Matthieu.GIRARDIN
2003-09-18 13:27 ` Gary Thomas
2003-09-18 13:33 Matthieu.GIRARDIN
2003-09-18 13:39 Matthieu.GIRARDIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).