Changes between Initial Version and Version 1 of Ticket #222, comment 5


Ignore:
Timestamp:
Jun 12, 2011, 12:55:07 PM (13 years ago)
Author:
rudi

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #222, comment 5

    initial v1  
    66{{{
    77
    8 inline unsigned __fstcw(void)
     8inline USHORT __fstcw(void)
    99{
    10     unsigned out;
     10    USHORT out;
    1111    asm ( "fstcw %0\n\t" : "=m" (out) : : );
    1212    return out;
    1313}
    1414
    15 inline void __fldcw(unsigned in)
     15inline void __fldcw(USHORT in)
    1616{
    1717    asm ( "fldcw %0\n\t" : : "m" (in) : );
    1818}
    1919
    20 #define __FPU_CW_SAVE           unsigned fcwState = __fstcw();
     20#define __FPU_CW_SAVE           USHORT fcwState = __fstcw();
    2121#define __FPU_CW_RESTORE        __fldcw(fcwState);
    2222