forked from boostorg/predef
SIMD: Use _AVAILABLE instead of tag when detecting multiple architectures
This commit is contained in:
@ -32,10 +32,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
|
|
||||||
// We check if SIMD extension of multiples architectures have been detected,
|
// We check if SIMD extension of multiples architectures have been detected,
|
||||||
// if yes, then this is an error!
|
// if yes, then this is an error!
|
||||||
#if \
|
#if defined(BOOST_HW_SIMD_ARM_AVAILABLE) && defined(BOOST_HW_SIMD_PPC_AVAILABLE) ||\
|
||||||
BOOST_HW_SIMD_ARM && BOOST_HW_SIMD_PPC ||\
|
defined(BOOST_HW_SIMD_ARM_AVAILABLE) && defined(BOOST_HW_SIMD_X86_AVAILABLE) ||\
|
||||||
BOOST_HW_SIMD_ARM && BOOST_HW_SIMD_X86 ||\
|
defined(BOOST_HW_SIMD_PPC_AVAILABLE) && defined(BOOST_HW_SIMD_X86_AVAILABLE)
|
||||||
BOOST_HW_SIMD_PPC && BOOST_HW_SIMD_X86
|
|
||||||
# error "Multiple SIMD architectures detected, this cannot happen!"
|
# error "Multiple SIMD architectures detected, this cannot happen!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user