Skip to content

Commit f90e5e8

Browse files
WIP
1 parent f2246a4 commit f90e5e8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

test/test_utils.hpp

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,14 @@ namespace xsimd
571571
* Testing types lists *
572572
***********************/
573573

574+
#ifdef XSIMD_WITH_ALTIVEC
575+
#define BATCH_INT_TYPES xsimd::batch<uint8_t>, \
576+
xsimd::batch<int8_t>, \
577+
xsimd::batch<uint16_t>, \
578+
xsimd::batch<int16_t>, \
579+
xsimd::batch<uint32_t>, \
580+
xsimd::batch<int32_t>
581+
#else
574582
#define BATCH_INT_TYPES xsimd::batch<uint8_t>, \
575583
xsimd::batch<int8_t>, \
576584
xsimd::batch<uint16_t>, \
@@ -579,13 +587,14 @@ namespace xsimd
579587
xsimd::batch<int32_t>, \
580588
xsimd::batch<uint64_t>, \
581589
xsimd::batch<int64_t>
590+
#endif
582591

583-
#if XSIMD_WITH_NEON64 || !XSIMD_WITH_NEON
592+
#if XSIMD_WITH_NEON64 || (!XSIMD_WITH_NEON && !XSIMD_WITH_ALTIVEC)
584593
#define BATCH_FLOAT_TYPES xsimd::batch<float>, xsimd::batch<double>
585594
#else
586595
#define BATCH_FLOAT_TYPES xsimd::batch<float>
587596
#endif
588-
#if XSIMD_WITH_NEON64 || !XSIMD_WITH_NEON
597+
#if XSIMD_WITH_NEON64 || (!XSIMD_WITH_NEON && !XSIMD_WITH_ALTIVEC)
589598
#define BATCH_COMPLEX_TYPES xsimd::batch<std::complex<float>>, xsimd::batch<std::complex<double>>
590599
#else
591600
#define BATCH_COMPLEX_TYPES xsimd::batch<std::complex<float>>

0 commit comments

Comments
 (0)