MIPP only supports x86 and ARM, but GIN_HAS_SIMD is defined as 1 on other architectures as well, like PowerPC. This leads to compilation errors: for example, gin_bandlimitedlookuptable.h asserts mipp::N<float>() == 4, but mipp::N() unconditionally returns 1 on any architecture besides x86 and ARM.
This PR ensures GIN_HAS_SIMD is 0 on architectures that don't support SIMD.
MIPP only supports x86 and ARM, but
GIN_HAS_SIMD
is defined as 1 on other architectures as well, like PowerPC. This leads to compilation errors: for example, gin_bandlimitedlookuptable.h assertsmipp::N<float>() == 4
, butmipp::N()
unconditionally returns 1 on any architecture besides x86 and ARM.This PR ensures
GIN_HAS_SIMD
is 0 on architectures that don't support SIMD.