From owner-svn-src-projects@FreeBSD.ORG Sat Sep 7 22:14:31 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0CC3F308; Sat, 7 Sep 2013 22:14:31 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EEA852827; Sat, 7 Sep 2013 22:14:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r87MEUmQ025431; Sat, 7 Sep 2013 22:14:30 GMT (envelope-from andrew@svn.freebsd.org) Received: (from andrew@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r87MEUDI025430; Sat, 7 Sep 2013 22:14:30 GMT (envelope-from andrew@svn.freebsd.org) Message-Id: <201309072214.r87MEUDI025430@svn.freebsd.org> From: Andrew Turner Date: Sat, 7 Sep 2013 22:14:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r255380 - projects/arm_eabi_vfp/contrib/binutils/gas/config X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 22:14:31 -0000 Author: andrew Date: Sat Sep 7 22:14:30 2013 New Revision: 255380 URL: http://svnweb.freebsd.org/changeset/base/255380 Log: Fix the VCVT instruction. It must round towards zero when converting from a floating-point to an integer value. This was not the case causing issues when printing certain values. There is a VCVTR instruction that will round depending on the current rounding mode. We don't yet support this instruction, or setting the rounding mode. Modified: projects/arm_eabi_vfp/contrib/binutils/gas/config/tc-arm.c Modified: projects/arm_eabi_vfp/contrib/binutils/gas/config/tc-arm.c ============================================================================== --- projects/arm_eabi_vfp/contrib/binutils/gas/config/tc-arm.c Sat Sep 7 22:07:36 2013 (r255379) +++ projects/arm_eabi_vfp/contrib/binutils/gas/config/tc-arm.c Sat Sep 7 22:14:30 2013 (r255380) @@ -12660,14 +12660,14 @@ do_vfp_nsyn_cvt (enum neon_shape rs, int /* Conversions without bitshift. */ const char *enc[] = { - "ftosis", - "ftouis", + "ftosizs", + "ftouizs", "fsitos", "fuitos", "fcvtsd", "fcvtds", - "ftosid", - "ftouid", + "ftosizd", + "ftouizd", "fsitod", "fuitod" };