Skip to content

Commit

Permalink
🙈
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdd committed Feb 6, 2023
1 parent faa3f56 commit 50ee420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ macro_rules! impl_argminmax {
} else if is_x86_feature_detected!("avx2") {
return unsafe { AVX2::argminmax(self) }
// TODO: current NaN handling requires avx2
// } else if is_x86_feature_detected!("avx") & (<$t>::NB_BITS >= 32) & (<$t>::IS_FLOAT == true) {
// // f32 and f64 do not require avx2
// return unsafe { AVX2::argminmax(self) }
} else if is_x86_feature_detected!("avx") & (<$t>::NB_BITS >= 64) & (<$t>::IS_FLOAT == true) {
// f32 and f64 do not require avx2
return unsafe { AVX2::argminmax(self) }
// // SKIP SSE4.2 bc scalar is faster or equivalent for 64 bit numbers
// // } else if is_x86_feature_detected!("sse4.2") & (<$t>::NB_BITS == 64) & (<$t>::IS_FLOAT == false) {
// // SSE4.2 is needed for comparing 64-bit integers
Expand Down

0 comments on commit 50ee420

Please sign in to comment.