]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Make nettle compile with pre-UAL arm assembler.
authorMarcus Hoffmann <m.hoffmann@cartelsol.com>
Tue, 28 Feb 2017 18:56:40 +0000 (19:56 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 9 Mar 2017 21:13:30 +0000 (22:13 +0100)
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 <m.hoffmann@cartelsol.com>
arm/ecc-521-modp.asm

index c311a891f967f39db1cd96216651caed12e43eb8..3fba23963d2c715583bfbabf185219df342239e1 100644 (file)
@@ -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