projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6d207
)
aesni-sha256-x86_64.pl: add missing rex in shaext.
author
Andy Polyakov
<appro@openssl.org>
Sat, 14 Jun 2014 14:03:06 +0000
(16:03 +0200)
committer
Andy Polyakov
<appro@openssl.org>
Sat, 14 Jun 2014 14:04:04 +0000
(16:04 +0200)
PR: 3405
(cherry picked from commit
91a6bf80f8af5fcafececc443e7fbc7981af127b
)
crypto/aes/asm/aesni-sha256-x86_64.pl
patch
|
blob
|
history
diff --git
a/crypto/aes/asm/aesni-sha256-x86_64.pl
b/crypto/aes/asm/aesni-sha256-x86_64.pl
index 63e27473505840403258bbc9dc9c1471ed6115fa..3ef5e13325fb0aaf718a589ed39b79c1b6224307 100644
(file)
--- 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};