On 23 July 2014 16:04, Dmitry Poletaev <poletaev-q...@yandex.ru> wrote: > I'm understood. So, am I right?
Pretty much, except it's better to use the accessor functions get_float_exception_flags() and set_float_exception_flags(). > + if (env->fp_status.float_exception_flags & FPUS_IE) { > + val = 0x8000000000000000; Also this constant needs a "ULL" suffix or it won't build on 32 bit hosts. thanks -- PMM