Changeset 9c926f3 in mainline for arch/powerpc/src/fpu_context.c
- Timestamp:
- 2005-05-08T23:47:00Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 79f1f38f
- Parents:
- 0c47db1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/powerpc/src/fpu_context.c
r0c47db1 r9c926f3 31 31 #include <fpu_context.h> 32 32 33 void fpu_context_save( void)33 void fpu_context_save(fpu_context_t *fctx) 34 34 { 35 35 } 36 36 37 37 38 void fpu_context_restore( )38 void fpu_context_restore(fpu_context_t *fctx) 39 39 { 40 40 } 41 41 42 42 43 void fpu_lazy_context_save( )43 void fpu_lazy_context_save(fpu_context_t *fctx) 44 44 { 45 /*46 pushl %eax47 mov 8(%esp),%eax48 fxsave (%eax)49 popl %eax50 ret51 */52 45 } 53 46 54 void fpu_lazy_context_restore( )47 void fpu_lazy_context_restore(fpu_context_t *fctx) 55 48 { 56 /* 57 pushl %eax 58 mov 8(%esp),%eax 59 fxrstor (%eax) 60 popl %eax 61 ret 62 */ 49 63 50 }
Note:
See TracChangeset
for help on using the changeset viewer.