@@ -32,16 +32,14 @@ struct load_store_test
3232 using uint16_vector_type = std::vector<uint16_t , allocator<uint16_t >>;
3333 using int32_vector_type = std::vector<int32_t , allocator<int32_t >>;
3434 using uint32_vector_type = std::vector<uint32_t , allocator<uint32_t >>;
35- #if !XSIMD_WITH_ALTIVEC
3635 using int64_vector_type = std::vector<int64_t , allocator<int64_t >>;
3736 using uint64_vector_type = std::vector<uint64_t , allocator<uint64_t >>;
38- #endif
3937#ifdef XSIMD_32_BIT_ABI
4038 using long_vector_type = std::vector<long , allocator<long >>;
4139 using ulong_vector_type = std::vector<unsigned long , allocator<unsigned long >>;
4240#endif
4341 using float_vector_type = std::vector<float , allocator<float >>;
44- #if ( !XSIMD_WITH_NEON && !XSIMD_WITH_ALTIVEC) || XSIMD_WITH_NEON64
42+ #if !XSIMD_WITH_NEON || XSIMD_WITH_NEON64
4543 using double_vector_type = std::vector<double , allocator<double >>;
4644#endif
4745
@@ -51,16 +49,14 @@ struct load_store_test
5149 uint16_vector_type ui16_vec;
5250 int32_vector_type i32_vec;
5351 uint32_vector_type ui32_vec;
54- #if !XSIMD_WITH_ALTIVEC
5552 int64_vector_type i64_vec;
5653 uint64_vector_type ui64_vec;
57- #endif
5854#ifdef XSIMD_32_BIT_ABI
5955 long_vector_type l_vec;
6056 ulong_vector_type ul_vec;
6157#endif
6258 float_vector_type f_vec;
63- #if ( !XSIMD_WITH_NEON && !XSIMD_WITH_ALTIVEC) || XSIMD_WITH_NEON64
59+ #if !XSIMD_WITH_NEON || XSIMD_WITH_NEON64
6460 double_vector_type d_vec;
6561#endif
6662
@@ -74,16 +70,14 @@ struct load_store_test
7470 init_test_vector (ui16_vec);
7571 init_test_vector (i32_vec);
7672 init_test_vector (ui32_vec);
77- #if !XSIMD_WITH_ALTIVEC
7873 init_test_vector (i64_vec);
7974 init_test_vector (ui64_vec);
80- #endif
8175#ifdef XSIMD_32_BIT_ABI
8276 init_test_vector (l_vec);
8377 init_test_vector (ul_vec);
8478#endif
8579 init_test_vector (f_vec);
86- #if ( !XSIMD_WITH_NEON && !XSIMD_WITH_ALTIVEC) || XSIMD_WITH_NEON64
80+ #if !XSIMD_WITH_NEON || XSIMD_WITH_NEON64
8781 init_test_vector (d_vec);
8882#endif
8983 }
@@ -96,16 +90,14 @@ struct load_store_test
9690 test_load_impl (ui16_vec, " load uint16_t" );
9791 test_load_impl (i32_vec, " load int32_t" );
9892 test_load_impl (ui32_vec, " load uint32_t" );
99- #if !XSIMD_WITH_ALTIVEC
10093 test_load_impl (i64_vec, " load int64_t" );
10194 test_load_impl (ui64_vec, " load uint64_t" );
102- #endif
10395#ifdef XSIMD_32_BIT_ABI
10496 test_load_impl (l_vec, " load long" );
10597 test_load_impl (ul_vec, " load unsigned long" );
10698#endif
10799 test_load_impl (f_vec, " load float" );
108- #if ( !XSIMD_WITH_NEON && !XSIMD_WITH_ALTIVEC) || XSIMD_WITH_NEON64
100+ #if !XSIMD_WITH_NEON || XSIMD_WITH_NEON64
109101 test_load_impl (d_vec, " load double" );
110102#endif
111103 }
@@ -118,16 +110,14 @@ struct load_store_test
118110 test_store_impl (ui16_vec, " load uint16_t" );
119111 test_store_impl (i32_vec, " load int32_t" );
120112 test_store_impl (ui32_vec, " load uint32_t" );
121- #if !XSIMD_WITH_ALTIVEC
122113 test_store_impl (i64_vec, " load int64_t" );
123114 test_store_impl (ui64_vec, " load uint64_t" );
124- #endif
125115#ifdef XSIMD_32_BIT_ABI
126116 test_store_impl (l_vec, " load long" );
127117 test_store_impl (ul_vec, " load unsigned long" );
128118#endif
129119 test_store_impl (f_vec, " load float" );
130- #if ( !XSIMD_WITH_NEON && !XSIMD_WITH_ALTIVEC) || XSIMD_WITH_NEON64
120+ #if !XSIMD_WITH_NEON || XSIMD_WITH_NEON64
131121 test_store_impl (d_vec, " load double" );
132122#endif
133123 }
@@ -139,17 +129,15 @@ struct load_store_test
139129 test_gather_impl (ui16_vec, " gather uint16_t" );
140130 test_gather_impl (i32_vec, " gather int32_t" );
141131 test_gather_impl (ui32_vec, " gather uint32_t" );
142- #if !XSIMD_WITH_ALTIVEC
143132 test_gather_impl (i64_vec, " gather int64_t" );
144133 test_gather_impl (ui64_vec, " gather uint64_t" );
145- #endif
146134#ifdef XSIMD_32_BIT_ABI
147135 test_gather_impl (l_vec, " gather long" );
148136 test_gather_impl (ul_vec, " gather unsigned long" );
149137#endif
150138 test_gather_impl (f_vec, " gather float" );
151139 test_gather_impl (f_vec, " gather float" );
152- #if ( !XSIMD_WITH_NEON && !XSIMD_WITH_ALTIVEC) || XSIMD_WITH_NEON64
140+ #if !XSIMD_WITH_NEON || XSIMD_WITH_NEON64
153141 test_gather_impl (d_vec, " gather double" );
154142#endif
155143 }
@@ -162,16 +150,14 @@ struct load_store_test
162150 test_scatter_impl (ui16_vec, " scatter uint16_t" );
163151 test_scatter_impl (i32_vec, " scatter int32_t" );
164152 test_scatter_impl (ui32_vec, " scatter uint32_t" );
165- #if !XSIMD_WITH_ALTIVEC
166153 test_scatter_impl (i64_vec, " scatter int64_t" );
167154 test_scatter_impl (ui64_vec, " scatter uint64_t" );
168- #endif
169155#ifdef XSIMD_32_BIT_ABI
170156 test_scatter_impl (l_vec, " scatter long" );
171157 test_scatter_impl (ul_vec, " scatter unsigned long" );
172158#endif
173159 test_scatter_impl (f_vec, " scatter float" );
174- #if ( !XSIMD_WITH_NEON && !XSIMD_WITH_ALTIVEC) || XSIMD_WITH_NEON64
160+ #if !XSIMD_WITH_NEON || XSIMD_WITH_NEON64
175161 test_scatter_impl (d_vec, " scatter double" );
176162#endif
177163 }
0 commit comments