Skip to content

Commit fa0667b

Browse files
committed
oops
1 parent 2b613ee commit fa0667b

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

inc/zoo/swar/associative_iteration.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -520,26 +520,6 @@ constexpr auto deinterleaveLanesOfPair = [](auto even, auto odd) {
520520
return std::make_pair(lower, upper);
521521
};
522522

523-
namespace test_deinterleaving {
524-
525-
template <int NB, typename T>
526-
auto test = [](auto a, auto b, auto expected_lower, auto expected_upper) {
527-
auto [lower, upper] = deinterleaveLanesOfPair<NB, T>(a, b);
528-
auto lower_ok = lower.value() == expected_lower.value();
529-
auto upper_ok = upper.value() == expected_upper.value();
530-
return lower_ok && upper_ok;
531-
};
532-
533-
using S = SWAR<8, uint32_t>;
534-
static_assert(test<8, uint32_t>(
535-
S{0xFDFCFBFA}, // input a
536-
S{0xF4F3F2F1}, // input b
537-
S{0x4D3C2B1A}, // expected lower
538-
S{0xFFFFFFFF} // expected upper
539-
));
540-
541-
} // namespace test_deinterleaving
542-
543523
template <int NB, typename T>
544524
constexpr MultiplicationResult<NB, T>
545525
wideningMultiplication(SWAR<NB, T> multiplicand, SWAR<NB, T> multiplier) {

0 commit comments

Comments
 (0)