Rollup merge of #68682 - LeSeulArtichaut:stable-intrinsics, r=steveklabnik

Add documentation to compiler intrinsics

This adds documentation to the compiler intrinsics having stable standard implementations.

Relates to #34338 (cc @bstrie)

r? @steveklabnik (for reassignment?)
This commit is contained in:
Dylan DPC 2020-03-02 13:42:35 +01:00 committed by GitHub
commit ffb6d75314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 473 additions and 9 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2444,7 +2444,7 @@ unsafe fn atomic_min<T>(dst: *mut T, val: T, order: Ordering) -> T {
}
}
/// returns the max value (signed comparison)
/// returns the max value (unsigned comparison)
#[inline]
#[cfg(target_has_atomic = "8")]
unsafe fn atomic_umax<T>(dst: *mut T, val: T, order: Ordering) -> T {
@ -2457,7 +2457,7 @@ unsafe fn atomic_umax<T>(dst: *mut T, val: T, order: Ordering) -> T {
}
}
/// returns the min value (signed comparison)
/// returns the min value (unsigned comparison)
#[inline]
#[cfg(target_has_atomic = "8")]
unsafe fn atomic_umin<T>(dst: *mut T, val: T, order: Ordering) -> T {