diff options
-rw-r--r-- | README.chromium | 2 | ||||
-rw-r--r-- | simd/arm/aarch64/jsimd.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/README.chromium b/README.chromium index 469e550..b0a1623 100644 --- a/README.chromium +++ b/README.chromium @@ -73,6 +73,8 @@ following changes which are not merged to upstream: - Refactor djpeg.c to provide test interface A new gtest directory contains GTest wrappers (and associated utilities) for each of tjunittest, tjbench, cjpeg, djpeg and jpegtran. +* Disable Neon SIMD path for Huffman encoding when compiling for Windows on Arm + using Clang-cl: http://crbug.com/1160249 Refer to working-with-nested-repos [1] for details of how to setup your git svn client to update the code (for making local changes, cherry picking from diff --git a/simd/arm/aarch64/jsimd.c b/simd/arm/aarch64/jsimd.c index 8570b82..4991bc0 100644 --- a/simd/arm/aarch64/jsimd.c +++ b/simd/arm/aarch64/jsimd.c @@ -977,6 +977,8 @@ jsimd_idct_float(j_decompress_ptr cinfo, jpeg_component_info *compptr, GLOBAL(int) jsimd_can_huff_encode_one_block(void) { +/* Disable for Windows on Arm compiled with Clang-cl: crbug.com/1160249 */ +#if !(defined(_MSC_VER) && defined(__clang__)) init_simd(); if (DCTSIZE != 8) @@ -986,6 +988,7 @@ jsimd_can_huff_encode_one_block(void) if (simd_support & JSIMD_NEON && simd_huffman) return 1; +#endif return 0; } |