Remove obsolete scalar haccumulate tests
@@ -855,26 +855,6 @@ TEST(vfloat4, hadd_rgb_s)
EXPECT_NEAR(r, sum, 0.005f);
}
-/** @brief Test vfloat4 haccumulate. */
-TEST(vfloat4, haccumulate)
-{
- // These values will fail to add to the same value if reassociated
- float a0 = 141.2540435791015625f;
- float a1 = 5345345.5000000000000000f;
- float a2 = 234234.7031250000000000f;
- float a3 = 124353454080.0000000000000000f;
-
- vfloat4 a(a0, a1, a2, a3);
- float ra = 0.0f;
- haccumulate(ra, a);
-
- // Test that reassociation causes a failure with the numbers we chose
- EXPECT_NE(ra, a0 + a1 + a2 + a3);
-
- // Test that the sum works, for the association pattern we want used
- EXPECT_EQ(ra, (a0 + a2) + (a1 + a3));
-}
-
/** @brief Test vfloat4 sqrt. */
TEST(vfloat4, sqrt)
{
@@ -2501,33 +2481,6 @@ TEST(vfloat8, hadd_s)
EXPECT_NEAR(r, sum, 0.005f);
}
-/** @brief Test vfloat8 haccumulate. */
-TEST(vfloat8, haccumulate)
-{
- // These values will fail to add to the same value if reassociated
- float l0 = 141.2540435791015625f;
- float l1 = 5345345.5000000000000000f;
- float l2 = 234234.7031250000000000f;
- float l3 = 124353454080.0000000000000000f;
-
- vfloat8 a1(l0, l1, l2, l3, l0, l1, l2, l3);
- float r1 = 0.0f;
- haccumulate(r1, a1);
-
- vfloat4 a2(l0, l1, l2, l3);
- vfloat4 b2(l0, l1, l2, l3);
- float r2 = 0.0f;
- haccumulate(r2, a2);
- haccumulate(r2, b2);
-
- // Test that reassociations cause a failure with the numbers we chose
- EXPECT_NE(r1, l0 + l1 + l2 + l3 + l0 + l1 + l2 + l3);
- EXPECT_NE(r1, (l0 + l1 + l2 + l3) + (l0 + l1 + l2 + l3));
-
- // Test that the sum works, for the association pattern we want used
- EXPECT_EQ(r1, r2);
-}
-
/** @brief Test vfloat8 sqrt. */
TEST(vfloat8, sqrt)
{
