From: Andy Polyakov Date: Sat, 14 Jun 2014 14:03:06 +0000 (+0200) Subject: aesni-sha256-x86_64.pl: add missing rex in shaext. X-Git-Tag: master-post-reformat~701 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=91a6bf80f8af5fcafececc443e7fbc7981af127b aesni-sha256-x86_64.pl: add missing rex in shaext. PR: 3405 --- 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};