]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Use "l"-suffix on instructions more consistently. Reportedly, freebsd
authorNiels Möller <nisse@lysator.liu.se>
Sat, 3 Sep 2011 18:17:34 +0000 (20:17 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 3 Sep 2011 18:17:34 +0000 (20:17 +0200)
and netbsd systems with clang are more picky about this.

Rev: nettle/x86/camellia-crypt-internal.asm:1.4

x86/camellia-crypt-internal.asm

index b5c491c836cd88903397b720484f41a4baa3b229..46a4e3d9064a70dfe8e2d279ba132e88285947d9 100644 (file)
@@ -171,21 +171,21 @@ PROLOGUE(_nettle_camellia_crypt)
        movl    FRAME_CTX, KEY
        movl    (KEY), TMP
        subl    $8, TMP
-       mov     TMP, FRAME_CNT
+       movl    TMP, FRAME_CNT
        C       Whitening using first subkey 
-       xor     4(KEY), L0
-       xor     8(KEY), H0
-       add     $12, KEY
+       xorl    4(KEY), L0
+       xorl    8(KEY), H0
+       addl    $12, KEY
 
        movl    FRAME_TABLE, T
 
        ROUND6
 .Lround_loop:
-       add     $64, KEY
+       addl    $64, KEY
        FL(L0, H0, -16)
        FLINV(L1, H1, -8)
        ROUND6
-       sub     $8, FRAME_CNT   
+       subl    $8, FRAME_CNT   
        ja      .Lround_loop
 
        movl    FRAME_DST, TMP