See: 
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0204j/Cjagjjbc.html
The pre-UAL instruction is also accepted by modern assemblers.

Signed-off-by: Marcus Hoffmann <[email protected]>
---
 arm/ecc-521-modp.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arm/ecc-521-modp.asm b/arm/ecc-521-modp.asm
index c311a89..3fba239 100644
--- a/arm/ecc-521-modp.asm
+++ b/arm/ecc-521-modp.asm
@@ -91,7 +91,7 @@ PROLOGUE(nettle_ecc_521_modp)
        adcs    F0, F0, F3, lsr #9
        C Copy low 9 bits to H, then shift right including carry
        and     H, F0, T0
-       rrx     F0, F0
+       mov     F0, F0, rrx
        lsr     F0, F0, #8
        C Add in F1 = rp[33], with weight 2^1056 = 2^14
        adds    F0, F0, F1, lsl #14
-- 
2.9.3

_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to