ts-7000
[Top] [All Lists]

[ts-7000] Re: ts7300 crunch RTAI

To:
Subject: [ts-7000] Re: ts7300 crunch RTAI
From: "Jesse Off" <>
Date: Tue, 17 Oct 2006 15:30:28 -0000
--- 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/
 

<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