Changeset b49f4ae in mainline for arch/ia32/src/fpu_context.c
- Timestamp:
- 2005-09-06T09:56:26Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50a4e25
- Parents:
- a5d1331
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/fpu_context.c
ra5d1331 rb49f4ae 34 34 void fpu_context_save(fpu_context_t *fctx) 35 35 { 36 }37 38 39 void fpu_context_restore(fpu_context_t *fctx)40 {41 if (THREAD==CPU->fpu_owner)42 reset_TS_flag();43 else {44 set_TS_flag();45 if (CPU->fpu_owner != NULL)46 (CPU->fpu_owner)->fpu_context_engaged=1;47 }48 }49 50 51 void fpu_lazy_context_save(fpu_context_t *fctx)52 {53 36 __asm__ volatile ( 54 37 "fnsave %0" … … 57 40 } 58 41 59 void fpu_lazy_context_restore(fpu_context_t *fctx) 42 43 void fpu_context_restore(fpu_context_t *fctx) 60 44 { 61 45 __asm__ volatile (
Note:
See TracChangeset
for help on using the changeset viewer.