ARM: Fix two bugs in neon_composite_over_n_8888_0565_ca().
authorSøren Sandmann <sandmann@cs.au.dk>
Mon, 20 Jun 2011 00:29:08 +0000 (20:29 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 25 Jun 2011 14:17:05 +0000 (10:17 -0400)
commitece8d13bf77d050662bb9db9716576dabff37554
tree46c33fabfba3ec9cb184ca228bf73134851e1bdc
parent5715a394c41b2fd259ce7bf07b859d2a4eb2ec09
ARM: Fix two bugs in neon_composite_over_n_8888_0565_ca().

The first bug is that a vmull.u8 instruction would store its result in
the q1 register, clobbering the d2 register used later on. The second
is that a vraddhn instruction would overwrite d25, corrupting the q12
register used later.

Fixing the second bug caused a pipeline bubble where the d18 register
would be unavailable for a clock cycle. This is fixed by swapping the
instruction with its successor.
pixman/pixman-arm-neon-asm.S