aesni-x86[_64].pl: relax alignment requirement.
authorAndy Polyakov <appro@openssl.org>
Mon, 30 May 2011 09:15:16 +0000 (09:15 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 30 May 2011 09:15:16 +0000 (09:15 +0000)
crypto/aes/asm/aesni-x86.pl
crypto/aes/asm/aesni-x86_64.pl

index 712149ab4b939e1af64ebd50c86c691be2d7e925..b3c8d1f60a7dd34923f072011f702ed60c11a3f3 100644 (file)
@@ -54,7 +54,7 @@ require "x86asm.pl";
 
 &asm_init($ARGV[0],$0);
 
-if ($PREFIX eq "aesni")        { $movekey=*movaps; }
+if ($PREFIX eq "aesni")        { $movekey=*movups; }
 else                   { $movekey=*movups; }
 
 $len="eax";
index ea9cf9404d7bde451b210b72bc105ce1ae0d578e..4ab89beb476068501fc0e0e2ec0e26e52af878be 100644 (file)
@@ -174,7 +174,7 @@ die "can't locate x86_64-xlate.pl";
 
 open STDOUT,"| $^X $xlate $flavour $output";
 
-$movkey = $PREFIX eq "aesni" ? "movaps" : "movups";
+$movkey = $PREFIX eq "aesni" ? "movups" : "movups";
 @_4args=$win64?        ("%rcx","%rdx","%r8", "%r9") :  # Win64 order
                ("%rdi","%rsi","%rdx","%rcx");  # Unix order