Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2013 22:14:30 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r255380 - projects/arm_eabi_vfp/contrib/binutils/gas/config
Message-ID:  <201309072214.r87MEUDI025430@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"
         };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309072214.r87MEUDI025430>