Skip to content

Commit c65c792

Browse files
committed
Remove entire note on 128 bytes being too small
The point it was making was: 1) Fairly hard to explain 2) Not necessarily true
1 parent 72fc3d1 commit c65c792

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fearless_simd_core/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,6 @@ pub unsafe trait TargetFeatureToken: Copy {
193193
/// trampoline!(Token = token => "f1,f2", uses_simd(a: [f32; 4]) -> [f32; 4])
194194
/// ```
195195
///
196-
/// Note that a function only operating on 128 bytes is probably too small for checking
197-
/// whether a token exists just for it is worthwhile.
198-
/// However, if you have amorphised the cost of that check between many function calls,
199-
/// the `trampoline!` macro itself compiles down to a function call.
200-
/// (This would be the case when this macro is being used to implement the portable subset of SIMD operations)
201-
///
202196
// TODO: We could write an example for each of ARM, x86, and conditionally compile it in?
203197
/// Note that our examples are all ignored as there is no target feature which is available on every platform,
204198
/// but we need these docs to compile for users on any platform.

0 commit comments

Comments
 (0)