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.