--- In "Oguz Dilmac" <> wrote:
>
> Hi,
>
> I'm planning to use ts-7300 with RTAI for my multi task real time
program.
> I need floating point calculations as fast as possible. So I'm
> planning to use crunch compilers.
>
> Is there anyone out there who can share experiences using both RTAI
> and crunch engine?
> I noticed that crunch compiler are a bit problematic and hard to
> install. What if I embed my floating point operations as assembly?
>
> All the info,suggestion,etc. will be welcomed :)
One thing about using MaverickCrunch is that the floating point
registers are not currently saved/restore in the context switch
code. If you only have 1 thread using them, or use a mutex to ensure
only that 1 thread is using them simultaneously, you will be okay.
Alternatively, you can instrument the RTAI context switch code
yourself to save/restore the registers.
Also, be aware that when compiling with gcc MaverickCrunch support
float params will be passed in MaverickCrunch registers instead of
general purpose ARM registers (r0-r3) to subfunctions.
//Jesse Off
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|