Skip to content

Commit 5f32d72

Browse files
committed
Deactivate xsimd bathc code whrn no arch
1 parent 7cd6920 commit 5f32d72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_xsimd_api.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ struct xsimd_api_integral_types_functions
375375
template <typename U = T>
376376
void test_bitwise_lshift_multiple(typename std::enable_if<!std::is_integral<U>::value, int>::type = 0)
377377
{
378+
#ifndef XSIMD_NO_SUPPORTED_ARCHITECTURE
378379
constexpr auto Max = static_cast<value_type>(std::numeric_limits<value_type>::digits);
379380
constexpr auto max_batch = xsimd::make_batch_constant<value_type, Max>();
380381
constexpr auto shifts = xsimd::make_batch_constant<value_type, arrange>() % max_batch;
@@ -390,6 +391,7 @@ struct xsimd_api_integral_types_functions
390391
{
391392
CHECK_EQ(shifted_cst.get(i), 1 << shifts.get(i));
392393
}
394+
#endif
393395
}
394396

395397
template <typename U = T>

0 commit comments

Comments
 (0)