Changeset 3906 for branches/libc-0.6/src/emx/include
- Timestamp:
- Oct 24, 2014, 1:50:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/os2emx.h
r3839 r3906 13347 13347 13348 13348 13349 /* --------------------- FS Save/Load/Restoremacros ---------------------- */13350 13351 #if defined(INCL_FSMACROS) 13349 /* --------------------- Register preservation macros ---------------------- */ 13350 13351 #if defined(INCL_FSMACROS) || defined(INCL_PRESERVE_REGISTER_MACROS) 13352 13352 13353 13353 #ifndef FS_DISABLED … … 13364 13364 #endif 13365 13365 13366 #endif /* INCL_FSMACROS */13367 13368 #if defined(INCL_FPCWMACROS) 13369 13370 #ifndef F SCW_DISABLED13366 #endif /* INCL_FSMACROS || INCL_PRESERVE_REGISTER_MACROS */ 13367 13368 #if defined(INCL_FPCWMACROS) || defined(INCL_PRESERVE_REGISTER_MACROS) 13369 13370 #ifndef FPCW_DISABLED 13371 13371 #define FSCW_VAR() volatile unsigned __fpcw__; 13372 13372 #define FSCW_SAVE() __asm__ __volatile__ ("fnstcw %0;" : : "m" (__fpcw__) ) … … 13378 13378 #endif 13379 13379 13380 #endif /* INCL_FPCWMACROS */ 13380 #endif /* INCL_FPCWMACROS || INCL_PRESERVE_REGISTER_MACROS */ 13381 13382 #if defined(INCL_PRESERVE_REGISTER_MACROS) || (defined(INCL_FSMACROS) && defined(INCL_FPCWMACROS)) 13383 # define PRESERVE_REGS_SAVE_LOAD_SAFE() FS_VAR(); FSCW_VAR(); PRESERVE_REGS_SAVE_LOAD_SAFE_AGAIN() 13384 # define PRESERVE_REGS_SAVE_LOAD_SAFE_AGAIN() do { FS_SAVE_LOAD(); FSCW_SAVE(); } while (0) 13385 # define PRESERVE_REGS_RESTORE() do { FSCW_RESTORE(); FS_RESTORE(); } while (0) 13386 #endif 13387 13381 13388 13382 13389
Note:
See TracChangeset
for help on using the changeset viewer.