Changes between Version 2 and Version 3 of TBR/UserManual/Floating_Point_Support


Ignore:
Timestamp:
Jul 12, 2009, 4:37:17 AM (10 years ago)
Author:
Kptrs
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/Floating_Point_Support

    v2 v3  
    6969= RTEMS Library Build Support =
    7070
    71 =  =BSP Support==
    7271
     72Throughout the RTEMS kernel, actions are taken to support floating point, if either software or hardware floating point is defined to be available '''at the time of compilation of the RTEMS libraries'''. For example, from {{{threaddispatch.c</core> (edited here for simplification):
    7373
    74 ==Compiler Support==
     74 #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
     75    if ( executing->fp_context != NULL )
     76      _Context_Save_fp( &executing->fp_context );
     77 #endif
     78
     79    _Context_Switch( &executing->Registers, &heir->Registers );
     80
     81 #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
     82    if ( executing->fp_context != NULL )
     83      _Context_Restore_fp( &executing->fp_context );
     84 #endif
     85
     86Where do these definitions of floating point support come from?
     87= BSP Support =
     88
     89=  =Compiler Support==