diff --git a/src/dsp/enc_neon.c b/src/dsp/enc_neon.c index 377d31f3..36f26946 100644 --- a/src/dsp/enc_neon.c +++ b/src/dsp/enc_neon.c @@ -856,9 +856,10 @@ static int QuantizeBlock(int16_t in[16], int16_t out[16], const int16x8_t out0 = Quantize(in, mtx, 0); const int16x8_t out1 = Quantize(in, mtx, 8); uint8x8x4_t shuffles; - // vtbl4_u8 is marked unavailable for iOS arm64, use wider versions there. + // vtbl?_u8 are marked unavailable for iOS arm64 with Xcode < 6.3, use + // non-standard versions there. #if defined(__APPLE__) && defined(__aarch64__) && \ - defined(__apple_build_version__) + defined(__apple_build_version__) && (__apple_build_version__< 6020037) uint8x16x2_t all_out; INIT_VECTOR2(all_out, vreinterpretq_u8_s16(out0), vreinterpretq_u8_s16(out1)); INIT_VECTOR4(shuffles, diff --git a/src/dsp/lossless_neon.c b/src/dsp/lossless_neon.c index 17dce9ab..e404646a 100644 --- a/src/dsp/lossless_neon.c +++ b/src/dsp/lossless_neon.c @@ -259,9 +259,10 @@ static uint32_t Predictor13(uint32_t left, const uint32_t* const top) { //------------------------------------------------------------------------------ // Subtract-Green Transform -// vtbl?_u8 are marked unavailable for iOS arm64, use wider versions there. +// vtbl?_u8 are marked unavailable for iOS arm64 with Xcode < 6.3, use +// non-standard versions there. #if defined(__APPLE__) && defined(__aarch64__) && \ - defined(__apple_build_version__) + defined(__apple_build_version__) && (__apple_build_version__< 6020037) #define USE_VTBLQ #endif