[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 1/2] softfloat: Enable run-time-confi
From: |
Peter Maydell |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 1/2] softfloat: Enable run-time-configurable meaning of signaling NaN bit |
Date: |
Mon, 4 Apr 2016 14:31:47 +0100 |
On 4 April 2016 at 14:21, Aleksandar Markovic
<address@hidden> wrote:
> B. arm - explicitely sets other fields of float_status,
> explicit invocation of set_snan_bit_is_one(0) added
We zero the float_status structs on reset, because they are earlier
in the CPUARMState structure than the 'features' field (and so the
memset() in arm_cpu_reset() will clear them). So you don't
need to explicitly zero a field like this. I expect the other
architectures are the same.
thanks
-- PMM