[arm-simd] Fix typo found by 王新拓
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 20 Nov 2008 15:41:40 +0000 (10:41 -0500)
committerJeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 20 Nov 2008 15:41:40 +0000 (10:41 -0500)
'and r7, %[upper_component_mask]' appears to by a short hand for
'and r7, %[upper_component_mask], %[upper_component_mask]'. Use
the explicit form to avoid any confusion.

pixman/pixman-arm-simd.c

index c7851cb..8aa81d2 100644 (file)
@@ -164,7 +164,7 @@ fbCompositeSrc_8888x8888arm (pixman_op_t op,
                        "uxtab16 r7, r7, r7, ror #8\n\t"
 
                        /* recombine the 0xff00ff00 bytes of r6 and r7 */
-                       "and r7, %[upper_component_mask]\n\t"
+                       "and r7, r7, %[upper_component_mask]\n\t"
                        "uxtab16 r6, r7, r6, ror #8\n\t"
 
                        "uqadd8 r5, r6, r5\n\t"