Rollup merge of #125497 - meesfrensel:patch-1, r=calebzulawski · model-checking/verify-rust-std@567096d

Original file line numberDiff line numberDiff line change

@@ -152,15 +152,15 @@ extern "rust-intrinsic" {

152152

#[rustc_nounwind]

153153

pub fn simd_fabs<T>(x: T) -> T;

154154
155-

/// Elementwise minimum of a vector.

155+

/// Elementwise minimum of two vectors.

156156

///

157157

/// `T` must be a vector of floating-point primitive types.

158158

///

159159

/// Follows IEEE-754 `minNum` semantics.

160160

#[rustc_nounwind]

161161

pub fn simd_fmin<T>(x: T, y: T) -> T;

162162
163-

/// Elementwise maximum of a vector.

163+

/// Elementwise maximum of two vectors.

164164

///

165165

/// `T` must be a vector of floating-point primitive types.

166166

///

@@ -387,7 +387,7 @@ extern "rust-intrinsic" {

387387

#[rustc_nounwind]

388388

pub fn simd_reduce_mul_ordered<T, U>(x: T, y: U) -> U;

389389
390-

/// Add elements within a vector in arbitrary order. May also be re-associated with

390+

/// Multiply elements within a vector in arbitrary order. May also be re-associated with

391391

/// unordered additions on the inputs/outputs.

392392

///

393393

/// `T` must be a vector of integer or floating-point primitive types.

@@ -405,7 +405,7 @@ extern "rust-intrinsic" {

405405

#[rustc_nounwind]

406406

pub fn simd_reduce_all<T>(x: T) -> bool;

407407
408-

/// Check if all mask values are true.

408+

/// Check if any mask value is true.

409409

///

410410

/// `T` must be a vector of integer primitive types.

411411

///