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 712149a..b3c8d1f 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 ea9cf94..4ab89be 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