[PATCH] Mark 'xl' as early clobbered
Ken Werner
ken.werner at linaro.org
Wed Dec 21 18:18:45 CET 2011
In ARM mode the input register of the umull must be different from the output
register.
Signed-off-by: Ken Werner <ken.werner at linaro.org>
---
mpi/longlong.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mpi/longlong.h b/mpi/longlong.h
index 5dba793..69b02d4 100644
--- a/mpi/longlong.h
+++ b/mpi/longlong.h
@@ -228,7 +228,7 @@ extern UDItype __udiv_qrnnd ();
__asm__ ("%@ Inlined umul_ppmm\n" \
"umull %r1, %r0, %r2, %r3" \
: "=&r" ((USItype)(xh)), \
- "=r" ((USItype)(xl)) \
+ "=&r" ((USItype)(xl)) \
: "r" ((USItype)(a)), \
"r" ((USItype)(b)) \
: "r0", "r1")
--
1.7.5.4
More information about the Gcrypt-devel
mailing list