
ken.werner at linaro
Dec 21, 2011, 9:18 AM
Views: 195
Permalink
|
|
[PATCH] Mark 'xl' as early clobbered
|
|
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> --- 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 _______________________________________________ Gcrypt-devel mailing list Gcrypt-devel [at] gnupg http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
|