From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an4bw-0007ZT-SA for qemu-devel@nongnu.org; Mon, 04 Apr 2016 09:32:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1an4bv-00066z-Cd for qemu-devel@nongnu.org; Mon, 04 Apr 2016 09:32:08 -0400 Received: from mail-vk0-x234.google.com ([2607:f8b0:400c:c05::234]:36343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an4bv-00066g-8M for qemu-devel@nongnu.org; Mon, 04 Apr 2016 09:32:07 -0400 Received: by mail-vk0-x234.google.com with SMTP id c4so53985815vkb.3 for ; Mon, 04 Apr 2016 06:32:07 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1458910214-12239-1-git-send-email-aleksandar.markovic@rt-rk.com> <1458910214-12239-2-git-send-email-aleksandar.markovic@rt-rk.com> <56F9A3D1.2050402@twiddle.net> From: Peter Maydell Date: Mon, 4 Apr 2016 14:31:47 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 1/2] softfloat: Enable run-time-configurable meaning of signaling NaN bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aleksandar Markovic Cc: "ehabkost@redhat.com" , "kbastian@mail.uni-paderborn.de" , "mark.cave-ayland@ilande.co.uk" , "agraf@suse.de" , "qemu-devel@nongnu.org" , "blauwirbel@gmail.com" , "jcmvbkbc@gmail.com" , Miodrag Dinic , "qemu-arm@nongnu.org" , "qemu-ppc@nongnu.org" , Petar Jovanovic , "pbonzini@redhat.com" , "edgar.iglesias@gmail.com" , "proljc@gmail.com" , "gxt@mprc.pku.edu.cn" , Leon Alrae , "afaerber@suse.de" , "aurelien@aurel32.net" , Richard Henderson On 4 April 2016 at 14:21, Aleksandar Markovic 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