]> granicus.if.org Git - libjpeg-turbo/commit
Fix MIPS DSPr2 build when using soft float ABI
authorDRC <information@libjpeg-turbo.org>
Tue, 4 Sep 2018 22:33:12 +0000 (17:33 -0500)
committerDRC <information@libjpeg-turbo.org>
Tue, 4 Sep 2018 23:03:00 +0000 (18:03 -0500)
commit3bef88f6ecc08a5d3babffbf2c12175c2c1985b0
tree4588de6f9e311dea5657409bac204e82d67c6be2
parent2260b66e1671038a362dca4a204c28d72b8f7e4e
Fix MIPS DSPr2 build when using soft float ABI

(for instance, when passing -msoft-float to the compiler)

The instructions used by jsimd_quantize_float_dspr2() and
jsimd_convsamp_float_dspr2() don't work with the soft float ABI, so
disable those functions when soft float is enabled.

Based on:
https://github.com/libjpeg-turbo/libjpeg-turbo/pull/272/commits/129a739bfabe1568d078eb2719691a76db128185

Closes #272
ChangeLog.md
simd/mips/jsimd.c
simd/mips/jsimd_dspr2.S