Skip to content

Commit

Permalink
Remove link to core::arch::x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
calebzulawski committed Feb 17, 2024
1 parent 7348d2d commit afa70e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core_simd/src/core_simd_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Instead, they map to a reasonable implementation of the operation for the target

Consistency between targets is not compromised to use faster or fewer instructions.
In some cases, `std::arch` will provide a faster function that has slightly different behavior than the `std::simd` equivalent.
For example, [`_mm_min_ps`](`core::arch::x86_64::_mm_min_ps`)[^1] can be slightly faster than [`SimdFloat::simd_min`](`num::SimdFloat::simd_min`), but does not conform to the IEEE standard also used by [`f32::min`].
For example, `_mm_min_ps`[^1] can be slightly faster than [`SimdFloat::simd_min`](`num::SimdFloat::simd_min`), but does not conform to the IEEE standard also used by [`f32::min`].
When necessary, [`Simd<T, N>`] can be converted to the types provided by `std::arch` to make use of target-specific functions.

Many targets simply don't have SIMD, or don't support SIMD for a particular element type.
Expand Down

0 comments on commit afa70e6

Please sign in to comment.