File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -1906,22 +1906,4 @@ struct adder_simd : simd::mock_simd<adder_simd<T>, T> {
19061906
19071907TEST (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}
You can’t perform that action at this time.
0 commit comments