From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an75a-0001qz-Bo for qemu-devel@nongnu.org; Mon, 04 Apr 2016 12:10:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1an75V-0002qy-9Z for qemu-devel@nongnu.org; Mon, 04 Apr 2016 12:10:54 -0400 References: <1458910214-12239-1-git-send-email-aleksandar.markovic@rt-rk.com> <1458910214-12239-2-git-send-email-aleksandar.markovic@rt-rk.com> <56FEC5D1.8020908@imgtec.com> From: Leon Alrae Message-ID: <570291F0.1010108@imgtec.com> Date: Mon, 4 Apr 2016 17:10:24 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable 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 , Aleksandar Markovic , "qemu-devel@nongnu.org" Cc: "peter.maydell@linaro.org" , "ehabkost@redhat.com" , "kbastian@mail.uni-paderborn.de" , "rth@twiddle.net" , "mark.cave-ayland@ilande.co.uk" , "agraf@suse.de" , Petar Jovanovic , "blauwirbel@gmail.com" , "jcmvbkbc@gmail.com" , Miodrag Dinic , "qemu-arm@nongnu.org" , "qemu-ppc@nongnu.org" , "pbonzini@redhat.com" , "edgar.iglesias@gmail.com" , "gxt@mprc.pku.edu.cn" , "afaerber@suse.de" , "aurelien@aurel32.net" , "proljc@gmail.com" On 03/04/16 15:25, Aleksandar Markovic wrote: > It just seems to me that, in similar case, 16-bit default NaN value sho= uld be 0x7E00. This value is needed for MSA operations. ("MIPS Architectu= re for Programmers Volume IV-j: The MIPS32=AE SIMD Architecture Module", = Revision 1.12, (february 3, 2016), page 52, table 3.7 "Default NaN Encodi= ngs") >=20 > I plan to include all three corrections in the next version of this pat= ch set. Please, let me know if you think that I should not. Great, thanks. Also, the pickNaNMulAdd() for MIPS requires updating to match "3.5.3 NaN Propagation" from the same MSA doc: "When two or three operands are NaN, the payload of the resulting NaN is identical to the payload of one of the input NaNs selected from left to right as described by the instruction format". This indicates the "c, a, b" order instead of "a, b, c" which is currently implemented. Regards, Leon