summaryrefslogtreecommitdiffstats
path: root/contrib/compiler-rt/lib/fp_lib.h
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2012-08-08 09:42:44 +0000
committerandrew <andrew@FreeBSD.org>2012-08-08 09:42:44 +0000
commit30502844bd04cb59ab3146bfc660987e81eaaac0 (patch)
treeee445c9472d0093c3489f12d8048a72fe6e55f66 /contrib/compiler-rt/lib/fp_lib.h
parent54cb95d6380dbb936499b9c35fd4ad12ba649f42 (diff)
parentcfeab007a554034f0b3ab4a677cf9dd2696c12f9 (diff)
downloadFreeBSD-src-30502844bd04cb59ab3146bfc660987e81eaaac0.zip
FreeBSD-src-30502844bd04cb59ab3146bfc660987e81eaaac0.tar.gz
Import compiler-rt r160957.
This is mostly a no-op other than for ARM where it adds missing __aeabi_mem* and __aeabi_*divmod functions. Even on ARM these will remain unused until the rest of the ARM EABI code is merged.
Diffstat (limited to 'contrib/compiler-rt/lib/fp_lib.h')
-rw-r--r--contrib/compiler-rt/lib/fp_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/compiler-rt/lib/fp_lib.h b/contrib/compiler-rt/lib/fp_lib.h
index de5f17f..661119a 100644
--- a/contrib/compiler-rt/lib/fp_lib.h
+++ b/contrib/compiler-rt/lib/fp_lib.h
@@ -124,7 +124,7 @@ static inline void wideLeftShift(rep_t *hi, rep_t *lo, int count) {
*lo = *lo << count;
}
-static inline void wideRightShiftWithSticky(rep_t *hi, rep_t *lo, int count) {
+static inline void wideRightShiftWithSticky(rep_t *hi, rep_t *lo, unsigned int count) {
if (count < typeWidth) {
const bool sticky = *lo << (typeWidth - count);
*lo = *hi << (typeWidth - count) | *lo >> count | sticky;
OpenPOWER on IntegriCloud