Chromium Code Reviews| Index: third_party/libwebp/dsp/enc_neon.c |
| diff --git a/third_party/libwebp/dsp/enc_neon.c b/third_party/libwebp/dsp/enc_neon.c |
| index 42041f73eda9f3a588562d675876152da5a14c0b..bcab8ffac3f68d2bd7efec7a6cb31992e3aa8bca 100644 |
| --- a/third_party/libwebp/dsp/enc_neon.c |
| +++ b/third_party/libwebp/dsp/enc_neon.c |
| @@ -1013,7 +1013,8 @@ static int QuantizeBlock(int16_t in[16], int16_t out[16], |
| const int16x8_t out1 = Quantize(in, mtx, 8); |
| uint8x8x4_t shuffles; |
| // vtbl4_u8 is marked unavailable for iOS arm64, use wider versions there. |
| -#if defined(__APPLE__) && defined(__aarch64__) |
| +#if defined(__APPLE__) && defined(__aarch64__) && \ |
| + defined(__apple_build_version__) |
|
fbarchard
2014/12/11 18:00:58
curious what this tests? maybe worth a comment
|
| uint8x16x2_t all_out; |
| INIT_VECTOR2(all_out, vreinterpretq_u8_s16(out0), vreinterpretq_u8_s16(out1)); |
| INIT_VECTOR4(shuffles, |