Skip to content

Commit 9b8dfd7

Browse files
author
Fikret Ardal
committed
fix macos build fail because of simd_i4
1 parent d9f616c commit 9b8dfd7

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

test/c++/nda_simd.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,22 +1906,4 @@ struct adder_simd : simd::mock_simd<adder_simd<T>, T> {
19061906

19071907
TEST(NDA, OurSIMD) {
19081908

1909-
class add {
1910-
public:
1911-
float operator()(float a, float b) const { return a + b; }
1912-
1913-
native_simd<float> load(native_simd<float> a, native_simd<float> b) const { return a + b; }
1914-
};
1915-
using dcomplex = std::complex<double>;
1916-
using simd_t = native_simd<dcomplex>;
1917-
simd_i4 s({1, 2, 3, 4});
1918-
std::array<dcomplex, 2> tmp = generate_random_array<dcomplex, 2>();
1919-
native_simd<float> test2;
1920-
std::array<float, 8> tmp2 = generate_random_array<float, 8>();
1921-
test2.load_unaligned(tmp2.data());
1922-
tmp[0] = {1, 2};
1923-
tmp[1] = {3, 4};
1924-
simd_t test;
1925-
test.load_unaligned(tmp.data());
1926-
volatile auto result = test * std::complex<float>{5.0f, 10.0f};
19271909
}

0 commit comments

Comments
 (0)