Rewrite the two-component arithmetic macros.
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Fri, 7 Aug 2009 00:29:44 +0000 (20:29 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 8 Aug 2009 22:50:17 +0000 (18:50 -0400)
commitf7463ffafb8876c1f47ed9c527df33d45255e16c
tree6c38730fdd82276c07c7c6b3a82c2bc0434e817c
parent04ae08992f6381a8ffb50d8cba37753fdb58e3bf
Rewrite the two-component arithmetic macros.

Previously they were not bit-for-bit equivalent to the one-component
versions. The new code is also simpler and easier to read because it
factors out some common sub-macros.

The x * a + y * b macro now only uses four multiplications - the
previous version used eight.
pixman/pixman-combine.h.template