From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44296 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PN8lG-0004E6-Pp for qemu-devel@nongnu.org; Mon, 29 Nov 2010 13:47:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PN8lF-0007sw-Ca for qemu-devel@nongnu.org; Mon, 29 Nov 2010 13:47:38 -0500 Received: from mail.codesourcery.com ([38.113.113.100]:40896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PN8lF-0007sr-3l for qemu-devel@nongnu.org; Mon, 29 Nov 2010 13:47:37 -0500 Date: Mon, 29 Nov 2010 10:47:36 -0800 From: Nathan Froyd Subject: Re: [Qemu-devel] [PATCH 11/12] ARM: Implement VCVT to 16 bit integer using new softfloat routines Message-ID: <20101129184736.GJ8544@codesourcery.com> References: <1290538431-13170-1-git-send-email-peter.maydell@linaro.org> <1290538431-13170-12-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1290538431-13170-12-git-send-email-peter.maydell@linaro.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org On Tue, Nov 23, 2010 at 06:53:50PM +0000, Peter Maydell wrote: > Use the softfloat conversion routines for conversion to 16 bit > integers, because just casting to a 16 bit type truncates the > value rather than saturating it at 16-bit MAXINT/MININT. > > Signed-off-by: Peter Maydell Reviewed-by: Nathan Froyd -Nathan