Ignore:
Timestamp:
Jul 18, 2017, 1:11:41 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
600d88d
Parents:
b2e1bded
git-author:
Sebastian Huber <sebastian.huber@…> (07/18/17 13:11:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/25/17 09:41:11)
Message:

sparc: Rename SPARC_USE_SAFE_FP_SUPPORT

Rename SPARC_USE_SAFE_FP_SUPPORT in SPARC_USE_SYNCHRONOUS_FP_SWITCH.
Update comment.

Update #3077.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/irq_asm.S

    rb2e1bded ra400d06f  
    2626#include <bspopts.h>
    2727
    28 #if SPARC_HAS_FPU == 1 && defined(SPARC_USE_SAFE_FP_SUPPORT)
     28#if defined(SPARC_USE_SYNCHRONOUS_FP_SWITCH)
    2929  #define FP_FRAME_OFFSET_FO_F1 (SPARC_MINIMUM_STACK_FRAME_SIZE + 0)
    3030  #define FP_FRAME_OFFSET_F2_F3 (FP_FRAME_OFFSET_FO_F1 + 8)
     
    653653        mov      0, %o1                 ! ISR level for _Thread_Do_dispatch()
    654654
    655 #if SPARC_HAS_FPU == 1 && defined(SPARC_USE_SAFE_FP_SUPPORT)
     655#if defined(SPARC_USE_SYNCHRONOUS_FP_SWITCH)
    656656        /* Test if we interrupted a floating point thread (PSR[EF] == 1) */
    657657        andcc   %l0, %l5, %g0
     
    732732         mov    %g6, %o0
    733733
    734 #if SPARC_HAS_FPU == 1 && defined(SPARC_USE_SAFE_FP_SUPPORT)
     734#if defined(SPARC_USE_SYNCHRONOUS_FP_SWITCH)
    735735thread_dispatch_done:
    736736#endif
Note: See TracChangeset for help on using the changeset viewer.