Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nuks0-0006Il-4P for qemu-devel@nongnu.org; Thu, 25 Mar 2010 07:05:00 -0400 Received: from [140.186.70.92] (port=54085 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nukry-0006IR-Lv for qemu-devel@nongnu.org; Thu, 25 Mar 2010 07:04:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nukrw-0003TW-9r for qemu-devel@nongnu.org; Thu, 25 Mar 2010 07:04:57 -0400 Received: from smtp.nokia.com ([192.100.105.134]:35696 helo=mgw-mx09.nokia.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nukrv-0003T3-US for qemu-devel@nongnu.org; Thu, 25 Mar 2010 07:04:56 -0400 From: Date: Thu, 25 Mar 2010 12:04:33 +0100 Subject: Re: [Qemu-devel] QEMU state of ARM NEON support. Message-ID: References: <4BA7741F.60209@ispras.ru> <372ED49D-DF43-4E6C-AA3D-F4DA95746981@nokia.com> <4BAB3AA3.5030808@ispras.ru> In-Reply-To: <4BAB3AA3.5030808@ispras.ru> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: zhur@ispras.ru Cc: qemu-devel@nongnu.org On Mar 25, 2010, at 12:27, ext Dmitry Zhurikhin wrote: > Juha.Riihimaki@nokia.com wrote: >> - vqdmlsl yields different results for some specific input values, howev= er I think QEMU is producing correct results. For example, 1431655765-(2*-3= 2768*-32768)=3D-715827883 but your reference hardware results say it should= be -715827882. > From what I understand hardware gets such result because saturation occur= s on=20 > the (2*-32768*-32768) step. The result is not 0x80000000 as expected but= =20 > because of overflow is set as the largest 32-bit signed integer 0x7FFFFFF= F. It=20 > seems that QEMU just doesn't perform saturation (in this particular case = at least). Yes I see, I overlooked the fact that -32768*-32768 changes the sign and so= doubling the result of that overflows the signed 32-bit integer even if th= e result still fits in 32 bits. Thanks, I'll fix that as well. Regards, Juha=