From 5d2c527a2234d34b6269c561b08ebcaabf0b3ea3 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Fri, 17 Jul 2009 13:03:21 +0300 Subject: [PATCH] ARM: Fixes for the inline assembly constraints in pixman_fill_neon Some of the variables in the inline assembly arguments list are actually modified by the assembly code, they are now marked appropriately. --- pixman/pixman-arm-neon.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pixman/pixman-arm-neon.c b/pixman/pixman-arm-neon.c index 48d75cf..cea6f75 100644 --- a/pixman/pixman-arm-neon.c +++ b/pixman/pixman-arm-neon.c @@ -1799,11 +1799,10 @@ pixman_fill_neon (uint32_t *bits, "bne 6b\n" "3:\n" - - : /* No output members */ - : [color] "r" (color), [height] "r" (height), [width] "r" (width), - [dst] "r" (dst), [byte_stride] "r" (byte_stride) - : "memory", "cc", "d0", "r4", "r5"); + : [height] "+r" (height), [dst] "+r" (dst) + : [color] "r" (color), [width] "r" (width), + [byte_stride] "r" (byte_stride) + : "memory", "cc", "d0", "r4"); } else { @@ -1880,10 +1879,10 @@ pixman_fill_neon (uint32_t *bits, "add %[dst], %[dst], %[byte_stride]\n" "bne 1b\n" "5:\n" - : /* No output members */ - : [color] "r" (color), [height] "r" (height), [width] "r" (width), - [dst] "r" (dst), [byte_stride] "r" (byte_stride) - : "memory", "cc", "q0", "d0", "d1", "r4", "r5", "r6"); + : [height] "+r" (height), [dst] "+r" (dst) + : [color] "r" (color), [width] "r" (width), + [byte_stride] "r" (byte_stride) + : "memory", "cc", "d0", "d1", "r4", "r5", "r6"); } return TRUE; -- 2.7.4