[GSOC] How to enable floating point? (Deb)
joel.sherrill at OARcorp.com
Mon Jun 25 14:11:43 UTC 2012
On 06/25/2012 02:33 AM, Sebastian Huber wrote:
> You have to set the floating point attribute in rtems_task_create(). For the
> initialization task use CONFIGURE_INIT_TASK_ATTRIBUTES.
Just to add a bit for Deb.
This is a feature of Classic API tasks. If you do not want to use FP
then it speeds up the context switch.
For POSIX threads, the default is to enable the FPU since POSIX does not
> On 06/25/2012 03:03 AM, Xiaochen Pan wrote:
>> I got this message when running some code:
>> Unexpected trap ( 4) at address 0x020051EC
>> fp disabled
>> It says floating point being disabled. Can I enable floating point operation?
>> Does this property apply to all BSPs? What I can do about it?
>> rtems-devel mailing list
>> rtems-devel at rtems.org
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel