Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2012 04:04:35 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230188 - head/lib/libc/arm
Message-ID:  <201201160404.q0G44Zro014502@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: das
Date: Mon Jan 16 04:04:35 2012
New Revision: 230188
URL: http://svn.freebsd.org/changeset/base/230188

Log:
  Correct some bugs that resulted from arm/_fpmath.h being blindly copied
  from the x86 version, which has a completely different long double
  format.
  
  Submitted by:	Maks Verver

Modified:
  head/lib/libc/arm/_fpmath.h

Modified: head/lib/libc/arm/_fpmath.h
==============================================================================
--- head/lib/libc/arm/_fpmath.h	Mon Jan 16 04:00:32 2012	(r230187)
+++ head/lib/libc/arm/_fpmath.h	Mon Jan 16 04:04:35 2012	(r230188)
@@ -55,9 +55,10 @@ union IEEEl2bits {
 };
 
 #define	LDBL_NBIT	0
+#define	LDBL_IMPLICIT_NBIT
 #define	mask_nbit_l(u)	((void)0)
 
-#define	LDBL_MANH_SIZE	32
+#define	LDBL_MANH_SIZE	20
 #define	LDBL_MANL_SIZE	32
 
 #define	LDBL_TO_ARRAY32(u, a) do {			\



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