diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2016-12-11 16:52:18 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-12-11 18:23:01 +0100 |
commit | 3031af7ea7f5730bb1d4d60b0ee3c854622fef9b (patch) | |
tree | 00a1efb0c2f00a15a3be2bad6cd2f5fcbdc3b572 | |
parent | 6c5ff61a6aa1b81ee1ca4e54f16fe97a8f56aeac (diff) | |
download | buildroot-3031af7ea7f5730bb1d4d60b0ee3c854622fef9b.tar.gz buildroot-3031af7ea7f5730bb1d4d60b0ee3c854622fef9b.zip |
jpeg-turbo: add simd support for powerpc cores with altivec
>From the 1.5-b1 release notes:
Added full SIMD acceleration for PowerPC platforms using AltiVec VMX
(128-bit SIMD) instructions. Although the performance of libjpeg-turbo on
PowerPC was already good, due to the increased number of registers available
to the compiler vs. x86, it was still possible to speed up compression by
about 3-4x and decompression by about 2-2.5x (relative to libjpeg v6b)
through the use of AltiVec instructions.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/jpeg/Config.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/jpeg/Config.in b/package/jpeg/Config.in index 170e58c5d9..e2a3fd0e35 100644 --- a/package/jpeg/Config.in +++ b/package/jpeg/Config.in @@ -6,7 +6,8 @@ config BR2_PACKAGE_JPEG # jpeg-turbo has simd support for some architectures config BR2_PACKAGE_JPEG_SIMD_SUPPORT bool - default y if BR2_X86_CPU_HAS_MMX || BR2_ARM_CPU_HAS_NEON + default y if BR2_X86_CPU_HAS_MMX || BR2_ARM_CPU_HAS_NEON || \ + BR2_POWERPC_CPU_HAS_ALTIVEC if BR2_PACKAGE_JPEG |