From 857ef82edf81e31565a08c9303bc27069a27e75e Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Thu, 6 Jul 2017 20:17:09 -0500 Subject: [PATCH] [libpng16] Expand INSTALL instructions about enabling hardware optimizations. --- INSTALL | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 5a957a6d2..c527938b6 100644 --- a/INSTALL +++ b/INSTALL @@ -285,7 +285,22 @@ those sections that are actually used will be loaded into memory. XIV. Enabling or disabling hardware optimizations Certain hardware capabilites, such as the Intel SSE instructions, -are normally detected at run time. If you wish to avoid using them, +are normally detected at run time. Enable them with configure options +such as one of + + --enable-arm-neon=yes + --enable-mips-msa=yes + --enable-intel-sse=yes + --enable-powerpc-vsx=yes + +or, if you are not using "configure", you can use one of + + CPPFLAGS += "-DPNG_ARM_NEON" + CPPFLAGS += "-DPNG_MIPS_MSA" + CPPFLAGS += "-DPNG_INTEL_SSE" + CPPFLAGS += "-DPNG_POWERPC_VSX" + +If you wish to avoid using them, you can disable them via configure options such as --enable-arm-neon=no, --enable-mips-msa=no, --enable-intel-sse=no,