diff options
author | Andy Polyakov <appro@openssl.org> | 2011-05-30 09:15:16 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-05-30 09:15:16 +0000 |
commit | 8da721ee2b3d5a08a17f2faa0695a76a674405f0 (patch) | |
tree | 942b00872b6aef8dd6dfb9201927d31af3fe2979 /crypto | |
parent | 3e2e231852a52cfe34e3f51a42cb8d8f140f0b5b (diff) |
aesni-x86[_64].pl: relax alignment requirement.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/aes/asm/aesni-x86.pl | 2 | ||||
-rw-r--r-- | crypto/aes/asm/aesni-x86_64.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/aes/asm/aesni-x86.pl b/crypto/aes/asm/aesni-x86.pl index 712149ab4b..b3c8d1f60a 100644 --- a/crypto/aes/asm/aesni-x86.pl +++ b/crypto/aes/asm/aesni-x86.pl @@ -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"; diff --git a/crypto/aes/asm/aesni-x86_64.pl b/crypto/aes/asm/aesni-x86_64.pl index ea9cf9404d..4ab89beb47 100644 --- a/crypto/aes/asm/aesni-x86_64.pl +++ b/crypto/aes/asm/aesni-x86_64.pl @@ -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 |