Revision 1a9353d2 op-i386.c

b/op-i386.c
2085 2085
    fesetround(rnd_type);
2086 2086
}
2087 2087

  
2088
void OPPROTO op_fclex(void)
2089
{
2090
    env->fpus &= 0x7f00;
2091
}
2092

  
2093
void OPPROTO op_fninit(void)
2094
{
2095
    env->fpus = 0;
2096
    env->fpstt = 0;
2097
    env->fpuc = 0x37f;
2098
    env->fptags[0] = 1;
2099
    env->fptags[1] = 1;
2100
    env->fptags[2] = 1;
2101
    env->fptags[3] = 1;
2102
    env->fptags[4] = 1;
2103
    env->fptags[5] = 1;
2104
    env->fptags[6] = 1;
2105
    env->fptags[7] = 1;
2106
}

Also available in: Unified diff