Date: Sun, 6 Jan 2013 00:49:06 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245084 - head/lib/libc/arm/softfloat Message-ID: <201301060049.r060n6tk029130@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301060049.r060n6tk029130>