diff options
author | andrew <andrew@FreeBSD.org> | 2012-08-08 09:42:44 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2012-08-08 09:42:44 +0000 |
commit | 30502844bd04cb59ab3146bfc660987e81eaaac0 (patch) | |
tree | ee445c9472d0093c3489f12d8048a72fe6e55f66 /contrib/compiler-rt/lib/fp_lib.h | |
parent | 54cb95d6380dbb936499b9c35fd4ad12ba649f42 (diff) | |
parent | cfeab007a554034f0b3ab4a677cf9dd2696c12f9 (diff) | |
download | FreeBSD-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.h | 2 |
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; |