weekly test results plus a bug fix clang found
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -655,6 +655,20 @@ struct __debug_less
|
|||||||
|
|
||||||
#endif // _LIBCPP_DEBUG
|
#endif // _LIBCPP_DEBUG
|
||||||
|
|
||||||
|
// Precondition: __x != 0
|
||||||
|
inline _LIBCPP_INLINE_VISIBILITY unsigned __ctz(unsigned __x) {return __builtin_ctz (__x);}
|
||||||
|
inline _LIBCPP_INLINE_VISIBILITY unsigned long __ctz(unsigned long __x) {return __builtin_ctzl (__x);}
|
||||||
|
inline _LIBCPP_INLINE_VISIBILITY unsigned long long __ctz(unsigned long long __x) {return __builtin_ctzll(__x);}
|
||||||
|
|
||||||
|
// Precondition: __x != 0
|
||||||
|
inline _LIBCPP_INLINE_VISIBILITY unsigned __clz(unsigned __x) {return __builtin_clz (__x);}
|
||||||
|
inline _LIBCPP_INLINE_VISIBILITY unsigned long __clz(unsigned long __x) {return __builtin_clzl (__x);}
|
||||||
|
inline _LIBCPP_INLINE_VISIBILITY unsigned long long __clz(unsigned long long __x) {return __builtin_clzll(__x);}
|
||||||
|
|
||||||
|
inline _LIBCPP_INLINE_VISIBILITY int __pop_count(unsigned __x) {return __builtin_popcount (__x);}
|
||||||
|
inline _LIBCPP_INLINE_VISIBILITY int __pop_count(unsigned long __x) {return __builtin_popcountl (__x);}
|
||||||
|
inline _LIBCPP_INLINE_VISIBILITY int __pop_count(unsigned long long __x) {return __builtin_popcountll(__x);}
|
||||||
|
|
||||||
// all_of
|
// all_of
|
||||||
|
|
||||||
template <class _InputIterator, class _Predicate>
|
template <class _InputIterator, class _Predicate>
|
||||||
@@ -5185,20 +5199,6 @@ __rotate_right(_Tp __t, _Tp __n = 1)
|
|||||||
return static_cast<_Tp>((__t << (__bits - __n)) | (static_cast<typename make_unsigned<_Tp>::type>(__t) >> __n));
|
return static_cast<_Tp>((__t << (__bits - __n)) | (static_cast<typename make_unsigned<_Tp>::type>(__t) >> __n));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Precondition: __x != 0
|
|
||||||
inline _LIBCPP_INLINE_VISIBILITY unsigned __ctz(unsigned __x) {return __builtin_ctz (__x);}
|
|
||||||
inline _LIBCPP_INLINE_VISIBILITY unsigned long __ctz(unsigned long __x) {return __builtin_ctzl (__x);}
|
|
||||||
inline _LIBCPP_INLINE_VISIBILITY unsigned long long __ctz(unsigned long long __x) {return __builtin_ctzll(__x);}
|
|
||||||
|
|
||||||
// Precondition: __x != 0
|
|
||||||
inline _LIBCPP_INLINE_VISIBILITY unsigned __clz(unsigned __x) {return __builtin_clz (__x);}
|
|
||||||
inline _LIBCPP_INLINE_VISIBILITY unsigned long __clz(unsigned long __x) {return __builtin_clzl (__x);}
|
|
||||||
inline _LIBCPP_INLINE_VISIBILITY unsigned long long __clz(unsigned long long __x) {return __builtin_clzll(__x);}
|
|
||||||
|
|
||||||
inline _LIBCPP_INLINE_VISIBILITY int __pop_count(unsigned __x) {return __builtin_popcount (__x);}
|
|
||||||
inline _LIBCPP_INLINE_VISIBILITY int __pop_count(unsigned long __x) {return __builtin_popcountl (__x);}
|
|
||||||
inline _LIBCPP_INLINE_VISIBILITY int __pop_count(unsigned long long __x) {return __builtin_popcountll(__x);}
|
|
||||||
|
|
||||||
_LIBCPP_END_NAMESPACE_STD
|
_LIBCPP_END_NAMESPACE_STD
|
||||||
|
|
||||||
#endif // _LIBCPP_ALGORITHM
|
#endif // _LIBCPP_ALGORITHM
|
||||||
|
|||||||
14363
test_results/2010-05-27 clang_i386
Normal file
14363
test_results/2010-05-27 clang_i386
Normal file
File diff suppressed because it is too large
Load Diff
14355
test_results/2010-05-27 clang_x86_64
Normal file
14355
test_results/2010-05-27 clang_x86_64
Normal file
File diff suppressed because it is too large
Load Diff
5388
test_results/2010-05-27 g++-4_2_i386
Normal file
5388
test_results/2010-05-27 g++-4_2_i386
Normal file
File diff suppressed because it is too large
Load Diff
5384
test_results/2010-05-27 g++-4_2_x86_64
Normal file
5384
test_results/2010-05-27 g++-4_2_x86_64
Normal file
File diff suppressed because it is too large
Load Diff
3992
test_results/2010-05-27 g++-4_4_i386
Normal file
3992
test_results/2010-05-27 g++-4_4_i386
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Reference in New Issue
Block a user