summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/cogl/files/cogl_fixed_mul-constraint.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/cogl/files/cogl_fixed_mul-constraint.patch')
-rw-r--r--meta/recipes-graphics/cogl/files/cogl_fixed_mul-constraint.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-graphics/cogl/files/cogl_fixed_mul-constraint.patch b/meta/recipes-graphics/cogl/files/cogl_fixed_mul-constraint.patch
deleted file mode 100644
index 179533ae80..0000000000
--- a/meta/recipes-graphics/cogl/files/cogl_fixed_mul-constraint.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Upstream-Status: Backport
2
3Add register constraints to prevent asm statement complaints like:
4
5 {standard input}:382: rdhi, rdlo and rm must all be different
6
7Signed-off-by: Donn Seeley <donn.seeley@windriver.com>
8---
9 cogl/cogl-fixed.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12--- a/cogl/cogl-fixed.c
13+++ b/cogl/cogl-fixed.c
14@@ -816,7 +816,7 @@ cogl_fixed_mul (CoglFixed a,
15 __asm__ ("smull %0, %1, %2, %3 \n"
16 "mov %0, %0, lsr %4 \n"
17 "add %1, %0, %1, lsl %5 \n"
18- : "=r"(res_hi), "=r"(res_low) \
19+ : "=&r"(res_hi), "=&r"(res_low) \
20 : "r"(a), "r"(b), "i"(COGL_FIXED_Q), "i"(32 - COGL_FIXED_Q));
21
22 return (CoglFixed) res_low;