Changeset e7b7be3f in mainline for kernel/arch/ia32/src/fpu_context.c
- Timestamp:
- 2007-01-22T13:10:08Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0f3fc9b
- Parents:
- 62c63fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/fpu_context.c
r62c63fc re7b7be3f 44 44 static void fpu_context_f_save(fpu_context_t *fctx) 45 45 { 46 __asm__volatile (46 asm volatile ( 47 47 "fnsave %0" 48 48 : "=m"(*fctx) … … 52 52 static void fpu_context_f_restore(fpu_context_t *fctx) 53 53 { 54 __asm__volatile (54 asm volatile ( 55 55 "frstor %0" 56 56 : "=m"(*fctx) … … 60 60 static void fpu_context_fx_save(fpu_context_t *fctx) 61 61 { 62 __asm__volatile (62 asm volatile ( 63 63 "fxsave %0" 64 64 : "=m"(*fctx) … … 68 68 static void fpu_context_fx_restore(fpu_context_t *fctx) 69 69 { 70 __asm__volatile (70 asm volatile ( 71 71 "fxrstor %0" 72 72 : "=m"(*fctx) … … 104 104 { 105 105 uint32_t help0 = 0, help1 = 0; 106 __asm__volatile (106 asm volatile ( 107 107 "fninit;\n" 108 108 "stmxcsr %0\n"
Note:
See TracChangeset
for help on using the changeset viewer.