Skip to content

Commit

Permalink
rust-lang/portable-simd#252: extern blocks don't have doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 4, 2022
1 parent 3097561 commit 4ddcc00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/core_simd/src/intrinsics.rs
Expand Up @@ -18,9 +18,9 @@
//!
//! Unless stated otherwise, all intrinsics for binary operations require SIMD vectors of equal types and lengths.

/// These intrinsics aren't linked directly from LLVM and are mostly undocumented, however they are
/// mostly lowered to the matching LLVM instructions by the compiler in a fairly straightforward manner.
/// The associated LLVM instruction or intrinsic is documented alongside each Rust intrinsic function.
// These intrinsics aren't linked directly from LLVM and are mostly undocumented, however they are
// mostly lowered to the matching LLVM instructions by the compiler in a fairly straightforward manner.
// The associated LLVM instruction or intrinsic is documented alongside each Rust intrinsic function.
extern "platform-intrinsic" {
/// add/fadd
pub(crate) fn simd_add<T>(x: T, y: T) -> T;
Expand Down

0 comments on commit 4ddcc00

Please sign in to comment.