We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eef1bb8 + 8bbbc35 commit 8032a1aCopy full SHA for 8032a1a
core/src/intrinsics/simd.rs
@@ -569,6 +569,13 @@ extern "rust-intrinsic" {
569
#[rustc_nounwind]
570
pub fn simd_ctlz<T>(x: T) -> T;
571
572
+ /// Count the number of ones in each element.
573
+ ///
574
+ /// `T` must be a vector of integers.
575
+ #[rustc_nounwind]
576
+ #[cfg(not(bootstrap))]
577
+ pub fn simd_ctpop<T>(x: T) -> T;
578
+
579
/// Count the trailing zeros of each element.
580
///
581
/// `T` must be a vector of integers.
0 commit comments