aesni-sha256-x86_64.pl: add missing rex in shaext.
PR: 3405 (cherry picked from commit 91a6bf80f8af5fcafececc443e7fbc7981af127b)
This commit is contained in:
parent
1f6d207625
commit
8301245a5e
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user