mattst88 :gentoo:<p>I landed some improvements and small optimizations to <a href="https://fosstodon.org/tags/pixman" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pixman</span></a>'s AltiVec code. See <a href="https://gitlab.freedesktop.org/pixman/pixman/-/merge_requests/136" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitlab.freedesktop.org/pixman/</span><span class="invisible">pixman/-/merge_requests/136</span></a></p><p>It was fun working with a new (to me) instruction set and trying to figure out how to puzzle together the pieces into something that improved the `pix_multiply()` function (which is kind of the core primitive of most fast paths).</p><p>I couldn't figure out a way to use the `vec_mradds`/`vmhraddshs` instruction. Maybe you can? (see <a href="https://gitlab.freedesktop.org/pixman/pixman/-/merge_requests/136#note_2699795" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitlab.freedesktop.org/pixman/</span><span class="invisible">pixman/-/merge_requests/136#note_2699795</span></a>)</p><p><a href="https://fosstodon.org/tags/altivec" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>altivec</span></a> <a href="https://fosstodon.org/tags/powerpc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>powerpc</span></a> <a href="https://fosstodon.org/tags/simd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>simd</span></a></p>