summaryrefslogtreecommitdiffstats
path: root/crypto/aes
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-06-14 16:03:06 +0200
committerAndy Polyakov <appro@openssl.org>2014-06-14 16:04:04 +0200
commit8301245a5ef72d3daefc8fffb5a53d7220bb0a05 (patch)
tree91ce906d8b16de834b61f9093e46c0b1585507ed /crypto/aes
parent1f6d2076256761b44e7336b496ab0887f90cea69 (diff)
aesni-sha256-x86_64.pl: add missing rex in shaext.
PR: 3405 (cherry picked from commit 91a6bf80f8af5fcafececc443e7fbc7981af127b)
Diffstat (limited to 'crypto/aes')
-rw-r--r--crypto/aes/asm/aesni-sha256-x86_64.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/aes/asm/aesni-sha256-x86_64.pl b/crypto/aes/asm/aesni-sha256-x86_64.pl
index 63e2747350..3ef5e13325 100644
--- a/crypto/aes/asm/aesni-sha256-x86_64.pl
+++ b/crypto/aes/asm/aesni-sha256-x86_64.pl
@@ -1684,7 +1684,7 @@ sub rex {
sub sha256op38 {
my $instr = shift;
- if (defined($opcodelet{$instr}) && @_[0] =~ /%xmm([0-7]),\s*%xmm([0-7])/) {
+ if (defined($opcodelet{$instr}) && @_[0] =~ /%xmm([0-9]+),\s*%xmm([0-9]+)/) {
my @opcode=(0x0f,0x38);
rex(\@opcode,$2,$1);
push @opcode,$opcodelet{$instr};