svn commit: r245084 - head/lib/libc/arm/softfloat
Andrew Turner
andrew at FreeBSD.org
Sun Jan 6 00:49:06 UTC 2013
Author: andrew
Date: Sun Jan 6 00:49:06 2013
New Revision: 245084
URL: http://svnweb.freebsd.org/changeset/base/245084
Log:
Silence a clang warning by telling it we are only interested in left
shifting the lower 32bits of the floating point value when we demangle it.
Modified:
head/lib/libc/arm/softfloat/arm-gcc.h
Modified: head/lib/libc/arm/softfloat/arm-gcc.h
==============================================================================
--- head/lib/libc/arm/softfloat/arm-gcc.h Sun Jan 6 00:42:09 2013 (r245083)
+++ head/lib/libc/arm/softfloat/arm-gcc.h Sun Jan 6 00:49:06 2013 (r245084)
@@ -95,7 +95,7 @@ what the endianness of the CPU. VFP is
#define FLOAT64_DEMANGLE(a) (a)
#define FLOAT64_MANGLE(a) (a)
#else
-#define FLOAT64_DEMANGLE(a) (((a) << 32) | ((a) >> 32))
+#define FLOAT64_DEMANGLE(a) ((((a) & 0xfffffffful) << 32) | ((a) >> 32))
#define FLOAT64_MANGLE(a) FLOAT64_DEMANGLE(a)
#endif
#endif
More information about the svn-src-head
mailing list