Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Fix test failures w/ Arm Neon SIMD exts
Regression caused by a46c111 Because of 7723d7f, which was introduced in libjpeg-turbo 1.5.1 in response to libjpeg-turbo#81, merged upsampling/ color conversion is disabled on platforms that have SIMD-accelerated YCbCr -> RGB color conversion but not SIMD-accelerated merged upsampling/color conversion. This was intended to improve performance with the Neon SIMD extensions, since those are the only SIMD extensions for which those circumstances apply. Under normal circumstances, the separate "plain" (non-fancy) upsampling and color conversion routines will produce bitwise-identical output to the merged upsampling/color conversion routines, but that is not the case when skipping scanlines starting at an odd-numbered scanline. The modified test introduced in a46c111 does precisely that in order to validate the fixes introduced in 9120a24 and a46c111. Because of 7723d7f, the segfault fixed in 9120a24 and a46c111 didn't affect the Neon SIMD extensions, so this commit effectively reverts the test modifications in a46c111 when using those SIMD extensions. We can get rid of this hack, as well as 7723d7f, once a Neon implementation of merged upsampling/color conversion is available.
- Loading branch information