diff mbox

Mark 'xl' as early clobbered

Message ID 1324487925-9285-2-git-send-email-ken.werner@linaro.org
State New
Headers show

Commit Message

Ken Werner Dec. 21, 2011, 5:18 p.m. UTC
In ARM mode the input register of the umull must be different from the output
register.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
---
 mpi/longlong.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

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")