Il 15/09/2014 22:01, Richard Henderson ha scritto: >> > @@ -1006,6 +1006,7 @@ void helper_fstenv(CPUX86State *env, target_ulong >> > ptr, int data32) >> > cpu_stw_data(env, ptr + 10, 0); >> > cpu_stw_data(env, ptr + 12, 0); >> > } >> > + update_fp_status(env); >> > } > Why does this need to update status?
Ah, this is fstenv (I learnt about it today and misread it as frstenv...). The update_fd_status is needed in fldenv, and is missing from this patch. TeLeMan's suggestion is also good. Paolo