[NEON] Really fix filler bug.
authorJonathan Morton <jmorton@sd070.hel.movial.fi>
Thu, 4 Jun 2009 15:24:26 +0000 (11:24 -0400)
committerJeff Muizelaar <jrmuizel@jeff-desktop.(none)>
Thu, 4 Jun 2009 15:29:46 +0000 (11:29 -0400)
Advance the destination pointer (r4 register) properly.
Found by Siarhei Siamashka.

pixman/pixman-arm-neon.c

index 5d07c76..abcd24f 100644 (file)
@@ -1703,15 +1703,15 @@ pixman_fill_neon (uint32_t *bits,
        "2:\n"
        "tst            %[width], #4\n"
        "beq            2f\n"
-       "str            %[color], [r4]!\n"
+       "str            %[color], [r4], #4\n"
        "2:\n"
        "tst            %[width], #2\n"
        "beq            2f\n"
-       "strh           %[color], [r4]!\n"
+       "strh           %[color], [r4], #2\n"
        "2:\n"
        "tst            %[width], #1\n"
        "beq            2f\n"
-       "strb           %[color], [r4]!\n"
+       "strb           %[color], [r4], #1\n"
        "2:\n"
 
        "subs           %[height], %[height], #1\n"