diff options
author | andrew <andrew@FreeBSD.org> | 2013-01-06 00:49:06 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-01-06 00:49:06 +0000 |
commit | 79c215314de47d4f325b2533d27525197fd3d0a8 (patch) | |
tree | 6dd42d2c334b370a173d02dba1b95467867fbe44 /lib/libc/arm/softfloat/arm-gcc.h | |
parent | 72392dc5f8d5f2146b0868e4f713a15bce5ed9d0 (diff) | |
download | FreeBSD-src-79c215314de47d4f325b2533d27525197fd3d0a8.zip FreeBSD-src-79c215314de47d4f325b2533d27525197fd3d0a8.tar.gz |
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.
Diffstat (limited to 'lib/libc/arm/softfloat/arm-gcc.h')
-rw-r--r-- | lib/libc/arm/softfloat/arm-gcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/arm/softfloat/arm-gcc.h b/lib/libc/arm/softfloat/arm-gcc.h index 1204108..15bc509 100644 --- a/lib/libc/arm/softfloat/arm-gcc.h +++ b/lib/libc/arm/softfloat/arm-gcc.h @@ -95,7 +95,7 @@ what the endianness of the CPU. VFP is sane. #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 |