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:03:06 +0200
commit91a6bf80f8af5fcafececc443e7fbc7981af127b (patch)
tree4fc7cbadba94b80ae1ede8ce81681d98d83f9f2f /crypto/aes
parentc9cf29cca22d4d724a1e772bc5fdc201b2822f1d (diff)
aesni-sha256-x86_64.pl: add missing rex in shaext.
PR: 3405
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};