Page MenuHomeFreeBSD

D3375.diff
No OneTemporary

D3375.diff

Index: head/contrib/compiler-rt/lib/builtins/floatditf.c
===================================================================
--- head/contrib/compiler-rt/lib/builtins/floatditf.c
+++ head/contrib/compiler-rt/lib/builtins/floatditf.c
@@ -34,7 +34,7 @@
}
// Exponent of (fp_t)a is the width of abs(a).
- const int exponent = (aWidth - 1) - __builtin_clz(a);
+ const int exponent = (aWidth - 1) - __builtin_clzll(a);
rep_t result;
// Shift a into the significand field and clear the implicit bit. Extra
Index: head/contrib/compiler-rt/lib/builtins/floatunditf.c
===================================================================
--- head/contrib/compiler-rt/lib/builtins/floatunditf.c
+++ head/contrib/compiler-rt/lib/builtins/floatunditf.c
@@ -25,7 +25,7 @@
if (a == 0) return fromRep(0);
// Exponent of (fp_t)a is the width of abs(a).
- const int exponent = (aWidth - 1) - __builtin_clz(a);
+ const int exponent = (aWidth - 1) - __builtin_clzll(a);
rep_t result;
// Shift a into the significand field and clear the implicit bit.

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 2:51 PM (7 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14804123
Default Alt Text
D3375.diff (1 KB)

Event Timeline