diff -r 611baabe5b83 -r 6c6375987b6c mozilla-ppc-altivec_static_inline.patch --- a/mozilla-ppc-altivec_static_inline.patch Thu Sep 05 08:27:52 2019 +0200 +++ b/mozilla-ppc-altivec_static_inline.patch Fri Sep 06 18:28:48 2019 +0200 @@ -3,13 +3,18 @@ # Date 1558452418 -7200 # Tue May 21 17:26:58 2019 +0200 # Node ID 6cd963b6c82ea6629aaf4050851789b78f310338 -# Parent 602e92722e765a3c238d3b96b26c0c8063b5eeb4 +# Parent 010a35335b4e45e222b9efdbda24fd1963202ecf imported patch mozilla-ppc-altivec_static_inline.patch -diff -r 602e92722e76 -r 6cd963b6c82e gfx/qcms/transform-altivec.c ---- a/gfx/qcms/transform-altivec.c Tue May 21 17:26:48 2019 +0200 -+++ b/gfx/qcms/transform-altivec.c Tue May 21 17:26:58 2019 +0200 -@@ -30,7 +30,7 @@ +diff --git a/gfx/qcms/transform-altivec.cpp b/gfx/qcms/transform-altivec.cpp +--- a/gfx/qcms/transform-altivec.cpp ++++ b/gfx/qcms/transform-altivec.cpp +@@ -25,17 +25,17 @@ + + #include "qcmsint.h" + + #define FLOATSCALE (float)(PRECACHE_OUTPUT_SIZE) + #define CLAMPMAXVAL (((float) (PRECACHE_OUTPUT_SIZE - 1)) / PRECACHE_OUTPUT_SIZE) static const ALIGN float floatScaleX4 = FLOATSCALE; static const ALIGN float clampMaxValueX4 = CLAMPMAXVAL; @@ -18,3 +23,8 @@ { vector float data = vec_lde(0, dataPtr); vector unsigned char moveToStart = vec_lvsl(0, dataPtr); + return vec_perm(data, data, moveToStart); + } + + template + static void qcms_transform_data_template_lut_altivec(const qcms_transform *transform,