[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-i386: update fp status fix
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] target-i386: update fp status fix |
Date: |
Tue, 16 Sep 2014 10:14:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
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