ts-7000
[Top] [All Lists]

Re: [ts-7000] Floating point

To:
Subject: Re: [ts-7000] Floating point
From: "Cliff Blackburn" <>
Date: Mon, 27 Mar 2006 13:33:12 -0800 (PST)
I see GCC 4 series of compilers has support for the mavrikcrunch math
engine on the ep93xx cirrus processors. I have wanted to try and see if it
was possible to get hardware floating point to work but havn't had time.

If somebody out there has tried this I would like to hear their results.

I was able to apt-get the libfloat package and compile using -msoftfloat,
I'm not sure but this may help. I understand when there is no hardware
floating point available, compiling with softfloat will give a decent
speed increase over capturing invalid instructions in the kernel and
processing them. So it may be a better idea to do it this way anyway.

Cliff B

> Hi
>
> I had the same trouble but it was only the the strtod() function that
> cause the problem (garbage in the convertion).
>
> I think its a problem in the stdlib library.
>
> Anyway, to solve the trouble I simply add my own strtodouble() function
> (found the code somewhere actually).
>
> Bye
>
> Etienne
>
> On Sat, 2006-03-25 at 00:44 +0000, Yan Seiner wrote:
>> Has anyone worked with floating point on this board?  I am
>> experiencing some problems - getting garbage and segfaults while
>> using floating point math - and I want to eliminate the kernel
>> emulation code as a possible source.
>>
>> I doubt it is the kernel code, but I want to make sure....
>>
>> --Yan
>>
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU