From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vy0oQ-00034U-5I for qemu-devel@nongnu.org; Tue, 31 Dec 2013 10:00:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vy0oL-0006e6-Fk for qemu-devel@nongnu.org; Tue, 31 Dec 2013 10:00:54 -0500 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:42171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vy0oL-0006dx-7b for qemu-devel@nongnu.org; Tue, 31 Dec 2013 10:00:49 -0500 Received: by mail-pa0-f54.google.com with SMTP id rd3so12710898pab.41 for ; Tue, 31 Dec 2013 07:00:48 -0800 (PST) Sender: Richard Henderson Message-ID: <52C2DC1A.6000502@twiddle.net> Date: Tue, 31 Dec 2013 07:00:42 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1388496958-3542-1-git-send-email-peter.maydell@linaro.org> <1388496958-3542-16-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1388496958-3542-16-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 15/22] target-arm: Prepare VFP_CONV_FIX helpers for A64 uses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: Tom Musta , Peter Crosthwaite , patches@linaro.org, Aurelien Jarno , Michael Matz , Alexander Graf , Claudio Fontana , Dirk Mueller , Will Newton , Laurent Desnogues , =?ISO-8859-1?Q?Alex_Benn=E9e?= , kvmarm@lists.cs.columbia.edu, Christoffer Dall On 12/31/2013 05:35 AM, Peter Maydell wrote: > From: Will Newton > > Make the VFP_CONV_FIX helpers a little more flexible in > preparation for the A64 uses. This requires two changes: > * use the correct softfloat conversion function based on itype > rather than always the int32 one; this is possible now that > softfloat provides int16 versions and necessary for the > future conversion-to-int64 A64 variants. This also allows > us to drop the awkward 'sign' macro argument. > * split the 'fsz' argument which currently controls both > width of the input float type and width of the output > integer type into two; this will allow us to specify the > A64 64-bit-int-to-single conversion function, where the > two widths are different. > > Signed-off-by: Will Newton > Signed-off-by: Peter Maydell > --- > target-arm/helper.c | 28 ++++++++++++++-------------- > 1 file changed, 14 insertions(+), 14 deletions(-) Reviewed-by: Richard Henderson r~