Skip to content

Commit

Permalink
Attempt to work around MSVC ICE
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Feb 7, 2025
1 parent 2ac2669 commit 5df676c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/Multiply/TestMul-VV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@


TEMPLATE_TEST_CASE("Vector * Vector", "[multiply]"
/*, NUMBERS_ALL()
, NUMBERS_ALL()
, VECTORS_ALL(1)
, VECTORS_ALL(2)
, VECTORS_ALL(3)
, VECTORS_ALL(4)
, VECTORS_ALL(5)*/
, VECTORS_ALL(5)
, VECTORS_ALL(8)
/*, VECTORS_ALL(9)
, VECTORS_ALL(9)
, VECTORS_ALL(16)
, VECTORS_ALL(17)
, VECTORS_ALL(32)
, VECTORS_ALL(33)*/
, VECTORS_ALL(33)
) {
using T = TestType;

Expand All @@ -33,13 +33,13 @@ TEMPLATE_TEST_CASE("Vector * Vector", "[multiply]"
InitOne(y, -5);
}

//WHEN("Multiplied as constexpr (with saturation)") {
WHEN("Multiplied as constexpr (with saturation)") {
static_assert(SIMD::Multiply<true>(T {0}, T {5}) == T {0});
//}
}

//WHEN("Multiplied as constexpr (without saturation)") {
WHEN("Multiplied as constexpr (without saturation)") {
static_assert(SIMD::Multiply<false>(T {0}, T {5}) == T {0});
//}
}

WHEN("Multiplied (with saturation)") {
ControlMul<true>(x, y, rCheck);
Expand Down

0 comments on commit 5df676c

Please sign in to comment.