Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103247395
D3375.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3375.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3375: Use __builtin_clzll in __floatditf and __floatunditf
Attached
Detach File
Event Timeline
Log In to Comment