X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/blobdiff_plain/8ae4c946c49862151bf7fd6ae65b116ec62be606..28321c96c5c2ea4ee8d9a2b48ad5b63499029d5b:/symm/rijndael-x86ish-aesni.S diff --git a/symm/rijndael-x86ish-aesni.S b/symm/rijndael-x86ish-aesni.S index 12d4267f..3dcdfc58 100644 --- a/symm/rijndael-x86ish-aesni.S +++ b/symm/rijndael-x86ish-aesni.S @@ -391,10 +391,6 @@ ENDFUNC .macro encdec op, aes, koff FUNC(rijndael_\op\()_x86ish_aesni) - // Find the magic endianness-swapping table. - ldgot ecx - movdqa xmm5, [INTADDR(endswap_tab, ecx)] - #if CPUFAM_X86 // Arguments come in on the stack, and need to be collected. We // don't have a shortage of registers. @@ -426,6 +422,10 @@ ENDFUNC # define NR eax #endif + // Find the magic endianness-swapping table. + ldgot ecx + movdqa xmm5, [INTADDR(endswap_tab, ecx)] + // Initial setup. movdqu xmm0, [SRC] pshufb xmm0, xmm5